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.71 for expat 2.7.1.
      4 #
      5 # Report bugs to <https://github.com/libexpat/libexpat/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://github.com/libexpat/libexpat/issues about your
    280 $0: system, including any error possibly output before this
    281 $0: message. Then install a modern shell, or manually run
    282 $0: the script under such a shell if you do have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 
    307 # as_fn_set_status STATUS
    308 # -----------------------
    309 # Set $? to STATUS, without forking.
    310 as_fn_set_status ()
    311 {
    312   return $1
    313 } # as_fn_set_status
    314 
    315 # as_fn_exit STATUS
    316 # -----------------
    317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    318 as_fn_exit ()
    319 {
    320   set +e
    321   as_fn_set_status $1
    322   exit $1
    323 } # as_fn_exit
    324 # as_fn_nop
    325 # ---------
    326 # Do nothing but, unlike ":", preserve the value of $?.
    327 as_fn_nop ()
    328 {
    329   return $?
    330 }
    331 as_nop=as_fn_nop
    332 
    333 # as_fn_mkdir_p
    334 # -------------
    335 # Create "$as_dir" as a directory, including parents if necessary.
    336 as_fn_mkdir_p ()
    337 {
    338 
    339   case $as_dir in #(
    340   -*) as_dir=./$as_dir;;
    341   esac
    342   test -d "$as_dir" || eval $as_mkdir_p || {
    343     as_dirs=
    344     while :; do
    345       case $as_dir in #(
    346       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    347       *) as_qdir=$as_dir;;
    348       esac
    349       as_dirs="'$as_qdir' $as_dirs"
    350       as_dir=`$as_dirname -- "$as_dir" ||
    351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    352 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    353 	 X"$as_dir" : 'X\(//\)$' \| \
    354 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    355 printf "%s\n" X"$as_dir" |
    356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    357 	    s//\1/
    358 	    q
    359 	  }
    360 	  /^X\(\/\/\)[^/].*/{
    361 	    s//\1/
    362 	    q
    363 	  }
    364 	  /^X\(\/\/\)$/{
    365 	    s//\1/
    366 	    q
    367 	  }
    368 	  /^X\(\/\).*/{
    369 	    s//\1/
    370 	    q
    371 	  }
    372 	  s/.*/./; q'`
    373       test -d "$as_dir" && break
    374     done
    375     test -z "$as_dirs" || eval "mkdir $as_dirs"
    376   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    377 
    378 
    379 } # as_fn_mkdir_p
    380 
    381 # as_fn_executable_p FILE
    382 # -----------------------
    383 # Test if FILE is an executable regular file.
    384 as_fn_executable_p ()
    385 {
    386   test -f "$1" && test -x "$1"
    387 } # as_fn_executable_p
    388 # as_fn_append VAR VALUE
    389 # ----------------------
    390 # Append the text in VALUE to the end of the definition contained in VAR. Take
    391 # advantage of any shell optimizations that allow amortized linear growth over
    392 # repeated appends, instead of the typical quadratic growth present in naive
    393 # implementations.
    394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    395 then :
    396   eval 'as_fn_append ()
    397   {
    398     eval $1+=\$2
    399   }'
    400 else $as_nop
    401   as_fn_append ()
    402   {
    403     eval $1=\$$1\$2
    404   }
    405 fi # as_fn_append
    406 
    407 # as_fn_arith ARG...
    408 # ------------------
    409 # Perform arithmetic evaluation on the ARGs, and store the result in the
    410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    411 # must be portable across $(()) and expr.
    412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    413 then :
    414   eval 'as_fn_arith ()
    415   {
    416     as_val=$(( $* ))
    417   }'
    418 else $as_nop
    419   as_fn_arith ()
    420   {
    421     as_val=`expr "$@" || test $? -eq 1`
    422   }
    423 fi # as_fn_arith
    424 
    425 # as_fn_nop
    426 # ---------
    427 # Do nothing but, unlike ":", preserve the value of $?.
    428 as_fn_nop ()
    429 {
    430   return $?
    431 }
    432 as_nop=as_fn_nop
    433 
    434 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    435 # ----------------------------------------
    436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    438 # script with STATUS, using 1 if that was 0.
    439 as_fn_error ()
    440 {
    441   as_status=$1; test $as_status -eq 0 && as_status=1
    442   if test "$4"; then
    443     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    444     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    445   fi
    446   printf "%s\n" "$as_me: error: $2" >&2
    447   as_fn_exit $as_status
    448 } # as_fn_error
    449 
    450 if expr a : '\(a\)' >/dev/null 2>&1 &&
    451    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    452   as_expr=expr
    453 else
    454   as_expr=false
    455 fi
    456 
    457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    458   as_basename=basename
    459 else
    460   as_basename=false
    461 fi
    462 
    463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    464   as_dirname=dirname
    465 else
    466   as_dirname=false
    467 fi
    468 
    469 as_me=`$as_basename -- "$0" ||
    470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    471 	 X"$0" : 'X\(//\)$' \| \
    472 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    473 printf "%s\n" X/"$0" |
    474     sed '/^.*\/\([^/][^/]*\)\/*$/{
    475 	    s//\1/
    476 	    q
    477 	  }
    478 	  /^X\/\(\/\/\)$/{
    479 	    s//\1/
    480 	    q
    481 	  }
    482 	  /^X\/\(\/\).*/{
    483 	    s//\1/
    484 	    q
    485 	  }
    486 	  s/.*/./; q'`
    487 
    488 # Avoid depending upon Character Ranges.
    489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    492 as_cr_digits='0123456789'
    493 as_cr_alnum=$as_cr_Letters$as_cr_digits
    494 
    495 
    496   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    497   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    498   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    499   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    500   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    501   sed -n '
    502     p
    503     /[$]LINENO/=
    504   ' <$as_myself |
    505     sed '
    506       s/[$]LINENO.*/&-/
    507       t lineno
    508       b
    509       :lineno
    510       N
    511       :loop
    512       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    513       t loop
    514       s/-\n.*//
    515     ' >$as_me.lineno &&
    516   chmod +x "$as_me.lineno" ||
    517     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    518 
    519   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    520   # already done that, so ensure we don't try to do so again and fall
    521   # in an infinite loop.  This has already happened in practice.
    522   _as_can_reexec=no; export _as_can_reexec
    523   # Don't try to exec as it changes $[0], causing all sort of problems
    524   # (the dirname of $[0] is not the place where we might find the
    525   # original and so on.  Autoconf is especially sensitive to this).
    526   . "./$as_me.lineno"
    527   # Exit status is that of the last command.
    528   exit
    529 }
    530 
    531 
    532 # Determine whether it's possible to make 'echo' print without a newline.
    533 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    534 # for compatibility with existing Makefiles.
    535 ECHO_C= ECHO_N= ECHO_T=
    536 case `echo -n x` in #(((((
    537 -n*)
    538   case `echo 'xy\c'` in
    539   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    540   xy)  ECHO_C='\c';;
    541   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    542        ECHO_T='	';;
    543   esac;;
    544 *)
    545   ECHO_N='-n';;
    546 esac
    547 
    548 # For backward compatibility with old third-party macros, we provide
    549 # the shell variables $as_echo and $as_echo_n.  New code should use
    550 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    551 as_echo='printf %s\n'
    552 as_echo_n='printf %s'
    553 
    554 
    555 rm -f conf$$ conf$$.exe conf$$.file
    556 if test -d conf$$.dir; then
    557   rm -f conf$$.dir/conf$$.file
    558 else
    559   rm -f conf$$.dir
    560   mkdir conf$$.dir 2>/dev/null
    561 fi
    562 if (echo >conf$$.file) 2>/dev/null; then
    563   if ln -s conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s='ln -s'
    565     # ... but there are two gotchas:
    566     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    567     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    568     # In both cases, we have to default to `cp -pR'.
    569     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    570       as_ln_s='cp -pR'
    571   elif ln conf$$.file conf$$ 2>/dev/null; then
    572     as_ln_s=ln
    573   else
    574     as_ln_s='cp -pR'
    575   fi
    576 else
    577   as_ln_s='cp -pR'
    578 fi
    579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    580 rmdir conf$$.dir 2>/dev/null
    581 
    582 if mkdir -p . 2>/dev/null; then
    583   as_mkdir_p='mkdir -p "$as_dir"'
    584 else
    585   test -d ./-p && rmdir ./-p
    586   as_mkdir_p=false
    587 fi
    588 
    589 as_test_x='test -x'
    590 as_executable_p=as_fn_executable_p
    591 
    592 # Sed expression to map a string onto a valid CPP name.
    593 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    594 
    595 # Sed expression to map a string onto a valid variable name.
    596 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    597 
    598 SHELL=${CONFIG_SHELL-/bin/sh}
    599 
    600 
    601 test -n "$DJDIR" || exec 7<&0 </dev/null
    602 exec 6>&1
    603 
    604 # Name of the host.
    605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    606 # so uname gets run too.
    607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    608 
    609 #
    610 # Initializations.
    611 #
    612 ac_default_prefix=/usr/local
    613 ac_clean_files=
    614 ac_config_libobj_dir=.
    615 LIBOBJS=
    616 cross_compiling=no
    617 subdirs=
    618 MFLAGS=
    619 MAKEFLAGS=
    620 
    621 # Identity of this package.
    622 PACKAGE_NAME='expat'
    623 PACKAGE_TARNAME='expat'
    624 PACKAGE_VERSION='2.7.1'
    625 PACKAGE_STRING='expat 2.7.1'
    626 PACKAGE_BUGREPORT='https://github.com/libexpat/libexpat/issues'
    627 PACKAGE_URL=''
    628 
    629 ac_unique_file="Makefile.in"
    630 # Factoring default headers for most tests.
    631 ac_includes_default="\
    632 #include <stddef.h>
    633 #ifdef HAVE_STDIO_H
    634 # include <stdio.h>
    635 #endif
    636 #ifdef HAVE_STDLIB_H
    637 # include <stdlib.h>
    638 #endif
    639 #ifdef HAVE_STRING_H
    640 # include <string.h>
    641 #endif
    642 #ifdef HAVE_INTTYPES_H
    643 # include <inttypes.h>
    644 #endif
    645 #ifdef HAVE_STDINT_H
    646 # include <stdint.h>
    647 #endif
    648 #ifdef HAVE_STRINGS_H
    649 # include <strings.h>
    650 #endif
    651 #ifdef HAVE_SYS_TYPES_H
    652 # include <sys/types.h>
    653 #endif
    654 #ifdef HAVE_SYS_STAT_H
    655 # include <sys/stat.h>
    656 #endif
    657 #ifdef HAVE_UNISTD_H
    658 # include <unistd.h>
    659 #endif"
    660 
    661 ac_header_c_list=
    662 ac_func_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 CMAKE_SHARED_LIBRARY_PREFIX
    668 AM_LDFLAGS
    669 AM_CXXFLAGS
    670 AM_CFLAGS
    671 AM_CPPFLAGS
    672 SIZEOF_VOID_P
    673 SO_PATCH
    674 SO_MINOR
    675 SO_MAJOR
    676 LIBDIR_BASENAME
    677 EXPAT_CHAR_TYPE
    678 EXPAT_CONTEXT_BYTES
    679 EXPAT_NS
    680 EXPAT_MIN_SIZE
    681 EXPAT_LARGE_SIZE
    682 EXPAT_DTD
    683 EXPAT_ATTR_INFO
    684 WITH_DISTRIBUTABLE_MANPAGE_FALSE
    685 WITH_DISTRIBUTABLE_MANPAGE_TRUE
    686 WITH_PREBUILT_MANPAGE_FALSE
    687 WITH_PREBUILT_MANPAGE_TRUE
    688 WITH_MANPAGE_FALSE
    689 WITH_MANPAGE_TRUE
    690 DOCBOOK_TO_MAN
    691 FILEMAP
    692 LIBM
    693 _INTERNAL_LARGE_SIZE_FALSE
    694 _INTERNAL_LARGE_SIZE_TRUE
    695 _INTERNAL_MIN_SIZE_FALSE
    696 _INTERNAL_MIN_SIZE_TRUE
    697 _INTERNAL_UNICODE_WCHAR_T_FALSE
    698 _INTERNAL_UNICODE_WCHAR_T_TRUE
    699 UNICODE_FALSE
    700 UNICODE_TRUE
    701 MINGW_FALSE
    702 MINGW_TRUE
    703 HAVE_CXX11
    704 WITH_TESTS_FALSE
    705 WITH_TESTS_TRUE
    706 WITH_EXAMPLES_FALSE
    707 WITH_EXAMPLES_TRUE
    708 WITH_XMLWF_FALSE
    709 WITH_XMLWF_TRUE
    710 CXXCPP
    711 am__fastdepCXX_FALSE
    712 am__fastdepCXX_TRUE
    713 CXXDEPMODE
    714 ac_ct_CXX
    715 CXXFLAGS
    716 CXX
    717 LIBAGE
    718 LIBREVISION
    719 LIBCURRENT
    720 LT_SYS_LIBRARY_PATH
    721 OTOOL64
    722 OTOOL
    723 LIPO
    724 NMEDIT
    725 DSYMUTIL
    726 MANIFEST_TOOL
    727 RANLIB
    728 FILECMD
    729 NM
    730 ac_ct_DUMPBIN
    731 DUMPBIN
    732 LD
    733 FGREP
    734 EGREP
    735 GREP
    736 SED
    737 LIBTOOL
    738 OBJDUMP
    739 DLLTOOL
    740 AS
    741 LN_S
    742 am__fastdepCC_FALSE
    743 am__fastdepCC_TRUE
    744 CCDEPMODE
    745 am__nodep
    746 AMDEPBACKSLASH
    747 AMDEP_FALSE
    748 AMDEP_TRUE
    749 am__include
    750 DEPDIR
    751 OBJEXT
    752 EXEEXT
    753 ac_ct_CC
    754 CPPFLAGS
    755 LDFLAGS
    756 CFLAGS
    757 CC
    758 ac_ct_AR
    759 AR
    760 MAINT
    761 MAINTAINER_MODE_FALSE
    762 MAINTAINER_MODE_TRUE
    763 AM_BACKSLASH
    764 AM_DEFAULT_VERBOSITY
    765 AM_DEFAULT_V
    766 AM_V
    767 CSCOPE
    768 ETAGS
    769 CTAGS
    770 am__untar
    771 am__tar
    772 AMTAR
    773 am__leading_dot
    774 SET_MAKE
    775 AWK
    776 mkdir_p
    777 MKDIR_P
    778 INSTALL_STRIP_PROGRAM
    779 STRIP
    780 install_sh
    781 MAKEINFO
    782 AUTOHEADER
    783 AUTOMAKE
    784 AUTOCONF
    785 ACLOCAL
    786 VERSION
    787 PACKAGE
    788 CYGPATH_W
    789 am__isrc
    790 INSTALL_DATA
    791 INSTALL_SCRIPT
    792 INSTALL_PROGRAM
    793 host_os
    794 host_vendor
    795 host_cpu
    796 host
    797 build_os
    798 build_vendor
    799 build_cpu
    800 build
    801 target_alias
    802 host_alias
    803 build_alias
    804 LIBS
    805 ECHO_T
    806 ECHO_N
    807 ECHO_C
    808 DEFS
    809 mandir
    810 localedir
    811 libdir
    812 psdir
    813 pdfdir
    814 dvidir
    815 htmldir
    816 infodir
    817 docdir
    818 oldincludedir
    819 includedir
    820 runstatedir
    821 localstatedir
    822 sharedstatedir
    823 sysconfdir
    824 datadir
    825 datarootdir
    826 libexecdir
    827 sbindir
    828 bindir
    829 program_transform_name
    830 prefix
    831 exec_prefix
    832 PACKAGE_URL
    833 PACKAGE_BUGREPORT
    834 PACKAGE_STRING
    835 PACKAGE_VERSION
    836 PACKAGE_TARNAME
    837 PACKAGE_NAME
    838 PATH_SEPARATOR
    839 SHELL
    840 am__quote'
    841 ac_subst_files='PACKAGE_INIT'
    842 ac_user_opts='
    843 enable_option_checking
    844 enable_silent_rules
    845 enable_maintainer_mode
    846 enable_dependency_tracking
    847 enable_shared
    848 enable_static
    849 enable_pic
    850 with_pic
    851 enable_fast_install
    852 enable_aix_soname
    853 with_aix_soname
    854 with_gnu_ld
    855 with_sysroot
    856 enable_libtool_lock
    857 with_xmlwf
    858 with_examples
    859 with_tests
    860 with_libbsd
    861 with_getrandom
    862 with_sys_getrandom
    863 enable_xml_attr_info
    864 enable_xml_context
    865 with_docbook
    866 '
    867       ac_precious_vars='build_alias
    868 host_alias
    869 target_alias
    870 CC
    871 CFLAGS
    872 LDFLAGS
    873 LIBS
    874 CPPFLAGS
    875 LT_SYS_LIBRARY_PATH
    876 CXX
    877 CXXFLAGS
    878 CCC
    879 CXXCPP
    880 DOCBOOK_TO_MAN'
    881 
    882 
    883 # Initialize some variables set by options.
    884 ac_init_help=
    885 ac_init_version=false
    886 ac_unrecognized_opts=
    887 ac_unrecognized_sep=
    888 # The variables have the same names as the options, with
    889 # dashes changed to underlines.
    890 cache_file=/dev/null
    891 exec_prefix=NONE
    892 no_create=
    893 no_recursion=
    894 prefix=NONE
    895 program_prefix=NONE
    896 program_suffix=NONE
    897 program_transform_name=s,x,x,
    898 silent=
    899 site=
    900 srcdir=
    901 verbose=
    902 x_includes=NONE
    903 x_libraries=NONE
    904 
    905 # Installation directory options.
    906 # These are left unexpanded so users can "make install exec_prefix=/foo"
    907 # and all the variables that are supposed to be based on exec_prefix
    908 # by default will actually change.
    909 # Use braces instead of parens because sh, perl, etc. also accept them.
    910 # (The list follows the same order as the GNU Coding Standards.)
    911 bindir='${exec_prefix}/bin'
    912 sbindir='${exec_prefix}/sbin'
    913 libexecdir='${exec_prefix}/libexec'
    914 datarootdir='${prefix}/share'
    915 datadir='${datarootdir}'
    916 sysconfdir='${prefix}/etc'
    917 sharedstatedir='${prefix}/com'
    918 localstatedir='${prefix}/var'
    919 runstatedir='${localstatedir}/run'
    920 includedir='${prefix}/include'
    921 oldincludedir='/usr/include'
    922 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    923 infodir='${datarootdir}/info'
    924 htmldir='${docdir}'
    925 dvidir='${docdir}'
    926 pdfdir='${docdir}'
    927 psdir='${docdir}'
    928 libdir='${exec_prefix}/lib'
    929 localedir='${datarootdir}/locale'
    930 mandir='${datarootdir}/man'
    931 
    932 ac_prev=
    933 ac_dashdash=
    934 for ac_option
    935 do
    936   # If the previous option needs an argument, assign it.
    937   if test -n "$ac_prev"; then
    938     eval $ac_prev=\$ac_option
    939     ac_prev=
    940     continue
    941   fi
    942 
    943   case $ac_option in
    944   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    945   *=)   ac_optarg= ;;
    946   *)    ac_optarg=yes ;;
    947   esac
    948 
    949   case $ac_dashdash$ac_option in
    950   --)
    951     ac_dashdash=yes ;;
    952 
    953   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    954     ac_prev=bindir ;;
    955   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    956     bindir=$ac_optarg ;;
    957 
    958   -build | --build | --buil | --bui | --bu)
    959     ac_prev=build_alias ;;
    960   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    961     build_alias=$ac_optarg ;;
    962 
    963   -cache-file | --cache-file | --cache-fil | --cache-fi \
    964   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    965     ac_prev=cache_file ;;
    966   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    967   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    968     cache_file=$ac_optarg ;;
    969 
    970   --config-cache | -C)
    971     cache_file=config.cache ;;
    972 
    973   -datadir | --datadir | --datadi | --datad)
    974     ac_prev=datadir ;;
    975   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    976     datadir=$ac_optarg ;;
    977 
    978   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    979   | --dataroo | --dataro | --datar)
    980     ac_prev=datarootdir ;;
    981   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    982   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    983     datarootdir=$ac_optarg ;;
    984 
    985   -disable-* | --disable-*)
    986     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    987     # Reject names that are not valid shell variable names.
    988     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    989       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    990     ac_useropt_orig=$ac_useropt
    991     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    992     case $ac_user_opts in
    993       *"
    994 "enable_$ac_useropt"
    995 "*) ;;
    996       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    997 	 ac_unrecognized_sep=', ';;
    998     esac
    999     eval enable_$ac_useropt=no ;;
   1000 
   1001   -docdir | --docdir | --docdi | --doc | --do)
   1002     ac_prev=docdir ;;
   1003   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1004     docdir=$ac_optarg ;;
   1005 
   1006   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1007     ac_prev=dvidir ;;
   1008   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1009     dvidir=$ac_optarg ;;
   1010 
   1011   -enable-* | --enable-*)
   1012     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1013     # Reject names that are not valid shell variable names.
   1014     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1015       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1016     ac_useropt_orig=$ac_useropt
   1017     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1018     case $ac_user_opts in
   1019       *"
   1020 "enable_$ac_useropt"
   1021 "*) ;;
   1022       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1023 	 ac_unrecognized_sep=', ';;
   1024     esac
   1025     eval enable_$ac_useropt=\$ac_optarg ;;
   1026 
   1027   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1028   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1029   | --exec | --exe | --ex)
   1030     ac_prev=exec_prefix ;;
   1031   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1032   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1033   | --exec=* | --exe=* | --ex=*)
   1034     exec_prefix=$ac_optarg ;;
   1035 
   1036   -gas | --gas | --ga | --g)
   1037     # Obsolete; use --with-gas.
   1038     with_gas=yes ;;
   1039 
   1040   -help | --help | --hel | --he | -h)
   1041     ac_init_help=long ;;
   1042   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1043     ac_init_help=recursive ;;
   1044   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1045     ac_init_help=short ;;
   1046 
   1047   -host | --host | --hos | --ho)
   1048     ac_prev=host_alias ;;
   1049   -host=* | --host=* | --hos=* | --ho=*)
   1050     host_alias=$ac_optarg ;;
   1051 
   1052   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1053     ac_prev=htmldir ;;
   1054   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1055   | --ht=*)
   1056     htmldir=$ac_optarg ;;
   1057 
   1058   -includedir | --includedir | --includedi | --included | --include \
   1059   | --includ | --inclu | --incl | --inc)
   1060     ac_prev=includedir ;;
   1061   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1062   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1063     includedir=$ac_optarg ;;
   1064 
   1065   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1066     ac_prev=infodir ;;
   1067   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1068     infodir=$ac_optarg ;;
   1069 
   1070   -libdir | --libdir | --libdi | --libd)
   1071     ac_prev=libdir ;;
   1072   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1073     libdir=$ac_optarg ;;
   1074 
   1075   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1076   | --libexe | --libex | --libe)
   1077     ac_prev=libexecdir ;;
   1078   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1079   | --libexe=* | --libex=* | --libe=*)
   1080     libexecdir=$ac_optarg ;;
   1081 
   1082   -localedir | --localedir | --localedi | --localed | --locale)
   1083     ac_prev=localedir ;;
   1084   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1085     localedir=$ac_optarg ;;
   1086 
   1087   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1088   | --localstate | --localstat | --localsta | --localst | --locals)
   1089     ac_prev=localstatedir ;;
   1090   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1091   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1092     localstatedir=$ac_optarg ;;
   1093 
   1094   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1095     ac_prev=mandir ;;
   1096   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1097     mandir=$ac_optarg ;;
   1098 
   1099   -nfp | --nfp | --nf)
   1100     # Obsolete; use --without-fp.
   1101     with_fp=no ;;
   1102 
   1103   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1104   | --no-cr | --no-c | -n)
   1105     no_create=yes ;;
   1106 
   1107   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1108   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1109     no_recursion=yes ;;
   1110 
   1111   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1112   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1113   | --oldin | --oldi | --old | --ol | --o)
   1114     ac_prev=oldincludedir ;;
   1115   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1116   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1117   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1118     oldincludedir=$ac_optarg ;;
   1119 
   1120   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1121     ac_prev=prefix ;;
   1122   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1123     prefix=$ac_optarg ;;
   1124 
   1125   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1126   | --program-pre | --program-pr | --program-p)
   1127     ac_prev=program_prefix ;;
   1128   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1129   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1130     program_prefix=$ac_optarg ;;
   1131 
   1132   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1133   | --program-suf | --program-su | --program-s)
   1134     ac_prev=program_suffix ;;
   1135   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1136   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1137     program_suffix=$ac_optarg ;;
   1138 
   1139   -program-transform-name | --program-transform-name \
   1140   | --program-transform-nam | --program-transform-na \
   1141   | --program-transform-n | --program-transform- \
   1142   | --program-transform | --program-transfor \
   1143   | --program-transfo | --program-transf \
   1144   | --program-trans | --program-tran \
   1145   | --progr-tra | --program-tr | --program-t)
   1146     ac_prev=program_transform_name ;;
   1147   -program-transform-name=* | --program-transform-name=* \
   1148   | --program-transform-nam=* | --program-transform-na=* \
   1149   | --program-transform-n=* | --program-transform-=* \
   1150   | --program-transform=* | --program-transfor=* \
   1151   | --program-transfo=* | --program-transf=* \
   1152   | --program-trans=* | --program-tran=* \
   1153   | --progr-tra=* | --program-tr=* | --program-t=*)
   1154     program_transform_name=$ac_optarg ;;
   1155 
   1156   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1157     ac_prev=pdfdir ;;
   1158   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1159     pdfdir=$ac_optarg ;;
   1160 
   1161   -psdir | --psdir | --psdi | --psd | --ps)
   1162     ac_prev=psdir ;;
   1163   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1164     psdir=$ac_optarg ;;
   1165 
   1166   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1167   | -silent | --silent | --silen | --sile | --sil)
   1168     silent=yes ;;
   1169 
   1170   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1171   | --runstate | --runstat | --runsta | --runst | --runs \
   1172   | --run | --ru | --r)
   1173     ac_prev=runstatedir ;;
   1174   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1175   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1176   | --run=* | --ru=* | --r=*)
   1177     runstatedir=$ac_optarg ;;
   1178 
   1179   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1180     ac_prev=sbindir ;;
   1181   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1182   | --sbi=* | --sb=*)
   1183     sbindir=$ac_optarg ;;
   1184 
   1185   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1186   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1187   | --sharedst | --shareds | --shared | --share | --shar \
   1188   | --sha | --sh)
   1189     ac_prev=sharedstatedir ;;
   1190   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1191   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1192   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1193   | --sha=* | --sh=*)
   1194     sharedstatedir=$ac_optarg ;;
   1195 
   1196   -site | --site | --sit)
   1197     ac_prev=site ;;
   1198   -site=* | --site=* | --sit=*)
   1199     site=$ac_optarg ;;
   1200 
   1201   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1202     ac_prev=srcdir ;;
   1203   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1204     srcdir=$ac_optarg ;;
   1205 
   1206   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1207   | --syscon | --sysco | --sysc | --sys | --sy)
   1208     ac_prev=sysconfdir ;;
   1209   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1210   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1211     sysconfdir=$ac_optarg ;;
   1212 
   1213   -target | --target | --targe | --targ | --tar | --ta | --t)
   1214     ac_prev=target_alias ;;
   1215   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1216     target_alias=$ac_optarg ;;
   1217 
   1218   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1219     verbose=yes ;;
   1220 
   1221   -version | --version | --versio | --versi | --vers | -V)
   1222     ac_init_version=: ;;
   1223 
   1224   -with-* | --with-*)
   1225     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1226     # Reject names that are not valid shell variable names.
   1227     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1228       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1229     ac_useropt_orig=$ac_useropt
   1230     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1231     case $ac_user_opts in
   1232       *"
   1233 "with_$ac_useropt"
   1234 "*) ;;
   1235       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1236 	 ac_unrecognized_sep=', ';;
   1237     esac
   1238     eval with_$ac_useropt=\$ac_optarg ;;
   1239 
   1240   -without-* | --without-*)
   1241     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1242     # Reject names that are not valid shell variable names.
   1243     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1244       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1245     ac_useropt_orig=$ac_useropt
   1246     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1247     case $ac_user_opts in
   1248       *"
   1249 "with_$ac_useropt"
   1250 "*) ;;
   1251       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1252 	 ac_unrecognized_sep=', ';;
   1253     esac
   1254     eval with_$ac_useropt=no ;;
   1255 
   1256   --x)
   1257     # Obsolete; use --with-x.
   1258     with_x=yes ;;
   1259 
   1260   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1261   | --x-incl | --x-inc | --x-in | --x-i)
   1262     ac_prev=x_includes ;;
   1263   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1264   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1265     x_includes=$ac_optarg ;;
   1266 
   1267   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1268   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1269     ac_prev=x_libraries ;;
   1270   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1271   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1272     x_libraries=$ac_optarg ;;
   1273 
   1274   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1275 Try \`$0 --help' for more information"
   1276     ;;
   1277 
   1278   *=*)
   1279     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1280     # Reject names that are not valid shell variable names.
   1281     case $ac_envvar in #(
   1282       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1283       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1284     esac
   1285     eval $ac_envvar=\$ac_optarg
   1286     export $ac_envvar ;;
   1287 
   1288   *)
   1289     # FIXME: should be removed in autoconf 3.0.
   1290     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1291     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1292       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1293     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1294     ;;
   1295 
   1296   esac
   1297 done
   1298 
   1299 if test -n "$ac_prev"; then
   1300   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1301   as_fn_error $? "missing argument to $ac_option"
   1302 fi
   1303 
   1304 if test -n "$ac_unrecognized_opts"; then
   1305   case $enable_option_checking in
   1306     no) ;;
   1307     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1308     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1309   esac
   1310 fi
   1311 
   1312 # Check all directory arguments for consistency.
   1313 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1314 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1315 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1316 		libdir localedir mandir runstatedir
   1317 do
   1318   eval ac_val=\$$ac_var
   1319   # Remove trailing slashes.
   1320   case $ac_val in
   1321     */ )
   1322       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1323       eval $ac_var=\$ac_val;;
   1324   esac
   1325   # Be sure to have absolute directory names.
   1326   case $ac_val in
   1327     [\\/$]* | ?:[\\/]* )  continue;;
   1328     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1329   esac
   1330   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1331 done
   1332 
   1333 # There might be people who depend on the old broken behavior: `$host'
   1334 # used to hold the argument of --host etc.
   1335 # FIXME: To remove some day.
   1336 build=$build_alias
   1337 host=$host_alias
   1338 target=$target_alias
   1339 
   1340 # FIXME: To remove some day.
   1341 if test "x$host_alias" != x; then
   1342   if test "x$build_alias" = x; then
   1343     cross_compiling=maybe
   1344   elif test "x$build_alias" != "x$host_alias"; then
   1345     cross_compiling=yes
   1346   fi
   1347 fi
   1348 
   1349 ac_tool_prefix=
   1350 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1351 
   1352 test "$silent" = yes && exec 6>/dev/null
   1353 
   1354 
   1355 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1356 ac_ls_di=`ls -di .` &&
   1357 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1358   as_fn_error $? "working directory cannot be determined"
   1359 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1360   as_fn_error $? "pwd does not report name of working directory"
   1361 
   1362 
   1363 # Find the source files, if location was not specified.
   1364 if test -z "$srcdir"; then
   1365   ac_srcdir_defaulted=yes
   1366   # Try the directory containing this script, then the parent directory.
   1367   ac_confdir=`$as_dirname -- "$as_myself" ||
   1368 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1369 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1370 	 X"$as_myself" : 'X\(//\)$' \| \
   1371 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1372 printf "%s\n" X"$as_myself" |
   1373     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1374 	    s//\1/
   1375 	    q
   1376 	  }
   1377 	  /^X\(\/\/\)[^/].*/{
   1378 	    s//\1/
   1379 	    q
   1380 	  }
   1381 	  /^X\(\/\/\)$/{
   1382 	    s//\1/
   1383 	    q
   1384 	  }
   1385 	  /^X\(\/\).*/{
   1386 	    s//\1/
   1387 	    q
   1388 	  }
   1389 	  s/.*/./; q'`
   1390   srcdir=$ac_confdir
   1391   if test ! -r "$srcdir/$ac_unique_file"; then
   1392     srcdir=..
   1393   fi
   1394 else
   1395   ac_srcdir_defaulted=no
   1396 fi
   1397 if test ! -r "$srcdir/$ac_unique_file"; then
   1398   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1399   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1400 fi
   1401 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1402 ac_abs_confdir=`(
   1403 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1404 	pwd)`
   1405 # When building in place, set srcdir=.
   1406 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1407   srcdir=.
   1408 fi
   1409 # Remove unnecessary trailing slashes from srcdir.
   1410 # Double slashes in file names in object file debugging info
   1411 # mess up M-x gdb in Emacs.
   1412 case $srcdir in
   1413 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1414 esac
   1415 for ac_var in $ac_precious_vars; do
   1416   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1417   eval ac_env_${ac_var}_value=\$${ac_var}
   1418   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1419   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1420 done
   1421 
   1422 #
   1423 # Report the --help message.
   1424 #
   1425 if test "$ac_init_help" = "long"; then
   1426   # Omit some internal or obsolete options to make the list less imposing.
   1427   # This message is too long to be a string in the A/UX 3.1 sh.
   1428   cat <<_ACEOF
   1429 \`configure' configures expat 2.7.1 to adapt to many kinds of systems.
   1430 
   1431 Usage: $0 [OPTION]... [VAR=VALUE]...
   1432 
   1433 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1434 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1435 
   1436 Defaults for the options are specified in brackets.
   1437 
   1438 Configuration:
   1439   -h, --help              display this help and exit
   1440       --help=short        display options specific to this package
   1441       --help=recursive    display the short help of all the included packages
   1442   -V, --version           display version information and exit
   1443   -q, --quiet, --silent   do not print \`checking ...' messages
   1444       --cache-file=FILE   cache test results in FILE [disabled]
   1445   -C, --config-cache      alias for \`--cache-file=config.cache'
   1446   -n, --no-create         do not create output files
   1447       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1448 
   1449 Installation directories:
   1450   --prefix=PREFIX         install architecture-independent files in PREFIX
   1451                           [$ac_default_prefix]
   1452   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1453                           [PREFIX]
   1454 
   1455 By default, \`make install' will install all the files in
   1456 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1457 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1458 for instance \`--prefix=\$HOME'.
   1459 
   1460 For better control, use the options below.
   1461 
   1462 Fine tuning of the installation directories:
   1463   --bindir=DIR            user executables [EPREFIX/bin]
   1464   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1465   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1466   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1467   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1468   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1469   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1470   --libdir=DIR            object code libraries [EPREFIX/lib]
   1471   --includedir=DIR        C header files [PREFIX/include]
   1472   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1473   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1474   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1475   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1476   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1477   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1478   --docdir=DIR            documentation root [DATAROOTDIR/doc/expat]
   1479   --htmldir=DIR           html documentation [DOCDIR]
   1480   --dvidir=DIR            dvi documentation [DOCDIR]
   1481   --pdfdir=DIR            pdf documentation [DOCDIR]
   1482   --psdir=DIR             ps documentation [DOCDIR]
   1483 _ACEOF
   1484 
   1485   cat <<\_ACEOF
   1486 
   1487 Program names:
   1488   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1489   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1490   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1491 
   1492 System types:
   1493   --build=BUILD     configure for building on BUILD [guessed]
   1494   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1495 _ACEOF
   1496 fi
   1497 
   1498 if test -n "$ac_init_help"; then
   1499   case $ac_init_help in
   1500      short | recursive ) echo "Configuration of expat 2.7.1:";;
   1501    esac
   1502   cat <<\_ACEOF
   1503 
   1504 Optional Features:
   1505   --disable-option-checking  ignore unrecognized --enable/--with options
   1506   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1507   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1508   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1509   --disable-silent-rules  verbose build output (undo: "make V=0")
   1510   --disable-maintainer-mode
   1511                           disable make rules and dependencies not useful (and
   1512                           sometimes confusing) to the casual installer
   1513   --enable-dependency-tracking
   1514                           do not reject slow dependency extractors
   1515   --disable-dependency-tracking
   1516                           speeds up one-time build
   1517   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1518   --enable-static[=PKGS]  build static libraries [default=yes]
   1519   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1520                           both]
   1521   --enable-fast-install[=PKGS]
   1522                           optimize for fast installation [default=yes]
   1523   --enable-aix-soname=aix|svr4|both
   1524                           shared library versioning (aka "SONAME") variant to
   1525                           provide on AIX, [default=aix].
   1526   --disable-libtool-lock  avoid locking (might break parallel builds)
   1527   --enable-xml-attr-info  Enable retrieving the byte offsets for attribute
   1528                           names and values [default=no]
   1529   --enable-xml-context [COUNT]
   1530                           Retain context around the current parse point;
   1531                           default is enabled and a size of 1024 bytes
   1532   --disable-xml-context   Do not retain context around the current parse point
   1533 
   1534 Optional Packages:
   1535   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1536   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1537   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1538   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1539                           compiler's sysroot if not specified).
   1540   --without-xmlwf         do not build xmlwf
   1541   --without-examples      do not build examples [default=included]
   1542   --without-tests         do not build tests [default=included]
   1543   --with-libbsd           utilize libbsd (for arc4random_buf)
   1544   --with-getrandom        enforce the use of getrandom function in the system
   1545                           [default=check]
   1546   --without-getrandom     skip auto detect of getrandom [default=check]
   1547   --with-sys-getrandom    enforce the use of syscall SYS_getrandom function in
   1548                           the system [default=check]
   1549   --without-sys-getrandom skip auto detect of syscall SYS_getrandom
   1550                           [default=check]
   1551   --with-docbook          enforce XML to man page compilation [default=check]
   1552   --without-docbook       skip XML to man page compilation [default=check]
   1553 
   1554 Some influential environment variables:
   1555   CC          C compiler command
   1556   CFLAGS      C compiler flags
   1557   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1558               nonstandard directory <lib dir>
   1559   LIBS        libraries to pass to the linker, e.g. -l<library>
   1560   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1561               you have headers in a nonstandard directory <include dir>
   1562   LT_SYS_LIBRARY_PATH
   1563               User-defined run-time library search path.
   1564   CXX         C++ compiler command
   1565   CXXFLAGS    C++ compiler flags
   1566   CXXCPP      C++ preprocessor
   1567   DOCBOOK_TO_MAN
   1568               docbook2x-man command
   1569 
   1570 Use these variables to override the choices made by `configure' or to help
   1571 it to find libraries and programs with nonstandard names/locations.
   1572 
   1573 Report bugs to <https://github.com/libexpat/libexpat/issues>.
   1574 _ACEOF
   1575 ac_status=$?
   1576 fi
   1577 
   1578 if test "$ac_init_help" = "recursive"; then
   1579   # If there are subdirs, report their specific --help.
   1580   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1581     test -d "$ac_dir" ||
   1582       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1583       continue
   1584     ac_builddir=.
   1585 
   1586 case "$ac_dir" in
   1587 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1588 *)
   1589   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1590   # A ".." for each directory in $ac_dir_suffix.
   1591   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1592   case $ac_top_builddir_sub in
   1593   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1594   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1595   esac ;;
   1596 esac
   1597 ac_abs_top_builddir=$ac_pwd
   1598 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1599 # for backward compatibility:
   1600 ac_top_builddir=$ac_top_build_prefix
   1601 
   1602 case $srcdir in
   1603   .)  # We are building in place.
   1604     ac_srcdir=.
   1605     ac_top_srcdir=$ac_top_builddir_sub
   1606     ac_abs_top_srcdir=$ac_pwd ;;
   1607   [\\/]* | ?:[\\/]* )  # Absolute name.
   1608     ac_srcdir=$srcdir$ac_dir_suffix;
   1609     ac_top_srcdir=$srcdir
   1610     ac_abs_top_srcdir=$srcdir ;;
   1611   *) # Relative name.
   1612     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1613     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1614     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1615 esac
   1616 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1617 
   1618     cd "$ac_dir" || { ac_status=$?; continue; }
   1619     # Check for configure.gnu first; this name is used for a wrapper for
   1620     # Metaconfig's "Configure" on case-insensitive file systems.
   1621     if test -f "$ac_srcdir/configure.gnu"; then
   1622       echo &&
   1623       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1624     elif test -f "$ac_srcdir/configure"; then
   1625       echo &&
   1626       $SHELL "$ac_srcdir/configure" --help=recursive
   1627     else
   1628       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1629     fi || ac_status=$?
   1630     cd "$ac_pwd" || { ac_status=$?; break; }
   1631   done
   1632 fi
   1633 
   1634 test -n "$ac_init_help" && exit $ac_status
   1635 if $ac_init_version; then
   1636   cat <<\_ACEOF
   1637 expat configure 2.7.1
   1638 generated by GNU Autoconf 2.71
   1639 
   1640 Copyright (C) 2021 Free Software Foundation, Inc.
   1641 This configure script is free software; the Free Software Foundation
   1642 gives unlimited permission to copy, distribute and modify it.
   1643 _ACEOF
   1644   exit
   1645 fi
   1646 
   1647 ## ------------------------ ##
   1648 ## Autoconf initialization. ##
   1649 ## ------------------------ ##
   1650 
   1651 # ac_fn_c_try_compile LINENO
   1652 # --------------------------
   1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1654 ac_fn_c_try_compile ()
   1655 {
   1656   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1657   rm -f conftest.$ac_objext conftest.beam
   1658   if { { ac_try="$ac_compile"
   1659 case "(($ac_try" in
   1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1661   *) ac_try_echo=$ac_try;;
   1662 esac
   1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1664 printf "%s\n" "$ac_try_echo"; } >&5
   1665   (eval "$ac_compile") 2>conftest.err
   1666   ac_status=$?
   1667   if test -s conftest.err; then
   1668     grep -v '^ *+' conftest.err >conftest.er1
   1669     cat conftest.er1 >&5
   1670     mv -f conftest.er1 conftest.err
   1671   fi
   1672   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1673   test $ac_status = 0; } && {
   1674 	 test -z "$ac_c_werror_flag" ||
   1675 	 test ! -s conftest.err
   1676        } && test -s conftest.$ac_objext
   1677 then :
   1678   ac_retval=0
   1679 else $as_nop
   1680   printf "%s\n" "$as_me: failed program was:" >&5
   1681 sed 's/^/| /' conftest.$ac_ext >&5
   1682 
   1683 	ac_retval=1
   1684 fi
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686   as_fn_set_status $ac_retval
   1687 
   1688 } # ac_fn_c_try_compile
   1689 
   1690 # ac_fn_c_try_link LINENO
   1691 # -----------------------
   1692 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1693 ac_fn_c_try_link ()
   1694 {
   1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1696   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1697   if { { ac_try="$ac_link"
   1698 case "(($ac_try" in
   1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1700   *) ac_try_echo=$ac_try;;
   1701 esac
   1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1703 printf "%s\n" "$ac_try_echo"; } >&5
   1704   (eval "$ac_link") 2>conftest.err
   1705   ac_status=$?
   1706   if test -s conftest.err; then
   1707     grep -v '^ *+' conftest.err >conftest.er1
   1708     cat conftest.er1 >&5
   1709     mv -f conftest.er1 conftest.err
   1710   fi
   1711   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1712   test $ac_status = 0; } && {
   1713 	 test -z "$ac_c_werror_flag" ||
   1714 	 test ! -s conftest.err
   1715        } && test -s conftest$ac_exeext && {
   1716 	 test "$cross_compiling" = yes ||
   1717 	 test -x conftest$ac_exeext
   1718        }
   1719 then :
   1720   ac_retval=0
   1721 else $as_nop
   1722   printf "%s\n" "$as_me: failed program was:" >&5
   1723 sed 's/^/| /' conftest.$ac_ext >&5
   1724 
   1725 	ac_retval=1
   1726 fi
   1727   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1728   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1729   # interfere with the next link command; also delete a directory that is
   1730   # left behind by Apple's compiler.  We do this before executing the actions.
   1731   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1732   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1733   as_fn_set_status $ac_retval
   1734 
   1735 } # ac_fn_c_try_link
   1736 
   1737 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1738 # -------------------------------------------------------
   1739 # Tests whether HEADER exists and can be compiled using the include files in
   1740 # INCLUDES, setting the cache variable VAR accordingly.
   1741 ac_fn_c_check_header_compile ()
   1742 {
   1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1744   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1745 printf %s "checking for $2... " >&6; }
   1746 if eval test \${$3+y}
   1747 then :
   1748   printf %s "(cached) " >&6
   1749 else $as_nop
   1750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1751 /* end confdefs.h.  */
   1752 $4
   1753 #include <$2>
   1754 _ACEOF
   1755 if ac_fn_c_try_compile "$LINENO"
   1756 then :
   1757   eval "$3=yes"
   1758 else $as_nop
   1759   eval "$3=no"
   1760 fi
   1761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1762 fi
   1763 eval ac_res=\$$3
   1764 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1765 printf "%s\n" "$ac_res" >&6; }
   1766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1767 
   1768 } # ac_fn_c_check_header_compile
   1769 
   1770 # ac_fn_c_check_func LINENO FUNC VAR
   1771 # ----------------------------------
   1772 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1773 ac_fn_c_check_func ()
   1774 {
   1775   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1777 printf %s "checking for $2... " >&6; }
   1778 if eval test \${$3+y}
   1779 then :
   1780   printf %s "(cached) " >&6
   1781 else $as_nop
   1782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1783 /* end confdefs.h.  */
   1784 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1786 #define $2 innocuous_$2
   1787 
   1788 /* System header to define __stub macros and hopefully few prototypes,
   1789    which can conflict with char $2 (void); below.  */
   1790 
   1791 #include <limits.h>
   1792 #undef $2
   1793 
   1794 /* Override any GCC internal prototype to avoid an error.
   1795    Use char because int might match the return type of a GCC
   1796    builtin and then its argument prototype would still apply.  */
   1797 #ifdef __cplusplus
   1798 extern "C"
   1799 #endif
   1800 char $2 (void);
   1801 /* The GNU C library defines this for functions which it implements
   1802     to always fail with ENOSYS.  Some functions are actually named
   1803     something starting with __ and the normal name is an alias.  */
   1804 #if defined __stub_$2 || defined __stub___$2
   1805 choke me
   1806 #endif
   1807 
   1808 int
   1809 main (void)
   1810 {
   1811 return $2 ();
   1812   ;
   1813   return 0;
   1814 }
   1815 _ACEOF
   1816 if ac_fn_c_try_link "$LINENO"
   1817 then :
   1818   eval "$3=yes"
   1819 else $as_nop
   1820   eval "$3=no"
   1821 fi
   1822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1823     conftest$ac_exeext conftest.$ac_ext
   1824 fi
   1825 eval ac_res=\$$3
   1826 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1827 printf "%s\n" "$ac_res" >&6; }
   1828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1829 
   1830 } # ac_fn_c_check_func
   1831 
   1832 # ac_fn_cxx_try_compile LINENO
   1833 # ----------------------------
   1834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1835 ac_fn_cxx_try_compile ()
   1836 {
   1837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1838   rm -f conftest.$ac_objext conftest.beam
   1839   if { { ac_try="$ac_compile"
   1840 case "(($ac_try" in
   1841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1842   *) ac_try_echo=$ac_try;;
   1843 esac
   1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1845 printf "%s\n" "$ac_try_echo"; } >&5
   1846   (eval "$ac_compile") 2>conftest.err
   1847   ac_status=$?
   1848   if test -s conftest.err; then
   1849     grep -v '^ *+' conftest.err >conftest.er1
   1850     cat conftest.er1 >&5
   1851     mv -f conftest.er1 conftest.err
   1852   fi
   1853   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1854   test $ac_status = 0; } && {
   1855 	 test -z "$ac_cxx_werror_flag" ||
   1856 	 test ! -s conftest.err
   1857        } && test -s conftest.$ac_objext
   1858 then :
   1859   ac_retval=0
   1860 else $as_nop
   1861   printf "%s\n" "$as_me: failed program was:" >&5
   1862 sed 's/^/| /' conftest.$ac_ext >&5
   1863 
   1864 	ac_retval=1
   1865 fi
   1866   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1867   as_fn_set_status $ac_retval
   1868 
   1869 } # ac_fn_cxx_try_compile
   1870 
   1871 # ac_fn_cxx_try_cpp LINENO
   1872 # ------------------------
   1873 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1874 ac_fn_cxx_try_cpp ()
   1875 {
   1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1877   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1878 case "(($ac_try" in
   1879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1880   *) ac_try_echo=$ac_try;;
   1881 esac
   1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1883 printf "%s\n" "$ac_try_echo"; } >&5
   1884   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1885   ac_status=$?
   1886   if test -s conftest.err; then
   1887     grep -v '^ *+' conftest.err >conftest.er1
   1888     cat conftest.er1 >&5
   1889     mv -f conftest.er1 conftest.err
   1890   fi
   1891   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1892   test $ac_status = 0; } > conftest.i && {
   1893 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1894 	 test ! -s conftest.err
   1895        }
   1896 then :
   1897   ac_retval=0
   1898 else $as_nop
   1899   printf "%s\n" "$as_me: failed program was:" >&5
   1900 sed 's/^/| /' conftest.$ac_ext >&5
   1901 
   1902     ac_retval=1
   1903 fi
   1904   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1905   as_fn_set_status $ac_retval
   1906 
   1907 } # ac_fn_cxx_try_cpp
   1908 
   1909 # ac_fn_cxx_try_link LINENO
   1910 # -------------------------
   1911 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1912 ac_fn_cxx_try_link ()
   1913 {
   1914   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1915   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1916   if { { ac_try="$ac_link"
   1917 case "(($ac_try" in
   1918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1919   *) ac_try_echo=$ac_try;;
   1920 esac
   1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1922 printf "%s\n" "$ac_try_echo"; } >&5
   1923   (eval "$ac_link") 2>conftest.err
   1924   ac_status=$?
   1925   if test -s conftest.err; then
   1926     grep -v '^ *+' conftest.err >conftest.er1
   1927     cat conftest.er1 >&5
   1928     mv -f conftest.er1 conftest.err
   1929   fi
   1930   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1931   test $ac_status = 0; } && {
   1932 	 test -z "$ac_cxx_werror_flag" ||
   1933 	 test ! -s conftest.err
   1934        } && test -s conftest$ac_exeext && {
   1935 	 test "$cross_compiling" = yes ||
   1936 	 test -x conftest$ac_exeext
   1937        }
   1938 then :
   1939   ac_retval=0
   1940 else $as_nop
   1941   printf "%s\n" "$as_me: failed program was:" >&5
   1942 sed 's/^/| /' conftest.$ac_ext >&5
   1943 
   1944 	ac_retval=1
   1945 fi
   1946   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1947   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1948   # interfere with the next link command; also delete a directory that is
   1949   # left behind by Apple's compiler.  We do this before executing the actions.
   1950   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1951   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1952   as_fn_set_status $ac_retval
   1953 
   1954 } # ac_fn_cxx_try_link
   1955 
   1956 # ac_fn_c_try_run LINENO
   1957 # ----------------------
   1958 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1959 # executables *can* be run.
   1960 ac_fn_c_try_run ()
   1961 {
   1962   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1963   if { { ac_try="$ac_link"
   1964 case "(($ac_try" in
   1965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1966   *) ac_try_echo=$ac_try;;
   1967 esac
   1968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1969 printf "%s\n" "$ac_try_echo"; } >&5
   1970   (eval "$ac_link") 2>&5
   1971   ac_status=$?
   1972   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1973   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1974   { { case "(($ac_try" in
   1975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1976   *) ac_try_echo=$ac_try;;
   1977 esac
   1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1979 printf "%s\n" "$ac_try_echo"; } >&5
   1980   (eval "$ac_try") 2>&5
   1981   ac_status=$?
   1982   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1983   test $ac_status = 0; }; }
   1984 then :
   1985   ac_retval=0
   1986 else $as_nop
   1987   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1988        printf "%s\n" "$as_me: failed program was:" >&5
   1989 sed 's/^/| /' conftest.$ac_ext >&5
   1990 
   1991        ac_retval=$ac_status
   1992 fi
   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_c_try_run
   1998 
   1999 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2000 # -------------------------------------------
   2001 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2002 # variable VAR accordingly.
   2003 ac_fn_c_check_type ()
   2004 {
   2005   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2007 printf %s "checking for $2... " >&6; }
   2008 if eval test \${$3+y}
   2009 then :
   2010   printf %s "(cached) " >&6
   2011 else $as_nop
   2012   eval "$3=no"
   2013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2014 /* end confdefs.h.  */
   2015 $4
   2016 int
   2017 main (void)
   2018 {
   2019 if (sizeof ($2))
   2020 	 return 0;
   2021   ;
   2022   return 0;
   2023 }
   2024 _ACEOF
   2025 if ac_fn_c_try_compile "$LINENO"
   2026 then :
   2027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2028 /* end confdefs.h.  */
   2029 $4
   2030 int
   2031 main (void)
   2032 {
   2033 if (sizeof (($2)))
   2034 	    return 0;
   2035   ;
   2036   return 0;
   2037 }
   2038 _ACEOF
   2039 if ac_fn_c_try_compile "$LINENO"
   2040 then :
   2041 
   2042 else $as_nop
   2043   eval "$3=yes"
   2044 fi
   2045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2046 fi
   2047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2048 fi
   2049 eval ac_res=\$$3
   2050 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2051 printf "%s\n" "$ac_res" >&6; }
   2052   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2053 
   2054 } # ac_fn_c_check_type
   2055 
   2056 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2057 # --------------------------------------------
   2058 # Tries to find the compile-time value of EXPR in a program that includes
   2059 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2060 # computed
   2061 ac_fn_c_compute_int ()
   2062 {
   2063   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2064   if test "$cross_compiling" = yes; then
   2065     # Depending upon the size, compute the lo and hi bounds.
   2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2067 /* end confdefs.h.  */
   2068 $4
   2069 int
   2070 main (void)
   2071 {
   2072 static int test_array [1 - 2 * !(($2) >= 0)];
   2073 test_array [0] = 0;
   2074 return test_array [0];
   2075 
   2076   ;
   2077   return 0;
   2078 }
   2079 _ACEOF
   2080 if ac_fn_c_try_compile "$LINENO"
   2081 then :
   2082   ac_lo=0 ac_mid=0
   2083   while :; do
   2084     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2085 /* end confdefs.h.  */
   2086 $4
   2087 int
   2088 main (void)
   2089 {
   2090 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2091 test_array [0] = 0;
   2092 return test_array [0];
   2093 
   2094   ;
   2095   return 0;
   2096 }
   2097 _ACEOF
   2098 if ac_fn_c_try_compile "$LINENO"
   2099 then :
   2100   ac_hi=$ac_mid; break
   2101 else $as_nop
   2102   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2103 			if test $ac_lo -le $ac_mid; then
   2104 			  ac_lo= ac_hi=
   2105 			  break
   2106 			fi
   2107 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2108 fi
   2109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2110   done
   2111 else $as_nop
   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_hi=-1 ac_mid=-1
   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_lo=$ac_mid; break
   2147 else $as_nop
   2148   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2149 			if test $ac_mid -le $ac_hi; then
   2150 			  ac_lo= ac_hi=
   2151 			  break
   2152 			fi
   2153 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2154 fi
   2155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2156   done
   2157 else $as_nop
   2158   ac_lo= ac_hi=
   2159 fi
   2160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2161 fi
   2162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2163 # Binary search between lo and hi bounds.
   2164 while test "x$ac_lo" != "x$ac_hi"; do
   2165   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2167 /* end confdefs.h.  */
   2168 $4
   2169 int
   2170 main (void)
   2171 {
   2172 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2173 test_array [0] = 0;
   2174 return test_array [0];
   2175 
   2176   ;
   2177   return 0;
   2178 }
   2179 _ACEOF
   2180 if ac_fn_c_try_compile "$LINENO"
   2181 then :
   2182   ac_hi=$ac_mid
   2183 else $as_nop
   2184   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2185 fi
   2186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2187 done
   2188 case $ac_lo in #((
   2189 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2190 '') ac_retval=1 ;;
   2191 esac
   2192   else
   2193     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2194 /* end confdefs.h.  */
   2195 $4
   2196 static long int longval (void) { return $2; }
   2197 static unsigned long int ulongval (void) { return $2; }
   2198 #include <stdio.h>
   2199 #include <stdlib.h>
   2200 int
   2201 main (void)
   2202 {
   2203 
   2204   FILE *f = fopen ("conftest.val", "w");
   2205   if (! f)
   2206     return 1;
   2207   if (($2) < 0)
   2208     {
   2209       long int i = longval ();
   2210       if (i != ($2))
   2211 	return 1;
   2212       fprintf (f, "%ld", i);
   2213     }
   2214   else
   2215     {
   2216       unsigned long int i = ulongval ();
   2217       if (i != ($2))
   2218 	return 1;
   2219       fprintf (f, "%lu", i);
   2220     }
   2221   /* Do not output a trailing newline, as this causes \r\n confusion
   2222      on some platforms.  */
   2223   return ferror (f) || fclose (f) != 0;
   2224 
   2225   ;
   2226   return 0;
   2227 }
   2228 _ACEOF
   2229 if ac_fn_c_try_run "$LINENO"
   2230 then :
   2231   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2232 else $as_nop
   2233   ac_retval=1
   2234 fi
   2235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2236   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2237 rm -f conftest.val
   2238 
   2239   fi
   2240   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2241   as_fn_set_status $ac_retval
   2242 
   2243 } # ac_fn_c_compute_int
   2244 ac_configure_args_raw=
   2245 for ac_arg
   2246 do
   2247   case $ac_arg in
   2248   *\'*)
   2249     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2250   esac
   2251   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2252 done
   2253 
   2254 case $ac_configure_args_raw in
   2255   *$as_nl*)
   2256     ac_safe_unquote= ;;
   2257   *)
   2258     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2259     ac_unsafe_a="$ac_unsafe_z#~"
   2260     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2261     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2262 esac
   2263 
   2264 cat >config.log <<_ACEOF
   2265 This file contains any messages produced by compilers while
   2266 running configure, to aid debugging if configure makes a mistake.
   2267 
   2268 It was created by expat $as_me 2.7.1, which was
   2269 generated by GNU Autoconf 2.71.  Invocation command line was
   2270 
   2271   $ $0$ac_configure_args_raw
   2272 
   2273 _ACEOF
   2274 exec 5>>config.log
   2275 {
   2276 cat <<_ASUNAME
   2277 ## --------- ##
   2278 ## Platform. ##
   2279 ## --------- ##
   2280 
   2281 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2282 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2283 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2284 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2285 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2286 
   2287 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2288 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2289 
   2290 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2291 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2292 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2293 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2294 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2295 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2296 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2297 
   2298 _ASUNAME
   2299 
   2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2301 for as_dir in $PATH
   2302 do
   2303   IFS=$as_save_IFS
   2304   case $as_dir in #(((
   2305     '') as_dir=./ ;;
   2306     */) ;;
   2307     *) as_dir=$as_dir/ ;;
   2308   esac
   2309     printf "%s\n" "PATH: $as_dir"
   2310   done
   2311 IFS=$as_save_IFS
   2312 
   2313 } >&5
   2314 
   2315 cat >&5 <<_ACEOF
   2316 
   2317 
   2318 ## ----------- ##
   2319 ## Core tests. ##
   2320 ## ----------- ##
   2321 
   2322 _ACEOF
   2323 
   2324 
   2325 # Keep a trace of the command line.
   2326 # Strip out --no-create and --no-recursion so they do not pile up.
   2327 # Strip out --silent because we don't want to record it for future runs.
   2328 # Also quote any args containing shell meta-characters.
   2329 # Make two passes to allow for proper duplicate-argument suppression.
   2330 ac_configure_args=
   2331 ac_configure_args0=
   2332 ac_configure_args1=
   2333 ac_must_keep_next=false
   2334 for ac_pass in 1 2
   2335 do
   2336   for ac_arg
   2337   do
   2338     case $ac_arg in
   2339     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2340     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2341     | -silent | --silent | --silen | --sile | --sil)
   2342       continue ;;
   2343     *\'*)
   2344       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2345     esac
   2346     case $ac_pass in
   2347     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2348     2)
   2349       as_fn_append ac_configure_args1 " '$ac_arg'"
   2350       if test $ac_must_keep_next = true; then
   2351 	ac_must_keep_next=false # Got value, back to normal.
   2352       else
   2353 	case $ac_arg in
   2354 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2355 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2356 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2357 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2358 	    case "$ac_configure_args0 " in
   2359 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2360 	    esac
   2361 	    ;;
   2362 	  -* ) ac_must_keep_next=true ;;
   2363 	esac
   2364       fi
   2365       as_fn_append ac_configure_args " '$ac_arg'"
   2366       ;;
   2367     esac
   2368   done
   2369 done
   2370 { ac_configure_args0=; unset ac_configure_args0;}
   2371 { ac_configure_args1=; unset ac_configure_args1;}
   2372 
   2373 # When interrupted or exit'd, cleanup temporary files, and complete
   2374 # config.log.  We remove comments because anyway the quotes in there
   2375 # would cause problems or look ugly.
   2376 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2377 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2378 trap 'exit_status=$?
   2379   # Sanitize IFS.
   2380   IFS=" ""	$as_nl"
   2381   # Save into config.log some information that might help in debugging.
   2382   {
   2383     echo
   2384 
   2385     printf "%s\n" "## ---------------- ##
   2386 ## Cache variables. ##
   2387 ## ---------------- ##"
   2388     echo
   2389     # The following way of writing the cache mishandles newlines in values,
   2390 (
   2391   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2392     eval ac_val=\$$ac_var
   2393     case $ac_val in #(
   2394     *${as_nl}*)
   2395       case $ac_var in #(
   2396       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2397 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2398       esac
   2399       case $ac_var in #(
   2400       _ | IFS | as_nl) ;; #(
   2401       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2402       *) { eval $ac_var=; unset $ac_var;} ;;
   2403       esac ;;
   2404     esac
   2405   done
   2406   (set) 2>&1 |
   2407     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2408     *${as_nl}ac_space=\ *)
   2409       sed -n \
   2410 	"s/'\''/'\''\\\\'\'''\''/g;
   2411 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2412       ;; #(
   2413     *)
   2414       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2415       ;;
   2416     esac |
   2417     sort
   2418 )
   2419     echo
   2420 
   2421     printf "%s\n" "## ----------------- ##
   2422 ## Output variables. ##
   2423 ## ----------------- ##"
   2424     echo
   2425     for ac_var in $ac_subst_vars
   2426     do
   2427       eval ac_val=\$$ac_var
   2428       case $ac_val in
   2429       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2430       esac
   2431       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2432     done | sort
   2433     echo
   2434 
   2435     if test -n "$ac_subst_files"; then
   2436       printf "%s\n" "## ------------------- ##
   2437 ## File substitutions. ##
   2438 ## ------------------- ##"
   2439       echo
   2440       for ac_var in $ac_subst_files
   2441       do
   2442 	eval ac_val=\$$ac_var
   2443 	case $ac_val in
   2444 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2445 	esac
   2446 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2447       done | sort
   2448       echo
   2449     fi
   2450 
   2451     if test -s confdefs.h; then
   2452       printf "%s\n" "## ----------- ##
   2453 ## confdefs.h. ##
   2454 ## ----------- ##"
   2455       echo
   2456       cat confdefs.h
   2457       echo
   2458     fi
   2459     test "$ac_signal" != 0 &&
   2460       printf "%s\n" "$as_me: caught signal $ac_signal"
   2461     printf "%s\n" "$as_me: exit $exit_status"
   2462   } >&5
   2463   rm -f core *.core core.conftest.* &&
   2464     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2465     exit $exit_status
   2466 ' 0
   2467 for ac_signal in 1 2 13 15; do
   2468   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2469 done
   2470 ac_signal=0
   2471 
   2472 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2473 rm -f -r conftest* confdefs.h
   2474 
   2475 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2476 
   2477 # Predefined preprocessor variables.
   2478 
   2479 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2480 
   2481 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2482 
   2483 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2484 
   2485 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2486 
   2487 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2488 
   2489 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2490 
   2491 
   2492 # Let the site file select an alternate cache file if it wants to.
   2493 # Prefer an explicitly selected file to automatically selected ones.
   2494 if test -n "$CONFIG_SITE"; then
   2495   ac_site_files="$CONFIG_SITE"
   2496 elif test "x$prefix" != xNONE; then
   2497   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2498 else
   2499   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2500 fi
   2501 
   2502 for ac_site_file in $ac_site_files
   2503 do
   2504   case $ac_site_file in #(
   2505   */*) :
   2506      ;; #(
   2507   *) :
   2508     ac_site_file=./$ac_site_file ;;
   2509 esac
   2510   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2511     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2512 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2513     sed 's/^/| /' "$ac_site_file" >&5
   2514     . "$ac_site_file" \
   2515       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2516 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2517 as_fn_error $? "failed to load site script $ac_site_file
   2518 See \`config.log' for more details" "$LINENO" 5; }
   2519   fi
   2520 done
   2521 
   2522 if test -r "$cache_file"; then
   2523   # Some versions of bash will fail to source /dev/null (special files
   2524   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2525   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2526     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2527 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2528     case $cache_file in
   2529       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2530       *)                      . "./$cache_file";;
   2531     esac
   2532   fi
   2533 else
   2534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2535 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2536   >$cache_file
   2537 fi
   2538 
   2539 # Test code for whether the C compiler supports C89 (global declarations)
   2540 ac_c_conftest_c89_globals='
   2541 /* Does the compiler advertise C89 conformance?
   2542    Do not test the value of __STDC__, because some compilers set it to 0
   2543    while being otherwise adequately conformant. */
   2544 #if !defined __STDC__
   2545 # error "Compiler does not advertise C89 conformance"
   2546 #endif
   2547 
   2548 #include <stddef.h>
   2549 #include <stdarg.h>
   2550 struct stat;
   2551 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2552 struct buf { int x; };
   2553 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2554 static char *e (char **p, int i)
   2555 {
   2556   return p[i];
   2557 }
   2558 static char *f (char * (*g) (char **, int), char **p, ...)
   2559 {
   2560   char *s;
   2561   va_list v;
   2562   va_start (v,p);
   2563   s = g (p, va_arg (v,int));
   2564   va_end (v);
   2565   return s;
   2566 }
   2567 
   2568 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2569    function prototypes and stuff, but not \xHH hex character constants.
   2570    These do not provoke an error unfortunately, instead are silently treated
   2571    as an "x".  The following induces an error, until -std is added to get
   2572    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2573    array size at least.  It is necessary to write \x00 == 0 to get something
   2574    that is true only with -std.  */
   2575 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2576 
   2577 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2578    inside strings and character constants.  */
   2579 #define FOO(x) '\''x'\''
   2580 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2581 
   2582 int test (int i, double x);
   2583 struct s1 {int (*f) (int a);};
   2584 struct s2 {int (*f) (double a);};
   2585 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2586                int, int);'
   2587 
   2588 # Test code for whether the C compiler supports C89 (body of main).
   2589 ac_c_conftest_c89_main='
   2590 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2591 '
   2592 
   2593 # Test code for whether the C compiler supports C99 (global declarations)
   2594 ac_c_conftest_c99_globals='
   2595 // Does the compiler advertise C99 conformance?
   2596 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2597 # error "Compiler does not advertise C99 conformance"
   2598 #endif
   2599 
   2600 #include <stdbool.h>
   2601 extern int puts (const char *);
   2602 extern int printf (const char *, ...);
   2603 extern int dprintf (int, const char *, ...);
   2604 extern void *malloc (size_t);
   2605 extern void free (void *);
   2606 
   2607 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2608 // dprintf is used instead of fprintf to avoid needing to declare
   2609 // FILE and stderr.
   2610 #define debug(...) dprintf (2, __VA_ARGS__)
   2611 #define showlist(...) puts (#__VA_ARGS__)
   2612 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2613 static void
   2614 test_varargs_macros (void)
   2615 {
   2616   int x = 1234;
   2617   int y = 5678;
   2618   debug ("Flag");
   2619   debug ("X = %d\n", x);
   2620   showlist (The first, second, and third items.);
   2621   report (x>y, "x is %d but y is %d", x, y);
   2622 }
   2623 
   2624 // Check long long types.
   2625 #define BIG64 18446744073709551615ull
   2626 #define BIG32 4294967295ul
   2627 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2628 #if !BIG_OK
   2629   #error "your preprocessor is broken"
   2630 #endif
   2631 #if BIG_OK
   2632 #else
   2633   #error "your preprocessor is broken"
   2634 #endif
   2635 static long long int bignum = -9223372036854775807LL;
   2636 static unsigned long long int ubignum = BIG64;
   2637 
   2638 struct incomplete_array
   2639 {
   2640   int datasize;
   2641   double data[];
   2642 };
   2643 
   2644 struct named_init {
   2645   int number;
   2646   const wchar_t *name;
   2647   double average;
   2648 };
   2649 
   2650 typedef const char *ccp;
   2651 
   2652 static inline int
   2653 test_restrict (ccp restrict text)
   2654 {
   2655   // See if C++-style comments work.
   2656   // Iterate through items via the restricted pointer.
   2657   // Also check for declarations in for loops.
   2658   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2659     continue;
   2660   return 0;
   2661 }
   2662 
   2663 // Check varargs and va_copy.
   2664 static bool
   2665 test_varargs (const char *format, ...)
   2666 {
   2667   va_list args;
   2668   va_start (args, format);
   2669   va_list args_copy;
   2670   va_copy (args_copy, args);
   2671 
   2672   const char *str = "";
   2673   int number = 0;
   2674   float fnumber = 0;
   2675 
   2676   while (*format)
   2677     {
   2678       switch (*format++)
   2679 	{
   2680 	case '\''s'\'': // string
   2681 	  str = va_arg (args_copy, const char *);
   2682 	  break;
   2683 	case '\''d'\'': // int
   2684 	  number = va_arg (args_copy, int);
   2685 	  break;
   2686 	case '\''f'\'': // float
   2687 	  fnumber = va_arg (args_copy, double);
   2688 	  break;
   2689 	default:
   2690 	  break;
   2691 	}
   2692     }
   2693   va_end (args_copy);
   2694   va_end (args);
   2695 
   2696   return *str && number && fnumber;
   2697 }
   2698 '
   2699 
   2700 # Test code for whether the C compiler supports C99 (body of main).
   2701 ac_c_conftest_c99_main='
   2702   // Check bool.
   2703   _Bool success = false;
   2704   success |= (argc != 0);
   2705 
   2706   // Check restrict.
   2707   if (test_restrict ("String literal") == 0)
   2708     success = true;
   2709   char *restrict newvar = "Another string";
   2710 
   2711   // Check varargs.
   2712   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2713   test_varargs_macros ();
   2714 
   2715   // Check flexible array members.
   2716   struct incomplete_array *ia =
   2717     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2718   ia->datasize = 10;
   2719   for (int i = 0; i < ia->datasize; ++i)
   2720     ia->data[i] = i * 1.234;
   2721 
   2722   // Check named initializers.
   2723   struct named_init ni = {
   2724     .number = 34,
   2725     .name = L"Test wide string",
   2726     .average = 543.34343,
   2727   };
   2728 
   2729   ni.number = 58;
   2730 
   2731   int dynamic_array[ni.number];
   2732   dynamic_array[0] = argv[0][0];
   2733   dynamic_array[ni.number - 1] = 543;
   2734 
   2735   // work around unused variable warnings
   2736   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2737 	 || dynamic_array[ni.number - 1] != 543);
   2738 '
   2739 
   2740 # Test code for whether the C compiler supports C11 (global declarations)
   2741 ac_c_conftest_c11_globals='
   2742 // Does the compiler advertise C11 conformance?
   2743 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2744 # error "Compiler does not advertise C11 conformance"
   2745 #endif
   2746 
   2747 // Check _Alignas.
   2748 char _Alignas (double) aligned_as_double;
   2749 char _Alignas (0) no_special_alignment;
   2750 extern char aligned_as_int;
   2751 char _Alignas (0) _Alignas (int) aligned_as_int;
   2752 
   2753 // Check _Alignof.
   2754 enum
   2755 {
   2756   int_alignment = _Alignof (int),
   2757   int_array_alignment = _Alignof (int[100]),
   2758   char_alignment = _Alignof (char)
   2759 };
   2760 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2761 
   2762 // Check _Noreturn.
   2763 int _Noreturn does_not_return (void) { for (;;) continue; }
   2764 
   2765 // Check _Static_assert.
   2766 struct test_static_assert
   2767 {
   2768   int x;
   2769   _Static_assert (sizeof (int) <= sizeof (long int),
   2770                   "_Static_assert does not work in struct");
   2771   long int y;
   2772 };
   2773 
   2774 // Check UTF-8 literals.
   2775 #define u8 syntax error!
   2776 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2777 
   2778 // Check duplicate typedefs.
   2779 typedef long *long_ptr;
   2780 typedef long int *long_ptr;
   2781 typedef long_ptr long_ptr;
   2782 
   2783 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2784 struct anonymous
   2785 {
   2786   union {
   2787     struct { int i; int j; };
   2788     struct { int k; long int l; } w;
   2789   };
   2790   int m;
   2791 } v1;
   2792 '
   2793 
   2794 # Test code for whether the C compiler supports C11 (body of main).
   2795 ac_c_conftest_c11_main='
   2796   _Static_assert ((offsetof (struct anonymous, i)
   2797 		   == offsetof (struct anonymous, w.k)),
   2798 		  "Anonymous union alignment botch");
   2799   v1.i = 2;
   2800   v1.w.k = 5;
   2801   ok |= v1.i != 5;
   2802 '
   2803 
   2804 # Test code for whether the C compiler supports C11 (complete).
   2805 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2806 ${ac_c_conftest_c99_globals}
   2807 ${ac_c_conftest_c11_globals}
   2808 
   2809 int
   2810 main (int argc, char **argv)
   2811 {
   2812   int ok = 0;
   2813   ${ac_c_conftest_c89_main}
   2814   ${ac_c_conftest_c99_main}
   2815   ${ac_c_conftest_c11_main}
   2816   return ok;
   2817 }
   2818 "
   2819 
   2820 # Test code for whether the C compiler supports C99 (complete).
   2821 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2822 ${ac_c_conftest_c99_globals}
   2823 
   2824 int
   2825 main (int argc, char **argv)
   2826 {
   2827   int ok = 0;
   2828   ${ac_c_conftest_c89_main}
   2829   ${ac_c_conftest_c99_main}
   2830   return ok;
   2831 }
   2832 "
   2833 
   2834 # Test code for whether the C compiler supports C89 (complete).
   2835 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2836 
   2837 int
   2838 main (int argc, char **argv)
   2839 {
   2840   int ok = 0;
   2841   ${ac_c_conftest_c89_main}
   2842   return ok;
   2843 }
   2844 "
   2845 
   2846 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2847 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2848 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2849 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2850 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2851 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2852 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2853 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2854 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2855 # Test code for whether the C++ compiler supports C++98 (global declarations)
   2856 ac_cxx_conftest_cxx98_globals='
   2857 // Does the compiler advertise C++98 conformance?
   2858 #if !defined __cplusplus || __cplusplus < 199711L
   2859 # error "Compiler does not advertise C++98 conformance"
   2860 #endif
   2861 
   2862 // These inclusions are to reject old compilers that
   2863 // lack the unsuffixed header files.
   2864 #include <cstdlib>
   2865 #include <exception>
   2866 
   2867 // <cassert> and <cstring> are *not* freestanding headers in C++98.
   2868 extern void assert (int);
   2869 namespace std {
   2870   extern int strcmp (const char *, const char *);
   2871 }
   2872 
   2873 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
   2874 using std::exception;
   2875 using std::strcmp;
   2876 
   2877 namespace {
   2878 
   2879 void test_exception_syntax()
   2880 {
   2881   try {
   2882     throw "test";
   2883   } catch (const char *s) {
   2884     // Extra parentheses suppress a warning when building autoconf itself,
   2885     // due to lint rules shared with more typical C programs.
   2886     assert (!(strcmp) (s, "test"));
   2887   }
   2888 }
   2889 
   2890 template <typename T> struct test_template
   2891 {
   2892   T const val;
   2893   explicit test_template(T t) : val(t) {}
   2894   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
   2895 };
   2896 
   2897 } // anonymous namespace
   2898 '
   2899 
   2900 # Test code for whether the C++ compiler supports C++98 (body of main)
   2901 ac_cxx_conftest_cxx98_main='
   2902   assert (argc);
   2903   assert (! argv[0]);
   2904 {
   2905   test_exception_syntax ();
   2906   test_template<double> tt (2.0);
   2907   assert (tt.add (4) == 6.0);
   2908   assert (true && !false);
   2909 }
   2910 '
   2911 
   2912 # Test code for whether the C++ compiler supports C++11 (global declarations)
   2913 ac_cxx_conftest_cxx11_globals='
   2914 // Does the compiler advertise C++ 2011 conformance?
   2915 #if !defined __cplusplus || __cplusplus < 201103L
   2916 # error "Compiler does not advertise C++11 conformance"
   2917 #endif
   2918 
   2919 namespace cxx11test
   2920 {
   2921   constexpr int get_val() { return 20; }
   2922 
   2923   struct testinit
   2924   {
   2925     int i;
   2926     double d;
   2927   };
   2928 
   2929   class delegate
   2930   {
   2931   public:
   2932     delegate(int n) : n(n) {}
   2933     delegate(): delegate(2354) {}
   2934 
   2935     virtual int getval() { return this->n; };
   2936   protected:
   2937     int n;
   2938   };
   2939 
   2940   class overridden : public delegate
   2941   {
   2942   public:
   2943     overridden(int n): delegate(n) {}
   2944     virtual int getval() override final { return this->n * 2; }
   2945   };
   2946 
   2947   class nocopy
   2948   {
   2949   public:
   2950     nocopy(int i): i(i) {}
   2951     nocopy() = default;
   2952     nocopy(const nocopy&) = delete;
   2953     nocopy & operator=(const nocopy&) = delete;
   2954   private:
   2955     int i;
   2956   };
   2957 
   2958   // for testing lambda expressions
   2959   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
   2960   {
   2961     return f(v);
   2962   }
   2963 
   2964   // for testing variadic templates and trailing return types
   2965   template <typename V> auto sum(V first) -> V
   2966   {
   2967     return first;
   2968   }
   2969   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
   2970   {
   2971     return first + sum(rest...);
   2972   }
   2973 }
   2974 '
   2975 
   2976 # Test code for whether the C++ compiler supports C++11 (body of main)
   2977 ac_cxx_conftest_cxx11_main='
   2978 {
   2979   // Test auto and decltype
   2980   auto a1 = 6538;
   2981   auto a2 = 48573953.4;
   2982   auto a3 = "String literal";
   2983 
   2984   int total = 0;
   2985   for (auto i = a3; *i; ++i) { total += *i; }
   2986 
   2987   decltype(a2) a4 = 34895.034;
   2988 }
   2989 {
   2990   // Test constexpr
   2991   short sa[cxx11test::get_val()] = { 0 };
   2992 }
   2993 {
   2994   // Test initializer lists
   2995   cxx11test::testinit il = { 4323, 435234.23544 };
   2996 }
   2997 {
   2998   // Test range-based for
   2999   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
   3000                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
   3001   for (auto &x : array) { x += 23; }
   3002 }
   3003 {
   3004   // Test lambda expressions
   3005   using cxx11test::eval;
   3006   assert (eval ([](int x) { return x*2; }, 21) == 42);
   3007   double d = 2.0;
   3008   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
   3009   assert (d == 5.0);
   3010   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
   3011   assert (d == 5.0);
   3012 }
   3013 {
   3014   // Test use of variadic templates
   3015   using cxx11test::sum;
   3016   auto a = sum(1);
   3017   auto b = sum(1, 2);
   3018   auto c = sum(1.0, 2.0, 3.0);
   3019 }
   3020 {
   3021   // Test constructor delegation
   3022   cxx11test::delegate d1;
   3023   cxx11test::delegate d2();
   3024   cxx11test::delegate d3(45);
   3025 }
   3026 {
   3027   // Test override and final
   3028   cxx11test::overridden o1(55464);
   3029 }
   3030 {
   3031   // Test nullptr
   3032   char *c = nullptr;
   3033 }
   3034 {
   3035   // Test template brackets
   3036   test_template<::test_template<int>> v(test_template<int>(12));
   3037 }
   3038 {
   3039   // Unicode literals
   3040   char const *utf8 = u8"UTF-8 string \u2500";
   3041   char16_t const *utf16 = u"UTF-8 string \u2500";
   3042   char32_t const *utf32 = U"UTF-32 string \u2500";
   3043 }
   3044 '
   3045 
   3046 # Test code for whether the C compiler supports C++11 (complete).
   3047 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
   3048 ${ac_cxx_conftest_cxx11_globals}
   3049 
   3050 int
   3051 main (int argc, char **argv)
   3052 {
   3053   int ok = 0;
   3054   ${ac_cxx_conftest_cxx98_main}
   3055   ${ac_cxx_conftest_cxx11_main}
   3056   return ok;
   3057 }
   3058 "
   3059 
   3060 # Test code for whether the C compiler supports C++98 (complete).
   3061 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
   3062 int
   3063 main (int argc, char **argv)
   3064 {
   3065   int ok = 0;
   3066   ${ac_cxx_conftest_cxx98_main}
   3067   return ok;
   3068 }
   3069 "
   3070 
   3071 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   3072 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   3073 
   3074 # Auxiliary files required by this configure script.
   3075 ac_aux_files="ltmain.sh compile ar-lib missing install-sh config.guess config.sub"
   3076 
   3077 # Locations in which to look for auxiliary files.
   3078 ac_aux_dir_candidates="${srcdir}/conftools"
   3079 
   3080 # Search for a directory containing all of the required auxiliary files,
   3081 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   3082 # If we don't find one directory that contains all the files we need,
   3083 # we report the set of missing files from the *first* directory in
   3084 # $ac_aux_dir_candidates and give up.
   3085 ac_missing_aux_files=""
   3086 ac_first_candidate=:
   3087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3089 as_found=false
   3090 for as_dir in $ac_aux_dir_candidates
   3091 do
   3092   IFS=$as_save_IFS
   3093   case $as_dir in #(((
   3094     '') as_dir=./ ;;
   3095     */) ;;
   3096     *) as_dir=$as_dir/ ;;
   3097   esac
   3098   as_found=:
   3099 
   3100   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   3101   ac_aux_dir_found=yes
   3102   ac_install_sh=
   3103   for ac_aux in $ac_aux_files
   3104   do
   3105     # As a special case, if "install-sh" is required, that requirement
   3106     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   3107     # and $ac_install_sh is set appropriately for whichever one is found.
   3108     if test x"$ac_aux" = x"install-sh"
   3109     then
   3110       if test -f "${as_dir}install-sh"; then
   3111         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   3112         ac_install_sh="${as_dir}install-sh -c"
   3113       elif test -f "${as_dir}install.sh"; then
   3114         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   3115         ac_install_sh="${as_dir}install.sh -c"
   3116       elif test -f "${as_dir}shtool"; then
   3117         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   3118         ac_install_sh="${as_dir}shtool install -c"
   3119       else
   3120         ac_aux_dir_found=no
   3121         if $ac_first_candidate; then
   3122           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   3123         else
   3124           break
   3125         fi
   3126       fi
   3127     else
   3128       if test -f "${as_dir}${ac_aux}"; then
   3129         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   3130       else
   3131         ac_aux_dir_found=no
   3132         if $ac_first_candidate; then
   3133           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   3134         else
   3135           break
   3136         fi
   3137       fi
   3138     fi
   3139   done
   3140   if test "$ac_aux_dir_found" = yes; then
   3141     ac_aux_dir="$as_dir"
   3142     break
   3143   fi
   3144   ac_first_candidate=false
   3145 
   3146   as_found=false
   3147 done
   3148 IFS=$as_save_IFS
   3149 if $as_found
   3150 then :
   3151 
   3152 else $as_nop
   3153   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   3154 fi
   3155 
   3156 
   3157 # These three variables are undocumented and unsupported,
   3158 # and are intended to be withdrawn in a future Autoconf release.
   3159 # They can cause serious problems if a builder's source tree is in a directory
   3160 # whose full name contains unusual characters.
   3161 if test -f "${ac_aux_dir}config.guess"; then
   3162   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   3163 fi
   3164 if test -f "${ac_aux_dir}config.sub"; then
   3165   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   3166 fi
   3167 if test -f "$ac_aux_dir/configure"; then
   3168   ac_configure="$SHELL ${ac_aux_dir}configure"
   3169 fi
   3170 
   3171 # Check that the precious variables saved in the cache have kept the same
   3172 # value.
   3173 ac_cache_corrupted=false
   3174 for ac_var in $ac_precious_vars; do
   3175   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3176   eval ac_new_set=\$ac_env_${ac_var}_set
   3177   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3178   eval ac_new_val=\$ac_env_${ac_var}_value
   3179   case $ac_old_set,$ac_new_set in
   3180     set,)
   3181       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   3182 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   3183       ac_cache_corrupted=: ;;
   3184     ,set)
   3185       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   3186 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   3187       ac_cache_corrupted=: ;;
   3188     ,);;
   3189     *)
   3190       if test "x$ac_old_val" != "x$ac_new_val"; then
   3191 	# differences in whitespace do not lead to failure.
   3192 	ac_old_val_w=`echo x $ac_old_val`
   3193 	ac_new_val_w=`echo x $ac_new_val`
   3194 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3195 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   3196 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   3197 	  ac_cache_corrupted=:
   3198 	else
   3199 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   3200 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   3201 	  eval $ac_var=\$ac_old_val
   3202 	fi
   3203 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   3204 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   3205 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   3206 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   3207       fi;;
   3208   esac
   3209   # Pass precious variables to config.status.
   3210   if test "$ac_new_set" = set; then
   3211     case $ac_new_val in
   3212     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3213     *) ac_arg=$ac_var=$ac_new_val ;;
   3214     esac
   3215     case " $ac_configure_args " in
   3216       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3217       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3218     esac
   3219   fi
   3220 done
   3221 if $ac_cache_corrupted; then
   3222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3223 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3225 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3226   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   3227 	    and start over" "$LINENO" 5
   3228 fi
   3229 ## -------------------- ##
   3230 ## Main body of script. ##
   3231 ## -------------------- ##
   3232 
   3233 ac_ext=c
   3234 ac_cpp='$CPP $CPPFLAGS'
   3235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3238 
   3239 
   3240 
   3241 
   3242 
   3243 
   3244 
   3245 
   3246 
   3247 
   3248   # Make sure we can run config.sub.
   3249 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3250   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3251 
   3252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3253 printf %s "checking build system type... " >&6; }
   3254 if test ${ac_cv_build+y}
   3255 then :
   3256   printf %s "(cached) " >&6
   3257 else $as_nop
   3258   ac_build_alias=$build_alias
   3259 test "x$ac_build_alias" = x &&
   3260   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3261 test "x$ac_build_alias" = x &&
   3262   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3263 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3264   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3265 
   3266 fi
   3267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3268 printf "%s\n" "$ac_cv_build" >&6; }
   3269 case $ac_cv_build in
   3270 *-*-*) ;;
   3271 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3272 esac
   3273 build=$ac_cv_build
   3274 ac_save_IFS=$IFS; IFS='-'
   3275 set x $ac_cv_build
   3276 shift
   3277 build_cpu=$1
   3278 build_vendor=$2
   3279 shift; shift
   3280 # Remember, the first character of IFS is used to create $*,
   3281 # except with old shells:
   3282 build_os=$*
   3283 IFS=$ac_save_IFS
   3284 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3285 
   3286 
   3287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3288 printf %s "checking host system type... " >&6; }
   3289 if test ${ac_cv_host+y}
   3290 then :
   3291   printf %s "(cached) " >&6
   3292 else $as_nop
   3293   if test "x$host_alias" = x; then
   3294   ac_cv_host=$ac_cv_build
   3295 else
   3296   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3297     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3298 fi
   3299 
   3300 fi
   3301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3302 printf "%s\n" "$ac_cv_host" >&6; }
   3303 case $ac_cv_host in
   3304 *-*-*) ;;
   3305 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3306 esac
   3307 host=$ac_cv_host
   3308 ac_save_IFS=$IFS; IFS='-'
   3309 set x $ac_cv_host
   3310 shift
   3311 host_cpu=$1
   3312 host_vendor=$2
   3313 shift; shift
   3314 # Remember, the first character of IFS is used to create $*,
   3315 # except with old shells:
   3316 host_os=$*
   3317 IFS=$ac_save_IFS
   3318 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3319 
   3320 
   3321 am__api_version='1.16'
   3322 
   3323 
   3324   # Find a good install program.  We prefer a C program (faster),
   3325 # so one script is as good as another.  But avoid the broken or
   3326 # incompatible versions:
   3327 # SysV /etc/install, /usr/sbin/install
   3328 # SunOS /usr/etc/install
   3329 # IRIX /sbin/install
   3330 # AIX /bin/install
   3331 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3335 # OS/2's system install, which has a completely different semantic
   3336 # ./install, which can be erroneously created by make from ./install.sh.
   3337 # Reject install programs that cannot install multiple files.
   3338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3339 printf %s "checking for a BSD-compatible install... " >&6; }
   3340 if test -z "$INSTALL"; then
   3341 if test ${ac_cv_path_install+y}
   3342 then :
   3343   printf %s "(cached) " >&6
   3344 else $as_nop
   3345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3346 for as_dir in $PATH
   3347 do
   3348   IFS=$as_save_IFS
   3349   case $as_dir in #(((
   3350     '') as_dir=./ ;;
   3351     */) ;;
   3352     *) as_dir=$as_dir/ ;;
   3353   esac
   3354     # Account for fact that we put trailing slashes in our PATH walk.
   3355 case $as_dir in #((
   3356   ./ | /[cC]/* | \
   3357   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3358   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3359   /usr/ucb/* ) ;;
   3360   *)
   3361     # OSF1 and SCO ODT 3.0 have their own names for install.
   3362     # Don't use installbsd from OSF since it installs stuff as root
   3363     # by default.
   3364     for ac_prog in ginstall scoinst install; do
   3365       for ac_exec_ext in '' $ac_executable_extensions; do
   3366 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3367 	  if test $ac_prog = install &&
   3368 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3369 	    # AIX install.  It has an incompatible calling convention.
   3370 	    :
   3371 	  elif test $ac_prog = install &&
   3372 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3373 	    # program-specific install script used by HP pwplus--don't use.
   3374 	    :
   3375 	  else
   3376 	    rm -rf conftest.one conftest.two conftest.dir
   3377 	    echo one > conftest.one
   3378 	    echo two > conftest.two
   3379 	    mkdir conftest.dir
   3380 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3381 	      test -s conftest.one && test -s conftest.two &&
   3382 	      test -s conftest.dir/conftest.one &&
   3383 	      test -s conftest.dir/conftest.two
   3384 	    then
   3385 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3386 	      break 3
   3387 	    fi
   3388 	  fi
   3389 	fi
   3390       done
   3391     done
   3392     ;;
   3393 esac
   3394 
   3395   done
   3396 IFS=$as_save_IFS
   3397 
   3398 rm -rf conftest.one conftest.two conftest.dir
   3399 
   3400 fi
   3401   if test ${ac_cv_path_install+y}; then
   3402     INSTALL=$ac_cv_path_install
   3403   else
   3404     # As a last resort, use the slow shell script.  Don't cache a
   3405     # value for INSTALL within a source directory, because that will
   3406     # break other packages using the cache if that directory is
   3407     # removed, or if the value is a relative name.
   3408     INSTALL=$ac_install_sh
   3409   fi
   3410 fi
   3411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3412 printf "%s\n" "$INSTALL" >&6; }
   3413 
   3414 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3415 # It thinks the first close brace ends the variable substitution.
   3416 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3417 
   3418 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3419 
   3420 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3421 
   3422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3423 printf %s "checking whether build environment is sane... " >&6; }
   3424 # Reject unsafe characters in $srcdir or the absolute working directory
   3425 # name.  Accept space and tab only in the latter.
   3426 am_lf='
   3427 '
   3428 case `pwd` in
   3429   *[\\\"\#\$\&\'\`$am_lf]*)
   3430     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3431 esac
   3432 case $srcdir in
   3433   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3434     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3435 esac
   3436 
   3437 # Do 'set' in a subshell so we don't clobber the current shell's
   3438 # arguments.  Must try -L first in case configure is actually a
   3439 # symlink; some systems play weird games with the mod time of symlinks
   3440 # (eg FreeBSD returns the mod time of the symlink's containing
   3441 # directory).
   3442 if (
   3443    am_has_slept=no
   3444    for am_try in 1 2; do
   3445      echo "timestamp, slept: $am_has_slept" > conftest.file
   3446      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3447      if test "$*" = "X"; then
   3448 	# -L didn't work.
   3449 	set X `ls -t "$srcdir/configure" conftest.file`
   3450      fi
   3451      if test "$*" != "X $srcdir/configure conftest.file" \
   3452 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3453 
   3454 	# If neither matched, then we have a broken ls.  This can happen
   3455 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3456 	# broken ls alias from the environment.  This has actually
   3457 	# happened.  Such a system could not be considered "sane".
   3458 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3459   alias in your environment" "$LINENO" 5
   3460      fi
   3461      if test "$2" = conftest.file || test $am_try -eq 2; then
   3462        break
   3463      fi
   3464      # Just in case.
   3465      sleep 1
   3466      am_has_slept=yes
   3467    done
   3468    test "$2" = conftest.file
   3469    )
   3470 then
   3471    # Ok.
   3472    :
   3473 else
   3474    as_fn_error $? "newly created file is older than distributed files!
   3475 Check your system clock" "$LINENO" 5
   3476 fi
   3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3478 printf "%s\n" "yes" >&6; }
   3479 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3480 # generated files are strictly newer.
   3481 am_sleep_pid=
   3482 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3483   ( sleep 1 ) &
   3484   am_sleep_pid=$!
   3485 fi
   3486 
   3487 rm -f conftest.file
   3488 
   3489 test "$program_prefix" != NONE &&
   3490   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3491 # Use a double $ so make ignores it.
   3492 test "$program_suffix" != NONE &&
   3493   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3494 # Double any \ or $.
   3495 # By default was `s,x,x', remove it if useless.
   3496 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3497 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3498 
   3499 
   3500 # Expand $ac_aux_dir to an absolute path.
   3501 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3502 
   3503 
   3504   if test x"${MISSING+set}" != xset; then
   3505   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3506 fi
   3507 # Use eval to expand $SHELL
   3508 if eval "$MISSING --is-lightweight"; then
   3509   am_missing_run="$MISSING "
   3510 else
   3511   am_missing_run=
   3512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3513 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3514 fi
   3515 
   3516 if test x"${install_sh+set}" != xset; then
   3517   case $am_aux_dir in
   3518   *\ * | *\	*)
   3519     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3520   *)
   3521     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3522   esac
   3523 fi
   3524 
   3525 # Installed binaries are usually stripped using 'strip' when the user
   3526 # run "make install-strip".  However 'strip' might not be the right
   3527 # tool to use in cross-compilation environments, therefore Automake
   3528 # will honor the 'STRIP' environment variable to overrule this program.
   3529 if test "$cross_compiling" != no; then
   3530   if test -n "$ac_tool_prefix"; then
   3531   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3532 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3534 printf %s "checking for $ac_word... " >&6; }
   3535 if test ${ac_cv_prog_STRIP+y}
   3536 then :
   3537   printf %s "(cached) " >&6
   3538 else $as_nop
   3539   if test -n "$STRIP"; then
   3540   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3541 else
   3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3543 for as_dir in $PATH
   3544 do
   3545   IFS=$as_save_IFS
   3546   case $as_dir in #(((
   3547     '') as_dir=./ ;;
   3548     */) ;;
   3549     *) as_dir=$as_dir/ ;;
   3550   esac
   3551     for ac_exec_ext in '' $ac_executable_extensions; do
   3552   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3553     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3554     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3555     break 2
   3556   fi
   3557 done
   3558   done
   3559 IFS=$as_save_IFS
   3560 
   3561 fi
   3562 fi
   3563 STRIP=$ac_cv_prog_STRIP
   3564 if test -n "$STRIP"; then
   3565   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3566 printf "%s\n" "$STRIP" >&6; }
   3567 else
   3568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3569 printf "%s\n" "no" >&6; }
   3570 fi
   3571 
   3572 
   3573 fi
   3574 if test -z "$ac_cv_prog_STRIP"; then
   3575   ac_ct_STRIP=$STRIP
   3576   # Extract the first word of "strip", so it can be a program name with args.
   3577 set dummy strip; ac_word=$2
   3578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3579 printf %s "checking for $ac_word... " >&6; }
   3580 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3581 then :
   3582   printf %s "(cached) " >&6
   3583 else $as_nop
   3584   if test -n "$ac_ct_STRIP"; then
   3585   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3586 else
   3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3588 for as_dir in $PATH
   3589 do
   3590   IFS=$as_save_IFS
   3591   case $as_dir in #(((
   3592     '') as_dir=./ ;;
   3593     */) ;;
   3594     *) as_dir=$as_dir/ ;;
   3595   esac
   3596     for ac_exec_ext in '' $ac_executable_extensions; do
   3597   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3598     ac_cv_prog_ac_ct_STRIP="strip"
   3599     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3600     break 2
   3601   fi
   3602 done
   3603   done
   3604 IFS=$as_save_IFS
   3605 
   3606 fi
   3607 fi
   3608 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3609 if test -n "$ac_ct_STRIP"; then
   3610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3611 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3612 else
   3613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3614 printf "%s\n" "no" >&6; }
   3615 fi
   3616 
   3617   if test "x$ac_ct_STRIP" = x; then
   3618     STRIP=":"
   3619   else
   3620     case $cross_compiling:$ac_tool_warned in
   3621 yes:)
   3622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3623 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3624 ac_tool_warned=yes ;;
   3625 esac
   3626     STRIP=$ac_ct_STRIP
   3627   fi
   3628 else
   3629   STRIP="$ac_cv_prog_STRIP"
   3630 fi
   3631 
   3632 fi
   3633 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3634 
   3635 
   3636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3637 printf %s "checking for a race-free mkdir -p... " >&6; }
   3638 if test -z "$MKDIR_P"; then
   3639   if test ${ac_cv_path_mkdir+y}
   3640 then :
   3641   printf %s "(cached) " >&6
   3642 else $as_nop
   3643   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3644 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3645 do
   3646   IFS=$as_save_IFS
   3647   case $as_dir in #(((
   3648     '') as_dir=./ ;;
   3649     */) ;;
   3650     *) as_dir=$as_dir/ ;;
   3651   esac
   3652     for ac_prog in mkdir gmkdir; do
   3653 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3654 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3655 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3656 	     'mkdir ('*'coreutils) '* | \
   3657 	     'BusyBox '* | \
   3658 	     'mkdir (fileutils) '4.1*)
   3659 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3660 	       break 3;;
   3661 	   esac
   3662 	 done
   3663        done
   3664   done
   3665 IFS=$as_save_IFS
   3666 
   3667 fi
   3668 
   3669   test -d ./--version && rmdir ./--version
   3670   if test ${ac_cv_path_mkdir+y}; then
   3671     MKDIR_P="$ac_cv_path_mkdir -p"
   3672   else
   3673     # As a last resort, use the slow shell script.  Don't cache a
   3674     # value for MKDIR_P within a source directory, because that will
   3675     # break other packages using the cache if that directory is
   3676     # removed, or if the value is a relative name.
   3677     MKDIR_P="$ac_install_sh -d"
   3678   fi
   3679 fi
   3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3681 printf "%s\n" "$MKDIR_P" >&6; }
   3682 
   3683 for ac_prog in gawk mawk nawk awk
   3684 do
   3685   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3686 set dummy $ac_prog; ac_word=$2
   3687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3688 printf %s "checking for $ac_word... " >&6; }
   3689 if test ${ac_cv_prog_AWK+y}
   3690 then :
   3691   printf %s "(cached) " >&6
   3692 else $as_nop
   3693   if test -n "$AWK"; then
   3694   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3695 else
   3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3697 for as_dir in $PATH
   3698 do
   3699   IFS=$as_save_IFS
   3700   case $as_dir in #(((
   3701     '') as_dir=./ ;;
   3702     */) ;;
   3703     *) as_dir=$as_dir/ ;;
   3704   esac
   3705     for ac_exec_ext in '' $ac_executable_extensions; do
   3706   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3707     ac_cv_prog_AWK="$ac_prog"
   3708     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3709     break 2
   3710   fi
   3711 done
   3712   done
   3713 IFS=$as_save_IFS
   3714 
   3715 fi
   3716 fi
   3717 AWK=$ac_cv_prog_AWK
   3718 if test -n "$AWK"; then
   3719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3720 printf "%s\n" "$AWK" >&6; }
   3721 else
   3722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3723 printf "%s\n" "no" >&6; }
   3724 fi
   3725 
   3726 
   3727   test -n "$AWK" && break
   3728 done
   3729 
   3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3731 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3732 set x ${MAKE-make}
   3733 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3734 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3735 then :
   3736   printf %s "(cached) " >&6
   3737 else $as_nop
   3738   cat >conftest.make <<\_ACEOF
   3739 SHELL = /bin/sh
   3740 all:
   3741 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3742 _ACEOF
   3743 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3744 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3745   *@@@%%%=?*=@@@%%%*)
   3746     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3747   *)
   3748     eval ac_cv_prog_make_${ac_make}_set=no;;
   3749 esac
   3750 rm -f conftest.make
   3751 fi
   3752 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3754 printf "%s\n" "yes" >&6; }
   3755   SET_MAKE=
   3756 else
   3757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3758 printf "%s\n" "no" >&6; }
   3759   SET_MAKE="MAKE=${MAKE-make}"
   3760 fi
   3761 
   3762 rm -rf .tst 2>/dev/null
   3763 mkdir .tst 2>/dev/null
   3764 if test -d .tst; then
   3765   am__leading_dot=.
   3766 else
   3767   am__leading_dot=_
   3768 fi
   3769 rmdir .tst 2>/dev/null
   3770 
   3771 # Check whether --enable-silent-rules was given.
   3772 if test ${enable_silent_rules+y}
   3773 then :
   3774   enableval=$enable_silent_rules;
   3775 fi
   3776 
   3777 case $enable_silent_rules in # (((
   3778   yes) AM_DEFAULT_VERBOSITY=0;;
   3779    no) AM_DEFAULT_VERBOSITY=1;;
   3780     *) AM_DEFAULT_VERBOSITY=1;;
   3781 esac
   3782 am_make=${MAKE-make}
   3783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3784 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3785 if test ${am_cv_make_support_nested_variables+y}
   3786 then :
   3787   printf %s "(cached) " >&6
   3788 else $as_nop
   3789   if printf "%s\n" 'TRUE=$(BAR$(V))
   3790 BAR0=false
   3791 BAR1=true
   3792 V=1
   3793 am__doit:
   3794 	@$(TRUE)
   3795 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3796   am_cv_make_support_nested_variables=yes
   3797 else
   3798   am_cv_make_support_nested_variables=no
   3799 fi
   3800 fi
   3801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3802 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3803 if test $am_cv_make_support_nested_variables = yes; then
   3804     AM_V='$(V)'
   3805   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3806 else
   3807   AM_V=$AM_DEFAULT_VERBOSITY
   3808   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3809 fi
   3810 AM_BACKSLASH='\'
   3811 
   3812 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3813   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3814   # is not polluted with repeated "-I."
   3815   am__isrc=' -I$(srcdir)'
   3816   # test to see if srcdir already configured
   3817   if test -f $srcdir/config.status; then
   3818     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3819   fi
   3820 fi
   3821 
   3822 # test whether we have cygpath
   3823 if test -z "$CYGPATH_W"; then
   3824   if (cygpath --version) >/dev/null 2>/dev/null; then
   3825     CYGPATH_W='cygpath -w'
   3826   else
   3827     CYGPATH_W=echo
   3828   fi
   3829 fi
   3830 
   3831 
   3832 # Define the identity of the package.
   3833  PACKAGE='expat'
   3834  VERSION='2.7.1'
   3835 
   3836 
   3837 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3838 
   3839 
   3840 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3841 
   3842 # Some tools Automake needs.
   3843 
   3844 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3845 
   3846 
   3847 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3848 
   3849 
   3850 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3851 
   3852 
   3853 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3854 
   3855 
   3856 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3857 
   3858 # For better backward compatibility.  To be removed once Automake 1.9.x
   3859 # dies out for good.  For more background, see:
   3860 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3861 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3862 mkdir_p='$(MKDIR_P)'
   3863 
   3864 # We need awk for the "check" target (and possibly the TAP driver).  The
   3865 # system "awk" is bad on some platforms.
   3866 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3867 # in the wild :-(  We should find a proper way to deprecate it ...
   3868 AMTAR='$${TAR-tar}'
   3869 
   3870 
   3871 # We'll loop over all known methods to create a tar archive until one works.
   3872 _am_tools='gnutar  pax cpio none'
   3873 
   3874 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3875 
   3876 
   3877 
   3878 
   3879 
   3880 # Variables for tags utilities; see am/tags.am
   3881 if test -z "$CTAGS"; then
   3882   CTAGS=ctags
   3883 fi
   3884 
   3885 if test -z "$ETAGS"; then
   3886   ETAGS=etags
   3887 fi
   3888 
   3889 if test -z "$CSCOPE"; then
   3890   CSCOPE=cscope
   3891 fi
   3892 
   3893 
   3894 
   3895 # POSIX will say in a future version that running "rm -f" with no argument
   3896 # is OK; and we want to be able to make that assumption in our Makefile
   3897 # recipes.  So use an aggressive probe to check that the usage we want is
   3898 # actually supported "in the wild" to an acceptable degree.
   3899 # See automake bug#10828.
   3900 # To make any issue more visible, cause the running configure to be aborted
   3901 # by default if the 'rm' program in use doesn't match our expectations; the
   3902 # user can still override this though.
   3903 if rm -f && rm -fr && rm -rf; then : OK; else
   3904   cat >&2 <<'END'
   3905 Oops!
   3906 
   3907 Your 'rm' program seems unable to run without file operands specified
   3908 on the command line, even when the '-f' option is present.  This is contrary
   3909 to the behaviour of most rm programs out there, and not conforming with
   3910 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3911 
   3912 Please tell bug-automake@gnu.org about your system, including the value
   3913 of your $PATH and any error possibly output before this message.  This
   3914 can help us improve future automake versions.
   3915 
   3916 END
   3917   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3918     echo 'Configuration will proceed anyway, since you have set the' >&2
   3919     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3920     echo >&2
   3921   else
   3922     cat >&2 <<'END'
   3923 Aborting the configuration process, to ensure you take notice of the issue.
   3924 
   3925 You can download and install GNU coreutils to get an 'rm' implementation
   3926 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3927 
   3928 If you want to complete the configuration process using your problematic
   3929 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3930 to "yes", and re-run configure.
   3931 
   3932 END
   3933     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3934   fi
   3935 fi
   3936 
   3937 
   3938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3939 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3940     # Check whether --enable-maintainer-mode was given.
   3941 if test ${enable_maintainer_mode+y}
   3942 then :
   3943   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3944 else $as_nop
   3945   USE_MAINTAINER_MODE=yes
   3946 fi
   3947 
   3948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3949 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
   3950    if test $USE_MAINTAINER_MODE = yes; then
   3951   MAINTAINER_MODE_TRUE=
   3952   MAINTAINER_MODE_FALSE='#'
   3953 else
   3954   MAINTAINER_MODE_TRUE='#'
   3955   MAINTAINER_MODE_FALSE=
   3956 fi
   3957 
   3958   MAINT=$MAINTAINER_MODE_TRUE
   3959 
   3960   # to allow argument --disable-maintainer-mode
   3961 
   3962 
   3963 
   3964 LIBCURRENT=11  # sync
   3965 LIBREVISION=2  # with
   3966 LIBAGE=10      # CMakeLists.txt!
   3967 
   3968 ac_config_headers="$ac_config_headers expat_config.h"
   3969 
   3970 
   3971 
   3972 
   3973 
   3974 
   3975 
   3976 
   3977 
   3978 
   3979 
   3980 
   3981 
   3982 DEPDIR="${am__leading_dot}deps"
   3983 
   3984 ac_config_commands="$ac_config_commands depfiles"
   3985 
   3986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3987 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3988 cat > confinc.mk << 'END'
   3989 am__doit:
   3990 	@echo this is the am__doit target >confinc.out
   3991 .PHONY: am__doit
   3992 END
   3993 am__include="#"
   3994 am__quote=
   3995 # BSD make does it like this.
   3996 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3997 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3998 echo 'include confinc.mk # ignored' > confmf.GNU
   3999 _am_result=no
   4000 for s in GNU BSD; do
   4001   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4002    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4003    ac_status=$?
   4004    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4005    (exit $ac_status); }
   4006   case $?:`cat confinc.out 2>/dev/null` in #(
   4007   '0:this is the am__doit target') :
   4008     case $s in #(
   4009   BSD) :
   4010     am__include='.include' am__quote='"' ;; #(
   4011   *) :
   4012     am__include='include' am__quote='' ;;
   4013 esac ;; #(
   4014   *) :
   4015      ;;
   4016 esac
   4017   if test "$am__include" != "#"; then
   4018     _am_result="yes ($s style)"
   4019     break
   4020   fi
   4021 done
   4022 rm -f confinc.* confmf.*
   4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4024 printf "%s\n" "${_am_result}" >&6; }
   4025 
   4026 # Check whether --enable-dependency-tracking was given.
   4027 if test ${enable_dependency_tracking+y}
   4028 then :
   4029   enableval=$enable_dependency_tracking;
   4030 fi
   4031 
   4032 if test "x$enable_dependency_tracking" != xno; then
   4033   am_depcomp="$ac_aux_dir/depcomp"
   4034   AMDEPBACKSLASH='\'
   4035   am__nodep='_no'
   4036 fi
   4037  if test "x$enable_dependency_tracking" != xno; then
   4038   AMDEP_TRUE=
   4039   AMDEP_FALSE='#'
   4040 else
   4041   AMDEP_TRUE='#'
   4042   AMDEP_FALSE=
   4043 fi
   4044 
   4045 
   4046 ac_ext=c
   4047 ac_cpp='$CPP $CPPFLAGS'
   4048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4051 if test -n "$ac_tool_prefix"; then
   4052   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4053 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4055 printf %s "checking for $ac_word... " >&6; }
   4056 if test ${ac_cv_prog_CC+y}
   4057 then :
   4058   printf %s "(cached) " >&6
   4059 else $as_nop
   4060   if test -n "$CC"; then
   4061   ac_cv_prog_CC="$CC" # Let the user override the test.
   4062 else
   4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4064 for as_dir in $PATH
   4065 do
   4066   IFS=$as_save_IFS
   4067   case $as_dir in #(((
   4068     '') as_dir=./ ;;
   4069     */) ;;
   4070     *) as_dir=$as_dir/ ;;
   4071   esac
   4072     for ac_exec_ext in '' $ac_executable_extensions; do
   4073   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4074     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4075     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4076     break 2
   4077   fi
   4078 done
   4079   done
   4080 IFS=$as_save_IFS
   4081 
   4082 fi
   4083 fi
   4084 CC=$ac_cv_prog_CC
   4085 if test -n "$CC"; then
   4086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4087 printf "%s\n" "$CC" >&6; }
   4088 else
   4089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4090 printf "%s\n" "no" >&6; }
   4091 fi
   4092 
   4093 
   4094 fi
   4095 if test -z "$ac_cv_prog_CC"; then
   4096   ac_ct_CC=$CC
   4097   # Extract the first word of "gcc", so it can be a program name with args.
   4098 set dummy gcc; ac_word=$2
   4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4100 printf %s "checking for $ac_word... " >&6; }
   4101 if test ${ac_cv_prog_ac_ct_CC+y}
   4102 then :
   4103   printf %s "(cached) " >&6
   4104 else $as_nop
   4105   if test -n "$ac_ct_CC"; then
   4106   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4107 else
   4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4109 for as_dir in $PATH
   4110 do
   4111   IFS=$as_save_IFS
   4112   case $as_dir in #(((
   4113     '') as_dir=./ ;;
   4114     */) ;;
   4115     *) as_dir=$as_dir/ ;;
   4116   esac
   4117     for ac_exec_ext in '' $ac_executable_extensions; do
   4118   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4119     ac_cv_prog_ac_ct_CC="gcc"
   4120     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4121     break 2
   4122   fi
   4123 done
   4124   done
   4125 IFS=$as_save_IFS
   4126 
   4127 fi
   4128 fi
   4129 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4130 if test -n "$ac_ct_CC"; then
   4131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4132 printf "%s\n" "$ac_ct_CC" >&6; }
   4133 else
   4134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4135 printf "%s\n" "no" >&6; }
   4136 fi
   4137 
   4138   if test "x$ac_ct_CC" = x; then
   4139     CC=""
   4140   else
   4141     case $cross_compiling:$ac_tool_warned in
   4142 yes:)
   4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4144 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4145 ac_tool_warned=yes ;;
   4146 esac
   4147     CC=$ac_ct_CC
   4148   fi
   4149 else
   4150   CC="$ac_cv_prog_CC"
   4151 fi
   4152 
   4153 if test -z "$CC"; then
   4154           if test -n "$ac_tool_prefix"; then
   4155     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4156 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4158 printf %s "checking for $ac_word... " >&6; }
   4159 if test ${ac_cv_prog_CC+y}
   4160 then :
   4161   printf %s "(cached) " >&6
   4162 else $as_nop
   4163   if test -n "$CC"; then
   4164   ac_cv_prog_CC="$CC" # Let the user override the test.
   4165 else
   4166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4167 for as_dir in $PATH
   4168 do
   4169   IFS=$as_save_IFS
   4170   case $as_dir in #(((
   4171     '') as_dir=./ ;;
   4172     */) ;;
   4173     *) as_dir=$as_dir/ ;;
   4174   esac
   4175     for ac_exec_ext in '' $ac_executable_extensions; do
   4176   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4177     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4178     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4179     break 2
   4180   fi
   4181 done
   4182   done
   4183 IFS=$as_save_IFS
   4184 
   4185 fi
   4186 fi
   4187 CC=$ac_cv_prog_CC
   4188 if test -n "$CC"; then
   4189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4190 printf "%s\n" "$CC" >&6; }
   4191 else
   4192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4193 printf "%s\n" "no" >&6; }
   4194 fi
   4195 
   4196 
   4197   fi
   4198 fi
   4199 if test -z "$CC"; then
   4200   # Extract the first word of "cc", so it can be a program name with args.
   4201 set dummy cc; ac_word=$2
   4202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4203 printf %s "checking for $ac_word... " >&6; }
   4204 if test ${ac_cv_prog_CC+y}
   4205 then :
   4206   printf %s "(cached) " >&6
   4207 else $as_nop
   4208   if test -n "$CC"; then
   4209   ac_cv_prog_CC="$CC" # Let the user override the test.
   4210 else
   4211   ac_prog_rejected=no
   4212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4213 for as_dir in $PATH
   4214 do
   4215   IFS=$as_save_IFS
   4216   case $as_dir in #(((
   4217     '') as_dir=./ ;;
   4218     */) ;;
   4219     *) as_dir=$as_dir/ ;;
   4220   esac
   4221     for ac_exec_ext in '' $ac_executable_extensions; do
   4222   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4223     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4224        ac_prog_rejected=yes
   4225        continue
   4226      fi
   4227     ac_cv_prog_CC="cc"
   4228     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4229     break 2
   4230   fi
   4231 done
   4232   done
   4233 IFS=$as_save_IFS
   4234 
   4235 if test $ac_prog_rejected = yes; then
   4236   # We found a bogon in the path, so make sure we never use it.
   4237   set dummy $ac_cv_prog_CC
   4238   shift
   4239   if test $# != 0; then
   4240     # We chose a different compiler from the bogus one.
   4241     # However, it has the same basename, so the bogon will be chosen
   4242     # first if we set CC to just the basename; use the full file name.
   4243     shift
   4244     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4245   fi
   4246 fi
   4247 fi
   4248 fi
   4249 CC=$ac_cv_prog_CC
   4250 if test -n "$CC"; then
   4251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4252 printf "%s\n" "$CC" >&6; }
   4253 else
   4254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4255 printf "%s\n" "no" >&6; }
   4256 fi
   4257 
   4258 
   4259 fi
   4260 if test -z "$CC"; then
   4261   if test -n "$ac_tool_prefix"; then
   4262   for ac_prog in cl.exe
   4263   do
   4264     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4267 printf %s "checking for $ac_word... " >&6; }
   4268 if test ${ac_cv_prog_CC+y}
   4269 then :
   4270   printf %s "(cached) " >&6
   4271 else $as_nop
   4272   if test -n "$CC"; then
   4273   ac_cv_prog_CC="$CC" # Let the user override the test.
   4274 else
   4275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4276 for as_dir in $PATH
   4277 do
   4278   IFS=$as_save_IFS
   4279   case $as_dir in #(((
   4280     '') as_dir=./ ;;
   4281     */) ;;
   4282     *) as_dir=$as_dir/ ;;
   4283   esac
   4284     for ac_exec_ext in '' $ac_executable_extensions; do
   4285   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4286     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4287     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4288     break 2
   4289   fi
   4290 done
   4291   done
   4292 IFS=$as_save_IFS
   4293 
   4294 fi
   4295 fi
   4296 CC=$ac_cv_prog_CC
   4297 if test -n "$CC"; then
   4298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4299 printf "%s\n" "$CC" >&6; }
   4300 else
   4301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4302 printf "%s\n" "no" >&6; }
   4303 fi
   4304 
   4305 
   4306     test -n "$CC" && break
   4307   done
   4308 fi
   4309 if test -z "$CC"; then
   4310   ac_ct_CC=$CC
   4311   for ac_prog in cl.exe
   4312 do
   4313   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4314 set dummy $ac_prog; ac_word=$2
   4315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4316 printf %s "checking for $ac_word... " >&6; }
   4317 if test ${ac_cv_prog_ac_ct_CC+y}
   4318 then :
   4319   printf %s "(cached) " >&6
   4320 else $as_nop
   4321   if test -n "$ac_ct_CC"; then
   4322   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4323 else
   4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4325 for as_dir in $PATH
   4326 do
   4327   IFS=$as_save_IFS
   4328   case $as_dir in #(((
   4329     '') as_dir=./ ;;
   4330     */) ;;
   4331     *) as_dir=$as_dir/ ;;
   4332   esac
   4333     for ac_exec_ext in '' $ac_executable_extensions; do
   4334   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4335     ac_cv_prog_ac_ct_CC="$ac_prog"
   4336     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4337     break 2
   4338   fi
   4339 done
   4340   done
   4341 IFS=$as_save_IFS
   4342 
   4343 fi
   4344 fi
   4345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4346 if test -n "$ac_ct_CC"; then
   4347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4348 printf "%s\n" "$ac_ct_CC" >&6; }
   4349 else
   4350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4351 printf "%s\n" "no" >&6; }
   4352 fi
   4353 
   4354 
   4355   test -n "$ac_ct_CC" && break
   4356 done
   4357 
   4358   if test "x$ac_ct_CC" = x; then
   4359     CC=""
   4360   else
   4361     case $cross_compiling:$ac_tool_warned in
   4362 yes:)
   4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4364 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4365 ac_tool_warned=yes ;;
   4366 esac
   4367     CC=$ac_ct_CC
   4368   fi
   4369 fi
   4370 
   4371 fi
   4372 if test -z "$CC"; then
   4373   if test -n "$ac_tool_prefix"; then
   4374   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4375 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4377 printf %s "checking for $ac_word... " >&6; }
   4378 if test ${ac_cv_prog_CC+y}
   4379 then :
   4380   printf %s "(cached) " >&6
   4381 else $as_nop
   4382   if test -n "$CC"; then
   4383   ac_cv_prog_CC="$CC" # Let the user override the test.
   4384 else
   4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4386 for as_dir in $PATH
   4387 do
   4388   IFS=$as_save_IFS
   4389   case $as_dir in #(((
   4390     '') as_dir=./ ;;
   4391     */) ;;
   4392     *) as_dir=$as_dir/ ;;
   4393   esac
   4394     for ac_exec_ext in '' $ac_executable_extensions; do
   4395   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4396     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4397     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4398     break 2
   4399   fi
   4400 done
   4401   done
   4402 IFS=$as_save_IFS
   4403 
   4404 fi
   4405 fi
   4406 CC=$ac_cv_prog_CC
   4407 if test -n "$CC"; then
   4408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4409 printf "%s\n" "$CC" >&6; }
   4410 else
   4411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4412 printf "%s\n" "no" >&6; }
   4413 fi
   4414 
   4415 
   4416 fi
   4417 if test -z "$ac_cv_prog_CC"; then
   4418   ac_ct_CC=$CC
   4419   # Extract the first word of "clang", so it can be a program name with args.
   4420 set dummy clang; ac_word=$2
   4421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4422 printf %s "checking for $ac_word... " >&6; }
   4423 if test ${ac_cv_prog_ac_ct_CC+y}
   4424 then :
   4425   printf %s "(cached) " >&6
   4426 else $as_nop
   4427   if test -n "$ac_ct_CC"; then
   4428   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4429 else
   4430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4431 for as_dir in $PATH
   4432 do
   4433   IFS=$as_save_IFS
   4434   case $as_dir in #(((
   4435     '') as_dir=./ ;;
   4436     */) ;;
   4437     *) as_dir=$as_dir/ ;;
   4438   esac
   4439     for ac_exec_ext in '' $ac_executable_extensions; do
   4440   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4441     ac_cv_prog_ac_ct_CC="clang"
   4442     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4443     break 2
   4444   fi
   4445 done
   4446   done
   4447 IFS=$as_save_IFS
   4448 
   4449 fi
   4450 fi
   4451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4452 if test -n "$ac_ct_CC"; then
   4453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4454 printf "%s\n" "$ac_ct_CC" >&6; }
   4455 else
   4456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4457 printf "%s\n" "no" >&6; }
   4458 fi
   4459 
   4460   if test "x$ac_ct_CC" = x; then
   4461     CC=""
   4462   else
   4463     case $cross_compiling:$ac_tool_warned in
   4464 yes:)
   4465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4466 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4467 ac_tool_warned=yes ;;
   4468 esac
   4469     CC=$ac_ct_CC
   4470   fi
   4471 else
   4472   CC="$ac_cv_prog_CC"
   4473 fi
   4474 
   4475 fi
   4476 
   4477 
   4478 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4479 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4480 as_fn_error $? "no acceptable C compiler found in \$PATH
   4481 See \`config.log' for more details" "$LINENO" 5; }
   4482 
   4483 # Provide some information about the compiler.
   4484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4485 set X $ac_compile
   4486 ac_compiler=$2
   4487 for ac_option in --version -v -V -qversion -version; do
   4488   { { ac_try="$ac_compiler $ac_option >&5"
   4489 case "(($ac_try" in
   4490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4491   *) ac_try_echo=$ac_try;;
   4492 esac
   4493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4494 printf "%s\n" "$ac_try_echo"; } >&5
   4495   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4496   ac_status=$?
   4497   if test -s conftest.err; then
   4498     sed '10a\
   4499 ... rest of stderr output deleted ...
   4500          10q' conftest.err >conftest.er1
   4501     cat conftest.er1 >&5
   4502   fi
   4503   rm -f conftest.er1 conftest.err
   4504   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4505   test $ac_status = 0; }
   4506 done
   4507 
   4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4509 /* end confdefs.h.  */
   4510 
   4511 int
   4512 main (void)
   4513 {
   4514 
   4515   ;
   4516   return 0;
   4517 }
   4518 _ACEOF
   4519 ac_clean_files_save=$ac_clean_files
   4520 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4521 # Try to create an executable without -o first, disregard a.out.
   4522 # It will help us diagnose broken compilers, and finding out an intuition
   4523 # of exeext.
   4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4525 printf %s "checking whether the C compiler works... " >&6; }
   4526 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4527 
   4528 # The possible output files:
   4529 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4530 
   4531 ac_rmfiles=
   4532 for ac_file in $ac_files
   4533 do
   4534   case $ac_file in
   4535     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4536     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4537   esac
   4538 done
   4539 rm -f $ac_rmfiles
   4540 
   4541 if { { ac_try="$ac_link_default"
   4542 case "(($ac_try" in
   4543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4544   *) ac_try_echo=$ac_try;;
   4545 esac
   4546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4547 printf "%s\n" "$ac_try_echo"; } >&5
   4548   (eval "$ac_link_default") 2>&5
   4549   ac_status=$?
   4550   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4551   test $ac_status = 0; }
   4552 then :
   4553   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4554 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4555 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4556 # so that the user can short-circuit this test for compilers unknown to
   4557 # Autoconf.
   4558 for ac_file in $ac_files ''
   4559 do
   4560   test -f "$ac_file" || continue
   4561   case $ac_file in
   4562     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4563 	;;
   4564     [ab].out )
   4565 	# We found the default executable, but exeext='' is most
   4566 	# certainly right.
   4567 	break;;
   4568     *.* )
   4569 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4570 	then :; else
   4571 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4572 	fi
   4573 	# We set ac_cv_exeext here because the later test for it is not
   4574 	# safe: cross compilers may not add the suffix if given an `-o'
   4575 	# argument, so we may need to know it at that point already.
   4576 	# Even if this section looks crufty: it has the advantage of
   4577 	# actually working.
   4578 	break;;
   4579     * )
   4580 	break;;
   4581   esac
   4582 done
   4583 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4584 
   4585 else $as_nop
   4586   ac_file=''
   4587 fi
   4588 if test -z "$ac_file"
   4589 then :
   4590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4591 printf "%s\n" "no" >&6; }
   4592 printf "%s\n" "$as_me: failed program was:" >&5
   4593 sed 's/^/| /' conftest.$ac_ext >&5
   4594 
   4595 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4596 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4597 as_fn_error 77 "C compiler cannot create executables
   4598 See \`config.log' for more details" "$LINENO" 5; }
   4599 else $as_nop
   4600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4601 printf "%s\n" "yes" >&6; }
   4602 fi
   4603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4604 printf %s "checking for C compiler default output file name... " >&6; }
   4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4606 printf "%s\n" "$ac_file" >&6; }
   4607 ac_exeext=$ac_cv_exeext
   4608 
   4609 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4610 ac_clean_files=$ac_clean_files_save
   4611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4612 printf %s "checking for suffix of executables... " >&6; }
   4613 if { { ac_try="$ac_link"
   4614 case "(($ac_try" in
   4615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4616   *) ac_try_echo=$ac_try;;
   4617 esac
   4618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4619 printf "%s\n" "$ac_try_echo"; } >&5
   4620   (eval "$ac_link") 2>&5
   4621   ac_status=$?
   4622   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4623   test $ac_status = 0; }
   4624 then :
   4625   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4626 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4627 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4628 # `rm'.
   4629 for ac_file in conftest.exe conftest conftest.*; do
   4630   test -f "$ac_file" || continue
   4631   case $ac_file in
   4632     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4633     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4634 	  break;;
   4635     * ) break;;
   4636   esac
   4637 done
   4638 else $as_nop
   4639   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4640 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4641 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4642 See \`config.log' for more details" "$LINENO" 5; }
   4643 fi
   4644 rm -f conftest conftest$ac_cv_exeext
   4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4646 printf "%s\n" "$ac_cv_exeext" >&6; }
   4647 
   4648 rm -f conftest.$ac_ext
   4649 EXEEXT=$ac_cv_exeext
   4650 ac_exeext=$EXEEXT
   4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4652 /* end confdefs.h.  */
   4653 #include <stdio.h>
   4654 int
   4655 main (void)
   4656 {
   4657 FILE *f = fopen ("conftest.out", "w");
   4658  return ferror (f) || fclose (f) != 0;
   4659 
   4660   ;
   4661   return 0;
   4662 }
   4663 _ACEOF
   4664 ac_clean_files="$ac_clean_files conftest.out"
   4665 # Check that the compiler produces executables we can run.  If not, either
   4666 # the compiler is broken, or we cross compile.
   4667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4668 printf %s "checking whether we are cross compiling... " >&6; }
   4669 if test "$cross_compiling" != yes; then
   4670   { { ac_try="$ac_link"
   4671 case "(($ac_try" in
   4672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4673   *) ac_try_echo=$ac_try;;
   4674 esac
   4675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4676 printf "%s\n" "$ac_try_echo"; } >&5
   4677   (eval "$ac_link") 2>&5
   4678   ac_status=$?
   4679   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4680   test $ac_status = 0; }
   4681   if { ac_try='./conftest$ac_cv_exeext'
   4682   { { case "(($ac_try" in
   4683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4684   *) ac_try_echo=$ac_try;;
   4685 esac
   4686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4687 printf "%s\n" "$ac_try_echo"; } >&5
   4688   (eval "$ac_try") 2>&5
   4689   ac_status=$?
   4690   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4691   test $ac_status = 0; }; }; then
   4692     cross_compiling=no
   4693   else
   4694     if test "$cross_compiling" = maybe; then
   4695 	cross_compiling=yes
   4696     else
   4697 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4698 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4699 as_fn_error 77 "cannot run C compiled programs.
   4700 If you meant to cross compile, use \`--host'.
   4701 See \`config.log' for more details" "$LINENO" 5; }
   4702     fi
   4703   fi
   4704 fi
   4705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4706 printf "%s\n" "$cross_compiling" >&6; }
   4707 
   4708 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4709 ac_clean_files=$ac_clean_files_save
   4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4711 printf %s "checking for suffix of object files... " >&6; }
   4712 if test ${ac_cv_objext+y}
   4713 then :
   4714   printf %s "(cached) " >&6
   4715 else $as_nop
   4716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4717 /* end confdefs.h.  */
   4718 
   4719 int
   4720 main (void)
   4721 {
   4722 
   4723   ;
   4724   return 0;
   4725 }
   4726 _ACEOF
   4727 rm -f conftest.o conftest.obj
   4728 if { { ac_try="$ac_compile"
   4729 case "(($ac_try" in
   4730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4731   *) ac_try_echo=$ac_try;;
   4732 esac
   4733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4734 printf "%s\n" "$ac_try_echo"; } >&5
   4735   (eval "$ac_compile") 2>&5
   4736   ac_status=$?
   4737   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4738   test $ac_status = 0; }
   4739 then :
   4740   for ac_file in conftest.o conftest.obj conftest.*; do
   4741   test -f "$ac_file" || continue;
   4742   case $ac_file in
   4743     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4744     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4745        break;;
   4746   esac
   4747 done
   4748 else $as_nop
   4749   printf "%s\n" "$as_me: failed program was:" >&5
   4750 sed 's/^/| /' conftest.$ac_ext >&5
   4751 
   4752 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4753 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4754 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4755 See \`config.log' for more details" "$LINENO" 5; }
   4756 fi
   4757 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4758 fi
   4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4760 printf "%s\n" "$ac_cv_objext" >&6; }
   4761 OBJEXT=$ac_cv_objext
   4762 ac_objext=$OBJEXT
   4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4764 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4765 if test ${ac_cv_c_compiler_gnu+y}
   4766 then :
   4767   printf %s "(cached) " >&6
   4768 else $as_nop
   4769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4770 /* end confdefs.h.  */
   4771 
   4772 int
   4773 main (void)
   4774 {
   4775 #ifndef __GNUC__
   4776        choke me
   4777 #endif
   4778 
   4779   ;
   4780   return 0;
   4781 }
   4782 _ACEOF
   4783 if ac_fn_c_try_compile "$LINENO"
   4784 then :
   4785   ac_compiler_gnu=yes
   4786 else $as_nop
   4787   ac_compiler_gnu=no
   4788 fi
   4789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4790 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4791 
   4792 fi
   4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4794 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4796 
   4797 if test $ac_compiler_gnu = yes; then
   4798   GCC=yes
   4799 else
   4800   GCC=
   4801 fi
   4802 ac_test_CFLAGS=${CFLAGS+y}
   4803 ac_save_CFLAGS=$CFLAGS
   4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4805 printf %s "checking whether $CC accepts -g... " >&6; }
   4806 if test ${ac_cv_prog_cc_g+y}
   4807 then :
   4808   printf %s "(cached) " >&6
   4809 else $as_nop
   4810   ac_save_c_werror_flag=$ac_c_werror_flag
   4811    ac_c_werror_flag=yes
   4812    ac_cv_prog_cc_g=no
   4813    CFLAGS="-g"
   4814    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4815 /* end confdefs.h.  */
   4816 
   4817 int
   4818 main (void)
   4819 {
   4820 
   4821   ;
   4822   return 0;
   4823 }
   4824 _ACEOF
   4825 if ac_fn_c_try_compile "$LINENO"
   4826 then :
   4827   ac_cv_prog_cc_g=yes
   4828 else $as_nop
   4829   CFLAGS=""
   4830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4831 /* end confdefs.h.  */
   4832 
   4833 int
   4834 main (void)
   4835 {
   4836 
   4837   ;
   4838   return 0;
   4839 }
   4840 _ACEOF
   4841 if ac_fn_c_try_compile "$LINENO"
   4842 then :
   4843 
   4844 else $as_nop
   4845   ac_c_werror_flag=$ac_save_c_werror_flag
   4846 	 CFLAGS="-g"
   4847 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4848 /* end confdefs.h.  */
   4849 
   4850 int
   4851 main (void)
   4852 {
   4853 
   4854   ;
   4855   return 0;
   4856 }
   4857 _ACEOF
   4858 if ac_fn_c_try_compile "$LINENO"
   4859 then :
   4860   ac_cv_prog_cc_g=yes
   4861 fi
   4862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4863 fi
   4864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4865 fi
   4866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4867    ac_c_werror_flag=$ac_save_c_werror_flag
   4868 fi
   4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4870 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4871 if test $ac_test_CFLAGS; then
   4872   CFLAGS=$ac_save_CFLAGS
   4873 elif test $ac_cv_prog_cc_g = yes; then
   4874   if test "$GCC" = yes; then
   4875     CFLAGS="-g -O2"
   4876   else
   4877     CFLAGS="-g"
   4878   fi
   4879 else
   4880   if test "$GCC" = yes; then
   4881     CFLAGS="-O2"
   4882   else
   4883     CFLAGS=
   4884   fi
   4885 fi
   4886 ac_prog_cc_stdc=no
   4887 if test x$ac_prog_cc_stdc = xno
   4888 then :
   4889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4890 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4891 if test ${ac_cv_prog_cc_c11+y}
   4892 then :
   4893   printf %s "(cached) " >&6
   4894 else $as_nop
   4895   ac_cv_prog_cc_c11=no
   4896 ac_save_CC=$CC
   4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4898 /* end confdefs.h.  */
   4899 $ac_c_conftest_c11_program
   4900 _ACEOF
   4901 for ac_arg in '' -std=gnu11
   4902 do
   4903   CC="$ac_save_CC $ac_arg"
   4904   if ac_fn_c_try_compile "$LINENO"
   4905 then :
   4906   ac_cv_prog_cc_c11=$ac_arg
   4907 fi
   4908 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4909   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4910 done
   4911 rm -f conftest.$ac_ext
   4912 CC=$ac_save_CC
   4913 fi
   4914 
   4915 if test "x$ac_cv_prog_cc_c11" = xno
   4916 then :
   4917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4918 printf "%s\n" "unsupported" >&6; }
   4919 else $as_nop
   4920   if test "x$ac_cv_prog_cc_c11" = x
   4921 then :
   4922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4923 printf "%s\n" "none needed" >&6; }
   4924 else $as_nop
   4925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4926 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4927      CC="$CC $ac_cv_prog_cc_c11"
   4928 fi
   4929   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4930   ac_prog_cc_stdc=c11
   4931 fi
   4932 fi
   4933 if test x$ac_prog_cc_stdc = xno
   4934 then :
   4935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4936 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4937 if test ${ac_cv_prog_cc_c99+y}
   4938 then :
   4939   printf %s "(cached) " >&6
   4940 else $as_nop
   4941   ac_cv_prog_cc_c99=no
   4942 ac_save_CC=$CC
   4943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4944 /* end confdefs.h.  */
   4945 $ac_c_conftest_c99_program
   4946 _ACEOF
   4947 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4948 do
   4949   CC="$ac_save_CC $ac_arg"
   4950   if ac_fn_c_try_compile "$LINENO"
   4951 then :
   4952   ac_cv_prog_cc_c99=$ac_arg
   4953 fi
   4954 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4955   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4956 done
   4957 rm -f conftest.$ac_ext
   4958 CC=$ac_save_CC
   4959 fi
   4960 
   4961 if test "x$ac_cv_prog_cc_c99" = xno
   4962 then :
   4963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4964 printf "%s\n" "unsupported" >&6; }
   4965 else $as_nop
   4966   if test "x$ac_cv_prog_cc_c99" = x
   4967 then :
   4968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4969 printf "%s\n" "none needed" >&6; }
   4970 else $as_nop
   4971   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4972 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4973      CC="$CC $ac_cv_prog_cc_c99"
   4974 fi
   4975   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4976   ac_prog_cc_stdc=c99
   4977 fi
   4978 fi
   4979 if test x$ac_prog_cc_stdc = xno
   4980 then :
   4981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4982 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4983 if test ${ac_cv_prog_cc_c89+y}
   4984 then :
   4985   printf %s "(cached) " >&6
   4986 else $as_nop
   4987   ac_cv_prog_cc_c89=no
   4988 ac_save_CC=$CC
   4989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4990 /* end confdefs.h.  */
   4991 $ac_c_conftest_c89_program
   4992 _ACEOF
   4993 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4994 do
   4995   CC="$ac_save_CC $ac_arg"
   4996   if ac_fn_c_try_compile "$LINENO"
   4997 then :
   4998   ac_cv_prog_cc_c89=$ac_arg
   4999 fi
   5000 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5001   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5002 done
   5003 rm -f conftest.$ac_ext
   5004 CC=$ac_save_CC
   5005 fi
   5006 
   5007 if test "x$ac_cv_prog_cc_c89" = xno
   5008 then :
   5009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5010 printf "%s\n" "unsupported" >&6; }
   5011 else $as_nop
   5012   if test "x$ac_cv_prog_cc_c89" = x
   5013 then :
   5014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5015 printf "%s\n" "none needed" >&6; }
   5016 else $as_nop
   5017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5018 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   5019      CC="$CC $ac_cv_prog_cc_c89"
   5020 fi
   5021   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   5022   ac_prog_cc_stdc=c89
   5023 fi
   5024 fi
   5025 
   5026 ac_ext=c
   5027 ac_cpp='$CPP $CPPFLAGS'
   5028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5031 
   5032 
   5033   ac_ext=c
   5034 ac_cpp='$CPP $CPPFLAGS'
   5035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5039 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   5040 if test ${am_cv_prog_cc_c_o+y}
   5041 then :
   5042   printf %s "(cached) " >&6
   5043 else $as_nop
   5044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5045 /* end confdefs.h.  */
   5046 
   5047 int
   5048 main (void)
   5049 {
   5050 
   5051   ;
   5052   return 0;
   5053 }
   5054 _ACEOF
   5055   # Make sure it works both with $CC and with simple cc.
   5056   # Following AC_PROG_CC_C_O, we do the test twice because some
   5057   # compilers refuse to overwrite an existing .o file with -o,
   5058   # though they will create one.
   5059   am_cv_prog_cc_c_o=yes
   5060   for am_i in 1 2; do
   5061     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5062    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5063    ac_status=$?
   5064    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5065    (exit $ac_status); } \
   5066          && test -f conftest2.$ac_objext; then
   5067       : OK
   5068     else
   5069       am_cv_prog_cc_c_o=no
   5070       break
   5071     fi
   5072   done
   5073   rm -f core conftest*
   5074   unset am_i
   5075 fi
   5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5077 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   5078 if test "$am_cv_prog_cc_c_o" != yes; then
   5079    # Losing compiler, so override with the script.
   5080    # FIXME: It is wrong to rewrite CC.
   5081    # But if we don't then we get into trouble of one sort or another.
   5082    # A longer-term fix would be to have automake use am__CC in this case,
   5083    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5084    CC="$am_aux_dir/compile $CC"
   5085 fi
   5086 ac_ext=c
   5087 ac_cpp='$CPP $CPPFLAGS'
   5088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5091 
   5092 
   5093 depcc="$CC"   am_compiler_list=
   5094 
   5095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5096 printf %s "checking dependency style of $depcc... " >&6; }
   5097 if test ${am_cv_CC_dependencies_compiler_type+y}
   5098 then :
   5099   printf %s "(cached) " >&6
   5100 else $as_nop
   5101   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5102   # We make a subdir and do the tests there.  Otherwise we can end up
   5103   # making bogus files that we don't know about and never remove.  For
   5104   # instance it was reported that on HP-UX the gcc test will end up
   5105   # making a dummy file named 'D' -- because '-MD' means "put the output
   5106   # in D".
   5107   rm -rf conftest.dir
   5108   mkdir conftest.dir
   5109   # Copy depcomp to subdir because otherwise we won't find it if we're
   5110   # using a relative directory.
   5111   cp "$am_depcomp" conftest.dir
   5112   cd conftest.dir
   5113   # We will build objects and dependencies in a subdirectory because
   5114   # it helps to detect inapplicable dependency modes.  For instance
   5115   # both Tru64's cc and ICC support -MD to output dependencies as a
   5116   # side effect of compilation, but ICC will put the dependencies in
   5117   # the current directory while Tru64 will put them in the object
   5118   # directory.
   5119   mkdir sub
   5120 
   5121   am_cv_CC_dependencies_compiler_type=none
   5122   if test "$am_compiler_list" = ""; then
   5123      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5124   fi
   5125   am__universal=false
   5126   case " $depcc " in #(
   5127      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5128      esac
   5129 
   5130   for depmode in $am_compiler_list; do
   5131     # Setup a source with many dependencies, because some compilers
   5132     # like to wrap large dependency lists on column 80 (with \), and
   5133     # we should not choose a depcomp mode which is confused by this.
   5134     #
   5135     # We need to recreate these files for each test, as the compiler may
   5136     # overwrite some of them when testing with obscure command lines.
   5137     # This happens at least with the AIX C compiler.
   5138     : > sub/conftest.c
   5139     for i in 1 2 3 4 5 6; do
   5140       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5141       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5142       # Solaris 10 /bin/sh.
   5143       echo '/* dummy */' > sub/conftst$i.h
   5144     done
   5145     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5146 
   5147     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5148     # mode.  It turns out that the SunPro C++ compiler does not properly
   5149     # handle '-M -o', and we need to detect this.  Also, some Intel
   5150     # versions had trouble with output in subdirs.
   5151     am__obj=sub/conftest.${OBJEXT-o}
   5152     am__minus_obj="-o $am__obj"
   5153     case $depmode in
   5154     gcc)
   5155       # This depmode causes a compiler race in universal mode.
   5156       test "$am__universal" = false || continue
   5157       ;;
   5158     nosideeffect)
   5159       # After this tag, mechanisms are not by side-effect, so they'll
   5160       # only be used when explicitly requested.
   5161       if test "x$enable_dependency_tracking" = xyes; then
   5162 	continue
   5163       else
   5164 	break
   5165       fi
   5166       ;;
   5167     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5168       # This compiler won't grok '-c -o', but also, the minuso test has
   5169       # not run yet.  These depmodes are late enough in the game, and
   5170       # so weak that their functioning should not be impacted.
   5171       am__obj=conftest.${OBJEXT-o}
   5172       am__minus_obj=
   5173       ;;
   5174     none) break ;;
   5175     esac
   5176     if depmode=$depmode \
   5177        source=sub/conftest.c object=$am__obj \
   5178        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5179        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5180          >/dev/null 2>conftest.err &&
   5181        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5182        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5183        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5184        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5185       # icc doesn't choke on unknown options, it will just issue warnings
   5186       # or remarks (even with -Werror).  So we grep stderr for any message
   5187       # that says an option was ignored or not supported.
   5188       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5189       #   icc: Command line warning: ignoring option '-M'; no argument required
   5190       # The diagnosis changed in icc 8.0:
   5191       #   icc: Command line remark: option '-MP' not supported
   5192       if (grep 'ignoring option' conftest.err ||
   5193           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5194         am_cv_CC_dependencies_compiler_type=$depmode
   5195         break
   5196       fi
   5197     fi
   5198   done
   5199 
   5200   cd ..
   5201   rm -rf conftest.dir
   5202 else
   5203   am_cv_CC_dependencies_compiler_type=none
   5204 fi
   5205 
   5206 fi
   5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5208 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5209 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5210 
   5211  if
   5212   test "x$enable_dependency_tracking" != xno \
   5213   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5214   am__fastdepCC_TRUE=
   5215   am__fastdepCC_FALSE='#'
   5216 else
   5217   am__fastdepCC_TRUE='#'
   5218   am__fastdepCC_FALSE=
   5219 fi
   5220 
   5221 
   5222 
   5223 
   5224   if test -n "$ac_tool_prefix"; then
   5225   for ac_prog in ar lib "link -lib"
   5226   do
   5227     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5230 printf %s "checking for $ac_word... " >&6; }
   5231 if test ${ac_cv_prog_AR+y}
   5232 then :
   5233   printf %s "(cached) " >&6
   5234 else $as_nop
   5235   if test -n "$AR"; then
   5236   ac_cv_prog_AR="$AR" # Let the user override the test.
   5237 else
   5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5239 for as_dir in $PATH
   5240 do
   5241   IFS=$as_save_IFS
   5242   case $as_dir in #(((
   5243     '') as_dir=./ ;;
   5244     */) ;;
   5245     *) as_dir=$as_dir/ ;;
   5246   esac
   5247     for ac_exec_ext in '' $ac_executable_extensions; do
   5248   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5249     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5250     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5251     break 2
   5252   fi
   5253 done
   5254   done
   5255 IFS=$as_save_IFS
   5256 
   5257 fi
   5258 fi
   5259 AR=$ac_cv_prog_AR
   5260 if test -n "$AR"; then
   5261   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5262 printf "%s\n" "$AR" >&6; }
   5263 else
   5264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5265 printf "%s\n" "no" >&6; }
   5266 fi
   5267 
   5268 
   5269     test -n "$AR" && break
   5270   done
   5271 fi
   5272 if test -z "$AR"; then
   5273   ac_ct_AR=$AR
   5274   for ac_prog in ar lib "link -lib"
   5275 do
   5276   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5277 set dummy $ac_prog; ac_word=$2
   5278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5279 printf %s "checking for $ac_word... " >&6; }
   5280 if test ${ac_cv_prog_ac_ct_AR+y}
   5281 then :
   5282   printf %s "(cached) " >&6
   5283 else $as_nop
   5284   if test -n "$ac_ct_AR"; then
   5285   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5286 else
   5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5288 for as_dir in $PATH
   5289 do
   5290   IFS=$as_save_IFS
   5291   case $as_dir in #(((
   5292     '') as_dir=./ ;;
   5293     */) ;;
   5294     *) as_dir=$as_dir/ ;;
   5295   esac
   5296     for ac_exec_ext in '' $ac_executable_extensions; do
   5297   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5298     ac_cv_prog_ac_ct_AR="$ac_prog"
   5299     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5300     break 2
   5301   fi
   5302 done
   5303   done
   5304 IFS=$as_save_IFS
   5305 
   5306 fi
   5307 fi
   5308 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5309 if test -n "$ac_ct_AR"; then
   5310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5311 printf "%s\n" "$ac_ct_AR" >&6; }
   5312 else
   5313   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5314 printf "%s\n" "no" >&6; }
   5315 fi
   5316 
   5317 
   5318   test -n "$ac_ct_AR" && break
   5319 done
   5320 
   5321   if test "x$ac_ct_AR" = x; then
   5322     AR="false"
   5323   else
   5324     case $cross_compiling:$ac_tool_warned in
   5325 yes:)
   5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5327 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5328 ac_tool_warned=yes ;;
   5329 esac
   5330     AR=$ac_ct_AR
   5331   fi
   5332 fi
   5333 
   5334 : ${AR=ar}
   5335 
   5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   5337 printf %s "checking the archiver ($AR) interface... " >&6; }
   5338 if test ${am_cv_ar_interface+y}
   5339 then :
   5340   printf %s "(cached) " >&6
   5341 else $as_nop
   5342   ac_ext=c
   5343 ac_cpp='$CPP $CPPFLAGS'
   5344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5347 
   5348    am_cv_ar_interface=ar
   5349    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5350 /* end confdefs.h.  */
   5351 int some_variable = 0;
   5352 _ACEOF
   5353 if ac_fn_c_try_compile "$LINENO"
   5354 then :
   5355   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   5356       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5357   (eval $am_ar_try) 2>&5
   5358   ac_status=$?
   5359   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5360   test $ac_status = 0; }
   5361       if test "$ac_status" -eq 0; then
   5362         am_cv_ar_interface=ar
   5363       else
   5364         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   5365         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5366   (eval $am_ar_try) 2>&5
   5367   ac_status=$?
   5368   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5369   test $ac_status = 0; }
   5370         if test "$ac_status" -eq 0; then
   5371           am_cv_ar_interface=lib
   5372         else
   5373           am_cv_ar_interface=unknown
   5374         fi
   5375       fi
   5376       rm -f conftest.lib libconftest.a
   5377 
   5378 fi
   5379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5380    ac_ext=c
   5381 ac_cpp='$CPP $CPPFLAGS'
   5382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5385 
   5386 fi
   5387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   5388 printf "%s\n" "$am_cv_ar_interface" >&6; }
   5389 
   5390 case $am_cv_ar_interface in
   5391 ar)
   5392   ;;
   5393 lib)
   5394   # Microsoft lib, so override with the ar-lib wrapper script.
   5395   # FIXME: It is wrong to rewrite AR.
   5396   # But if we don't then we get into trouble of one sort or another.
   5397   # A longer-term fix would be to have automake use am__AR in this case,
   5398   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   5399   # similar.
   5400   AR="$am_aux_dir/ar-lib $AR"
   5401   ;;
   5402 unknown)
   5403   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   5404   ;;
   5405 esac
   5406 
   5407 
   5408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5409 printf %s "checking whether ln -s works... " >&6; }
   5410 LN_S=$as_ln_s
   5411 if test "$LN_S" = "ln -s"; then
   5412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5413 printf "%s\n" "yes" >&6; }
   5414 else
   5415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5416 printf "%s\n" "no, using $LN_S" >&6; }
   5417 fi
   5418 
   5419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   5420 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   5421 set x ${MAKE-make}
   5422 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   5423 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   5424 then :
   5425   printf %s "(cached) " >&6
   5426 else $as_nop
   5427   cat >conftest.make <<\_ACEOF
   5428 SHELL = /bin/sh
   5429 all:
   5430 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   5431 _ACEOF
   5432 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   5433 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5434   *@@@%%%=?*=@@@%%%*)
   5435     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5436   *)
   5437     eval ac_cv_prog_make_${ac_make}_set=no;;
   5438 esac
   5439 rm -f conftest.make
   5440 fi
   5441 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5443 printf "%s\n" "yes" >&6; }
   5444   SET_MAKE=
   5445 else
   5446   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5447 printf "%s\n" "no" >&6; }
   5448   SET_MAKE="MAKE=${MAKE-make}"
   5449 fi
   5450 
   5451 
   5452 
   5453 case `pwd` in
   5454   *\ * | *\	*)
   5455     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5456 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5457 esac
   5458 
   5459 
   5460 
   5461 macro_version='2.5.4'
   5462 macro_revision='2.5.4'
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 ltmain=$ac_aux_dir/ltmain.sh
   5478 
   5479 # Backslashify metacharacters that are still active within
   5480 # double-quoted strings.
   5481 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5482 
   5483 # Same as above, but do not quote variable references.
   5484 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5485 
   5486 # Sed substitution to delay expansion of an escaped shell variable in a
   5487 # double_quote_subst'ed string.
   5488 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5489 
   5490 # Sed substitution to delay expansion of an escaped single quote.
   5491 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5492 
   5493 # Sed substitution to avoid accidental globbing in evaled expressions
   5494 no_glob_subst='s/\*/\\\*/g'
   5495 
   5496 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5497 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5498 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5499 
   5500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5501 printf %s "checking how to print strings... " >&6; }
   5502 # Test print first, because it will be a builtin if present.
   5503 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5504    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5505   ECHO='print -r --'
   5506 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5507   ECHO='printf %s\n'
   5508 else
   5509   # Use this function as a fallback that always works.
   5510   func_fallback_echo ()
   5511   {
   5512     eval 'cat <<_LTECHO_EOF
   5513 $1
   5514 _LTECHO_EOF'
   5515   }
   5516   ECHO='func_fallback_echo'
   5517 fi
   5518 
   5519 # func_echo_all arg...
   5520 # Invoke $ECHO with all args, space-separated.
   5521 func_echo_all ()
   5522 {
   5523     $ECHO ""
   5524 }
   5525 
   5526 case $ECHO in
   5527   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5528 printf "%s\n" "printf" >&6; } ;;
   5529   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5530 printf "%s\n" "print -r" >&6; } ;;
   5531   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5532 printf "%s\n" "cat" >&6; } ;;
   5533 esac
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5549 printf %s "checking for a sed that does not truncate output... " >&6; }
   5550 if test ${ac_cv_path_SED+y}
   5551 then :
   5552   printf %s "(cached) " >&6
   5553 else $as_nop
   5554             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5555      for ac_i in 1 2 3 4 5 6 7; do
   5556        ac_script="$ac_script$as_nl$ac_script"
   5557      done
   5558      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5559      { ac_script=; unset ac_script;}
   5560      if test -z "$SED"; then
   5561   ac_path_SED_found=false
   5562   # Loop through the user's path and test for each of PROGNAME-LIST
   5563   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5564 for as_dir in $PATH
   5565 do
   5566   IFS=$as_save_IFS
   5567   case $as_dir in #(((
   5568     '') as_dir=./ ;;
   5569     */) ;;
   5570     *) as_dir=$as_dir/ ;;
   5571   esac
   5572     for ac_prog in sed gsed
   5573    do
   5574     for ac_exec_ext in '' $ac_executable_extensions; do
   5575       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5576       as_fn_executable_p "$ac_path_SED" || continue
   5577 # Check for GNU ac_path_SED and select it if it is found.
   5578   # Check for GNU $ac_path_SED
   5579 case `"$ac_path_SED" --version 2>&1` in
   5580 *GNU*)
   5581   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5582 *)
   5583   ac_count=0
   5584   printf %s 0123456789 >"conftest.in"
   5585   while :
   5586   do
   5587     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5588     mv "conftest.tmp" "conftest.in"
   5589     cp "conftest.in" "conftest.nl"
   5590     printf "%s\n" '' >> "conftest.nl"
   5591     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5592     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5593     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5594     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5595       # Best one so far, save it but keep looking for a better one
   5596       ac_cv_path_SED="$ac_path_SED"
   5597       ac_path_SED_max=$ac_count
   5598     fi
   5599     # 10*(2^10) chars as input seems more than enough
   5600     test $ac_count -gt 10 && break
   5601   done
   5602   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5603 esac
   5604 
   5605       $ac_path_SED_found && break 3
   5606     done
   5607   done
   5608   done
   5609 IFS=$as_save_IFS
   5610   if test -z "$ac_cv_path_SED"; then
   5611     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5612   fi
   5613 else
   5614   ac_cv_path_SED=$SED
   5615 fi
   5616 
   5617 fi
   5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5619 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5620  SED="$ac_cv_path_SED"
   5621   rm -f conftest.sed
   5622 
   5623 test -z "$SED" && SED=sed
   5624 Xsed="$SED -e 1s/^X//"
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5637 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5638 if test ${ac_cv_path_GREP+y}
   5639 then :
   5640   printf %s "(cached) " >&6
   5641 else $as_nop
   5642   if test -z "$GREP"; then
   5643   ac_path_GREP_found=false
   5644   # Loop through the user's path and test for each of PROGNAME-LIST
   5645   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5646 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5647 do
   5648   IFS=$as_save_IFS
   5649   case $as_dir in #(((
   5650     '') as_dir=./ ;;
   5651     */) ;;
   5652     *) as_dir=$as_dir/ ;;
   5653   esac
   5654     for ac_prog in grep ggrep
   5655    do
   5656     for ac_exec_ext in '' $ac_executable_extensions; do
   5657       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5658       as_fn_executable_p "$ac_path_GREP" || continue
   5659 # Check for GNU ac_path_GREP and select it if it is found.
   5660   # Check for GNU $ac_path_GREP
   5661 case `"$ac_path_GREP" --version 2>&1` in
   5662 *GNU*)
   5663   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5664 *)
   5665   ac_count=0
   5666   printf %s 0123456789 >"conftest.in"
   5667   while :
   5668   do
   5669     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5670     mv "conftest.tmp" "conftest.in"
   5671     cp "conftest.in" "conftest.nl"
   5672     printf "%s\n" 'GREP' >> "conftest.nl"
   5673     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5674     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5675     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5676     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5677       # Best one so far, save it but keep looking for a better one
   5678       ac_cv_path_GREP="$ac_path_GREP"
   5679       ac_path_GREP_max=$ac_count
   5680     fi
   5681     # 10*(2^10) chars as input seems more than enough
   5682     test $ac_count -gt 10 && break
   5683   done
   5684   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5685 esac
   5686 
   5687       $ac_path_GREP_found && break 3
   5688     done
   5689   done
   5690   done
   5691 IFS=$as_save_IFS
   5692   if test -z "$ac_cv_path_GREP"; then
   5693     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5694   fi
   5695 else
   5696   ac_cv_path_GREP=$GREP
   5697 fi
   5698 
   5699 fi
   5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5701 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5702  GREP="$ac_cv_path_GREP"
   5703 
   5704 
   5705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5706 printf %s "checking for egrep... " >&6; }
   5707 if test ${ac_cv_path_EGREP+y}
   5708 then :
   5709   printf %s "(cached) " >&6
   5710 else $as_nop
   5711   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5712    then ac_cv_path_EGREP="$GREP -E"
   5713    else
   5714      if test -z "$EGREP"; then
   5715   ac_path_EGREP_found=false
   5716   # Loop through the user's path and test for each of PROGNAME-LIST
   5717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5718 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5719 do
   5720   IFS=$as_save_IFS
   5721   case $as_dir in #(((
   5722     '') as_dir=./ ;;
   5723     */) ;;
   5724     *) as_dir=$as_dir/ ;;
   5725   esac
   5726     for ac_prog in egrep
   5727    do
   5728     for ac_exec_ext in '' $ac_executable_extensions; do
   5729       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5730       as_fn_executable_p "$ac_path_EGREP" || continue
   5731 # Check for GNU ac_path_EGREP and select it if it is found.
   5732   # Check for GNU $ac_path_EGREP
   5733 case `"$ac_path_EGREP" --version 2>&1` in
   5734 *GNU*)
   5735   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5736 *)
   5737   ac_count=0
   5738   printf %s 0123456789 >"conftest.in"
   5739   while :
   5740   do
   5741     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5742     mv "conftest.tmp" "conftest.in"
   5743     cp "conftest.in" "conftest.nl"
   5744     printf "%s\n" 'EGREP' >> "conftest.nl"
   5745     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5746     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5747     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5748     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5749       # Best one so far, save it but keep looking for a better one
   5750       ac_cv_path_EGREP="$ac_path_EGREP"
   5751       ac_path_EGREP_max=$ac_count
   5752     fi
   5753     # 10*(2^10) chars as input seems more than enough
   5754     test $ac_count -gt 10 && break
   5755   done
   5756   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5757 esac
   5758 
   5759       $ac_path_EGREP_found && break 3
   5760     done
   5761   done
   5762   done
   5763 IFS=$as_save_IFS
   5764   if test -z "$ac_cv_path_EGREP"; then
   5765     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5766   fi
   5767 else
   5768   ac_cv_path_EGREP=$EGREP
   5769 fi
   5770 
   5771    fi
   5772 fi
   5773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5774 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5775  EGREP="$ac_cv_path_EGREP"
   5776 
   5777 
   5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5779 printf %s "checking for fgrep... " >&6; }
   5780 if test ${ac_cv_path_FGREP+y}
   5781 then :
   5782   printf %s "(cached) " >&6
   5783 else $as_nop
   5784   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5785    then ac_cv_path_FGREP="$GREP -F"
   5786    else
   5787      if test -z "$FGREP"; then
   5788   ac_path_FGREP_found=false
   5789   # Loop through the user's path and test for each of PROGNAME-LIST
   5790   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5791 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5792 do
   5793   IFS=$as_save_IFS
   5794   case $as_dir in #(((
   5795     '') as_dir=./ ;;
   5796     */) ;;
   5797     *) as_dir=$as_dir/ ;;
   5798   esac
   5799     for ac_prog in fgrep
   5800    do
   5801     for ac_exec_ext in '' $ac_executable_extensions; do
   5802       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5803       as_fn_executable_p "$ac_path_FGREP" || continue
   5804 # Check for GNU ac_path_FGREP and select it if it is found.
   5805   # Check for GNU $ac_path_FGREP
   5806 case `"$ac_path_FGREP" --version 2>&1` in
   5807 *GNU*)
   5808   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5809 *)
   5810   ac_count=0
   5811   printf %s 0123456789 >"conftest.in"
   5812   while :
   5813   do
   5814     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5815     mv "conftest.tmp" "conftest.in"
   5816     cp "conftest.in" "conftest.nl"
   5817     printf "%s\n" 'FGREP' >> "conftest.nl"
   5818     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5819     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5820     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5821     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5822       # Best one so far, save it but keep looking for a better one
   5823       ac_cv_path_FGREP="$ac_path_FGREP"
   5824       ac_path_FGREP_max=$ac_count
   5825     fi
   5826     # 10*(2^10) chars as input seems more than enough
   5827     test $ac_count -gt 10 && break
   5828   done
   5829   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5830 esac
   5831 
   5832       $ac_path_FGREP_found && break 3
   5833     done
   5834   done
   5835   done
   5836 IFS=$as_save_IFS
   5837   if test -z "$ac_cv_path_FGREP"; then
   5838     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5839   fi
   5840 else
   5841   ac_cv_path_FGREP=$FGREP
   5842 fi
   5843 
   5844    fi
   5845 fi
   5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5847 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5848  FGREP="$ac_cv_path_FGREP"
   5849 
   5850 
   5851 test -z "$GREP" && GREP=grep
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 # Check whether --with-gnu-ld was given.
   5872 if test ${with_gnu_ld+y}
   5873 then :
   5874   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5875 else $as_nop
   5876   with_gnu_ld=no
   5877 fi
   5878 
   5879 ac_prog=ld
   5880 if test yes = "$GCC"; then
   5881   # Check if gcc -print-prog-name=ld gives a path.
   5882   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5883 printf %s "checking for ld used by $CC... " >&6; }
   5884   case $host in
   5885   *-*-mingw* | *-*-windows*)
   5886     # gcc leaves a trailing carriage return, which upsets mingw
   5887     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5888   *)
   5889     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5890   esac
   5891   case $ac_prog in
   5892     # Accept absolute paths.
   5893     [\\/]* | ?:[\\/]*)
   5894       re_direlt='/[^/][^/]*/\.\./'
   5895       # Canonicalize the pathname of ld
   5896       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5897       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5898 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5899       done
   5900       test -z "$LD" && LD=$ac_prog
   5901       ;;
   5902   "")
   5903     # If it fails, then pretend we aren't using GCC.
   5904     ac_prog=ld
   5905     ;;
   5906   *)
   5907     # If it is relative, then search for the first ld in PATH.
   5908     with_gnu_ld=unknown
   5909     ;;
   5910   esac
   5911 elif test yes = "$with_gnu_ld"; then
   5912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5913 printf %s "checking for GNU ld... " >&6; }
   5914 else
   5915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5916 printf %s "checking for non-GNU ld... " >&6; }
   5917 fi
   5918 if test ${lt_cv_path_LD+y}
   5919 then :
   5920   printf %s "(cached) " >&6
   5921 else $as_nop
   5922   if test -z "$LD"; then
   5923   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5924   for ac_dir in $PATH; do
   5925     IFS=$lt_save_ifs
   5926     test -z "$ac_dir" && ac_dir=.
   5927     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5928       lt_cv_path_LD=$ac_dir/$ac_prog
   5929       # Check to see if the program is GNU ld.  I'd rather use --version,
   5930       # but apparently some variants of GNU ld only accept -v.
   5931       # Break only if it was the GNU/non-GNU ld that we prefer.
   5932       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5933       *GNU* | *'with BFD'*)
   5934 	test no != "$with_gnu_ld" && break
   5935 	;;
   5936       *)
   5937 	test yes != "$with_gnu_ld" && break
   5938 	;;
   5939       esac
   5940     fi
   5941   done
   5942   IFS=$lt_save_ifs
   5943 else
   5944   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5945 fi
   5946 fi
   5947 
   5948 LD=$lt_cv_path_LD
   5949 if test -n "$LD"; then
   5950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5951 printf "%s\n" "$LD" >&6; }
   5952 else
   5953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5954 printf "%s\n" "no" >&6; }
   5955 fi
   5956 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5958 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5959 if test ${lt_cv_prog_gnu_ld+y}
   5960 then :
   5961   printf %s "(cached) " >&6
   5962 else $as_nop
   5963   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5964 case `$LD -v 2>&1 </dev/null` in
   5965 *GNU* | *'with BFD'*)
   5966   lt_cv_prog_gnu_ld=yes
   5967   ;;
   5968 *)
   5969   lt_cv_prog_gnu_ld=no
   5970   ;;
   5971 esac
   5972 fi
   5973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5974 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5975 with_gnu_ld=$lt_cv_prog_gnu_ld
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5986 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5987 if test ${lt_cv_path_NM+y}
   5988 then :
   5989   printf %s "(cached) " >&6
   5990 else $as_nop
   5991   if test -n "$NM"; then
   5992   # Let the user override the test.
   5993   lt_cv_path_NM=$NM
   5994 else
   5995   lt_nm_to_check=${ac_tool_prefix}nm
   5996   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5997     lt_nm_to_check="$lt_nm_to_check nm"
   5998   fi
   5999   for lt_tmp_nm in $lt_nm_to_check; do
   6000     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6001     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6002       IFS=$lt_save_ifs
   6003       test -z "$ac_dir" && ac_dir=.
   6004       tmp_nm=$ac_dir/$lt_tmp_nm
   6005       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6006 	# Check to see if the nm accepts a BSD-compat flag.
   6007 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6008 	#   nm: unknown option "B" ignored
   6009 	# Tru64's nm complains that /dev/null is an invalid object file
   6010 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6011 	case $build_os in
   6012 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   6013 	*) lt_bad_file=/dev/null ;;
   6014 	esac
   6015 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   6016 	*$lt_bad_file* | *'Invalid file or object type'*)
   6017 	  lt_cv_path_NM="$tmp_nm -B"
   6018 	  break 2
   6019 	  ;;
   6020 	*)
   6021 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   6022 	  */dev/null*)
   6023 	    lt_cv_path_NM="$tmp_nm -p"
   6024 	    break 2
   6025 	    ;;
   6026 	  *)
   6027 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6028 	    continue # so that we can try to find one that supports BSD flags
   6029 	    ;;
   6030 	  esac
   6031 	  ;;
   6032 	esac
   6033       fi
   6034     done
   6035     IFS=$lt_save_ifs
   6036   done
   6037   : ${lt_cv_path_NM=no}
   6038 fi
   6039 fi
   6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6041 printf "%s\n" "$lt_cv_path_NM" >&6; }
   6042 if test no != "$lt_cv_path_NM"; then
   6043   NM=$lt_cv_path_NM
   6044 else
   6045   # Didn't find any BSD compatible name lister, look for dumpbin.
   6046   if test -n "$DUMPBIN"; then :
   6047     # Let the user override the test.
   6048   else
   6049     if test -n "$ac_tool_prefix"; then
   6050   for ac_prog in dumpbin "link -dump"
   6051   do
   6052     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6053 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6055 printf %s "checking for $ac_word... " >&6; }
   6056 if test ${ac_cv_prog_DUMPBIN+y}
   6057 then :
   6058   printf %s "(cached) " >&6
   6059 else $as_nop
   6060   if test -n "$DUMPBIN"; then
   6061   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6062 else
   6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6064 for as_dir in $PATH
   6065 do
   6066   IFS=$as_save_IFS
   6067   case $as_dir in #(((
   6068     '') as_dir=./ ;;
   6069     */) ;;
   6070     *) as_dir=$as_dir/ ;;
   6071   esac
   6072     for ac_exec_ext in '' $ac_executable_extensions; do
   6073   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6074     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6075     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6076     break 2
   6077   fi
   6078 done
   6079   done
   6080 IFS=$as_save_IFS
   6081 
   6082 fi
   6083 fi
   6084 DUMPBIN=$ac_cv_prog_DUMPBIN
   6085 if test -n "$DUMPBIN"; then
   6086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6087 printf "%s\n" "$DUMPBIN" >&6; }
   6088 else
   6089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6090 printf "%s\n" "no" >&6; }
   6091 fi
   6092 
   6093 
   6094     test -n "$DUMPBIN" && break
   6095   done
   6096 fi
   6097 if test -z "$DUMPBIN"; then
   6098   ac_ct_DUMPBIN=$DUMPBIN
   6099   for ac_prog in dumpbin "link -dump"
   6100 do
   6101   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6102 set dummy $ac_prog; ac_word=$2
   6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6104 printf %s "checking for $ac_word... " >&6; }
   6105 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6106 then :
   6107   printf %s "(cached) " >&6
   6108 else $as_nop
   6109   if test -n "$ac_ct_DUMPBIN"; then
   6110   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6111 else
   6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6113 for as_dir in $PATH
   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_exec_ext in '' $ac_executable_extensions; do
   6122   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6123     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6124     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6125     break 2
   6126   fi
   6127 done
   6128   done
   6129 IFS=$as_save_IFS
   6130 
   6131 fi
   6132 fi
   6133 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6134 if test -n "$ac_ct_DUMPBIN"; then
   6135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6136 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6137 else
   6138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6139 printf "%s\n" "no" >&6; }
   6140 fi
   6141 
   6142 
   6143   test -n "$ac_ct_DUMPBIN" && break
   6144 done
   6145 
   6146   if test "x$ac_ct_DUMPBIN" = x; then
   6147     DUMPBIN=":"
   6148   else
   6149     case $cross_compiling:$ac_tool_warned in
   6150 yes:)
   6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6152 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6153 ac_tool_warned=yes ;;
   6154 esac
   6155     DUMPBIN=$ac_ct_DUMPBIN
   6156   fi
   6157 fi
   6158 
   6159     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   6160     *COFF*)
   6161       DUMPBIN="$DUMPBIN -symbols -headers"
   6162       ;;
   6163     *)
   6164       DUMPBIN=:
   6165       ;;
   6166     esac
   6167   fi
   6168 
   6169   if test : != "$DUMPBIN"; then
   6170     NM=$DUMPBIN
   6171   fi
   6172 fi
   6173 test -z "$NM" && NM=nm
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6181 printf %s "checking the name lister ($NM) interface... " >&6; }
   6182 if test ${lt_cv_nm_interface+y}
   6183 then :
   6184   printf %s "(cached) " >&6
   6185 else $as_nop
   6186   lt_cv_nm_interface="BSD nm"
   6187   echo "int some_variable = 0;" > conftest.$ac_ext
   6188   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6189   (eval "$ac_compile" 2>conftest.err)
   6190   cat conftest.err >&5
   6191   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6192   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6193   cat conftest.err >&5
   6194   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6195   cat conftest.out >&5
   6196   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6197     lt_cv_nm_interface="MS dumpbin"
   6198   fi
   6199   rm -f conftest*
   6200 fi
   6201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6202 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6203 
   6204 # find the maximum length of command line arguments
   6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6206 printf %s "checking the maximum length of command line arguments... " >&6; }
   6207 if test ${lt_cv_sys_max_cmd_len+y}
   6208 then :
   6209   printf %s "(cached) " >&6
   6210 else $as_nop
   6211     i=0
   6212   teststring=ABCD
   6213 
   6214   case $build_os in
   6215   msdosdjgpp*)
   6216     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6217     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6218     # during glob expansion).  Even if it were fixed, the result of this
   6219     # check would be larger than it should be.
   6220     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6221     ;;
   6222 
   6223   gnu* | ironclad*)
   6224     # Under GNU Hurd and Ironclad, this test is not required because there
   6225     # is no limit to the length of command line arguments.
   6226     # Libtool will interpret -1 as no limit whatsoever
   6227     lt_cv_sys_max_cmd_len=-1;
   6228     ;;
   6229 
   6230   cygwin* | mingw* | windows* | cegcc*)
   6231     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6232     # about 5 minutes as the teststring grows exponentially.
   6233     # Worse, since 9x/ME are not pre-emptively multitasking,
   6234     # you end up with a "frozen" computer, even though with patience
   6235     # the test eventually succeeds (with a max line length of 256k).
   6236     # Instead, let's just punt: use the minimum linelength reported by
   6237     # all of the supported platforms: 8192 (on NT/2K/XP).
   6238     lt_cv_sys_max_cmd_len=8192;
   6239     ;;
   6240 
   6241   mint*)
   6242     # On MiNT this can take a long time and run out of memory.
   6243     lt_cv_sys_max_cmd_len=8192;
   6244     ;;
   6245 
   6246   amigaos*)
   6247     # On AmigaOS with pdksh, this test takes hours, literally.
   6248     # So we just punt and use a minimum line length of 8192.
   6249     lt_cv_sys_max_cmd_len=8192;
   6250     ;;
   6251 
   6252   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6253     # This has been around since 386BSD, at least.  Likely further.
   6254     if test -x /sbin/sysctl; then
   6255       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6256     elif test -x /usr/sbin/sysctl; then
   6257       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6258     else
   6259       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6260     fi
   6261     # And add a safety zone
   6262     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6263     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6264     ;;
   6265 
   6266   interix*)
   6267     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6268     lt_cv_sys_max_cmd_len=196608
   6269     ;;
   6270 
   6271   os2*)
   6272     # The test takes a long time on OS/2.
   6273     lt_cv_sys_max_cmd_len=8192
   6274     ;;
   6275 
   6276   osf*)
   6277     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6278     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6279     # nice to cause kernel panics so lets avoid the loop below.
   6280     # First set a reasonable default.
   6281     lt_cv_sys_max_cmd_len=16384
   6282     #
   6283     if test -x /sbin/sysconfig; then
   6284       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6285         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6286       esac
   6287     fi
   6288     ;;
   6289   sco3.2v5*)
   6290     lt_cv_sys_max_cmd_len=102400
   6291     ;;
   6292   sysv5* | sco5v6* | sysv4.2uw2*)
   6293     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6294     if test -n "$kargmax"; then
   6295       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6296     else
   6297       lt_cv_sys_max_cmd_len=32768
   6298     fi
   6299     ;;
   6300   *)
   6301     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6302     if test -n "$lt_cv_sys_max_cmd_len" && \
   6303        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6304       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6305       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6306     else
   6307       # Make teststring a little bigger before we do anything with it.
   6308       # a 1K string should be a reasonable start.
   6309       for i in 1 2 3 4 5 6 7 8; do
   6310         teststring=$teststring$teststring
   6311       done
   6312       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6313       # If test is not a shell built-in, we'll probably end up computing a
   6314       # maximum length that is only half of the actual maximum length, but
   6315       # we can't tell.
   6316       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6317 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6318 	      test 17 != "$i" # 1/2 MB should be enough
   6319       do
   6320         i=`expr $i + 1`
   6321         teststring=$teststring$teststring
   6322       done
   6323       # Only check the string length outside the loop.
   6324       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6325       teststring=
   6326       # Add a significant safety factor because C++ compilers can tack on
   6327       # massive amounts of additional arguments before passing them to the
   6328       # linker.  It appears as though 1/2 is a usable value.
   6329       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6330     fi
   6331     ;;
   6332   esac
   6333 
   6334 fi
   6335 
   6336 if test -n "$lt_cv_sys_max_cmd_len"; then
   6337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6338 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6339 else
   6340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6341 printf "%s\n" "none" >&6; }
   6342 fi
   6343 max_cmd_len=$lt_cv_sys_max_cmd_len
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 : ${CP="cp -f"}
   6351 : ${MV="mv -f"}
   6352 : ${RM="rm -f"}
   6353 
   6354 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6355   lt_unset=unset
   6356 else
   6357   lt_unset=false
   6358 fi
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 # test EBCDIC or ASCII
   6365 case `echo X|tr X '\101'` in
   6366  A) # ASCII based system
   6367     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6368   lt_SP2NL='tr \040 \012'
   6369   lt_NL2SP='tr \015\012 \040\040'
   6370   ;;
   6371  *) # EBCDIC based system
   6372   lt_SP2NL='tr \100 \n'
   6373   lt_NL2SP='tr \r\n \100\100'
   6374   ;;
   6375 esac
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6386 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6387 if test ${lt_cv_to_host_file_cmd+y}
   6388 then :
   6389   printf %s "(cached) " >&6
   6390 else $as_nop
   6391   case $host in
   6392   *-*-mingw* )
   6393     case $build in
   6394       *-*-mingw* | *-*-windows* ) # actually msys
   6395         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6396         ;;
   6397       *-*-cygwin* )
   6398         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6399         ;;
   6400       * ) # otherwise, assume *nix
   6401         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6402         ;;
   6403     esac
   6404     ;;
   6405   *-*-cygwin* )
   6406     case $build in
   6407       *-*-mingw* | *-*-windows* ) # actually msys
   6408         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6409         ;;
   6410       *-*-cygwin* )
   6411         lt_cv_to_host_file_cmd=func_convert_file_noop
   6412         ;;
   6413       * ) # otherwise, assume *nix
   6414         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6415         ;;
   6416     esac
   6417     ;;
   6418   * ) # unhandled hosts (and "normal" native builds)
   6419     lt_cv_to_host_file_cmd=func_convert_file_noop
   6420     ;;
   6421 esac
   6422 
   6423 fi
   6424 
   6425 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6427 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6434 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6435 if test ${lt_cv_to_tool_file_cmd+y}
   6436 then :
   6437   printf %s "(cached) " >&6
   6438 else $as_nop
   6439   #assume ordinary cross tools, or native build.
   6440 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6441 case $host in
   6442   *-*-mingw* | *-*-windows* )
   6443     case $build in
   6444       *-*-mingw* | *-*-windows* ) # actually msys
   6445         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6446         ;;
   6447     esac
   6448     ;;
   6449 esac
   6450 
   6451 fi
   6452 
   6453 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6455 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6462 printf %s "checking for $LD option to reload object files... " >&6; }
   6463 if test ${lt_cv_ld_reload_flag+y}
   6464 then :
   6465   printf %s "(cached) " >&6
   6466 else $as_nop
   6467   lt_cv_ld_reload_flag='-r'
   6468 fi
   6469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6470 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6471 reload_flag=$lt_cv_ld_reload_flag
   6472 case $reload_flag in
   6473 "" | " "*) ;;
   6474 *) reload_flag=" $reload_flag" ;;
   6475 esac
   6476 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6477 case $host_os in
   6478   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6479     if test yes != "$GCC"; then
   6480       reload_cmds=false
   6481     fi
   6482     ;;
   6483   darwin*)
   6484     if test yes = "$GCC"; then
   6485       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6486     else
   6487       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6488     fi
   6489     ;;
   6490 esac
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 # Extract the first word of "file", so it can be a program name with args.
   6501 set dummy file; ac_word=$2
   6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6503 printf %s "checking for $ac_word... " >&6; }
   6504 if test ${ac_cv_prog_FILECMD+y}
   6505 then :
   6506   printf %s "(cached) " >&6
   6507 else $as_nop
   6508   if test -n "$FILECMD"; then
   6509   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6510 else
   6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6512 for as_dir in $PATH
   6513 do
   6514   IFS=$as_save_IFS
   6515   case $as_dir in #(((
   6516     '') as_dir=./ ;;
   6517     */) ;;
   6518     *) as_dir=$as_dir/ ;;
   6519   esac
   6520     for ac_exec_ext in '' $ac_executable_extensions; do
   6521   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6522     ac_cv_prog_FILECMD="file"
   6523     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6524     break 2
   6525   fi
   6526 done
   6527   done
   6528 IFS=$as_save_IFS
   6529 
   6530   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6531 fi
   6532 fi
   6533 FILECMD=$ac_cv_prog_FILECMD
   6534 if test -n "$FILECMD"; then
   6535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6536 printf "%s\n" "$FILECMD" >&6; }
   6537 else
   6538   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6539 printf "%s\n" "no" >&6; }
   6540 fi
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 if test -n "$ac_tool_prefix"; then
   6550   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6551 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6553 printf %s "checking for $ac_word... " >&6; }
   6554 if test ${ac_cv_prog_OBJDUMP+y}
   6555 then :
   6556   printf %s "(cached) " >&6
   6557 else $as_nop
   6558   if test -n "$OBJDUMP"; then
   6559   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6560 else
   6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6562 for as_dir in $PATH
   6563 do
   6564   IFS=$as_save_IFS
   6565   case $as_dir in #(((
   6566     '') as_dir=./ ;;
   6567     */) ;;
   6568     *) as_dir=$as_dir/ ;;
   6569   esac
   6570     for ac_exec_ext in '' $ac_executable_extensions; do
   6571   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6572     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6573     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6574     break 2
   6575   fi
   6576 done
   6577   done
   6578 IFS=$as_save_IFS
   6579 
   6580 fi
   6581 fi
   6582 OBJDUMP=$ac_cv_prog_OBJDUMP
   6583 if test -n "$OBJDUMP"; then
   6584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6585 printf "%s\n" "$OBJDUMP" >&6; }
   6586 else
   6587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6588 printf "%s\n" "no" >&6; }
   6589 fi
   6590 
   6591 
   6592 fi
   6593 if test -z "$ac_cv_prog_OBJDUMP"; then
   6594   ac_ct_OBJDUMP=$OBJDUMP
   6595   # Extract the first word of "objdump", so it can be a program name with args.
   6596 set dummy objdump; ac_word=$2
   6597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6598 printf %s "checking for $ac_word... " >&6; }
   6599 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6600 then :
   6601   printf %s "(cached) " >&6
   6602 else $as_nop
   6603   if test -n "$ac_ct_OBJDUMP"; then
   6604   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6605 else
   6606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6607 for as_dir in $PATH
   6608 do
   6609   IFS=$as_save_IFS
   6610   case $as_dir in #(((
   6611     '') as_dir=./ ;;
   6612     */) ;;
   6613     *) as_dir=$as_dir/ ;;
   6614   esac
   6615     for ac_exec_ext in '' $ac_executable_extensions; do
   6616   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6617     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6618     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6619     break 2
   6620   fi
   6621 done
   6622   done
   6623 IFS=$as_save_IFS
   6624 
   6625 fi
   6626 fi
   6627 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6628 if test -n "$ac_ct_OBJDUMP"; then
   6629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6630 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6631 else
   6632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6633 printf "%s\n" "no" >&6; }
   6634 fi
   6635 
   6636   if test "x$ac_ct_OBJDUMP" = x; then
   6637     OBJDUMP="false"
   6638   else
   6639     case $cross_compiling:$ac_tool_warned in
   6640 yes:)
   6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6642 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6643 ac_tool_warned=yes ;;
   6644 esac
   6645     OBJDUMP=$ac_ct_OBJDUMP
   6646   fi
   6647 else
   6648   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6649 fi
   6650 
   6651 test -z "$OBJDUMP" && OBJDUMP=objdump
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6659 printf %s "checking how to recognize dependent libraries... " >&6; }
   6660 if test ${lt_cv_deplibs_check_method+y}
   6661 then :
   6662   printf %s "(cached) " >&6
   6663 else $as_nop
   6664   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6665 lt_cv_file_magic_test_file=
   6666 lt_cv_deplibs_check_method='unknown'
   6667 # Need to set the preceding variable on all platforms that support
   6668 # interlibrary dependencies.
   6669 # 'none' -- dependencies not supported.
   6670 # 'unknown' -- same as none, but documents that we really don't know.
   6671 # 'pass_all' -- all dependencies passed with no checks.
   6672 # 'file_magic [[regex]]' -- check by looking for files in library path
   6673 # that responds to the $file_magic_cmd with a given extended regex.
   6674 # If you have 'file' or equivalent on your system and you're not sure
   6675 # whether 'pass_all' will *always* work, you probably want this one.
   6676 
   6677 case $host_os in
   6678 aix[4-9]*)
   6679   lt_cv_deplibs_check_method=pass_all
   6680   ;;
   6681 
   6682 beos*)
   6683   lt_cv_deplibs_check_method=pass_all
   6684   ;;
   6685 
   6686 bsdi[45]*)
   6687   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6688   lt_cv_file_magic_cmd='$FILECMD -L'
   6689   lt_cv_file_magic_test_file=/shlib/libc.so
   6690   ;;
   6691 
   6692 cygwin*)
   6693   # func_win32_libid is a shell function defined in ltmain.sh
   6694   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6695   lt_cv_file_magic_cmd='func_win32_libid'
   6696   ;;
   6697 
   6698 mingw* | windows* | pw32*)
   6699   # Base MSYS/MinGW do not provide the 'file' command needed by
   6700   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6701   # unless we find 'file', for example because we are cross-compiling.
   6702   if ( file / ) >/dev/null 2>&1; then
   6703     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6704     lt_cv_file_magic_cmd='func_win32_libid'
   6705   else
   6706     # Keep this pattern in sync with the one in func_win32_libid.
   6707     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6708     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6709   fi
   6710   ;;
   6711 
   6712 cegcc*)
   6713   # use the weaker test based on 'objdump'. See mingw*.
   6714   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6715   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6716   ;;
   6717 
   6718 darwin* | rhapsody*)
   6719   lt_cv_deplibs_check_method=pass_all
   6720   ;;
   6721 
   6722 freebsd* | dragonfly* | midnightbsd*)
   6723   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6724     case $host_cpu in
   6725     i*86 )
   6726       # Not sure whether the presence of OpenBSD here was a mistake.
   6727       # Let's accept both of them until this is cleared up.
   6728       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6729       lt_cv_file_magic_cmd=$FILECMD
   6730       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6731       ;;
   6732     esac
   6733   else
   6734     lt_cv_deplibs_check_method=pass_all
   6735   fi
   6736   ;;
   6737 
   6738 haiku*)
   6739   lt_cv_deplibs_check_method=pass_all
   6740   ;;
   6741 
   6742 hpux10.20* | hpux11*)
   6743   lt_cv_file_magic_cmd=$FILECMD
   6744   case $host_cpu in
   6745   ia64*)
   6746     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6747     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6748     ;;
   6749   hppa*64*)
   6750     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]'
   6751     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6752     ;;
   6753   *)
   6754     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6755     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6756     ;;
   6757   esac
   6758   ;;
   6759 
   6760 interix[3-9]*)
   6761   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6762   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6763   ;;
   6764 
   6765 irix5* | irix6* | nonstopux*)
   6766   case $LD in
   6767   *-32|*"-32 ") libmagic=32-bit;;
   6768   *-n32|*"-n32 ") libmagic=N32;;
   6769   *-64|*"-64 ") libmagic=64-bit;;
   6770   *) libmagic=never-match;;
   6771   esac
   6772   lt_cv_deplibs_check_method=pass_all
   6773   ;;
   6774 
   6775 # This must be glibc/ELF.
   6776 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6777   lt_cv_deplibs_check_method=pass_all
   6778   ;;
   6779 
   6780 *-mlibc)
   6781   lt_cv_deplibs_check_method=pass_all
   6782   ;;
   6783 
   6784 netbsd* | netbsdelf*-gnu)
   6785   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6786     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6787   else
   6788     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6789   fi
   6790   ;;
   6791 
   6792 newos6*)
   6793   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6794   lt_cv_file_magic_cmd=$FILECMD
   6795   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6796   ;;
   6797 
   6798 *nto* | *qnx*)
   6799   lt_cv_deplibs_check_method=pass_all
   6800   ;;
   6801 
   6802 openbsd*)
   6803   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6804     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6805   else
   6806     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6807   fi
   6808   ;;
   6809 
   6810 osf3* | osf4* | osf5*)
   6811   lt_cv_deplibs_check_method=pass_all
   6812   ;;
   6813 
   6814 rdos*)
   6815   lt_cv_deplibs_check_method=pass_all
   6816   ;;
   6817 
   6818 serenity*)
   6819   lt_cv_deplibs_check_method=pass_all
   6820   ;;
   6821 
   6822 solaris*)
   6823   lt_cv_deplibs_check_method=pass_all
   6824   ;;
   6825 
   6826 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6827   lt_cv_deplibs_check_method=pass_all
   6828   ;;
   6829 
   6830 sysv4 | sysv4.3*)
   6831   case $host_vendor in
   6832   motorola)
   6833     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]'
   6834     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6835     ;;
   6836   ncr)
   6837     lt_cv_deplibs_check_method=pass_all
   6838     ;;
   6839   sequent)
   6840     lt_cv_file_magic_cmd='/bin/file'
   6841     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6842     ;;
   6843   sni)
   6844     lt_cv_file_magic_cmd='/bin/file'
   6845     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6846     lt_cv_file_magic_test_file=/lib/libc.so
   6847     ;;
   6848   siemens)
   6849     lt_cv_deplibs_check_method=pass_all
   6850     ;;
   6851   pc)
   6852     lt_cv_deplibs_check_method=pass_all
   6853     ;;
   6854   esac
   6855   ;;
   6856 
   6857 tpf*)
   6858   lt_cv_deplibs_check_method=pass_all
   6859   ;;
   6860 os2*)
   6861   lt_cv_deplibs_check_method=pass_all
   6862   ;;
   6863 esac
   6864 
   6865 fi
   6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6867 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6868 
   6869 file_magic_glob=
   6870 want_nocaseglob=no
   6871 if test "$build" = "$host"; then
   6872   case $host_os in
   6873   mingw* | windows* | pw32*)
   6874     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6875       want_nocaseglob=yes
   6876     else
   6877       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6878     fi
   6879     ;;
   6880   esac
   6881 fi
   6882 
   6883 file_magic_cmd=$lt_cv_file_magic_cmd
   6884 deplibs_check_method=$lt_cv_deplibs_check_method
   6885 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 if test -n "$ac_tool_prefix"; then
   6909   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6910 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6912 printf %s "checking for $ac_word... " >&6; }
   6913 if test ${ac_cv_prog_DLLTOOL+y}
   6914 then :
   6915   printf %s "(cached) " >&6
   6916 else $as_nop
   6917   if test -n "$DLLTOOL"; then
   6918   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6919 else
   6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6921 for as_dir in $PATH
   6922 do
   6923   IFS=$as_save_IFS
   6924   case $as_dir in #(((
   6925     '') as_dir=./ ;;
   6926     */) ;;
   6927     *) as_dir=$as_dir/ ;;
   6928   esac
   6929     for ac_exec_ext in '' $ac_executable_extensions; do
   6930   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6931     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6932     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6933     break 2
   6934   fi
   6935 done
   6936   done
   6937 IFS=$as_save_IFS
   6938 
   6939 fi
   6940 fi
   6941 DLLTOOL=$ac_cv_prog_DLLTOOL
   6942 if test -n "$DLLTOOL"; then
   6943   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6944 printf "%s\n" "$DLLTOOL" >&6; }
   6945 else
   6946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6947 printf "%s\n" "no" >&6; }
   6948 fi
   6949 
   6950 
   6951 fi
   6952 if test -z "$ac_cv_prog_DLLTOOL"; then
   6953   ac_ct_DLLTOOL=$DLLTOOL
   6954   # Extract the first word of "dlltool", so it can be a program name with args.
   6955 set dummy dlltool; ac_word=$2
   6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6957 printf %s "checking for $ac_word... " >&6; }
   6958 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6959 then :
   6960   printf %s "(cached) " >&6
   6961 else $as_nop
   6962   if test -n "$ac_ct_DLLTOOL"; then
   6963   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6964 else
   6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6966 for as_dir in $PATH
   6967 do
   6968   IFS=$as_save_IFS
   6969   case $as_dir in #(((
   6970     '') as_dir=./ ;;
   6971     */) ;;
   6972     *) as_dir=$as_dir/ ;;
   6973   esac
   6974     for ac_exec_ext in '' $ac_executable_extensions; do
   6975   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6976     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6977     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6978     break 2
   6979   fi
   6980 done
   6981   done
   6982 IFS=$as_save_IFS
   6983 
   6984 fi
   6985 fi
   6986 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6987 if test -n "$ac_ct_DLLTOOL"; then
   6988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6989 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6990 else
   6991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6992 printf "%s\n" "no" >&6; }
   6993 fi
   6994 
   6995   if test "x$ac_ct_DLLTOOL" = x; then
   6996     DLLTOOL="false"
   6997   else
   6998     case $cross_compiling:$ac_tool_warned in
   6999 yes:)
   7000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7001 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7002 ac_tool_warned=yes ;;
   7003 esac
   7004     DLLTOOL=$ac_ct_DLLTOOL
   7005   fi
   7006 else
   7007   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7008 fi
   7009 
   7010 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7019 printf %s "checking how to associate runtime and link libraries... " >&6; }
   7020 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   7021 then :
   7022   printf %s "(cached) " >&6
   7023 else $as_nop
   7024   lt_cv_sharedlib_from_linklib_cmd='unknown'
   7025 
   7026 case $host_os in
   7027 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7028   # two different shell functions defined in ltmain.sh;
   7029   # decide which one to use based on capabilities of $DLLTOOL
   7030   case `$DLLTOOL --help 2>&1` in
   7031   *--identify-strict*)
   7032     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7033     ;;
   7034   *)
   7035     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7036     ;;
   7037   esac
   7038   ;;
   7039 *)
   7040   # fallback: assume linklib IS sharedlib
   7041   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7042   ;;
   7043 esac
   7044 
   7045 fi
   7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7047 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7048 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7049 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 if test -n "$ac_tool_prefix"; then
   7058   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7059 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7061 printf %s "checking for $ac_word... " >&6; }
   7062 if test ${ac_cv_prog_RANLIB+y}
   7063 then :
   7064   printf %s "(cached) " >&6
   7065 else $as_nop
   7066   if test -n "$RANLIB"; then
   7067   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7068 else
   7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7070 for as_dir in $PATH
   7071 do
   7072   IFS=$as_save_IFS
   7073   case $as_dir in #(((
   7074     '') as_dir=./ ;;
   7075     */) ;;
   7076     *) as_dir=$as_dir/ ;;
   7077   esac
   7078     for ac_exec_ext in '' $ac_executable_extensions; do
   7079   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7080     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7081     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7082     break 2
   7083   fi
   7084 done
   7085   done
   7086 IFS=$as_save_IFS
   7087 
   7088 fi
   7089 fi
   7090 RANLIB=$ac_cv_prog_RANLIB
   7091 if test -n "$RANLIB"; then
   7092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7093 printf "%s\n" "$RANLIB" >&6; }
   7094 else
   7095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7096 printf "%s\n" "no" >&6; }
   7097 fi
   7098 
   7099 
   7100 fi
   7101 if test -z "$ac_cv_prog_RANLIB"; then
   7102   ac_ct_RANLIB=$RANLIB
   7103   # Extract the first word of "ranlib", so it can be a program name with args.
   7104 set dummy ranlib; ac_word=$2
   7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7106 printf %s "checking for $ac_word... " >&6; }
   7107 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7108 then :
   7109   printf %s "(cached) " >&6
   7110 else $as_nop
   7111   if test -n "$ac_ct_RANLIB"; then
   7112   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7113 else
   7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7115 for as_dir in $PATH
   7116 do
   7117   IFS=$as_save_IFS
   7118   case $as_dir in #(((
   7119     '') as_dir=./ ;;
   7120     */) ;;
   7121     *) as_dir=$as_dir/ ;;
   7122   esac
   7123     for ac_exec_ext in '' $ac_executable_extensions; do
   7124   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7125     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7126     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7127     break 2
   7128   fi
   7129 done
   7130   done
   7131 IFS=$as_save_IFS
   7132 
   7133 fi
   7134 fi
   7135 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7136 if test -n "$ac_ct_RANLIB"; then
   7137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7138 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7139 else
   7140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7141 printf "%s\n" "no" >&6; }
   7142 fi
   7143 
   7144   if test "x$ac_ct_RANLIB" = x; then
   7145     RANLIB=":"
   7146   else
   7147     case $cross_compiling:$ac_tool_warned in
   7148 yes:)
   7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7150 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7151 ac_tool_warned=yes ;;
   7152 esac
   7153     RANLIB=$ac_ct_RANLIB
   7154   fi
   7155 else
   7156   RANLIB="$ac_cv_prog_RANLIB"
   7157 fi
   7158 
   7159 if test -n "$ac_tool_prefix"; then
   7160   for ac_prog in ar
   7161   do
   7162     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7163 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7165 printf %s "checking for $ac_word... " >&6; }
   7166 if test ${ac_cv_prog_AR+y}
   7167 then :
   7168   printf %s "(cached) " >&6
   7169 else $as_nop
   7170   if test -n "$AR"; then
   7171   ac_cv_prog_AR="$AR" # Let the user override the test.
   7172 else
   7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7174 for as_dir in $PATH
   7175 do
   7176   IFS=$as_save_IFS
   7177   case $as_dir in #(((
   7178     '') as_dir=./ ;;
   7179     */) ;;
   7180     *) as_dir=$as_dir/ ;;
   7181   esac
   7182     for ac_exec_ext in '' $ac_executable_extensions; do
   7183   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7184     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7185     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7186     break 2
   7187   fi
   7188 done
   7189   done
   7190 IFS=$as_save_IFS
   7191 
   7192 fi
   7193 fi
   7194 AR=$ac_cv_prog_AR
   7195 if test -n "$AR"; then
   7196   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7197 printf "%s\n" "$AR" >&6; }
   7198 else
   7199   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7200 printf "%s\n" "no" >&6; }
   7201 fi
   7202 
   7203 
   7204     test -n "$AR" && break
   7205   done
   7206 fi
   7207 if test -z "$AR"; then
   7208   ac_ct_AR=$AR
   7209   for ac_prog in ar
   7210 do
   7211   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7212 set dummy $ac_prog; ac_word=$2
   7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7214 printf %s "checking for $ac_word... " >&6; }
   7215 if test ${ac_cv_prog_ac_ct_AR+y}
   7216 then :
   7217   printf %s "(cached) " >&6
   7218 else $as_nop
   7219   if test -n "$ac_ct_AR"; then
   7220   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7221 else
   7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7223 for as_dir in $PATH
   7224 do
   7225   IFS=$as_save_IFS
   7226   case $as_dir in #(((
   7227     '') as_dir=./ ;;
   7228     */) ;;
   7229     *) as_dir=$as_dir/ ;;
   7230   esac
   7231     for ac_exec_ext in '' $ac_executable_extensions; do
   7232   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7233     ac_cv_prog_ac_ct_AR="$ac_prog"
   7234     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7235     break 2
   7236   fi
   7237 done
   7238   done
   7239 IFS=$as_save_IFS
   7240 
   7241 fi
   7242 fi
   7243 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7244 if test -n "$ac_ct_AR"; then
   7245   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7246 printf "%s\n" "$ac_ct_AR" >&6; }
   7247 else
   7248   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7249 printf "%s\n" "no" >&6; }
   7250 fi
   7251 
   7252 
   7253   test -n "$ac_ct_AR" && break
   7254 done
   7255 
   7256   if test "x$ac_ct_AR" = x; then
   7257     AR="false"
   7258   else
   7259     case $cross_compiling:$ac_tool_warned in
   7260 yes:)
   7261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7262 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7263 ac_tool_warned=yes ;;
   7264 esac
   7265     AR=$ac_ct_AR
   7266   fi
   7267 fi
   7268 
   7269 : ${AR=ar}
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7277 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7278 # higher priority because that's what people were doing historically (setting
   7279 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7280 # variable obsoleted/removed.
   7281 
   7282 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7283 lt_ar_flags=$AR_FLAGS
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7291 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7299 printf %s "checking for archiver @FILE support... " >&6; }
   7300 if test ${lt_cv_ar_at_file+y}
   7301 then :
   7302   printf %s "(cached) " >&6
   7303 else $as_nop
   7304   lt_cv_ar_at_file=no
   7305    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7306 /* end confdefs.h.  */
   7307 
   7308 int
   7309 main (void)
   7310 {
   7311 
   7312   ;
   7313   return 0;
   7314 }
   7315 _ACEOF
   7316 if ac_fn_c_try_compile "$LINENO"
   7317 then :
   7318   echo conftest.$ac_objext > conftest.lst
   7319       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7320       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7321   (eval $lt_ar_try) 2>&5
   7322   ac_status=$?
   7323   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7324   test $ac_status = 0; }
   7325       if test 0 -eq "$ac_status"; then
   7326 	# Ensure the archiver fails upon bogus file names.
   7327 	rm -f conftest.$ac_objext libconftest.a
   7328 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7329   (eval $lt_ar_try) 2>&5
   7330   ac_status=$?
   7331   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7332   test $ac_status = 0; }
   7333 	if test 0 -ne "$ac_status"; then
   7334           lt_cv_ar_at_file=@
   7335         fi
   7336       fi
   7337       rm -f conftest.* libconftest.a
   7338 
   7339 fi
   7340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7341 
   7342 fi
   7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7344 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7345 
   7346 if test no = "$lt_cv_ar_at_file"; then
   7347   archiver_list_spec=
   7348 else
   7349   archiver_list_spec=$lt_cv_ar_at_file
   7350 fi
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 if test -n "$ac_tool_prefix"; then
   7359   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7360 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7362 printf %s "checking for $ac_word... " >&6; }
   7363 if test ${ac_cv_prog_STRIP+y}
   7364 then :
   7365   printf %s "(cached) " >&6
   7366 else $as_nop
   7367   if test -n "$STRIP"; then
   7368   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7369 else
   7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7371 for as_dir in $PATH
   7372 do
   7373   IFS=$as_save_IFS
   7374   case $as_dir in #(((
   7375     '') as_dir=./ ;;
   7376     */) ;;
   7377     *) as_dir=$as_dir/ ;;
   7378   esac
   7379     for ac_exec_ext in '' $ac_executable_extensions; do
   7380   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7381     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7382     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7383     break 2
   7384   fi
   7385 done
   7386   done
   7387 IFS=$as_save_IFS
   7388 
   7389 fi
   7390 fi
   7391 STRIP=$ac_cv_prog_STRIP
   7392 if test -n "$STRIP"; then
   7393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7394 printf "%s\n" "$STRIP" >&6; }
   7395 else
   7396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7397 printf "%s\n" "no" >&6; }
   7398 fi
   7399 
   7400 
   7401 fi
   7402 if test -z "$ac_cv_prog_STRIP"; then
   7403   ac_ct_STRIP=$STRIP
   7404   # Extract the first word of "strip", so it can be a program name with args.
   7405 set dummy strip; ac_word=$2
   7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7407 printf %s "checking for $ac_word... " >&6; }
   7408 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7409 then :
   7410   printf %s "(cached) " >&6
   7411 else $as_nop
   7412   if test -n "$ac_ct_STRIP"; then
   7413   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7414 else
   7415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7416 for as_dir in $PATH
   7417 do
   7418   IFS=$as_save_IFS
   7419   case $as_dir in #(((
   7420     '') as_dir=./ ;;
   7421     */) ;;
   7422     *) as_dir=$as_dir/ ;;
   7423   esac
   7424     for ac_exec_ext in '' $ac_executable_extensions; do
   7425   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7426     ac_cv_prog_ac_ct_STRIP="strip"
   7427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7428     break 2
   7429   fi
   7430 done
   7431   done
   7432 IFS=$as_save_IFS
   7433 
   7434 fi
   7435 fi
   7436 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7437 if test -n "$ac_ct_STRIP"; then
   7438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7439 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7440 else
   7441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7442 printf "%s\n" "no" >&6; }
   7443 fi
   7444 
   7445   if test "x$ac_ct_STRIP" = x; then
   7446     STRIP=":"
   7447   else
   7448     case $cross_compiling:$ac_tool_warned in
   7449 yes:)
   7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7451 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7452 ac_tool_warned=yes ;;
   7453 esac
   7454     STRIP=$ac_ct_STRIP
   7455   fi
   7456 else
   7457   STRIP="$ac_cv_prog_STRIP"
   7458 fi
   7459 
   7460 test -z "$STRIP" && STRIP=:
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 test -z "$RANLIB" && RANLIB=:
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 # Determine commands to create old-style static archives.
   7476 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7477 old_postinstall_cmds='chmod 644 $oldlib'
   7478 old_postuninstall_cmds=
   7479 
   7480 if test -n "$RANLIB"; then
   7481   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7482   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7483 fi
   7484 
   7485 case $host_os in
   7486   darwin*)
   7487     lock_old_archive_extraction=yes ;;
   7488   *)
   7489     lock_old_archive_extraction=no ;;
   7490 esac
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 # If no C compiler was specified, use CC.
   7531 LTCC=${LTCC-"$CC"}
   7532 
   7533 # If no C compiler flags were specified, use CFLAGS.
   7534 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7535 
   7536 # Allow CC to be a program name with arguments.
   7537 compiler=$CC
   7538 
   7539 
   7540 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7542 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7543 if test ${lt_cv_sys_global_symbol_pipe+y}
   7544 then :
   7545   printf %s "(cached) " >&6
   7546 else $as_nop
   7547 
   7548 # These are sane defaults that work on at least a few old systems.
   7549 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7550 
   7551 # Character class describing NM global symbol codes.
   7552 symcode='[BCDEGRST]'
   7553 
   7554 # Regexp to match symbols that can be accessed directly from C.
   7555 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7556 
   7557 # Define system-specific variables.
   7558 case $host_os in
   7559 aix*)
   7560   symcode='[BCDT]'
   7561   ;;
   7562 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7563   symcode='[ABCDGISTW]'
   7564   ;;
   7565 hpux*)
   7566   if test ia64 = "$host_cpu"; then
   7567     symcode='[ABCDEGRST]'
   7568   fi
   7569   ;;
   7570 irix* | nonstopux*)
   7571   symcode='[BCDEGRST]'
   7572   ;;
   7573 osf*)
   7574   symcode='[BCDEGQRST]'
   7575   ;;
   7576 solaris*)
   7577   symcode='[BCDRT]'
   7578   ;;
   7579 sco3.2v5*)
   7580   symcode='[DT]'
   7581   ;;
   7582 sysv4.2uw2*)
   7583   symcode='[DT]'
   7584   ;;
   7585 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7586   symcode='[ABDT]'
   7587   ;;
   7588 sysv4)
   7589   symcode='[DFNSTU]'
   7590   ;;
   7591 esac
   7592 
   7593 # If we're using GNU nm, then use its standard symbol codes.
   7594 case `$NM -V 2>&1` in
   7595 *GNU* | *'with BFD'*)
   7596   symcode='[ABCDGIRSTW]' ;;
   7597 esac
   7598 
   7599 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7600   # Gets list of data symbols to import.
   7601   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7602   # Adjust the below global symbol transforms to fixup imported variables.
   7603   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7604   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7605   lt_c_name_lib_hook="\
   7606   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7607   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7608 else
   7609   # Disable hooks by default.
   7610   lt_cv_sys_global_symbol_to_import=
   7611   lt_cdecl_hook=
   7612   lt_c_name_hook=
   7613   lt_c_name_lib_hook=
   7614 fi
   7615 
   7616 # Transform an extracted symbol line into a proper C declaration.
   7617 # Some systems (esp. on ia64) link data and code symbols differently,
   7618 # so use this general approach.
   7619 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7620 $lt_cdecl_hook\
   7621 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7622 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7623 
   7624 # Transform an extracted symbol line into symbol name and symbol address
   7625 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7626 $lt_c_name_hook\
   7627 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7628 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7629 
   7630 # Transform an extracted symbol line into symbol name with lib prefix and
   7631 # symbol address.
   7632 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7633 $lt_c_name_lib_hook\
   7634 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7635 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7636 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7637 
   7638 # Handle CRLF in mingw tool chain
   7639 opt_cr=
   7640 case $build_os in
   7641 mingw* | windows*)
   7642   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7643   ;;
   7644 esac
   7645 
   7646 # Try without a prefix underscore, then with it.
   7647 for ac_symprfx in "" "_"; do
   7648 
   7649   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7650   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7651 
   7652   # Write the raw and C identifiers.
   7653   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7654     # Fake it for dumpbin and say T for any non-static function,
   7655     # D for any global variable and I for any imported variable.
   7656     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7657     # which start with @ or ?.
   7658     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7659 "     {last_section=section; section=\$ 3};"\
   7660 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7661 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7662 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7663 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7664 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7665 "     \$ 0!~/External *\|/{next};"\
   7666 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7667 "     {if(hide[section]) next};"\
   7668 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7669 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7670 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7671 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7672 "     ' prfx=^$ac_symprfx"
   7673   else
   7674     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7675   fi
   7676   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7677 
   7678   # Check to see that the pipe works correctly.
   7679   pipe_works=no
   7680 
   7681   rm -f conftest*
   7682   cat > conftest.$ac_ext <<_LT_EOF
   7683 #ifdef __cplusplus
   7684 extern "C" {
   7685 #endif
   7686 char nm_test_var;
   7687 void nm_test_func(void);
   7688 void nm_test_func(void){}
   7689 #ifdef __cplusplus
   7690 }
   7691 #endif
   7692 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7693 _LT_EOF
   7694 
   7695   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7696   (eval $ac_compile) 2>&5
   7697   ac_status=$?
   7698   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7699   test $ac_status = 0; }; then
   7700     # Now try to grab the symbols.
   7701     nlist=conftest.nm
   7702     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7703     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7704       # Try sorting and uniquifying the output.
   7705       if sort "$nlist" | uniq > "$nlist"T; then
   7706 	mv -f "$nlist"T "$nlist"
   7707       else
   7708 	rm -f "$nlist"T
   7709       fi
   7710 
   7711       # Make sure that we snagged all the symbols we need.
   7712       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7713 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7714 	  cat <<_LT_EOF > conftest.$ac_ext
   7715 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7716 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7717 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7718    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7719 # define LT_DLSYM_CONST
   7720 #elif defined __osf__
   7721 /* This system does not cope well with relocations in const data.  */
   7722 # define LT_DLSYM_CONST
   7723 #else
   7724 # define LT_DLSYM_CONST const
   7725 #endif
   7726 
   7727 #ifdef __cplusplus
   7728 extern "C" {
   7729 #endif
   7730 
   7731 _LT_EOF
   7732 	  # Now generate the symbol file.
   7733 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7734 
   7735 	  cat <<_LT_EOF >> conftest.$ac_ext
   7736 
   7737 /* The mapping between symbol names and symbols.  */
   7738 LT_DLSYM_CONST struct {
   7739   const char *name;
   7740   void       *address;
   7741 }
   7742 lt__PROGRAM__LTX_preloaded_symbols[] =
   7743 {
   7744   { "@PROGRAM@", (void *) 0 },
   7745 _LT_EOF
   7746 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7747 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7748   {0, (void *) 0}
   7749 };
   7750 
   7751 /* This works around a problem in FreeBSD linker */
   7752 #ifdef FREEBSD_WORKAROUND
   7753 static const void *lt_preloaded_setup() {
   7754   return lt__PROGRAM__LTX_preloaded_symbols;
   7755 }
   7756 #endif
   7757 
   7758 #ifdef __cplusplus
   7759 }
   7760 #endif
   7761 _LT_EOF
   7762 	  # Now try linking the two files.
   7763 	  mv conftest.$ac_objext conftstm.$ac_objext
   7764 	  lt_globsym_save_LIBS=$LIBS
   7765 	  lt_globsym_save_CFLAGS=$CFLAGS
   7766 	  LIBS=conftstm.$ac_objext
   7767 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7768 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7769   (eval $ac_link) 2>&5
   7770   ac_status=$?
   7771   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7772   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7773 	    pipe_works=yes
   7774 	  fi
   7775 	  LIBS=$lt_globsym_save_LIBS
   7776 	  CFLAGS=$lt_globsym_save_CFLAGS
   7777 	else
   7778 	  echo "cannot find nm_test_func in $nlist" >&5
   7779 	fi
   7780       else
   7781 	echo "cannot find nm_test_var in $nlist" >&5
   7782       fi
   7783     else
   7784       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7785     fi
   7786   else
   7787     echo "$progname: failed program was:" >&5
   7788     cat conftest.$ac_ext >&5
   7789   fi
   7790   rm -rf conftest* conftst*
   7791 
   7792   # Do not use the global_symbol_pipe unless it works.
   7793   if test yes = "$pipe_works"; then
   7794     break
   7795   else
   7796     lt_cv_sys_global_symbol_pipe=
   7797   fi
   7798 done
   7799 
   7800 fi
   7801 
   7802 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7803   lt_cv_sys_global_symbol_to_cdecl=
   7804 fi
   7805 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7807 printf "%s\n" "failed" >&6; }
   7808 else
   7809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7810 printf "%s\n" "ok" >&6; }
   7811 fi
   7812 
   7813 # Response file support.
   7814 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7815   nm_file_list_spec='@'
   7816 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7817   nm_file_list_spec='@'
   7818 fi
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7857 printf %s "checking for sysroot... " >&6; }
   7858 
   7859 # Check whether --with-sysroot was given.
   7860 if test ${with_sysroot+y}
   7861 then :
   7862   withval=$with_sysroot;
   7863 else $as_nop
   7864   with_sysroot=no
   7865 fi
   7866 
   7867 
   7868 lt_sysroot=
   7869 case $with_sysroot in #(
   7870  yes)
   7871    if test yes = "$GCC"; then
   7872      # Trim trailing / since we'll always append absolute paths and we want
   7873      # to avoid //, if only for less confusing output for the user.
   7874      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7875    fi
   7876    ;; #(
   7877  /*)
   7878    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7879    ;; #(
   7880  no|'')
   7881    ;; #(
   7882  *)
   7883    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7884 printf "%s\n" "$with_sysroot" >&6; }
   7885    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7886    ;;
   7887 esac
   7888 
   7889  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7890 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7897 printf %s "checking for a working dd... " >&6; }
   7898 if test ${ac_cv_path_lt_DD+y}
   7899 then :
   7900   printf %s "(cached) " >&6
   7901 else $as_nop
   7902   printf 0123456789abcdef0123456789abcdef >conftest.i
   7903 cat conftest.i conftest.i >conftest2.i
   7904 : ${lt_DD:=$DD}
   7905 if test -z "$lt_DD"; then
   7906   ac_path_lt_DD_found=false
   7907   # Loop through the user's path and test for each of PROGNAME-LIST
   7908   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7909 for as_dir in $PATH
   7910 do
   7911   IFS=$as_save_IFS
   7912   case $as_dir in #(((
   7913     '') as_dir=./ ;;
   7914     */) ;;
   7915     *) as_dir=$as_dir/ ;;
   7916   esac
   7917     for ac_prog in dd
   7918    do
   7919     for ac_exec_ext in '' $ac_executable_extensions; do
   7920       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7921       as_fn_executable_p "$ac_path_lt_DD" || continue
   7922 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7923   cmp -s conftest.i conftest.out \
   7924   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7925 fi
   7926       $ac_path_lt_DD_found && break 3
   7927     done
   7928   done
   7929   done
   7930 IFS=$as_save_IFS
   7931   if test -z "$ac_cv_path_lt_DD"; then
   7932     :
   7933   fi
   7934 else
   7935   ac_cv_path_lt_DD=$lt_DD
   7936 fi
   7937 
   7938 rm -f conftest.i conftest2.i conftest.out
   7939 fi
   7940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7941 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7942 
   7943 
   7944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7945 printf %s "checking how to truncate binary pipes... " >&6; }
   7946 if test ${lt_cv_truncate_bin+y}
   7947 then :
   7948   printf %s "(cached) " >&6
   7949 else $as_nop
   7950   printf 0123456789abcdef0123456789abcdef >conftest.i
   7951 cat conftest.i conftest.i >conftest2.i
   7952 lt_cv_truncate_bin=
   7953 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7954   cmp -s conftest.i conftest.out \
   7955   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7956 fi
   7957 rm -f conftest.i conftest2.i conftest.out
   7958 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7959 fi
   7960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7961 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7970 func_cc_basename ()
   7971 {
   7972     for cc_temp in $*""; do
   7973       case $cc_temp in
   7974         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7975         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7976         \-*) ;;
   7977         *) break;;
   7978       esac
   7979     done
   7980     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7981 }
   7982 
   7983 # Check whether --enable-libtool-lock was given.
   7984 if test ${enable_libtool_lock+y}
   7985 then :
   7986   enableval=$enable_libtool_lock;
   7987 fi
   7988 
   7989 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7990 
   7991 # Some flags need to be propagated to the compiler or linker for good
   7992 # libtool support.
   7993 case $host in
   7994 ia64-*-hpux*)
   7995   # Find out what ABI is being produced by ac_compile, and set mode
   7996   # options accordingly.
   7997   echo 'int i;' > conftest.$ac_ext
   7998   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7999   (eval $ac_compile) 2>&5
   8000   ac_status=$?
   8001   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8002   test $ac_status = 0; }; then
   8003     case `$FILECMD conftest.$ac_objext` in
   8004       *ELF-32*)
   8005 	HPUX_IA64_MODE=32
   8006 	;;
   8007       *ELF-64*)
   8008 	HPUX_IA64_MODE=64
   8009 	;;
   8010     esac
   8011   fi
   8012   rm -rf conftest*
   8013   ;;
   8014 *-*-irix6*)
   8015   # Find out what ABI is being produced by ac_compile, and set linker
   8016   # options accordingly.
   8017   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8018   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8019   (eval $ac_compile) 2>&5
   8020   ac_status=$?
   8021   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8022   test $ac_status = 0; }; then
   8023     if test yes = "$lt_cv_prog_gnu_ld"; then
   8024       case `$FILECMD conftest.$ac_objext` in
   8025 	*32-bit*)
   8026 	  LD="${LD-ld} -melf32bsmip"
   8027 	  ;;
   8028 	*N32*)
   8029 	  LD="${LD-ld} -melf32bmipn32"
   8030 	  ;;
   8031 	*64-bit*)
   8032 	  LD="${LD-ld} -melf64bmip"
   8033 	;;
   8034       esac
   8035     else
   8036       case `$FILECMD conftest.$ac_objext` in
   8037 	*32-bit*)
   8038 	  LD="${LD-ld} -32"
   8039 	  ;;
   8040 	*N32*)
   8041 	  LD="${LD-ld} -n32"
   8042 	  ;;
   8043 	*64-bit*)
   8044 	  LD="${LD-ld} -64"
   8045 	  ;;
   8046       esac
   8047     fi
   8048   fi
   8049   rm -rf conftest*
   8050   ;;
   8051 
   8052 mips64*-*linux*)
   8053   # Find out what ABI is being produced by ac_compile, and set linker
   8054   # options accordingly.
   8055   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8056   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8057   (eval $ac_compile) 2>&5
   8058   ac_status=$?
   8059   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8060   test $ac_status = 0; }; then
   8061     emul=elf
   8062     case `$FILECMD conftest.$ac_objext` in
   8063       *32-bit*)
   8064 	emul="${emul}32"
   8065 	;;
   8066       *64-bit*)
   8067 	emul="${emul}64"
   8068 	;;
   8069     esac
   8070     case `$FILECMD conftest.$ac_objext` in
   8071       *MSB*)
   8072 	emul="${emul}btsmip"
   8073 	;;
   8074       *LSB*)
   8075 	emul="${emul}ltsmip"
   8076 	;;
   8077     esac
   8078     case `$FILECMD conftest.$ac_objext` in
   8079       *N32*)
   8080 	emul="${emul}n32"
   8081 	;;
   8082     esac
   8083     LD="${LD-ld} -m $emul"
   8084   fi
   8085   rm -rf conftest*
   8086   ;;
   8087 
   8088 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8089 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   8090   # Find out what ABI is being produced by ac_compile, and set linker
   8091   # options accordingly.  Note that the listed cases only cover the
   8092   # situations where additional linker options are needed (such as when
   8093   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8094   # vice versa); the common cases where no linker options are needed do
   8095   # not appear in the list.
   8096   echo 'int i;' > conftest.$ac_ext
   8097   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8098   (eval $ac_compile) 2>&5
   8099   ac_status=$?
   8100   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8101   test $ac_status = 0; }; then
   8102     case `$FILECMD conftest.o` in
   8103       *32-bit*)
   8104 	case $host in
   8105 	  x86_64-*kfreebsd*-gnu)
   8106 	    LD="${LD-ld} -m elf_i386_fbsd"
   8107 	    ;;
   8108 	  x86_64-*linux*|x86_64-gnu*)
   8109 	    case `$FILECMD conftest.o` in
   8110 	      *x86-64*)
   8111 		LD="${LD-ld} -m elf32_x86_64"
   8112 		;;
   8113 	      *)
   8114 		LD="${LD-ld} -m elf_i386"
   8115 		;;
   8116 	    esac
   8117 	    ;;
   8118 	  powerpc64le-*linux*)
   8119 	    LD="${LD-ld} -m elf32lppclinux"
   8120 	    ;;
   8121 	  powerpc64-*linux*)
   8122 	    LD="${LD-ld} -m elf32ppclinux"
   8123 	    ;;
   8124 	  s390x-*linux*)
   8125 	    LD="${LD-ld} -m elf_s390"
   8126 	    ;;
   8127 	  sparc64-*linux*)
   8128 	    LD="${LD-ld} -m elf32_sparc"
   8129 	    ;;
   8130 	esac
   8131 	;;
   8132       *64-bit*)
   8133 	case $host in
   8134 	  x86_64-*kfreebsd*-gnu)
   8135 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8136 	    ;;
   8137 	  x86_64-*linux*|x86_64-gnu*)
   8138 	    LD="${LD-ld} -m elf_x86_64"
   8139 	    ;;
   8140 	  powerpcle-*linux*|powerpc64le-*linux*)
   8141 	    LD="${LD-ld} -m elf64lppc"
   8142 	    ;;
   8143 	  powerpc-*linux*|powerpc64-*linux*)
   8144 	    LD="${LD-ld} -m elf64ppc"
   8145 	    ;;
   8146 	  s390*-*linux*|s390*-*tpf*)
   8147 	    LD="${LD-ld} -m elf64_s390"
   8148 	    ;;
   8149 	  sparc*-*linux*)
   8150 	    LD="${LD-ld} -m elf64_sparc"
   8151 	    ;;
   8152 	esac
   8153 	;;
   8154     esac
   8155   fi
   8156   rm -rf conftest*
   8157   ;;
   8158 
   8159 *-*-sco3.2v5*)
   8160   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8161   SAVE_CFLAGS=$CFLAGS
   8162   CFLAGS="$CFLAGS -belf"
   8163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8164 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8165 if test ${lt_cv_cc_needs_belf+y}
   8166 then :
   8167   printf %s "(cached) " >&6
   8168 else $as_nop
   8169   ac_ext=c
   8170 ac_cpp='$CPP $CPPFLAGS'
   8171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8174 
   8175      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8176 /* end confdefs.h.  */
   8177 
   8178 int
   8179 main (void)
   8180 {
   8181 
   8182   ;
   8183   return 0;
   8184 }
   8185 _ACEOF
   8186 if ac_fn_c_try_link "$LINENO"
   8187 then :
   8188   lt_cv_cc_needs_belf=yes
   8189 else $as_nop
   8190   lt_cv_cc_needs_belf=no
   8191 fi
   8192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8193     conftest$ac_exeext conftest.$ac_ext
   8194      ac_ext=c
   8195 ac_cpp='$CPP $CPPFLAGS'
   8196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8199 
   8200 fi
   8201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8202 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8203   if test yes != "$lt_cv_cc_needs_belf"; then
   8204     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8205     CFLAGS=$SAVE_CFLAGS
   8206   fi
   8207   ;;
   8208 *-*solaris*)
   8209   # Find out what ABI is being produced by ac_compile, and set linker
   8210   # options accordingly.
   8211   echo 'int i;' > conftest.$ac_ext
   8212   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8213   (eval $ac_compile) 2>&5
   8214   ac_status=$?
   8215   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8216   test $ac_status = 0; }; then
   8217     case `$FILECMD conftest.o` in
   8218     *64-bit*)
   8219       case $lt_cv_prog_gnu_ld in
   8220       yes*)
   8221         case $host in
   8222         i?86-*-solaris*|x86_64-*-solaris*)
   8223           LD="${LD-ld} -m elf_x86_64"
   8224           ;;
   8225         sparc*-*-solaris*)
   8226           LD="${LD-ld} -m elf64_sparc"
   8227           ;;
   8228         esac
   8229         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8230         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8231           LD=${LD-ld}_sol2
   8232         fi
   8233         ;;
   8234       *)
   8235 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8236 	  LD="${LD-ld} -64"
   8237 	fi
   8238 	;;
   8239       esac
   8240       ;;
   8241     esac
   8242   fi
   8243   rm -rf conftest*
   8244   ;;
   8245 esac
   8246 
   8247 need_locks=$enable_libtool_lock
   8248 
   8249 if test -n "$ac_tool_prefix"; then
   8250   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8251 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8253 printf %s "checking for $ac_word... " >&6; }
   8254 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8255 then :
   8256   printf %s "(cached) " >&6
   8257 else $as_nop
   8258   if test -n "$MANIFEST_TOOL"; then
   8259   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8260 else
   8261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8262 for as_dir in $PATH
   8263 do
   8264   IFS=$as_save_IFS
   8265   case $as_dir in #(((
   8266     '') as_dir=./ ;;
   8267     */) ;;
   8268     *) as_dir=$as_dir/ ;;
   8269   esac
   8270     for ac_exec_ext in '' $ac_executable_extensions; do
   8271   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8272     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8273     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8274     break 2
   8275   fi
   8276 done
   8277   done
   8278 IFS=$as_save_IFS
   8279 
   8280 fi
   8281 fi
   8282 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8283 if test -n "$MANIFEST_TOOL"; then
   8284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8285 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8286 else
   8287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8288 printf "%s\n" "no" >&6; }
   8289 fi
   8290 
   8291 
   8292 fi
   8293 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8294   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8295   # Extract the first word of "mt", so it can be a program name with args.
   8296 set dummy mt; ac_word=$2
   8297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8298 printf %s "checking for $ac_word... " >&6; }
   8299 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8300 then :
   8301   printf %s "(cached) " >&6
   8302 else $as_nop
   8303   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8304   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8305 else
   8306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8307 for as_dir in $PATH
   8308 do
   8309   IFS=$as_save_IFS
   8310   case $as_dir in #(((
   8311     '') as_dir=./ ;;
   8312     */) ;;
   8313     *) as_dir=$as_dir/ ;;
   8314   esac
   8315     for ac_exec_ext in '' $ac_executable_extensions; do
   8316   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8317     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8318     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8319     break 2
   8320   fi
   8321 done
   8322   done
   8323 IFS=$as_save_IFS
   8324 
   8325 fi
   8326 fi
   8327 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8328 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8329   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8330 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8331 else
   8332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8333 printf "%s\n" "no" >&6; }
   8334 fi
   8335 
   8336   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8337     MANIFEST_TOOL=":"
   8338   else
   8339     case $cross_compiling:$ac_tool_warned in
   8340 yes:)
   8341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8342 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8343 ac_tool_warned=yes ;;
   8344 esac
   8345     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8346   fi
   8347 else
   8348   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8349 fi
   8350 
   8351 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8353 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8354 if test ${lt_cv_path_manifest_tool+y}
   8355 then :
   8356   printf %s "(cached) " >&6
   8357 else $as_nop
   8358   lt_cv_path_manifest_tool=no
   8359   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8360   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8361   cat conftest.err >&5
   8362   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8363     lt_cv_path_manifest_tool=yes
   8364   fi
   8365   rm -f conftest*
   8366 fi
   8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8368 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   8369 if test yes != "$lt_cv_path_manifest_tool"; then
   8370   MANIFEST_TOOL=:
   8371 fi
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378   case $host_os in
   8379     rhapsody* | darwin*)
   8380     if test -n "$ac_tool_prefix"; then
   8381   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8382 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8384 printf %s "checking for $ac_word... " >&6; }
   8385 if test ${ac_cv_prog_DSYMUTIL+y}
   8386 then :
   8387   printf %s "(cached) " >&6
   8388 else $as_nop
   8389   if test -n "$DSYMUTIL"; then
   8390   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8391 else
   8392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8393 for as_dir in $PATH
   8394 do
   8395   IFS=$as_save_IFS
   8396   case $as_dir in #(((
   8397     '') as_dir=./ ;;
   8398     */) ;;
   8399     *) as_dir=$as_dir/ ;;
   8400   esac
   8401     for ac_exec_ext in '' $ac_executable_extensions; do
   8402   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8403     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8404     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8405     break 2
   8406   fi
   8407 done
   8408   done
   8409 IFS=$as_save_IFS
   8410 
   8411 fi
   8412 fi
   8413 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8414 if test -n "$DSYMUTIL"; then
   8415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8416 printf "%s\n" "$DSYMUTIL" >&6; }
   8417 else
   8418   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8419 printf "%s\n" "no" >&6; }
   8420 fi
   8421 
   8422 
   8423 fi
   8424 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8425   ac_ct_DSYMUTIL=$DSYMUTIL
   8426   # Extract the first word of "dsymutil", so it can be a program name with args.
   8427 set dummy dsymutil; ac_word=$2
   8428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8429 printf %s "checking for $ac_word... " >&6; }
   8430 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8431 then :
   8432   printf %s "(cached) " >&6
   8433 else $as_nop
   8434   if test -n "$ac_ct_DSYMUTIL"; then
   8435   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8436 else
   8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8438 for as_dir in $PATH
   8439 do
   8440   IFS=$as_save_IFS
   8441   case $as_dir in #(((
   8442     '') as_dir=./ ;;
   8443     */) ;;
   8444     *) as_dir=$as_dir/ ;;
   8445   esac
   8446     for ac_exec_ext in '' $ac_executable_extensions; do
   8447   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8448     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8449     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8450     break 2
   8451   fi
   8452 done
   8453   done
   8454 IFS=$as_save_IFS
   8455 
   8456 fi
   8457 fi
   8458 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8459 if test -n "$ac_ct_DSYMUTIL"; then
   8460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8461 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8462 else
   8463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8464 printf "%s\n" "no" >&6; }
   8465 fi
   8466 
   8467   if test "x$ac_ct_DSYMUTIL" = x; then
   8468     DSYMUTIL=":"
   8469   else
   8470     case $cross_compiling:$ac_tool_warned in
   8471 yes:)
   8472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8473 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8474 ac_tool_warned=yes ;;
   8475 esac
   8476     DSYMUTIL=$ac_ct_DSYMUTIL
   8477   fi
   8478 else
   8479   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8480 fi
   8481 
   8482     if test -n "$ac_tool_prefix"; then
   8483   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8484 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8486 printf %s "checking for $ac_word... " >&6; }
   8487 if test ${ac_cv_prog_NMEDIT+y}
   8488 then :
   8489   printf %s "(cached) " >&6
   8490 else $as_nop
   8491   if test -n "$NMEDIT"; then
   8492   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8493 else
   8494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8495 for as_dir in $PATH
   8496 do
   8497   IFS=$as_save_IFS
   8498   case $as_dir in #(((
   8499     '') as_dir=./ ;;
   8500     */) ;;
   8501     *) as_dir=$as_dir/ ;;
   8502   esac
   8503     for ac_exec_ext in '' $ac_executable_extensions; do
   8504   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8505     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8506     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8507     break 2
   8508   fi
   8509 done
   8510   done
   8511 IFS=$as_save_IFS
   8512 
   8513 fi
   8514 fi
   8515 NMEDIT=$ac_cv_prog_NMEDIT
   8516 if test -n "$NMEDIT"; then
   8517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8518 printf "%s\n" "$NMEDIT" >&6; }
   8519 else
   8520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8521 printf "%s\n" "no" >&6; }
   8522 fi
   8523 
   8524 
   8525 fi
   8526 if test -z "$ac_cv_prog_NMEDIT"; then
   8527   ac_ct_NMEDIT=$NMEDIT
   8528   # Extract the first word of "nmedit", so it can be a program name with args.
   8529 set dummy nmedit; ac_word=$2
   8530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8531 printf %s "checking for $ac_word... " >&6; }
   8532 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8533 then :
   8534   printf %s "(cached) " >&6
   8535 else $as_nop
   8536   if test -n "$ac_ct_NMEDIT"; then
   8537   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8538 else
   8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8540 for as_dir in $PATH
   8541 do
   8542   IFS=$as_save_IFS
   8543   case $as_dir in #(((
   8544     '') as_dir=./ ;;
   8545     */) ;;
   8546     *) as_dir=$as_dir/ ;;
   8547   esac
   8548     for ac_exec_ext in '' $ac_executable_extensions; do
   8549   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8550     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8551     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8552     break 2
   8553   fi
   8554 done
   8555   done
   8556 IFS=$as_save_IFS
   8557 
   8558 fi
   8559 fi
   8560 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8561 if test -n "$ac_ct_NMEDIT"; then
   8562   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8563 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8564 else
   8565   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8566 printf "%s\n" "no" >&6; }
   8567 fi
   8568 
   8569   if test "x$ac_ct_NMEDIT" = x; then
   8570     NMEDIT=":"
   8571   else
   8572     case $cross_compiling:$ac_tool_warned in
   8573 yes:)
   8574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8575 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8576 ac_tool_warned=yes ;;
   8577 esac
   8578     NMEDIT=$ac_ct_NMEDIT
   8579   fi
   8580 else
   8581   NMEDIT="$ac_cv_prog_NMEDIT"
   8582 fi
   8583 
   8584     if test -n "$ac_tool_prefix"; then
   8585   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8586 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8588 printf %s "checking for $ac_word... " >&6; }
   8589 if test ${ac_cv_prog_LIPO+y}
   8590 then :
   8591   printf %s "(cached) " >&6
   8592 else $as_nop
   8593   if test -n "$LIPO"; then
   8594   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8595 else
   8596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8597 for as_dir in $PATH
   8598 do
   8599   IFS=$as_save_IFS
   8600   case $as_dir in #(((
   8601     '') as_dir=./ ;;
   8602     */) ;;
   8603     *) as_dir=$as_dir/ ;;
   8604   esac
   8605     for ac_exec_ext in '' $ac_executable_extensions; do
   8606   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8607     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8608     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8609     break 2
   8610   fi
   8611 done
   8612   done
   8613 IFS=$as_save_IFS
   8614 
   8615 fi
   8616 fi
   8617 LIPO=$ac_cv_prog_LIPO
   8618 if test -n "$LIPO"; then
   8619   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8620 printf "%s\n" "$LIPO" >&6; }
   8621 else
   8622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8623 printf "%s\n" "no" >&6; }
   8624 fi
   8625 
   8626 
   8627 fi
   8628 if test -z "$ac_cv_prog_LIPO"; then
   8629   ac_ct_LIPO=$LIPO
   8630   # Extract the first word of "lipo", so it can be a program name with args.
   8631 set dummy lipo; ac_word=$2
   8632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8633 printf %s "checking for $ac_word... " >&6; }
   8634 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8635 then :
   8636   printf %s "(cached) " >&6
   8637 else $as_nop
   8638   if test -n "$ac_ct_LIPO"; then
   8639   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8640 else
   8641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8642 for as_dir in $PATH
   8643 do
   8644   IFS=$as_save_IFS
   8645   case $as_dir in #(((
   8646     '') as_dir=./ ;;
   8647     */) ;;
   8648     *) as_dir=$as_dir/ ;;
   8649   esac
   8650     for ac_exec_ext in '' $ac_executable_extensions; do
   8651   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8652     ac_cv_prog_ac_ct_LIPO="lipo"
   8653     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8654     break 2
   8655   fi
   8656 done
   8657   done
   8658 IFS=$as_save_IFS
   8659 
   8660 fi
   8661 fi
   8662 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8663 if test -n "$ac_ct_LIPO"; then
   8664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8665 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8666 else
   8667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8668 printf "%s\n" "no" >&6; }
   8669 fi
   8670 
   8671   if test "x$ac_ct_LIPO" = x; then
   8672     LIPO=":"
   8673   else
   8674     case $cross_compiling:$ac_tool_warned in
   8675 yes:)
   8676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8677 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8678 ac_tool_warned=yes ;;
   8679 esac
   8680     LIPO=$ac_ct_LIPO
   8681   fi
   8682 else
   8683   LIPO="$ac_cv_prog_LIPO"
   8684 fi
   8685 
   8686     if test -n "$ac_tool_prefix"; then
   8687   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8688 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8690 printf %s "checking for $ac_word... " >&6; }
   8691 if test ${ac_cv_prog_OTOOL+y}
   8692 then :
   8693   printf %s "(cached) " >&6
   8694 else $as_nop
   8695   if test -n "$OTOOL"; then
   8696   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8697 else
   8698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8699 for as_dir in $PATH
   8700 do
   8701   IFS=$as_save_IFS
   8702   case $as_dir in #(((
   8703     '') as_dir=./ ;;
   8704     */) ;;
   8705     *) as_dir=$as_dir/ ;;
   8706   esac
   8707     for ac_exec_ext in '' $ac_executable_extensions; do
   8708   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8709     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8710     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8711     break 2
   8712   fi
   8713 done
   8714   done
   8715 IFS=$as_save_IFS
   8716 
   8717 fi
   8718 fi
   8719 OTOOL=$ac_cv_prog_OTOOL
   8720 if test -n "$OTOOL"; then
   8721   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8722 printf "%s\n" "$OTOOL" >&6; }
   8723 else
   8724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8725 printf "%s\n" "no" >&6; }
   8726 fi
   8727 
   8728 
   8729 fi
   8730 if test -z "$ac_cv_prog_OTOOL"; then
   8731   ac_ct_OTOOL=$OTOOL
   8732   # Extract the first word of "otool", so it can be a program name with args.
   8733 set dummy otool; ac_word=$2
   8734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8735 printf %s "checking for $ac_word... " >&6; }
   8736 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8737 then :
   8738   printf %s "(cached) " >&6
   8739 else $as_nop
   8740   if test -n "$ac_ct_OTOOL"; then
   8741   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8742 else
   8743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8744 for as_dir in $PATH
   8745 do
   8746   IFS=$as_save_IFS
   8747   case $as_dir in #(((
   8748     '') as_dir=./ ;;
   8749     */) ;;
   8750     *) as_dir=$as_dir/ ;;
   8751   esac
   8752     for ac_exec_ext in '' $ac_executable_extensions; do
   8753   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8754     ac_cv_prog_ac_ct_OTOOL="otool"
   8755     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8756     break 2
   8757   fi
   8758 done
   8759   done
   8760 IFS=$as_save_IFS
   8761 
   8762 fi
   8763 fi
   8764 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8765 if test -n "$ac_ct_OTOOL"; then
   8766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8767 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8768 else
   8769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8770 printf "%s\n" "no" >&6; }
   8771 fi
   8772 
   8773   if test "x$ac_ct_OTOOL" = x; then
   8774     OTOOL=":"
   8775   else
   8776     case $cross_compiling:$ac_tool_warned in
   8777 yes:)
   8778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8779 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8780 ac_tool_warned=yes ;;
   8781 esac
   8782     OTOOL=$ac_ct_OTOOL
   8783   fi
   8784 else
   8785   OTOOL="$ac_cv_prog_OTOOL"
   8786 fi
   8787 
   8788     if test -n "$ac_tool_prefix"; then
   8789   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8790 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8792 printf %s "checking for $ac_word... " >&6; }
   8793 if test ${ac_cv_prog_OTOOL64+y}
   8794 then :
   8795   printf %s "(cached) " >&6
   8796 else $as_nop
   8797   if test -n "$OTOOL64"; then
   8798   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8799 else
   8800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8801 for as_dir in $PATH
   8802 do
   8803   IFS=$as_save_IFS
   8804   case $as_dir in #(((
   8805     '') as_dir=./ ;;
   8806     */) ;;
   8807     *) as_dir=$as_dir/ ;;
   8808   esac
   8809     for ac_exec_ext in '' $ac_executable_extensions; do
   8810   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8811     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8812     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8813     break 2
   8814   fi
   8815 done
   8816   done
   8817 IFS=$as_save_IFS
   8818 
   8819 fi
   8820 fi
   8821 OTOOL64=$ac_cv_prog_OTOOL64
   8822 if test -n "$OTOOL64"; then
   8823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8824 printf "%s\n" "$OTOOL64" >&6; }
   8825 else
   8826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8827 printf "%s\n" "no" >&6; }
   8828 fi
   8829 
   8830 
   8831 fi
   8832 if test -z "$ac_cv_prog_OTOOL64"; then
   8833   ac_ct_OTOOL64=$OTOOL64
   8834   # Extract the first word of "otool64", so it can be a program name with args.
   8835 set dummy otool64; ac_word=$2
   8836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8837 printf %s "checking for $ac_word... " >&6; }
   8838 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8839 then :
   8840   printf %s "(cached) " >&6
   8841 else $as_nop
   8842   if test -n "$ac_ct_OTOOL64"; then
   8843   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8844 else
   8845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8846 for as_dir in $PATH
   8847 do
   8848   IFS=$as_save_IFS
   8849   case $as_dir in #(((
   8850     '') as_dir=./ ;;
   8851     */) ;;
   8852     *) as_dir=$as_dir/ ;;
   8853   esac
   8854     for ac_exec_ext in '' $ac_executable_extensions; do
   8855   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8856     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8857     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8858     break 2
   8859   fi
   8860 done
   8861   done
   8862 IFS=$as_save_IFS
   8863 
   8864 fi
   8865 fi
   8866 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8867 if test -n "$ac_ct_OTOOL64"; then
   8868   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8869 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8870 else
   8871   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8872 printf "%s\n" "no" >&6; }
   8873 fi
   8874 
   8875   if test "x$ac_ct_OTOOL64" = x; then
   8876     OTOOL64=":"
   8877   else
   8878     case $cross_compiling:$ac_tool_warned in
   8879 yes:)
   8880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8881 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8882 ac_tool_warned=yes ;;
   8883 esac
   8884     OTOOL64=$ac_ct_OTOOL64
   8885   fi
   8886 else
   8887   OTOOL64="$ac_cv_prog_OTOOL64"
   8888 fi
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8917 printf %s "checking for -single_module linker flag... " >&6; }
   8918 if test ${lt_cv_apple_cc_single_mod+y}
   8919 then :
   8920   printf %s "(cached) " >&6
   8921 else $as_nop
   8922   lt_cv_apple_cc_single_mod=no
   8923       if test -z "$LT_MULTI_MODULE"; then
   8924 	# By default we will add the -single_module flag. You can override
   8925 	# by either setting the environment variable LT_MULTI_MODULE
   8926 	# non-empty at configure time, or by adding -multi_module to the
   8927 	# link flags.
   8928 	rm -rf libconftest.dylib*
   8929 	echo "int foo(void){return 1;}" > conftest.c
   8930 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8931 -dynamiclib -Wl,-single_module conftest.c" >&5
   8932 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8933 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8934         _lt_result=$?
   8935 	# If there is a non-empty error log, and "single_module"
   8936 	# appears in it, assume the flag caused a linker warning
   8937         if test -s conftest.err && $GREP single_module conftest.err; then
   8938 	  cat conftest.err >&5
   8939 	# Otherwise, if the output was created with a 0 exit code from
   8940 	# the compiler, it worked.
   8941 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8942 	  lt_cv_apple_cc_single_mod=yes
   8943 	else
   8944 	  cat conftest.err >&5
   8945 	fi
   8946 	rm -rf libconftest.dylib*
   8947 	rm -f conftest.*
   8948       fi
   8949 fi
   8950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8951 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8952 
   8953     # Feature test to disable chained fixups since it is not
   8954     # compatible with '-undefined dynamic_lookup'
   8955     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8956 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8957 if test ${lt_cv_support_no_fixup_chains+y}
   8958 then :
   8959   printf %s "(cached) " >&6
   8960 else $as_nop
   8961    save_LDFLAGS=$LDFLAGS
   8962         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8963         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8964 /* end confdefs.h.  */
   8965 
   8966 int
   8967 main (void)
   8968 {
   8969 
   8970   ;
   8971   return 0;
   8972 }
   8973 _ACEOF
   8974 if ac_fn_c_try_link "$LINENO"
   8975 then :
   8976   lt_cv_support_no_fixup_chains=yes
   8977 else $as_nop
   8978   lt_cv_support_no_fixup_chains=no
   8979 
   8980 fi
   8981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8982     conftest$ac_exeext conftest.$ac_ext
   8983         LDFLAGS=$save_LDFLAGS
   8984 
   8985 
   8986 fi
   8987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8988 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8989 
   8990     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8991 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8992 if test ${lt_cv_ld_exported_symbols_list+y}
   8993 then :
   8994   printf %s "(cached) " >&6
   8995 else $as_nop
   8996   lt_cv_ld_exported_symbols_list=no
   8997       save_LDFLAGS=$LDFLAGS
   8998       echo "_main" > conftest.sym
   8999       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 
   9003 int
   9004 main (void)
   9005 {
   9006 
   9007   ;
   9008   return 0;
   9009 }
   9010 _ACEOF
   9011 if ac_fn_c_try_link "$LINENO"
   9012 then :
   9013   lt_cv_ld_exported_symbols_list=yes
   9014 else $as_nop
   9015   lt_cv_ld_exported_symbols_list=no
   9016 fi
   9017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9018     conftest$ac_exeext conftest.$ac_ext
   9019 	LDFLAGS=$save_LDFLAGS
   9020 
   9021 fi
   9022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9023 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   9024 
   9025     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9026 printf %s "checking for -force_load linker flag... " >&6; }
   9027 if test ${lt_cv_ld_force_load+y}
   9028 then :
   9029   printf %s "(cached) " >&6
   9030 else $as_nop
   9031   lt_cv_ld_force_load=no
   9032       cat > conftest.c << _LT_EOF
   9033 int forced_loaded() { return 2;}
   9034 _LT_EOF
   9035       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9036       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9037       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   9038       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   9039       echo "$RANLIB libconftest.a" >&5
   9040       $RANLIB libconftest.a 2>&5
   9041       cat > conftest.c << _LT_EOF
   9042 int main(void) { return 0;}
   9043 _LT_EOF
   9044       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9045       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9046       _lt_result=$?
   9047       if test -s conftest.err && $GREP force_load conftest.err; then
   9048 	cat conftest.err >&5
   9049       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9050 	lt_cv_ld_force_load=yes
   9051       else
   9052 	cat conftest.err >&5
   9053       fi
   9054         rm -f conftest.err libconftest.a conftest conftest.c
   9055         rm -rf conftest.dSYM
   9056 
   9057 fi
   9058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9059 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   9060     case $host_os in
   9061     rhapsody* | darwin1.[012])
   9062       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9063     darwin1.*)
   9064       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9065     darwin*)
   9066       case $MACOSX_DEPLOYMENT_TARGET,$host in
   9067         10.[012],*|,*powerpc*-darwin[5-8]*)
   9068           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9069         *)
   9070           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   9071           if test yes = "$lt_cv_support_no_fixup_chains"; then
   9072             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   9073           fi
   9074         ;;
   9075       esac
   9076     ;;
   9077   esac
   9078     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9079       _lt_dar_single_mod='$single_module'
   9080     fi
   9081     _lt_dar_needs_single_mod=no
   9082     case $host_os in
   9083     rhapsody* | darwin1.*)
   9084       _lt_dar_needs_single_mod=yes ;;
   9085     darwin*)
   9086       # When targeting Mac OS X 10.4 (darwin 8) or later,
   9087       # -single_module is the default and -multi_module is unsupported.
   9088       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   9089       # target any OS version that needs -single_module.
   9090       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9091       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   9092         _lt_dar_needs_single_mod=yes ;;
   9093       esac
   9094     ;;
   9095     esac
   9096     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9097       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9098     else
   9099       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9100     fi
   9101     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9102       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9103     else
   9104       _lt_dsymutil=
   9105     fi
   9106     ;;
   9107   esac
   9108 
   9109 # func_munge_path_list VARIABLE PATH
   9110 # -----------------------------------
   9111 # VARIABLE is name of variable containing _space_ separated list of
   9112 # directories to be munged by the contents of PATH, which is string
   9113 # having a format:
   9114 # "DIR[:DIR]:"
   9115 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9116 # ":DIR[:DIR]"
   9117 #       string "DIR[ DIR]" will be appended to VARIABLE
   9118 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9119 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9120 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9121 # "DIR[:DIR]"
   9122 #       VARIABLE will be replaced by "DIR[ DIR]"
   9123 func_munge_path_list ()
   9124 {
   9125     case x$2 in
   9126     x)
   9127         ;;
   9128     *:)
   9129         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9130         ;;
   9131     x:*)
   9132         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9133         ;;
   9134     *::*)
   9135         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9136         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9137         ;;
   9138     *)
   9139         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9140         ;;
   9141     esac
   9142 }
   9143 
   9144 ac_header= ac_cache=
   9145 for ac_item in $ac_header_c_list
   9146 do
   9147   if test $ac_cache; then
   9148     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   9149     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   9150       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   9151     fi
   9152     ac_header= ac_cache=
   9153   elif test $ac_header; then
   9154     ac_cache=$ac_item
   9155   else
   9156     ac_header=$ac_item
   9157   fi
   9158 done
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   9168 then :
   9169 
   9170 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   9171 
   9172 fi
   9173 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9174 "
   9175 if test "x$ac_cv_header_dlfcn_h" = xyes
   9176 then :
   9177   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   9178 
   9179 fi
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 # Set options
   9186 enable_win32_dll=yes
   9187 
   9188 case $host in
   9189 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
   9190   if test -n "$ac_tool_prefix"; then
   9191   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   9192 set dummy ${ac_tool_prefix}as; ac_word=$2
   9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9194 printf %s "checking for $ac_word... " >&6; }
   9195 if test ${ac_cv_prog_AS+y}
   9196 then :
   9197   printf %s "(cached) " >&6
   9198 else $as_nop
   9199   if test -n "$AS"; then
   9200   ac_cv_prog_AS="$AS" # Let the user override the test.
   9201 else
   9202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9203 for as_dir in $PATH
   9204 do
   9205   IFS=$as_save_IFS
   9206   case $as_dir in #(((
   9207     '') as_dir=./ ;;
   9208     */) ;;
   9209     *) as_dir=$as_dir/ ;;
   9210   esac
   9211     for ac_exec_ext in '' $ac_executable_extensions; do
   9212   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9213     ac_cv_prog_AS="${ac_tool_prefix}as"
   9214     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9215     break 2
   9216   fi
   9217 done
   9218   done
   9219 IFS=$as_save_IFS
   9220 
   9221 fi
   9222 fi
   9223 AS=$ac_cv_prog_AS
   9224 if test -n "$AS"; then
   9225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   9226 printf "%s\n" "$AS" >&6; }
   9227 else
   9228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9229 printf "%s\n" "no" >&6; }
   9230 fi
   9231 
   9232 
   9233 fi
   9234 if test -z "$ac_cv_prog_AS"; then
   9235   ac_ct_AS=$AS
   9236   # Extract the first word of "as", so it can be a program name with args.
   9237 set dummy as; ac_word=$2
   9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9239 printf %s "checking for $ac_word... " >&6; }
   9240 if test ${ac_cv_prog_ac_ct_AS+y}
   9241 then :
   9242   printf %s "(cached) " >&6
   9243 else $as_nop
   9244   if test -n "$ac_ct_AS"; then
   9245   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   9246 else
   9247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9248 for as_dir in $PATH
   9249 do
   9250   IFS=$as_save_IFS
   9251   case $as_dir in #(((
   9252     '') as_dir=./ ;;
   9253     */) ;;
   9254     *) as_dir=$as_dir/ ;;
   9255   esac
   9256     for ac_exec_ext in '' $ac_executable_extensions; do
   9257   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9258     ac_cv_prog_ac_ct_AS="as"
   9259     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9260     break 2
   9261   fi
   9262 done
   9263   done
   9264 IFS=$as_save_IFS
   9265 
   9266 fi
   9267 fi
   9268 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   9269 if test -n "$ac_ct_AS"; then
   9270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   9271 printf "%s\n" "$ac_ct_AS" >&6; }
   9272 else
   9273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9274 printf "%s\n" "no" >&6; }
   9275 fi
   9276 
   9277   if test "x$ac_ct_AS" = x; then
   9278     AS="false"
   9279   else
   9280     case $cross_compiling:$ac_tool_warned in
   9281 yes:)
   9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9283 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9284 ac_tool_warned=yes ;;
   9285 esac
   9286     AS=$ac_ct_AS
   9287   fi
   9288 else
   9289   AS="$ac_cv_prog_AS"
   9290 fi
   9291 
   9292   if test -n "$ac_tool_prefix"; then
   9293   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   9294 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9296 printf %s "checking for $ac_word... " >&6; }
   9297 if test ${ac_cv_prog_DLLTOOL+y}
   9298 then :
   9299   printf %s "(cached) " >&6
   9300 else $as_nop
   9301   if test -n "$DLLTOOL"; then
   9302   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   9303 else
   9304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9305 for as_dir in $PATH
   9306 do
   9307   IFS=$as_save_IFS
   9308   case $as_dir in #(((
   9309     '') as_dir=./ ;;
   9310     */) ;;
   9311     *) as_dir=$as_dir/ ;;
   9312   esac
   9313     for ac_exec_ext in '' $ac_executable_extensions; do
   9314   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9315     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   9316     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9317     break 2
   9318   fi
   9319 done
   9320   done
   9321 IFS=$as_save_IFS
   9322 
   9323 fi
   9324 fi
   9325 DLLTOOL=$ac_cv_prog_DLLTOOL
   9326 if test -n "$DLLTOOL"; then
   9327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   9328 printf "%s\n" "$DLLTOOL" >&6; }
   9329 else
   9330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9331 printf "%s\n" "no" >&6; }
   9332 fi
   9333 
   9334 
   9335 fi
   9336 if test -z "$ac_cv_prog_DLLTOOL"; then
   9337   ac_ct_DLLTOOL=$DLLTOOL
   9338   # Extract the first word of "dlltool", so it can be a program name with args.
   9339 set dummy dlltool; ac_word=$2
   9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9341 printf %s "checking for $ac_word... " >&6; }
   9342 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   9343 then :
   9344   printf %s "(cached) " >&6
   9345 else $as_nop
   9346   if test -n "$ac_ct_DLLTOOL"; then
   9347   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   9348 else
   9349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9350 for as_dir in $PATH
   9351 do
   9352   IFS=$as_save_IFS
   9353   case $as_dir in #(((
   9354     '') as_dir=./ ;;
   9355     */) ;;
   9356     *) as_dir=$as_dir/ ;;
   9357   esac
   9358     for ac_exec_ext in '' $ac_executable_extensions; do
   9359   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9360     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   9361     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9362     break 2
   9363   fi
   9364 done
   9365   done
   9366 IFS=$as_save_IFS
   9367 
   9368 fi
   9369 fi
   9370 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   9371 if test -n "$ac_ct_DLLTOOL"; then
   9372   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   9373 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   9374 else
   9375   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9376 printf "%s\n" "no" >&6; }
   9377 fi
   9378 
   9379   if test "x$ac_ct_DLLTOOL" = x; then
   9380     DLLTOOL="false"
   9381   else
   9382     case $cross_compiling:$ac_tool_warned in
   9383 yes:)
   9384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9385 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9386 ac_tool_warned=yes ;;
   9387 esac
   9388     DLLTOOL=$ac_ct_DLLTOOL
   9389   fi
   9390 else
   9391   DLLTOOL="$ac_cv_prog_DLLTOOL"
   9392 fi
   9393 
   9394   if test -n "$ac_tool_prefix"; then
   9395   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   9396 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9398 printf %s "checking for $ac_word... " >&6; }
   9399 if test ${ac_cv_prog_OBJDUMP+y}
   9400 then :
   9401   printf %s "(cached) " >&6
   9402 else $as_nop
   9403   if test -n "$OBJDUMP"; then
   9404   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9405 else
   9406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9407 for as_dir in $PATH
   9408 do
   9409   IFS=$as_save_IFS
   9410   case $as_dir in #(((
   9411     '') as_dir=./ ;;
   9412     */) ;;
   9413     *) as_dir=$as_dir/ ;;
   9414   esac
   9415     for ac_exec_ext in '' $ac_executable_extensions; do
   9416   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9417     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   9418     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9419     break 2
   9420   fi
   9421 done
   9422   done
   9423 IFS=$as_save_IFS
   9424 
   9425 fi
   9426 fi
   9427 OBJDUMP=$ac_cv_prog_OBJDUMP
   9428 if test -n "$OBJDUMP"; then
   9429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9430 printf "%s\n" "$OBJDUMP" >&6; }
   9431 else
   9432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9433 printf "%s\n" "no" >&6; }
   9434 fi
   9435 
   9436 
   9437 fi
   9438 if test -z "$ac_cv_prog_OBJDUMP"; then
   9439   ac_ct_OBJDUMP=$OBJDUMP
   9440   # Extract the first word of "objdump", so it can be a program name with args.
   9441 set dummy objdump; ac_word=$2
   9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9443 printf %s "checking for $ac_word... " >&6; }
   9444 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   9445 then :
   9446   printf %s "(cached) " >&6
   9447 else $as_nop
   9448   if test -n "$ac_ct_OBJDUMP"; then
   9449   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   9450 else
   9451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9452 for as_dir in $PATH
   9453 do
   9454   IFS=$as_save_IFS
   9455   case $as_dir in #(((
   9456     '') as_dir=./ ;;
   9457     */) ;;
   9458     *) as_dir=$as_dir/ ;;
   9459   esac
   9460     for ac_exec_ext in '' $ac_executable_extensions; do
   9461   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9462     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   9463     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9464     break 2
   9465   fi
   9466 done
   9467   done
   9468 IFS=$as_save_IFS
   9469 
   9470 fi
   9471 fi
   9472 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   9473 if test -n "$ac_ct_OBJDUMP"; then
   9474   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   9475 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   9476 else
   9477   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9478 printf "%s\n" "no" >&6; }
   9479 fi
   9480 
   9481   if test "x$ac_ct_OBJDUMP" = x; then
   9482     OBJDUMP="false"
   9483   else
   9484     case $cross_compiling:$ac_tool_warned in
   9485 yes:)
   9486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9487 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9488 ac_tool_warned=yes ;;
   9489 esac
   9490     OBJDUMP=$ac_ct_OBJDUMP
   9491   fi
   9492 else
   9493   OBJDUMP="$ac_cv_prog_OBJDUMP"
   9494 fi
   9495 
   9496   ;;
   9497 esac
   9498 
   9499 test -z "$AS" && AS=as
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 test -z "$DLLTOOL" && DLLTOOL=dlltool
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 test -z "$OBJDUMP" && OBJDUMP=objdump
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519         enable_dlopen=no
   9520 
   9521 
   9522 
   9523             # Check whether --enable-shared was given.
   9524 if test ${enable_shared+y}
   9525 then :
   9526   enableval=$enable_shared; p=${PACKAGE-default}
   9527     case $enableval in
   9528     yes) enable_shared=yes ;;
   9529     no) enable_shared=no ;;
   9530     *)
   9531       enable_shared=no
   9532       # Look at the argument we got.  We use all the common list separators.
   9533       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9534       for pkg in $enableval; do
   9535 	IFS=$lt_save_ifs
   9536 	if test "X$pkg" = "X$p"; then
   9537 	  enable_shared=yes
   9538 	fi
   9539       done
   9540       IFS=$lt_save_ifs
   9541       ;;
   9542     esac
   9543 else $as_nop
   9544   enable_shared=yes
   9545 fi
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555   # Check whether --enable-static was given.
   9556 if test ${enable_static+y}
   9557 then :
   9558   enableval=$enable_static; p=${PACKAGE-default}
   9559     case $enableval in
   9560     yes) enable_static=yes ;;
   9561     no) enable_static=no ;;
   9562     *)
   9563      enable_static=no
   9564       # Look at the argument we got.  We use all the common list separators.
   9565       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9566       for pkg in $enableval; do
   9567 	IFS=$lt_save_ifs
   9568 	if test "X$pkg" = "X$p"; then
   9569 	  enable_static=yes
   9570 	fi
   9571       done
   9572       IFS=$lt_save_ifs
   9573       ;;
   9574     esac
   9575 else $as_nop
   9576   enable_static=yes
   9577 fi
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587   # Check whether --enable-pic was given.
   9588 if test ${enable_pic+y}
   9589 then :
   9590   enableval=$enable_pic; lt_p=${PACKAGE-default}
   9591      case $enableval in
   9592      yes|no) pic_mode=$enableval ;;
   9593      *)
   9594        pic_mode=default
   9595        # Look at the argument we got.  We use all the common list separators.
   9596        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9597        for lt_pkg in $enableval; do
   9598 	 IFS=$lt_save_ifs
   9599 	 if test "X$lt_pkg" = "X$lt_p"; then
   9600 	   pic_mode=yes
   9601 	 fi
   9602        done
   9603        IFS=$lt_save_ifs
   9604        ;;
   9605      esac
   9606 else $as_nop
   9607             # Check whether --with-pic was given.
   9608 if test ${with_pic+y}
   9609 then :
   9610   withval=$with_pic; lt_p=${PACKAGE-default}
   9611 	 case $withval in
   9612 	 yes|no) pic_mode=$withval ;;
   9613 	 *)
   9614 	   pic_mode=default
   9615 	   # Look at the argument we got.  We use all the common list separators.
   9616 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9617 	   for lt_pkg in $withval; do
   9618 	     IFS=$lt_save_ifs
   9619 	     if test "X$lt_pkg" = "X$lt_p"; then
   9620 	       pic_mode=yes
   9621 	     fi
   9622 	   done
   9623 	   IFS=$lt_save_ifs
   9624 	   ;;
   9625 	 esac
   9626 else $as_nop
   9627   pic_mode=default
   9628 fi
   9629 
   9630 
   9631 fi
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640   # Check whether --enable-fast-install was given.
   9641 if test ${enable_fast_install+y}
   9642 then :
   9643   enableval=$enable_fast_install; p=${PACKAGE-default}
   9644     case $enableval in
   9645     yes) enable_fast_install=yes ;;
   9646     no) enable_fast_install=no ;;
   9647     *)
   9648       enable_fast_install=no
   9649       # Look at the argument we got.  We use all the common list separators.
   9650       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9651       for pkg in $enableval; do
   9652 	IFS=$lt_save_ifs
   9653 	if test "X$pkg" = "X$p"; then
   9654 	  enable_fast_install=yes
   9655 	fi
   9656       done
   9657       IFS=$lt_save_ifs
   9658       ;;
   9659     esac
   9660 else $as_nop
   9661   enable_fast_install=yes
   9662 fi
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671   shared_archive_member_spec=
   9672 case $host,$enable_shared in
   9673 power*-*-aix[5-9]*,yes)
   9674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9675 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9676   # Check whether --enable-aix-soname was given.
   9677 if test ${enable_aix_soname+y}
   9678 then :
   9679   enableval=$enable_aix_soname; case $enableval in
   9680      aix|svr4|both)
   9681        ;;
   9682      *)
   9683        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   9684        ;;
   9685      esac
   9686      lt_cv_with_aix_soname=$enable_aix_soname
   9687 else $as_nop
   9688   # Check whether --with-aix-soname was given.
   9689 if test ${with_aix_soname+y}
   9690 then :
   9691   withval=$with_aix_soname; case $withval in
   9692          aix|svr4|both)
   9693            ;;
   9694          *)
   9695            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9696            ;;
   9697          esac
   9698          lt_cv_with_aix_soname=$with_aix_soname
   9699 else $as_nop
   9700   if test ${lt_cv_with_aix_soname+y}
   9701 then :
   9702   printf %s "(cached) " >&6
   9703 else $as_nop
   9704   lt_cv_with_aix_soname=aix
   9705 fi
   9706 
   9707 fi
   9708 
   9709      enable_aix_soname=$lt_cv_with_aix_soname
   9710 fi
   9711 
   9712   with_aix_soname=$enable_aix_soname
   9713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9714 printf "%s\n" "$with_aix_soname" >&6; }
   9715   if test aix != "$with_aix_soname"; then
   9716     # For the AIX way of multilib, we name the shared archive member
   9717     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9718     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9719     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9720     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9721     if test 64 = "${OBJECT_MODE-32}"; then
   9722       shared_archive_member_spec=shr_64
   9723     else
   9724       shared_archive_member_spec=shr
   9725     fi
   9726   fi
   9727   ;;
   9728 *)
   9729   with_aix_soname=aix
   9730   ;;
   9731 esac
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 # This can be used to rebuild libtool when needed
   9743 LIBTOOL_DEPS=$ltmain
   9744 
   9745 # Always use our own libtool.
   9746 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 test -z "$LN_S" && LN_S="ln -s"
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 if test -n "${ZSH_VERSION+set}"; then
   9793    setopt NO_GLOB_SUBST
   9794 fi
   9795 
   9796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9797 printf %s "checking for objdir... " >&6; }
   9798 if test ${lt_cv_objdir+y}
   9799 then :
   9800   printf %s "(cached) " >&6
   9801 else $as_nop
   9802   rm -f .libs 2>/dev/null
   9803 mkdir .libs 2>/dev/null
   9804 if test -d .libs; then
   9805   lt_cv_objdir=.libs
   9806 else
   9807   # MS-DOS does not allow filenames that begin with a dot.
   9808   lt_cv_objdir=_libs
   9809 fi
   9810 rmdir .libs 2>/dev/null
   9811 fi
   9812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9813 printf "%s\n" "$lt_cv_objdir" >&6; }
   9814 objdir=$lt_cv_objdir
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9821 
   9822 
   9823 
   9824 
   9825 case $host_os in
   9826 aix3*)
   9827   # AIX sometimes has problems with the GCC collect2 program.  For some
   9828   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9829   # vanish in a puff of smoke.
   9830   if test set != "${COLLECT_NAMES+set}"; then
   9831     COLLECT_NAMES=
   9832     export COLLECT_NAMES
   9833   fi
   9834   ;;
   9835 esac
   9836 
   9837 # Global variables:
   9838 ofile=libtool
   9839 can_build_shared=yes
   9840 
   9841 # All known linkers require a '.a' archive for static linking (except MSVC and
   9842 # ICC, which need '.lib').
   9843 libext=a
   9844 
   9845 with_gnu_ld=$lt_cv_prog_gnu_ld
   9846 
   9847 old_CC=$CC
   9848 old_CFLAGS=$CFLAGS
   9849 
   9850 # Set sane defaults for various variables
   9851 test -z "$CC" && CC=cc
   9852 test -z "$LTCC" && LTCC=$CC
   9853 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9854 test -z "$LD" && LD=ld
   9855 test -z "$ac_objext" && ac_objext=o
   9856 
   9857 func_cc_basename $compiler
   9858 cc_basename=$func_cc_basename_result
   9859 
   9860 
   9861 # Only perform the check for file, if the check method requires it
   9862 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9863 case $deplibs_check_method in
   9864 file_magic*)
   9865   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9866     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9867 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9868 if test ${lt_cv_path_MAGIC_CMD+y}
   9869 then :
   9870   printf %s "(cached) " >&6
   9871 else $as_nop
   9872   case $MAGIC_CMD in
   9873 [\\/*] |  ?:[\\/]*)
   9874   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9875   ;;
   9876 *)
   9877   lt_save_MAGIC_CMD=$MAGIC_CMD
   9878   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9879   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9880   for ac_dir in $ac_dummy; do
   9881     IFS=$lt_save_ifs
   9882     test -z "$ac_dir" && ac_dir=.
   9883     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9884       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9885       if test -n "$file_magic_test_file"; then
   9886 	case $deplibs_check_method in
   9887 	"file_magic "*)
   9888 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9889 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9890 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9891 	    $EGREP "$file_magic_regex" > /dev/null; then
   9892 	    :
   9893 	  else
   9894 	    cat <<_LT_EOF 1>&2
   9895 
   9896 *** Warning: the command libtool uses to detect shared libraries,
   9897 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9898 *** The result is that libtool may fail to recognize shared libraries
   9899 *** as such.  This will affect the creation of libtool libraries that
   9900 *** depend on shared libraries, but programs linked with such libtool
   9901 *** libraries will work regardless of this problem.  Nevertheless, you
   9902 *** may want to report the problem to your system manager and/or to
   9903 *** bug-libtool@gnu.org
   9904 
   9905 _LT_EOF
   9906 	  fi ;;
   9907 	esac
   9908       fi
   9909       break
   9910     fi
   9911   done
   9912   IFS=$lt_save_ifs
   9913   MAGIC_CMD=$lt_save_MAGIC_CMD
   9914   ;;
   9915 esac
   9916 fi
   9917 
   9918 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9919 if test -n "$MAGIC_CMD"; then
   9920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9921 printf "%s\n" "$MAGIC_CMD" >&6; }
   9922 else
   9923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9924 printf "%s\n" "no" >&6; }
   9925 fi
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9932   if test -n "$ac_tool_prefix"; then
   9933     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9934 printf %s "checking for file... " >&6; }
   9935 if test ${lt_cv_path_MAGIC_CMD+y}
   9936 then :
   9937   printf %s "(cached) " >&6
   9938 else $as_nop
   9939   case $MAGIC_CMD in
   9940 [\\/*] |  ?:[\\/]*)
   9941   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9942   ;;
   9943 *)
   9944   lt_save_MAGIC_CMD=$MAGIC_CMD
   9945   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9946   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9947   for ac_dir in $ac_dummy; do
   9948     IFS=$lt_save_ifs
   9949     test -z "$ac_dir" && ac_dir=.
   9950     if test -f "$ac_dir/file"; then
   9951       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9952       if test -n "$file_magic_test_file"; then
   9953 	case $deplibs_check_method in
   9954 	"file_magic "*)
   9955 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9956 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9957 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9958 	    $EGREP "$file_magic_regex" > /dev/null; then
   9959 	    :
   9960 	  else
   9961 	    cat <<_LT_EOF 1>&2
   9962 
   9963 *** Warning: the command libtool uses to detect shared libraries,
   9964 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9965 *** The result is that libtool may fail to recognize shared libraries
   9966 *** as such.  This will affect the creation of libtool libraries that
   9967 *** depend on shared libraries, but programs linked with such libtool
   9968 *** libraries will work regardless of this problem.  Nevertheless, you
   9969 *** may want to report the problem to your system manager and/or to
   9970 *** bug-libtool@gnu.org
   9971 
   9972 _LT_EOF
   9973 	  fi ;;
   9974 	esac
   9975       fi
   9976       break
   9977     fi
   9978   done
   9979   IFS=$lt_save_ifs
   9980   MAGIC_CMD=$lt_save_MAGIC_CMD
   9981   ;;
   9982 esac
   9983 fi
   9984 
   9985 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9986 if test -n "$MAGIC_CMD"; then
   9987   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9988 printf "%s\n" "$MAGIC_CMD" >&6; }
   9989 else
   9990   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9991 printf "%s\n" "no" >&6; }
   9992 fi
   9993 
   9994 
   9995   else
   9996     MAGIC_CMD=:
   9997   fi
   9998 fi
   9999 
   10000   fi
   10001   ;;
   10002 esac
   10003 
   10004 # Use C for the default configuration in the libtool script
   10005 
   10006 lt_save_CC=$CC
   10007 ac_ext=c
   10008 ac_cpp='$CPP $CPPFLAGS'
   10009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10012 
   10013 
   10014 # Source file extension for C test sources.
   10015 ac_ext=c
   10016 
   10017 # Object file extension for compiled C test sources.
   10018 objext=o
   10019 objext=$objext
   10020 
   10021 # Code to be used in simple compile tests
   10022 lt_simple_compile_test_code="int some_variable = 0;"
   10023 
   10024 # Code to be used in simple link tests
   10025 lt_simple_link_test_code='int main(void){return(0);}'
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 # If no C compiler was specified, use CC.
   10034 LTCC=${LTCC-"$CC"}
   10035 
   10036 # If no C compiler flags were specified, use CFLAGS.
   10037 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10038 
   10039 # Allow CC to be a program name with arguments.
   10040 compiler=$CC
   10041 
   10042 # Save the default compiler, since it gets overwritten when the other
   10043 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   10044 compiler_DEFAULT=$CC
   10045 
   10046 # save warnings/boilerplate of simple test code
   10047 ac_outfile=conftest.$ac_objext
   10048 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10049 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10050 _lt_compiler_boilerplate=`cat conftest.err`
   10051 $RM conftest*
   10052 
   10053 ac_outfile=conftest.$ac_objext
   10054 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10055 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10056 _lt_linker_boilerplate=`cat conftest.err`
   10057 $RM -r conftest*
   10058 
   10059 
   10060 ## CAVEAT EMPTOR:
   10061 ## There is no encapsulation within the following macros, do not change
   10062 ## the running order or otherwise move them around unless you know exactly
   10063 ## what you are doing...
   10064 if test -n "$compiler"; then
   10065 
   10066 lt_prog_compiler_no_builtin_flag=
   10067 
   10068 if test yes = "$GCC"; then
   10069   case $cc_basename in
   10070   nvcc*)
   10071     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   10072   *)
   10073     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   10074   esac
   10075 
   10076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   10077 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   10078 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   10079 then :
   10080   printf %s "(cached) " >&6
   10081 else $as_nop
   10082   lt_cv_prog_compiler_rtti_exceptions=no
   10083    ac_outfile=conftest.$ac_objext
   10084    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10085    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   10086    # Insert the option either (1) after the last *FLAGS variable, or
   10087    # (2) before a word containing "conftest.", or (3) at the end.
   10088    # Note that $ac_compile itself does not contain backslashes and begins
   10089    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10090    # The option is referenced via a variable to avoid confusing sed.
   10091    lt_compile=`echo "$ac_compile" | $SED \
   10092    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10093    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10094    -e 's:$: $lt_compiler_flag:'`
   10095    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10096    (eval "$lt_compile" 2>conftest.err)
   10097    ac_status=$?
   10098    cat conftest.err >&5
   10099    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10100    if (exit $ac_status) && test -s "$ac_outfile"; then
   10101      # The compiler can only warn and ignore the option if not recognized
   10102      # So say no if there are warnings other than the usual output.
   10103      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10104      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10105      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10106        lt_cv_prog_compiler_rtti_exceptions=yes
   10107      fi
   10108    fi
   10109    $RM conftest*
   10110 
   10111 fi
   10112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   10113 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   10114 
   10115 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   10116     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   10117 else
   10118     :
   10119 fi
   10120 
   10121 fi
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128   lt_prog_compiler_wl=
   10129 lt_prog_compiler_pic=
   10130 lt_prog_compiler_static=
   10131 
   10132 
   10133   if test yes = "$GCC"; then
   10134     lt_prog_compiler_wl='-Wl,'
   10135     lt_prog_compiler_static='-static'
   10136 
   10137     case $host_os in
   10138       aix*)
   10139       # All AIX code is PIC.
   10140       if test ia64 = "$host_cpu"; then
   10141 	# AIX 5 now supports IA64 processor
   10142 	lt_prog_compiler_static='-Bstatic'
   10143       fi
   10144       lt_prog_compiler_pic='-fPIC'
   10145       ;;
   10146 
   10147     amigaos*)
   10148       case $host_cpu in
   10149       powerpc)
   10150             # see comment about AmigaOS4 .so support
   10151             lt_prog_compiler_pic='-fPIC'
   10152         ;;
   10153       m68k)
   10154             # FIXME: we need at least 68020 code to build shared libraries, but
   10155             # adding the '-m68020' flag to GCC prevents building anything better,
   10156             # like '-m68040'.
   10157             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   10158         ;;
   10159       esac
   10160       ;;
   10161 
   10162     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   10163       # PIC is the default for these OSes.
   10164       ;;
   10165 
   10166     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   10167       # This hack is so that the source file can tell whether it is being
   10168       # built for inclusion in a dll (and should export symbols for example).
   10169       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   10170       # (--disable-auto-import) libraries
   10171       lt_prog_compiler_pic='-DDLL_EXPORT'
   10172       case $host_os in
   10173       os2*)
   10174 	lt_prog_compiler_static='$wl-static'
   10175 	;;
   10176       esac
   10177       ;;
   10178 
   10179     darwin* | rhapsody*)
   10180       # PIC is the default on this platform
   10181       # Common symbols not allowed in MH_DYLIB files
   10182       lt_prog_compiler_pic='-fno-common'
   10183       ;;
   10184 
   10185     haiku*)
   10186       # PIC is the default for Haiku.
   10187       # The "-static" flag exists, but is broken.
   10188       lt_prog_compiler_static=
   10189       ;;
   10190 
   10191     hpux*)
   10192       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   10193       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   10194       # sets the default TLS model and affects inlining.
   10195       case $host_cpu in
   10196       hppa*64*)
   10197 	# +Z the default
   10198 	;;
   10199       *)
   10200 	lt_prog_compiler_pic='-fPIC'
   10201 	;;
   10202       esac
   10203       ;;
   10204 
   10205     interix[3-9]*)
   10206       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   10207       # Instead, we relocate shared libraries at runtime.
   10208       ;;
   10209 
   10210     msdosdjgpp*)
   10211       # Just because we use GCC doesn't mean we suddenly get shared libraries
   10212       # on systems that don't support them.
   10213       lt_prog_compiler_can_build_shared=no
   10214       enable_shared=no
   10215       ;;
   10216 
   10217     *nto* | *qnx*)
   10218       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10219       # it will coredump.
   10220       lt_prog_compiler_pic='-fPIC -shared'
   10221       ;;
   10222 
   10223     sysv4*MP*)
   10224       if test -d /usr/nec; then
   10225 	lt_prog_compiler_pic=-Kconform_pic
   10226       fi
   10227       ;;
   10228 
   10229     *)
   10230       lt_prog_compiler_pic='-fPIC'
   10231       ;;
   10232     esac
   10233 
   10234     case $cc_basename in
   10235     nvcc*) # Cuda Compiler Driver 2.2
   10236       lt_prog_compiler_wl='-Xlinker '
   10237       if test -n "$lt_prog_compiler_pic"; then
   10238         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   10239       fi
   10240       ;;
   10241     esac
   10242   else
   10243     # PORTME Check for flag to pass linker flags through the system compiler.
   10244     case $host_os in
   10245     aix*)
   10246       lt_prog_compiler_wl='-Wl,'
   10247       if test ia64 = "$host_cpu"; then
   10248 	# AIX 5 now supports IA64 processor
   10249 	lt_prog_compiler_static='-Bstatic'
   10250       else
   10251 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   10252       fi
   10253       ;;
   10254 
   10255     darwin* | rhapsody*)
   10256       # PIC is the default on this platform
   10257       # Common symbols not allowed in MH_DYLIB files
   10258       lt_prog_compiler_pic='-fno-common'
   10259       case $cc_basename in
   10260       nagfor*)
   10261         # NAG Fortran compiler
   10262         lt_prog_compiler_wl='-Wl,-Wl,,'
   10263         lt_prog_compiler_pic='-PIC'
   10264         lt_prog_compiler_static='-Bstatic'
   10265         ;;
   10266       esac
   10267       ;;
   10268 
   10269     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   10270       # This hack is so that the source file can tell whether it is being
   10271       # built for inclusion in a dll (and should export symbols for example).
   10272       lt_prog_compiler_pic='-DDLL_EXPORT'
   10273       case $host_os in
   10274       os2*)
   10275 	lt_prog_compiler_static='$wl-static'
   10276 	;;
   10277       esac
   10278       ;;
   10279 
   10280     hpux9* | hpux10* | hpux11*)
   10281       lt_prog_compiler_wl='-Wl,'
   10282       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10283       # not for PA HP-UX.
   10284       case $host_cpu in
   10285       hppa*64*|ia64*)
   10286 	# +Z the default
   10287 	;;
   10288       *)
   10289 	lt_prog_compiler_pic='+Z'
   10290 	;;
   10291       esac
   10292       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10293       lt_prog_compiler_static='$wl-a ${wl}archive'
   10294       ;;
   10295 
   10296     irix5* | irix6* | nonstopux*)
   10297       lt_prog_compiler_wl='-Wl,'
   10298       # PIC (with -KPIC) is the default.
   10299       lt_prog_compiler_static='-non_shared'
   10300       ;;
   10301 
   10302     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10303       case $cc_basename in
   10304       # old Intel for x86_64, which still supported -KPIC.
   10305       ecc*)
   10306 	lt_prog_compiler_wl='-Wl,'
   10307 	lt_prog_compiler_pic='-KPIC'
   10308 	lt_prog_compiler_static='-static'
   10309         ;;
   10310       *flang* | ftn | f18* | f95*)
   10311         # Flang compiler.
   10312 	lt_prog_compiler_wl='-Wl,'
   10313 	lt_prog_compiler_pic='-fPIC'
   10314 	lt_prog_compiler_static='-static'
   10315         ;;
   10316       # icc used to be incompatible with GCC.
   10317       # ICC 10 doesn't accept -KPIC any more.
   10318       icc* | ifort*)
   10319 	lt_prog_compiler_wl='-Wl,'
   10320 	lt_prog_compiler_pic='-fPIC'
   10321 	lt_prog_compiler_static='-static'
   10322         ;;
   10323       # Lahey Fortran 8.1.
   10324       lf95*)
   10325 	lt_prog_compiler_wl='-Wl,'
   10326 	lt_prog_compiler_pic='--shared'
   10327 	lt_prog_compiler_static='--static'
   10328 	;;
   10329       nagfor*)
   10330 	# NAG Fortran compiler
   10331 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10332 	lt_prog_compiler_pic='-PIC'
   10333 	lt_prog_compiler_static='-Bstatic'
   10334 	;;
   10335       tcc*)
   10336 	# Fabrice Bellard et al's Tiny C Compiler
   10337 	lt_prog_compiler_wl='-Wl,'
   10338 	lt_prog_compiler_pic='-fPIC'
   10339 	lt_prog_compiler_static='-static'
   10340 	;;
   10341       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10342         # Portland Group compilers (*not* the Pentium gcc compiler,
   10343 	# which looks to be a dead project)
   10344 	lt_prog_compiler_wl='-Wl,'
   10345 	lt_prog_compiler_pic='-fpic'
   10346 	lt_prog_compiler_static='-Bstatic'
   10347         ;;
   10348       ccc*)
   10349         lt_prog_compiler_wl='-Wl,'
   10350         # All Alpha code is PIC.
   10351         lt_prog_compiler_static='-non_shared'
   10352         ;;
   10353       xl* | bgxl* | bgf* | mpixl*)
   10354 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10355 	lt_prog_compiler_wl='-Wl,'
   10356 	lt_prog_compiler_pic='-qpic'
   10357 	lt_prog_compiler_static='-qstaticlink'
   10358 	;;
   10359       *)
   10360 	case `$CC -V 2>&1 | $SED 5q` in
   10361 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10362 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10363 	  lt_prog_compiler_pic='-KPIC'
   10364 	  lt_prog_compiler_static='-Bstatic'
   10365 	  lt_prog_compiler_wl=''
   10366 	  ;;
   10367 	*Sun\ F* | *Sun*Fortran*)
   10368 	  lt_prog_compiler_pic='-KPIC'
   10369 	  lt_prog_compiler_static='-Bstatic'
   10370 	  lt_prog_compiler_wl='-Qoption ld '
   10371 	  ;;
   10372 	*Sun\ C*)
   10373 	  # Sun C 5.9
   10374 	  lt_prog_compiler_pic='-KPIC'
   10375 	  lt_prog_compiler_static='-Bstatic'
   10376 	  lt_prog_compiler_wl='-Wl,'
   10377 	  ;;
   10378         *Intel*\ [CF]*Compiler*)
   10379 	  lt_prog_compiler_wl='-Wl,'
   10380 	  lt_prog_compiler_pic='-fPIC'
   10381 	  lt_prog_compiler_static='-static'
   10382 	  ;;
   10383 	*Portland\ Group*)
   10384 	  lt_prog_compiler_wl='-Wl,'
   10385 	  lt_prog_compiler_pic='-fpic'
   10386 	  lt_prog_compiler_static='-Bstatic'
   10387 	  ;;
   10388 	esac
   10389 	;;
   10390       esac
   10391       ;;
   10392 
   10393     newsos6)
   10394       lt_prog_compiler_pic='-KPIC'
   10395       lt_prog_compiler_static='-Bstatic'
   10396       ;;
   10397 
   10398     *-mlibc)
   10399       lt_prog_compiler_wl='-Wl,'
   10400       lt_prog_compiler_pic='-fPIC'
   10401       lt_prog_compiler_static='-static'
   10402       ;;
   10403 
   10404     *nto* | *qnx*)
   10405       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10406       # it will coredump.
   10407       lt_prog_compiler_pic='-fPIC -shared'
   10408       ;;
   10409 
   10410     osf3* | osf4* | osf5*)
   10411       lt_prog_compiler_wl='-Wl,'
   10412       # All OSF/1 code is PIC.
   10413       lt_prog_compiler_static='-non_shared'
   10414       ;;
   10415 
   10416     rdos*)
   10417       lt_prog_compiler_static='-non_shared'
   10418       ;;
   10419 
   10420     serenity*)
   10421       ;;
   10422 
   10423     solaris*)
   10424       lt_prog_compiler_pic='-KPIC'
   10425       lt_prog_compiler_static='-Bstatic'
   10426       case $cc_basename in
   10427       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10428 	lt_prog_compiler_wl='-Qoption ld ';;
   10429       *)
   10430 	lt_prog_compiler_wl='-Wl,';;
   10431       esac
   10432       ;;
   10433 
   10434     sunos4*)
   10435       lt_prog_compiler_wl='-Qoption ld '
   10436       lt_prog_compiler_pic='-PIC'
   10437       lt_prog_compiler_static='-Bstatic'
   10438       ;;
   10439 
   10440     sysv4 | sysv4.2uw2* | sysv4.3*)
   10441       lt_prog_compiler_wl='-Wl,'
   10442       lt_prog_compiler_pic='-KPIC'
   10443       lt_prog_compiler_static='-Bstatic'
   10444       ;;
   10445 
   10446     sysv4*MP*)
   10447       if test -d /usr/nec; then
   10448 	lt_prog_compiler_pic='-Kconform_pic'
   10449 	lt_prog_compiler_static='-Bstatic'
   10450       fi
   10451       ;;
   10452 
   10453     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10454       lt_prog_compiler_wl='-Wl,'
   10455       lt_prog_compiler_pic='-KPIC'
   10456       lt_prog_compiler_static='-Bstatic'
   10457       ;;
   10458 
   10459     unicos*)
   10460       lt_prog_compiler_wl='-Wl,'
   10461       lt_prog_compiler_can_build_shared=no
   10462       ;;
   10463 
   10464     uts4*)
   10465       lt_prog_compiler_pic='-pic'
   10466       lt_prog_compiler_static='-Bstatic'
   10467       ;;
   10468 
   10469     *)
   10470       lt_prog_compiler_can_build_shared=no
   10471       ;;
   10472     esac
   10473   fi
   10474 
   10475 case $host_os in
   10476   # For platforms that do not support PIC, -DPIC is meaningless:
   10477   *djgpp*)
   10478     lt_prog_compiler_pic=
   10479     ;;
   10480   *)
   10481     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10482     ;;
   10483 esac
   10484 
   10485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10486 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10487 if test ${lt_cv_prog_compiler_pic+y}
   10488 then :
   10489   printf %s "(cached) " >&6
   10490 else $as_nop
   10491   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   10492 fi
   10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10494 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   10495 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10496 
   10497 #
   10498 # Check to make sure the PIC flag actually works.
   10499 #
   10500 if test -n "$lt_prog_compiler_pic"; then
   10501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10502 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10503 if test ${lt_cv_prog_compiler_pic_works+y}
   10504 then :
   10505   printf %s "(cached) " >&6
   10506 else $as_nop
   10507   lt_cv_prog_compiler_pic_works=no
   10508    ac_outfile=conftest.$ac_objext
   10509    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10510    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10511    # Insert the option either (1) after the last *FLAGS variable, or
   10512    # (2) before a word containing "conftest.", or (3) at the end.
   10513    # Note that $ac_compile itself does not contain backslashes and begins
   10514    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10515    # The option is referenced via a variable to avoid confusing sed.
   10516    lt_compile=`echo "$ac_compile" | $SED \
   10517    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10518    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10519    -e 's:$: $lt_compiler_flag:'`
   10520    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10521    (eval "$lt_compile" 2>conftest.err)
   10522    ac_status=$?
   10523    cat conftest.err >&5
   10524    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10525    if (exit $ac_status) && test -s "$ac_outfile"; then
   10526      # The compiler can only warn and ignore the option if not recognized
   10527      # So say no if there are warnings other than the usual output.
   10528      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10529      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10530      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10531        lt_cv_prog_compiler_pic_works=yes
   10532      fi
   10533    fi
   10534    $RM conftest*
   10535 
   10536 fi
   10537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10538 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   10539 
   10540 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10541     case $lt_prog_compiler_pic in
   10542      "" | " "*) ;;
   10543      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10544      esac
   10545 else
   10546     lt_prog_compiler_pic=
   10547      lt_prog_compiler_can_build_shared=no
   10548 fi
   10549 
   10550 fi
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 #
   10563 # Check to make sure the static flag actually works.
   10564 #
   10565 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10567 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10568 if test ${lt_cv_prog_compiler_static_works+y}
   10569 then :
   10570   printf %s "(cached) " >&6
   10571 else $as_nop
   10572   lt_cv_prog_compiler_static_works=no
   10573    save_LDFLAGS=$LDFLAGS
   10574    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10575    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10576    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10577      # The linker can only warn and ignore the option if not recognized
   10578      # So say no if there are warnings
   10579      if test -s conftest.err; then
   10580        # Append any errors to the config.log.
   10581        cat conftest.err 1>&5
   10582        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10583        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10584        if diff conftest.exp conftest.er2 >/dev/null; then
   10585          lt_cv_prog_compiler_static_works=yes
   10586        fi
   10587      else
   10588        lt_cv_prog_compiler_static_works=yes
   10589      fi
   10590    fi
   10591    $RM -r conftest*
   10592    LDFLAGS=$save_LDFLAGS
   10593 
   10594 fi
   10595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10596 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   10597 
   10598 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10599     :
   10600 else
   10601     lt_prog_compiler_static=
   10602 fi
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10611 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10612 if test ${lt_cv_prog_compiler_c_o+y}
   10613 then :
   10614   printf %s "(cached) " >&6
   10615 else $as_nop
   10616   lt_cv_prog_compiler_c_o=no
   10617    $RM -r conftest 2>/dev/null
   10618    mkdir conftest
   10619    cd conftest
   10620    mkdir out
   10621    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10622 
   10623    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10624    # Insert the option either (1) after the last *FLAGS variable, or
   10625    # (2) before a word containing "conftest.", or (3) at the end.
   10626    # Note that $ac_compile itself does not contain backslashes and begins
   10627    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10628    lt_compile=`echo "$ac_compile" | $SED \
   10629    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10630    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10631    -e 's:$: $lt_compiler_flag:'`
   10632    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10633    (eval "$lt_compile" 2>out/conftest.err)
   10634    ac_status=$?
   10635    cat out/conftest.err >&5
   10636    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10637    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10638    then
   10639      # The compiler can only warn and ignore the option if not recognized
   10640      # So say no if there are warnings
   10641      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10642      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10643      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10644        lt_cv_prog_compiler_c_o=yes
   10645      fi
   10646    fi
   10647    chmod u+w . 2>&5
   10648    $RM conftest*
   10649    # SGI C++ compiler will create directory out/ii_files/ for
   10650    # template instantiation
   10651    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10652    $RM out/* && rmdir out
   10653    cd ..
   10654    $RM -r conftest
   10655    $RM conftest*
   10656 
   10657 fi
   10658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10659 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10667 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10668 if test ${lt_cv_prog_compiler_c_o+y}
   10669 then :
   10670   printf %s "(cached) " >&6
   10671 else $as_nop
   10672   lt_cv_prog_compiler_c_o=no
   10673    $RM -r conftest 2>/dev/null
   10674    mkdir conftest
   10675    cd conftest
   10676    mkdir out
   10677    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10678 
   10679    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10680    # Insert the option either (1) after the last *FLAGS variable, or
   10681    # (2) before a word containing "conftest.", or (3) at the end.
   10682    # Note that $ac_compile itself does not contain backslashes and begins
   10683    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10684    lt_compile=`echo "$ac_compile" | $SED \
   10685    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10686    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10687    -e 's:$: $lt_compiler_flag:'`
   10688    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10689    (eval "$lt_compile" 2>out/conftest.err)
   10690    ac_status=$?
   10691    cat out/conftest.err >&5
   10692    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10693    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10694    then
   10695      # The compiler can only warn and ignore the option if not recognized
   10696      # So say no if there are warnings
   10697      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10698      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10699      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10700        lt_cv_prog_compiler_c_o=yes
   10701      fi
   10702    fi
   10703    chmod u+w . 2>&5
   10704    $RM conftest*
   10705    # SGI C++ compiler will create directory out/ii_files/ for
   10706    # template instantiation
   10707    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10708    $RM out/* && rmdir out
   10709    cd ..
   10710    $RM -r conftest
   10711    $RM conftest*
   10712 
   10713 fi
   10714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10715 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10716 
   10717 
   10718 
   10719 
   10720 hard_links=nottested
   10721 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10722   # do not overwrite the value of need_locks provided by the user
   10723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10724 printf %s "checking if we can lock with hard links... " >&6; }
   10725   hard_links=yes
   10726   $RM conftest*
   10727   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10728   touch conftest.a
   10729   ln conftest.a conftest.b 2>&5 || hard_links=no
   10730   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10732 printf "%s\n" "$hard_links" >&6; }
   10733   if test no = "$hard_links"; then
   10734     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10735 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10736     need_locks=warn
   10737   fi
   10738 else
   10739   need_locks=no
   10740 fi
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10748 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10749 
   10750   runpath_var=
   10751   allow_undefined_flag=
   10752   always_export_symbols=no
   10753   archive_cmds=
   10754   archive_expsym_cmds=
   10755   compiler_needs_object=no
   10756   enable_shared_with_static_runtimes=no
   10757   export_dynamic_flag_spec=
   10758   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10759   hardcode_automatic=no
   10760   hardcode_direct=no
   10761   hardcode_direct_absolute=no
   10762   hardcode_libdir_flag_spec=
   10763   hardcode_libdir_separator=
   10764   hardcode_minus_L=no
   10765   hardcode_shlibpath_var=unsupported
   10766   inherit_rpath=no
   10767   link_all_deplibs=unknown
   10768   module_cmds=
   10769   module_expsym_cmds=
   10770   old_archive_from_new_cmds=
   10771   old_archive_from_expsyms_cmds=
   10772   thread_safe_flag_spec=
   10773   whole_archive_flag_spec=
   10774   # include_expsyms should be a list of space-separated symbols to be *always*
   10775   # included in the symbol list
   10776   include_expsyms=
   10777   # exclude_expsyms can be an extended regexp of symbols to exclude
   10778   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10779   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10780   # as well as any symbol that contains 'd'.
   10781   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10782   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10783   # platforms (ab)use it in PIC code, but their linkers get confused if
   10784   # the symbol is explicitly referenced.  Since portable code cannot
   10785   # rely on this symbol name, it's probably fine to never include it in
   10786   # preloaded symbol tables.
   10787   # Exclude shared library initialization/finalization symbols.
   10788   extract_expsyms_cmds=
   10789 
   10790   case $host_os in
   10791   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10792     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10793     # When not using gcc, we currently assume that we are using
   10794     # Microsoft Visual C++ or Intel C++ Compiler.
   10795     if test yes != "$GCC"; then
   10796       with_gnu_ld=no
   10797     fi
   10798     ;;
   10799   interix*)
   10800     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10801     with_gnu_ld=yes
   10802     ;;
   10803   esac
   10804 
   10805   ld_shlibs=yes
   10806 
   10807   # On some targets, GNU ld is compatible enough with the native linker
   10808   # that we're better off using the native interface for both.
   10809   lt_use_gnu_ld_interface=no
   10810   if test yes = "$with_gnu_ld"; then
   10811     case $host_os in
   10812       aix*)
   10813 	# The AIX port of GNU ld has always aspired to compatibility
   10814 	# with the native linker.  However, as the warning in the GNU ld
   10815 	# block says, versions before 2.19.5* couldn't really create working
   10816 	# shared libraries, regardless of the interface used.
   10817 	case `$LD -v 2>&1` in
   10818 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10819 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10820 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10821 	  *)
   10822 	    lt_use_gnu_ld_interface=yes
   10823 	    ;;
   10824 	esac
   10825 	;;
   10826       *)
   10827 	lt_use_gnu_ld_interface=yes
   10828 	;;
   10829     esac
   10830   fi
   10831 
   10832   if test yes = "$lt_use_gnu_ld_interface"; then
   10833     # If archive_cmds runs LD, not CC, wlarc should be empty
   10834     wlarc='$wl'
   10835 
   10836     # Set some defaults for GNU ld with shared library support. These
   10837     # are reset later if shared libraries are not supported. Putting them
   10838     # here allows them to be overridden if necessary.
   10839     runpath_var=LD_RUN_PATH
   10840     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10841     export_dynamic_flag_spec='$wl--export-dynamic'
   10842     # ancient GNU ld didn't support --whole-archive et. al.
   10843     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10844       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10845     else
   10846       whole_archive_flag_spec=
   10847     fi
   10848     supports_anon_versioning=no
   10849     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10850       *GNU\ gold*) supports_anon_versioning=yes ;;
   10851       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10852       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10853       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10854       *\ 2.11.*) ;; # other 2.11 versions
   10855       *) supports_anon_versioning=yes ;;
   10856     esac
   10857 
   10858     # See if GNU ld supports shared libraries.
   10859     case $host_os in
   10860     aix[3-9]*)
   10861       # On AIX/PPC, the GNU linker is very broken
   10862       if test ia64 != "$host_cpu"; then
   10863 	ld_shlibs=no
   10864 	cat <<_LT_EOF 1>&2
   10865 
   10866 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10867 *** to be unable to reliably create shared libraries on AIX.
   10868 *** Therefore, libtool is disabling shared libraries support.  If you
   10869 *** really care for shared libraries, you may want to install binutils
   10870 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10871 *** You will then need to restart the configuration process.
   10872 
   10873 _LT_EOF
   10874       fi
   10875       ;;
   10876 
   10877     amigaos*)
   10878       case $host_cpu in
   10879       powerpc)
   10880             # see comment about AmigaOS4 .so support
   10881             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10882             archive_expsym_cmds=''
   10883         ;;
   10884       m68k)
   10885             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)'
   10886             hardcode_libdir_flag_spec='-L$libdir'
   10887             hardcode_minus_L=yes
   10888         ;;
   10889       esac
   10890       ;;
   10891 
   10892     beos*)
   10893       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10894 	allow_undefined_flag=unsupported
   10895 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10896 	# support --undefined.  This deserves some investigation.  FIXME
   10897 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10898       else
   10899 	ld_shlibs=no
   10900       fi
   10901       ;;
   10902 
   10903     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10904       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10905       # as there is no search path for DLLs.
   10906       hardcode_libdir_flag_spec='-L$libdir'
   10907       export_dynamic_flag_spec='$wl--export-all-symbols'
   10908       allow_undefined_flag=unsupported
   10909       always_export_symbols=no
   10910       enable_shared_with_static_runtimes=yes
   10911       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'
   10912       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10913       file_list_spec='@'
   10914 
   10915       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10916         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10917 	# If the export-symbols file already is a .def file, use it as
   10918 	# is; otherwise, prepend EXPORTS...
   10919 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10920           cp $export_symbols $output_objdir/$soname.def;
   10921         else
   10922           echo EXPORTS > $output_objdir/$soname.def;
   10923           cat $export_symbols >> $output_objdir/$soname.def;
   10924         fi~
   10925         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10926       else
   10927 	ld_shlibs=no
   10928       fi
   10929       ;;
   10930 
   10931     haiku*)
   10932       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10933       link_all_deplibs=no
   10934       ;;
   10935 
   10936     os2*)
   10937       hardcode_libdir_flag_spec='-L$libdir'
   10938       hardcode_minus_L=yes
   10939       allow_undefined_flag=unsupported
   10940       shrext_cmds=.dll
   10941       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10942 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10943 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10944 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10945 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10946 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10947 	emximp -o $lib $output_objdir/$libname.def'
   10948       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10949 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10950 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10951 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10952 	prefix_cmds="$SED"~
   10953 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10954 	  prefix_cmds="$prefix_cmds -e 1d";
   10955 	fi~
   10956 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10957 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10958 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10959 	emximp -o $lib $output_objdir/$libname.def'
   10960       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10961       enable_shared_with_static_runtimes=yes
   10962       file_list_spec='@'
   10963       ;;
   10964 
   10965     interix[3-9]*)
   10966       hardcode_direct=no
   10967       hardcode_shlibpath_var=no
   10968       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10969       export_dynamic_flag_spec='$wl-E'
   10970       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10971       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10972       # default) and relocated if they conflict, which is a slow very memory
   10973       # consuming and fragmenting process.  To avoid this, we pick a random,
   10974       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10975       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10976       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10977       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'
   10978       ;;
   10979 
   10980     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10981       tmp_diet=no
   10982       if test linux-dietlibc = "$host_os"; then
   10983 	case $cc_basename in
   10984 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10985 	esac
   10986       fi
   10987       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10988 	 && test no = "$tmp_diet"
   10989       then
   10990 	tmp_addflag=' $pic_flag'
   10991 	tmp_sharedflag='-shared'
   10992 	case $cc_basename,$host_cpu in
   10993         pgcc*)				# Portland Group C compiler
   10994 	  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'
   10995 	  tmp_addflag=' $pic_flag'
   10996 	  ;;
   10997 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10998 					# Portland Group f77 and f90 compilers
   10999 	  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'
   11000 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   11001 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   11002 	  tmp_addflag=' -i_dynamic' ;;
   11003 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   11004 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   11005 	ifc* | ifort*)			# Intel Fortran compiler
   11006 	  tmp_addflag=' -nofor_main' ;;
   11007 	lf95*)				# Lahey Fortran 8.1
   11008 	  whole_archive_flag_spec=
   11009 	  tmp_sharedflag='--shared' ;;
   11010         nagfor*)                        # NAGFOR 5.3
   11011           tmp_sharedflag='-Wl,-shared' ;;
   11012 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   11013 	  tmp_sharedflag='-qmkshrobj'
   11014 	  tmp_addflag= ;;
   11015 	nvcc*)	# Cuda Compiler Driver 2.2
   11016 	  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'
   11017 	  compiler_needs_object=yes
   11018 	  ;;
   11019 	esac
   11020 	case `$CC -V 2>&1 | $SED 5q` in
   11021 	*Sun\ C*)			# Sun C 5.9
   11022 	  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'
   11023 	  compiler_needs_object=yes
   11024 	  tmp_sharedflag='-G' ;;
   11025 	*Sun\ F*)			# Sun Fortran 8.3
   11026 	  tmp_sharedflag='-G' ;;
   11027 	esac
   11028 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11029 
   11030         if test yes = "$supports_anon_versioning"; then
   11031           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11032             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11033             echo "local: *; };" >> $output_objdir/$libname.ver~
   11034             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   11035         fi
   11036 
   11037 	case $cc_basename in
   11038 	tcc*)
   11039 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11040 	  export_dynamic_flag_spec='-rdynamic'
   11041 	  ;;
   11042 	xlf* | bgf* | bgxlf* | mpixlf*)
   11043 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   11044 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   11045 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11046 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   11047 	  if test yes = "$supports_anon_versioning"; then
   11048 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11049               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11050               echo "local: *; };" >> $output_objdir/$libname.ver~
   11051               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   11052 	  fi
   11053 	  ;;
   11054 	esac
   11055       else
   11056         ld_shlibs=no
   11057       fi
   11058       ;;
   11059 
   11060     *-mlibc)
   11061 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11062 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11063       ;;
   11064 
   11065     netbsd* | netbsdelf*-gnu)
   11066       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11067 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   11068 	wlarc=
   11069       else
   11070 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11071 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11072       fi
   11073       ;;
   11074 
   11075     solaris*)
   11076       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   11077 	ld_shlibs=no
   11078 	cat <<_LT_EOF 1>&2
   11079 
   11080 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   11081 *** create shared libraries on Solaris systems.  Therefore, libtool
   11082 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11083 *** binutils to release 2.9.1 or newer.  Another option is to modify
   11084 *** your PATH or compiler configuration so that the native linker is
   11085 *** used, and then restart.
   11086 
   11087 _LT_EOF
   11088       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11089 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11090 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11091       else
   11092 	ld_shlibs=no
   11093       fi
   11094       ;;
   11095 
   11096     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   11097       case `$LD -v 2>&1` in
   11098         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   11099 	ld_shlibs=no
   11100 	cat <<_LT_EOF 1>&2
   11101 
   11102 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   11103 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   11104 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11105 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   11106 *** your PATH or compiler configuration so that the native linker is
   11107 *** used, and then restart.
   11108 
   11109 _LT_EOF
   11110 	;;
   11111 	*)
   11112 	  # For security reasons, it is highly recommended that you always
   11113 	  # use absolute paths for naming shared libraries, and exclude the
   11114 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   11115 	  # requires that you compile everything twice, which is a pain.
   11116 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11117 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11118 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11119 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11120 	  else
   11121 	    ld_shlibs=no
   11122 	  fi
   11123 	;;
   11124       esac
   11125       ;;
   11126 
   11127     sunos4*)
   11128       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11129       wlarc=
   11130       hardcode_direct=yes
   11131       hardcode_shlibpath_var=no
   11132       ;;
   11133 
   11134     *)
   11135       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11136 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11137 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11138       else
   11139 	ld_shlibs=no
   11140       fi
   11141       ;;
   11142     esac
   11143 
   11144     if test no = "$ld_shlibs"; then
   11145       runpath_var=
   11146       hardcode_libdir_flag_spec=
   11147       export_dynamic_flag_spec=
   11148       whole_archive_flag_spec=
   11149     fi
   11150   else
   11151     # PORTME fill in a description of your system's linker (not GNU ld)
   11152     case $host_os in
   11153     aix3*)
   11154       allow_undefined_flag=unsupported
   11155       always_export_symbols=yes
   11156       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'
   11157       # Note: this linker hardcodes the directories in LIBPATH if there
   11158       # are no directories specified by -L.
   11159       hardcode_minus_L=yes
   11160       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   11161 	# Neither direct hardcoding nor static linking is supported with a
   11162 	# broken collect2.
   11163 	hardcode_direct=unsupported
   11164       fi
   11165       ;;
   11166 
   11167     aix[4-9]*)
   11168       if test ia64 = "$host_cpu"; then
   11169 	# On IA64, the linker does run time linking by default, so we don't
   11170 	# have to do anything special.
   11171 	aix_use_runtimelinking=no
   11172 	exp_sym_flag='-Bexport'
   11173 	no_entry_flag=
   11174       else
   11175 	# If we're using GNU nm, then we don't want the "-C" option.
   11176 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   11177 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   11178 	# weak defined symbols like other global defined symbols, whereas
   11179 	# GNU nm marks them as "W".
   11180 	# While the 'weak' keyword is ignored in the Export File, we need
   11181 	# it in the Import File for the 'aix-soname' feature, so we have
   11182 	# to replace the "-B" option with "-P" for AIX nm.
   11183 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   11184 	  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'
   11185 	else
   11186 	  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'
   11187 	fi
   11188 	aix_use_runtimelinking=no
   11189 
   11190 	# Test if we are trying to use run time linking or normal
   11191 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11192 	# have runtime linking enabled, and use it for executables.
   11193 	# For shared libraries, we enable/disable runtime linking
   11194 	# depending on the kind of the shared library created -
   11195 	# when "with_aix_soname,aix_use_runtimelinking" is:
   11196 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   11197 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   11198 	#            lib.a           static archive
   11199 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   11200 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   11201 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   11202 	#            lib.a(lib.so.V) shared, rtl:no
   11203 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   11204 	#            lib.a           static archive
   11205 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11206 	  for ld_flag in $LDFLAGS; do
   11207 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   11208 	    aix_use_runtimelinking=yes
   11209 	    break
   11210 	  fi
   11211 	  done
   11212 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   11213 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   11214 	    # so we don't have lib.a shared libs to link our executables.
   11215 	    # We have to force runtime linking in this case.
   11216 	    aix_use_runtimelinking=yes
   11217 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   11218 	  fi
   11219 	  ;;
   11220 	esac
   11221 
   11222 	exp_sym_flag='-bexport'
   11223 	no_entry_flag='-bnoentry'
   11224       fi
   11225 
   11226       # When large executables or shared objects are built, AIX ld can
   11227       # have problems creating the table of contents.  If linking a library
   11228       # or program results in "error TOC overflow" add -mminimal-toc to
   11229       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11230       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11231 
   11232       archive_cmds=''
   11233       hardcode_direct=yes
   11234       hardcode_direct_absolute=yes
   11235       hardcode_libdir_separator=':'
   11236       link_all_deplibs=yes
   11237       file_list_spec='$wl-f,'
   11238       case $with_aix_soname,$aix_use_runtimelinking in
   11239       aix,*) ;; # traditional, no import file
   11240       svr4,* | *,yes) # use import file
   11241 	# The Import File defines what to hardcode.
   11242 	hardcode_direct=no
   11243 	hardcode_direct_absolute=no
   11244 	;;
   11245       esac
   11246 
   11247       if test yes = "$GCC"; then
   11248 	case $host_os in aix4.[012]|aix4.[012].*)
   11249 	# We only want to do this on AIX 4.2 and lower, the check
   11250 	# below for broken collect2 doesn't work under 4.3+
   11251 	  collect2name=`$CC -print-prog-name=collect2`
   11252 	  if test -f "$collect2name" &&
   11253 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11254 	  then
   11255 	  # We have reworked collect2
   11256 	  :
   11257 	  else
   11258 	  # We have old collect2
   11259 	  hardcode_direct=unsupported
   11260 	  # It fails to find uninstalled libraries when the uninstalled
   11261 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11262 	  # to unsupported forces relinking
   11263 	  hardcode_minus_L=yes
   11264 	  hardcode_libdir_flag_spec='-L$libdir'
   11265 	  hardcode_libdir_separator=
   11266 	  fi
   11267 	  ;;
   11268 	esac
   11269 	shared_flag='-shared'
   11270 	if test yes = "$aix_use_runtimelinking"; then
   11271 	  shared_flag="$shared_flag "'$wl-G'
   11272 	fi
   11273 	# Need to ensure runtime linking is disabled for the traditional
   11274 	# shared library, or the linker may eventually find shared libraries
   11275 	# /with/ Import File - we do not want to mix them.
   11276 	shared_flag_aix='-shared'
   11277 	shared_flag_svr4='-shared $wl-G'
   11278       else
   11279 	# not using gcc
   11280 	if test ia64 = "$host_cpu"; then
   11281 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11282 	# chokes on -Wl,-G. The following line is correct:
   11283 	  shared_flag='-G'
   11284 	else
   11285 	  if test yes = "$aix_use_runtimelinking"; then
   11286 	    shared_flag='$wl-G'
   11287 	  else
   11288 	    shared_flag='$wl-bM:SRE'
   11289 	  fi
   11290 	  shared_flag_aix='$wl-bM:SRE'
   11291 	  shared_flag_svr4='$wl-G'
   11292 	fi
   11293       fi
   11294 
   11295       export_dynamic_flag_spec='$wl-bexpall'
   11296       # It seems that -bexpall does not export symbols beginning with
   11297       # underscore (_), so it is better to generate a list of symbols to export.
   11298       always_export_symbols=yes
   11299       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   11300 	# Warning - without using the other runtime loading flags (-brtl),
   11301 	# -berok will link without error, but may produce a broken library.
   11302 	allow_undefined_flag='-berok'
   11303         # Determine the default libpath from the value encoded in an
   11304         # empty executable.
   11305         if test set = "${lt_cv_aix_libpath+set}"; then
   11306   aix_libpath=$lt_cv_aix_libpath
   11307 else
   11308   if test ${lt_cv_aix_libpath_+y}
   11309 then :
   11310   printf %s "(cached) " >&6
   11311 else $as_nop
   11312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11313 /* end confdefs.h.  */
   11314 
   11315 int
   11316 main (void)
   11317 {
   11318 
   11319   ;
   11320   return 0;
   11321 }
   11322 _ACEOF
   11323 if ac_fn_c_try_link "$LINENO"
   11324 then :
   11325 
   11326   lt_aix_libpath_sed='
   11327       /Import File Strings/,/^$/ {
   11328 	  /^0/ {
   11329 	      s/^0  *\([^ ]*\) *$/\1/
   11330 	      p
   11331 	  }
   11332       }'
   11333   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11334   # Check for a 64-bit object if we didn't find anything.
   11335   if test -z "$lt_cv_aix_libpath_"; then
   11336     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11337   fi
   11338 fi
   11339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11340     conftest$ac_exeext conftest.$ac_ext
   11341   if test -z "$lt_cv_aix_libpath_"; then
   11342     lt_cv_aix_libpath_=/usr/lib:/lib
   11343   fi
   11344 
   11345 fi
   11346 
   11347   aix_libpath=$lt_cv_aix_libpath_
   11348 fi
   11349 
   11350         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11351         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
   11352       else
   11353 	if test ia64 = "$host_cpu"; then
   11354 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11355 	  allow_undefined_flag="-z nodefs"
   11356 	  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"
   11357 	else
   11358 	 # Determine the default libpath from the value encoded in an
   11359 	 # empty executable.
   11360 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11361   aix_libpath=$lt_cv_aix_libpath
   11362 else
   11363   if test ${lt_cv_aix_libpath_+y}
   11364 then :
   11365   printf %s "(cached) " >&6
   11366 else $as_nop
   11367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11368 /* end confdefs.h.  */
   11369 
   11370 int
   11371 main (void)
   11372 {
   11373 
   11374   ;
   11375   return 0;
   11376 }
   11377 _ACEOF
   11378 if ac_fn_c_try_link "$LINENO"
   11379 then :
   11380 
   11381   lt_aix_libpath_sed='
   11382       /Import File Strings/,/^$/ {
   11383 	  /^0/ {
   11384 	      s/^0  *\([^ ]*\) *$/\1/
   11385 	      p
   11386 	  }
   11387       }'
   11388   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11389   # Check for a 64-bit object if we didn't find anything.
   11390   if test -z "$lt_cv_aix_libpath_"; then
   11391     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11392   fi
   11393 fi
   11394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11395     conftest$ac_exeext conftest.$ac_ext
   11396   if test -z "$lt_cv_aix_libpath_"; then
   11397     lt_cv_aix_libpath_=/usr/lib:/lib
   11398   fi
   11399 
   11400 fi
   11401 
   11402   aix_libpath=$lt_cv_aix_libpath_
   11403 fi
   11404 
   11405 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11406 	  # Warning - without using the other run time loading flags,
   11407 	  # -berok will link without error, but may produce a broken library.
   11408 	  no_undefined_flag=' $wl-bernotok'
   11409 	  allow_undefined_flag=' $wl-berok'
   11410 	  if test yes = "$with_gnu_ld"; then
   11411 	    # We only use this code for GNU lds that support --whole-archive.
   11412 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11413 	  else
   11414 	    # Exported symbols can be pulled into shared objects from archives
   11415 	    whole_archive_flag_spec='$convenience'
   11416 	  fi
   11417 	  archive_cmds_need_lc=yes
   11418 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11419 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11420 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11421 	  if test svr4 != "$with_aix_soname"; then
   11422 	    # This is similar to how AIX traditionally builds its shared libraries.
   11423 	    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'
   11424 	  fi
   11425 	  if test aix != "$with_aix_soname"; then
   11426 	    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'
   11427 	  else
   11428 	    # used by -dlpreopen to get the symbols
   11429 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11430 	  fi
   11431 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11432 	fi
   11433       fi
   11434       ;;
   11435 
   11436     amigaos*)
   11437       case $host_cpu in
   11438       powerpc)
   11439             # see comment about AmigaOS4 .so support
   11440             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11441             archive_expsym_cmds=''
   11442         ;;
   11443       m68k)
   11444             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)'
   11445             hardcode_libdir_flag_spec='-L$libdir'
   11446             hardcode_minus_L=yes
   11447         ;;
   11448       esac
   11449       ;;
   11450 
   11451     bsdi[45]*)
   11452       export_dynamic_flag_spec=-rdynamic
   11453       ;;
   11454 
   11455     cygwin* | mingw* | windows* | pw32* | cegcc*)
   11456       # When not using gcc, we currently assume that we are using
   11457       # Microsoft Visual C++ or Intel C++ Compiler.
   11458       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11459       # no search path for DLLs.
   11460       case $cc_basename in
   11461       cl* | icl*)
   11462 	# Native MSVC or ICC
   11463 	hardcode_libdir_flag_spec=' '
   11464 	allow_undefined_flag=unsupported
   11465 	always_export_symbols=yes
   11466 	file_list_spec='@'
   11467 	# Tell ltmain to make .lib files, not .a files.
   11468 	libext=lib
   11469 	# Tell ltmain to make .dll files, not .so files.
   11470 	shrext_cmds=.dll
   11471 	# FIXME: Setting linknames here is a bad hack.
   11472 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11473 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11474             cp "$export_symbols" "$output_objdir/$soname.def";
   11475             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11476           else
   11477             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11478           fi~
   11479           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11480           linknames='
   11481 	# The linker will not automatically build a static lib if we build a DLL.
   11482 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11483 	enable_shared_with_static_runtimes=yes
   11484 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11485 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11486 	# Don't use ranlib
   11487 	old_postinstall_cmds='chmod 644 $oldlib'
   11488 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11489           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11490           case $lt_outputfile in
   11491             *.exe|*.EXE) ;;
   11492             *)
   11493               lt_outputfile=$lt_outputfile.exe
   11494               lt_tool_outputfile=$lt_tool_outputfile.exe
   11495               ;;
   11496           esac~
   11497           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11498             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11499             $RM "$lt_outputfile.manifest";
   11500           fi'
   11501 	;;
   11502       *)
   11503 	# Assume MSVC and ICC wrapper
   11504 	hardcode_libdir_flag_spec=' '
   11505 	allow_undefined_flag=unsupported
   11506 	# Tell ltmain to make .lib files, not .a files.
   11507 	libext=lib
   11508 	# Tell ltmain to make .dll files, not .so files.
   11509 	shrext_cmds=.dll
   11510 	# FIXME: Setting linknames here is a bad hack.
   11511 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11512 	# The linker will automatically build a .lib file if we build a DLL.
   11513 	old_archive_from_new_cmds='true'
   11514 	# FIXME: Should let the user specify the lib program.
   11515 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11516 	enable_shared_with_static_runtimes=yes
   11517 	;;
   11518       esac
   11519       ;;
   11520 
   11521     darwin* | rhapsody*)
   11522 
   11523 
   11524   archive_cmds_need_lc=no
   11525   hardcode_direct=no
   11526   hardcode_automatic=yes
   11527   hardcode_shlibpath_var=unsupported
   11528   if test yes = "$lt_cv_ld_force_load"; then
   11529     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\"`'
   11530 
   11531   else
   11532     whole_archive_flag_spec=''
   11533   fi
   11534   link_all_deplibs=yes
   11535   allow_undefined_flag=$_lt_dar_allow_undefined
   11536   case $cc_basename in
   11537      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11538      *) _lt_dar_can_shared=$GCC ;;
   11539   esac
   11540   if test yes = "$_lt_dar_can_shared"; then
   11541     output_verbose_link_cmd=func_echo_all
   11542     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11543     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11544     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"
   11545     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"
   11546 
   11547   else
   11548   ld_shlibs=no
   11549   fi
   11550 
   11551       ;;
   11552 
   11553     dgux*)
   11554       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11555       hardcode_libdir_flag_spec='-L$libdir'
   11556       hardcode_shlibpath_var=no
   11557       ;;
   11558 
   11559     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11560     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11561     # does not break anything, and helps significantly (at the cost of a little
   11562     # extra space).
   11563     freebsd2.2*)
   11564       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11565       hardcode_libdir_flag_spec='-R$libdir'
   11566       hardcode_direct=yes
   11567       hardcode_shlibpath_var=no
   11568       ;;
   11569 
   11570     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11571     freebsd2.*)
   11572       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11573       hardcode_direct=yes
   11574       hardcode_minus_L=yes
   11575       hardcode_shlibpath_var=no
   11576       ;;
   11577 
   11578     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11579     freebsd* | dragonfly* | midnightbsd*)
   11580       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11581       hardcode_libdir_flag_spec='-R$libdir'
   11582       hardcode_direct=yes
   11583       hardcode_shlibpath_var=no
   11584       ;;
   11585 
   11586     hpux9*)
   11587       if test yes = "$GCC"; then
   11588 	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'
   11589       else
   11590 	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'
   11591       fi
   11592       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11593       hardcode_libdir_separator=:
   11594       hardcode_direct=yes
   11595 
   11596       # hardcode_minus_L: Not really in the search PATH,
   11597       # but as the default location of the library.
   11598       hardcode_minus_L=yes
   11599       export_dynamic_flag_spec='$wl-E'
   11600       ;;
   11601 
   11602     hpux10*)
   11603       if test yes,no = "$GCC,$with_gnu_ld"; then
   11604 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11605       else
   11606 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11607       fi
   11608       if test no = "$with_gnu_ld"; then
   11609 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11610 	hardcode_libdir_separator=:
   11611 	hardcode_direct=yes
   11612 	hardcode_direct_absolute=yes
   11613 	export_dynamic_flag_spec='$wl-E'
   11614 	# hardcode_minus_L: Not really in the search PATH,
   11615 	# but as the default location of the library.
   11616 	hardcode_minus_L=yes
   11617       fi
   11618       ;;
   11619 
   11620     hpux11*)
   11621       if test yes,no = "$GCC,$with_gnu_ld"; then
   11622 	case $host_cpu in
   11623 	hppa*64*)
   11624 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11625 	  ;;
   11626 	ia64*)
   11627 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11628 	  ;;
   11629 	*)
   11630 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11631 	  ;;
   11632 	esac
   11633       else
   11634 	case $host_cpu in
   11635 	hppa*64*)
   11636 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11637 	  ;;
   11638 	ia64*)
   11639 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11640 	  ;;
   11641 	*)
   11642 
   11643 	  # Older versions of the 11.00 compiler do not understand -b yet
   11644 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11645 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11646 printf %s "checking if $CC understands -b... " >&6; }
   11647 if test ${lt_cv_prog_compiler__b+y}
   11648 then :
   11649   printf %s "(cached) " >&6
   11650 else $as_nop
   11651   lt_cv_prog_compiler__b=no
   11652    save_LDFLAGS=$LDFLAGS
   11653    LDFLAGS="$LDFLAGS -b"
   11654    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11655    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11656      # The linker can only warn and ignore the option if not recognized
   11657      # So say no if there are warnings
   11658      if test -s conftest.err; then
   11659        # Append any errors to the config.log.
   11660        cat conftest.err 1>&5
   11661        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11662        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11663        if diff conftest.exp conftest.er2 >/dev/null; then
   11664          lt_cv_prog_compiler__b=yes
   11665        fi
   11666      else
   11667        lt_cv_prog_compiler__b=yes
   11668      fi
   11669    fi
   11670    $RM -r conftest*
   11671    LDFLAGS=$save_LDFLAGS
   11672 
   11673 fi
   11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11675 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11676 
   11677 if test yes = "$lt_cv_prog_compiler__b"; then
   11678     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11679 else
   11680     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11681 fi
   11682 
   11683 	  ;;
   11684 	esac
   11685       fi
   11686       if test no = "$with_gnu_ld"; then
   11687 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11688 	hardcode_libdir_separator=:
   11689 
   11690 	case $host_cpu in
   11691 	hppa*64*|ia64*)
   11692 	  hardcode_direct=no
   11693 	  hardcode_shlibpath_var=no
   11694 	  ;;
   11695 	*)
   11696 	  hardcode_direct=yes
   11697 	  hardcode_direct_absolute=yes
   11698 	  export_dynamic_flag_spec='$wl-E'
   11699 
   11700 	  # hardcode_minus_L: Not really in the search PATH,
   11701 	  # but as the default location of the library.
   11702 	  hardcode_minus_L=yes
   11703 	  ;;
   11704 	esac
   11705       fi
   11706       ;;
   11707 
   11708     irix5* | irix6* | nonstopux*)
   11709       if test yes = "$GCC"; then
   11710 	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'
   11711 	# Try to use the -exported_symbol ld option, if it does not
   11712 	# work, assume that -exports_file does not work either and
   11713 	# implicitly export all symbols.
   11714 	# This should be the same for all languages, so no per-tag cache variable.
   11715 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11716 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11717 if test ${lt_cv_irix_exported_symbol+y}
   11718 then :
   11719   printf %s "(cached) " >&6
   11720 else $as_nop
   11721   save_LDFLAGS=$LDFLAGS
   11722 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11723 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11724 /* end confdefs.h.  */
   11725 int foo (void) { return 0; }
   11726 _ACEOF
   11727 if ac_fn_c_try_link "$LINENO"
   11728 then :
   11729   lt_cv_irix_exported_symbol=yes
   11730 else $as_nop
   11731   lt_cv_irix_exported_symbol=no
   11732 fi
   11733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11734     conftest$ac_exeext conftest.$ac_ext
   11735            LDFLAGS=$save_LDFLAGS
   11736 fi
   11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11738 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11739 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11740           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'
   11741 	fi
   11742       else
   11743 	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'
   11744 	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'
   11745       fi
   11746       archive_cmds_need_lc='no'
   11747       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11748       hardcode_libdir_separator=:
   11749       inherit_rpath=yes
   11750       link_all_deplibs=yes
   11751       ;;
   11752 
   11753     linux*)
   11754       case $cc_basename in
   11755       tcc*)
   11756 	# Fabrice Bellard et al's Tiny C Compiler
   11757 	ld_shlibs=yes
   11758 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11759 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11760 	;;
   11761       esac
   11762       ;;
   11763 
   11764     *-mlibc)
   11765       ;;
   11766 
   11767     netbsd* | netbsdelf*-gnu)
   11768       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11769 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11770       else
   11771 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11772       fi
   11773       hardcode_libdir_flag_spec='-R$libdir'
   11774       hardcode_direct=yes
   11775       hardcode_shlibpath_var=no
   11776       ;;
   11777 
   11778     newsos6)
   11779       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11780       hardcode_direct=yes
   11781       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11782       hardcode_libdir_separator=:
   11783       hardcode_shlibpath_var=no
   11784       ;;
   11785 
   11786     *nto* | *qnx*)
   11787       ;;
   11788 
   11789     openbsd*)
   11790       if test -f /usr/libexec/ld.so; then
   11791 	hardcode_direct=yes
   11792 	hardcode_shlibpath_var=no
   11793 	hardcode_direct_absolute=yes
   11794 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11795 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11796 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11797 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11798 	  export_dynamic_flag_spec='$wl-E'
   11799 	else
   11800 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11801 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11802 	fi
   11803       else
   11804 	ld_shlibs=no
   11805       fi
   11806       ;;
   11807 
   11808     os2*)
   11809       hardcode_libdir_flag_spec='-L$libdir'
   11810       hardcode_minus_L=yes
   11811       allow_undefined_flag=unsupported
   11812       shrext_cmds=.dll
   11813       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11814 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11815 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11816 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11817 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11818 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11819 	emximp -o $lib $output_objdir/$libname.def'
   11820       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11821 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11822 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11823 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11824 	prefix_cmds="$SED"~
   11825 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11826 	  prefix_cmds="$prefix_cmds -e 1d";
   11827 	fi~
   11828 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11829 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11830 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11831 	emximp -o $lib $output_objdir/$libname.def'
   11832       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11833       enable_shared_with_static_runtimes=yes
   11834       file_list_spec='@'
   11835       ;;
   11836 
   11837     osf3*)
   11838       if test yes = "$GCC"; then
   11839 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11840 	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'
   11841       else
   11842 	allow_undefined_flag=' -expect_unresolved \*'
   11843 	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'
   11844       fi
   11845       archive_cmds_need_lc='no'
   11846       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11847       hardcode_libdir_separator=:
   11848       ;;
   11849 
   11850     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11851       if test yes = "$GCC"; then
   11852 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11853 	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'
   11854 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11855       else
   11856 	allow_undefined_flag=' -expect_unresolved \*'
   11857 	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'
   11858 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   11859           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
   11860 
   11861 	# Both c and cxx compiler support -rpath directly
   11862 	hardcode_libdir_flag_spec='-rpath $libdir'
   11863       fi
   11864       archive_cmds_need_lc='no'
   11865       hardcode_libdir_separator=:
   11866       ;;
   11867 
   11868     serenity*)
   11869       ;;
   11870 
   11871     solaris*)
   11872       no_undefined_flag=' -z defs'
   11873       if test yes = "$GCC"; then
   11874 	wlarc='$wl'
   11875 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11876 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11877           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11878       else
   11879 	case `$CC -V 2>&1` in
   11880 	*"Compilers 5.0"*)
   11881 	  wlarc=''
   11882 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11883 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11884             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11885 	  ;;
   11886 	*)
   11887 	  wlarc='$wl'
   11888 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11889 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11890             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11891 	  ;;
   11892 	esac
   11893       fi
   11894       hardcode_libdir_flag_spec='-R$libdir'
   11895       hardcode_shlibpath_var=no
   11896       case $host_os in
   11897       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11898       *)
   11899 	# The compiler driver will combine and reorder linker options,
   11900 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11901 	# but is careful enough not to reorder.
   11902 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11903 	if test yes = "$GCC"; then
   11904 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11905 	else
   11906 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11907 	fi
   11908 	;;
   11909       esac
   11910       link_all_deplibs=yes
   11911       ;;
   11912 
   11913     sunos4*)
   11914       if test sequent = "$host_vendor"; then
   11915 	# Use $CC to link under sequent, because it throws in some extra .o
   11916 	# files that make .init and .fini sections work.
   11917 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11918       else
   11919 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11920       fi
   11921       hardcode_libdir_flag_spec='-L$libdir'
   11922       hardcode_direct=yes
   11923       hardcode_minus_L=yes
   11924       hardcode_shlibpath_var=no
   11925       ;;
   11926 
   11927     sysv4)
   11928       case $host_vendor in
   11929 	sni)
   11930 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11931 	  hardcode_direct=yes # is this really true???
   11932 	;;
   11933 	siemens)
   11934 	  ## LD is ld it makes a PLAMLIB
   11935 	  ## CC just makes a GrossModule.
   11936 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11937 	  reload_cmds='$CC -r -o $output$reload_objs'
   11938 	  hardcode_direct=no
   11939         ;;
   11940 	motorola)
   11941 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11942 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11943 	;;
   11944       esac
   11945       runpath_var='LD_RUN_PATH'
   11946       hardcode_shlibpath_var=no
   11947       ;;
   11948 
   11949     sysv4.3*)
   11950       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11951       hardcode_shlibpath_var=no
   11952       export_dynamic_flag_spec='-Bexport'
   11953       ;;
   11954 
   11955     sysv4*MP*)
   11956       if test -d /usr/nec; then
   11957 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11958 	hardcode_shlibpath_var=no
   11959 	runpath_var=LD_RUN_PATH
   11960 	hardcode_runpath_var=yes
   11961 	ld_shlibs=yes
   11962       fi
   11963       ;;
   11964 
   11965     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11966       no_undefined_flag='$wl-z,text'
   11967       archive_cmds_need_lc=no
   11968       hardcode_shlibpath_var=no
   11969       runpath_var='LD_RUN_PATH'
   11970 
   11971       if test yes = "$GCC"; then
   11972 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11973 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11974       else
   11975 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11976 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11977       fi
   11978       ;;
   11979 
   11980     sysv5* | sco3.2v5* | sco5v6*)
   11981       # Note: We CANNOT use -z defs as we might desire, because we do not
   11982       # link with -lc, and that would cause any symbols used from libc to
   11983       # always be unresolved, which means just about no library would
   11984       # ever link correctly.  If we're not using GNU ld we use -z text
   11985       # though, which does catch some bad symbols but isn't as heavy-handed
   11986       # as -z defs.
   11987       no_undefined_flag='$wl-z,text'
   11988       allow_undefined_flag='$wl-z,nodefs'
   11989       archive_cmds_need_lc=no
   11990       hardcode_shlibpath_var=no
   11991       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11992       hardcode_libdir_separator=':'
   11993       link_all_deplibs=yes
   11994       export_dynamic_flag_spec='$wl-Bexport'
   11995       runpath_var='LD_RUN_PATH'
   11996 
   11997       if test yes = "$GCC"; then
   11998 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11999 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12000       else
   12001 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12002 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12003       fi
   12004       ;;
   12005 
   12006     uts4*)
   12007       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12008       hardcode_libdir_flag_spec='-L$libdir'
   12009       hardcode_shlibpath_var=no
   12010       ;;
   12011 
   12012     *)
   12013       ld_shlibs=no
   12014       ;;
   12015     esac
   12016 
   12017     if test sni = "$host_vendor"; then
   12018       case $host in
   12019       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   12020 	export_dynamic_flag_spec='$wl-Blargedynsym'
   12021 	;;
   12022       esac
   12023     fi
   12024   fi
   12025 
   12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   12027 printf "%s\n" "$ld_shlibs" >&6; }
   12028 test no = "$ld_shlibs" && can_build_shared=no
   12029 
   12030 with_gnu_ld=$with_gnu_ld
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 #
   12047 # Do we need to explicitly link libc?
   12048 #
   12049 case "x$archive_cmds_need_lc" in
   12050 x|xyes)
   12051   # Assume -lc should be added
   12052   archive_cmds_need_lc=yes
   12053 
   12054   if test yes,yes = "$GCC,$enable_shared"; then
   12055     case $archive_cmds in
   12056     *'~'*)
   12057       # FIXME: we may have to deal with multi-command sequences.
   12058       ;;
   12059     '$CC '*)
   12060       # Test whether the compiler implicitly links with -lc since on some
   12061       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12062       # to ld, don't add -lc before -lgcc.
   12063       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   12064 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   12065 if test ${lt_cv_archive_cmds_need_lc+y}
   12066 then :
   12067   printf %s "(cached) " >&6
   12068 else $as_nop
   12069   $RM conftest*
   12070 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12071 
   12072 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12073   (eval $ac_compile) 2>&5
   12074   ac_status=$?
   12075   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12076   test $ac_status = 0; } 2>conftest.err; then
   12077 	  soname=conftest
   12078 	  lib=conftest
   12079 	  libobjs=conftest.$ac_objext
   12080 	  deplibs=
   12081 	  wl=$lt_prog_compiler_wl
   12082 	  pic_flag=$lt_prog_compiler_pic
   12083 	  compiler_flags=-v
   12084 	  linker_flags=-v
   12085 	  verstring=
   12086 	  output_objdir=.
   12087 	  libname=conftest
   12088 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   12089 	  allow_undefined_flag=
   12090 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   12091   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12092   ac_status=$?
   12093   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12094   test $ac_status = 0; }
   12095 	  then
   12096 	    lt_cv_archive_cmds_need_lc=no
   12097 	  else
   12098 	    lt_cv_archive_cmds_need_lc=yes
   12099 	  fi
   12100 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   12101 	else
   12102 	  cat conftest.err 1>&5
   12103 	fi
   12104 	$RM conftest*
   12105 
   12106 fi
   12107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   12108 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   12109       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   12110       ;;
   12111     esac
   12112   fi
   12113   ;;
   12114 esac
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 
   12180 
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 
   12252 
   12253 
   12254 
   12255 
   12256 
   12257 
   12258 
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 
   12265 
   12266 
   12267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12268 printf %s "checking dynamic linker characteristics... " >&6; }
   12269 
   12270 if test yes = "$GCC"; then
   12271   case $host_os in
   12272     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   12273     *) lt_awk_arg='/^libraries:/' ;;
   12274   esac
   12275   case $host_os in
   12276     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   12277     *) lt_sed_strip_eq='s|=/|/|g' ;;
   12278   esac
   12279   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   12280   case $lt_search_path_spec in
   12281   *\;*)
   12282     # if the path contains ";" then we assume it to be the separator
   12283     # otherwise default to the standard path separator (i.e. ":") - it is
   12284     # assumed that no part of a normal pathname contains ";" but that should
   12285     # okay in the real world where ";" in dirpaths is itself problematic.
   12286     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   12287     ;;
   12288   *)
   12289     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   12290     ;;
   12291   esac
   12292   # Ok, now we have the path, separated by spaces, we can step through it
   12293   # and add multilib dir if necessary...
   12294   lt_tmp_lt_search_path_spec=
   12295   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12296   # ...but if some path component already ends with the multilib dir we assume
   12297   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   12298   case "$lt_multi_os_dir; $lt_search_path_spec " in
   12299   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   12300     lt_multi_os_dir=
   12301     ;;
   12302   esac
   12303   for lt_sys_path in $lt_search_path_spec; do
   12304     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   12305       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   12306     elif test -n "$lt_multi_os_dir"; then
   12307       test -d "$lt_sys_path" && \
   12308 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12309     fi
   12310   done
   12311   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12312 BEGIN {RS = " "; FS = "/|\n";} {
   12313   lt_foo = "";
   12314   lt_count = 0;
   12315   for (lt_i = NF; lt_i > 0; lt_i--) {
   12316     if ($lt_i != "" && $lt_i != ".") {
   12317       if ($lt_i == "..") {
   12318         lt_count++;
   12319       } else {
   12320         if (lt_count == 0) {
   12321           lt_foo = "/" $lt_i lt_foo;
   12322         } else {
   12323           lt_count--;
   12324         }
   12325       }
   12326     }
   12327   }
   12328   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12329   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12330 }'`
   12331   # AWK program above erroneously prepends '/' to C:/dos/paths
   12332   # for these hosts.
   12333   case $host_os in
   12334     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12335       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12336   esac
   12337   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12338 else
   12339   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12340 fi
   12341 library_names_spec=
   12342 libname_spec='lib$name'
   12343 soname_spec=
   12344 shrext_cmds=.so
   12345 postinstall_cmds=
   12346 postuninstall_cmds=
   12347 finish_cmds=
   12348 finish_eval=
   12349 shlibpath_var=
   12350 shlibpath_overrides_runpath=unknown
   12351 version_type=none
   12352 dynamic_linker="$host_os ld.so"
   12353 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12354 need_lib_prefix=unknown
   12355 hardcode_into_libs=no
   12356 
   12357 # when you set need_version to no, make sure it does not cause -set_version
   12358 # flags to be left without arguments
   12359 need_version=unknown
   12360 
   12361 
   12362 
   12363 case $host_os in
   12364 aix3*)
   12365   version_type=linux # correct to gnu/linux during the next big refactor
   12366   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12367   shlibpath_var=LIBPATH
   12368 
   12369   # AIX 3 has no versioning support, so we append a major version to the name.
   12370   soname_spec='$libname$release$shared_ext$major'
   12371   ;;
   12372 
   12373 aix[4-9]*)
   12374   version_type=linux # correct to gnu/linux during the next big refactor
   12375   need_lib_prefix=no
   12376   need_version=no
   12377   hardcode_into_libs=yes
   12378   if test ia64 = "$host_cpu"; then
   12379     # AIX 5 supports IA64
   12380     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   12381     shlibpath_var=LD_LIBRARY_PATH
   12382   else
   12383     # With GCC up to 2.95.x, collect2 would create an import file
   12384     # for dependence libraries.  The import file would start with
   12385     # the line '#! .'.  This would cause the generated library to
   12386     # depend on '.', always an invalid library.  This was fixed in
   12387     # development snapshots of GCC prior to 3.0.
   12388     case $host_os in
   12389       aix4 | aix4.[01] | aix4.[01].*)
   12390       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12391 	   echo ' yes '
   12392 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   12393 	:
   12394       else
   12395 	can_build_shared=no
   12396       fi
   12397       ;;
   12398     esac
   12399     # Using Import Files as archive members, it is possible to support
   12400     # filename-based versioning of shared library archives on AIX. While
   12401     # this would work for both with and without runtime linking, it will
   12402     # prevent static linking of such archives. So we do filename-based
   12403     # shared library versioning with .so extension only, which is used
   12404     # when both runtime linking and shared linking is enabled.
   12405     # Unfortunately, runtime linking may impact performance, so we do
   12406     # not want this to be the default eventually. Also, we use the
   12407     # versioned .so libs for executables only if there is the -brtl
   12408     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   12409     # To allow for filename-based versioning support, we need to create
   12410     # libNAME.so.V as an archive file, containing:
   12411     # *) an Import File, referring to the versioned filename of the
   12412     #    archive as well as the shared archive member, telling the
   12413     #    bitwidth (32 or 64) of that shared object, and providing the
   12414     #    list of exported symbols of that shared object, eventually
   12415     #    decorated with the 'weak' keyword
   12416     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12417     #    it being seen by the linker.
   12418     # At run time we better use the real file rather than another symlink,
   12419     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12420 
   12421     case $with_aix_soname,$aix_use_runtimelinking in
   12422     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12423     # soname into executable. Probably we can add versioning support to
   12424     # collect2, so additional links can be useful in future.
   12425     aix,yes) # traditional libtool
   12426       dynamic_linker='AIX unversionable lib.so'
   12427       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12428       # instead of lib<name>.a to let people know that these are not
   12429       # typical AIX shared libraries.
   12430       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12431       ;;
   12432     aix,no) # traditional AIX only
   12433       dynamic_linker='AIX lib.a(lib.so.V)'
   12434       # We preserve .a as extension for shared libraries through AIX4.2
   12435       # and later when we are not doing run time linking.
   12436       library_names_spec='$libname$release.a $libname.a'
   12437       soname_spec='$libname$release$shared_ext$major'
   12438       ;;
   12439     svr4,*) # full svr4 only
   12440       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12441       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12442       # We do not specify a path in Import Files, so LIBPATH fires.
   12443       shlibpath_overrides_runpath=yes
   12444       ;;
   12445     *,yes) # both, prefer svr4
   12446       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12447       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12448       # unpreferred sharedlib libNAME.a needs extra handling
   12449       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"'
   12450       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"'
   12451       # We do not specify a path in Import Files, so LIBPATH fires.
   12452       shlibpath_overrides_runpath=yes
   12453       ;;
   12454     *,no) # both, prefer aix
   12455       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12456       library_names_spec='$libname$release.a $libname.a'
   12457       soname_spec='$libname$release$shared_ext$major'
   12458       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12459       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)'
   12460       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"'
   12461       ;;
   12462     esac
   12463     shlibpath_var=LIBPATH
   12464   fi
   12465   ;;
   12466 
   12467 amigaos*)
   12468   case $host_cpu in
   12469   powerpc)
   12470     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12471     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12472     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12473     ;;
   12474   m68k)
   12475     library_names_spec='$libname.ixlibrary $libname.a'
   12476     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12477     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'
   12478     ;;
   12479   esac
   12480   ;;
   12481 
   12482 beos*)
   12483   library_names_spec='$libname$shared_ext'
   12484   dynamic_linker="$host_os ld.so"
   12485   shlibpath_var=LIBRARY_PATH
   12486   ;;
   12487 
   12488 bsdi[45]*)
   12489   version_type=linux # correct to gnu/linux during the next big refactor
   12490   need_version=no
   12491   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12492   soname_spec='$libname$release$shared_ext$major'
   12493   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12494   shlibpath_var=LD_LIBRARY_PATH
   12495   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12496   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12497   # the default ld.so.conf also contains /usr/contrib/lib and
   12498   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12499   # libtool to hard-code these into programs
   12500   ;;
   12501 
   12502 cygwin* | mingw* | windows* | pw32* | cegcc*)
   12503   version_type=windows
   12504   shrext_cmds=.dll
   12505   need_version=no
   12506   need_lib_prefix=no
   12507 
   12508   case $GCC,$cc_basename in
   12509   yes,*)
   12510     # gcc
   12511     library_names_spec='$libname.dll.a'
   12512     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12513     # If user builds GCC with multilib enabled,
   12514     # it should just install on $(libdir)
   12515     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   12516     if test xyes = x"$multilib"; then
   12517       postinstall_cmds='base_file=`basename \$file`~
   12518         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12519         dldir=$destdir/`dirname \$dlpath`~
   12520         $install_prog $dir/$dlname $destdir/$dlname~
   12521         chmod a+x $destdir/$dlname~
   12522         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12523           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   12524         fi'
   12525     else
   12526       postinstall_cmds='base_file=`basename \$file`~
   12527         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12528         dldir=$destdir/`dirname \$dlpath`~
   12529         test -d \$dldir || mkdir -p \$dldir~
   12530         $install_prog $dir/$dlname \$dldir/$dlname~
   12531         chmod a+x \$dldir/$dlname~
   12532         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12533           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12534         fi'
   12535     fi
   12536     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12537       dlpath=$dir/\$dldll~
   12538        $RM \$dlpath'
   12539     shlibpath_overrides_runpath=yes
   12540 
   12541     case $host_os in
   12542     cygwin*)
   12543       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12544       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12545 
   12546       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12547       ;;
   12548     mingw* | windows* | cegcc*)
   12549       # MinGW DLLs use traditional 'lib' prefix
   12550       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12551       ;;
   12552     pw32*)
   12553       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12554       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12555       ;;
   12556     esac
   12557     dynamic_linker='Win32 ld.exe'
   12558     ;;
   12559 
   12560   *,cl* | *,icl*)
   12561     # Native MSVC or ICC
   12562     libname_spec='$name'
   12563     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12564     library_names_spec='$libname.dll.lib'
   12565 
   12566     case $build_os in
   12567     mingw* | windows*)
   12568       sys_lib_search_path_spec=
   12569       lt_save_ifs=$IFS
   12570       IFS=';'
   12571       for lt_path in $LIB
   12572       do
   12573         IFS=$lt_save_ifs
   12574         # Let DOS variable expansion print the short 8.3 style file name.
   12575         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12576         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12577       done
   12578       IFS=$lt_save_ifs
   12579       # Convert to MSYS style.
   12580       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12581       ;;
   12582     cygwin*)
   12583       # Convert to unix form, then to dos form, then back to unix form
   12584       # but this time dos style (no spaces!) so that the unix form looks
   12585       # like /cygdrive/c/PROGRA~1:/cygdr...
   12586       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12587       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12588       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12589       ;;
   12590     *)
   12591       sys_lib_search_path_spec=$LIB
   12592       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12593         # It is most probably a Windows format PATH.
   12594         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12595       else
   12596         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12597       fi
   12598       # FIXME: find the short name or the path components, as spaces are
   12599       # common. (e.g. "Program Files" -> "PROGRA~1")
   12600       ;;
   12601     esac
   12602 
   12603     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12604     postinstall_cmds='base_file=`basename \$file`~
   12605       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12606       dldir=$destdir/`dirname \$dlpath`~
   12607       test -d \$dldir || mkdir -p \$dldir~
   12608       $install_prog $dir/$dlname \$dldir/$dlname'
   12609     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12610       dlpath=$dir/\$dldll~
   12611        $RM \$dlpath'
   12612     shlibpath_overrides_runpath=yes
   12613     dynamic_linker='Win32 link.exe'
   12614     ;;
   12615 
   12616   *)
   12617     # Assume MSVC and ICC wrapper
   12618     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12619     dynamic_linker='Win32 ld.exe'
   12620     ;;
   12621   esac
   12622   # FIXME: first we should search . and the directory the executable is in
   12623   shlibpath_var=PATH
   12624   ;;
   12625 
   12626 darwin* | rhapsody*)
   12627   dynamic_linker="$host_os dyld"
   12628   version_type=darwin
   12629   need_lib_prefix=no
   12630   need_version=no
   12631   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   12632   soname_spec='$libname$release$major$shared_ext'
   12633   shlibpath_overrides_runpath=yes
   12634   shlibpath_var=DYLD_LIBRARY_PATH
   12635   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   12636 
   12637   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12638   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12639   ;;
   12640 
   12641 dgux*)
   12642   version_type=linux # correct to gnu/linux during the next big refactor
   12643   need_lib_prefix=no
   12644   need_version=no
   12645   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12646   soname_spec='$libname$release$shared_ext$major'
   12647   shlibpath_var=LD_LIBRARY_PATH
   12648   ;;
   12649 
   12650 freebsd* | dragonfly* | midnightbsd*)
   12651   # DragonFly does not have aout.  When/if they implement a new
   12652   # versioning mechanism, adjust this.
   12653   if test -x /usr/bin/objformat; then
   12654     objformat=`/usr/bin/objformat`
   12655   else
   12656     case $host_os in
   12657     freebsd[23].*) objformat=aout ;;
   12658     *) objformat=elf ;;
   12659     esac
   12660   fi
   12661   # Handle Gentoo/FreeBSD as it was Linux
   12662   case $host_vendor in
   12663     gentoo)
   12664       version_type=linux ;;
   12665     *)
   12666       version_type=freebsd-$objformat ;;
   12667   esac
   12668 
   12669   case $version_type in
   12670     freebsd-elf*)
   12671       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12672       soname_spec='$libname$release$shared_ext$major'
   12673       need_version=no
   12674       need_lib_prefix=no
   12675       ;;
   12676     freebsd-*)
   12677       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12678       need_version=yes
   12679       ;;
   12680     linux)
   12681       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12682       soname_spec='${libname}${release}${shared_ext}$major'
   12683       need_lib_prefix=no
   12684       need_version=no
   12685       ;;
   12686   esac
   12687   case $host_cpu in
   12688     powerpc64)
   12689       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   12690       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   12691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12692 /* end confdefs.h.  */
   12693 int test_pointer_size[sizeof (void *) - 5];
   12694 
   12695 _ACEOF
   12696 if ac_fn_c_try_compile "$LINENO"
   12697 then :
   12698   shlibpath_var=LD_LIBRARY_PATH
   12699 else $as_nop
   12700   shlibpath_var=LD_32_LIBRARY_PATH
   12701 fi
   12702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12703       ;;
   12704     *)
   12705       shlibpath_var=LD_LIBRARY_PATH
   12706       ;;
   12707   esac
   12708   case $host_os in
   12709   freebsd2.*)
   12710     shlibpath_overrides_runpath=yes
   12711     ;;
   12712   freebsd3.[01]* | freebsdelf3.[01]*)
   12713     shlibpath_overrides_runpath=yes
   12714     hardcode_into_libs=yes
   12715     ;;
   12716   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12717   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12718     shlibpath_overrides_runpath=no
   12719     hardcode_into_libs=yes
   12720     ;;
   12721   *) # from 4.6 on, and DragonFly
   12722     shlibpath_overrides_runpath=yes
   12723     hardcode_into_libs=yes
   12724     ;;
   12725   esac
   12726   ;;
   12727 
   12728 haiku*)
   12729   version_type=linux # correct to gnu/linux during the next big refactor
   12730   need_lib_prefix=no
   12731   need_version=no
   12732   dynamic_linker="$host_os runtime_loader"
   12733   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12734   soname_spec='$libname$release$shared_ext$major'
   12735   shlibpath_var=LIBRARY_PATH
   12736   shlibpath_overrides_runpath=no
   12737   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12738   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12739   hardcode_into_libs=no
   12740   ;;
   12741 
   12742 hpux9* | hpux10* | hpux11*)
   12743   # Give a soname corresponding to the major version so that dld.sl refuses to
   12744   # link against other versions.
   12745   version_type=sunos
   12746   need_lib_prefix=no
   12747   need_version=no
   12748   case $host_cpu in
   12749   ia64*)
   12750     shrext_cmds='.so'
   12751     hardcode_into_libs=yes
   12752     dynamic_linker="$host_os dld.so"
   12753     shlibpath_var=LD_LIBRARY_PATH
   12754     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12755     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12756     soname_spec='$libname$release$shared_ext$major'
   12757     if test 32 = "$HPUX_IA64_MODE"; then
   12758       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12759       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12760     else
   12761       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12762       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12763     fi
   12764     ;;
   12765   hppa*64*)
   12766     shrext_cmds='.sl'
   12767     hardcode_into_libs=yes
   12768     dynamic_linker="$host_os dld.sl"
   12769     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12770     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12771     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12772     soname_spec='$libname$release$shared_ext$major'
   12773     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12774     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12775     ;;
   12776   *)
   12777     shrext_cmds='.sl'
   12778     dynamic_linker="$host_os dld.sl"
   12779     shlibpath_var=SHLIB_PATH
   12780     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12781     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12782     soname_spec='$libname$release$shared_ext$major'
   12783     ;;
   12784   esac
   12785   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12786   postinstall_cmds='chmod 555 $lib'
   12787   # or fails outright, so override atomically:
   12788   install_override_mode=555
   12789   ;;
   12790 
   12791 interix[3-9]*)
   12792   version_type=linux # correct to gnu/linux during the next big refactor
   12793   need_lib_prefix=no
   12794   need_version=no
   12795   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12796   soname_spec='$libname$release$shared_ext$major'
   12797   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12798   shlibpath_var=LD_LIBRARY_PATH
   12799   shlibpath_overrides_runpath=no
   12800   hardcode_into_libs=yes
   12801   ;;
   12802 
   12803 irix5* | irix6* | nonstopux*)
   12804   case $host_os in
   12805     nonstopux*) version_type=nonstopux ;;
   12806     *)
   12807 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12808 		version_type=linux # correct to gnu/linux during the next big refactor
   12809 	else
   12810 		version_type=irix
   12811 	fi ;;
   12812   esac
   12813   need_lib_prefix=no
   12814   need_version=no
   12815   soname_spec='$libname$release$shared_ext$major'
   12816   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12817   case $host_os in
   12818   irix5* | nonstopux*)
   12819     libsuff= shlibsuff=
   12820     ;;
   12821   *)
   12822     case $LD in # libtool.m4 will add one of these switches to LD
   12823     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12824       libsuff= shlibsuff= libmagic=32-bit;;
   12825     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12826       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12827     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12828       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12829     *) libsuff= shlibsuff= libmagic=never-match;;
   12830     esac
   12831     ;;
   12832   esac
   12833   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12834   shlibpath_overrides_runpath=no
   12835   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12836   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12837   hardcode_into_libs=yes
   12838   ;;
   12839 
   12840 # No shared lib support for Linux oldld, aout, or coff.
   12841 linux*oldld* | linux*aout* | linux*coff*)
   12842   dynamic_linker=no
   12843   ;;
   12844 
   12845 linux*android*)
   12846   version_type=none # Android doesn't support versioned libraries.
   12847   need_lib_prefix=no
   12848   need_version=no
   12849   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12850   soname_spec='$libname$release$shared_ext'
   12851   finish_cmds=
   12852   shlibpath_var=LD_LIBRARY_PATH
   12853   shlibpath_overrides_runpath=yes
   12854 
   12855   # This implies no fast_install, which is unacceptable.
   12856   # Some rework will be needed to allow for fast_install
   12857   # before this can be enabled.
   12858   hardcode_into_libs=yes
   12859 
   12860   dynamic_linker='Android linker'
   12861   # -rpath works at least for libraries that are not overridden by
   12862   # libraries installed in system locations.
   12863   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12864   ;;
   12865 
   12866 # This must be glibc/ELF.
   12867 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12868   version_type=linux # correct to gnu/linux during the next big refactor
   12869   need_lib_prefix=no
   12870   need_version=no
   12871   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12872   soname_spec='$libname$release$shared_ext$major'
   12873   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12874   shlibpath_var=LD_LIBRARY_PATH
   12875   shlibpath_overrides_runpath=no
   12876 
   12877   # Some binutils ld are patched to set DT_RUNPATH
   12878   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12879 then :
   12880   printf %s "(cached) " >&6
   12881 else $as_nop
   12882   lt_cv_shlibpath_overrides_runpath=no
   12883     save_LDFLAGS=$LDFLAGS
   12884     save_libdir=$libdir
   12885     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12886 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12887     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12888 /* end confdefs.h.  */
   12889 
   12890 int
   12891 main (void)
   12892 {
   12893 
   12894   ;
   12895   return 0;
   12896 }
   12897 _ACEOF
   12898 if ac_fn_c_try_link "$LINENO"
   12899 then :
   12900   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12901 then :
   12902   lt_cv_shlibpath_overrides_runpath=yes
   12903 fi
   12904 fi
   12905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12906     conftest$ac_exeext conftest.$ac_ext
   12907     LDFLAGS=$save_LDFLAGS
   12908     libdir=$save_libdir
   12909 
   12910 fi
   12911 
   12912   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12913 
   12914   # This implies no fast_install, which is unacceptable.
   12915   # Some rework will be needed to allow for fast_install
   12916   # before this can be enabled.
   12917   hardcode_into_libs=yes
   12918 
   12919   # Ideally, we could use ldconfig to report *all* directories which are
   12920   # searched for libraries, however this is still not possible.  Aside from not
   12921   # being certain /sbin/ldconfig is available, command
   12922   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12923   # even though it is searched at run-time.  Try to do the best guess by
   12924   # appending ld.so.conf contents (and includes) to the search path.
   12925   if test -f /etc/ld.so.conf; then
   12926     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' ' '`
   12927     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12928   fi
   12929 
   12930   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12931   # powerpc, because MkLinux only supported shared libraries with the
   12932   # GNU dynamic linker.  Since this was broken with cross compilers,
   12933   # most powerpc-linux boxes support dynamic linking these days and
   12934   # people can always --disable-shared, the test was removed, and we
   12935   # assume the GNU/Linux dynamic linker is in use.
   12936   dynamic_linker='GNU/Linux ld.so'
   12937   ;;
   12938 
   12939 netbsdelf*-gnu)
   12940   version_type=linux
   12941   need_lib_prefix=no
   12942   need_version=no
   12943   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12944   soname_spec='$libname$release$shared_ext$major'
   12945   shlibpath_var=LD_LIBRARY_PATH
   12946   shlibpath_overrides_runpath=no
   12947   hardcode_into_libs=yes
   12948   dynamic_linker='NetBSD ld.elf_so'
   12949   ;;
   12950 
   12951 netbsd*)
   12952   version_type=sunos
   12953   need_lib_prefix=no
   12954   need_version=no
   12955   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12956     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12957     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12958     dynamic_linker='NetBSD (a.out) ld.so'
   12959   else
   12960     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12961     soname_spec='$libname$release$shared_ext$major'
   12962     dynamic_linker='NetBSD ld.elf_so'
   12963   fi
   12964   shlibpath_var=LD_LIBRARY_PATH
   12965   shlibpath_overrides_runpath=yes
   12966   hardcode_into_libs=yes
   12967   ;;
   12968 
   12969 *-mlibc)
   12970   version_type=linux # correct to gnu/linux during the next big refactor
   12971   need_lib_prefix=no
   12972   need_version=no
   12973   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12974   soname_spec='$libname$release$shared_ext$major'
   12975   dynamic_linker='mlibc ld.so'
   12976   shlibpath_var=LD_LIBRARY_PATH
   12977   shlibpath_overrides_runpath=no
   12978   hardcode_into_libs=yes
   12979   ;;
   12980 
   12981 newsos6)
   12982   version_type=linux # correct to gnu/linux during the next big refactor
   12983   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12984   shlibpath_var=LD_LIBRARY_PATH
   12985   shlibpath_overrides_runpath=yes
   12986   ;;
   12987 
   12988 *nto* | *qnx*)
   12989   version_type=qnx
   12990   need_lib_prefix=no
   12991   need_version=no
   12992   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12993   soname_spec='$libname$release$shared_ext$major'
   12994   shlibpath_var=LD_LIBRARY_PATH
   12995   shlibpath_overrides_runpath=no
   12996   hardcode_into_libs=yes
   12997   dynamic_linker='ldqnx.so'
   12998   ;;
   12999 
   13000 openbsd*)
   13001   version_type=sunos
   13002   sys_lib_dlsearch_path_spec=/usr/lib
   13003   need_lib_prefix=no
   13004   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13005     need_version=no
   13006   else
   13007     need_version=yes
   13008   fi
   13009   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13010   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13011   shlibpath_var=LD_LIBRARY_PATH
   13012   shlibpath_overrides_runpath=yes
   13013   ;;
   13014 
   13015 os2*)
   13016   libname_spec='$name'
   13017   version_type=windows
   13018   shrext_cmds=.dll
   13019   need_version=no
   13020   need_lib_prefix=no
   13021   # OS/2 can only load a DLL with a base name of 8 characters or less.
   13022   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   13023     v=$($ECHO $release$versuffix | tr -d .-);
   13024     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   13025     $ECHO $n$v`$shared_ext'
   13026   library_names_spec='${libname}_dll.$libext'
   13027   dynamic_linker='OS/2 ld.exe'
   13028   shlibpath_var=BEGINLIBPATH
   13029   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13030   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13031   postinstall_cmds='base_file=`basename \$file`~
   13032     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   13033     dldir=$destdir/`dirname \$dlpath`~
   13034     test -d \$dldir || mkdir -p \$dldir~
   13035     $install_prog $dir/$dlname \$dldir/$dlname~
   13036     chmod a+x \$dldir/$dlname~
   13037     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13038       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13039     fi'
   13040   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   13041     dlpath=$dir/\$dldll~
   13042     $RM \$dlpath'
   13043   ;;
   13044 
   13045 osf3* | osf4* | osf5*)
   13046   version_type=osf
   13047   need_lib_prefix=no
   13048   need_version=no
   13049   soname_spec='$libname$release$shared_ext$major'
   13050   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13051   shlibpath_var=LD_LIBRARY_PATH
   13052   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13053   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13054   ;;
   13055 
   13056 rdos*)
   13057   dynamic_linker=no
   13058   ;;
   13059 
   13060 serenity*)
   13061   version_type=linux # correct to gnu/linux during the next big refactor
   13062   need_lib_prefix=no
   13063   need_version=no
   13064   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13065   soname_spec='$libname$release$shared_ext$major'
   13066   shlibpath_var=LD_LIBRARY_PATH
   13067   shlibpath_overrides_runpath=no
   13068   dynamic_linker='SerenityOS LibELF'
   13069   ;;
   13070 
   13071 solaris*)
   13072   version_type=linux # correct to gnu/linux during the next big refactor
   13073   need_lib_prefix=no
   13074   need_version=no
   13075   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13076   soname_spec='$libname$release$shared_ext$major'
   13077   shlibpath_var=LD_LIBRARY_PATH
   13078   shlibpath_overrides_runpath=yes
   13079   hardcode_into_libs=yes
   13080   # ldd complains unless libraries are executable
   13081   postinstall_cmds='chmod +x $lib'
   13082   ;;
   13083 
   13084 sunos4*)
   13085   version_type=sunos
   13086   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13087   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13088   shlibpath_var=LD_LIBRARY_PATH
   13089   shlibpath_overrides_runpath=yes
   13090   if test yes = "$with_gnu_ld"; then
   13091     need_lib_prefix=no
   13092   fi
   13093   need_version=yes
   13094   ;;
   13095 
   13096 sysv4 | sysv4.3*)
   13097   version_type=linux # correct to gnu/linux during the next big refactor
   13098   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13099   soname_spec='$libname$release$shared_ext$major'
   13100   shlibpath_var=LD_LIBRARY_PATH
   13101   case $host_vendor in
   13102     sni)
   13103       shlibpath_overrides_runpath=no
   13104       need_lib_prefix=no
   13105       runpath_var=LD_RUN_PATH
   13106       ;;
   13107     siemens)
   13108       need_lib_prefix=no
   13109       ;;
   13110     motorola)
   13111       need_lib_prefix=no
   13112       need_version=no
   13113       shlibpath_overrides_runpath=no
   13114       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13115       ;;
   13116   esac
   13117   ;;
   13118 
   13119 sysv4*MP*)
   13120   if test -d /usr/nec; then
   13121     version_type=linux # correct to gnu/linux during the next big refactor
   13122     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   13123     soname_spec='$libname$shared_ext.$major'
   13124     shlibpath_var=LD_LIBRARY_PATH
   13125   fi
   13126   ;;
   13127 
   13128 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13129   version_type=sco
   13130   need_lib_prefix=no
   13131   need_version=no
   13132   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   13133   soname_spec='$libname$release$shared_ext$major'
   13134   shlibpath_var=LD_LIBRARY_PATH
   13135   shlibpath_overrides_runpath=yes
   13136   hardcode_into_libs=yes
   13137   if test yes = "$with_gnu_ld"; then
   13138     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13139   else
   13140     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13141     case $host_os in
   13142       sco3.2v5*)
   13143         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13144 	;;
   13145     esac
   13146   fi
   13147   sys_lib_dlsearch_path_spec='/usr/lib'
   13148   ;;
   13149 
   13150 tpf*)
   13151   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   13152   version_type=linux # correct to gnu/linux during the next big refactor
   13153   need_lib_prefix=no
   13154   need_version=no
   13155   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13156   shlibpath_var=LD_LIBRARY_PATH
   13157   shlibpath_overrides_runpath=no
   13158   hardcode_into_libs=yes
   13159   ;;
   13160 
   13161 uts4*)
   13162   version_type=linux # correct to gnu/linux during the next big refactor
   13163   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13164   soname_spec='$libname$release$shared_ext$major'
   13165   shlibpath_var=LD_LIBRARY_PATH
   13166   ;;
   13167 
   13168 emscripten*)
   13169   version_type=none
   13170   need_lib_prefix=no
   13171   need_version=no
   13172   library_names_spec='$libname$release$shared_ext'
   13173   soname_spec='$libname$release$shared_ext'
   13174   finish_cmds=
   13175   dynamic_linker="Emscripten linker"
   13176   lt_prog_compiler_wl=
   13177 lt_prog_compiler_pic=
   13178 lt_prog_compiler_static=
   13179 
   13180 
   13181   if test yes = "$GCC"; then
   13182     lt_prog_compiler_wl='-Wl,'
   13183     lt_prog_compiler_static='-static'
   13184 
   13185     case $host_os in
   13186       aix*)
   13187       # All AIX code is PIC.
   13188       if test ia64 = "$host_cpu"; then
   13189 	# AIX 5 now supports IA64 processor
   13190 	lt_prog_compiler_static='-Bstatic'
   13191       fi
   13192       lt_prog_compiler_pic='-fPIC'
   13193       ;;
   13194 
   13195     amigaos*)
   13196       case $host_cpu in
   13197       powerpc)
   13198             # see comment about AmigaOS4 .so support
   13199             lt_prog_compiler_pic='-fPIC'
   13200         ;;
   13201       m68k)
   13202             # FIXME: we need at least 68020 code to build shared libraries, but
   13203             # adding the '-m68020' flag to GCC prevents building anything better,
   13204             # like '-m68040'.
   13205             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   13206         ;;
   13207       esac
   13208       ;;
   13209 
   13210     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13211       # PIC is the default for these OSes.
   13212       ;;
   13213 
   13214     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13215       # This hack is so that the source file can tell whether it is being
   13216       # built for inclusion in a dll (and should export symbols for example).
   13217       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13218       # (--disable-auto-import) libraries
   13219       lt_prog_compiler_pic='-DDLL_EXPORT'
   13220       case $host_os in
   13221       os2*)
   13222 	lt_prog_compiler_static='$wl-static'
   13223 	;;
   13224       esac
   13225       ;;
   13226 
   13227     darwin* | rhapsody*)
   13228       # PIC is the default on this platform
   13229       # Common symbols not allowed in MH_DYLIB files
   13230       lt_prog_compiler_pic='-fno-common'
   13231       ;;
   13232 
   13233     haiku*)
   13234       # PIC is the default for Haiku.
   13235       # The "-static" flag exists, but is broken.
   13236       lt_prog_compiler_static=
   13237       ;;
   13238 
   13239     hpux*)
   13240       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13241       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13242       # sets the default TLS model and affects inlining.
   13243       case $host_cpu in
   13244       hppa*64*)
   13245 	# +Z the default
   13246 	;;
   13247       *)
   13248 	lt_prog_compiler_pic='-fPIC'
   13249 	;;
   13250       esac
   13251       ;;
   13252 
   13253     interix[3-9]*)
   13254       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13255       # Instead, we relocate shared libraries at runtime.
   13256       ;;
   13257 
   13258     msdosdjgpp*)
   13259       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13260       # on systems that don't support them.
   13261       lt_prog_compiler_can_build_shared=no
   13262       enable_shared=no
   13263       ;;
   13264 
   13265     *nto* | *qnx*)
   13266       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13267       # it will coredump.
   13268       lt_prog_compiler_pic='-fPIC -shared'
   13269       ;;
   13270 
   13271     sysv4*MP*)
   13272       if test -d /usr/nec; then
   13273 	lt_prog_compiler_pic=-Kconform_pic
   13274       fi
   13275       ;;
   13276 
   13277     *)
   13278       lt_prog_compiler_pic='-fPIC'
   13279       ;;
   13280     esac
   13281 
   13282     case $cc_basename in
   13283     nvcc*) # Cuda Compiler Driver 2.2
   13284       lt_prog_compiler_wl='-Xlinker '
   13285       if test -n "$lt_prog_compiler_pic"; then
   13286         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   13287       fi
   13288       ;;
   13289     esac
   13290   else
   13291     # PORTME Check for flag to pass linker flags through the system compiler.
   13292     case $host_os in
   13293     aix*)
   13294       lt_prog_compiler_wl='-Wl,'
   13295       if test ia64 = "$host_cpu"; then
   13296 	# AIX 5 now supports IA64 processor
   13297 	lt_prog_compiler_static='-Bstatic'
   13298       else
   13299 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   13300       fi
   13301       ;;
   13302 
   13303     darwin* | rhapsody*)
   13304       # PIC is the default on this platform
   13305       # Common symbols not allowed in MH_DYLIB files
   13306       lt_prog_compiler_pic='-fno-common'
   13307       case $cc_basename in
   13308       nagfor*)
   13309         # NAG Fortran compiler
   13310         lt_prog_compiler_wl='-Wl,-Wl,,'
   13311         lt_prog_compiler_pic='-PIC'
   13312         lt_prog_compiler_static='-Bstatic'
   13313         ;;
   13314       esac
   13315       ;;
   13316 
   13317     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13318       # This hack is so that the source file can tell whether it is being
   13319       # built for inclusion in a dll (and should export symbols for example).
   13320       lt_prog_compiler_pic='-DDLL_EXPORT'
   13321       case $host_os in
   13322       os2*)
   13323 	lt_prog_compiler_static='$wl-static'
   13324 	;;
   13325       esac
   13326       ;;
   13327 
   13328     hpux9* | hpux10* | hpux11*)
   13329       lt_prog_compiler_wl='-Wl,'
   13330       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13331       # not for PA HP-UX.
   13332       case $host_cpu in
   13333       hppa*64*|ia64*)
   13334 	# +Z the default
   13335 	;;
   13336       *)
   13337 	lt_prog_compiler_pic='+Z'
   13338 	;;
   13339       esac
   13340       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13341       lt_prog_compiler_static='$wl-a ${wl}archive'
   13342       ;;
   13343 
   13344     irix5* | irix6* | nonstopux*)
   13345       lt_prog_compiler_wl='-Wl,'
   13346       # PIC (with -KPIC) is the default.
   13347       lt_prog_compiler_static='-non_shared'
   13348       ;;
   13349 
   13350     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13351       case $cc_basename in
   13352       # old Intel for x86_64, which still supported -KPIC.
   13353       ecc*)
   13354 	lt_prog_compiler_wl='-Wl,'
   13355 	lt_prog_compiler_pic='-KPIC'
   13356 	lt_prog_compiler_static='-static'
   13357         ;;
   13358       *flang* | ftn | f18* | f95*)
   13359         # Flang compiler.
   13360 	lt_prog_compiler_wl='-Wl,'
   13361 	lt_prog_compiler_pic='-fPIC'
   13362 	lt_prog_compiler_static='-static'
   13363         ;;
   13364       # icc used to be incompatible with GCC.
   13365       # ICC 10 doesn't accept -KPIC any more.
   13366       icc* | ifort*)
   13367 	lt_prog_compiler_wl='-Wl,'
   13368 	lt_prog_compiler_pic='-fPIC'
   13369 	lt_prog_compiler_static='-static'
   13370         ;;
   13371       # Lahey Fortran 8.1.
   13372       lf95*)
   13373 	lt_prog_compiler_wl='-Wl,'
   13374 	lt_prog_compiler_pic='--shared'
   13375 	lt_prog_compiler_static='--static'
   13376 	;;
   13377       nagfor*)
   13378 	# NAG Fortran compiler
   13379 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13380 	lt_prog_compiler_pic='-PIC'
   13381 	lt_prog_compiler_static='-Bstatic'
   13382 	;;
   13383       tcc*)
   13384 	# Fabrice Bellard et al's Tiny C Compiler
   13385 	lt_prog_compiler_wl='-Wl,'
   13386 	lt_prog_compiler_pic='-fPIC'
   13387 	lt_prog_compiler_static='-static'
   13388 	;;
   13389       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13390         # Portland Group compilers (*not* the Pentium gcc compiler,
   13391 	# which looks to be a dead project)
   13392 	lt_prog_compiler_wl='-Wl,'
   13393 	lt_prog_compiler_pic='-fpic'
   13394 	lt_prog_compiler_static='-Bstatic'
   13395         ;;
   13396       ccc*)
   13397         lt_prog_compiler_wl='-Wl,'
   13398         # All Alpha code is PIC.
   13399         lt_prog_compiler_static='-non_shared'
   13400         ;;
   13401       xl* | bgxl* | bgf* | mpixl*)
   13402 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13403 	lt_prog_compiler_wl='-Wl,'
   13404 	lt_prog_compiler_pic='-qpic'
   13405 	lt_prog_compiler_static='-qstaticlink'
   13406 	;;
   13407       *)
   13408 	case `$CC -V 2>&1 | $SED 5q` in
   13409 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13410 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13411 	  lt_prog_compiler_pic='-KPIC'
   13412 	  lt_prog_compiler_static='-Bstatic'
   13413 	  lt_prog_compiler_wl=''
   13414 	  ;;
   13415 	*Sun\ F* | *Sun*Fortran*)
   13416 	  lt_prog_compiler_pic='-KPIC'
   13417 	  lt_prog_compiler_static='-Bstatic'
   13418 	  lt_prog_compiler_wl='-Qoption ld '
   13419 	  ;;
   13420 	*Sun\ C*)
   13421 	  # Sun C 5.9
   13422 	  lt_prog_compiler_pic='-KPIC'
   13423 	  lt_prog_compiler_static='-Bstatic'
   13424 	  lt_prog_compiler_wl='-Wl,'
   13425 	  ;;
   13426         *Intel*\ [CF]*Compiler*)
   13427 	  lt_prog_compiler_wl='-Wl,'
   13428 	  lt_prog_compiler_pic='-fPIC'
   13429 	  lt_prog_compiler_static='-static'
   13430 	  ;;
   13431 	*Portland\ Group*)
   13432 	  lt_prog_compiler_wl='-Wl,'
   13433 	  lt_prog_compiler_pic='-fpic'
   13434 	  lt_prog_compiler_static='-Bstatic'
   13435 	  ;;
   13436 	esac
   13437 	;;
   13438       esac
   13439       ;;
   13440 
   13441     newsos6)
   13442       lt_prog_compiler_pic='-KPIC'
   13443       lt_prog_compiler_static='-Bstatic'
   13444       ;;
   13445 
   13446     *-mlibc)
   13447       lt_prog_compiler_wl='-Wl,'
   13448       lt_prog_compiler_pic='-fPIC'
   13449       lt_prog_compiler_static='-static'
   13450       ;;
   13451 
   13452     *nto* | *qnx*)
   13453       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13454       # it will coredump.
   13455       lt_prog_compiler_pic='-fPIC -shared'
   13456       ;;
   13457 
   13458     osf3* | osf4* | osf5*)
   13459       lt_prog_compiler_wl='-Wl,'
   13460       # All OSF/1 code is PIC.
   13461       lt_prog_compiler_static='-non_shared'
   13462       ;;
   13463 
   13464     rdos*)
   13465       lt_prog_compiler_static='-non_shared'
   13466       ;;
   13467 
   13468     serenity*)
   13469       ;;
   13470 
   13471     solaris*)
   13472       lt_prog_compiler_pic='-KPIC'
   13473       lt_prog_compiler_static='-Bstatic'
   13474       case $cc_basename in
   13475       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13476 	lt_prog_compiler_wl='-Qoption ld ';;
   13477       *)
   13478 	lt_prog_compiler_wl='-Wl,';;
   13479       esac
   13480       ;;
   13481 
   13482     sunos4*)
   13483       lt_prog_compiler_wl='-Qoption ld '
   13484       lt_prog_compiler_pic='-PIC'
   13485       lt_prog_compiler_static='-Bstatic'
   13486       ;;
   13487 
   13488     sysv4 | sysv4.2uw2* | sysv4.3*)
   13489       lt_prog_compiler_wl='-Wl,'
   13490       lt_prog_compiler_pic='-KPIC'
   13491       lt_prog_compiler_static='-Bstatic'
   13492       ;;
   13493 
   13494     sysv4*MP*)
   13495       if test -d /usr/nec; then
   13496 	lt_prog_compiler_pic='-Kconform_pic'
   13497 	lt_prog_compiler_static='-Bstatic'
   13498       fi
   13499       ;;
   13500 
   13501     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13502       lt_prog_compiler_wl='-Wl,'
   13503       lt_prog_compiler_pic='-KPIC'
   13504       lt_prog_compiler_static='-Bstatic'
   13505       ;;
   13506 
   13507     unicos*)
   13508       lt_prog_compiler_wl='-Wl,'
   13509       lt_prog_compiler_can_build_shared=no
   13510       ;;
   13511 
   13512     uts4*)
   13513       lt_prog_compiler_pic='-pic'
   13514       lt_prog_compiler_static='-Bstatic'
   13515       ;;
   13516 
   13517     *)
   13518       lt_prog_compiler_can_build_shared=no
   13519       ;;
   13520     esac
   13521   fi
   13522 
   13523 case $host_os in
   13524   # For platforms that do not support PIC, -DPIC is meaningless:
   13525   *djgpp*)
   13526     lt_prog_compiler_pic=
   13527     ;;
   13528   *)
   13529     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13530     ;;
   13531 esac
   13532 
   13533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13534 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13535 if test ${lt_cv_prog_compiler_pic+y}
   13536 then :
   13537   printf %s "(cached) " >&6
   13538 else $as_nop
   13539   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   13540 fi
   13541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13542 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   13543 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13544 
   13545 #
   13546 # Check to make sure the PIC flag actually works.
   13547 #
   13548 if test -n "$lt_prog_compiler_pic"; then
   13549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13550 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13551 if test ${lt_cv_prog_compiler_pic_works+y}
   13552 then :
   13553   printf %s "(cached) " >&6
   13554 else $as_nop
   13555   lt_cv_prog_compiler_pic_works=no
   13556    ac_outfile=conftest.$ac_objext
   13557    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13558    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13559    # Insert the option either (1) after the last *FLAGS variable, or
   13560    # (2) before a word containing "conftest.", or (3) at the end.
   13561    # Note that $ac_compile itself does not contain backslashes and begins
   13562    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13563    # The option is referenced via a variable to avoid confusing sed.
   13564    lt_compile=`echo "$ac_compile" | $SED \
   13565    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13566    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13567    -e 's:$: $lt_compiler_flag:'`
   13568    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13569    (eval "$lt_compile" 2>conftest.err)
   13570    ac_status=$?
   13571    cat conftest.err >&5
   13572    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13573    if (exit $ac_status) && test -s "$ac_outfile"; then
   13574      # The compiler can only warn and ignore the option if not recognized
   13575      # So say no if there are warnings other than the usual output.
   13576      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13577      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13578      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13579        lt_cv_prog_compiler_pic_works=yes
   13580      fi
   13581    fi
   13582    $RM conftest*
   13583 
   13584 fi
   13585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13586 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   13587 
   13588 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13589     case $lt_prog_compiler_pic in
   13590      "" | " "*) ;;
   13591      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13592      esac
   13593 else
   13594     lt_prog_compiler_pic=
   13595      lt_prog_compiler_can_build_shared=no
   13596 fi
   13597 
   13598 fi
   13599 
   13600 
   13601 
   13602 
   13603 
   13604 #
   13605 # Check to make sure the static flag actually works.
   13606 #
   13607 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13609 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13610 if test ${lt_cv_prog_compiler_static_works+y}
   13611 then :
   13612   printf %s "(cached) " >&6
   13613 else $as_nop
   13614   lt_cv_prog_compiler_static_works=no
   13615    save_LDFLAGS=$LDFLAGS
   13616    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13617    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13618    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13619      # The linker can only warn and ignore the option if not recognized
   13620      # So say no if there are warnings
   13621      if test -s conftest.err; then
   13622        # Append any errors to the config.log.
   13623        cat conftest.err 1>&5
   13624        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13625        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13626        if diff conftest.exp conftest.er2 >/dev/null; then
   13627          lt_cv_prog_compiler_static_works=yes
   13628        fi
   13629      else
   13630        lt_cv_prog_compiler_static_works=yes
   13631      fi
   13632    fi
   13633    $RM -r conftest*
   13634    LDFLAGS=$save_LDFLAGS
   13635 
   13636 fi
   13637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13638 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   13639 
   13640 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13641     :
   13642 else
   13643     lt_prog_compiler_static=
   13644 fi
   13645 
   13646 
   13647 
   13648 ='-fPIC'
   13649   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   13650   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'
   13651   archive_cmds_need_lc=no
   13652   no_undefined_flag=
   13653   ;;
   13654 
   13655 *)
   13656   dynamic_linker=no
   13657   ;;
   13658 esac
   13659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13660 printf "%s\n" "$dynamic_linker" >&6; }
   13661 test no = "$dynamic_linker" && can_build_shared=no
   13662 
   13663 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13664 if test yes = "$GCC"; then
   13665   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13666 fi
   13667 
   13668 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13669   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13670 fi
   13671 
   13672 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13673   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13674 fi
   13675 
   13676 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13677 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13678 
   13679 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13680 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13681 
   13682 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13683 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13782 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13783 hardcode_action=
   13784 if test -n "$hardcode_libdir_flag_spec" ||
   13785    test -n "$runpath_var" ||
   13786    test yes = "$hardcode_automatic"; then
   13787 
   13788   # We can hardcode non-existent directories.
   13789   if test no != "$hardcode_direct" &&
   13790      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13791      # have to relink, otherwise we might link with an installed library
   13792      # when we should be linking with a yet-to-be-installed one
   13793      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13794      test no != "$hardcode_minus_L"; then
   13795     # Linking always hardcodes the temporary library directory.
   13796     hardcode_action=relink
   13797   else
   13798     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13799     hardcode_action=immediate
   13800   fi
   13801 else
   13802   # We cannot hardcode anything, or else we can only hardcode existing
   13803   # directories.
   13804   hardcode_action=unsupported
   13805 fi
   13806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13807 printf "%s\n" "$hardcode_action" >&6; }
   13808 
   13809 if test relink = "$hardcode_action" ||
   13810    test yes = "$inherit_rpath"; then
   13811   # Fast installation is not supported
   13812   enable_fast_install=no
   13813 elif test yes = "$shlibpath_overrides_runpath" ||
   13814      test no = "$enable_shared"; then
   13815   # Fast installation is not necessary
   13816   enable_fast_install=needless
   13817 fi
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824   if test yes != "$enable_dlopen"; then
   13825   enable_dlopen=unknown
   13826   enable_dlopen_self=unknown
   13827   enable_dlopen_self_static=unknown
   13828 else
   13829   lt_cv_dlopen=no
   13830   lt_cv_dlopen_libs=
   13831 
   13832   case $host_os in
   13833   beos*)
   13834     lt_cv_dlopen=load_add_on
   13835     lt_cv_dlopen_libs=
   13836     lt_cv_dlopen_self=yes
   13837     ;;
   13838 
   13839   mingw* | windows* | pw32* | cegcc*)
   13840     lt_cv_dlopen=LoadLibrary
   13841     lt_cv_dlopen_libs=
   13842     ;;
   13843 
   13844   cygwin*)
   13845     lt_cv_dlopen=dlopen
   13846     lt_cv_dlopen_libs=
   13847     ;;
   13848 
   13849   darwin*)
   13850     # if libdl is installed we need to link against it
   13851     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13852 printf %s "checking for dlopen in -ldl... " >&6; }
   13853 if test ${ac_cv_lib_dl_dlopen+y}
   13854 then :
   13855   printf %s "(cached) " >&6
   13856 else $as_nop
   13857   ac_check_lib_save_LIBS=$LIBS
   13858 LIBS="-ldl  $LIBS"
   13859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13860 /* end confdefs.h.  */
   13861 
   13862 /* Override any GCC internal prototype to avoid an error.
   13863    Use char because int might match the return type of a GCC
   13864    builtin and then its argument prototype would still apply.
   13865    The 'extern "C"' is for builds by C++ compilers;
   13866    although this is not generally supported in C code supporting it here
   13867    has little cost and some practical benefit (sr 110532).  */
   13868 #ifdef __cplusplus
   13869 extern "C"
   13870 #endif
   13871 char dlopen (void);
   13872 int
   13873 main (void)
   13874 {
   13875 return dlopen ();
   13876   ;
   13877   return 0;
   13878 }
   13879 _ACEOF
   13880 if ac_fn_c_try_link "$LINENO"
   13881 then :
   13882   ac_cv_lib_dl_dlopen=yes
   13883 else $as_nop
   13884   ac_cv_lib_dl_dlopen=no
   13885 fi
   13886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13887     conftest$ac_exeext conftest.$ac_ext
   13888 LIBS=$ac_check_lib_save_LIBS
   13889 fi
   13890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13891 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13892 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13893 then :
   13894   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13895 else $as_nop
   13896 
   13897     lt_cv_dlopen=dyld
   13898     lt_cv_dlopen_libs=
   13899     lt_cv_dlopen_self=yes
   13900 
   13901 fi
   13902 
   13903     ;;
   13904 
   13905   tpf*)
   13906     # Don't try to run any link tests for TPF.  We know it's impossible
   13907     # because TPF is a cross-compiler, and we know how we open DSOs.
   13908     lt_cv_dlopen=dlopen
   13909     lt_cv_dlopen_libs=
   13910     lt_cv_dlopen_self=no
   13911     ;;
   13912 
   13913   *)
   13914     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13915 if test "x$ac_cv_func_shl_load" = xyes
   13916 then :
   13917   lt_cv_dlopen=shl_load
   13918 else $as_nop
   13919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13920 printf %s "checking for shl_load in -ldld... " >&6; }
   13921 if test ${ac_cv_lib_dld_shl_load+y}
   13922 then :
   13923   printf %s "(cached) " >&6
   13924 else $as_nop
   13925   ac_check_lib_save_LIBS=$LIBS
   13926 LIBS="-ldld  $LIBS"
   13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13928 /* end confdefs.h.  */
   13929 
   13930 /* Override any GCC internal prototype to avoid an error.
   13931    Use char because int might match the return type of a GCC
   13932    builtin and then its argument prototype would still apply.
   13933    The 'extern "C"' is for builds by C++ compilers;
   13934    although this is not generally supported in C code supporting it here
   13935    has little cost and some practical benefit (sr 110532).  */
   13936 #ifdef __cplusplus
   13937 extern "C"
   13938 #endif
   13939 char shl_load (void);
   13940 int
   13941 main (void)
   13942 {
   13943 return shl_load ();
   13944   ;
   13945   return 0;
   13946 }
   13947 _ACEOF
   13948 if ac_fn_c_try_link "$LINENO"
   13949 then :
   13950   ac_cv_lib_dld_shl_load=yes
   13951 else $as_nop
   13952   ac_cv_lib_dld_shl_load=no
   13953 fi
   13954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13955     conftest$ac_exeext conftest.$ac_ext
   13956 LIBS=$ac_check_lib_save_LIBS
   13957 fi
   13958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13959 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13960 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13961 then :
   13962   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13963 else $as_nop
   13964   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13965 if test "x$ac_cv_func_dlopen" = xyes
   13966 then :
   13967   lt_cv_dlopen=dlopen
   13968 else $as_nop
   13969   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13970 printf %s "checking for dlopen in -ldl... " >&6; }
   13971 if test ${ac_cv_lib_dl_dlopen+y}
   13972 then :
   13973   printf %s "(cached) " >&6
   13974 else $as_nop
   13975   ac_check_lib_save_LIBS=$LIBS
   13976 LIBS="-ldl  $LIBS"
   13977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13978 /* end confdefs.h.  */
   13979 
   13980 /* Override any GCC internal prototype to avoid an error.
   13981    Use char because int might match the return type of a GCC
   13982    builtin and then its argument prototype would still apply.
   13983    The 'extern "C"' is for builds by C++ compilers;
   13984    although this is not generally supported in C code supporting it here
   13985    has little cost and some practical benefit (sr 110532).  */
   13986 #ifdef __cplusplus
   13987 extern "C"
   13988 #endif
   13989 char dlopen (void);
   13990 int
   13991 main (void)
   13992 {
   13993 return dlopen ();
   13994   ;
   13995   return 0;
   13996 }
   13997 _ACEOF
   13998 if ac_fn_c_try_link "$LINENO"
   13999 then :
   14000   ac_cv_lib_dl_dlopen=yes
   14001 else $as_nop
   14002   ac_cv_lib_dl_dlopen=no
   14003 fi
   14004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14005     conftest$ac_exeext conftest.$ac_ext
   14006 LIBS=$ac_check_lib_save_LIBS
   14007 fi
   14008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   14009 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   14010 if test "x$ac_cv_lib_dl_dlopen" = xyes
   14011 then :
   14012   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   14013 else $as_nop
   14014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   14015 printf %s "checking for dlopen in -lsvld... " >&6; }
   14016 if test ${ac_cv_lib_svld_dlopen+y}
   14017 then :
   14018   printf %s "(cached) " >&6
   14019 else $as_nop
   14020   ac_check_lib_save_LIBS=$LIBS
   14021 LIBS="-lsvld  $LIBS"
   14022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14023 /* end confdefs.h.  */
   14024 
   14025 /* Override any GCC internal prototype to avoid an error.
   14026    Use char because int might match the return type of a GCC
   14027    builtin and then its argument prototype would still apply.
   14028    The 'extern "C"' is for builds by C++ compilers;
   14029    although this is not generally supported in C code supporting it here
   14030    has little cost and some practical benefit (sr 110532).  */
   14031 #ifdef __cplusplus
   14032 extern "C"
   14033 #endif
   14034 char dlopen (void);
   14035 int
   14036 main (void)
   14037 {
   14038 return dlopen ();
   14039   ;
   14040   return 0;
   14041 }
   14042 _ACEOF
   14043 if ac_fn_c_try_link "$LINENO"
   14044 then :
   14045   ac_cv_lib_svld_dlopen=yes
   14046 else $as_nop
   14047   ac_cv_lib_svld_dlopen=no
   14048 fi
   14049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14050     conftest$ac_exeext conftest.$ac_ext
   14051 LIBS=$ac_check_lib_save_LIBS
   14052 fi
   14053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   14054 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   14055 if test "x$ac_cv_lib_svld_dlopen" = xyes
   14056 then :
   14057   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   14058 else $as_nop
   14059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   14060 printf %s "checking for dld_link in -ldld... " >&6; }
   14061 if test ${ac_cv_lib_dld_dld_link+y}
   14062 then :
   14063   printf %s "(cached) " >&6
   14064 else $as_nop
   14065   ac_check_lib_save_LIBS=$LIBS
   14066 LIBS="-ldld  $LIBS"
   14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14068 /* end confdefs.h.  */
   14069 
   14070 /* Override any GCC internal prototype to avoid an error.
   14071    Use char because int might match the return type of a GCC
   14072    builtin and then its argument prototype would still apply.
   14073    The 'extern "C"' is for builds by C++ compilers;
   14074    although this is not generally supported in C code supporting it here
   14075    has little cost and some practical benefit (sr 110532).  */
   14076 #ifdef __cplusplus
   14077 extern "C"
   14078 #endif
   14079 char dld_link (void);
   14080 int
   14081 main (void)
   14082 {
   14083 return dld_link ();
   14084   ;
   14085   return 0;
   14086 }
   14087 _ACEOF
   14088 if ac_fn_c_try_link "$LINENO"
   14089 then :
   14090   ac_cv_lib_dld_dld_link=yes
   14091 else $as_nop
   14092   ac_cv_lib_dld_dld_link=no
   14093 fi
   14094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14095     conftest$ac_exeext conftest.$ac_ext
   14096 LIBS=$ac_check_lib_save_LIBS
   14097 fi
   14098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   14099 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   14100 if test "x$ac_cv_lib_dld_dld_link" = xyes
   14101 then :
   14102   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   14103 fi
   14104 
   14105 
   14106 fi
   14107 
   14108 
   14109 fi
   14110 
   14111 
   14112 fi
   14113 
   14114 
   14115 fi
   14116 
   14117 
   14118 fi
   14119 
   14120     ;;
   14121   esac
   14122 
   14123   if test no = "$lt_cv_dlopen"; then
   14124     enable_dlopen=no
   14125   else
   14126     enable_dlopen=yes
   14127   fi
   14128 
   14129   case $lt_cv_dlopen in
   14130   dlopen)
   14131     save_CPPFLAGS=$CPPFLAGS
   14132     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   14133 
   14134     save_LDFLAGS=$LDFLAGS
   14135     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   14136 
   14137     save_LIBS=$LIBS
   14138     LIBS="$lt_cv_dlopen_libs $LIBS"
   14139 
   14140     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   14141 printf %s "checking whether a program can dlopen itself... " >&6; }
   14142 if test ${lt_cv_dlopen_self+y}
   14143 then :
   14144   printf %s "(cached) " >&6
   14145 else $as_nop
   14146   	  if test yes = "$cross_compiling"; then :
   14147   lt_cv_dlopen_self=cross
   14148 else
   14149   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14150   lt_status=$lt_dlunknown
   14151   cat > conftest.$ac_ext <<_LT_EOF
   14152 #line $LINENO "configure"
   14153 #include "confdefs.h"
   14154 
   14155 #if HAVE_DLFCN_H
   14156 #include <dlfcn.h>
   14157 #endif
   14158 
   14159 #include <stdio.h>
   14160 
   14161 #ifdef RTLD_GLOBAL
   14162 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14163 #else
   14164 #  ifdef DL_GLOBAL
   14165 #    define LT_DLGLOBAL		DL_GLOBAL
   14166 #  else
   14167 #    define LT_DLGLOBAL		0
   14168 #  endif
   14169 #endif
   14170 
   14171 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14172    find out it does not work in some platform. */
   14173 #ifndef LT_DLLAZY_OR_NOW
   14174 #  ifdef RTLD_LAZY
   14175 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14176 #  else
   14177 #    ifdef DL_LAZY
   14178 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14179 #    else
   14180 #      ifdef RTLD_NOW
   14181 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14182 #      else
   14183 #        ifdef DL_NOW
   14184 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14185 #        else
   14186 #          define LT_DLLAZY_OR_NOW	0
   14187 #        endif
   14188 #      endif
   14189 #    endif
   14190 #  endif
   14191 #endif
   14192 
   14193 /* When -fvisibility=hidden is used, assume the code has been annotated
   14194    correspondingly for the symbols needed.  */
   14195 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14196 int fnord (void) __attribute__((visibility("default")));
   14197 #endif
   14198 
   14199 int fnord (void) { return 42; }
   14200 int main (void)
   14201 {
   14202   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14203   int status = $lt_dlunknown;
   14204 
   14205   if (self)
   14206     {
   14207       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14208       else
   14209         {
   14210 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14211           else puts (dlerror ());
   14212 	}
   14213       /* dlclose (self); */
   14214     }
   14215   else
   14216     puts (dlerror ());
   14217 
   14218   return status;
   14219 }
   14220 _LT_EOF
   14221   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14222   (eval $ac_link) 2>&5
   14223   ac_status=$?
   14224   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14225   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14226     (./conftest; exit; ) >&5 2>/dev/null
   14227     lt_status=$?
   14228     case x$lt_status in
   14229       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   14230       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   14231       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   14232     esac
   14233   else :
   14234     # compilation failed
   14235     lt_cv_dlopen_self=no
   14236   fi
   14237 fi
   14238 rm -fr conftest*
   14239 
   14240 
   14241 fi
   14242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   14243 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   14244 
   14245     if test yes = "$lt_cv_dlopen_self"; then
   14246       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   14247       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   14248 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   14249 if test ${lt_cv_dlopen_self_static+y}
   14250 then :
   14251   printf %s "(cached) " >&6
   14252 else $as_nop
   14253   	  if test yes = "$cross_compiling"; then :
   14254   lt_cv_dlopen_self_static=cross
   14255 else
   14256   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14257   lt_status=$lt_dlunknown
   14258   cat > conftest.$ac_ext <<_LT_EOF
   14259 #line $LINENO "configure"
   14260 #include "confdefs.h"
   14261 
   14262 #if HAVE_DLFCN_H
   14263 #include <dlfcn.h>
   14264 #endif
   14265 
   14266 #include <stdio.h>
   14267 
   14268 #ifdef RTLD_GLOBAL
   14269 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14270 #else
   14271 #  ifdef DL_GLOBAL
   14272 #    define LT_DLGLOBAL		DL_GLOBAL
   14273 #  else
   14274 #    define LT_DLGLOBAL		0
   14275 #  endif
   14276 #endif
   14277 
   14278 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14279    find out it does not work in some platform. */
   14280 #ifndef LT_DLLAZY_OR_NOW
   14281 #  ifdef RTLD_LAZY
   14282 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14283 #  else
   14284 #    ifdef DL_LAZY
   14285 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14286 #    else
   14287 #      ifdef RTLD_NOW
   14288 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14289 #      else
   14290 #        ifdef DL_NOW
   14291 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14292 #        else
   14293 #          define LT_DLLAZY_OR_NOW	0
   14294 #        endif
   14295 #      endif
   14296 #    endif
   14297 #  endif
   14298 #endif
   14299 
   14300 /* When -fvisibility=hidden is used, assume the code has been annotated
   14301    correspondingly for the symbols needed.  */
   14302 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14303 int fnord (void) __attribute__((visibility("default")));
   14304 #endif
   14305 
   14306 int fnord (void) { return 42; }
   14307 int main (void)
   14308 {
   14309   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14310   int status = $lt_dlunknown;
   14311 
   14312   if (self)
   14313     {
   14314       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14315       else
   14316         {
   14317 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14318           else puts (dlerror ());
   14319 	}
   14320       /* dlclose (self); */
   14321     }
   14322   else
   14323     puts (dlerror ());
   14324 
   14325   return status;
   14326 }
   14327 _LT_EOF
   14328   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14329   (eval $ac_link) 2>&5
   14330   ac_status=$?
   14331   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14332   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14333     (./conftest; exit; ) >&5 2>/dev/null
   14334     lt_status=$?
   14335     case x$lt_status in
   14336       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14337       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14338       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14339     esac
   14340   else :
   14341     # compilation failed
   14342     lt_cv_dlopen_self_static=no
   14343   fi
   14344 fi
   14345 rm -fr conftest*
   14346 
   14347 
   14348 fi
   14349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   14350 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   14351     fi
   14352 
   14353     CPPFLAGS=$save_CPPFLAGS
   14354     LDFLAGS=$save_LDFLAGS
   14355     LIBS=$save_LIBS
   14356     ;;
   14357   esac
   14358 
   14359   case $lt_cv_dlopen_self in
   14360   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   14361   *) enable_dlopen_self=unknown ;;
   14362   esac
   14363 
   14364   case $lt_cv_dlopen_self_static in
   14365   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   14366   *) enable_dlopen_self_static=unknown ;;
   14367   esac
   14368 fi
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 striplib=
   14387 old_striplib=
   14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   14389 printf %s "checking whether stripping libraries is possible... " >&6; }
   14390 if test -z "$STRIP"; then
   14391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14392 printf "%s\n" "no" >&6; }
   14393 else
   14394   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   14395     old_striplib="$STRIP --strip-debug"
   14396     striplib="$STRIP --strip-unneeded"
   14397     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14398 printf "%s\n" "yes" >&6; }
   14399   else
   14400     case $host_os in
   14401     darwin*)
   14402       # FIXME - insert some real tests, host_os isn't really good enough
   14403       striplib="$STRIP -x"
   14404       old_striplib="$STRIP -S"
   14405       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14406 printf "%s\n" "yes" >&6; }
   14407       ;;
   14408     freebsd*)
   14409       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   14410         old_striplib="$STRIP --strip-debug"
   14411         striplib="$STRIP --strip-unneeded"
   14412         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14413 printf "%s\n" "yes" >&6; }
   14414       else
   14415         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14416 printf "%s\n" "no" >&6; }
   14417       fi
   14418       ;;
   14419     *)
   14420       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14421 printf "%s\n" "no" >&6; }
   14422       ;;
   14423     esac
   14424   fi
   14425 fi
   14426 
   14427 
   14428 
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438   # Report what library types will actually be built
   14439   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14440 printf %s "checking if libtool supports shared libraries... " >&6; }
   14441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14442 printf "%s\n" "$can_build_shared" >&6; }
   14443 
   14444   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14445 printf %s "checking whether to build shared libraries... " >&6; }
   14446   test no = "$can_build_shared" && enable_shared=no
   14447 
   14448   # On AIX, shared libraries and static libraries use the same namespace, and
   14449   # are all built from PIC.
   14450   case $host_os in
   14451   aix3*)
   14452     test yes = "$enable_shared" && enable_static=no
   14453     if test -n "$RANLIB"; then
   14454       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14455       postinstall_cmds='$RANLIB $lib'
   14456     fi
   14457     ;;
   14458 
   14459   aix[4-9]*)
   14460     if test ia64 != "$host_cpu"; then
   14461       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14462       yes,aix,yes) ;;			# shared object as lib.so file only
   14463       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14464       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14465       esac
   14466     fi
   14467     ;;
   14468   esac
   14469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14470 printf "%s\n" "$enable_shared" >&6; }
   14471 
   14472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14473 printf %s "checking whether to build static libraries... " >&6; }
   14474   # Make sure either enable_shared or enable_static is yes.
   14475   test yes = "$enable_shared" || enable_static=yes
   14476   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14477 printf "%s\n" "$enable_static" >&6; }
   14478 
   14479 
   14480 
   14481 
   14482 fi
   14483 ac_ext=c
   14484 ac_cpp='$CPP $CPPFLAGS'
   14485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14488 
   14489 CC=$lt_save_CC
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 
   14505         ac_config_commands="$ac_config_commands libtool"
   14506 
   14507 
   14508 
   14509 
   14510 # Only expand once:
   14511 
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 ac_ext=c
   14519 ac_cpp='$CPP $CPPFLAGS'
   14520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14523 
   14524 
   14525 
   14526 if test "${ac_cv_prog_cc_c99}" = no
   14527 then :
   14528   as_fn_error $? "Expat requires a C99 compiler." "$LINENO" 5
   14529 fi
   14530 
   14531 if test "$GCC" = yes
   14532 then :
   14533 
   14534 
   14535 
   14536 
   14537 for flag in -Wall -Wextra; do
   14538   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
   14539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   14540 printf %s "checking whether C compiler accepts $flag... " >&6; }
   14541 if eval test \${$as_CACHEVAR+y}
   14542 then :
   14543   printf %s "(cached) " >&6
   14544 else $as_nop
   14545 
   14546   ax_check_save_flags=$CFLAGS
   14547   CFLAGS="$CFLAGS  -Werror $flag"
   14548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14549 /* end confdefs.h.  */
   14550 int main(void) { return 0; }
   14551 _ACEOF
   14552 if ac_fn_c_try_compile "$LINENO"
   14553 then :
   14554   eval "$as_CACHEVAR=yes"
   14555 else $as_nop
   14556   eval "$as_CACHEVAR=no"
   14557 fi
   14558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14559   CFLAGS=$ax_check_save_flags
   14560 fi
   14561 eval ac_res=\$$as_CACHEVAR
   14562 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14563 printf "%s\n" "$ac_res" >&6; }
   14564 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   14565 then :
   14566 
   14567 if test ${AM_CFLAGS+y}
   14568 then :
   14569 
   14570   case " $AM_CFLAGS " in #(
   14571   *" $flag "*) :
   14572     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   14573   (: AM_CFLAGS already contains $flag) 2>&5
   14574   ac_status=$?
   14575   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14576   test $ac_status = 0; } ;; #(
   14577   *) :
   14578 
   14579      as_fn_append AM_CFLAGS " $flag"
   14580      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14581   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14582   ac_status=$?
   14583   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14584   test $ac_status = 0; }
   14585      ;;
   14586 esac
   14587 
   14588 else $as_nop
   14589 
   14590   AM_CFLAGS=$flag
   14591   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14592   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14593   ac_status=$?
   14594   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14595   test $ac_status = 0; }
   14596 
   14597 fi
   14598 
   14599 else $as_nop
   14600   :
   14601 fi
   14602 
   14603 done
   14604 
   14605 
   14606 
   14607 
   14608 
   14609 for flag in -fexceptions; do
   14610   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
   14611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   14612 printf %s "checking whether C compiler accepts $flag... " >&6; }
   14613 if eval test \${$as_CACHEVAR+y}
   14614 then :
   14615   printf %s "(cached) " >&6
   14616 else $as_nop
   14617 
   14618   ax_check_save_flags=$CFLAGS
   14619   CFLAGS="$CFLAGS  -Werror $flag"
   14620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14621 /* end confdefs.h.  */
   14622 int main(void) { return 0; }
   14623 _ACEOF
   14624 if ac_fn_c_try_compile "$LINENO"
   14625 then :
   14626   eval "$as_CACHEVAR=yes"
   14627 else $as_nop
   14628   eval "$as_CACHEVAR=no"
   14629 fi
   14630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14631   CFLAGS=$ax_check_save_flags
   14632 fi
   14633 eval ac_res=\$$as_CACHEVAR
   14634 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14635 printf "%s\n" "$ac_res" >&6; }
   14636 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   14637 then :
   14638 
   14639 if test ${AM_CFLAGS+y}
   14640 then :
   14641 
   14642   case " $AM_CFLAGS " in #(
   14643   *" $flag "*) :
   14644     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   14645   (: AM_CFLAGS already contains $flag) 2>&5
   14646   ac_status=$?
   14647   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14648   test $ac_status = 0; } ;; #(
   14649   *) :
   14650 
   14651      as_fn_append AM_CFLAGS " $flag"
   14652      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14653   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14654   ac_status=$?
   14655   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14656   test $ac_status = 0; }
   14657      ;;
   14658 esac
   14659 
   14660 else $as_nop
   14661 
   14662   AM_CFLAGS=$flag
   14663   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14664   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14665   ac_status=$?
   14666   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14667   test $ac_status = 0; }
   14668 
   14669 fi
   14670 
   14671 else $as_nop
   14672   :
   14673 fi
   14674 
   14675 done
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 for flag in -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes; do
   14682   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
   14683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   14684 printf %s "checking whether C compiler accepts $flag... " >&6; }
   14685 if eval test \${$as_CACHEVAR+y}
   14686 then :
   14687   printf %s "(cached) " >&6
   14688 else $as_nop
   14689 
   14690   ax_check_save_flags=$CFLAGS
   14691   CFLAGS="$CFLAGS  -Werror $flag"
   14692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14693 /* end confdefs.h.  */
   14694 int main(void) { return 0; }
   14695 _ACEOF
   14696 if ac_fn_c_try_compile "$LINENO"
   14697 then :
   14698   eval "$as_CACHEVAR=yes"
   14699 else $as_nop
   14700   eval "$as_CACHEVAR=no"
   14701 fi
   14702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14703   CFLAGS=$ax_check_save_flags
   14704 fi
   14705 eval ac_res=\$$as_CACHEVAR
   14706 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14707 printf "%s\n" "$ac_res" >&6; }
   14708 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   14709 then :
   14710 
   14711 if test ${AM_CFLAGS+y}
   14712 then :
   14713 
   14714   case " $AM_CFLAGS " in #(
   14715   *" $flag "*) :
   14716     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   14717   (: AM_CFLAGS already contains $flag) 2>&5
   14718   ac_status=$?
   14719   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14720   test $ac_status = 0; } ;; #(
   14721   *) :
   14722 
   14723      as_fn_append AM_CFLAGS " $flag"
   14724      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14725   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14726   ac_status=$?
   14727   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14728   test $ac_status = 0; }
   14729      ;;
   14730 esac
   14731 
   14732 else $as_nop
   14733 
   14734   AM_CFLAGS=$flag
   14735   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14736   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14737   ac_status=$?
   14738   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14739   test $ac_status = 0; }
   14740 
   14741 fi
   14742 
   14743 else $as_nop
   14744   :
   14745 fi
   14746 
   14747 done
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 for flag in -pedantic -Wduplicated-cond -Wduplicated-branches -Wlogical-op; do
   14754   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
   14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   14756 printf %s "checking whether C compiler accepts $flag... " >&6; }
   14757 if eval test \${$as_CACHEVAR+y}
   14758 then :
   14759   printf %s "(cached) " >&6
   14760 else $as_nop
   14761 
   14762   ax_check_save_flags=$CFLAGS
   14763   CFLAGS="$CFLAGS  -Werror $flag"
   14764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14765 /* end confdefs.h.  */
   14766 int main(void) { return 0; }
   14767 _ACEOF
   14768 if ac_fn_c_try_compile "$LINENO"
   14769 then :
   14770   eval "$as_CACHEVAR=yes"
   14771 else $as_nop
   14772   eval "$as_CACHEVAR=no"
   14773 fi
   14774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14775   CFLAGS=$ax_check_save_flags
   14776 fi
   14777 eval ac_res=\$$as_CACHEVAR
   14778 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14779 printf "%s\n" "$ac_res" >&6; }
   14780 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   14781 then :
   14782 
   14783 if test ${AM_CFLAGS+y}
   14784 then :
   14785 
   14786   case " $AM_CFLAGS " in #(
   14787   *" $flag "*) :
   14788     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   14789   (: AM_CFLAGS already contains $flag) 2>&5
   14790   ac_status=$?
   14791   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14792   test $ac_status = 0; } ;; #(
   14793   *) :
   14794 
   14795      as_fn_append AM_CFLAGS " $flag"
   14796      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14797   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14798   ac_status=$?
   14799   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14800   test $ac_status = 0; }
   14801      ;;
   14802 esac
   14803 
   14804 else $as_nop
   14805 
   14806   AM_CFLAGS=$flag
   14807   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14808   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14809   ac_status=$?
   14810   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14811   test $ac_status = 0; }
   14812 
   14813 fi
   14814 
   14815 else $as_nop
   14816   :
   14817 fi
   14818 
   14819 done
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 for flag in -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion; do
   14826   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
   14827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   14828 printf %s "checking whether C compiler accepts $flag... " >&6; }
   14829 if eval test \${$as_CACHEVAR+y}
   14830 then :
   14831   printf %s "(cached) " >&6
   14832 else $as_nop
   14833 
   14834   ax_check_save_flags=$CFLAGS
   14835   CFLAGS="$CFLAGS  -Werror $flag"
   14836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14837 /* end confdefs.h.  */
   14838 int main(void) { return 0; }
   14839 _ACEOF
   14840 if ac_fn_c_try_compile "$LINENO"
   14841 then :
   14842   eval "$as_CACHEVAR=yes"
   14843 else $as_nop
   14844   eval "$as_CACHEVAR=no"
   14845 fi
   14846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14847   CFLAGS=$ax_check_save_flags
   14848 fi
   14849 eval ac_res=\$$as_CACHEVAR
   14850 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14851 printf "%s\n" "$ac_res" >&6; }
   14852 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   14853 then :
   14854 
   14855 if test ${AM_CFLAGS+y}
   14856 then :
   14857 
   14858   case " $AM_CFLAGS " in #(
   14859   *" $flag "*) :
   14860     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   14861   (: AM_CFLAGS already contains $flag) 2>&5
   14862   ac_status=$?
   14863   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14864   test $ac_status = 0; } ;; #(
   14865   *) :
   14866 
   14867      as_fn_append AM_CFLAGS " $flag"
   14868      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14869   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14870   ac_status=$?
   14871   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14872   test $ac_status = 0; }
   14873      ;;
   14874 esac
   14875 
   14876 else $as_nop
   14877 
   14878   AM_CFLAGS=$flag
   14879   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14880   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14881   ac_status=$?
   14882   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14883   test $ac_status = 0; }
   14884 
   14885 fi
   14886 
   14887 else $as_nop
   14888   :
   14889 fi
   14890 
   14891 done
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 for flag in -Wshadow -Wformat=2 -Wno-pedantic-ms-format -Wmisleading-indentation; do
   14898   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
   14899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   14900 printf %s "checking whether C compiler accepts $flag... " >&6; }
   14901 if eval test \${$as_CACHEVAR+y}
   14902 then :
   14903   printf %s "(cached) " >&6
   14904 else $as_nop
   14905 
   14906   ax_check_save_flags=$CFLAGS
   14907   CFLAGS="$CFLAGS  -Werror $flag"
   14908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14909 /* end confdefs.h.  */
   14910 int main(void) { return 0; }
   14911 _ACEOF
   14912 if ac_fn_c_try_compile "$LINENO"
   14913 then :
   14914   eval "$as_CACHEVAR=yes"
   14915 else $as_nop
   14916   eval "$as_CACHEVAR=no"
   14917 fi
   14918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14919   CFLAGS=$ax_check_save_flags
   14920 fi
   14921 eval ac_res=\$$as_CACHEVAR
   14922 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14923 printf "%s\n" "$ac_res" >&6; }
   14924 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   14925 then :
   14926 
   14927 if test ${AM_CFLAGS+y}
   14928 then :
   14929 
   14930   case " $AM_CFLAGS " in #(
   14931   *" $flag "*) :
   14932     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
   14933   (: AM_CFLAGS already contains $flag) 2>&5
   14934   ac_status=$?
   14935   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14936   test $ac_status = 0; } ;; #(
   14937   *) :
   14938 
   14939      as_fn_append AM_CFLAGS " $flag"
   14940      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14941   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14942   ac_status=$?
   14943   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14944   test $ac_status = 0; }
   14945      ;;
   14946 esac
   14947 
   14948 else $as_nop
   14949 
   14950   AM_CFLAGS=$flag
   14951   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   14952   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   14953   ac_status=$?
   14954   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14955   test $ac_status = 0; }
   14956 
   14957 fi
   14958 
   14959 else $as_nop
   14960   :
   14961 fi
   14962 
   14963 done
   14964 
   14965 fi
   14966 
   14967 ac_ext=cpp
   14968 ac_cpp='$CXXCPP $CPPFLAGS'
   14969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 ac_ext=cpp
   14980 ac_cpp='$CXXCPP $CPPFLAGS'
   14981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   14984 if test -z "$CXX"; then
   14985   if test -n "$CCC"; then
   14986     CXX=$CCC
   14987   else
   14988     if test -n "$ac_tool_prefix"; then
   14989   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
   14990   do
   14991     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   14992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   14993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14994 printf %s "checking for $ac_word... " >&6; }
   14995 if test ${ac_cv_prog_CXX+y}
   14996 then :
   14997   printf %s "(cached) " >&6
   14998 else $as_nop
   14999   if test -n "$CXX"; then
   15000   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   15001 else
   15002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15003 for as_dir in $PATH
   15004 do
   15005   IFS=$as_save_IFS
   15006   case $as_dir in #(((
   15007     '') as_dir=./ ;;
   15008     */) ;;
   15009     *) as_dir=$as_dir/ ;;
   15010   esac
   15011     for ac_exec_ext in '' $ac_executable_extensions; do
   15012   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15013     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   15014     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15015     break 2
   15016   fi
   15017 done
   15018   done
   15019 IFS=$as_save_IFS
   15020 
   15021 fi
   15022 fi
   15023 CXX=$ac_cv_prog_CXX
   15024 if test -n "$CXX"; then
   15025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   15026 printf "%s\n" "$CXX" >&6; }
   15027 else
   15028   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15029 printf "%s\n" "no" >&6; }
   15030 fi
   15031 
   15032 
   15033     test -n "$CXX" && break
   15034   done
   15035 fi
   15036 if test -z "$CXX"; then
   15037   ac_ct_CXX=$CXX
   15038   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
   15039 do
   15040   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15041 set dummy $ac_prog; ac_word=$2
   15042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15043 printf %s "checking for $ac_word... " >&6; }
   15044 if test ${ac_cv_prog_ac_ct_CXX+y}
   15045 then :
   15046   printf %s "(cached) " >&6
   15047 else $as_nop
   15048   if test -n "$ac_ct_CXX"; then
   15049   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   15050 else
   15051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15052 for as_dir in $PATH
   15053 do
   15054   IFS=$as_save_IFS
   15055   case $as_dir in #(((
   15056     '') as_dir=./ ;;
   15057     */) ;;
   15058     *) as_dir=$as_dir/ ;;
   15059   esac
   15060     for ac_exec_ext in '' $ac_executable_extensions; do
   15061   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15062     ac_cv_prog_ac_ct_CXX="$ac_prog"
   15063     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15064     break 2
   15065   fi
   15066 done
   15067   done
   15068 IFS=$as_save_IFS
   15069 
   15070 fi
   15071 fi
   15072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   15073 if test -n "$ac_ct_CXX"; then
   15074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   15075 printf "%s\n" "$ac_ct_CXX" >&6; }
   15076 else
   15077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15078 printf "%s\n" "no" >&6; }
   15079 fi
   15080 
   15081 
   15082   test -n "$ac_ct_CXX" && break
   15083 done
   15084 
   15085   if test "x$ac_ct_CXX" = x; then
   15086     CXX="g++"
   15087   else
   15088     case $cross_compiling:$ac_tool_warned in
   15089 yes:)
   15090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15091 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15092 ac_tool_warned=yes ;;
   15093 esac
   15094     CXX=$ac_ct_CXX
   15095   fi
   15096 fi
   15097 
   15098   fi
   15099 fi
   15100 # Provide some information about the compiler.
   15101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   15102 set X $ac_compile
   15103 ac_compiler=$2
   15104 for ac_option in --version -v -V -qversion; do
   15105   { { ac_try="$ac_compiler $ac_option >&5"
   15106 case "(($ac_try" in
   15107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15108   *) ac_try_echo=$ac_try;;
   15109 esac
   15110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   15111 printf "%s\n" "$ac_try_echo"; } >&5
   15112   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   15113   ac_status=$?
   15114   if test -s conftest.err; then
   15115     sed '10a\
   15116 ... rest of stderr output deleted ...
   15117          10q' conftest.err >conftest.er1
   15118     cat conftest.er1 >&5
   15119   fi
   15120   rm -f conftest.er1 conftest.err
   15121   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15122   test $ac_status = 0; }
   15123 done
   15124 
   15125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
   15126 printf %s "checking whether the compiler supports GNU C++... " >&6; }
   15127 if test ${ac_cv_cxx_compiler_gnu+y}
   15128 then :
   15129   printf %s "(cached) " >&6
   15130 else $as_nop
   15131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15132 /* end confdefs.h.  */
   15133 
   15134 int
   15135 main (void)
   15136 {
   15137 #ifndef __GNUC__
   15138        choke me
   15139 #endif
   15140 
   15141   ;
   15142   return 0;
   15143 }
   15144 _ACEOF
   15145 if ac_fn_cxx_try_compile "$LINENO"
   15146 then :
   15147   ac_compiler_gnu=yes
   15148 else $as_nop
   15149   ac_compiler_gnu=no
   15150 fi
   15151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15152 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   15153 
   15154 fi
   15155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   15156 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
   15157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15158 
   15159 if test $ac_compiler_gnu = yes; then
   15160   GXX=yes
   15161 else
   15162   GXX=
   15163 fi
   15164 ac_test_CXXFLAGS=${CXXFLAGS+y}
   15165 ac_save_CXXFLAGS=$CXXFLAGS
   15166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   15167 printf %s "checking whether $CXX accepts -g... " >&6; }
   15168 if test ${ac_cv_prog_cxx_g+y}
   15169 then :
   15170   printf %s "(cached) " >&6
   15171 else $as_nop
   15172   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   15173    ac_cxx_werror_flag=yes
   15174    ac_cv_prog_cxx_g=no
   15175    CXXFLAGS="-g"
   15176    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15177 /* end confdefs.h.  */
   15178 
   15179 int
   15180 main (void)
   15181 {
   15182 
   15183   ;
   15184   return 0;
   15185 }
   15186 _ACEOF
   15187 if ac_fn_cxx_try_compile "$LINENO"
   15188 then :
   15189   ac_cv_prog_cxx_g=yes
   15190 else $as_nop
   15191   CXXFLAGS=""
   15192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15193 /* end confdefs.h.  */
   15194 
   15195 int
   15196 main (void)
   15197 {
   15198 
   15199   ;
   15200   return 0;
   15201 }
   15202 _ACEOF
   15203 if ac_fn_cxx_try_compile "$LINENO"
   15204 then :
   15205 
   15206 else $as_nop
   15207   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   15208 	 CXXFLAGS="-g"
   15209 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15210 /* end confdefs.h.  */
   15211 
   15212 int
   15213 main (void)
   15214 {
   15215 
   15216   ;
   15217   return 0;
   15218 }
   15219 _ACEOF
   15220 if ac_fn_cxx_try_compile "$LINENO"
   15221 then :
   15222   ac_cv_prog_cxx_g=yes
   15223 fi
   15224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15225 fi
   15226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15227 fi
   15228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15229    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   15230 fi
   15231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   15232 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
   15233 if test $ac_test_CXXFLAGS; then
   15234   CXXFLAGS=$ac_save_CXXFLAGS
   15235 elif test $ac_cv_prog_cxx_g = yes; then
   15236   if test "$GXX" = yes; then
   15237     CXXFLAGS="-g -O2"
   15238   else
   15239     CXXFLAGS="-g"
   15240   fi
   15241 else
   15242   if test "$GXX" = yes; then
   15243     CXXFLAGS="-O2"
   15244   else
   15245     CXXFLAGS=
   15246   fi
   15247 fi
   15248 ac_prog_cxx_stdcxx=no
   15249 if test x$ac_prog_cxx_stdcxx = xno
   15250 then :
   15251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
   15252 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
   15253 if test ${ac_cv_prog_cxx_cxx11+y}
   15254 then :
   15255   printf %s "(cached) " >&6
   15256 else $as_nop
   15257   ac_cv_prog_cxx_cxx11=no
   15258 ac_save_CXX=$CXX
   15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15260 /* end confdefs.h.  */
   15261 $ac_cxx_conftest_cxx11_program
   15262 _ACEOF
   15263 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
   15264 do
   15265   CXX="$ac_save_CXX $ac_arg"
   15266   if ac_fn_cxx_try_compile "$LINENO"
   15267 then :
   15268   ac_cv_prog_cxx_cxx11=$ac_arg
   15269 fi
   15270 rm -f core conftest.err conftest.$ac_objext conftest.beam
   15271   test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
   15272 done
   15273 rm -f conftest.$ac_ext
   15274 CXX=$ac_save_CXX
   15275 fi
   15276 
   15277 if test "x$ac_cv_prog_cxx_cxx11" = xno
   15278 then :
   15279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   15280 printf "%s\n" "unsupported" >&6; }
   15281 else $as_nop
   15282   if test "x$ac_cv_prog_cxx_cxx11" = x
   15283 then :
   15284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   15285 printf "%s\n" "none needed" >&6; }
   15286 else $as_nop
   15287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
   15288 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
   15289      CXX="$CXX $ac_cv_prog_cxx_cxx11"
   15290 fi
   15291   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
   15292   ac_prog_cxx_stdcxx=cxx11
   15293 fi
   15294 fi
   15295 if test x$ac_prog_cxx_stdcxx = xno
   15296 then :
   15297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
   15298 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
   15299 if test ${ac_cv_prog_cxx_cxx98+y}
   15300 then :
   15301   printf %s "(cached) " >&6
   15302 else $as_nop
   15303   ac_cv_prog_cxx_cxx98=no
   15304 ac_save_CXX=$CXX
   15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15306 /* end confdefs.h.  */
   15307 $ac_cxx_conftest_cxx98_program
   15308 _ACEOF
   15309 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
   15310 do
   15311   CXX="$ac_save_CXX $ac_arg"
   15312   if ac_fn_cxx_try_compile "$LINENO"
   15313 then :
   15314   ac_cv_prog_cxx_cxx98=$ac_arg
   15315 fi
   15316 rm -f core conftest.err conftest.$ac_objext conftest.beam
   15317   test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
   15318 done
   15319 rm -f conftest.$ac_ext
   15320 CXX=$ac_save_CXX
   15321 fi
   15322 
   15323 if test "x$ac_cv_prog_cxx_cxx98" = xno
   15324 then :
   15325   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   15326 printf "%s\n" "unsupported" >&6; }
   15327 else $as_nop
   15328   if test "x$ac_cv_prog_cxx_cxx98" = x
   15329 then :
   15330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   15331 printf "%s\n" "none needed" >&6; }
   15332 else $as_nop
   15333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
   15334 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
   15335      CXX="$CXX $ac_cv_prog_cxx_cxx98"
   15336 fi
   15337   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
   15338   ac_prog_cxx_stdcxx=cxx98
   15339 fi
   15340 fi
   15341 
   15342 ac_ext=cpp
   15343 ac_cpp='$CXXCPP $CPPFLAGS'
   15344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15347 
   15348 depcc="$CXX"  am_compiler_list=
   15349 
   15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   15351 printf %s "checking dependency style of $depcc... " >&6; }
   15352 if test ${am_cv_CXX_dependencies_compiler_type+y}
   15353 then :
   15354   printf %s "(cached) " >&6
   15355 else $as_nop
   15356   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   15357   # We make a subdir and do the tests there.  Otherwise we can end up
   15358   # making bogus files that we don't know about and never remove.  For
   15359   # instance it was reported that on HP-UX the gcc test will end up
   15360   # making a dummy file named 'D' -- because '-MD' means "put the output
   15361   # in D".
   15362   rm -rf conftest.dir
   15363   mkdir conftest.dir
   15364   # Copy depcomp to subdir because otherwise we won't find it if we're
   15365   # using a relative directory.
   15366   cp "$am_depcomp" conftest.dir
   15367   cd conftest.dir
   15368   # We will build objects and dependencies in a subdirectory because
   15369   # it helps to detect inapplicable dependency modes.  For instance
   15370   # both Tru64's cc and ICC support -MD to output dependencies as a
   15371   # side effect of compilation, but ICC will put the dependencies in
   15372   # the current directory while Tru64 will put them in the object
   15373   # directory.
   15374   mkdir sub
   15375 
   15376   am_cv_CXX_dependencies_compiler_type=none
   15377   if test "$am_compiler_list" = ""; then
   15378      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   15379   fi
   15380   am__universal=false
   15381   case " $depcc " in #(
   15382      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   15383      esac
   15384 
   15385   for depmode in $am_compiler_list; do
   15386     # Setup a source with many dependencies, because some compilers
   15387     # like to wrap large dependency lists on column 80 (with \), and
   15388     # we should not choose a depcomp mode which is confused by this.
   15389     #
   15390     # We need to recreate these files for each test, as the compiler may
   15391     # overwrite some of them when testing with obscure command lines.
   15392     # This happens at least with the AIX C compiler.
   15393     : > sub/conftest.c
   15394     for i in 1 2 3 4 5 6; do
   15395       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   15396       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   15397       # Solaris 10 /bin/sh.
   15398       echo '/* dummy */' > sub/conftst$i.h
   15399     done
   15400     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   15401 
   15402     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   15403     # mode.  It turns out that the SunPro C++ compiler does not properly
   15404     # handle '-M -o', and we need to detect this.  Also, some Intel
   15405     # versions had trouble with output in subdirs.
   15406     am__obj=sub/conftest.${OBJEXT-o}
   15407     am__minus_obj="-o $am__obj"
   15408     case $depmode in
   15409     gcc)
   15410       # This depmode causes a compiler race in universal mode.
   15411       test "$am__universal" = false || continue
   15412       ;;
   15413     nosideeffect)
   15414       # After this tag, mechanisms are not by side-effect, so they'll
   15415       # only be used when explicitly requested.
   15416       if test "x$enable_dependency_tracking" = xyes; then
   15417 	continue
   15418       else
   15419 	break
   15420       fi
   15421       ;;
   15422     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   15423       # This compiler won't grok '-c -o', but also, the minuso test has
   15424       # not run yet.  These depmodes are late enough in the game, and
   15425       # so weak that their functioning should not be impacted.
   15426       am__obj=conftest.${OBJEXT-o}
   15427       am__minus_obj=
   15428       ;;
   15429     none) break ;;
   15430     esac
   15431     if depmode=$depmode \
   15432        source=sub/conftest.c object=$am__obj \
   15433        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   15434        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   15435          >/dev/null 2>conftest.err &&
   15436        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   15437        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   15438        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   15439        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   15440       # icc doesn't choke on unknown options, it will just issue warnings
   15441       # or remarks (even with -Werror).  So we grep stderr for any message
   15442       # that says an option was ignored or not supported.
   15443       # When given -MP, icc 7.0 and 7.1 complain thusly:
   15444       #   icc: Command line warning: ignoring option '-M'; no argument required
   15445       # The diagnosis changed in icc 8.0:
   15446       #   icc: Command line remark: option '-MP' not supported
   15447       if (grep 'ignoring option' conftest.err ||
   15448           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   15449         am_cv_CXX_dependencies_compiler_type=$depmode
   15450         break
   15451       fi
   15452     fi
   15453   done
   15454 
   15455   cd ..
   15456   rm -rf conftest.dir
   15457 else
   15458   am_cv_CXX_dependencies_compiler_type=none
   15459 fi
   15460 
   15461 fi
   15462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   15463 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
   15464 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   15465 
   15466  if
   15467   test "x$enable_dependency_tracking" != xno \
   15468   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   15469   am__fastdepCXX_TRUE=
   15470   am__fastdepCXX_FALSE='#'
   15471 else
   15472   am__fastdepCXX_TRUE='#'
   15473   am__fastdepCXX_FALSE=
   15474 fi
   15475 
   15476 
   15477 
   15478 
   15479 func_stripname_cnf ()
   15480 {
   15481   case $2 in
   15482   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
   15483   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
   15484   esac
   15485 } # func_stripname_cnf
   15486 
   15487       if test -n "$CXX" && ( test no != "$CXX" &&
   15488     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
   15489     (test g++ != "$CXX"))); then
   15490   ac_ext=cpp
   15491 ac_cpp='$CXXCPP $CPPFLAGS'
   15492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   15496 printf %s "checking how to run the C++ preprocessor... " >&6; }
   15497 if test -z "$CXXCPP"; then
   15498   if test ${ac_cv_prog_CXXCPP+y}
   15499 then :
   15500   printf %s "(cached) " >&6
   15501 else $as_nop
   15502       # Double quotes because $CXX needs to be expanded
   15503     for CXXCPP in "$CXX -E" cpp /lib/cpp
   15504     do
   15505       ac_preproc_ok=false
   15506 for ac_cxx_preproc_warn_flag in '' yes
   15507 do
   15508   # Use a header file that comes with gcc, so configuring glibc
   15509   # with a fresh cross-compiler works.
   15510   # On the NeXT, cc -E runs the code through the compiler's parser,
   15511   # not just through cpp. "Syntax error" is here to catch this case.
   15512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15513 /* end confdefs.h.  */
   15514 #include <limits.h>
   15515 		     Syntax error
   15516 _ACEOF
   15517 if ac_fn_cxx_try_cpp "$LINENO"
   15518 then :
   15519 
   15520 else $as_nop
   15521   # Broken: fails on valid input.
   15522 continue
   15523 fi
   15524 rm -f conftest.err conftest.i conftest.$ac_ext
   15525 
   15526   # OK, works on sane cases.  Now check whether nonexistent headers
   15527   # can be detected and how.
   15528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15529 /* end confdefs.h.  */
   15530 #include <ac_nonexistent.h>
   15531 _ACEOF
   15532 if ac_fn_cxx_try_cpp "$LINENO"
   15533 then :
   15534   # Broken: success on invalid input.
   15535 continue
   15536 else $as_nop
   15537   # Passes both tests.
   15538 ac_preproc_ok=:
   15539 break
   15540 fi
   15541 rm -f conftest.err conftest.i conftest.$ac_ext
   15542 
   15543 done
   15544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   15545 rm -f conftest.i conftest.err conftest.$ac_ext
   15546 if $ac_preproc_ok
   15547 then :
   15548   break
   15549 fi
   15550 
   15551     done
   15552     ac_cv_prog_CXXCPP=$CXXCPP
   15553 
   15554 fi
   15555   CXXCPP=$ac_cv_prog_CXXCPP
   15556 else
   15557   ac_cv_prog_CXXCPP=$CXXCPP
   15558 fi
   15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   15560 printf "%s\n" "$CXXCPP" >&6; }
   15561 ac_preproc_ok=false
   15562 for ac_cxx_preproc_warn_flag in '' yes
   15563 do
   15564   # Use a header file that comes with gcc, so configuring glibc
   15565   # with a fresh cross-compiler works.
   15566   # On the NeXT, cc -E runs the code through the compiler's parser,
   15567   # not just through cpp. "Syntax error" is here to catch this case.
   15568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15569 /* end confdefs.h.  */
   15570 #include <limits.h>
   15571 		     Syntax error
   15572 _ACEOF
   15573 if ac_fn_cxx_try_cpp "$LINENO"
   15574 then :
   15575 
   15576 else $as_nop
   15577   # Broken: fails on valid input.
   15578 continue
   15579 fi
   15580 rm -f conftest.err conftest.i conftest.$ac_ext
   15581 
   15582   # OK, works on sane cases.  Now check whether nonexistent headers
   15583   # can be detected and how.
   15584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15585 /* end confdefs.h.  */
   15586 #include <ac_nonexistent.h>
   15587 _ACEOF
   15588 if ac_fn_cxx_try_cpp "$LINENO"
   15589 then :
   15590   # Broken: success on invalid input.
   15591 continue
   15592 else $as_nop
   15593   # Passes both tests.
   15594 ac_preproc_ok=:
   15595 break
   15596 fi
   15597 rm -f conftest.err conftest.i conftest.$ac_ext
   15598 
   15599 done
   15600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   15601 rm -f conftest.i conftest.err conftest.$ac_ext
   15602 if $ac_preproc_ok
   15603 then :
   15604 
   15605 else $as_nop
   15606   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15607 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   15608 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   15609 See \`config.log' for more details" "$LINENO" 5; }
   15610 fi
   15611 
   15612 ac_ext=cpp
   15613 ac_cpp='$CXXCPP $CPPFLAGS'
   15614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15617 
   15618 else
   15619   _lt_caught_CXX_error=yes
   15620 fi
   15621 
   15622 ac_ext=cpp
   15623 ac_cpp='$CXXCPP $CPPFLAGS'
   15624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15627 
   15628 archive_cmds_need_lc_CXX=no
   15629 allow_undefined_flag_CXX=
   15630 always_export_symbols_CXX=no
   15631 archive_expsym_cmds_CXX=
   15632 compiler_needs_object_CXX=no
   15633 export_dynamic_flag_spec_CXX=
   15634 hardcode_direct_CXX=no
   15635 hardcode_direct_absolute_CXX=no
   15636 hardcode_libdir_flag_spec_CXX=
   15637 hardcode_libdir_separator_CXX=
   15638 hardcode_minus_L_CXX=no
   15639 hardcode_shlibpath_var_CXX=unsupported
   15640 hardcode_automatic_CXX=no
   15641 inherit_rpath_CXX=no
   15642 module_cmds_CXX=
   15643 module_expsym_cmds_CXX=
   15644 link_all_deplibs_CXX=unknown
   15645 old_archive_cmds_CXX=$old_archive_cmds
   15646 reload_flag_CXX=$reload_flag
   15647 reload_cmds_CXX=$reload_cmds
   15648 no_undefined_flag_CXX=
   15649 whole_archive_flag_spec_CXX=
   15650 enable_shared_with_static_runtimes_CXX=no
   15651 
   15652 # Source file extension for C++ test sources.
   15653 ac_ext=cpp
   15654 
   15655 # Object file extension for compiled C++ test sources.
   15656 objext=o
   15657 objext_CXX=$objext
   15658 
   15659 # No sense in running all these tests if we already determined that
   15660 # the CXX compiler isn't working.  Some variables (like enable_shared)
   15661 # are currently assumed to apply to all compilers on this platform,
   15662 # and will be corrupted by setting them based on a non-working compiler.
   15663 if test yes != "$_lt_caught_CXX_error"; then
   15664   # Code to be used in simple compile tests
   15665   lt_simple_compile_test_code="int some_variable = 0;"
   15666 
   15667   # Code to be used in simple link tests
   15668   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   15669 
   15670   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 
   15677 # If no C compiler was specified, use CC.
   15678 LTCC=${LTCC-"$CC"}
   15679 
   15680 # If no C compiler flags were specified, use CFLAGS.
   15681 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15682 
   15683 # Allow CC to be a program name with arguments.
   15684 compiler=$CC
   15685 
   15686 
   15687   # save warnings/boilerplate of simple test code
   15688   ac_outfile=conftest.$ac_objext
   15689 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15690 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15691 _lt_compiler_boilerplate=`cat conftest.err`
   15692 $RM conftest*
   15693 
   15694   ac_outfile=conftest.$ac_objext
   15695 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15696 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15697 _lt_linker_boilerplate=`cat conftest.err`
   15698 $RM -r conftest*
   15699 
   15700 
   15701   # Allow CC to be a program name with arguments.
   15702   lt_save_CC=$CC
   15703   lt_save_CFLAGS=$CFLAGS
   15704   lt_save_LD=$LD
   15705   lt_save_GCC=$GCC
   15706   GCC=$GXX
   15707   lt_save_with_gnu_ld=$with_gnu_ld
   15708   lt_save_path_LD=$lt_cv_path_LD
   15709   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   15710     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   15711   else
   15712     $as_unset lt_cv_prog_gnu_ld
   15713   fi
   15714   if test -n "${lt_cv_path_LDCXX+set}"; then
   15715     lt_cv_path_LD=$lt_cv_path_LDCXX
   15716   else
   15717     $as_unset lt_cv_path_LD
   15718   fi
   15719   test -z "${LDCXX+set}" || LD=$LDCXX
   15720   CC=${CXX-"c++"}
   15721   CFLAGS=$CXXFLAGS
   15722   compiler=$CC
   15723   compiler_CXX=$CC
   15724   func_cc_basename $compiler
   15725 cc_basename=$func_cc_basename_result
   15726 
   15727 
   15728   if test -n "$compiler"; then
   15729     # We don't want -fno-exception when compiling C++ code, so set the
   15730     # no_builtin_flag separately
   15731     if test yes = "$GXX"; then
   15732       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   15733     else
   15734       lt_prog_compiler_no_builtin_flag_CXX=
   15735     fi
   15736 
   15737     if test yes = "$GXX"; then
   15738       # Set up default GNU C++ configuration
   15739 
   15740 
   15741 
   15742 # Check whether --with-gnu-ld was given.
   15743 if test ${with_gnu_ld+y}
   15744 then :
   15745   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   15746 else $as_nop
   15747   with_gnu_ld=no
   15748 fi
   15749 
   15750 ac_prog=ld
   15751 if test yes = "$GCC"; then
   15752   # Check if gcc -print-prog-name=ld gives a path.
   15753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   15754 printf %s "checking for ld used by $CC... " >&6; }
   15755   case $host in
   15756   *-*-mingw* | *-*-windows*)
   15757     # gcc leaves a trailing carriage return, which upsets mingw
   15758     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   15759   *)
   15760     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   15761   esac
   15762   case $ac_prog in
   15763     # Accept absolute paths.
   15764     [\\/]* | ?:[\\/]*)
   15765       re_direlt='/[^/][^/]*/\.\./'
   15766       # Canonicalize the pathname of ld
   15767       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   15768       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   15769 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   15770       done
   15771       test -z "$LD" && LD=$ac_prog
   15772       ;;
   15773   "")
   15774     # If it fails, then pretend we aren't using GCC.
   15775     ac_prog=ld
   15776     ;;
   15777   *)
   15778     # If it is relative, then search for the first ld in PATH.
   15779     with_gnu_ld=unknown
   15780     ;;
   15781   esac
   15782 elif test yes = "$with_gnu_ld"; then
   15783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   15784 printf %s "checking for GNU ld... " >&6; }
   15785 else
   15786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   15787 printf %s "checking for non-GNU ld... " >&6; }
   15788 fi
   15789 if test ${lt_cv_path_LD+y}
   15790 then :
   15791   printf %s "(cached) " >&6
   15792 else $as_nop
   15793   if test -z "$LD"; then
   15794   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15795   for ac_dir in $PATH; do
   15796     IFS=$lt_save_ifs
   15797     test -z "$ac_dir" && ac_dir=.
   15798     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   15799       lt_cv_path_LD=$ac_dir/$ac_prog
   15800       # Check to see if the program is GNU ld.  I'd rather use --version,
   15801       # but apparently some variants of GNU ld only accept -v.
   15802       # Break only if it was the GNU/non-GNU ld that we prefer.
   15803       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   15804       *GNU* | *'with BFD'*)
   15805 	test no != "$with_gnu_ld" && break
   15806 	;;
   15807       *)
   15808 	test yes != "$with_gnu_ld" && break
   15809 	;;
   15810       esac
   15811     fi
   15812   done
   15813   IFS=$lt_save_ifs
   15814 else
   15815   lt_cv_path_LD=$LD # Let the user override the test with a path.
   15816 fi
   15817 fi
   15818 
   15819 LD=$lt_cv_path_LD
   15820 if test -n "$LD"; then
   15821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   15822 printf "%s\n" "$LD" >&6; }
   15823 else
   15824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15825 printf "%s\n" "no" >&6; }
   15826 fi
   15827 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   15828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   15829 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   15830 if test ${lt_cv_prog_gnu_ld+y}
   15831 then :
   15832   printf %s "(cached) " >&6
   15833 else $as_nop
   15834   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   15835 case `$LD -v 2>&1 </dev/null` in
   15836 *GNU* | *'with BFD'*)
   15837   lt_cv_prog_gnu_ld=yes
   15838   ;;
   15839 *)
   15840   lt_cv_prog_gnu_ld=no
   15841   ;;
   15842 esac
   15843 fi
   15844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   15845 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   15846 with_gnu_ld=$lt_cv_prog_gnu_ld
   15847 
   15848 
   15849 
   15850 
   15851 
   15852 
   15853 
   15854       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   15855       # archiving commands below assume that GNU ld is being used.
   15856       if test yes = "$with_gnu_ld"; then
   15857         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   15858         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15859 
   15860         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   15861         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   15862 
   15863         # If archive_cmds runs LD, not CC, wlarc should be empty
   15864         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   15865         #     investigate it a little bit more. (MM)
   15866         wlarc='$wl'
   15867 
   15868         # ancient GNU ld didn't support --whole-archive et. al.
   15869         if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15870           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15871         else
   15872           whole_archive_flag_spec_CXX=
   15873         fi
   15874       else
   15875         with_gnu_ld=no
   15876         wlarc=
   15877 
   15878         # A generic and very simple default shared library creation
   15879         # command for GNU C++ for the case where it uses the native
   15880         # linker, instead of GNU ld.  If possible, this setting should
   15881         # overridden to take advantage of the native linker features on
   15882         # the platform it is being used on.
   15883         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   15884       fi
   15885 
   15886       # Commands to make compiler produce verbose output that lists
   15887       # what "hidden" libraries, object files and flags are used when
   15888       # linking a shared library.
   15889       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
   15890 
   15891     else
   15892       GXX=no
   15893       with_gnu_ld=no
   15894       wlarc=
   15895     fi
   15896 
   15897     # PORTME: fill in a description of your system's C++ link characteristics
   15898     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15899 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15900     ld_shlibs_CXX=yes
   15901     case $host_os in
   15902       aix3*)
   15903         # FIXME: insert proper C++ library support
   15904         ld_shlibs_CXX=no
   15905         ;;
   15906       aix[4-9]*)
   15907         if test ia64 = "$host_cpu"; then
   15908           # On IA64, the linker does run time linking by default, so we don't
   15909           # have to do anything special.
   15910           aix_use_runtimelinking=no
   15911           exp_sym_flag='-Bexport'
   15912           no_entry_flag=
   15913         else
   15914           aix_use_runtimelinking=no
   15915 
   15916           # Test if we are trying to use run time linking or normal
   15917           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15918           # have runtime linking enabled, and use it for executables.
   15919           # For shared libraries, we enable/disable runtime linking
   15920           # depending on the kind of the shared library created -
   15921           # when "with_aix_soname,aix_use_runtimelinking" is:
   15922           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15923           # "aix,yes"  lib.so          shared, rtl:yes, for executables
   15924           #            lib.a           static archive
   15925           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15926           #            lib.a(lib.so.V) shared, rtl:no,  for executables
   15927           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15928           #            lib.a(lib.so.V) shared, rtl:no
   15929           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15930           #            lib.a           static archive
   15931           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15932 	    for ld_flag in $LDFLAGS; do
   15933 	      case $ld_flag in
   15934 	      *-brtl*)
   15935 	        aix_use_runtimelinking=yes
   15936 	        break
   15937 	        ;;
   15938 	      esac
   15939 	    done
   15940 	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15941 	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15942 	      # so we don't have lib.a shared libs to link our executables.
   15943 	      # We have to force runtime linking in this case.
   15944 	      aix_use_runtimelinking=yes
   15945 	      LDFLAGS="$LDFLAGS -Wl,-brtl"
   15946 	    fi
   15947 	    ;;
   15948           esac
   15949 
   15950           exp_sym_flag='-bexport'
   15951           no_entry_flag='-bnoentry'
   15952         fi
   15953 
   15954         # When large executables or shared objects are built, AIX ld can
   15955         # have problems creating the table of contents.  If linking a library
   15956         # or program results in "error TOC overflow" add -mminimal-toc to
   15957         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15958         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15959 
   15960         archive_cmds_CXX=''
   15961         hardcode_direct_CXX=yes
   15962         hardcode_direct_absolute_CXX=yes
   15963         hardcode_libdir_separator_CXX=':'
   15964         link_all_deplibs_CXX=yes
   15965         file_list_spec_CXX='$wl-f,'
   15966         case $with_aix_soname,$aix_use_runtimelinking in
   15967         aix,*) ;;	# no import file
   15968         svr4,* | *,yes) # use import file
   15969           # The Import File defines what to hardcode.
   15970           hardcode_direct_CXX=no
   15971           hardcode_direct_absolute_CXX=no
   15972           ;;
   15973         esac
   15974 
   15975         if test yes = "$GXX"; then
   15976           case $host_os in aix4.[012]|aix4.[012].*)
   15977           # We only want to do this on AIX 4.2 and lower, the check
   15978           # below for broken collect2 doesn't work under 4.3+
   15979 	  collect2name=`$CC -print-prog-name=collect2`
   15980 	  if test -f "$collect2name" &&
   15981 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15982 	  then
   15983 	    # We have reworked collect2
   15984 	    :
   15985 	  else
   15986 	    # We have old collect2
   15987 	    hardcode_direct_CXX=unsupported
   15988 	    # It fails to find uninstalled libraries when the uninstalled
   15989 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   15990 	    # to unsupported forces relinking
   15991 	    hardcode_minus_L_CXX=yes
   15992 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   15993 	    hardcode_libdir_separator_CXX=
   15994 	  fi
   15995           esac
   15996           shared_flag='-shared'
   15997 	  if test yes = "$aix_use_runtimelinking"; then
   15998 	    shared_flag=$shared_flag' $wl-G'
   15999 	  fi
   16000 	  # Need to ensure runtime linking is disabled for the traditional
   16001 	  # shared library, or the linker may eventually find shared libraries
   16002 	  # /with/ Import File - we do not want to mix them.
   16003 	  shared_flag_aix='-shared'
   16004 	  shared_flag_svr4='-shared $wl-G'
   16005         else
   16006           # not using gcc
   16007           if test ia64 = "$host_cpu"; then
   16008 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16009 	  # chokes on -Wl,-G. The following line is correct:
   16010 	  shared_flag='-G'
   16011           else
   16012 	    if test yes = "$aix_use_runtimelinking"; then
   16013 	      shared_flag='$wl-G'
   16014 	    else
   16015 	      shared_flag='$wl-bM:SRE'
   16016 	    fi
   16017 	    shared_flag_aix='$wl-bM:SRE'
   16018 	    shared_flag_svr4='$wl-G'
   16019           fi
   16020         fi
   16021 
   16022         export_dynamic_flag_spec_CXX='$wl-bexpall'
   16023         # It seems that -bexpall does not export symbols beginning with
   16024         # underscore (_), so it is better to generate a list of symbols to
   16025 	# export.
   16026         always_export_symbols_CXX=yes
   16027 	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16028           # Warning - without using the other runtime loading flags (-brtl),
   16029           # -berok will link without error, but may produce a broken library.
   16030           # The "-G" linker flag allows undefined symbols.
   16031           no_undefined_flag_CXX='-bernotok'
   16032           # Determine the default libpath from the value encoded in an empty
   16033           # executable.
   16034           if test set = "${lt_cv_aix_libpath+set}"; then
   16035   aix_libpath=$lt_cv_aix_libpath
   16036 else
   16037   if test ${lt_cv_aix_libpath__CXX+y}
   16038 then :
   16039   printf %s "(cached) " >&6
   16040 else $as_nop
   16041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16042 /* end confdefs.h.  */
   16043 
   16044 int
   16045 main (void)
   16046 {
   16047 
   16048   ;
   16049   return 0;
   16050 }
   16051 _ACEOF
   16052 if ac_fn_cxx_try_link "$LINENO"
   16053 then :
   16054 
   16055   lt_aix_libpath_sed='
   16056       /Import File Strings/,/^$/ {
   16057 	  /^0/ {
   16058 	      s/^0  *\([^ ]*\) *$/\1/
   16059 	      p
   16060 	  }
   16061       }'
   16062   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16063   # Check for a 64-bit object if we didn't find anything.
   16064   if test -z "$lt_cv_aix_libpath__CXX"; then
   16065     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16066   fi
   16067 fi
   16068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16069     conftest$ac_exeext conftest.$ac_ext
   16070   if test -z "$lt_cv_aix_libpath__CXX"; then
   16071     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   16072   fi
   16073 
   16074 fi
   16075 
   16076   aix_libpath=$lt_cv_aix_libpath__CXX
   16077 fi
   16078 
   16079           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   16080 
   16081           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
   16082         else
   16083           if test ia64 = "$host_cpu"; then
   16084 	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
   16085 	    allow_undefined_flag_CXX="-z nodefs"
   16086 	    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"
   16087           else
   16088 	    # Determine the default libpath from the value encoded in an
   16089 	    # empty executable.
   16090 	    if test set = "${lt_cv_aix_libpath+set}"; then
   16091   aix_libpath=$lt_cv_aix_libpath
   16092 else
   16093   if test ${lt_cv_aix_libpath__CXX+y}
   16094 then :
   16095   printf %s "(cached) " >&6
   16096 else $as_nop
   16097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16098 /* end confdefs.h.  */
   16099 
   16100 int
   16101 main (void)
   16102 {
   16103 
   16104   ;
   16105   return 0;
   16106 }
   16107 _ACEOF
   16108 if ac_fn_cxx_try_link "$LINENO"
   16109 then :
   16110 
   16111   lt_aix_libpath_sed='
   16112       /Import File Strings/,/^$/ {
   16113 	  /^0/ {
   16114 	      s/^0  *\([^ ]*\) *$/\1/
   16115 	      p
   16116 	  }
   16117       }'
   16118   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16119   # Check for a 64-bit object if we didn't find anything.
   16120   if test -z "$lt_cv_aix_libpath__CXX"; then
   16121     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16122   fi
   16123 fi
   16124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16125     conftest$ac_exeext conftest.$ac_ext
   16126   if test -z "$lt_cv_aix_libpath__CXX"; then
   16127     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   16128   fi
   16129 
   16130 fi
   16131 
   16132   aix_libpath=$lt_cv_aix_libpath__CXX
   16133 fi
   16134 
   16135 	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   16136 	    # Warning - without using the other run time loading flags,
   16137 	    # -berok will link without error, but may produce a broken library.
   16138 	    no_undefined_flag_CXX=' $wl-bernotok'
   16139 	    allow_undefined_flag_CXX=' $wl-berok'
   16140 	    if test yes = "$with_gnu_ld"; then
   16141 	      # We only use this code for GNU lds that support --whole-archive.
   16142 	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   16143 	    else
   16144 	      # Exported symbols can be pulled into shared objects from archives
   16145 	      whole_archive_flag_spec_CXX='$convenience'
   16146 	    fi
   16147 	    archive_cmds_need_lc_CXX=yes
   16148 	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16149 	    # -brtl affects multiple linker settings, -berok does not and is overridden later
   16150 	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16151 	    if test svr4 != "$with_aix_soname"; then
   16152 	      # This is similar to how AIX traditionally builds its shared
   16153 	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
   16154 	      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'
   16155 	    fi
   16156 	    if test aix != "$with_aix_soname"; then
   16157 	      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'
   16158 	    else
   16159 	      # used by -dlpreopen to get the symbols
   16160 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16161 	    fi
   16162 	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
   16163           fi
   16164         fi
   16165         ;;
   16166 
   16167       beos*)
   16168 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16169 	  allow_undefined_flag_CXX=unsupported
   16170 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16171 	  # support --undefined.  This deserves some investigation.  FIXME
   16172 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16173 	else
   16174 	  ld_shlibs_CXX=no
   16175 	fi
   16176 	;;
   16177 
   16178       chorus*)
   16179         case $cc_basename in
   16180           *)
   16181 	  # FIXME: insert proper C++ library support
   16182 	  ld_shlibs_CXX=no
   16183 	  ;;
   16184         esac
   16185         ;;
   16186 
   16187       cygwin* | mingw* | windows* | pw32* | cegcc*)
   16188 	case $GXX,$cc_basename in
   16189 	,cl* | no,cl* | ,icl* | no,icl*)
   16190 	  # Native MSVC or ICC
   16191 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   16192 	  # no search path for DLLs.
   16193 	  hardcode_libdir_flag_spec_CXX=' '
   16194 	  allow_undefined_flag_CXX=unsupported
   16195 	  always_export_symbols_CXX=yes
   16196 	  file_list_spec_CXX='@'
   16197 	  # Tell ltmain to make .lib files, not .a files.
   16198 	  libext=lib
   16199 	  # Tell ltmain to make .dll files, not .so files.
   16200 	  shrext_cmds=.dll
   16201 	  # FIXME: Setting linknames here is a bad hack.
   16202 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16203 	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16204               cp "$export_symbols" "$output_objdir/$soname.def";
   16205               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16206             else
   16207               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16208             fi~
   16209             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16210             linknames='
   16211 	  # The linker will not automatically build a static lib if we build a DLL.
   16212 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   16213 	  enable_shared_with_static_runtimes_CXX=yes
   16214 	  # Don't use ranlib
   16215 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   16216 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   16217             lt_tool_outputfile="@TOOL_OUTPUT@"~
   16218             case $lt_outputfile in
   16219               *.exe|*.EXE) ;;
   16220               *)
   16221                 lt_outputfile=$lt_outputfile.exe
   16222                 lt_tool_outputfile=$lt_tool_outputfile.exe
   16223                 ;;
   16224             esac~
   16225             func_to_tool_file "$lt_outputfile"~
   16226             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16227               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16228               $RM "$lt_outputfile.manifest";
   16229             fi'
   16230 	  ;;
   16231 	*)
   16232 	  # g++
   16233 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   16234 	  # as there is no search path for DLLs.
   16235 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   16236 	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
   16237 	  allow_undefined_flag_CXX=unsupported
   16238 	  always_export_symbols_CXX=no
   16239 	  enable_shared_with_static_runtimes_CXX=yes
   16240 	  file_list_spec_CXX='@'
   16241 
   16242 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16243 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16244 	    # If the export-symbols file already is a .def file, use it as
   16245 	    # is; otherwise, prepend EXPORTS...
   16246 	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16247               cp $export_symbols $output_objdir/$soname.def;
   16248             else
   16249               echo EXPORTS > $output_objdir/$soname.def;
   16250               cat $export_symbols >> $output_objdir/$soname.def;
   16251             fi~
   16252             $CC -shared -nostdlib $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'
   16253 	  else
   16254 	    ld_shlibs_CXX=no
   16255 	  fi
   16256 	  ;;
   16257 	esac
   16258 	;;
   16259       darwin* | rhapsody*)
   16260 
   16261 
   16262   archive_cmds_need_lc_CXX=no
   16263   hardcode_direct_CXX=no
   16264   hardcode_automatic_CXX=yes
   16265   hardcode_shlibpath_var_CXX=unsupported
   16266   if test yes = "$lt_cv_ld_force_load"; then
   16267     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\"`'
   16268 
   16269   else
   16270     whole_archive_flag_spec_CXX=''
   16271   fi
   16272   link_all_deplibs_CXX=yes
   16273   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
   16274   case $cc_basename in
   16275      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16276      *) _lt_dar_can_shared=$GCC ;;
   16277   esac
   16278   if test yes = "$_lt_dar_can_shared"; then
   16279     output_verbose_link_cmd=func_echo_all
   16280     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"
   16281     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16282     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"
   16283     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"
   16284        if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
   16285       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -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"
   16286       archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -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"
   16287     fi
   16288 
   16289   else
   16290   ld_shlibs_CXX=no
   16291   fi
   16292 
   16293 	;;
   16294 
   16295       os2*)
   16296 	hardcode_libdir_flag_spec_CXX='-L$libdir'
   16297 	hardcode_minus_L_CXX=yes
   16298 	allow_undefined_flag_CXX=unsupported
   16299 	shrext_cmds=.dll
   16300 	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16301 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16302 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16303 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   16304 	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16305 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16306 	  emximp -o $lib $output_objdir/$libname.def'
   16307 	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16308 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16309 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16310 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   16311 	  prefix_cmds="$SED"~
   16312 	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16313 	    prefix_cmds="$prefix_cmds -e 1d";
   16314 	  fi~
   16315 	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16316 	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16317 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16318 	  emximp -o $lib $output_objdir/$libname.def'
   16319 	old_archive_from_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16320 	enable_shared_with_static_runtimes_CXX=yes
   16321 	file_list_spec_CXX='@'
   16322 	;;
   16323 
   16324       dgux*)
   16325         case $cc_basename in
   16326           ec++*)
   16327 	    # FIXME: insert proper C++ library support
   16328 	    ld_shlibs_CXX=no
   16329 	    ;;
   16330           ghcx*)
   16331 	    # Green Hills C++ Compiler
   16332 	    # FIXME: insert proper C++ library support
   16333 	    ld_shlibs_CXX=no
   16334 	    ;;
   16335           *)
   16336 	    # FIXME: insert proper C++ library support
   16337 	    ld_shlibs_CXX=no
   16338 	    ;;
   16339         esac
   16340         ;;
   16341 
   16342       freebsd2.*)
   16343         # C++ shared libraries reported to be fairly broken before
   16344 	# switch to ELF
   16345         ld_shlibs_CXX=no
   16346         ;;
   16347 
   16348       freebsd-elf*)
   16349         archive_cmds_need_lc_CXX=no
   16350         ;;
   16351 
   16352       freebsd* | dragonfly* | midnightbsd*)
   16353         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   16354         # conventions
   16355         ld_shlibs_CXX=yes
   16356         ;;
   16357 
   16358       haiku*)
   16359         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16360         link_all_deplibs_CXX=no
   16361         ;;
   16362 
   16363       hpux9*)
   16364         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   16365         hardcode_libdir_separator_CXX=:
   16366         export_dynamic_flag_spec_CXX='$wl-E'
   16367         hardcode_direct_CXX=yes
   16368         hardcode_minus_L_CXX=yes # Not in the search PATH,
   16369 				             # but as the default
   16370 				             # location of the library.
   16371 
   16372         case $cc_basename in
   16373           CC*)
   16374             # FIXME: insert proper C++ library support
   16375             ld_shlibs_CXX=no
   16376             ;;
   16377           aCC*)
   16378             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'
   16379             # Commands to make compiler produce verbose output that lists
   16380             # what "hidden" libraries, object files and flags are used when
   16381             # linking a shared library.
   16382             #
   16383             # There doesn't appear to be a way to prevent this compiler from
   16384             # explicitly linking system object files so we need to strip them
   16385             # from the output so that they don't get included in the library
   16386             # dependencies.
   16387             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"'
   16388             ;;
   16389           *)
   16390             if test yes = "$GXX"; then
   16391               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $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'
   16392             else
   16393               # FIXME: insert proper C++ library support
   16394               ld_shlibs_CXX=no
   16395             fi
   16396             ;;
   16397         esac
   16398         ;;
   16399 
   16400       hpux10*|hpux11*)
   16401         if test no = "$with_gnu_ld"; then
   16402 	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   16403 	  hardcode_libdir_separator_CXX=:
   16404 
   16405           case $host_cpu in
   16406             hppa*64*|ia64*)
   16407               ;;
   16408             *)
   16409 	      export_dynamic_flag_spec_CXX='$wl-E'
   16410               ;;
   16411           esac
   16412         fi
   16413         case $host_cpu in
   16414           hppa*64*|ia64*)
   16415             hardcode_direct_CXX=no
   16416             hardcode_shlibpath_var_CXX=no
   16417             ;;
   16418           *)
   16419             hardcode_direct_CXX=yes
   16420             hardcode_direct_absolute_CXX=yes
   16421             hardcode_minus_L_CXX=yes # Not in the search PATH,
   16422 					         # but as the default
   16423 					         # location of the library.
   16424             ;;
   16425         esac
   16426 
   16427         case $cc_basename in
   16428           CC*)
   16429 	    # FIXME: insert proper C++ library support
   16430 	    ld_shlibs_CXX=no
   16431 	    ;;
   16432           aCC*)
   16433 	    case $host_cpu in
   16434 	      hppa*64*)
   16435 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16436 	        ;;
   16437 	      ia64*)
   16438 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16439 	        ;;
   16440 	      *)
   16441 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16442 	        ;;
   16443 	    esac
   16444 	    # Commands to make compiler produce verbose output that lists
   16445 	    # what "hidden" libraries, object files and flags are used when
   16446 	    # linking a shared library.
   16447 	    #
   16448 	    # There doesn't appear to be a way to prevent this compiler from
   16449 	    # explicitly linking system object files so we need to strip them
   16450 	    # from the output so that they don't get included in the library
   16451 	    # dependencies.
   16452 	    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"'
   16453 	    ;;
   16454           *)
   16455 	    if test yes = "$GXX"; then
   16456 	      if test no = "$with_gnu_ld"; then
   16457 	        case $host_cpu in
   16458 	          hppa*64*)
   16459 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16460 	            ;;
   16461 	          ia64*)
   16462 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16463 	            ;;
   16464 	          *)
   16465 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16466 	            ;;
   16467 	        esac
   16468 	      fi
   16469 	    else
   16470 	      # FIXME: insert proper C++ library support
   16471 	      ld_shlibs_CXX=no
   16472 	    fi
   16473 	    ;;
   16474         esac
   16475         ;;
   16476 
   16477       interix[3-9]*)
   16478 	hardcode_direct_CXX=no
   16479 	hardcode_shlibpath_var_CXX=no
   16480 	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16481 	export_dynamic_flag_spec_CXX='$wl-E'
   16482 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16483 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   16484 	# default) and relocated if they conflict, which is a slow very memory
   16485 	# consuming and fragmenting process.  To avoid this, we pick a random,
   16486 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16487 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16488 	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'
   16489 	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'
   16490 	;;
   16491       irix5* | irix6*)
   16492         case $cc_basename in
   16493           CC*)
   16494 	    # SGI C++
   16495 	    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'
   16496 
   16497 	    # Archives containing C++ object files must be created using
   16498 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   16499 	    # necessary to make sure instantiated templates are included
   16500 	    # in the archive.
   16501 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   16502 	    ;;
   16503           *)
   16504 	    if test yes = "$GXX"; then
   16505 	      if test no = "$with_gnu_ld"; then
   16506 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $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'
   16507 	      else
   16508 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $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'
   16509 	      fi
   16510 	    fi
   16511 	    link_all_deplibs_CXX=yes
   16512 	    ;;
   16513         esac
   16514         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16515         hardcode_libdir_separator_CXX=:
   16516         inherit_rpath_CXX=yes
   16517         ;;
   16518 
   16519       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16520         case $cc_basename in
   16521           KCC*)
   16522 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   16523 
   16524 	    # KCC will only create a shared library if the output file
   16525 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   16526 	    # to its proper name (with version) after linking.
   16527 	    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'
   16528 	    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'
   16529 	    # Commands to make compiler produce verbose output that lists
   16530 	    # what "hidden" libraries, object files and flags are used when
   16531 	    # linking a shared library.
   16532 	    #
   16533 	    # There doesn't appear to be a way to prevent this compiler from
   16534 	    # explicitly linking system object files so we need to strip them
   16535 	    # from the output so that they don't get included in the library
   16536 	    # dependencies.
   16537 	    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"'
   16538 
   16539 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16540 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16541 
   16542 	    # Archives containing C++ object files must be created using
   16543 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   16544 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   16545 	    ;;
   16546 	  icpc* | ecpc* )
   16547 	    # Intel C++
   16548 	    with_gnu_ld=yes
   16549 	    # version 8.0 and above of icpc choke on multiply defined symbols
   16550 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   16551 	    # earlier do not add the objects themselves.
   16552 	    case `$CC -V 2>&1` in
   16553 	      *"Version 7."*)
   16554 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16555 		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'
   16556 		;;
   16557 	      *)  # Version 8.0 or newer
   16558 	        tmp_idyn=
   16559 	        case $host_cpu in
   16560 		  ia64*) tmp_idyn=' -i_dynamic';;
   16561 		esac
   16562 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16563 		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'
   16564 		;;
   16565 	    esac
   16566 	    archive_cmds_need_lc_CXX=no
   16567 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16568 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16569 	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   16570 	    ;;
   16571           pgCC* | pgcpp*)
   16572             # Portland Group C++ compiler
   16573 	    case `$CC -V` in
   16574 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   16575 	      prelink_cmds_CXX='tpldir=Template.dir~
   16576                rm -rf $tpldir~
   16577                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   16578                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   16579 	      old_archive_cmds_CXX='tpldir=Template.dir~
   16580                 rm -rf $tpldir~
   16581                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   16582                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   16583                 $RANLIB $oldlib'
   16584 	      archive_cmds_CXX='tpldir=Template.dir~
   16585                 rm -rf $tpldir~
   16586                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   16587                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16588 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   16589                 rm -rf $tpldir~
   16590                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   16591                 $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'
   16592 	      ;;
   16593 	    *) # Version 6 and above use weak symbols
   16594 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16595 	      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'
   16596 	      ;;
   16597 	    esac
   16598 
   16599 	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
   16600 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16601 	    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'
   16602             ;;
   16603 	  cxx*)
   16604 	    # Compaq C++
   16605 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16606 	    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'
   16607 
   16608 	    runpath_var=LD_RUN_PATH
   16609 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   16610 	    hardcode_libdir_separator_CXX=:
   16611 
   16612 	    # Commands to make compiler produce verbose output that lists
   16613 	    # what "hidden" libraries, object files and flags are used when
   16614 	    # linking a shared library.
   16615 	    #
   16616 	    # There doesn't appear to be a way to prevent this compiler from
   16617 	    # explicitly linking system object files so we need to strip them
   16618 	    # from the output so that they don't get included in the library
   16619 	    # dependencies.
   16620 	    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'
   16621 	    ;;
   16622 	  xl* | mpixl* | bgxl*)
   16623 	    # IBM XL 8.0 on PPC, with GNU ld
   16624 	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16625 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16626 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16627 	    if test yes = "$supports_anon_versioning"; then
   16628 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   16629                 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16630                 echo "local: *; };" >> $output_objdir/$libname.ver~
   16631                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16632 	    fi
   16633 	    ;;
   16634 	  *)
   16635 	    case `$CC -V 2>&1 | $SED 5q` in
   16636 	    *Sun\ C*)
   16637 	      # Sun C++ 5.9
   16638 	      no_undefined_flag_CXX=' -zdefs'
   16639 	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16640 	      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'
   16641 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   16642 	      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'
   16643 	      compiler_needs_object_CXX=yes
   16644 
   16645 	      # Not sure whether something based on
   16646 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   16647 	      # would be better.
   16648 	      output_verbose_link_cmd='func_echo_all'
   16649 
   16650 	      # Archives containing C++ object files must be created using
   16651 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   16652 	      # necessary to make sure instantiated templates are included
   16653 	      # in the archive.
   16654 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   16655 	      ;;
   16656 	    esac
   16657 	    ;;
   16658 	esac
   16659 	;;
   16660 
   16661       lynxos*)
   16662         # FIXME: insert proper C++ library support
   16663 	ld_shlibs_CXX=no
   16664 	;;
   16665 
   16666       m88k*)
   16667         # FIXME: insert proper C++ library support
   16668         ld_shlibs_CXX=no
   16669 	;;
   16670 
   16671       mvs*)
   16672         case $cc_basename in
   16673           cxx*)
   16674 	    # FIXME: insert proper C++ library support
   16675 	    ld_shlibs_CXX=no
   16676 	    ;;
   16677 	  *)
   16678 	    # FIXME: insert proper C++ library support
   16679 	    ld_shlibs_CXX=no
   16680 	    ;;
   16681 	esac
   16682 	;;
   16683 
   16684       *-mlibc)
   16685         ld_shlibs_CXX=yes
   16686 	;;
   16687 
   16688       netbsd*)
   16689         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16690 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   16691 	  wlarc=
   16692 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   16693 	  hardcode_direct_CXX=yes
   16694 	  hardcode_shlibpath_var_CXX=no
   16695 	fi
   16696 	# Workaround some broken pre-1.5 toolchains
   16697 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   16698 	;;
   16699 
   16700       *nto* | *qnx*)
   16701         ld_shlibs_CXX=yes
   16702 	;;
   16703 
   16704       openbsd*)
   16705 	if test -f /usr/libexec/ld.so; then
   16706 	  hardcode_direct_CXX=yes
   16707 	  hardcode_shlibpath_var_CXX=no
   16708 	  hardcode_direct_absolute_CXX=yes
   16709 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   16710 	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16711 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
   16712 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
   16713 	    export_dynamic_flag_spec_CXX='$wl-E'
   16714 	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16715 	  fi
   16716 	  output_verbose_link_cmd=func_echo_all
   16717 	else
   16718 	  ld_shlibs_CXX=no
   16719 	fi
   16720 	;;
   16721 
   16722       osf3* | osf4* | osf5*)
   16723         case $cc_basename in
   16724           KCC*)
   16725 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   16726 
   16727 	    # KCC will only create a shared library if the output file
   16728 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   16729 	    # to its proper name (with version) after linking.
   16730 	    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'
   16731 
   16732 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16733 	    hardcode_libdir_separator_CXX=:
   16734 
   16735 	    # Archives containing C++ object files must be created using
   16736 	    # the KAI C++ compiler.
   16737 	    case $host in
   16738 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   16739 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   16740 	    esac
   16741 	    ;;
   16742           RCC*)
   16743 	    # Rational C++ 2.4.1
   16744 	    # FIXME: insert proper C++ library support
   16745 	    ld_shlibs_CXX=no
   16746 	    ;;
   16747           cxx*)
   16748 	    case $host in
   16749 	      osf3*)
   16750 	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   16751 	        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'
   16752 	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16753 		;;
   16754 	      *)
   16755 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   16756 	        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'
   16757 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   16758                   echo "-hidden">> $lib.exp~
   16759                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
   16760                   $RM $lib.exp'
   16761 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   16762 		;;
   16763 	    esac
   16764 
   16765 	    hardcode_libdir_separator_CXX=:
   16766 
   16767 	    # Commands to make compiler produce verbose output that lists
   16768 	    # what "hidden" libraries, object files and flags are used when
   16769 	    # linking a shared library.
   16770 	    #
   16771 	    # There doesn't appear to be a way to prevent this compiler from
   16772 	    # explicitly linking system object files so we need to strip them
   16773 	    # from the output so that they don't get included in the library
   16774 	    # dependencies.
   16775 	    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"'
   16776 	    ;;
   16777 	  *)
   16778 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   16779 	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   16780 	      case $host in
   16781 	        osf3*)
   16782 	          archive_cmds_CXX='$CC -shared -nostdlib $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'
   16783 		  ;;
   16784 	        *)
   16785 	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $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'
   16786 		  ;;
   16787 	      esac
   16788 
   16789 	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16790 	      hardcode_libdir_separator_CXX=:
   16791 
   16792 	      # Commands to make compiler produce verbose output that lists
   16793 	      # what "hidden" libraries, object files and flags are used when
   16794 	      # linking a shared library.
   16795 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
   16796 
   16797 	    else
   16798 	      # FIXME: insert proper C++ library support
   16799 	      ld_shlibs_CXX=no
   16800 	    fi
   16801 	    ;;
   16802         esac
   16803         ;;
   16804 
   16805       psos*)
   16806         # FIXME: insert proper C++ library support
   16807         ld_shlibs_CXX=no
   16808         ;;
   16809 
   16810       serenity*)
   16811         ;;
   16812 
   16813       sunos4*)
   16814         case $cc_basename in
   16815           CC*)
   16816 	    # Sun C++ 4.x
   16817 	    # FIXME: insert proper C++ library support
   16818 	    ld_shlibs_CXX=no
   16819 	    ;;
   16820           lcc*)
   16821 	    # Lucid
   16822 	    # FIXME: insert proper C++ library support
   16823 	    ld_shlibs_CXX=no
   16824 	    ;;
   16825           *)
   16826 	    # FIXME: insert proper C++ library support
   16827 	    ld_shlibs_CXX=no
   16828 	    ;;
   16829         esac
   16830         ;;
   16831 
   16832       solaris*)
   16833         case $cc_basename in
   16834           CC* | sunCC*)
   16835 	    # Sun C++ 4.2, 5.x and Centerline C++
   16836             archive_cmds_need_lc_CXX=yes
   16837 	    no_undefined_flag_CXX=' -zdefs'
   16838 	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16839 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16840               $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   16841 
   16842 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   16843 	    hardcode_shlibpath_var_CXX=no
   16844 	    case $host_os in
   16845 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   16846 	      *)
   16847 		# The compiler driver will combine and reorder linker options,
   16848 		# but understands '-z linker_flag'.
   16849 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   16850 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   16851 	        ;;
   16852 	    esac
   16853 	    link_all_deplibs_CXX=yes
   16854 
   16855 	    output_verbose_link_cmd='func_echo_all'
   16856 
   16857 	    # Archives containing C++ object files must be created using
   16858 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   16859 	    # necessary to make sure instantiated templates are included
   16860 	    # in the archive.
   16861 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   16862 	    ;;
   16863           gcx*)
   16864 	    # Green Hills C++ Compiler
   16865 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   16866 
   16867 	    # The C++ compiler must be used to create the archive.
   16868 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   16869 	    ;;
   16870           *)
   16871 	    # GNU C++ compiler with Solaris linker
   16872 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   16873 	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
   16874 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   16875 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   16876 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16877                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   16878 
   16879 	        # Commands to make compiler produce verbose output that lists
   16880 	        # what "hidden" libraries, object files and flags are used when
   16881 	        # linking a shared library.
   16882 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
   16883 	      else
   16884 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
   16885 	        # platform.
   16886 	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   16887 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16888                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   16889 
   16890 	        # Commands to make compiler produce verbose output that lists
   16891 	        # what "hidden" libraries, object files and flags are used when
   16892 	        # linking a shared library.
   16893 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
   16894 	      fi
   16895 
   16896 	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
   16897 	      case $host_os in
   16898 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   16899 		*)
   16900 		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16901 		  ;;
   16902 	      esac
   16903 	    fi
   16904 	    ;;
   16905         esac
   16906         ;;
   16907 
   16908     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16909       no_undefined_flag_CXX='$wl-z,text'
   16910       archive_cmds_need_lc_CXX=no
   16911       hardcode_shlibpath_var_CXX=no
   16912       runpath_var='LD_RUN_PATH'
   16913 
   16914       case $cc_basename in
   16915         CC*)
   16916 	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16917 	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16918 	  ;;
   16919 	*)
   16920 	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16921 	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16922 	  ;;
   16923       esac
   16924       ;;
   16925 
   16926       sysv5* | sco3.2v5* | sco5v6*)
   16927 	# Note: We CANNOT use -z defs as we might desire, because we do not
   16928 	# link with -lc, and that would cause any symbols used from libc to
   16929 	# always be unresolved, which means just about no library would
   16930 	# ever link correctly.  If we're not using GNU ld we use -z text
   16931 	# though, which does catch some bad symbols but isn't as heavy-handed
   16932 	# as -z defs.
   16933 	no_undefined_flag_CXX='$wl-z,text'
   16934 	allow_undefined_flag_CXX='$wl-z,nodefs'
   16935 	archive_cmds_need_lc_CXX=no
   16936 	hardcode_shlibpath_var_CXX=no
   16937 	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
   16938 	hardcode_libdir_separator_CXX=':'
   16939 	link_all_deplibs_CXX=yes
   16940 	export_dynamic_flag_spec_CXX='$wl-Bexport'
   16941 	runpath_var='LD_RUN_PATH'
   16942 
   16943 	case $cc_basename in
   16944           CC*)
   16945 	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16946 	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16947 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   16948               '"$old_archive_cmds_CXX"
   16949 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   16950               '"$reload_cmds_CXX"
   16951 	    ;;
   16952 	  *)
   16953 	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16954 	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16955 	    ;;
   16956 	esac
   16957       ;;
   16958 
   16959       tandem*)
   16960         case $cc_basename in
   16961           NCC*)
   16962 	    # NonStop-UX NCC 3.20
   16963 	    # FIXME: insert proper C++ library support
   16964 	    ld_shlibs_CXX=no
   16965 	    ;;
   16966           *)
   16967 	    # FIXME: insert proper C++ library support
   16968 	    ld_shlibs_CXX=no
   16969 	    ;;
   16970         esac
   16971         ;;
   16972 
   16973       vxworks*)
   16974         # FIXME: insert proper C++ library support
   16975         ld_shlibs_CXX=no
   16976         ;;
   16977 
   16978       *)
   16979         # FIXME: insert proper C++ library support
   16980         ld_shlibs_CXX=no
   16981         ;;
   16982     esac
   16983 
   16984     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   16985 printf "%s\n" "$ld_shlibs_CXX" >&6; }
   16986     test no = "$ld_shlibs_CXX" && can_build_shared=no
   16987 
   16988     GCC_CXX=$GXX
   16989     LD_CXX=$LD
   16990 
   16991     ## CAVEAT EMPTOR:
   16992     ## There is no encapsulation within the following macros, do not change
   16993     ## the running order or otherwise move them around unless you know exactly
   16994     ## what you are doing...
   16995     # Dependencies to place before and after the object being linked:
   16996 predep_objects_CXX=
   16997 postdep_objects_CXX=
   16998 predeps_CXX=
   16999 postdeps_CXX=
   17000 compiler_lib_search_path_CXX=
   17001 
   17002 cat > conftest.$ac_ext <<_LT_EOF
   17003 class Foo
   17004 {
   17005 public:
   17006   Foo (void) { a = 0; }
   17007 private:
   17008   int a;
   17009 };
   17010 _LT_EOF
   17011 
   17012 
   17013 _lt_libdeps_save_CFLAGS=$CFLAGS
   17014 case "$CC $CFLAGS " in #(
   17015 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   17016 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   17017 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
   17018 esac
   17019 
   17020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17021   (eval $ac_compile) 2>&5
   17022   ac_status=$?
   17023   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17024   test $ac_status = 0; }; then
   17025   # Parse the compiler output and extract the necessary
   17026   # objects, libraries and library flags.
   17027 
   17028   # Sentinel used to keep track of whether or not we are before
   17029   # the conftest object file.
   17030   pre_test_object_deps_done=no
   17031 
   17032   for p in `eval "$output_verbose_link_cmd"`; do
   17033     case $prev$p in
   17034 
   17035     -L* | -R* | -l*)
   17036        # Some compilers place space between "-{L,R,l}" and the path.
   17037        # Remove the space.
   17038        if test x-L = x"$p" ||
   17039           test x-R = x"$p" ||
   17040           test x-l = x"$p"; then
   17041 	 prev=$p
   17042 	 continue
   17043        fi
   17044 
   17045        # Expand the sysroot to ease extracting the directories later.
   17046        if test -z "$prev"; then
   17047          case $p in
   17048          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   17049          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   17050          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   17051          esac
   17052        fi
   17053        case $p in
   17054        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   17055        esac
   17056        if test no = "$pre_test_object_deps_done"; then
   17057 	 case $prev in
   17058 	 -L | -R)
   17059 	   # Internal compiler library paths should come after those
   17060 	   # provided the user.  The postdeps already come after the
   17061 	   # user supplied libs so there is no need to process them.
   17062 	   if test -z "$compiler_lib_search_path_CXX"; then
   17063 	     compiler_lib_search_path_CXX=$prev$p
   17064 	   else
   17065 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
   17066 	   fi
   17067 	   ;;
   17068 	 # The "-l" case would never come before the object being
   17069 	 # linked, so don't bother handling this case.
   17070 	 esac
   17071        else
   17072 	 if test -z "$postdeps_CXX"; then
   17073 	   postdeps_CXX=$prev$p
   17074 	 else
   17075 	   postdeps_CXX="${postdeps_CXX} $prev$p"
   17076 	 fi
   17077        fi
   17078        prev=
   17079        ;;
   17080 
   17081     *.lto.$objext) ;; # Ignore GCC LTO objects
   17082     *.$objext)
   17083        # This assumes that the test object file only shows up
   17084        # once in the compiler output.
   17085        if test "$p" = "conftest.$objext"; then
   17086 	 pre_test_object_deps_done=yes
   17087 	 continue
   17088        fi
   17089 
   17090        if test no = "$pre_test_object_deps_done"; then
   17091 	 if test -z "$predep_objects_CXX"; then
   17092 	   predep_objects_CXX=$p
   17093 	 else
   17094 	   predep_objects_CXX="$predep_objects_CXX $p"
   17095 	 fi
   17096        else
   17097 	 if test -z "$postdep_objects_CXX"; then
   17098 	   postdep_objects_CXX=$p
   17099 	 else
   17100 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   17101 	 fi
   17102        fi
   17103        ;;
   17104 
   17105     *) ;; # Ignore the rest.
   17106 
   17107     esac
   17108   done
   17109 
   17110   # Clean up.
   17111   rm -f a.out a.exe
   17112 else
   17113   echo "libtool.m4: error: problem compiling CXX test program"
   17114 fi
   17115 
   17116 $RM -f confest.$objext
   17117 CFLAGS=$_lt_libdeps_save_CFLAGS
   17118 
   17119 # PORTME: override above test on systems where it is broken
   17120 case $host_os in
   17121 interix[3-9]*)
   17122   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   17123   # hack all around it, let's just trust "g++" to DTRT.
   17124   predep_objects_CXX=
   17125   postdep_objects_CXX=
   17126   postdeps_CXX=
   17127   ;;
   17128 esac
   17129 
   17130 
   17131 case " $postdeps_CXX " in
   17132 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   17133 esac
   17134  compiler_lib_search_dirs_CXX=
   17135 if test -n "${compiler_lib_search_path_CXX}"; then
   17136  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
   17137 fi
   17138 
   17139 
   17140 
   17141 
   17142 
   17143 
   17144 
   17145 
   17146 
   17147 
   17148 
   17149 
   17150 
   17151 
   17152 
   17153 
   17154 
   17155 
   17156 
   17157 
   17158 
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169     lt_prog_compiler_wl_CXX=
   17170 lt_prog_compiler_pic_CXX=
   17171 lt_prog_compiler_static_CXX=
   17172 
   17173 
   17174   # C++ specific cases for pic, static, wl, etc.
   17175   if test yes = "$GXX"; then
   17176     lt_prog_compiler_wl_CXX='-Wl,'
   17177     lt_prog_compiler_static_CXX='-static'
   17178 
   17179     case $host_os in
   17180     aix*)
   17181       # All AIX code is PIC.
   17182       if test ia64 = "$host_cpu"; then
   17183 	# AIX 5 now supports IA64 processor
   17184 	lt_prog_compiler_static_CXX='-Bstatic'
   17185       fi
   17186       lt_prog_compiler_pic_CXX='-fPIC'
   17187       ;;
   17188 
   17189     amigaos*)
   17190       case $host_cpu in
   17191       powerpc)
   17192             # see comment about AmigaOS4 .so support
   17193             lt_prog_compiler_pic_CXX='-fPIC'
   17194         ;;
   17195       m68k)
   17196             # FIXME: we need at least 68020 code to build shared libraries, but
   17197             # adding the '-m68020' flag to GCC prevents building anything better,
   17198             # like '-m68040'.
   17199             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   17200         ;;
   17201       esac
   17202       ;;
   17203 
   17204     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17205       # PIC is the default for these OSes.
   17206       ;;
   17207     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   17208       # This hack is so that the source file can tell whether it is being
   17209       # built for inclusion in a dll (and should export symbols for example).
   17210       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17211       # (--disable-auto-import) libraries
   17212       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   17213       case $host_os in
   17214       os2*)
   17215 	lt_prog_compiler_static_CXX='$wl-static'
   17216 	;;
   17217       esac
   17218       ;;
   17219     darwin* | rhapsody*)
   17220       # PIC is the default on this platform
   17221       # Common symbols not allowed in MH_DYLIB files
   17222       lt_prog_compiler_pic_CXX='-fno-common'
   17223       ;;
   17224     *djgpp*)
   17225       # DJGPP does not support shared libraries at all
   17226       lt_prog_compiler_pic_CXX=
   17227       ;;
   17228     haiku*)
   17229       # PIC is the default for Haiku.
   17230       # The "-static" flag exists, but is broken.
   17231       lt_prog_compiler_static_CXX=
   17232       ;;
   17233     interix[3-9]*)
   17234       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17235       # Instead, we relocate shared libraries at runtime.
   17236       ;;
   17237     sysv4*MP*)
   17238       if test -d /usr/nec; then
   17239 	lt_prog_compiler_pic_CXX=-Kconform_pic
   17240       fi
   17241       ;;
   17242     hpux*)
   17243       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   17244       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   17245       # sets the default TLS model and affects inlining.
   17246       case $host_cpu in
   17247       hppa*64*)
   17248 	;;
   17249       *)
   17250 	lt_prog_compiler_pic_CXX='-fPIC'
   17251 	;;
   17252       esac
   17253       ;;
   17254     *qnx* | *nto*)
   17255       # QNX uses GNU C++, but need to define -shared option too, otherwise
   17256       # it will coredump.
   17257       lt_prog_compiler_pic_CXX='-fPIC -shared'
   17258       ;;
   17259     *)
   17260       lt_prog_compiler_pic_CXX='-fPIC'
   17261       ;;
   17262     esac
   17263   else
   17264     case $host_os in
   17265       aix[4-9]*)
   17266 	# All AIX code is PIC.
   17267 	if test ia64 = "$host_cpu"; then
   17268 	  # AIX 5 now supports IA64 processor
   17269 	  lt_prog_compiler_static_CXX='-Bstatic'
   17270 	else
   17271 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   17272 	fi
   17273 	;;
   17274       chorus*)
   17275 	case $cc_basename in
   17276 	cxch68*)
   17277 	  # Green Hills C++ Compiler
   17278 	  # _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"
   17279 	  ;;
   17280 	esac
   17281 	;;
   17282       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   17283 	# This hack is so that the source file can tell whether it is being
   17284 	# built for inclusion in a dll (and should export symbols for example).
   17285 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   17286 	;;
   17287       dgux*)
   17288 	case $cc_basename in
   17289 	  ec++*)
   17290 	    lt_prog_compiler_pic_CXX='-KPIC'
   17291 	    ;;
   17292 	  ghcx*)
   17293 	    # Green Hills C++ Compiler
   17294 	    lt_prog_compiler_pic_CXX='-pic'
   17295 	    ;;
   17296 	  *)
   17297 	    ;;
   17298 	esac
   17299 	;;
   17300       freebsd* | dragonfly* | midnightbsd*)
   17301 	# FreeBSD uses GNU C++
   17302 	;;
   17303       hpux9* | hpux10* | hpux11*)
   17304 	case $cc_basename in
   17305 	  CC*)
   17306 	    lt_prog_compiler_wl_CXX='-Wl,'
   17307 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   17308 	    if test ia64 != "$host_cpu"; then
   17309 	      lt_prog_compiler_pic_CXX='+Z'
   17310 	    fi
   17311 	    ;;
   17312 	  aCC*)
   17313 	    lt_prog_compiler_wl_CXX='-Wl,'
   17314 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   17315 	    case $host_cpu in
   17316 	    hppa*64*|ia64*)
   17317 	      # +Z the default
   17318 	      ;;
   17319 	    *)
   17320 	      lt_prog_compiler_pic_CXX='+Z'
   17321 	      ;;
   17322 	    esac
   17323 	    ;;
   17324 	  *)
   17325 	    ;;
   17326 	esac
   17327 	;;
   17328       interix*)
   17329 	# This is c89, which is MS Visual C++ (no shared libs)
   17330 	# Anyone wants to do a port?
   17331 	;;
   17332       irix5* | irix6* | nonstopux*)
   17333 	case $cc_basename in
   17334 	  CC*)
   17335 	    lt_prog_compiler_wl_CXX='-Wl,'
   17336 	    lt_prog_compiler_static_CXX='-non_shared'
   17337 	    # CC pic flag -KPIC is the default.
   17338 	    ;;
   17339 	  *)
   17340 	    ;;
   17341 	esac
   17342 	;;
   17343       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17344 	case $cc_basename in
   17345 	  KCC*)
   17346 	    # KAI C++ Compiler
   17347 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   17348 	    lt_prog_compiler_pic_CXX='-fPIC'
   17349 	    ;;
   17350 	  ecpc* )
   17351 	    # old Intel C++ for x86_64, which still supported -KPIC.
   17352 	    lt_prog_compiler_wl_CXX='-Wl,'
   17353 	    lt_prog_compiler_pic_CXX='-KPIC'
   17354 	    lt_prog_compiler_static_CXX='-static'
   17355 	    ;;
   17356 	  icpc* )
   17357 	    # Intel C++, used to be incompatible with GCC.
   17358 	    # ICC 10 doesn't accept -KPIC any more.
   17359 	    lt_prog_compiler_wl_CXX='-Wl,'
   17360 	    lt_prog_compiler_pic_CXX='-fPIC'
   17361 	    lt_prog_compiler_static_CXX='-static'
   17362 	    ;;
   17363 	  pgCC* | pgcpp*)
   17364 	    # Portland Group C++ compiler
   17365 	    lt_prog_compiler_wl_CXX='-Wl,'
   17366 	    lt_prog_compiler_pic_CXX='-fpic'
   17367 	    lt_prog_compiler_static_CXX='-Bstatic'
   17368 	    ;;
   17369 	  cxx*)
   17370 	    # Compaq C++
   17371 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   17372 	    # Linux and Compaq Tru64 Unix objects are PIC.
   17373 	    lt_prog_compiler_pic_CXX=
   17374 	    lt_prog_compiler_static_CXX='-non_shared'
   17375 	    ;;
   17376 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   17377 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   17378 	    lt_prog_compiler_wl_CXX='-Wl,'
   17379 	    lt_prog_compiler_pic_CXX='-qpic'
   17380 	    lt_prog_compiler_static_CXX='-qstaticlink'
   17381 	    ;;
   17382 	  *)
   17383 	    case `$CC -V 2>&1 | $SED 5q` in
   17384 	    *Sun\ C*)
   17385 	      # Sun C++ 5.9
   17386 	      lt_prog_compiler_pic_CXX='-KPIC'
   17387 	      lt_prog_compiler_static_CXX='-Bstatic'
   17388 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   17389 	      ;;
   17390 	    esac
   17391 	    ;;
   17392 	esac
   17393 	;;
   17394       lynxos*)
   17395 	;;
   17396       m88k*)
   17397 	;;
   17398       mvs*)
   17399 	case $cc_basename in
   17400 	  cxx*)
   17401 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   17402 	    ;;
   17403 	  *)
   17404 	    ;;
   17405 	esac
   17406 	;;
   17407       netbsd* | netbsdelf*-gnu)
   17408 	;;
   17409       *-mlibc)
   17410 	;;
   17411       *qnx* | *nto*)
   17412         # QNX uses GNU C++, but need to define -shared option too, otherwise
   17413         # it will coredump.
   17414         lt_prog_compiler_pic_CXX='-fPIC -shared'
   17415         ;;
   17416       osf3* | osf4* | osf5*)
   17417 	case $cc_basename in
   17418 	  KCC*)
   17419 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   17420 	    ;;
   17421 	  RCC*)
   17422 	    # Rational C++ 2.4.1
   17423 	    lt_prog_compiler_pic_CXX='-pic'
   17424 	    ;;
   17425 	  cxx*)
   17426 	    # Digital/Compaq C++
   17427 	    lt_prog_compiler_wl_CXX='-Wl,'
   17428 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   17429 	    # Linux and Compaq Tru64 Unix objects are PIC.
   17430 	    lt_prog_compiler_pic_CXX=
   17431 	    lt_prog_compiler_static_CXX='-non_shared'
   17432 	    ;;
   17433 	  *)
   17434 	    ;;
   17435 	esac
   17436 	;;
   17437       psos*)
   17438 	;;
   17439       serenity*)
   17440         ;;
   17441       solaris*)
   17442 	case $cc_basename in
   17443 	  CC* | sunCC*)
   17444 	    # Sun C++ 4.2, 5.x and Centerline C++
   17445 	    lt_prog_compiler_pic_CXX='-KPIC'
   17446 	    lt_prog_compiler_static_CXX='-Bstatic'
   17447 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   17448 	    ;;
   17449 	  gcx*)
   17450 	    # Green Hills C++ Compiler
   17451 	    lt_prog_compiler_pic_CXX='-PIC'
   17452 	    ;;
   17453 	  *)
   17454 	    ;;
   17455 	esac
   17456 	;;
   17457       sunos4*)
   17458 	case $cc_basename in
   17459 	  CC*)
   17460 	    # Sun C++ 4.x
   17461 	    lt_prog_compiler_pic_CXX='-pic'
   17462 	    lt_prog_compiler_static_CXX='-Bstatic'
   17463 	    ;;
   17464 	  lcc*)
   17465 	    # Lucid
   17466 	    lt_prog_compiler_pic_CXX='-pic'
   17467 	    ;;
   17468 	  *)
   17469 	    ;;
   17470 	esac
   17471 	;;
   17472       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17473 	case $cc_basename in
   17474 	  CC*)
   17475 	    lt_prog_compiler_wl_CXX='-Wl,'
   17476 	    lt_prog_compiler_pic_CXX='-KPIC'
   17477 	    lt_prog_compiler_static_CXX='-Bstatic'
   17478 	    ;;
   17479 	esac
   17480 	;;
   17481       tandem*)
   17482 	case $cc_basename in
   17483 	  NCC*)
   17484 	    # NonStop-UX NCC 3.20
   17485 	    lt_prog_compiler_pic_CXX='-KPIC'
   17486 	    ;;
   17487 	  *)
   17488 	    ;;
   17489 	esac
   17490 	;;
   17491       vxworks*)
   17492 	;;
   17493       *)
   17494 	lt_prog_compiler_can_build_shared_CXX=no
   17495 	;;
   17496     esac
   17497   fi
   17498 
   17499 case $host_os in
   17500   # For platforms that do not support PIC, -DPIC is meaningless:
   17501   *djgpp*)
   17502     lt_prog_compiler_pic_CXX=
   17503     ;;
   17504   *)
   17505     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   17506     ;;
   17507 esac
   17508 
   17509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   17510 printf %s "checking for $compiler option to produce PIC... " >&6; }
   17511 if test ${lt_cv_prog_compiler_pic_CXX+y}
   17512 then :
   17513   printf %s "(cached) " >&6
   17514 else $as_nop
   17515   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
   17516 fi
   17517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   17518 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
   17519 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   17520 
   17521 #
   17522 # Check to make sure the PIC flag actually works.
   17523 #
   17524 if test -n "$lt_prog_compiler_pic_CXX"; then
   17525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   17526 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   17527 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
   17528 then :
   17529   printf %s "(cached) " >&6
   17530 else $as_nop
   17531   lt_cv_prog_compiler_pic_works_CXX=no
   17532    ac_outfile=conftest.$ac_objext
   17533    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17534    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   17535    # Insert the option either (1) after the last *FLAGS variable, or
   17536    # (2) before a word containing "conftest.", or (3) at the end.
   17537    # Note that $ac_compile itself does not contain backslashes and begins
   17538    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17539    # The option is referenced via a variable to avoid confusing sed.
   17540    lt_compile=`echo "$ac_compile" | $SED \
   17541    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17542    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17543    -e 's:$: $lt_compiler_flag:'`
   17544    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   17545    (eval "$lt_compile" 2>conftest.err)
   17546    ac_status=$?
   17547    cat conftest.err >&5
   17548    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17549    if (exit $ac_status) && test -s "$ac_outfile"; then
   17550      # The compiler can only warn and ignore the option if not recognized
   17551      # So say no if there are warnings other than the usual output.
   17552      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   17553      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17554      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17555        lt_cv_prog_compiler_pic_works_CXX=yes
   17556      fi
   17557    fi
   17558    $RM conftest*
   17559 
   17560 fi
   17561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   17562 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   17563 
   17564 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   17565     case $lt_prog_compiler_pic_CXX in
   17566      "" | " "*) ;;
   17567      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   17568      esac
   17569 else
   17570     lt_prog_compiler_pic_CXX=
   17571      lt_prog_compiler_can_build_shared_CXX=no
   17572 fi
   17573 
   17574 fi
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 #
   17581 # Check to make sure the static flag actually works.
   17582 #
   17583 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   17584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17585 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17586 if test ${lt_cv_prog_compiler_static_works_CXX+y}
   17587 then :
   17588   printf %s "(cached) " >&6
   17589 else $as_nop
   17590   lt_cv_prog_compiler_static_works_CXX=no
   17591    save_LDFLAGS=$LDFLAGS
   17592    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17593    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17594    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17595      # The linker can only warn and ignore the option if not recognized
   17596      # So say no if there are warnings
   17597      if test -s conftest.err; then
   17598        # Append any errors to the config.log.
   17599        cat conftest.err 1>&5
   17600        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17601        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17602        if diff conftest.exp conftest.er2 >/dev/null; then
   17603          lt_cv_prog_compiler_static_works_CXX=yes
   17604        fi
   17605      else
   17606        lt_cv_prog_compiler_static_works_CXX=yes
   17607      fi
   17608    fi
   17609    $RM -r conftest*
   17610    LDFLAGS=$save_LDFLAGS
   17611 
   17612 fi
   17613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   17614 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   17615 
   17616 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   17617     :
   17618 else
   17619     lt_prog_compiler_static_CXX=
   17620 fi
   17621 
   17622 
   17623 
   17624 
   17625     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   17626 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17627 if test ${lt_cv_prog_compiler_c_o_CXX+y}
   17628 then :
   17629   printf %s "(cached) " >&6
   17630 else $as_nop
   17631   lt_cv_prog_compiler_c_o_CXX=no
   17632    $RM -r conftest 2>/dev/null
   17633    mkdir conftest
   17634    cd conftest
   17635    mkdir out
   17636    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17637 
   17638    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17639    # Insert the option either (1) after the last *FLAGS variable, or
   17640    # (2) before a word containing "conftest.", or (3) at the end.
   17641    # Note that $ac_compile itself does not contain backslashes and begins
   17642    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17643    lt_compile=`echo "$ac_compile" | $SED \
   17644    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17645    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17646    -e 's:$: $lt_compiler_flag:'`
   17647    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   17648    (eval "$lt_compile" 2>out/conftest.err)
   17649    ac_status=$?
   17650    cat out/conftest.err >&5
   17651    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17652    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17653    then
   17654      # The compiler can only warn and ignore the option if not recognized
   17655      # So say no if there are warnings
   17656      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   17657      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17658      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17659        lt_cv_prog_compiler_c_o_CXX=yes
   17660      fi
   17661    fi
   17662    chmod u+w . 2>&5
   17663    $RM conftest*
   17664    # SGI C++ compiler will create directory out/ii_files/ for
   17665    # template instantiation
   17666    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   17667    $RM out/* && rmdir out
   17668    cd ..
   17669    $RM -r conftest
   17670    $RM conftest*
   17671 
   17672 fi
   17673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   17674 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   17675 
   17676 
   17677 
   17678     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   17679 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17680 if test ${lt_cv_prog_compiler_c_o_CXX+y}
   17681 then :
   17682   printf %s "(cached) " >&6
   17683 else $as_nop
   17684   lt_cv_prog_compiler_c_o_CXX=no
   17685    $RM -r conftest 2>/dev/null
   17686    mkdir conftest
   17687    cd conftest
   17688    mkdir out
   17689    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17690 
   17691    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17692    # Insert the option either (1) after the last *FLAGS variable, or
   17693    # (2) before a word containing "conftest.", or (3) at the end.
   17694    # Note that $ac_compile itself does not contain backslashes and begins
   17695    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17696    lt_compile=`echo "$ac_compile" | $SED \
   17697    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17698    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17699    -e 's:$: $lt_compiler_flag:'`
   17700    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   17701    (eval "$lt_compile" 2>out/conftest.err)
   17702    ac_status=$?
   17703    cat out/conftest.err >&5
   17704    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17705    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17706    then
   17707      # The compiler can only warn and ignore the option if not recognized
   17708      # So say no if there are warnings
   17709      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   17710      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17711      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17712        lt_cv_prog_compiler_c_o_CXX=yes
   17713      fi
   17714    fi
   17715    chmod u+w . 2>&5
   17716    $RM conftest*
   17717    # SGI C++ compiler will create directory out/ii_files/ for
   17718    # template instantiation
   17719    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   17720    $RM out/* && rmdir out
   17721    cd ..
   17722    $RM -r conftest
   17723    $RM conftest*
   17724 
   17725 fi
   17726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   17727 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   17728 
   17729 
   17730 
   17731 
   17732 hard_links=nottested
   17733 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
   17734   # do not overwrite the value of need_locks provided by the user
   17735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   17736 printf %s "checking if we can lock with hard links... " >&6; }
   17737   hard_links=yes
   17738   $RM conftest*
   17739   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17740   touch conftest.a
   17741   ln conftest.a conftest.b 2>&5 || hard_links=no
   17742   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17743   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   17744 printf "%s\n" "$hard_links" >&6; }
   17745   if test no = "$hard_links"; then
   17746     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   17747 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   17748     need_locks=warn
   17749   fi
   17750 else
   17751   need_locks=no
   17752 fi
   17753 
   17754 
   17755 
   17756     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17757 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17758 
   17759   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17760   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17761   case $host_os in
   17762   aix[4-9]*)
   17763     # If we're using GNU nm, then we don't want the "-C" option.
   17764     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
   17765     # Without the "-l" option, or with the "-B" option, AIX nm treats
   17766     # weak defined symbols like other global defined symbols, whereas
   17767     # GNU nm marks them as "W".
   17768     # While the 'weak' keyword is ignored in the Export File, we need
   17769     # it in the Import File for the 'aix-soname' feature, so we have
   17770     # to replace the "-B" option with "-P" for AIX nm.
   17771     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   17772       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'
   17773     else
   17774       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'
   17775     fi
   17776     ;;
   17777   pw32*)
   17778     export_symbols_cmds_CXX=$ltdll_cmds
   17779     ;;
   17780   cygwin* | mingw* | windows* | cegcc*)
   17781     case $cc_basename in
   17782     cl* | icl*)
   17783       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17784       ;;
   17785     *)
   17786       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'
   17787       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   17788       ;;
   17789     esac
   17790     ;;
   17791   *)
   17792     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17793     ;;
   17794   esac
   17795 
   17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   17797 printf "%s\n" "$ld_shlibs_CXX" >&6; }
   17798 test no = "$ld_shlibs_CXX" && can_build_shared=no
   17799 
   17800 with_gnu_ld_CXX=$with_gnu_ld
   17801 
   17802 
   17803 
   17804 
   17805 
   17806 
   17807 #
   17808 # Do we need to explicitly link libc?
   17809 #
   17810 case "x$archive_cmds_need_lc_CXX" in
   17811 x|xyes)
   17812   # Assume -lc should be added
   17813   archive_cmds_need_lc_CXX=yes
   17814 
   17815   if test yes,yes = "$GCC,$enable_shared"; then
   17816     case $archive_cmds_CXX in
   17817     *'~'*)
   17818       # FIXME: we may have to deal with multi-command sequences.
   17819       ;;
   17820     '$CC '*)
   17821       # Test whether the compiler implicitly links with -lc since on some
   17822       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17823       # to ld, don't add -lc before -lgcc.
   17824       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17825 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17826 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
   17827 then :
   17828   printf %s "(cached) " >&6
   17829 else $as_nop
   17830   $RM conftest*
   17831 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17832 
   17833 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17834   (eval $ac_compile) 2>&5
   17835   ac_status=$?
   17836   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17837   test $ac_status = 0; } 2>conftest.err; then
   17838 	  soname=conftest
   17839 	  lib=conftest
   17840 	  libobjs=conftest.$ac_objext
   17841 	  deplibs=
   17842 	  wl=$lt_prog_compiler_wl_CXX
   17843 	  pic_flag=$lt_prog_compiler_pic_CXX
   17844 	  compiler_flags=-v
   17845 	  linker_flags=-v
   17846 	  verstring=
   17847 	  output_objdir=.
   17848 	  libname=conftest
   17849 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   17850 	  allow_undefined_flag_CXX=
   17851 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17852   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17853   ac_status=$?
   17854   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17855   test $ac_status = 0; }
   17856 	  then
   17857 	    lt_cv_archive_cmds_need_lc_CXX=no
   17858 	  else
   17859 	    lt_cv_archive_cmds_need_lc_CXX=yes
   17860 	  fi
   17861 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   17862 	else
   17863 	  cat conftest.err 1>&5
   17864 	fi
   17865 	$RM conftest*
   17866 
   17867 fi
   17868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   17869 printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   17870       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   17871       ;;
   17872     esac
   17873   fi
   17874   ;;
   17875 esac
   17876 
   17877 
   17878 
   17879 
   17880 
   17881 
   17882 
   17883 
   17884 
   17885 
   17886 
   17887 
   17888 
   17889 
   17890 
   17891 
   17892 
   17893 
   17894 
   17895 
   17896 
   17897 
   17898 
   17899 
   17900 
   17901 
   17902 
   17903 
   17904 
   17905 
   17906 
   17907 
   17908 
   17909 
   17910 
   17911 
   17912 
   17913 
   17914 
   17915 
   17916 
   17917 
   17918 
   17919 
   17920 
   17921 
   17922 
   17923 
   17924 
   17925 
   17926 
   17927 
   17928 
   17929 
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17939 printf %s "checking dynamic linker characteristics... " >&6; }
   17940 
   17941 library_names_spec=
   17942 libname_spec='lib$name'
   17943 soname_spec=
   17944 shrext_cmds=.so
   17945 postinstall_cmds=
   17946 postuninstall_cmds=
   17947 finish_cmds=
   17948 finish_eval=
   17949 shlibpath_var=
   17950 shlibpath_overrides_runpath=unknown
   17951 version_type=none
   17952 dynamic_linker="$host_os ld.so"
   17953 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17954 need_lib_prefix=unknown
   17955 hardcode_into_libs=no
   17956 
   17957 # when you set need_version to no, make sure it does not cause -set_version
   17958 # flags to be left without arguments
   17959 need_version=unknown
   17960 
   17961 
   17962 
   17963 case $host_os in
   17964 aix3*)
   17965   version_type=linux # correct to gnu/linux during the next big refactor
   17966   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17967   shlibpath_var=LIBPATH
   17968 
   17969   # AIX 3 has no versioning support, so we append a major version to the name.
   17970   soname_spec='$libname$release$shared_ext$major'
   17971   ;;
   17972 
   17973 aix[4-9]*)
   17974   version_type=linux # correct to gnu/linux during the next big refactor
   17975   need_lib_prefix=no
   17976   need_version=no
   17977   hardcode_into_libs=yes
   17978   if test ia64 = "$host_cpu"; then
   17979     # AIX 5 supports IA64
   17980     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   17981     shlibpath_var=LD_LIBRARY_PATH
   17982   else
   17983     # With GCC up to 2.95.x, collect2 would create an import file
   17984     # for dependence libraries.  The import file would start with
   17985     # the line '#! .'.  This would cause the generated library to
   17986     # depend on '.', always an invalid library.  This was fixed in
   17987     # development snapshots of GCC prior to 3.0.
   17988     case $host_os in
   17989       aix4 | aix4.[01] | aix4.[01].*)
   17990       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17991 	   echo ' yes '
   17992 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   17993 	:
   17994       else
   17995 	can_build_shared=no
   17996       fi
   17997       ;;
   17998     esac
   17999     # Using Import Files as archive members, it is possible to support
   18000     # filename-based versioning of shared library archives on AIX. While
   18001     # this would work for both with and without runtime linking, it will
   18002     # prevent static linking of such archives. So we do filename-based
   18003     # shared library versioning with .so extension only, which is used
   18004     # when both runtime linking and shared linking is enabled.
   18005     # Unfortunately, runtime linking may impact performance, so we do
   18006     # not want this to be the default eventually. Also, we use the
   18007     # versioned .so libs for executables only if there is the -brtl
   18008     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   18009     # To allow for filename-based versioning support, we need to create
   18010     # libNAME.so.V as an archive file, containing:
   18011     # *) an Import File, referring to the versioned filename of the
   18012     #    archive as well as the shared archive member, telling the
   18013     #    bitwidth (32 or 64) of that shared object, and providing the
   18014     #    list of exported symbols of that shared object, eventually
   18015     #    decorated with the 'weak' keyword
   18016     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18017     #    it being seen by the linker.
   18018     # At run time we better use the real file rather than another symlink,
   18019     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18020 
   18021     case $with_aix_soname,$aix_use_runtimelinking in
   18022     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18023     # soname into executable. Probably we can add versioning support to
   18024     # collect2, so additional links can be useful in future.
   18025     aix,yes) # traditional libtool
   18026       dynamic_linker='AIX unversionable lib.so'
   18027       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18028       # instead of lib<name>.a to let people know that these are not
   18029       # typical AIX shared libraries.
   18030       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18031       ;;
   18032     aix,no) # traditional AIX only
   18033       dynamic_linker='AIX lib.a(lib.so.V)'
   18034       # We preserve .a as extension for shared libraries through AIX4.2
   18035       # and later when we are not doing run time linking.
   18036       library_names_spec='$libname$release.a $libname.a'
   18037       soname_spec='$libname$release$shared_ext$major'
   18038       ;;
   18039     svr4,*) # full svr4 only
   18040       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18041       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18042       # We do not specify a path in Import Files, so LIBPATH fires.
   18043       shlibpath_overrides_runpath=yes
   18044       ;;
   18045     *,yes) # both, prefer svr4
   18046       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18047       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18048       # unpreferred sharedlib libNAME.a needs extra handling
   18049       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"'
   18050       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"'
   18051       # We do not specify a path in Import Files, so LIBPATH fires.
   18052       shlibpath_overrides_runpath=yes
   18053       ;;
   18054     *,no) # both, prefer aix
   18055       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18056       library_names_spec='$libname$release.a $libname.a'
   18057       soname_spec='$libname$release$shared_ext$major'
   18058       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18059       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)'
   18060       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"'
   18061       ;;
   18062     esac
   18063     shlibpath_var=LIBPATH
   18064   fi
   18065   ;;
   18066 
   18067 amigaos*)
   18068   case $host_cpu in
   18069   powerpc)
   18070     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18071     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18072     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18073     ;;
   18074   m68k)
   18075     library_names_spec='$libname.ixlibrary $libname.a'
   18076     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18077     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'
   18078     ;;
   18079   esac
   18080   ;;
   18081 
   18082 beos*)
   18083   library_names_spec='$libname$shared_ext'
   18084   dynamic_linker="$host_os ld.so"
   18085   shlibpath_var=LIBRARY_PATH
   18086   ;;
   18087 
   18088 bsdi[45]*)
   18089   version_type=linux # correct to gnu/linux during the next big refactor
   18090   need_version=no
   18091   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18092   soname_spec='$libname$release$shared_ext$major'
   18093   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18094   shlibpath_var=LD_LIBRARY_PATH
   18095   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18096   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18097   # the default ld.so.conf also contains /usr/contrib/lib and
   18098   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18099   # libtool to hard-code these into programs
   18100   ;;
   18101 
   18102 cygwin* | mingw* | windows* | pw32* | cegcc*)
   18103   version_type=windows
   18104   shrext_cmds=.dll
   18105   need_version=no
   18106   need_lib_prefix=no
   18107 
   18108   case $GCC,$cc_basename in
   18109   yes,*)
   18110     # gcc
   18111     library_names_spec='$libname.dll.a'
   18112     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18113     # If user builds GCC with multilib enabled,
   18114     # it should just install on $(libdir)
   18115     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   18116     if test xyes = x"$multilib"; then
   18117       postinstall_cmds='base_file=`basename \$file`~
   18118         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18119         dldir=$destdir/`dirname \$dlpath`~
   18120         $install_prog $dir/$dlname $destdir/$dlname~
   18121         chmod a+x $destdir/$dlname~
   18122         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18123           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   18124         fi'
   18125     else
   18126       postinstall_cmds='base_file=`basename \$file`~
   18127         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18128         dldir=$destdir/`dirname \$dlpath`~
   18129         test -d \$dldir || mkdir -p \$dldir~
   18130         $install_prog $dir/$dlname \$dldir/$dlname~
   18131         chmod a+x \$dldir/$dlname~
   18132         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18133           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18134         fi'
   18135     fi
   18136     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18137       dlpath=$dir/\$dldll~
   18138        $RM \$dlpath'
   18139     shlibpath_overrides_runpath=yes
   18140 
   18141     case $host_os in
   18142     cygwin*)
   18143       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18144       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18145 
   18146       ;;
   18147     mingw* | windows* | cegcc*)
   18148       # MinGW DLLs use traditional 'lib' prefix
   18149       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18150       ;;
   18151     pw32*)
   18152       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18153       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18154       ;;
   18155     esac
   18156     dynamic_linker='Win32 ld.exe'
   18157     ;;
   18158 
   18159   *,cl* | *,icl*)
   18160     # Native MSVC or ICC
   18161     libname_spec='$name'
   18162     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18163     library_names_spec='$libname.dll.lib'
   18164 
   18165     case $build_os in
   18166     mingw* | windows*)
   18167       sys_lib_search_path_spec=
   18168       lt_save_ifs=$IFS
   18169       IFS=';'
   18170       for lt_path in $LIB
   18171       do
   18172         IFS=$lt_save_ifs
   18173         # Let DOS variable expansion print the short 8.3 style file name.
   18174         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18175         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18176       done
   18177       IFS=$lt_save_ifs
   18178       # Convert to MSYS style.
   18179       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18180       ;;
   18181     cygwin*)
   18182       # Convert to unix form, then to dos form, then back to unix form
   18183       # but this time dos style (no spaces!) so that the unix form looks
   18184       # like /cygdrive/c/PROGRA~1:/cygdr...
   18185       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18186       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18187       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18188       ;;
   18189     *)
   18190       sys_lib_search_path_spec=$LIB
   18191       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18192         # It is most probably a Windows format PATH.
   18193         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18194       else
   18195         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18196       fi
   18197       # FIXME: find the short name or the path components, as spaces are
   18198       # common. (e.g. "Program Files" -> "PROGRA~1")
   18199       ;;
   18200     esac
   18201 
   18202     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18203     postinstall_cmds='base_file=`basename \$file`~
   18204       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18205       dldir=$destdir/`dirname \$dlpath`~
   18206       test -d \$dldir || mkdir -p \$dldir~
   18207       $install_prog $dir/$dlname \$dldir/$dlname'
   18208     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18209       dlpath=$dir/\$dldll~
   18210        $RM \$dlpath'
   18211     shlibpath_overrides_runpath=yes
   18212     dynamic_linker='Win32 link.exe'
   18213     ;;
   18214 
   18215   *)
   18216     # Assume MSVC and ICC wrapper
   18217     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18218     dynamic_linker='Win32 ld.exe'
   18219     ;;
   18220   esac
   18221   # FIXME: first we should search . and the directory the executable is in
   18222   shlibpath_var=PATH
   18223   ;;
   18224 
   18225 darwin* | rhapsody*)
   18226   dynamic_linker="$host_os dyld"
   18227   version_type=darwin
   18228   need_lib_prefix=no
   18229   need_version=no
   18230   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   18231   soname_spec='$libname$release$major$shared_ext'
   18232   shlibpath_overrides_runpath=yes
   18233   shlibpath_var=DYLD_LIBRARY_PATH
   18234   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   18235 
   18236   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18237   ;;
   18238 
   18239 dgux*)
   18240   version_type=linux # correct to gnu/linux during the next big refactor
   18241   need_lib_prefix=no
   18242   need_version=no
   18243   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18244   soname_spec='$libname$release$shared_ext$major'
   18245   shlibpath_var=LD_LIBRARY_PATH
   18246   ;;
   18247 
   18248 freebsd* | dragonfly* | midnightbsd*)
   18249   # DragonFly does not have aout.  When/if they implement a new
   18250   # versioning mechanism, adjust this.
   18251   if test -x /usr/bin/objformat; then
   18252     objformat=`/usr/bin/objformat`
   18253   else
   18254     case $host_os in
   18255     freebsd[23].*) objformat=aout ;;
   18256     *) objformat=elf ;;
   18257     esac
   18258   fi
   18259   # Handle Gentoo/FreeBSD as it was Linux
   18260   case $host_vendor in
   18261     gentoo)
   18262       version_type=linux ;;
   18263     *)
   18264       version_type=freebsd-$objformat ;;
   18265   esac
   18266 
   18267   case $version_type in
   18268     freebsd-elf*)
   18269       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18270       soname_spec='$libname$release$shared_ext$major'
   18271       need_version=no
   18272       need_lib_prefix=no
   18273       ;;
   18274     freebsd-*)
   18275       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18276       need_version=yes
   18277       ;;
   18278     linux)
   18279       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18280       soname_spec='${libname}${release}${shared_ext}$major'
   18281       need_lib_prefix=no
   18282       need_version=no
   18283       ;;
   18284   esac
   18285   case $host_cpu in
   18286     powerpc64)
   18287       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   18288       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   18289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18290 /* end confdefs.h.  */
   18291 int test_pointer_size[sizeof (void *) - 5];
   18292 
   18293 _ACEOF
   18294 if ac_fn_cxx_try_compile "$LINENO"
   18295 then :
   18296   shlibpath_var=LD_LIBRARY_PATH
   18297 else $as_nop
   18298   shlibpath_var=LD_32_LIBRARY_PATH
   18299 fi
   18300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18301       ;;
   18302     *)
   18303       shlibpath_var=LD_LIBRARY_PATH
   18304       ;;
   18305   esac
   18306   case $host_os in
   18307   freebsd2.*)
   18308     shlibpath_overrides_runpath=yes
   18309     ;;
   18310   freebsd3.[01]* | freebsdelf3.[01]*)
   18311     shlibpath_overrides_runpath=yes
   18312     hardcode_into_libs=yes
   18313     ;;
   18314   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18315   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18316     shlibpath_overrides_runpath=no
   18317     hardcode_into_libs=yes
   18318     ;;
   18319   *) # from 4.6 on, and DragonFly
   18320     shlibpath_overrides_runpath=yes
   18321     hardcode_into_libs=yes
   18322     ;;
   18323   esac
   18324   ;;
   18325 
   18326 haiku*)
   18327   version_type=linux # correct to gnu/linux during the next big refactor
   18328   need_lib_prefix=no
   18329   need_version=no
   18330   dynamic_linker="$host_os runtime_loader"
   18331   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18332   soname_spec='$libname$release$shared_ext$major'
   18333   shlibpath_var=LIBRARY_PATH
   18334   shlibpath_overrides_runpath=no
   18335   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   18336   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   18337   hardcode_into_libs=no
   18338   ;;
   18339 
   18340 hpux9* | hpux10* | hpux11*)
   18341   # Give a soname corresponding to the major version so that dld.sl refuses to
   18342   # link against other versions.
   18343   version_type=sunos
   18344   need_lib_prefix=no
   18345   need_version=no
   18346   case $host_cpu in
   18347   ia64*)
   18348     shrext_cmds='.so'
   18349     hardcode_into_libs=yes
   18350     dynamic_linker="$host_os dld.so"
   18351     shlibpath_var=LD_LIBRARY_PATH
   18352     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18353     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18354     soname_spec='$libname$release$shared_ext$major'
   18355     if test 32 = "$HPUX_IA64_MODE"; then
   18356       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18357       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18358     else
   18359       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18360       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18361     fi
   18362     ;;
   18363   hppa*64*)
   18364     shrext_cmds='.sl'
   18365     hardcode_into_libs=yes
   18366     dynamic_linker="$host_os dld.sl"
   18367     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18368     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18369     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18370     soname_spec='$libname$release$shared_ext$major'
   18371     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18372     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18373     ;;
   18374   *)
   18375     shrext_cmds='.sl'
   18376     dynamic_linker="$host_os dld.sl"
   18377     shlibpath_var=SHLIB_PATH
   18378     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18379     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18380     soname_spec='$libname$release$shared_ext$major'
   18381     ;;
   18382   esac
   18383   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18384   postinstall_cmds='chmod 555 $lib'
   18385   # or fails outright, so override atomically:
   18386   install_override_mode=555
   18387   ;;
   18388 
   18389 interix[3-9]*)
   18390   version_type=linux # correct to gnu/linux during the next big refactor
   18391   need_lib_prefix=no
   18392   need_version=no
   18393   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18394   soname_spec='$libname$release$shared_ext$major'
   18395   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18396   shlibpath_var=LD_LIBRARY_PATH
   18397   shlibpath_overrides_runpath=no
   18398   hardcode_into_libs=yes
   18399   ;;
   18400 
   18401 irix5* | irix6* | nonstopux*)
   18402   case $host_os in
   18403     nonstopux*) version_type=nonstopux ;;
   18404     *)
   18405 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18406 		version_type=linux # correct to gnu/linux during the next big refactor
   18407 	else
   18408 		version_type=irix
   18409 	fi ;;
   18410   esac
   18411   need_lib_prefix=no
   18412   need_version=no
   18413   soname_spec='$libname$release$shared_ext$major'
   18414   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18415   case $host_os in
   18416   irix5* | nonstopux*)
   18417     libsuff= shlibsuff=
   18418     ;;
   18419   *)
   18420     case $LD in # libtool.m4 will add one of these switches to LD
   18421     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18422       libsuff= shlibsuff= libmagic=32-bit;;
   18423     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18424       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18425     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18426       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18427     *) libsuff= shlibsuff= libmagic=never-match;;
   18428     esac
   18429     ;;
   18430   esac
   18431   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18432   shlibpath_overrides_runpath=no
   18433   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18434   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18435   hardcode_into_libs=yes
   18436   ;;
   18437 
   18438 # No shared lib support for Linux oldld, aout, or coff.
   18439 linux*oldld* | linux*aout* | linux*coff*)
   18440   dynamic_linker=no
   18441   ;;
   18442 
   18443 linux*android*)
   18444   version_type=none # Android doesn't support versioned libraries.
   18445   need_lib_prefix=no
   18446   need_version=no
   18447   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   18448   soname_spec='$libname$release$shared_ext'
   18449   finish_cmds=
   18450   shlibpath_var=LD_LIBRARY_PATH
   18451   shlibpath_overrides_runpath=yes
   18452 
   18453   # This implies no fast_install, which is unacceptable.
   18454   # Some rework will be needed to allow for fast_install
   18455   # before this can be enabled.
   18456   hardcode_into_libs=yes
   18457 
   18458   dynamic_linker='Android linker'
   18459   # -rpath works at least for libraries that are not overridden by
   18460   # libraries installed in system locations.
   18461   hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   18462   ;;
   18463 
   18464 # This must be glibc/ELF.
   18465 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18466   version_type=linux # correct to gnu/linux during the next big refactor
   18467   need_lib_prefix=no
   18468   need_version=no
   18469   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18470   soname_spec='$libname$release$shared_ext$major'
   18471   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18472   shlibpath_var=LD_LIBRARY_PATH
   18473   shlibpath_overrides_runpath=no
   18474 
   18475   # Some binutils ld are patched to set DT_RUNPATH
   18476   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18477 then :
   18478   printf %s "(cached) " >&6
   18479 else $as_nop
   18480   lt_cv_shlibpath_overrides_runpath=no
   18481     save_LDFLAGS=$LDFLAGS
   18482     save_libdir=$libdir
   18483     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   18484 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   18485     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18486 /* end confdefs.h.  */
   18487 
   18488 int
   18489 main (void)
   18490 {
   18491 
   18492   ;
   18493   return 0;
   18494 }
   18495 _ACEOF
   18496 if ac_fn_cxx_try_link "$LINENO"
   18497 then :
   18498   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18499 then :
   18500   lt_cv_shlibpath_overrides_runpath=yes
   18501 fi
   18502 fi
   18503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18504     conftest$ac_exeext conftest.$ac_ext
   18505     LDFLAGS=$save_LDFLAGS
   18506     libdir=$save_libdir
   18507 
   18508 fi
   18509 
   18510   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18511 
   18512   # This implies no fast_install, which is unacceptable.
   18513   # Some rework will be needed to allow for fast_install
   18514   # before this can be enabled.
   18515   hardcode_into_libs=yes
   18516 
   18517   # Ideally, we could use ldconfig to report *all* directories which are
   18518   # searched for libraries, however this is still not possible.  Aside from not
   18519   # being certain /sbin/ldconfig is available, command
   18520   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18521   # even though it is searched at run-time.  Try to do the best guess by
   18522   # appending ld.so.conf contents (and includes) to the search path.
   18523   if test -f /etc/ld.so.conf; then
   18524     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' ' '`
   18525     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18526   fi
   18527 
   18528   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18529   # powerpc, because MkLinux only supported shared libraries with the
   18530   # GNU dynamic linker.  Since this was broken with cross compilers,
   18531   # most powerpc-linux boxes support dynamic linking these days and
   18532   # people can always --disable-shared, the test was removed, and we
   18533   # assume the GNU/Linux dynamic linker is in use.
   18534   dynamic_linker='GNU/Linux ld.so'
   18535   ;;
   18536 
   18537 netbsdelf*-gnu)
   18538   version_type=linux
   18539   need_lib_prefix=no
   18540   need_version=no
   18541   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18542   soname_spec='$libname$release$shared_ext$major'
   18543   shlibpath_var=LD_LIBRARY_PATH
   18544   shlibpath_overrides_runpath=no
   18545   hardcode_into_libs=yes
   18546   dynamic_linker='NetBSD ld.elf_so'
   18547   ;;
   18548 
   18549 netbsd*)
   18550   version_type=sunos
   18551   need_lib_prefix=no
   18552   need_version=no
   18553   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18554     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18555     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18556     dynamic_linker='NetBSD (a.out) ld.so'
   18557   else
   18558     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18559     soname_spec='$libname$release$shared_ext$major'
   18560     dynamic_linker='NetBSD ld.elf_so'
   18561   fi
   18562   shlibpath_var=LD_LIBRARY_PATH
   18563   shlibpath_overrides_runpath=yes
   18564   hardcode_into_libs=yes
   18565   ;;
   18566 
   18567 *-mlibc)
   18568   version_type=linux # correct to gnu/linux during the next big refactor
   18569   need_lib_prefix=no
   18570   need_version=no
   18571   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18572   soname_spec='$libname$release$shared_ext$major'
   18573   dynamic_linker='mlibc ld.so'
   18574   shlibpath_var=LD_LIBRARY_PATH
   18575   shlibpath_overrides_runpath=no
   18576   hardcode_into_libs=yes
   18577   ;;
   18578 
   18579 newsos6)
   18580   version_type=linux # correct to gnu/linux during the next big refactor
   18581   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18582   shlibpath_var=LD_LIBRARY_PATH
   18583   shlibpath_overrides_runpath=yes
   18584   ;;
   18585 
   18586 *nto* | *qnx*)
   18587   version_type=qnx
   18588   need_lib_prefix=no
   18589   need_version=no
   18590   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18591   soname_spec='$libname$release$shared_ext$major'
   18592   shlibpath_var=LD_LIBRARY_PATH
   18593   shlibpath_overrides_runpath=no
   18594   hardcode_into_libs=yes
   18595   dynamic_linker='ldqnx.so'
   18596   ;;
   18597 
   18598 openbsd*)
   18599   version_type=sunos
   18600   sys_lib_dlsearch_path_spec=/usr/lib
   18601   need_lib_prefix=no
   18602   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18603     need_version=no
   18604   else
   18605     need_version=yes
   18606   fi
   18607   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18608   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18609   shlibpath_var=LD_LIBRARY_PATH
   18610   shlibpath_overrides_runpath=yes
   18611   ;;
   18612 
   18613 os2*)
   18614   libname_spec='$name'
   18615   version_type=windows
   18616   shrext_cmds=.dll
   18617   need_version=no
   18618   need_lib_prefix=no
   18619   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18620   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18621     v=$($ECHO $release$versuffix | tr -d .-);
   18622     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18623     $ECHO $n$v`$shared_ext'
   18624   library_names_spec='${libname}_dll.$libext'
   18625   dynamic_linker='OS/2 ld.exe'
   18626   shlibpath_var=BEGINLIBPATH
   18627   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18628   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18629   postinstall_cmds='base_file=`basename \$file`~
   18630     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18631     dldir=$destdir/`dirname \$dlpath`~
   18632     test -d \$dldir || mkdir -p \$dldir~
   18633     $install_prog $dir/$dlname \$dldir/$dlname~
   18634     chmod a+x \$dldir/$dlname~
   18635     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18636       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18637     fi'
   18638   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18639     dlpath=$dir/\$dldll~
   18640     $RM \$dlpath'
   18641   ;;
   18642 
   18643 osf3* | osf4* | osf5*)
   18644   version_type=osf
   18645   need_lib_prefix=no
   18646   need_version=no
   18647   soname_spec='$libname$release$shared_ext$major'
   18648   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18649   shlibpath_var=LD_LIBRARY_PATH
   18650   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18651   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18652   ;;
   18653 
   18654 rdos*)
   18655   dynamic_linker=no
   18656   ;;
   18657 
   18658 serenity*)
   18659   version_type=linux # correct to gnu/linux during the next big refactor
   18660   need_lib_prefix=no
   18661   need_version=no
   18662   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18663   soname_spec='$libname$release$shared_ext$major'
   18664   shlibpath_var=LD_LIBRARY_PATH
   18665   shlibpath_overrides_runpath=no
   18666   dynamic_linker='SerenityOS LibELF'
   18667   ;;
   18668 
   18669 solaris*)
   18670   version_type=linux # correct to gnu/linux during the next big refactor
   18671   need_lib_prefix=no
   18672   need_version=no
   18673   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18674   soname_spec='$libname$release$shared_ext$major'
   18675   shlibpath_var=LD_LIBRARY_PATH
   18676   shlibpath_overrides_runpath=yes
   18677   hardcode_into_libs=yes
   18678   # ldd complains unless libraries are executable
   18679   postinstall_cmds='chmod +x $lib'
   18680   ;;
   18681 
   18682 sunos4*)
   18683   version_type=sunos
   18684   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18685   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18686   shlibpath_var=LD_LIBRARY_PATH
   18687   shlibpath_overrides_runpath=yes
   18688   if test yes = "$with_gnu_ld"; then
   18689     need_lib_prefix=no
   18690   fi
   18691   need_version=yes
   18692   ;;
   18693 
   18694 sysv4 | sysv4.3*)
   18695   version_type=linux # correct to gnu/linux during the next big refactor
   18696   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18697   soname_spec='$libname$release$shared_ext$major'
   18698   shlibpath_var=LD_LIBRARY_PATH
   18699   case $host_vendor in
   18700     sni)
   18701       shlibpath_overrides_runpath=no
   18702       need_lib_prefix=no
   18703       runpath_var=LD_RUN_PATH
   18704       ;;
   18705     siemens)
   18706       need_lib_prefix=no
   18707       ;;
   18708     motorola)
   18709       need_lib_prefix=no
   18710       need_version=no
   18711       shlibpath_overrides_runpath=no
   18712       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18713       ;;
   18714   esac
   18715   ;;
   18716 
   18717 sysv4*MP*)
   18718   if test -d /usr/nec; then
   18719     version_type=linux # correct to gnu/linux during the next big refactor
   18720     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18721     soname_spec='$libname$shared_ext.$major'
   18722     shlibpath_var=LD_LIBRARY_PATH
   18723   fi
   18724   ;;
   18725 
   18726 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18727   version_type=sco
   18728   need_lib_prefix=no
   18729   need_version=no
   18730   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18731   soname_spec='$libname$release$shared_ext$major'
   18732   shlibpath_var=LD_LIBRARY_PATH
   18733   shlibpath_overrides_runpath=yes
   18734   hardcode_into_libs=yes
   18735   if test yes = "$with_gnu_ld"; then
   18736     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18737   else
   18738     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18739     case $host_os in
   18740       sco3.2v5*)
   18741         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18742 	;;
   18743     esac
   18744   fi
   18745   sys_lib_dlsearch_path_spec='/usr/lib'
   18746   ;;
   18747 
   18748 tpf*)
   18749   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18750   version_type=linux # correct to gnu/linux during the next big refactor
   18751   need_lib_prefix=no
   18752   need_version=no
   18753   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18754   shlibpath_var=LD_LIBRARY_PATH
   18755   shlibpath_overrides_runpath=no
   18756   hardcode_into_libs=yes
   18757   ;;
   18758 
   18759 uts4*)
   18760   version_type=linux # correct to gnu/linux during the next big refactor
   18761   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18762   soname_spec='$libname$release$shared_ext$major'
   18763   shlibpath_var=LD_LIBRARY_PATH
   18764   ;;
   18765 
   18766 emscripten*)
   18767   version_type=none
   18768   need_lib_prefix=no
   18769   need_version=no
   18770   library_names_spec='$libname$release$shared_ext'
   18771   soname_spec='$libname$release$shared_ext'
   18772   finish_cmds=
   18773   dynamic_linker="Emscripten linker"
   18774   lt_prog_compiler_wl_CXX=
   18775 lt_prog_compiler_pic_CXX=
   18776 lt_prog_compiler_static_CXX=
   18777 
   18778 
   18779   # C++ specific cases for pic, static, wl, etc.
   18780   if test yes = "$GXX"; then
   18781     lt_prog_compiler_wl_CXX='-Wl,'
   18782     lt_prog_compiler_static_CXX='-static'
   18783 
   18784     case $host_os in
   18785     aix*)
   18786       # All AIX code is PIC.
   18787       if test ia64 = "$host_cpu"; then
   18788 	# AIX 5 now supports IA64 processor
   18789 	lt_prog_compiler_static_CXX='-Bstatic'
   18790       fi
   18791       lt_prog_compiler_pic_CXX='-fPIC'
   18792       ;;
   18793 
   18794     amigaos*)
   18795       case $host_cpu in
   18796       powerpc)
   18797             # see comment about AmigaOS4 .so support
   18798             lt_prog_compiler_pic_CXX='-fPIC'
   18799         ;;
   18800       m68k)
   18801             # FIXME: we need at least 68020 code to build shared libraries, but
   18802             # adding the '-m68020' flag to GCC prevents building anything better,
   18803             # like '-m68040'.
   18804             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   18805         ;;
   18806       esac
   18807       ;;
   18808 
   18809     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   18810       # PIC is the default for these OSes.
   18811       ;;
   18812     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   18813       # This hack is so that the source file can tell whether it is being
   18814       # built for inclusion in a dll (and should export symbols for example).
   18815       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   18816       # (--disable-auto-import) libraries
   18817       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   18818       case $host_os in
   18819       os2*)
   18820 	lt_prog_compiler_static_CXX='$wl-static'
   18821 	;;
   18822       esac
   18823       ;;
   18824     darwin* | rhapsody*)
   18825       # PIC is the default on this platform
   18826       # Common symbols not allowed in MH_DYLIB files
   18827       lt_prog_compiler_pic_CXX='-fno-common'
   18828       ;;
   18829     *djgpp*)
   18830       # DJGPP does not support shared libraries at all
   18831       lt_prog_compiler_pic_CXX=
   18832       ;;
   18833     haiku*)
   18834       # PIC is the default for Haiku.
   18835       # The "-static" flag exists, but is broken.
   18836       lt_prog_compiler_static_CXX=
   18837       ;;
   18838     interix[3-9]*)
   18839       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   18840       # Instead, we relocate shared libraries at runtime.
   18841       ;;
   18842     sysv4*MP*)
   18843       if test -d /usr/nec; then
   18844 	lt_prog_compiler_pic_CXX=-Kconform_pic
   18845       fi
   18846       ;;
   18847     hpux*)
   18848       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   18849       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   18850       # sets the default TLS model and affects inlining.
   18851       case $host_cpu in
   18852       hppa*64*)
   18853 	;;
   18854       *)
   18855 	lt_prog_compiler_pic_CXX='-fPIC'
   18856 	;;
   18857       esac
   18858       ;;
   18859     *qnx* | *nto*)
   18860       # QNX uses GNU C++, but need to define -shared option too, otherwise
   18861       # it will coredump.
   18862       lt_prog_compiler_pic_CXX='-fPIC -shared'
   18863       ;;
   18864     *)
   18865       lt_prog_compiler_pic_CXX='-fPIC'
   18866       ;;
   18867     esac
   18868   else
   18869     case $host_os in
   18870       aix[4-9]*)
   18871 	# All AIX code is PIC.
   18872 	if test ia64 = "$host_cpu"; then
   18873 	  # AIX 5 now supports IA64 processor
   18874 	  lt_prog_compiler_static_CXX='-Bstatic'
   18875 	else
   18876 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   18877 	fi
   18878 	;;
   18879       chorus*)
   18880 	case $cc_basename in
   18881 	cxch68*)
   18882 	  # Green Hills C++ Compiler
   18883 	  # _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"
   18884 	  ;;
   18885 	esac
   18886 	;;
   18887       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   18888 	# This hack is so that the source file can tell whether it is being
   18889 	# built for inclusion in a dll (and should export symbols for example).
   18890 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   18891 	;;
   18892       dgux*)
   18893 	case $cc_basename in
   18894 	  ec++*)
   18895 	    lt_prog_compiler_pic_CXX='-KPIC'
   18896 	    ;;
   18897 	  ghcx*)
   18898 	    # Green Hills C++ Compiler
   18899 	    lt_prog_compiler_pic_CXX='-pic'
   18900 	    ;;
   18901 	  *)
   18902 	    ;;
   18903 	esac
   18904 	;;
   18905       freebsd* | dragonfly* | midnightbsd*)
   18906 	# FreeBSD uses GNU C++
   18907 	;;
   18908       hpux9* | hpux10* | hpux11*)
   18909 	case $cc_basename in
   18910 	  CC*)
   18911 	    lt_prog_compiler_wl_CXX='-Wl,'
   18912 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   18913 	    if test ia64 != "$host_cpu"; then
   18914 	      lt_prog_compiler_pic_CXX='+Z'
   18915 	    fi
   18916 	    ;;
   18917 	  aCC*)
   18918 	    lt_prog_compiler_wl_CXX='-Wl,'
   18919 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   18920 	    case $host_cpu in
   18921 	    hppa*64*|ia64*)
   18922 	      # +Z the default
   18923 	      ;;
   18924 	    *)
   18925 	      lt_prog_compiler_pic_CXX='+Z'
   18926 	      ;;
   18927 	    esac
   18928 	    ;;
   18929 	  *)
   18930 	    ;;
   18931 	esac
   18932 	;;
   18933       interix*)
   18934 	# This is c89, which is MS Visual C++ (no shared libs)
   18935 	# Anyone wants to do a port?
   18936 	;;
   18937       irix5* | irix6* | nonstopux*)
   18938 	case $cc_basename in
   18939 	  CC*)
   18940 	    lt_prog_compiler_wl_CXX='-Wl,'
   18941 	    lt_prog_compiler_static_CXX='-non_shared'
   18942 	    # CC pic flag -KPIC is the default.
   18943 	    ;;
   18944 	  *)
   18945 	    ;;
   18946 	esac
   18947 	;;
   18948       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18949 	case $cc_basename in
   18950 	  KCC*)
   18951 	    # KAI C++ Compiler
   18952 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   18953 	    lt_prog_compiler_pic_CXX='-fPIC'
   18954 	    ;;
   18955 	  ecpc* )
   18956 	    # old Intel C++ for x86_64, which still supported -KPIC.
   18957 	    lt_prog_compiler_wl_CXX='-Wl,'
   18958 	    lt_prog_compiler_pic_CXX='-KPIC'
   18959 	    lt_prog_compiler_static_CXX='-static'
   18960 	    ;;
   18961 	  icpc* )
   18962 	    # Intel C++, used to be incompatible with GCC.
   18963 	    # ICC 10 doesn't accept -KPIC any more.
   18964 	    lt_prog_compiler_wl_CXX='-Wl,'
   18965 	    lt_prog_compiler_pic_CXX='-fPIC'
   18966 	    lt_prog_compiler_static_CXX='-static'
   18967 	    ;;
   18968 	  pgCC* | pgcpp*)
   18969 	    # Portland Group C++ compiler
   18970 	    lt_prog_compiler_wl_CXX='-Wl,'
   18971 	    lt_prog_compiler_pic_CXX='-fpic'
   18972 	    lt_prog_compiler_static_CXX='-Bstatic'
   18973 	    ;;
   18974 	  cxx*)
   18975 	    # Compaq C++
   18976 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   18977 	    # Linux and Compaq Tru64 Unix objects are PIC.
   18978 	    lt_prog_compiler_pic_CXX=
   18979 	    lt_prog_compiler_static_CXX='-non_shared'
   18980 	    ;;
   18981 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   18982 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   18983 	    lt_prog_compiler_wl_CXX='-Wl,'
   18984 	    lt_prog_compiler_pic_CXX='-qpic'
   18985 	    lt_prog_compiler_static_CXX='-qstaticlink'
   18986 	    ;;
   18987 	  *)
   18988 	    case `$CC -V 2>&1 | $SED 5q` in
   18989 	    *Sun\ C*)
   18990 	      # Sun C++ 5.9
   18991 	      lt_prog_compiler_pic_CXX='-KPIC'
   18992 	      lt_prog_compiler_static_CXX='-Bstatic'
   18993 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   18994 	      ;;
   18995 	    esac
   18996 	    ;;
   18997 	esac
   18998 	;;
   18999       lynxos*)
   19000 	;;
   19001       m88k*)
   19002 	;;
   19003       mvs*)
   19004 	case $cc_basename in
   19005 	  cxx*)
   19006 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   19007 	    ;;
   19008 	  *)
   19009 	    ;;
   19010 	esac
   19011 	;;
   19012       netbsd* | netbsdelf*-gnu)
   19013 	;;
   19014       *-mlibc)
   19015 	;;
   19016       *qnx* | *nto*)
   19017         # QNX uses GNU C++, but need to define -shared option too, otherwise
   19018         # it will coredump.
   19019         lt_prog_compiler_pic_CXX='-fPIC -shared'
   19020         ;;
   19021       osf3* | osf4* | osf5*)
   19022 	case $cc_basename in
   19023 	  KCC*)
   19024 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   19025 	    ;;
   19026 	  RCC*)
   19027 	    # Rational C++ 2.4.1
   19028 	    lt_prog_compiler_pic_CXX='-pic'
   19029 	    ;;
   19030 	  cxx*)
   19031 	    # Digital/Compaq C++
   19032 	    lt_prog_compiler_wl_CXX='-Wl,'
   19033 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   19034 	    # Linux and Compaq Tru64 Unix objects are PIC.
   19035 	    lt_prog_compiler_pic_CXX=
   19036 	    lt_prog_compiler_static_CXX='-non_shared'
   19037 	    ;;
   19038 	  *)
   19039 	    ;;
   19040 	esac
   19041 	;;
   19042       psos*)
   19043 	;;
   19044       serenity*)
   19045         ;;
   19046       solaris*)
   19047 	case $cc_basename in
   19048 	  CC* | sunCC*)
   19049 	    # Sun C++ 4.2, 5.x and Centerline C++
   19050 	    lt_prog_compiler_pic_CXX='-KPIC'
   19051 	    lt_prog_compiler_static_CXX='-Bstatic'
   19052 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   19053 	    ;;
   19054 	  gcx*)
   19055 	    # Green Hills C++ Compiler
   19056 	    lt_prog_compiler_pic_CXX='-PIC'
   19057 	    ;;
   19058 	  *)
   19059 	    ;;
   19060 	esac
   19061 	;;
   19062       sunos4*)
   19063 	case $cc_basename in
   19064 	  CC*)
   19065 	    # Sun C++ 4.x
   19066 	    lt_prog_compiler_pic_CXX='-pic'
   19067 	    lt_prog_compiler_static_CXX='-Bstatic'
   19068 	    ;;
   19069 	  lcc*)
   19070 	    # Lucid
   19071 	    lt_prog_compiler_pic_CXX='-pic'
   19072 	    ;;
   19073 	  *)
   19074 	    ;;
   19075 	esac
   19076 	;;
   19077       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   19078 	case $cc_basename in
   19079 	  CC*)
   19080 	    lt_prog_compiler_wl_CXX='-Wl,'
   19081 	    lt_prog_compiler_pic_CXX='-KPIC'
   19082 	    lt_prog_compiler_static_CXX='-Bstatic'
   19083 	    ;;
   19084 	esac
   19085 	;;
   19086       tandem*)
   19087 	case $cc_basename in
   19088 	  NCC*)
   19089 	    # NonStop-UX NCC 3.20
   19090 	    lt_prog_compiler_pic_CXX='-KPIC'
   19091 	    ;;
   19092 	  *)
   19093 	    ;;
   19094 	esac
   19095 	;;
   19096       vxworks*)
   19097 	;;
   19098       *)
   19099 	lt_prog_compiler_can_build_shared_CXX=no
   19100 	;;
   19101     esac
   19102   fi
   19103 
   19104 case $host_os in
   19105   # For platforms that do not support PIC, -DPIC is meaningless:
   19106   *djgpp*)
   19107     lt_prog_compiler_pic_CXX=
   19108     ;;
   19109   *)
   19110     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   19111     ;;
   19112 esac
   19113 
   19114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   19115 printf %s "checking for $compiler option to produce PIC... " >&6; }
   19116 if test ${lt_cv_prog_compiler_pic_CXX+y}
   19117 then :
   19118   printf %s "(cached) " >&6
   19119 else $as_nop
   19120   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
   19121 fi
   19122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   19123 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
   19124 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   19125 
   19126 #
   19127 # Check to make sure the PIC flag actually works.
   19128 #
   19129 if test -n "$lt_prog_compiler_pic_CXX"; then
   19130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   19131 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   19132 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
   19133 then :
   19134   printf %s "(cached) " >&6
   19135 else $as_nop
   19136   lt_cv_prog_compiler_pic_works_CXX=no
   19137    ac_outfile=conftest.$ac_objext
   19138    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   19139    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   19140    # Insert the option either (1) after the last *FLAGS variable, or
   19141    # (2) before a word containing "conftest.", or (3) at the end.
   19142    # Note that $ac_compile itself does not contain backslashes and begins
   19143    # with a dollar sign (not a hyphen), so the echo should work correctly.
   19144    # The option is referenced via a variable to avoid confusing sed.
   19145    lt_compile=`echo "$ac_compile" | $SED \
   19146    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   19147    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   19148    -e 's:$: $lt_compiler_flag:'`
   19149    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   19150    (eval "$lt_compile" 2>conftest.err)
   19151    ac_status=$?
   19152    cat conftest.err >&5
   19153    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19154    if (exit $ac_status) && test -s "$ac_outfile"; then
   19155      # The compiler can only warn and ignore the option if not recognized
   19156      # So say no if there are warnings other than the usual output.
   19157      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   19158      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   19159      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   19160        lt_cv_prog_compiler_pic_works_CXX=yes
   19161      fi
   19162    fi
   19163    $RM conftest*
   19164 
   19165 fi
   19166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   19167 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   19168 
   19169 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   19170     case $lt_prog_compiler_pic_CXX in
   19171      "" | " "*) ;;
   19172      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   19173      esac
   19174 else
   19175     lt_prog_compiler_pic_CXX=
   19176      lt_prog_compiler_can_build_shared_CXX=no
   19177 fi
   19178 
   19179 fi
   19180 
   19181 
   19182 
   19183 
   19184 
   19185 #
   19186 # Check to make sure the static flag actually works.
   19187 #
   19188 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   19189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   19190 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   19191 if test ${lt_cv_prog_compiler_static_works_CXX+y}
   19192 then :
   19193   printf %s "(cached) " >&6
   19194 else $as_nop
   19195   lt_cv_prog_compiler_static_works_CXX=no
   19196    save_LDFLAGS=$LDFLAGS
   19197    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   19198    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   19199    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   19200      # The linker can only warn and ignore the option if not recognized
   19201      # So say no if there are warnings
   19202      if test -s conftest.err; then
   19203        # Append any errors to the config.log.
   19204        cat conftest.err 1>&5
   19205        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   19206        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   19207        if diff conftest.exp conftest.er2 >/dev/null; then
   19208          lt_cv_prog_compiler_static_works_CXX=yes
   19209        fi
   19210      else
   19211        lt_cv_prog_compiler_static_works_CXX=yes
   19212      fi
   19213    fi
   19214    $RM -r conftest*
   19215    LDFLAGS=$save_LDFLAGS
   19216 
   19217 fi
   19218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   19219 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   19220 
   19221 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   19222     :
   19223 else
   19224     lt_prog_compiler_static_CXX=
   19225 fi
   19226 
   19227 
   19228 
   19229 ='-fPIC'
   19230   archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   19231   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'
   19232   archive_cmds_need_lc_CXX=no
   19233   no_undefined_flag_CXX=
   19234   ;;
   19235 
   19236 *)
   19237   dynamic_linker=no
   19238   ;;
   19239 esac
   19240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   19241 printf "%s\n" "$dynamic_linker" >&6; }
   19242 test no = "$dynamic_linker" && can_build_shared=no
   19243 
   19244 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19245 if test yes = "$GCC"; then
   19246   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19247 fi
   19248 
   19249 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   19250   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   19251 fi
   19252 
   19253 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   19254   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   19255 fi
   19256 
   19257 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   19258 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   19259 
   19260 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   19261 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   19262 
   19263 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   19264 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   19265 
   19266 
   19267 
   19268 
   19269 
   19270 
   19271 
   19272 
   19273 
   19274 
   19275 
   19276 
   19277 
   19278 
   19279 
   19280 
   19281 
   19282 
   19283 
   19284 
   19285 
   19286 
   19287 
   19288 
   19289 
   19290 
   19291 
   19292 
   19293 
   19294 
   19295 
   19296 
   19297 
   19298 
   19299 
   19300 
   19301 
   19302 
   19303 
   19304 
   19305     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   19306 printf %s "checking how to hardcode library paths into programs... " >&6; }
   19307 hardcode_action_CXX=
   19308 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   19309    test -n "$runpath_var_CXX" ||
   19310    test yes = "$hardcode_automatic_CXX"; then
   19311 
   19312   # We can hardcode non-existent directories.
   19313   if test no != "$hardcode_direct_CXX" &&
   19314      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19315      # have to relink, otherwise we might link with an installed library
   19316      # when we should be linking with a yet-to-be-installed one
   19317      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
   19318      test no != "$hardcode_minus_L_CXX"; then
   19319     # Linking always hardcodes the temporary library directory.
   19320     hardcode_action_CXX=relink
   19321   else
   19322     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19323     hardcode_action_CXX=immediate
   19324   fi
   19325 else
   19326   # We cannot hardcode anything, or else we can only hardcode existing
   19327   # directories.
   19328   hardcode_action_CXX=unsupported
   19329 fi
   19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   19331 printf "%s\n" "$hardcode_action_CXX" >&6; }
   19332 
   19333 if test relink = "$hardcode_action_CXX" ||
   19334    test yes = "$inherit_rpath_CXX"; then
   19335   # Fast installation is not supported
   19336   enable_fast_install=no
   19337 elif test yes = "$shlibpath_overrides_runpath" ||
   19338      test no = "$enable_shared"; then
   19339   # Fast installation is not necessary
   19340   enable_fast_install=needless
   19341 fi
   19342 
   19343 
   19344 
   19345 
   19346 
   19347 
   19348 
   19349   fi # test -n "$compiler"
   19350 
   19351   CC=$lt_save_CC
   19352   CFLAGS=$lt_save_CFLAGS
   19353   LDCXX=$LD
   19354   LD=$lt_save_LD
   19355   GCC=$lt_save_GCC
   19356   with_gnu_ld=$lt_save_with_gnu_ld
   19357   lt_cv_path_LDCXX=$lt_cv_path_LD
   19358   lt_cv_path_LD=$lt_save_path_LD
   19359   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   19360   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   19361 fi # test yes != "$_lt_caught_CXX_error"
   19362 
   19363 ac_ext=cpp
   19364 ac_cpp='$CXXCPP $CPPFLAGS'
   19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19368 
   19369 
   19370 
   19371 if test "$GCC" = yes
   19372 then :
   19373 
   19374 
   19375 
   19376 
   19377 for flag in -Wall -Wextra; do
   19378   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
   19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
   19380 printf %s "checking whether C++ compiler accepts $flag... " >&6; }
   19381 if eval test \${$as_CACHEVAR+y}
   19382 then :
   19383   printf %s "(cached) " >&6
   19384 else $as_nop
   19385 
   19386   ax_check_save_flags=$CXXFLAGS
   19387   CXXFLAGS="$CXXFLAGS  -Werror $flag"
   19388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19389 /* end confdefs.h.  */
   19390 int main(void) { return 0; }
   19391 _ACEOF
   19392 if ac_fn_cxx_try_compile "$LINENO"
   19393 then :
   19394   eval "$as_CACHEVAR=yes"
   19395 else $as_nop
   19396   eval "$as_CACHEVAR=no"
   19397 fi
   19398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19399   CXXFLAGS=$ax_check_save_flags
   19400 fi
   19401 eval ac_res=\$$as_CACHEVAR
   19402 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   19403 printf "%s\n" "$ac_res" >&6; }
   19404 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   19405 then :
   19406 
   19407 if test ${AM_CXXFLAGS+y}
   19408 then :
   19409 
   19410   case " $AM_CXXFLAGS " in #(
   19411   *" $flag "*) :
   19412     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS already contains \$flag"; } >&5
   19413   (: AM_CXXFLAGS already contains $flag) 2>&5
   19414   ac_status=$?
   19415   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19416   test $ac_status = 0; } ;; #(
   19417   *) :
   19418 
   19419      as_fn_append AM_CXXFLAGS " $flag"
   19420      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   19421   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   19422   ac_status=$?
   19423   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19424   test $ac_status = 0; }
   19425      ;;
   19426 esac
   19427 
   19428 else $as_nop
   19429 
   19430   AM_CXXFLAGS=$flag
   19431   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   19432   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   19433   ac_status=$?
   19434   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19435   test $ac_status = 0; }
   19436 
   19437 fi
   19438 
   19439 else $as_nop
   19440   :
   19441 fi
   19442 
   19443 done
   19444 
   19445 
   19446 
   19447 
   19448 
   19449 for flag in -fexceptions; do
   19450   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
   19451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
   19452 printf %s "checking whether C++ compiler accepts $flag... " >&6; }
   19453 if eval test \${$as_CACHEVAR+y}
   19454 then :
   19455   printf %s "(cached) " >&6
   19456 else $as_nop
   19457 
   19458   ax_check_save_flags=$CXXFLAGS
   19459   CXXFLAGS="$CXXFLAGS  -Werror $flag"
   19460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19461 /* end confdefs.h.  */
   19462 int main(void) { return 0; }
   19463 _ACEOF
   19464 if ac_fn_cxx_try_compile "$LINENO"
   19465 then :
   19466   eval "$as_CACHEVAR=yes"
   19467 else $as_nop
   19468   eval "$as_CACHEVAR=no"
   19469 fi
   19470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19471   CXXFLAGS=$ax_check_save_flags
   19472 fi
   19473 eval ac_res=\$$as_CACHEVAR
   19474 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   19475 printf "%s\n" "$ac_res" >&6; }
   19476 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   19477 then :
   19478 
   19479 if test ${AM_CXXFLAGS+y}
   19480 then :
   19481 
   19482   case " $AM_CXXFLAGS " in #(
   19483   *" $flag "*) :
   19484     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS already contains \$flag"; } >&5
   19485   (: AM_CXXFLAGS already contains $flag) 2>&5
   19486   ac_status=$?
   19487   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19488   test $ac_status = 0; } ;; #(
   19489   *) :
   19490 
   19491      as_fn_append AM_CXXFLAGS " $flag"
   19492      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   19493   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   19494   ac_status=$?
   19495   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19496   test $ac_status = 0; }
   19497      ;;
   19498 esac
   19499 
   19500 else $as_nop
   19501 
   19502   AM_CXXFLAGS=$flag
   19503   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   19504   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   19505   ac_status=$?
   19506   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19507   test $ac_status = 0; }
   19508 
   19509 fi
   19510 
   19511 else $as_nop
   19512   :
   19513 fi
   19514 
   19515 done
   19516 
   19517 
   19518 
   19519 
   19520 
   19521 for flag in -fno-strict-aliasing; do
   19522   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
   19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
   19524 printf %s "checking whether C++ compiler accepts $flag... " >&6; }
   19525 if eval test \${$as_CACHEVAR+y}
   19526 then :
   19527   printf %s "(cached) " >&6
   19528 else $as_nop
   19529 
   19530   ax_check_save_flags=$CXXFLAGS
   19531   CXXFLAGS="$CXXFLAGS  -Werror $flag"
   19532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19533 /* end confdefs.h.  */
   19534 int main(void) { return 0; }
   19535 _ACEOF
   19536 if ac_fn_cxx_try_compile "$LINENO"
   19537 then :
   19538   eval "$as_CACHEVAR=yes"
   19539 else $as_nop
   19540   eval "$as_CACHEVAR=no"
   19541 fi
   19542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19543   CXXFLAGS=$ax_check_save_flags
   19544 fi
   19545 eval ac_res=\$$as_CACHEVAR
   19546 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   19547 printf "%s\n" "$ac_res" >&6; }
   19548 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   19549 then :
   19550 
   19551 if test ${AM_CXXFLAGS+y}
   19552 then :
   19553 
   19554   case " $AM_CXXFLAGS " in #(
   19555   *" $flag "*) :
   19556     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS already contains \$flag"; } >&5
   19557   (: AM_CXXFLAGS already contains $flag) 2>&5
   19558   ac_status=$?
   19559   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19560   test $ac_status = 0; } ;; #(
   19561   *) :
   19562 
   19563      as_fn_append AM_CXXFLAGS " $flag"
   19564      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   19565   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   19566   ac_status=$?
   19567   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19568   test $ac_status = 0; }
   19569      ;;
   19570 esac
   19571 
   19572 else $as_nop
   19573 
   19574   AM_CXXFLAGS=$flag
   19575   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
   19576   (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
   19577   ac_status=$?
   19578   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19579   test $ac_status = 0; }
   19580 
   19581 fi
   19582 
   19583 else $as_nop
   19584   :
   19585 fi
   19586 
   19587 done
   19588 
   19589 fi
   19590 ac_ext=c
   19591 ac_cpp='$CPP $CPPFLAGS'
   19592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19595 
   19596 
   19597 if test "$GCC" = yes
   19598 then :
   19599 
   19600 
   19601 
   19602 
   19603 for flag in -fno-strict-aliasing; do
   19604   as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags__$flag" | $as_tr_sh`
   19605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
   19606 printf %s "checking whether the linker accepts $flag... " >&6; }
   19607 if eval test \${$as_CACHEVAR+y}
   19608 then :
   19609   printf %s "(cached) " >&6
   19610 else $as_nop
   19611 
   19612   ax_check_save_flags=$LDFLAGS
   19613   LDFLAGS="$LDFLAGS  $flag"
   19614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19615 /* end confdefs.h.  */
   19616 
   19617 int
   19618 main (void)
   19619 {
   19620 
   19621   ;
   19622   return 0;
   19623 }
   19624 _ACEOF
   19625 if ac_fn_c_try_link "$LINENO"
   19626 then :
   19627   eval "$as_CACHEVAR=yes"
   19628 else $as_nop
   19629   eval "$as_CACHEVAR=no"
   19630 fi
   19631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19632     conftest$ac_exeext conftest.$ac_ext
   19633   LDFLAGS=$ax_check_save_flags
   19634 fi
   19635 eval ac_res=\$$as_CACHEVAR
   19636 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   19637 printf "%s\n" "$ac_res" >&6; }
   19638 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   19639 then :
   19640 
   19641 if test ${AM_LDFLAGS+y}
   19642 then :
   19643 
   19644   case " $AM_LDFLAGS " in #(
   19645   *" $flag "*) :
   19646     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
   19647   (: AM_LDFLAGS already contains $flag) 2>&5
   19648   ac_status=$?
   19649   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19650   test $ac_status = 0; } ;; #(
   19651   *) :
   19652 
   19653      as_fn_append AM_LDFLAGS " $flag"
   19654      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
   19655   (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
   19656   ac_status=$?
   19657   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19658   test $ac_status = 0; }
   19659      ;;
   19660 esac
   19661 
   19662 else $as_nop
   19663 
   19664   AM_LDFLAGS=$flag
   19665   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
   19666   (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
   19667   ac_status=$?
   19668   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19669   test $ac_status = 0; }
   19670 
   19671 fi
   19672 
   19673 else $as_nop
   19674   :
   19675 fi
   19676 
   19677 done
   19678 
   19679 fi
   19680 
   19681 case "$LD" in #(
   19682   *clang*) :
   19683     case "${host_os}" in #(
   19684   *linux*) :
   19685     archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' ;; #(
   19686   *) :
   19687      ;;
   19688 esac ;; #(
   19689   *) :
   19690      ;;
   19691 esac
   19692 
   19693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports visibility" >&5
   19694 printf %s "checking whether compiler supports visibility... " >&6; }
   19695 if test ${expatcfg_cv_compiler_supports_visibility+y}
   19696 then :
   19697   printf %s "(cached) " >&6
   19698 else $as_nop
   19699   expatcfg_cv_compiler_supports_visibility=no
   19700       OLDFLAGS=$CFLAGS
   19701       as_fn_append CFLAGS " -fvisibility=hidden -Wall -Werror -Wno-unknown-warning-option"
   19702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19703 /* end confdefs.h.  */
   19704 
   19705           void __attribute__((visibility("default"))) foo(void);
   19706           void foo(void) {}
   19707 
   19708 _ACEOF
   19709 if ac_fn_c_try_compile "$LINENO"
   19710 then :
   19711   expatcfg_cv_compiler_supports_visibility=yes
   19712 fi
   19713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19714       CFLAGS=$OLDFLAGS
   19715 fi
   19716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $expatcfg_cv_compiler_supports_visibility" >&5
   19717 printf "%s\n" "$expatcfg_cv_compiler_supports_visibility" >&6; }
   19718    if test "$expatcfg_cv_compiler_supports_visibility" = yes
   19719 then :
   19720 
   19721 
   19722 if test ${AM_CFLAGS+y}
   19723 then :
   19724 
   19725   case " $AM_CFLAGS " in #(
   19726   *" -fvisibility=hidden "*) :
   19727     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains -fvisibility=hidden"; } >&5
   19728   (: AM_CFLAGS already contains -fvisibility=hidden) 2>&5
   19729   ac_status=$?
   19730   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19731   test $ac_status = 0; } ;; #(
   19732   *) :
   19733 
   19734      as_fn_append AM_CFLAGS " -fvisibility=hidden"
   19735      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   19736   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   19737   ac_status=$?
   19738   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19739   test $ac_status = 0; }
   19740      ;;
   19741 esac
   19742 
   19743 else $as_nop
   19744 
   19745   AM_CFLAGS=-fvisibility=hidden
   19746   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
   19747   (: AM_CFLAGS="$AM_CFLAGS") 2>&5
   19748   ac_status=$?
   19749   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19750   test $ac_status = 0; }
   19751 
   19752 fi
   19753 
   19754   if test "${enable_shared}" = yes
   19755 then :
   19756 
   19757 if test ${AM_CPPFLAGS+y}
   19758 then :
   19759 
   19760   case " $AM_CPPFLAGS " in #(
   19761   *" -DXML_ENABLE_VISIBILITY=1 "*) :
   19762     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS already contains -DXML_ENABLE_VISIBILITY=1"; } >&5
   19763   (: AM_CPPFLAGS already contains -DXML_ENABLE_VISIBILITY=1) 2>&5
   19764   ac_status=$?
   19765   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19766   test $ac_status = 0; } ;; #(
   19767   *) :
   19768 
   19769      as_fn_append AM_CPPFLAGS " -DXML_ENABLE_VISIBILITY=1"
   19770      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
   19771   (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
   19772   ac_status=$?
   19773   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19774   test $ac_status = 0; }
   19775      ;;
   19776 esac
   19777 
   19778 else $as_nop
   19779 
   19780   AM_CPPFLAGS=-DXML_ENABLE_VISIBILITY=1
   19781   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
   19782   (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
   19783   ac_status=$?
   19784   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19785   test $ac_status = 0; }
   19786 
   19787 fi
   19788 
   19789 fi
   19790 fi
   19791 
   19792 
   19793  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   19794 printf %s "checking whether byte ordering is bigendian... " >&6; }
   19795 if test ${ac_cv_c_bigendian+y}
   19796 then :
   19797   printf %s "(cached) " >&6
   19798 else $as_nop
   19799   ac_cv_c_bigendian=unknown
   19800     # See if we're dealing with a universal compiler.
   19801     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19802 /* end confdefs.h.  */
   19803 #ifndef __APPLE_CC__
   19804 	       not a universal capable compiler
   19805 	     #endif
   19806 	     typedef int dummy;
   19807 
   19808 _ACEOF
   19809 if ac_fn_c_try_compile "$LINENO"
   19810 then :
   19811 
   19812 	# Check for potential -arch flags.  It is not universal unless
   19813 	# there are at least two -arch flags with different values.
   19814 	ac_arch=
   19815 	ac_prev=
   19816 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   19817 	 if test -n "$ac_prev"; then
   19818 	   case $ac_word in
   19819 	     i?86 | x86_64 | ppc | ppc64)
   19820 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   19821 		 ac_arch=$ac_word
   19822 	       else
   19823 		 ac_cv_c_bigendian=universal
   19824 		 break
   19825 	       fi
   19826 	       ;;
   19827 	   esac
   19828 	   ac_prev=
   19829 	 elif test "x$ac_word" = "x-arch"; then
   19830 	   ac_prev=arch
   19831 	 fi
   19832        done
   19833 fi
   19834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19835     if test $ac_cv_c_bigendian = unknown; then
   19836       # See if sys/param.h defines the BYTE_ORDER macro.
   19837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19838 /* end confdefs.h.  */
   19839 #include <sys/types.h>
   19840 	     #include <sys/param.h>
   19841 
   19842 int
   19843 main (void)
   19844 {
   19845 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   19846 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   19847 		     && LITTLE_ENDIAN)
   19848 	      bogus endian macros
   19849 	     #endif
   19850 
   19851   ;
   19852   return 0;
   19853 }
   19854 _ACEOF
   19855 if ac_fn_c_try_compile "$LINENO"
   19856 then :
   19857   # It does; now see whether it defined to BIG_ENDIAN or not.
   19858 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19859 /* end confdefs.h.  */
   19860 #include <sys/types.h>
   19861 		#include <sys/param.h>
   19862 
   19863 int
   19864 main (void)
   19865 {
   19866 #if BYTE_ORDER != BIG_ENDIAN
   19867 		 not big endian
   19868 		#endif
   19869 
   19870   ;
   19871   return 0;
   19872 }
   19873 _ACEOF
   19874 if ac_fn_c_try_compile "$LINENO"
   19875 then :
   19876   ac_cv_c_bigendian=yes
   19877 else $as_nop
   19878   ac_cv_c_bigendian=no
   19879 fi
   19880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19881 fi
   19882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19883     fi
   19884     if test $ac_cv_c_bigendian = unknown; then
   19885       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   19886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19887 /* end confdefs.h.  */
   19888 #include <limits.h>
   19889 
   19890 int
   19891 main (void)
   19892 {
   19893 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   19894 	      bogus endian macros
   19895 	     #endif
   19896 
   19897   ;
   19898   return 0;
   19899 }
   19900 _ACEOF
   19901 if ac_fn_c_try_compile "$LINENO"
   19902 then :
   19903   # It does; now see whether it defined to _BIG_ENDIAN or not.
   19904 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19905 /* end confdefs.h.  */
   19906 #include <limits.h>
   19907 
   19908 int
   19909 main (void)
   19910 {
   19911 #ifndef _BIG_ENDIAN
   19912 		 not big endian
   19913 		#endif
   19914 
   19915   ;
   19916   return 0;
   19917 }
   19918 _ACEOF
   19919 if ac_fn_c_try_compile "$LINENO"
   19920 then :
   19921   ac_cv_c_bigendian=yes
   19922 else $as_nop
   19923   ac_cv_c_bigendian=no
   19924 fi
   19925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19926 fi
   19927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19928     fi
   19929     if test $ac_cv_c_bigendian = unknown; then
   19930       # Compile a test program.
   19931       if test "$cross_compiling" = yes
   19932 then :
   19933   # Try to guess by grepping values from an object file.
   19934 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19935 /* end confdefs.h.  */
   19936 unsigned short int ascii_mm[] =
   19937 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   19938 		unsigned short int ascii_ii[] =
   19939 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   19940 		int use_ascii (int i) {
   19941 		  return ascii_mm[i] + ascii_ii[i];
   19942 		}
   19943 		unsigned short int ebcdic_ii[] =
   19944 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   19945 		unsigned short int ebcdic_mm[] =
   19946 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   19947 		int use_ebcdic (int i) {
   19948 		  return ebcdic_mm[i] + ebcdic_ii[i];
   19949 		}
   19950 		int
   19951 		main (int argc, char **argv)
   19952 		{
   19953 		  /* Intimidate the compiler so that it does not
   19954 		     optimize the arrays away.  */
   19955 		  char *p = argv[0];
   19956 		  ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
   19957 		  ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
   19958 		  return use_ascii (argc) == use_ebcdic (*p);
   19959 		}
   19960 _ACEOF
   19961 if ac_fn_c_try_link "$LINENO"
   19962 then :
   19963   if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
   19964 	      ac_cv_c_bigendian=yes
   19965 	    fi
   19966 	    if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
   19967 	      if test "$ac_cv_c_bigendian" = unknown; then
   19968 		ac_cv_c_bigendian=no
   19969 	      else
   19970 		# finding both strings is unlikely to happen, but who knows?
   19971 		ac_cv_c_bigendian=unknown
   19972 	      fi
   19973 	    fi
   19974 fi
   19975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19976     conftest$ac_exeext conftest.$ac_ext
   19977 else $as_nop
   19978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19979 /* end confdefs.h.  */
   19980 $ac_includes_default
   19981 int
   19982 main (void)
   19983 {
   19984 
   19985 	     /* Are we little or big endian?  From Harbison&Steele.  */
   19986 	     union
   19987 	     {
   19988 	       long int l;
   19989 	       char c[sizeof (long int)];
   19990 	     } u;
   19991 	     u.l = 1;
   19992 	     return u.c[sizeof (long int) - 1] == 1;
   19993 
   19994   ;
   19995   return 0;
   19996 }
   19997 _ACEOF
   19998 if ac_fn_c_try_run "$LINENO"
   19999 then :
   20000   ac_cv_c_bigendian=no
   20001 else $as_nop
   20002   ac_cv_c_bigendian=yes
   20003 fi
   20004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20005   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20006 fi
   20007 
   20008     fi
   20009 fi
   20010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   20011 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
   20012  case $ac_cv_c_bigendian in #(
   20013    yes)
   20014      printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
   20015 
   20016                 BYTEORDER=4321;; #(
   20017    no)
   20018      BYTEORDER=1234 ;; #(
   20019    universal)
   20020 
   20021 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   20022 
   20023      ;; #(
   20024    *)
   20025      as_fn_error $? "unknown endianness
   20026  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   20027  esac
   20028 
   20029 
   20030 printf "%s\n" "#define BYTEORDER $BYTEORDER" >>confdefs.h
   20031 
   20032 
   20033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   20034 printf %s "checking for an ANSI C-conforming const... " >&6; }
   20035 if test ${ac_cv_c_const+y}
   20036 then :
   20037   printf %s "(cached) " >&6
   20038 else $as_nop
   20039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20040 /* end confdefs.h.  */
   20041 
   20042 int
   20043 main (void)
   20044 {
   20045 
   20046 #ifndef __cplusplus
   20047   /* Ultrix mips cc rejects this sort of thing.  */
   20048   typedef int charset[2];
   20049   const charset cs = { 0, 0 };
   20050   /* SunOS 4.1.1 cc rejects this.  */
   20051   char const *const *pcpcc;
   20052   char **ppc;
   20053   /* NEC SVR4.0.2 mips cc rejects this.  */
   20054   struct point {int x, y;};
   20055   static struct point const zero = {0,0};
   20056   /* IBM XL C 1.02.0.0 rejects this.
   20057      It does not let you subtract one const X* pointer from another in
   20058      an arm of an if-expression whose if-part is not a constant
   20059      expression */
   20060   const char *g = "string";
   20061   pcpcc = &g + (g ? g-g : 0);
   20062   /* HPUX 7.0 cc rejects these. */
   20063   ++pcpcc;
   20064   ppc = (char**) pcpcc;
   20065   pcpcc = (char const *const *) ppc;
   20066   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   20067     char tx;
   20068     char *t = &tx;
   20069     char const *s = 0 ? (char *) 0 : (char const *) 0;
   20070 
   20071     *t++ = 0;
   20072     if (s) return 0;
   20073   }
   20074   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   20075     int x[] = {25, 17};
   20076     const int *foo = &x[0];
   20077     ++foo;
   20078   }
   20079   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   20080     typedef const int *iptr;
   20081     iptr p = 0;
   20082     ++p;
   20083   }
   20084   { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
   20085        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   20086     struct s { int j; const int *ap[3]; } bx;
   20087     struct s *b = &bx; b->j = 5;
   20088   }
   20089   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   20090     const int foo = 10;
   20091     if (!foo) return 0;
   20092   }
   20093   return !cs[0] && !zero.x;
   20094 #endif
   20095 
   20096   ;
   20097   return 0;
   20098 }
   20099 _ACEOF
   20100 if ac_fn_c_try_compile "$LINENO"
   20101 then :
   20102   ac_cv_c_const=yes
   20103 else $as_nop
   20104   ac_cv_c_const=no
   20105 fi
   20106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20107 fi
   20108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   20109 printf "%s\n" "$ac_cv_c_const" >&6; }
   20110 if test $ac_cv_c_const = no; then
   20111 
   20112 printf "%s\n" "#define const /**/" >>confdefs.h
   20113 
   20114 fi
   20115 
   20116 
   20117 
   20118 # Check whether --with-xmlwf was given.
   20119 if test ${with_xmlwf+y}
   20120 then :
   20121   withval=$with_xmlwf;
   20122 else $as_nop
   20123   with_xmlwf=yes
   20124 fi
   20125 
   20126  if test x${with_xmlwf} = xyes; then
   20127   WITH_XMLWF_TRUE=
   20128   WITH_XMLWF_FALSE='#'
   20129 else
   20130   WITH_XMLWF_TRUE='#'
   20131   WITH_XMLWF_FALSE=
   20132 fi
   20133 
   20134 
   20135 
   20136 # Check whether --with-examples was given.
   20137 if test ${with_examples+y}
   20138 then :
   20139   withval=$with_examples;
   20140 else $as_nop
   20141   with_examples=yes
   20142 fi
   20143 
   20144  if test x${with_examples} = xyes; then
   20145   WITH_EXAMPLES_TRUE=
   20146   WITH_EXAMPLES_FALSE='#'
   20147 else
   20148   WITH_EXAMPLES_TRUE='#'
   20149   WITH_EXAMPLES_FALSE=
   20150 fi
   20151 
   20152 
   20153 
   20154 # Check whether --with-tests was given.
   20155 if test ${with_tests+y}
   20156 then :
   20157   withval=$with_tests;
   20158 else $as_nop
   20159   with_tests=yes
   20160 fi
   20161 
   20162  if test x${with_tests} = xyes; then
   20163   WITH_TESTS_TRUE=
   20164   WITH_TESTS_FALSE='#'
   20165 else
   20166   WITH_TESTS_TRUE='#'
   20167   WITH_TESTS_FALSE=
   20168 fi
   20169 
   20170 
   20171 if test x${with_tests} = xyes
   20172 then :
   20173     ax_cxx_compile_alternatives="11 0x"    ax_cxx_compile_cxx11_required=true
   20174   ac_ext=cpp
   20175 ac_cpp='$CXXCPP $CPPFLAGS'
   20176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   20179   ac_success=no
   20180 
   20181 
   20182 
   20183 
   20184 
   20185     if test x$ac_success = xno; then
   20186                     for alternative in ${ax_cxx_compile_alternatives}; do
   20187       for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}" MSVC; do
   20188         if test x"$switch" = xMSVC; then
   20189                                         switch=-std:c++${alternative}
   20190           cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_${switch}_MSVC" | $as_tr_sh`
   20191         else
   20192           cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
   20193         fi
   20194         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
   20195 printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; }
   20196 if eval test \${$cachevar+y}
   20197 then :
   20198   printf %s "(cached) " >&6
   20199 else $as_nop
   20200   ac_save_CXX="$CXX"
   20201            CXX="$CXX $switch"
   20202            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20203 /* end confdefs.h.  */
   20204 
   20205 
   20206 // If the compiler admits that it is not ready for C++11, why torture it?
   20207 // Hopefully, this will speed up the test.
   20208 
   20209 #ifndef __cplusplus
   20210 
   20211 #error "This is not a C++ compiler"
   20212 
   20213 // MSVC always sets __cplusplus to 199711L in older versions; newer versions
   20214 // only set it correctly if /Zc:__cplusplus is specified as well as a
   20215 // /std:c++NN switch:
   20216 // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
   20217 #elif __cplusplus < 201103L && !defined _MSC_VER
   20218 
   20219 #error "This is not a C++11 compiler"
   20220 
   20221 #else
   20222 
   20223 namespace cxx11
   20224 {
   20225 
   20226   namespace test_static_assert
   20227   {
   20228 
   20229     template <typename T>
   20230     struct check
   20231     {
   20232       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   20233     };
   20234 
   20235   }
   20236 
   20237   namespace test_final_override
   20238   {
   20239 
   20240     struct Base
   20241     {
   20242       virtual ~Base() {}
   20243       virtual void f() {}
   20244     };
   20245 
   20246     struct Derived : public Base
   20247     {
   20248       virtual ~Derived() override {}
   20249       virtual void f() override {}
   20250     };
   20251 
   20252   }
   20253 
   20254   namespace test_double_right_angle_brackets
   20255   {
   20256 
   20257     template < typename T >
   20258     struct check {};
   20259 
   20260     typedef check<void> single_type;
   20261     typedef check<check<void>> double_type;
   20262     typedef check<check<check<void>>> triple_type;
   20263     typedef check<check<check<check<void>>>> quadruple_type;
   20264 
   20265   }
   20266 
   20267   namespace test_decltype
   20268   {
   20269 
   20270     int
   20271     f()
   20272     {
   20273       int a = 1;
   20274       decltype(a) b = 2;
   20275       return a + b;
   20276     }
   20277 
   20278   }
   20279 
   20280   namespace test_type_deduction
   20281   {
   20282 
   20283     template < typename T1, typename T2 >
   20284     struct is_same
   20285     {
   20286       static const bool value = false;
   20287     };
   20288 
   20289     template < typename T >
   20290     struct is_same<T, T>
   20291     {
   20292       static const bool value = true;
   20293     };
   20294 
   20295     template < typename T1, typename T2 >
   20296     auto
   20297     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   20298     {
   20299       return a1 + a2;
   20300     }
   20301 
   20302     int
   20303     test(const int c, volatile int v)
   20304     {
   20305       static_assert(is_same<int, decltype(0)>::value == true, "");
   20306       static_assert(is_same<int, decltype(c)>::value == false, "");
   20307       static_assert(is_same<int, decltype(v)>::value == false, "");
   20308       auto ac = c;
   20309       auto av = v;
   20310       auto sumi = ac + av + 'x';
   20311       auto sumf = ac + av + 1.0;
   20312       static_assert(is_same<int, decltype(ac)>::value == true, "");
   20313       static_assert(is_same<int, decltype(av)>::value == true, "");
   20314       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   20315       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   20316       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   20317       return (sumf > 0.0) ? sumi : add(c, v);
   20318     }
   20319 
   20320   }
   20321 
   20322   namespace test_noexcept
   20323   {
   20324 
   20325     int f() { return 0; }
   20326     int g() noexcept { return 0; }
   20327 
   20328     static_assert(noexcept(f()) == false, "");
   20329     static_assert(noexcept(g()) == true, "");
   20330 
   20331   }
   20332 
   20333   namespace test_constexpr
   20334   {
   20335 
   20336     template < typename CharT >
   20337     unsigned long constexpr
   20338     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   20339     {
   20340       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   20341     }
   20342 
   20343     template < typename CharT >
   20344     unsigned long constexpr
   20345     strlen_c(const CharT *const s) noexcept
   20346     {
   20347       return strlen_c_r(s, 0UL);
   20348     }
   20349 
   20350     static_assert(strlen_c("") == 0UL, "");
   20351     static_assert(strlen_c("1") == 1UL, "");
   20352     static_assert(strlen_c("example") == 7UL, "");
   20353     static_assert(strlen_c("another\0example") == 7UL, "");
   20354 
   20355   }
   20356 
   20357   namespace test_rvalue_references
   20358   {
   20359 
   20360     template < int N >
   20361     struct answer
   20362     {
   20363       static constexpr int value = N;
   20364     };
   20365 
   20366     answer<1> f(int&)       { return answer<1>(); }
   20367     answer<2> f(const int&) { return answer<2>(); }
   20368     answer<3> f(int&&)      { return answer<3>(); }
   20369 
   20370     void
   20371     test()
   20372     {
   20373       int i = 0;
   20374       const int c = 0;
   20375       static_assert(decltype(f(i))::value == 1, "");
   20376       static_assert(decltype(f(c))::value == 2, "");
   20377       static_assert(decltype(f(0))::value == 3, "");
   20378     }
   20379 
   20380   }
   20381 
   20382   namespace test_uniform_initialization
   20383   {
   20384 
   20385     struct test
   20386     {
   20387       static const int zero {};
   20388       static const int one {1};
   20389     };
   20390 
   20391     static_assert(test::zero == 0, "");
   20392     static_assert(test::one == 1, "");
   20393 
   20394   }
   20395 
   20396   namespace test_lambdas
   20397   {
   20398 
   20399     void
   20400     test1()
   20401     {
   20402       auto lambda1 = [](){};
   20403       auto lambda2 = lambda1;
   20404       lambda1();
   20405       lambda2();
   20406     }
   20407 
   20408     int
   20409     test2()
   20410     {
   20411       auto a = [](int i, int j){ return i + j; }(1, 2);
   20412       auto b = []() -> int { return '0'; }();
   20413       auto c = [=](){ return a + b; }();
   20414       auto d = [&](){ return c; }();
   20415       auto e = [a, &b](int x) mutable {
   20416         const auto identity = [](int y){ return y; };
   20417         for (auto i = 0; i < a; ++i)
   20418           a += b--;
   20419         return x + identity(a + b);
   20420       }(0);
   20421       return a + b + c + d + e;
   20422     }
   20423 
   20424     int
   20425     test3()
   20426     {
   20427       const auto nullary = [](){ return 0; };
   20428       const auto unary = [](int x){ return x; };
   20429       using nullary_t = decltype(nullary);
   20430       using unary_t = decltype(unary);
   20431       const auto higher1st = [](nullary_t f){ return f(); };
   20432       const auto higher2nd = [unary](nullary_t f1){
   20433         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   20434       };
   20435       return higher1st(nullary) + higher2nd(nullary)(unary);
   20436     }
   20437 
   20438   }
   20439 
   20440   namespace test_variadic_templates
   20441   {
   20442 
   20443     template <int...>
   20444     struct sum;
   20445 
   20446     template <int N0, int... N1toN>
   20447     struct sum<N0, N1toN...>
   20448     {
   20449       static constexpr auto value = N0 + sum<N1toN...>::value;
   20450     };
   20451 
   20452     template <>
   20453     struct sum<>
   20454     {
   20455       static constexpr auto value = 0;
   20456     };
   20457 
   20458     static_assert(sum<>::value == 0, "");
   20459     static_assert(sum<1>::value == 1, "");
   20460     static_assert(sum<23>::value == 23, "");
   20461     static_assert(sum<1, 2>::value == 3, "");
   20462     static_assert(sum<5, 5, 11>::value == 21, "");
   20463     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   20464 
   20465   }
   20466 
   20467   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   20468   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   20469   // because of this.
   20470   namespace test_template_alias_sfinae
   20471   {
   20472 
   20473     struct foo {};
   20474 
   20475     template<typename T>
   20476     using member = typename T::member_type;
   20477 
   20478     template<typename T>
   20479     void func(...) {}
   20480 
   20481     template<typename T>
   20482     void func(member<T>*) {}
   20483 
   20484     void test();
   20485 
   20486     void test() { func<foo>(0); }
   20487 
   20488   }
   20489 
   20490 }  // namespace cxx11
   20491 
   20492 #endif  // __cplusplus >= 201103L
   20493 
   20494 
   20495 
   20496 _ACEOF
   20497 if ac_fn_cxx_try_compile "$LINENO"
   20498 then :
   20499   eval $cachevar=yes
   20500 else $as_nop
   20501   eval $cachevar=no
   20502 fi
   20503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20504            CXX="$ac_save_CXX"
   20505 fi
   20506 eval ac_res=\$$cachevar
   20507 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   20508 printf "%s\n" "$ac_res" >&6; }
   20509         if eval test x\$$cachevar = xyes; then
   20510           CXX="$CXX $switch"
   20511           if test -n "$CXXCPP" ; then
   20512             CXXCPP="$CXXCPP $switch"
   20513           fi
   20514           ac_success=yes
   20515           break
   20516         fi
   20517       done
   20518       if test x$ac_success = xyes; then
   20519         break
   20520       fi
   20521     done
   20522   fi
   20523   ac_ext=c
   20524 ac_cpp='$CPP $CPPFLAGS'
   20525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20528 
   20529   if test x$ax_cxx_compile_cxx11_required = xtrue; then
   20530     if test x$ac_success = xno; then
   20531       as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
   20532     fi
   20533   fi
   20534   if test x$ac_success = xno; then
   20535     HAVE_CXX11=0
   20536     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
   20537 printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;}
   20538   else
   20539     HAVE_CXX11=1
   20540 
   20541 printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
   20542 
   20543   fi
   20544 
   20545 
   20546 fi
   20547 
   20548 EXPATCFG_ON_MINGW=no
   20549 case "${host_os}" in #(
   20550   mingw*) :
   20551     EXPATCFG_ON_MINGW=yes
   20552    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected OS: MinGW" >&5
   20553 printf "%s\n" "$as_me: detected OS: MinGW" >&6;} ;; #(
   20554   *) :
   20555      ;;
   20556 esac
   20557  if test x${EXPATCFG_ON_MINGW} = xyes; then
   20558   MINGW_TRUE=
   20559   MINGW_FALSE='#'
   20560 else
   20561   MINGW_TRUE='#'
   20562   MINGW_FALSE=
   20563 fi
   20564 
   20565 
   20566  if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_UNICODE >/dev/null; then
   20567   UNICODE_TRUE=
   20568   UNICODE_FALSE='#'
   20569 else
   20570   UNICODE_TRUE='#'
   20571   UNICODE_FALSE=
   20572 fi
   20573 
   20574  if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_UNICODE_WCHAR_T >/dev/null; then
   20575   _INTERNAL_UNICODE_WCHAR_T_TRUE=
   20576   _INTERNAL_UNICODE_WCHAR_T_FALSE='#'
   20577 else
   20578   _INTERNAL_UNICODE_WCHAR_T_TRUE='#'
   20579   _INTERNAL_UNICODE_WCHAR_T_FALSE=
   20580 fi
   20581 
   20582  if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_MIN_SIZE >/dev/null; then
   20583   _INTERNAL_MIN_SIZE_TRUE=
   20584   _INTERNAL_MIN_SIZE_FALSE='#'
   20585 else
   20586   _INTERNAL_MIN_SIZE_TRUE='#'
   20587   _INTERNAL_MIN_SIZE_FALSE=
   20588 fi
   20589 
   20590  if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_LARGE_SIZE >/dev/null; then
   20591   _INTERNAL_LARGE_SIZE_TRUE=
   20592   _INTERNAL_LARGE_SIZE_FALSE='#'
   20593 else
   20594   _INTERNAL_LARGE_SIZE_TRUE='#'
   20595   _INTERNAL_LARGE_SIZE_FALSE=
   20596 fi
   20597 
   20598 
   20599 LIBM=
   20600 case $host in
   20601 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-mingw* | *-*-pw32* | *-*-darwin*)
   20602   # These system don't have libm, or don't need it
   20603   ;;
   20604 *-ncr-sysv4.3*)
   20605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   20606 printf %s "checking for _mwvalidcheckl in -lmw... " >&6; }
   20607 if test ${ac_cv_lib_mw__mwvalidcheckl+y}
   20608 then :
   20609   printf %s "(cached) " >&6
   20610 else $as_nop
   20611   ac_check_lib_save_LIBS=$LIBS
   20612 LIBS="-lmw  $LIBS"
   20613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20614 /* end confdefs.h.  */
   20615 
   20616 /* Override any GCC internal prototype to avoid an error.
   20617    Use char because int might match the return type of a GCC
   20618    builtin and then its argument prototype would still apply.
   20619    The 'extern "C"' is for builds by C++ compilers;
   20620    although this is not generally supported in C code supporting it here
   20621    has little cost and some practical benefit (sr 110532).  */
   20622 #ifdef __cplusplus
   20623 extern "C"
   20624 #endif
   20625 char _mwvalidcheckl (void);
   20626 int
   20627 main (void)
   20628 {
   20629 return _mwvalidcheckl ();
   20630   ;
   20631   return 0;
   20632 }
   20633 _ACEOF
   20634 if ac_fn_c_try_link "$LINENO"
   20635 then :
   20636   ac_cv_lib_mw__mwvalidcheckl=yes
   20637 else $as_nop
   20638   ac_cv_lib_mw__mwvalidcheckl=no
   20639 fi
   20640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20641     conftest$ac_exeext conftest.$ac_ext
   20642 LIBS=$ac_check_lib_save_LIBS
   20643 fi
   20644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   20645 printf "%s\n" "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   20646 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
   20647 then :
   20648   LIBM=-lmw
   20649 fi
   20650 
   20651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   20652 printf %s "checking for cos in -lm... " >&6; }
   20653 if test ${ac_cv_lib_m_cos+y}
   20654 then :
   20655   printf %s "(cached) " >&6
   20656 else $as_nop
   20657   ac_check_lib_save_LIBS=$LIBS
   20658 LIBS="-lm  $LIBS"
   20659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20660 /* end confdefs.h.  */
   20661 
   20662 /* Override any GCC internal prototype to avoid an error.
   20663    Use char because int might match the return type of a GCC
   20664    builtin and then its argument prototype would still apply.
   20665    The 'extern "C"' is for builds by C++ compilers;
   20666    although this is not generally supported in C code supporting it here
   20667    has little cost and some practical benefit (sr 110532).  */
   20668 #ifdef __cplusplus
   20669 extern "C"
   20670 #endif
   20671 char cos (void);
   20672 int
   20673 main (void)
   20674 {
   20675 return cos ();
   20676   ;
   20677   return 0;
   20678 }
   20679 _ACEOF
   20680 if ac_fn_c_try_link "$LINENO"
   20681 then :
   20682   ac_cv_lib_m_cos=yes
   20683 else $as_nop
   20684   ac_cv_lib_m_cos=no
   20685 fi
   20686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20687     conftest$ac_exeext conftest.$ac_ext
   20688 LIBS=$ac_check_lib_save_LIBS
   20689 fi
   20690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   20691 printf "%s\n" "$ac_cv_lib_m_cos" >&6; }
   20692 if test "x$ac_cv_lib_m_cos" = xyes
   20693 then :
   20694   LIBM="$LIBM -lm"
   20695 fi
   20696 
   20697   ;;
   20698 *)
   20699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
   20700 printf %s "checking for cos in -lm... " >&6; }
   20701 if test ${ac_cv_lib_m_cos+y}
   20702 then :
   20703   printf %s "(cached) " >&6
   20704 else $as_nop
   20705   ac_check_lib_save_LIBS=$LIBS
   20706 LIBS="-lm  $LIBS"
   20707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20708 /* end confdefs.h.  */
   20709 
   20710 /* Override any GCC internal prototype to avoid an error.
   20711    Use char because int might match the return type of a GCC
   20712    builtin and then its argument prototype would still apply.
   20713    The 'extern "C"' is for builds by C++ compilers;
   20714    although this is not generally supported in C code supporting it here
   20715    has little cost and some practical benefit (sr 110532).  */
   20716 #ifdef __cplusplus
   20717 extern "C"
   20718 #endif
   20719 char cos (void);
   20720 int
   20721 main (void)
   20722 {
   20723 return cos ();
   20724   ;
   20725   return 0;
   20726 }
   20727 _ACEOF
   20728 if ac_fn_c_try_link "$LINENO"
   20729 then :
   20730   ac_cv_lib_m_cos=yes
   20731 else $as_nop
   20732   ac_cv_lib_m_cos=no
   20733 fi
   20734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20735     conftest$ac_exeext conftest.$ac_ext
   20736 LIBS=$ac_check_lib_save_LIBS
   20737 fi
   20738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
   20739 printf "%s\n" "$ac_cv_lib_m_cos" >&6; }
   20740 if test "x$ac_cv_lib_m_cos" = xyes
   20741 then :
   20742   LIBM=-lm
   20743 fi
   20744 
   20745   ;;
   20746 esac
   20747 
   20748 
   20749 
   20750 
   20751 # Check whether --with-libbsd was given.
   20752 if test ${with_libbsd+y}
   20753 then :
   20754   withval=$with_libbsd;
   20755 else $as_nop
   20756   with_libbsd=no
   20757 fi
   20758 
   20759 if test "x${with_libbsd}" != xno
   20760 then :
   20761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for arc4random_buf in -lbsd" >&5
   20762 printf %s "checking for arc4random_buf in -lbsd... " >&6; }
   20763 if test ${ac_cv_lib_bsd_arc4random_buf+y}
   20764 then :
   20765   printf %s "(cached) " >&6
   20766 else $as_nop
   20767   ac_check_lib_save_LIBS=$LIBS
   20768 LIBS="-lbsd  $LIBS"
   20769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20770 /* end confdefs.h.  */
   20771 
   20772 /* Override any GCC internal prototype to avoid an error.
   20773    Use char because int might match the return type of a GCC
   20774    builtin and then its argument prototype would still apply.
   20775    The 'extern "C"' is for builds by C++ compilers;
   20776    although this is not generally supported in C code supporting it here
   20777    has little cost and some practical benefit (sr 110532).  */
   20778 #ifdef __cplusplus
   20779 extern "C"
   20780 #endif
   20781 char arc4random_buf (void);
   20782 int
   20783 main (void)
   20784 {
   20785 return arc4random_buf ();
   20786   ;
   20787   return 0;
   20788 }
   20789 _ACEOF
   20790 if ac_fn_c_try_link "$LINENO"
   20791 then :
   20792   ac_cv_lib_bsd_arc4random_buf=yes
   20793 else $as_nop
   20794   ac_cv_lib_bsd_arc4random_buf=no
   20795 fi
   20796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20797     conftest$ac_exeext conftest.$ac_ext
   20798 LIBS=$ac_check_lib_save_LIBS
   20799 fi
   20800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_arc4random_buf" >&5
   20801 printf "%s\n" "$ac_cv_lib_bsd_arc4random_buf" >&6; }
   20802 if test "x$ac_cv_lib_bsd_arc4random_buf" = xyes
   20803 then :
   20804   printf "%s\n" "#define HAVE_LIBBSD 1" >>confdefs.h
   20805 
   20806   LIBS="-lbsd $LIBS"
   20807 
   20808 else $as_nop
   20809   if test "x${with_libbsd}" = xyes
   20810 then :
   20811   as_fn_error $? "Enforced use of libbsd cannot be satisfied." "$LINENO" 5
   20812 fi
   20813 fi
   20814 
   20815 fi
   20816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for arc4random_buf (BSD, libbsd or glibc 2.36+)" >&5
   20817 printf %s "checking for arc4random_buf (BSD, libbsd or glibc 2.36+)... " >&6; }
   20818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20819 /* end confdefs.h.  */
   20820 
   20821     #if defined(HAVE_LIBBSD)
   20822     # include <bsd/stdlib.h>
   20823     #else
   20824     # include <stdlib.h>  /* for arc4random_buf on BSD */
   20825     #endif
   20826     int main(void) {
   20827       char dummy[123];  // double brackets for m4
   20828       arc4random_buf(dummy, 0U);
   20829       return 0;
   20830     }
   20831 
   20832 _ACEOF
   20833 if ac_fn_c_try_link "$LINENO"
   20834 then :
   20835 
   20836 printf "%s\n" "#define HAVE_ARC4RANDOM_BUF 1" >>confdefs.h
   20837 
   20838    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20839 printf "%s\n" "yes" >&6; }
   20840 else $as_nop
   20841   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20842 printf "%s\n" "no" >&6; }
   20843 
   20844    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for arc4random (BSD, macOS, libbsd or glibc 2.36+)" >&5
   20845 printf %s "checking for arc4random (BSD, macOS, libbsd or glibc 2.36+)... " >&6; }
   20846    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20847 /* end confdefs.h.  */
   20848 
   20849        #if defined(HAVE_LIBBSD)
   20850        # include <bsd/stdlib.h>
   20851        #else
   20852        # include <stdlib.h>
   20853        #endif
   20854        int main(void) {
   20855           arc4random();
   20856           return 0;
   20857        }
   20858 
   20859 _ACEOF
   20860 if ac_fn_c_try_link "$LINENO"
   20861 then :
   20862 
   20863 printf "%s\n" "#define HAVE_ARC4RANDOM 1" >>confdefs.h
   20864 
   20865       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20866 printf "%s\n" "yes" >&6; }
   20867 else $as_nop
   20868   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20869 printf "%s\n" "no" >&6; }
   20870 fi
   20871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20872     conftest$ac_exeext conftest.$ac_ext
   20873 fi
   20874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20875     conftest$ac_exeext conftest.$ac_ext
   20876 
   20877 
   20878 # Check whether --with-getrandom was given.
   20879 if test ${with_getrandom+y}
   20880 then :
   20881   withval=$with_getrandom;
   20882 else $as_nop
   20883   with_getrandom=check
   20884 fi
   20885 
   20886 
   20887 if test "x$with_getrandom" != xno
   20888 then :
   20889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getrandom (Linux 3.17+, glibc 2.25+)" >&5
   20890 printf %s "checking for getrandom (Linux 3.17+, glibc 2.25+)... " >&6; }
   20891    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20892 /* end confdefs.h.  */
   20893 
   20894        #include <stdlib.h>  /* for NULL */
   20895        #include <sys/random.h>
   20896        int main(void) {
   20897          return getrandom(NULL, 0U, 0U);
   20898        }
   20899 
   20900 _ACEOF
   20901 if ac_fn_c_try_link "$LINENO"
   20902 then :
   20903 
   20904 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
   20905 
   20906       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20907 printf "%s\n" "yes" >&6; }
   20908 else $as_nop
   20909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20910 printf "%s\n" "no" >&6; }
   20911       if test "x$with_getrandom" = xyes
   20912 then :
   20913   as_fn_error $? "enforced the use of getrandom --with-getrandom, but not detected" "$LINENO" 5
   20914 fi
   20915 fi
   20916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20917     conftest$ac_exeext conftest.$ac_ext
   20918 fi
   20919 
   20920 
   20921 # Check whether --with-sys_getrandom was given.
   20922 if test ${with_sys_getrandom+y}
   20923 then :
   20924   withval=$with_sys_getrandom;
   20925 else $as_nop
   20926   with_sys_getrandom=check
   20927 fi
   20928 
   20929 
   20930 if test "x$with_sys_getrandom" != xno
   20931 then :
   20932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for syscall SYS_getrandom (Linux 3.17+)" >&5
   20933 printf %s "checking for syscall SYS_getrandom (Linux 3.17+)... " >&6; }
   20934    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20935 /* end confdefs.h.  */
   20936 
   20937        #define _GNU_SOURCE
   20938        #include <stdlib.h>  /* for NULL */
   20939        #include <unistd.h>  /* for syscall */
   20940        #include <sys/syscall.h>  /* for SYS_getrandom */
   20941        int main(void) {
   20942          syscall(SYS_getrandom, NULL, 0, 0);
   20943          return 0;
   20944      }
   20945 
   20946 _ACEOF
   20947 if ac_fn_c_try_link "$LINENO"
   20948 then :
   20949 
   20950 printf "%s\n" "#define HAVE_SYSCALL_GETRANDOM 1" >>confdefs.h
   20951 
   20952       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20953 printf "%s\n" "yes" >&6; }
   20954 else $as_nop
   20955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20956 printf "%s\n" "no" >&6; }
   20957       if test "x$with_sys_getrandom" = xyes
   20958 then :
   20959   as_fn_error $? "enforced the use of syscall SYS_getrandom --with-sys-getrandom, but not detected" "$LINENO" 5
   20960 fi
   20961 fi
   20962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20963     conftest$ac_exeext conftest.$ac_ext
   20964 fi
   20965 
   20966 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
   20967 if test "x$ac_cv_header_fcntl_h" = xyes
   20968 then :
   20969   printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
   20970 
   20971 fi
   20972 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
   20973 if test "x$ac_cv_header_unistd_h" = xyes
   20974 then :
   20975   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
   20976 
   20977 fi
   20978 
   20979 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   20980 if test "x$ac_cv_type_off_t" = xyes
   20981 then :
   20982 
   20983 else $as_nop
   20984 
   20985 printf "%s\n" "#define off_t long int" >>confdefs.h
   20986 
   20987 fi
   20988 
   20989 
   20990 ac_func=
   20991 for ac_item in $ac_func_c_list
   20992 do
   20993   if test $ac_func; then
   20994     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   20995     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   20996       echo "#define $ac_item 1" >> confdefs.h
   20997     fi
   20998     ac_func=
   20999   else
   21000     ac_func=$ac_item
   21001   fi
   21002 done
   21003 
   21004 
   21005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   21006 printf %s "checking for working mmap... " >&6; }
   21007 if test ${ac_cv_func_mmap_fixed_mapped+y}
   21008 then :
   21009   printf %s "(cached) " >&6
   21010 else $as_nop
   21011   if test "$cross_compiling" = yes
   21012 then :
   21013   case "$host_os" in # ((
   21014 			  # Guess yes on platforms where we know the result.
   21015 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   21016 			  # If we don't know, assume the worst.
   21017 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   21018 		esac
   21019 else $as_nop
   21020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21021 /* end confdefs.h.  */
   21022 $ac_includes_default
   21023 /* malloc might have been renamed as rpl_malloc. */
   21024 #undef malloc
   21025 
   21026 /* Thanks to Mike Haertel and Jim Avera for this test.
   21027    Here is a matrix of mmap possibilities:
   21028 	mmap private not fixed
   21029 	mmap private fixed at somewhere currently unmapped
   21030 	mmap private fixed at somewhere already mapped
   21031 	mmap shared not fixed
   21032 	mmap shared fixed at somewhere currently unmapped
   21033 	mmap shared fixed at somewhere already mapped
   21034    For private mappings, we should verify that changes cannot be read()
   21035    back from the file, nor mmap's back from the file at a different
   21036    address.  (There have been systems where private was not correctly
   21037    implemented like the infamous i386 svr4.0, and systems where the
   21038    VM page cache was not coherent with the file system buffer cache
   21039    like early versions of FreeBSD and possibly contemporary NetBSD.)
   21040    For shared mappings, we should conversely verify that changes get
   21041    propagated back to all the places they're supposed to be.
   21042 
   21043    Grep wants private fixed already mapped.
   21044    The main things grep needs to know about mmap are:
   21045    * does it exist and is it safe to write into the mmap'd area
   21046    * how to use it (BSD variants)  */
   21047 
   21048 #include <fcntl.h>
   21049 #include <sys/mman.h>
   21050 
   21051 /* This mess was copied from the GNU getpagesize.h.  */
   21052 #ifndef HAVE_GETPAGESIZE
   21053 # ifdef _SC_PAGESIZE
   21054 #  define getpagesize() sysconf(_SC_PAGESIZE)
   21055 # else /* no _SC_PAGESIZE */
   21056 #  ifdef HAVE_SYS_PARAM_H
   21057 #   include <sys/param.h>
   21058 #   ifdef EXEC_PAGESIZE
   21059 #    define getpagesize() EXEC_PAGESIZE
   21060 #   else /* no EXEC_PAGESIZE */
   21061 #    ifdef NBPG
   21062 #     define getpagesize() NBPG * CLSIZE
   21063 #     ifndef CLSIZE
   21064 #      define CLSIZE 1
   21065 #     endif /* no CLSIZE */
   21066 #    else /* no NBPG */
   21067 #     ifdef NBPC
   21068 #      define getpagesize() NBPC
   21069 #     else /* no NBPC */
   21070 #      ifdef PAGESIZE
   21071 #       define getpagesize() PAGESIZE
   21072 #      endif /* PAGESIZE */
   21073 #     endif /* no NBPC */
   21074 #    endif /* no NBPG */
   21075 #   endif /* no EXEC_PAGESIZE */
   21076 #  else /* no HAVE_SYS_PARAM_H */
   21077 #   define getpagesize() 8192	/* punt totally */
   21078 #  endif /* no HAVE_SYS_PARAM_H */
   21079 # endif /* no _SC_PAGESIZE */
   21080 
   21081 #endif /* no HAVE_GETPAGESIZE */
   21082 
   21083 int
   21084 main (void)
   21085 {
   21086   char *data, *data2, *data3;
   21087   const char *cdata2;
   21088   int i, pagesize;
   21089   int fd, fd2;
   21090 
   21091   pagesize = getpagesize ();
   21092 
   21093   /* First, make a file with some known garbage in it. */
   21094   data = (char *) malloc (pagesize);
   21095   if (!data)
   21096     return 1;
   21097   for (i = 0; i < pagesize; ++i)
   21098     *(data + i) = rand ();
   21099   umask (0);
   21100   fd = creat ("conftest.mmap", 0600);
   21101   if (fd < 0)
   21102     return 2;
   21103   if (write (fd, data, pagesize) != pagesize)
   21104     return 3;
   21105   close (fd);
   21106 
   21107   /* Next, check that the tail of a page is zero-filled.  File must have
   21108      non-zero length, otherwise we risk SIGBUS for entire page.  */
   21109   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   21110   if (fd2 < 0)
   21111     return 4;
   21112   cdata2 = "";
   21113   if (write (fd2, cdata2, 1) != 1)
   21114     return 5;
   21115   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   21116   if (data2 == MAP_FAILED)
   21117     return 6;
   21118   for (i = 0; i < pagesize; ++i)
   21119     if (*(data2 + i))
   21120       return 7;
   21121   close (fd2);
   21122   if (munmap (data2, pagesize))
   21123     return 8;
   21124 
   21125   /* Next, try to mmap the file at a fixed address which already has
   21126      something else allocated at it.  If we can, also make sure that
   21127      we see the same garbage.  */
   21128   fd = open ("conftest.mmap", O_RDWR);
   21129   if (fd < 0)
   21130     return 9;
   21131   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   21132 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   21133     return 10;
   21134   for (i = 0; i < pagesize; ++i)
   21135     if (*(data + i) != *(data2 + i))
   21136       return 11;
   21137 
   21138   /* Finally, make sure that changes to the mapped area do not
   21139      percolate back to the file as seen by read().  (This is a bug on
   21140      some variants of i386 svr4.0.)  */
   21141   for (i = 0; i < pagesize; ++i)
   21142     *(data2 + i) = *(data2 + i) + 1;
   21143   data3 = (char *) malloc (pagesize);
   21144   if (!data3)
   21145     return 12;
   21146   if (read (fd, data3, pagesize) != pagesize)
   21147     return 13;
   21148   for (i = 0; i < pagesize; ++i)
   21149     if (*(data + i) != *(data3 + i))
   21150       return 14;
   21151   close (fd);
   21152   free (data);
   21153   free (data3);
   21154   return 0;
   21155 }
   21156 _ACEOF
   21157 if ac_fn_c_try_run "$LINENO"
   21158 then :
   21159   ac_cv_func_mmap_fixed_mapped=yes
   21160 else $as_nop
   21161   ac_cv_func_mmap_fixed_mapped=no
   21162 fi
   21163 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   21164   conftest.$ac_objext conftest.beam conftest.$ac_ext
   21165 fi
   21166 
   21167 fi
   21168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   21169 printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
   21170 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   21171 
   21172 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
   21173 
   21174 fi
   21175 rm -f conftest.mmap conftest.txt
   21176 
   21177 
   21178 if test "$ac_cv_func_mmap_fixed_mapped" = "yes"
   21179 then :
   21180   FILEMAP=unixfilemap
   21181 else $as_nop
   21182   FILEMAP=readfilemap
   21183 fi
   21184 
   21185 
   21186 
   21187 
   21188 printf "%s\n" "#define XML_NS 1" >>confdefs.h
   21189 
   21190 
   21191 printf "%s\n" "#define XML_GE 1" >>confdefs.h
   21192 
   21193 
   21194 printf "%s\n" "#define XML_DTD 1" >>confdefs.h
   21195 
   21196 
   21197 printf "%s\n" "#define XML_DEV_URANDOM 1" >>confdefs.h
   21198 
   21199 
   21200 # Check whether --enable-xml-attr-info was given.
   21201 if test ${enable_xml_attr_info+y}
   21202 then :
   21203   enableval=$enable_xml_attr_info;
   21204 else $as_nop
   21205   enable_xml_attr_info=no
   21206 fi
   21207 
   21208 if test "x${enable_xml_attr_info}" = "xyes"
   21209 then :
   21210 
   21211 printf "%s\n" "#define XML_ATTR_INFO 1" >>confdefs.h
   21212 
   21213 fi
   21214 
   21215 # Check whether --enable-xml-context was given.
   21216 if test ${enable_xml_context+y}
   21217 then :
   21218   enableval=$enable_xml_context; enable_xml_context=${enableval}
   21219 fi
   21220 
   21221 if test "x${enable_xml_context}" != "xno"
   21222 then :
   21223   if test "x${enable_xml_context}" = "xyes" \
   21224             -o "x${enable_xml_context}" = "x"
   21225 then :
   21226   enable_xml_context=1024
   21227 fi
   21228 else $as_nop
   21229   enable_xml_context=0
   21230 fi
   21231 
   21232 printf "%s\n" "#define XML_CONTEXT_BYTES ${enable_xml_context}" >>confdefs.h
   21233 
   21234 
   21235 
   21236 # Check whether --with-docbook was given.
   21237 if test ${with_docbook+y}
   21238 then :
   21239   withval=$with_docbook;
   21240 else $as_nop
   21241   with_docbook=check
   21242 fi
   21243 
   21244 
   21245 
   21246 if test "x$with_docbook" != xno
   21247 then :
   21248   for ac_prog in docbook2x-man db2x_docbook2man docbook2man docbook-to-man
   21249 do
   21250   # Extract the first word of "$ac_prog", so it can be a program name with args.
   21251 set dummy $ac_prog; ac_word=$2
   21252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21253 printf %s "checking for $ac_word... " >&6; }
   21254 if test ${ac_cv_prog_DOCBOOK_TO_MAN+y}
   21255 then :
   21256   printf %s "(cached) " >&6
   21257 else $as_nop
   21258   if test -n "$DOCBOOK_TO_MAN"; then
   21259   ac_cv_prog_DOCBOOK_TO_MAN="$DOCBOOK_TO_MAN" # Let the user override the test.
   21260 else
   21261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21262 for as_dir in $PATH
   21263 do
   21264   IFS=$as_save_IFS
   21265   case $as_dir in #(((
   21266     '') as_dir=./ ;;
   21267     */) ;;
   21268     *) as_dir=$as_dir/ ;;
   21269   esac
   21270     for ac_exec_ext in '' $ac_executable_extensions; do
   21271   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21272     ac_cv_prog_DOCBOOK_TO_MAN="$ac_prog"
   21273     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21274     break 2
   21275   fi
   21276 done
   21277   done
   21278 IFS=$as_save_IFS
   21279 
   21280 fi
   21281 fi
   21282 DOCBOOK_TO_MAN=$ac_cv_prog_DOCBOOK_TO_MAN
   21283 if test -n "$DOCBOOK_TO_MAN"; then
   21284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK_TO_MAN" >&5
   21285 printf "%s\n" "$DOCBOOK_TO_MAN" >&6; }
   21286 else
   21287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21288 printf "%s\n" "no" >&6; }
   21289 fi
   21290 
   21291 
   21292   test -n "$DOCBOOK_TO_MAN" && break
   21293 done
   21294 
   21295 fi
   21296 if test "x${DOCBOOK_TO_MAN}" = x -a "x$with_docbook" = xyes
   21297 then :
   21298   as_fn_error $? "Required program 'docbook2x-man' not found." "$LINENO" 5
   21299 fi
   21300 if test "x${DOCBOOK_TO_MAN}" != x -a "x$with_docbook" != xno
   21301 then :
   21302   if ${DOCBOOK_TO_MAN} --help | grep -i -q -F sgmlbase
   21303 then :
   21304   as_fn_error $? "Your local ${DOCBOOK_TO_MAN} was found to work with SGML rather
   21305   than XML. Please install docbook2X and use variable DOCBOOK_TO_MAN to point
   21306   configure to command docbook2x-man of docbook2X.
   21307   Or use DOCBOOK_TO_MAN=\"xmlto man --skip-validation\" if you have xmlto around.
   21308   You can also configure using --without-docbook if you can do without a man
   21309   page for xmlwf." "$LINENO" 5
   21310 fi
   21311 fi
   21312 
   21313 if test -f "${srcdir}"/doc/xmlwf.1
   21314 then :
   21315    if true; then
   21316   WITH_MANPAGE_TRUE=
   21317   WITH_MANPAGE_FALSE='#'
   21318 else
   21319   WITH_MANPAGE_TRUE='#'
   21320   WITH_MANPAGE_FALSE=
   21321 fi
   21322 
   21323    if test "x$with_docbook" = xno -o "x${DOCBOOK_TO_MAN}" = x
   21324 then :
   21325    if true; then
   21326   WITH_PREBUILT_MANPAGE_TRUE=
   21327   WITH_PREBUILT_MANPAGE_FALSE='#'
   21328 else
   21329   WITH_PREBUILT_MANPAGE_TRUE='#'
   21330   WITH_PREBUILT_MANPAGE_FALSE=
   21331 fi
   21332 
   21333        if false; then
   21334   WITH_DISTRIBUTABLE_MANPAGE_TRUE=
   21335   WITH_DISTRIBUTABLE_MANPAGE_FALSE='#'
   21336 else
   21337   WITH_DISTRIBUTABLE_MANPAGE_TRUE='#'
   21338   WITH_DISTRIBUTABLE_MANPAGE_FALSE=
   21339 fi
   21340 
   21341 else $as_nop
   21342    if false; then
   21343   WITH_PREBUILT_MANPAGE_TRUE=
   21344   WITH_PREBUILT_MANPAGE_FALSE='#'
   21345 else
   21346   WITH_PREBUILT_MANPAGE_TRUE='#'
   21347   WITH_PREBUILT_MANPAGE_FALSE=
   21348 fi
   21349 
   21350        if true; then
   21351   WITH_DISTRIBUTABLE_MANPAGE_TRUE=
   21352   WITH_DISTRIBUTABLE_MANPAGE_FALSE='#'
   21353 else
   21354   WITH_DISTRIBUTABLE_MANPAGE_TRUE='#'
   21355   WITH_DISTRIBUTABLE_MANPAGE_FALSE=
   21356 fi
   21357 
   21358 fi
   21359 
   21360 else $as_nop
   21361   if test "x$with_docbook" != xno -a "x${DOCBOOK_TO_MAN}" != x
   21362 then :
   21363    if true; then
   21364   WITH_MANPAGE_TRUE=
   21365   WITH_MANPAGE_FALSE='#'
   21366 else
   21367   WITH_MANPAGE_TRUE='#'
   21368   WITH_MANPAGE_FALSE=
   21369 fi
   21370 
   21371        if true; then
   21372   WITH_DISTRIBUTABLE_MANPAGE_TRUE=
   21373   WITH_DISTRIBUTABLE_MANPAGE_FALSE='#'
   21374 else
   21375   WITH_DISTRIBUTABLE_MANPAGE_TRUE='#'
   21376   WITH_DISTRIBUTABLE_MANPAGE_FALSE=
   21377 fi
   21378 
   21379 else $as_nop
   21380    if false; then
   21381   WITH_MANPAGE_TRUE=
   21382   WITH_MANPAGE_FALSE='#'
   21383 else
   21384   WITH_MANPAGE_TRUE='#'
   21385   WITH_MANPAGE_FALSE=
   21386 fi
   21387 
   21388        if false; then
   21389   WITH_DISTRIBUTABLE_MANPAGE_TRUE=
   21390   WITH_DISTRIBUTABLE_MANPAGE_FALSE='#'
   21391 else
   21392   WITH_DISTRIBUTABLE_MANPAGE_TRUE='#'
   21393   WITH_DISTRIBUTABLE_MANPAGE_FALSE=
   21394 fi
   21395 
   21396 fi
   21397     if false; then
   21398   WITH_PREBUILT_MANPAGE_TRUE=
   21399   WITH_PREBUILT_MANPAGE_FALSE='#'
   21400 else
   21401   WITH_PREBUILT_MANPAGE_TRUE='#'
   21402   WITH_PREBUILT_MANPAGE_FALSE=
   21403 fi
   21404 
   21405 fi
   21406 
   21407 if test "x${enable_xml_attr_info}" = xyes
   21408 then :
   21409   EXPAT_ATTR_INFO=ON
   21410 else $as_nop
   21411   EXPAT_ATTR_INFO=OFF
   21412 fi
   21413 EXPAT_DTD=ON
   21414 if test "x${_INTERNAL_LARGE_SIZE_TRUE}" = x
   21415 then :
   21416   EXPAT_LARGE_SIZE=ON
   21417 else $as_nop
   21418   EXPAT_LARGE_SIZE=OFF
   21419 fi
   21420 if test "x${_INTERNAL_MIN_SIZE_TRUE}" = x
   21421 then :
   21422   EXPAT_MIN_SIZE=ON
   21423 else $as_nop
   21424   EXPAT_MIN_SIZE=OFF
   21425 fi
   21426 EXPAT_NS=ON
   21427 if test "x${enable_xml_context}" != xno
   21428 then :
   21429   EXPAT_CONTEXT_BYTES=${enable_xml_context}
   21430 else $as_nop
   21431   EXPAT_CONTEXT_BYTES=OFF
   21432 fi
   21433 if test "x${UNICODE_TRUE}" = x
   21434 then :
   21435   if test "x${_INTERNAL_UNICODE_WCHAR_T_TRUE}" = x
   21436 then :
   21437   EXPAT_CHAR_TYPE=wchar_t
   21438 else $as_nop
   21439   EXPAT_CHAR_TYPE=ushort
   21440 fi
   21441 else $as_nop
   21442   EXPAT_CHAR_TYPE=char
   21443 fi
   21444 PACKAGE_INIT="${srcdir}"/cmake/autotools/expat-package-init.cmake
   21445 LIBDIR_BASENAME="$(basename "${libdir}")"
   21446 SO_MAJOR="$(expr "${LIBCURRENT}" - "${LIBAGE}")"
   21447 SO_MINOR="${LIBAGE}"
   21448 SO_PATCH="${LIBREVISION}"
   21449 
   21450 
   21451 
   21452 
   21453 
   21454 
   21455 
   21456 
   21457 
   21458 
   21459 
   21460 
   21461 
   21462 if ac_fn_c_compute_int "$LINENO" "sizeof(void *)" "SIZEOF_VOID_P"        ""
   21463 then :
   21464 
   21465 fi
   21466 
   21467 
   21468 
   21469 
   21470 
   21471 
   21472 
   21473 
   21474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library name prefix" >&5
   21475 printf %s "checking for shared library name prefix... " >&6; }
   21476 case "${host_os}" in #(
   21477   cygwin*) :
   21478     CMAKE_SHARED_LIBRARY_PREFIX=cyg ;; #(
   21479   *) :
   21480     CMAKE_SHARED_LIBRARY_PREFIX=lib ;;
   21481 esac
   21482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${CMAKE_SHARED_LIBRARY_PREFIX}" >&5
   21483 printf "%s\n" "${CMAKE_SHARED_LIBRARY_PREFIX}" >&6; }
   21484 
   21485 
   21486 case "${host_os}" in #(
   21487   darwin*) :
   21488     CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__macos.cmake.in ;; #(
   21489   mingw*|cygwin*) :
   21490     CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__windows.cmake.in ;; #(
   21491   *) :
   21492     CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__linux.cmake.in ;;
   21493 esac
   21494 ac_config_files="$ac_config_files Makefile expat.pc cmake/expat-config.cmake cmake/autotools/expat-config-version.cmake cmake/autotools/expat-noconfig.cmake:${CMAKE_NOCONFIG_SOURCE} doc/Makefile examples/Makefile lib/Makefile tests/Makefile tests/benchmark/Makefile xmlwf/Makefile"
   21495 
   21496 ac_config_files="$ac_config_files run.sh"
   21497 
   21498 cat >confcache <<\_ACEOF
   21499 # This file is a shell script that caches the results of configure
   21500 # tests run on this system so they can be shared between configure
   21501 # scripts and configure runs, see configure's option --config-cache.
   21502 # It is not useful on other systems.  If it contains results you don't
   21503 # want to keep, you may remove or edit it.
   21504 #
   21505 # config.status only pays attention to the cache file if you give it
   21506 # the --recheck option to rerun configure.
   21507 #
   21508 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21510 # following values.
   21511 
   21512 _ACEOF
   21513 
   21514 # The following way of writing the cache mishandles newlines in values,
   21515 # but we know of no workaround that is simple, portable, and efficient.
   21516 # So, we kill variables containing newlines.
   21517 # Ultrix sh set writes to stderr and can't be redirected directly,
   21518 # and sets the high bit in the cache file unless we assign to the vars.
   21519 (
   21520   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21521     eval ac_val=\$$ac_var
   21522     case $ac_val in #(
   21523     *${as_nl}*)
   21524       case $ac_var in #(
   21525       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   21526 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21527       esac
   21528       case $ac_var in #(
   21529       _ | IFS | as_nl) ;; #(
   21530       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21531       *) { eval $ac_var=; unset $ac_var;} ;;
   21532       esac ;;
   21533     esac
   21534   done
   21535 
   21536   (set) 2>&1 |
   21537     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21538     *${as_nl}ac_space=\ *)
   21539       # `set' does not quote correctly, so add quotes: double-quote
   21540       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21541       sed -n \
   21542 	"s/'/'\\\\''/g;
   21543 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21544       ;; #(
   21545     *)
   21546       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21547       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21548       ;;
   21549     esac |
   21550     sort
   21551 ) |
   21552   sed '
   21553      /^ac_cv_env_/b end
   21554      t clear
   21555      :clear
   21556      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   21557      t end
   21558      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21559      :end' >>confcache
   21560 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21561   if test -w "$cache_file"; then
   21562     if test "x$cache_file" != "x/dev/null"; then
   21563       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21564 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   21565       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21566 	cat confcache >"$cache_file"
   21567       else
   21568         case $cache_file in #(
   21569         */* | ?:*)
   21570 	  mv -f confcache "$cache_file"$$ &&
   21571 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21572         *)
   21573 	  mv -f confcache "$cache_file" ;;
   21574 	esac
   21575       fi
   21576     fi
   21577   else
   21578     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21579 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   21580   fi
   21581 fi
   21582 rm -f confcache
   21583 
   21584 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21585 # Let make expand exec_prefix.
   21586 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21587 
   21588 DEFS=-DHAVE_CONFIG_H
   21589 
   21590 ac_libobjs=
   21591 ac_ltlibobjs=
   21592 U=
   21593 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21594   # 1. Remove the extension, and $U if already installed.
   21595   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21596   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   21597   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21598   #    will be set to the directory where LIBOBJS objects are built.
   21599   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21600   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21601 done
   21602 LIBOBJS=$ac_libobjs
   21603 
   21604 LTLIBOBJS=$ac_ltlibobjs
   21605 
   21606 
   21607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21608 printf %s "checking that generated files are newer than configure... " >&6; }
   21609    if test -n "$am_sleep_pid"; then
   21610      # Hide warnings about reused PIDs.
   21611      wait $am_sleep_pid 2>/dev/null
   21612    fi
   21613    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21614 printf "%s\n" "done" >&6; }
   21615  if test -n "$EXEEXT"; then
   21616   am__EXEEXT_TRUE=
   21617   am__EXEEXT_FALSE='#'
   21618 else
   21619   am__EXEEXT_TRUE='#'
   21620   am__EXEEXT_FALSE=
   21621 fi
   21622 
   21623 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21624   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   21625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21626 fi
   21627 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21628   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21630 fi
   21631 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21632   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21634 fi
   21635 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21636   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   21637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21638 fi
   21639 
   21640 if test -z "${WITH_XMLWF_TRUE}" && test -z "${WITH_XMLWF_FALSE}"; then
   21641   as_fn_error $? "conditional \"WITH_XMLWF\" was never defined.
   21642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21643 fi
   21644 if test -z "${WITH_EXAMPLES_TRUE}" && test -z "${WITH_EXAMPLES_FALSE}"; then
   21645   as_fn_error $? "conditional \"WITH_EXAMPLES\" was never defined.
   21646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21647 fi
   21648 if test -z "${WITH_TESTS_TRUE}" && test -z "${WITH_TESTS_FALSE}"; then
   21649   as_fn_error $? "conditional \"WITH_TESTS\" was never defined.
   21650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21651 fi
   21652 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
   21653   as_fn_error $? "conditional \"MINGW\" was never defined.
   21654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21655 fi
   21656 if test -z "${UNICODE_TRUE}" && test -z "${UNICODE_FALSE}"; then
   21657   as_fn_error $? "conditional \"UNICODE\" was never defined.
   21658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21659 fi
   21660 if test -z "${_INTERNAL_UNICODE_WCHAR_T_TRUE}" && test -z "${_INTERNAL_UNICODE_WCHAR_T_FALSE}"; then
   21661   as_fn_error $? "conditional \"_INTERNAL_UNICODE_WCHAR_T\" was never defined.
   21662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21663 fi
   21664 if test -z "${_INTERNAL_MIN_SIZE_TRUE}" && test -z "${_INTERNAL_MIN_SIZE_FALSE}"; then
   21665   as_fn_error $? "conditional \"_INTERNAL_MIN_SIZE\" was never defined.
   21666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21667 fi
   21668 if test -z "${_INTERNAL_LARGE_SIZE_TRUE}" && test -z "${_INTERNAL_LARGE_SIZE_FALSE}"; then
   21669   as_fn_error $? "conditional \"_INTERNAL_LARGE_SIZE\" was never defined.
   21670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21671 fi
   21672 if test -z "${WITH_MANPAGE_TRUE}" && test -z "${WITH_MANPAGE_FALSE}"; then
   21673   as_fn_error $? "conditional \"WITH_MANPAGE\" was never defined.
   21674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21675 fi
   21676 if test -z "${WITH_PREBUILT_MANPAGE_TRUE}" && test -z "${WITH_PREBUILT_MANPAGE_FALSE}"; then
   21677   as_fn_error $? "conditional \"WITH_PREBUILT_MANPAGE\" was never defined.
   21678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21679 fi
   21680 if test -z "${WITH_DISTRIBUTABLE_MANPAGE_TRUE}" && test -z "${WITH_DISTRIBUTABLE_MANPAGE_FALSE}"; then
   21681   as_fn_error $? "conditional \"WITH_DISTRIBUTABLE_MANPAGE\" was never defined.
   21682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21683 fi
   21684 if test -z "${WITH_PREBUILT_MANPAGE_TRUE}" && test -z "${WITH_PREBUILT_MANPAGE_FALSE}"; then
   21685   as_fn_error $? "conditional \"WITH_PREBUILT_MANPAGE\" was never defined.
   21686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21687 fi
   21688 if test -z "${WITH_DISTRIBUTABLE_MANPAGE_TRUE}" && test -z "${WITH_DISTRIBUTABLE_MANPAGE_FALSE}"; then
   21689   as_fn_error $? "conditional \"WITH_DISTRIBUTABLE_MANPAGE\" was never defined.
   21690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21691 fi
   21692 if test -z "${WITH_MANPAGE_TRUE}" && test -z "${WITH_MANPAGE_FALSE}"; then
   21693   as_fn_error $? "conditional \"WITH_MANPAGE\" was never defined.
   21694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21695 fi
   21696 if test -z "${WITH_DISTRIBUTABLE_MANPAGE_TRUE}" && test -z "${WITH_DISTRIBUTABLE_MANPAGE_FALSE}"; then
   21697   as_fn_error $? "conditional \"WITH_DISTRIBUTABLE_MANPAGE\" was never defined.
   21698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21699 fi
   21700 if test -z "${WITH_MANPAGE_TRUE}" && test -z "${WITH_MANPAGE_FALSE}"; then
   21701   as_fn_error $? "conditional \"WITH_MANPAGE\" was never defined.
   21702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21703 fi
   21704 if test -z "${WITH_DISTRIBUTABLE_MANPAGE_TRUE}" && test -z "${WITH_DISTRIBUTABLE_MANPAGE_FALSE}"; then
   21705   as_fn_error $? "conditional \"WITH_DISTRIBUTABLE_MANPAGE\" was never defined.
   21706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21707 fi
   21708 if test -z "${WITH_PREBUILT_MANPAGE_TRUE}" && test -z "${WITH_PREBUILT_MANPAGE_FALSE}"; then
   21709   as_fn_error $? "conditional \"WITH_PREBUILT_MANPAGE\" was never defined.
   21710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21711 fi
   21712 
   21713 : "${CONFIG_STATUS=./config.status}"
   21714 ac_write_fail=0
   21715 ac_clean_files_save=$ac_clean_files
   21716 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21718 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   21719 as_write_fail=0
   21720 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21721 #! $SHELL
   21722 # Generated by $as_me.
   21723 # Run this file to recreate the current configuration.
   21724 # Compiler output produced by configure, useful for debugging
   21725 # configure, is in config.log if it exists.
   21726 
   21727 debug=false
   21728 ac_cs_recheck=false
   21729 ac_cs_silent=false
   21730 
   21731 SHELL=\${CONFIG_SHELL-$SHELL}
   21732 export SHELL
   21733 _ASEOF
   21734 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21735 ## -------------------- ##
   21736 ## M4sh Initialization. ##
   21737 ## -------------------- ##
   21738 
   21739 # Be more Bourne compatible
   21740 DUALCASE=1; export DUALCASE # for MKS sh
   21741 as_nop=:
   21742 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21743 then :
   21744   emulate sh
   21745   NULLCMD=:
   21746   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21747   # is contrary to our usage.  Disable this feature.
   21748   alias -g '${1+"$@"}'='"$@"'
   21749   setopt NO_GLOB_SUBST
   21750 else $as_nop
   21751   case `(set -o) 2>/dev/null` in #(
   21752   *posix*) :
   21753     set -o posix ;; #(
   21754   *) :
   21755      ;;
   21756 esac
   21757 fi
   21758 
   21759 
   21760 
   21761 # Reset variables that may have inherited troublesome values from
   21762 # the environment.
   21763 
   21764 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21765 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21766 # side effect of setting IFS to empty, thus disabling word splitting.)
   21767 # Quoting is to prevent editors from complaining about space-tab.
   21768 as_nl='
   21769 '
   21770 export as_nl
   21771 IFS=" ""	$as_nl"
   21772 
   21773 PS1='$ '
   21774 PS2='> '
   21775 PS4='+ '
   21776 
   21777 # Ensure predictable behavior from utilities with locale-dependent output.
   21778 LC_ALL=C
   21779 export LC_ALL
   21780 LANGUAGE=C
   21781 export LANGUAGE
   21782 
   21783 # We cannot yet rely on "unset" to work, but we need these variables
   21784 # to be unset--not just set to an empty or harmless value--now, to
   21785 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21786 # also avoids known problems related to "unset" and subshell syntax
   21787 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21788 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21789 do eval test \${$as_var+y} \
   21790   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21791 done
   21792 
   21793 # Ensure that fds 0, 1, and 2 are open.
   21794 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21795 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21796 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21797 
   21798 # The user is always right.
   21799 if ${PATH_SEPARATOR+false} :; then
   21800   PATH_SEPARATOR=:
   21801   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21802     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21803       PATH_SEPARATOR=';'
   21804   }
   21805 fi
   21806 
   21807 
   21808 # Find who we are.  Look in the path if we contain no directory separator.
   21809 as_myself=
   21810 case $0 in #((
   21811   *[\\/]* ) as_myself=$0 ;;
   21812   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21813 for as_dir in $PATH
   21814 do
   21815   IFS=$as_save_IFS
   21816   case $as_dir in #(((
   21817     '') as_dir=./ ;;
   21818     */) ;;
   21819     *) as_dir=$as_dir/ ;;
   21820   esac
   21821     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21822   done
   21823 IFS=$as_save_IFS
   21824 
   21825      ;;
   21826 esac
   21827 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21828 # in which case we are not to be found in the path.
   21829 if test "x$as_myself" = x; then
   21830   as_myself=$0
   21831 fi
   21832 if test ! -f "$as_myself"; then
   21833   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21834   exit 1
   21835 fi
   21836 
   21837 
   21838 
   21839 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21840 # ----------------------------------------
   21841 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21842 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21843 # script with STATUS, using 1 if that was 0.
   21844 as_fn_error ()
   21845 {
   21846   as_status=$1; test $as_status -eq 0 && as_status=1
   21847   if test "$4"; then
   21848     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21849     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21850   fi
   21851   printf "%s\n" "$as_me: error: $2" >&2
   21852   as_fn_exit $as_status
   21853 } # as_fn_error
   21854 
   21855 
   21856 
   21857 # as_fn_set_status STATUS
   21858 # -----------------------
   21859 # Set $? to STATUS, without forking.
   21860 as_fn_set_status ()
   21861 {
   21862   return $1
   21863 } # as_fn_set_status
   21864 
   21865 # as_fn_exit STATUS
   21866 # -----------------
   21867 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21868 as_fn_exit ()
   21869 {
   21870   set +e
   21871   as_fn_set_status $1
   21872   exit $1
   21873 } # as_fn_exit
   21874 
   21875 # as_fn_unset VAR
   21876 # ---------------
   21877 # Portably unset VAR.
   21878 as_fn_unset ()
   21879 {
   21880   { eval $1=; unset $1;}
   21881 }
   21882 as_unset=as_fn_unset
   21883 
   21884 # as_fn_append VAR VALUE
   21885 # ----------------------
   21886 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21887 # advantage of any shell optimizations that allow amortized linear growth over
   21888 # repeated appends, instead of the typical quadratic growth present in naive
   21889 # implementations.
   21890 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21891 then :
   21892   eval 'as_fn_append ()
   21893   {
   21894     eval $1+=\$2
   21895   }'
   21896 else $as_nop
   21897   as_fn_append ()
   21898   {
   21899     eval $1=\$$1\$2
   21900   }
   21901 fi # as_fn_append
   21902 
   21903 # as_fn_arith ARG...
   21904 # ------------------
   21905 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21906 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21907 # must be portable across $(()) and expr.
   21908 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21909 then :
   21910   eval 'as_fn_arith ()
   21911   {
   21912     as_val=$(( $* ))
   21913   }'
   21914 else $as_nop
   21915   as_fn_arith ()
   21916   {
   21917     as_val=`expr "$@" || test $? -eq 1`
   21918   }
   21919 fi # as_fn_arith
   21920 
   21921 
   21922 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21923    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21924   as_expr=expr
   21925 else
   21926   as_expr=false
   21927 fi
   21928 
   21929 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21930   as_basename=basename
   21931 else
   21932   as_basename=false
   21933 fi
   21934 
   21935 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21936   as_dirname=dirname
   21937 else
   21938   as_dirname=false
   21939 fi
   21940 
   21941 as_me=`$as_basename -- "$0" ||
   21942 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21943 	 X"$0" : 'X\(//\)$' \| \
   21944 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21945 printf "%s\n" X/"$0" |
   21946     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21947 	    s//\1/
   21948 	    q
   21949 	  }
   21950 	  /^X\/\(\/\/\)$/{
   21951 	    s//\1/
   21952 	    q
   21953 	  }
   21954 	  /^X\/\(\/\).*/{
   21955 	    s//\1/
   21956 	    q
   21957 	  }
   21958 	  s/.*/./; q'`
   21959 
   21960 # Avoid depending upon Character Ranges.
   21961 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21962 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21963 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21964 as_cr_digits='0123456789'
   21965 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21966 
   21967 
   21968 # Determine whether it's possible to make 'echo' print without a newline.
   21969 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21970 # for compatibility with existing Makefiles.
   21971 ECHO_C= ECHO_N= ECHO_T=
   21972 case `echo -n x` in #(((((
   21973 -n*)
   21974   case `echo 'xy\c'` in
   21975   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21976   xy)  ECHO_C='\c';;
   21977   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21978        ECHO_T='	';;
   21979   esac;;
   21980 *)
   21981   ECHO_N='-n';;
   21982 esac
   21983 
   21984 # For backward compatibility with old third-party macros, we provide
   21985 # the shell variables $as_echo and $as_echo_n.  New code should use
   21986 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21987 as_echo='printf %s\n'
   21988 as_echo_n='printf %s'
   21989 
   21990 rm -f conf$$ conf$$.exe conf$$.file
   21991 if test -d conf$$.dir; then
   21992   rm -f conf$$.dir/conf$$.file
   21993 else
   21994   rm -f conf$$.dir
   21995   mkdir conf$$.dir 2>/dev/null
   21996 fi
   21997 if (echo >conf$$.file) 2>/dev/null; then
   21998   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21999     as_ln_s='ln -s'
   22000     # ... but there are two gotchas:
   22001     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22002     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22003     # In both cases, we have to default to `cp -pR'.
   22004     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22005       as_ln_s='cp -pR'
   22006   elif ln conf$$.file conf$$ 2>/dev/null; then
   22007     as_ln_s=ln
   22008   else
   22009     as_ln_s='cp -pR'
   22010   fi
   22011 else
   22012   as_ln_s='cp -pR'
   22013 fi
   22014 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22015 rmdir conf$$.dir 2>/dev/null
   22016 
   22017 
   22018 # as_fn_mkdir_p
   22019 # -------------
   22020 # Create "$as_dir" as a directory, including parents if necessary.
   22021 as_fn_mkdir_p ()
   22022 {
   22023 
   22024   case $as_dir in #(
   22025   -*) as_dir=./$as_dir;;
   22026   esac
   22027   test -d "$as_dir" || eval $as_mkdir_p || {
   22028     as_dirs=
   22029     while :; do
   22030       case $as_dir in #(
   22031       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22032       *) as_qdir=$as_dir;;
   22033       esac
   22034       as_dirs="'$as_qdir' $as_dirs"
   22035       as_dir=`$as_dirname -- "$as_dir" ||
   22036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22037 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22038 	 X"$as_dir" : 'X\(//\)$' \| \
   22039 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22040 printf "%s\n" X"$as_dir" |
   22041     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22042 	    s//\1/
   22043 	    q
   22044 	  }
   22045 	  /^X\(\/\/\)[^/].*/{
   22046 	    s//\1/
   22047 	    q
   22048 	  }
   22049 	  /^X\(\/\/\)$/{
   22050 	    s//\1/
   22051 	    q
   22052 	  }
   22053 	  /^X\(\/\).*/{
   22054 	    s//\1/
   22055 	    q
   22056 	  }
   22057 	  s/.*/./; q'`
   22058       test -d "$as_dir" && break
   22059     done
   22060     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22061   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   22062 
   22063 
   22064 } # as_fn_mkdir_p
   22065 if mkdir -p . 2>/dev/null; then
   22066   as_mkdir_p='mkdir -p "$as_dir"'
   22067 else
   22068   test -d ./-p && rmdir ./-p
   22069   as_mkdir_p=false
   22070 fi
   22071 
   22072 
   22073 # as_fn_executable_p FILE
   22074 # -----------------------
   22075 # Test if FILE is an executable regular file.
   22076 as_fn_executable_p ()
   22077 {
   22078   test -f "$1" && test -x "$1"
   22079 } # as_fn_executable_p
   22080 as_test_x='test -x'
   22081 as_executable_p=as_fn_executable_p
   22082 
   22083 # Sed expression to map a string onto a valid CPP name.
   22084 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22085 
   22086 # Sed expression to map a string onto a valid variable name.
   22087 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22088 
   22089 
   22090 exec 6>&1
   22091 ## ----------------------------------- ##
   22092 ## Main body of $CONFIG_STATUS script. ##
   22093 ## ----------------------------------- ##
   22094 _ASEOF
   22095 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   22096 
   22097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22098 # Save the log message, to keep $0 and so on meaningful, and to
   22099 # report actual input values of CONFIG_FILES etc. instead of their
   22100 # values after options handling.
   22101 ac_log="
   22102 This file was extended by expat $as_me 2.7.1, which was
   22103 generated by GNU Autoconf 2.71.  Invocation command line was
   22104 
   22105   CONFIG_FILES    = $CONFIG_FILES
   22106   CONFIG_HEADERS  = $CONFIG_HEADERS
   22107   CONFIG_LINKS    = $CONFIG_LINKS
   22108   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22109   $ $0 $@
   22110 
   22111 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22112 "
   22113 
   22114 _ACEOF
   22115 
   22116 case $ac_config_files in *"
   22117 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22118 esac
   22119 
   22120 case $ac_config_headers in *"
   22121 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22122 esac
   22123 
   22124 
   22125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22126 # Files that config.status was made for.
   22127 config_files="$ac_config_files"
   22128 config_headers="$ac_config_headers"
   22129 config_commands="$ac_config_commands"
   22130 
   22131 _ACEOF
   22132 
   22133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22134 ac_cs_usage="\
   22135 \`$as_me' instantiates files and other configuration actions
   22136 from templates according to the current configuration.  Unless the files
   22137 and actions are specified as TAGs, all are instantiated by default.
   22138 
   22139 Usage: $0 [OPTION]... [TAG]...
   22140 
   22141   -h, --help       print this help, then exit
   22142   -V, --version    print version number and configuration settings, then exit
   22143       --config     print configuration, then exit
   22144   -q, --quiet, --silent
   22145                    do not print progress messages
   22146   -d, --debug      don't remove temporary files
   22147       --recheck    update $as_me by reconfiguring in the same conditions
   22148       --file=FILE[:TEMPLATE]
   22149                    instantiate the configuration file FILE
   22150       --header=FILE[:TEMPLATE]
   22151                    instantiate the configuration header FILE
   22152 
   22153 Configuration files:
   22154 $config_files
   22155 
   22156 Configuration headers:
   22157 $config_headers
   22158 
   22159 Configuration commands:
   22160 $config_commands
   22161 
   22162 Report bugs to <https://github.com/libexpat/libexpat/issues>."
   22163 
   22164 _ACEOF
   22165 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   22166 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   22167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22168 ac_cs_config='$ac_cs_config_escaped'
   22169 ac_cs_version="\\
   22170 expat config.status 2.7.1
   22171 configured by $0, generated by GNU Autoconf 2.71,
   22172   with options \\"\$ac_cs_config\\"
   22173 
   22174 Copyright (C) 2021 Free Software Foundation, Inc.
   22175 This config.status script is free software; the Free Software Foundation
   22176 gives unlimited permission to copy, distribute and modify it."
   22177 
   22178 ac_pwd='$ac_pwd'
   22179 srcdir='$srcdir'
   22180 INSTALL='$INSTALL'
   22181 MKDIR_P='$MKDIR_P'
   22182 AWK='$AWK'
   22183 test -n "\$AWK" || AWK=awk
   22184 _ACEOF
   22185 
   22186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22187 # The default lists apply if the user does not specify any file.
   22188 ac_need_defaults=:
   22189 while test $# != 0
   22190 do
   22191   case $1 in
   22192   --*=?*)
   22193     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22194     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22195     ac_shift=:
   22196     ;;
   22197   --*=)
   22198     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22199     ac_optarg=
   22200     ac_shift=:
   22201     ;;
   22202   *)
   22203     ac_option=$1
   22204     ac_optarg=$2
   22205     ac_shift=shift
   22206     ;;
   22207   esac
   22208 
   22209   case $ac_option in
   22210   # Handling of the options.
   22211   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22212     ac_cs_recheck=: ;;
   22213   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22214     printf "%s\n" "$ac_cs_version"; exit ;;
   22215   --config | --confi | --conf | --con | --co | --c )
   22216     printf "%s\n" "$ac_cs_config"; exit ;;
   22217   --debug | --debu | --deb | --de | --d | -d )
   22218     debug=: ;;
   22219   --file | --fil | --fi | --f )
   22220     $ac_shift
   22221     case $ac_optarg in
   22222     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22223     '') as_fn_error $? "missing file argument" ;;
   22224     esac
   22225     as_fn_append CONFIG_FILES " '$ac_optarg'"
   22226     ac_need_defaults=false;;
   22227   --header | --heade | --head | --hea )
   22228     $ac_shift
   22229     case $ac_optarg in
   22230     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22231     esac
   22232     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   22233     ac_need_defaults=false;;
   22234   --he | --h)
   22235     # Conflict between --help and --header
   22236     as_fn_error $? "ambiguous option: \`$1'
   22237 Try \`$0 --help' for more information.";;
   22238   --help | --hel | -h )
   22239     printf "%s\n" "$ac_cs_usage"; exit ;;
   22240   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22241   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22242     ac_cs_silent=: ;;
   22243 
   22244   # This is an error.
   22245   -*) as_fn_error $? "unrecognized option: \`$1'
   22246 Try \`$0 --help' for more information." ;;
   22247 
   22248   *) as_fn_append ac_config_targets " $1"
   22249      ac_need_defaults=false ;;
   22250 
   22251   esac
   22252   shift
   22253 done
   22254 
   22255 ac_configure_extra_args=
   22256 
   22257 if $ac_cs_silent; then
   22258   exec 6>/dev/null
   22259   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22260 fi
   22261 
   22262 _ACEOF
   22263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22264 if \$ac_cs_recheck; then
   22265   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22266   shift
   22267   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   22268   CONFIG_SHELL='$SHELL'
   22269   export CONFIG_SHELL
   22270   exec "\$@"
   22271 fi
   22272 
   22273 _ACEOF
   22274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22275 exec 5>>config.log
   22276 {
   22277   echo
   22278   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22279 ## Running $as_me. ##
   22280 _ASBOX
   22281   printf "%s\n" "$ac_log"
   22282 } >&5
   22283 
   22284 _ACEOF
   22285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22286 #
   22287 # INIT-COMMANDS
   22288 #
   22289 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   22290 
   22291 
   22292 # The HP-UX ksh and POSIX shell print the target directory to stdout
   22293 # if CDPATH is set.
   22294 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   22295 
   22296 sed_quote_subst='$sed_quote_subst'
   22297 double_quote_subst='$double_quote_subst'
   22298 delay_variable_subst='$delay_variable_subst'
   22299 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   22300 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   22301 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   22302 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   22303 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   22304 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   22305 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   22306 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   22307 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   22308 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   22309 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   22310 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   22311 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   22312 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   22313 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   22314 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   22315 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   22316 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   22317 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   22318 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   22319 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   22320 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   22321 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   22322 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   22323 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   22324 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   22325 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   22326 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   22327 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   22328 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   22329 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   22330 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   22331 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   22332 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   22333 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   22334 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   22335 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   22336 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   22337 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   22338 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   22339 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   22340 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   22341 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   22342 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   22343 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   22344 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   22345 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   22346 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   22347 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   22348 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22349 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22350 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   22351 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   22352 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   22353 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   22354 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   22355 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   22356 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   22357 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   22358 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   22359 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   22360 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"`'
   22361 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   22362 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   22363 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   22364 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   22365 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   22366 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   22367 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   22368 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   22369 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   22370 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   22371 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   22372 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   22373 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   22374 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   22375 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   22376 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   22377 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   22378 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   22379 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   22380 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   22381 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22382 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   22383 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22384 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22385 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22386 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22387 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22388 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22389 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22390 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22391 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22392 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22393 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22394 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22395 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22396 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22397 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22398 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22399 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22400 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22401 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22402 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22403 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22404 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22405 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22406 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22407 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22408 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22409 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22410 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22411 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22412 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22413 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22414 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22415 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22416 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22417 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22418 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22419 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22420 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22421 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22422 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22423 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22424 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22425 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22426 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22427 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22428 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22429 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22430 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22431 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22432 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22433 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22434 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22435 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22436 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22437 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   22438 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   22439 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   22440 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   22441 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   22442 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   22443 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   22444 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   22445 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22446 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22447 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   22448 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   22449 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   22450 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   22451 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   22452 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   22453 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   22454 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   22455 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   22456 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   22457 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   22458 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   22459 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22460 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22461 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22462 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22463 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22464 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22465 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   22466 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   22467 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   22468 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   22469 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   22470 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   22471 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   22472 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   22473 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   22474 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   22475 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   22476 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   22477 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   22478 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22479 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   22480 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   22481 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22482 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   22483 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   22484 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   22485 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   22486 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   22487 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   22488 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   22489 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   22490 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   22491 
   22492 LTCC='$LTCC'
   22493 LTCFLAGS='$LTCFLAGS'
   22494 compiler='$compiler_DEFAULT'
   22495 
   22496 # A function that is used when there is no print builtin or printf.
   22497 func_fallback_echo ()
   22498 {
   22499   eval 'cat <<_LTECHO_EOF
   22500 \$1
   22501 _LTECHO_EOF'
   22502 }
   22503 
   22504 # Quote evaled strings.
   22505 for var in AS \
   22506 DLLTOOL \
   22507 OBJDUMP \
   22508 SHELL \
   22509 ECHO \
   22510 PATH_SEPARATOR \
   22511 SED \
   22512 GREP \
   22513 EGREP \
   22514 FGREP \
   22515 LD \
   22516 NM \
   22517 LN_S \
   22518 lt_SP2NL \
   22519 lt_NL2SP \
   22520 reload_flag \
   22521 FILECMD \
   22522 deplibs_check_method \
   22523 file_magic_cmd \
   22524 file_magic_glob \
   22525 want_nocaseglob \
   22526 sharedlib_from_linklib_cmd \
   22527 AR \
   22528 archiver_list_spec \
   22529 STRIP \
   22530 RANLIB \
   22531 CC \
   22532 CFLAGS \
   22533 compiler \
   22534 lt_cv_sys_global_symbol_pipe \
   22535 lt_cv_sys_global_symbol_to_cdecl \
   22536 lt_cv_sys_global_symbol_to_import \
   22537 lt_cv_sys_global_symbol_to_c_name_address \
   22538 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22539 lt_cv_nm_interface \
   22540 nm_file_list_spec \
   22541 lt_cv_truncate_bin \
   22542 lt_prog_compiler_no_builtin_flag \
   22543 lt_prog_compiler_pic \
   22544 lt_prog_compiler_wl \
   22545 lt_prog_compiler_static \
   22546 lt_cv_prog_compiler_c_o \
   22547 need_locks \
   22548 MANIFEST_TOOL \
   22549 DSYMUTIL \
   22550 NMEDIT \
   22551 LIPO \
   22552 OTOOL \
   22553 OTOOL64 \
   22554 shrext_cmds \
   22555 export_dynamic_flag_spec \
   22556 whole_archive_flag_spec \
   22557 compiler_needs_object \
   22558 with_gnu_ld \
   22559 allow_undefined_flag \
   22560 no_undefined_flag \
   22561 hardcode_libdir_flag_spec \
   22562 hardcode_libdir_separator \
   22563 exclude_expsyms \
   22564 include_expsyms \
   22565 file_list_spec \
   22566 variables_saved_for_relink \
   22567 libname_spec \
   22568 library_names_spec \
   22569 soname_spec \
   22570 install_override_mode \
   22571 finish_eval \
   22572 old_striplib \
   22573 striplib \
   22574 compiler_lib_search_dirs \
   22575 predep_objects \
   22576 postdep_objects \
   22577 predeps \
   22578 postdeps \
   22579 compiler_lib_search_path \
   22580 LD_CXX \
   22581 reload_flag_CXX \
   22582 compiler_CXX \
   22583 lt_prog_compiler_no_builtin_flag_CXX \
   22584 lt_prog_compiler_pic_CXX \
   22585 lt_prog_compiler_wl_CXX \
   22586 lt_prog_compiler_static_CXX \
   22587 lt_cv_prog_compiler_c_o_CXX \
   22588 export_dynamic_flag_spec_CXX \
   22589 whole_archive_flag_spec_CXX \
   22590 compiler_needs_object_CXX \
   22591 with_gnu_ld_CXX \
   22592 allow_undefined_flag_CXX \
   22593 no_undefined_flag_CXX \
   22594 hardcode_libdir_flag_spec_CXX \
   22595 hardcode_libdir_separator_CXX \
   22596 exclude_expsyms_CXX \
   22597 include_expsyms_CXX \
   22598 file_list_spec_CXX \
   22599 compiler_lib_search_dirs_CXX \
   22600 predep_objects_CXX \
   22601 postdep_objects_CXX \
   22602 predeps_CXX \
   22603 postdeps_CXX \
   22604 compiler_lib_search_path_CXX; do
   22605     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22606     *[\\\\\\\`\\"\\\$]*)
   22607       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22608       ;;
   22609     *)
   22610       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22611       ;;
   22612     esac
   22613 done
   22614 
   22615 # Double-quote double-evaled strings.
   22616 for var in reload_cmds \
   22617 old_postinstall_cmds \
   22618 old_postuninstall_cmds \
   22619 old_archive_cmds \
   22620 extract_expsyms_cmds \
   22621 old_archive_from_new_cmds \
   22622 old_archive_from_expsyms_cmds \
   22623 archive_cmds \
   22624 archive_expsym_cmds \
   22625 module_cmds \
   22626 module_expsym_cmds \
   22627 export_symbols_cmds \
   22628 prelink_cmds \
   22629 postlink_cmds \
   22630 postinstall_cmds \
   22631 postuninstall_cmds \
   22632 finish_cmds \
   22633 sys_lib_search_path_spec \
   22634 configure_time_dlsearch_path \
   22635 configure_time_lt_sys_library_path \
   22636 reload_cmds_CXX \
   22637 old_archive_cmds_CXX \
   22638 old_archive_from_new_cmds_CXX \
   22639 old_archive_from_expsyms_cmds_CXX \
   22640 archive_cmds_CXX \
   22641 archive_expsym_cmds_CXX \
   22642 module_cmds_CXX \
   22643 module_expsym_cmds_CXX \
   22644 export_symbols_cmds_CXX \
   22645 prelink_cmds_CXX \
   22646 postlink_cmds_CXX; do
   22647     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22648     *[\\\\\\\`\\"\\\$]*)
   22649       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22650       ;;
   22651     *)
   22652       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22653       ;;
   22654     esac
   22655 done
   22656 
   22657 ac_aux_dir='$ac_aux_dir'
   22658 
   22659 # See if we are running on zsh, and set the options that allow our
   22660 # commands through without removal of \ escapes INIT.
   22661 if test -n "\${ZSH_VERSION+set}"; then
   22662    setopt NO_GLOB_SUBST
   22663 fi
   22664 
   22665 
   22666     PACKAGE='$PACKAGE'
   22667     VERSION='$VERSION'
   22668     RM='$RM'
   22669     ofile='$ofile'
   22670 
   22671 
   22672 
   22673 
   22674 
   22675 
   22676 _ACEOF
   22677 
   22678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22679 
   22680 # Handling of arguments.
   22681 for ac_config_target in $ac_config_targets
   22682 do
   22683   case $ac_config_target in
   22684     "expat_config.h") CONFIG_HEADERS="$CONFIG_HEADERS expat_config.h" ;;
   22685     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22686     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22687     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22688     "expat.pc") CONFIG_FILES="$CONFIG_FILES expat.pc" ;;
   22689     "cmake/expat-config.cmake") CONFIG_FILES="$CONFIG_FILES cmake/expat-config.cmake" ;;
   22690     "cmake/autotools/expat-config-version.cmake") CONFIG_FILES="$CONFIG_FILES cmake/autotools/expat-config-version.cmake" ;;
   22691     "cmake/autotools/expat-noconfig.cmake") CONFIG_FILES="$CONFIG_FILES cmake/autotools/expat-noconfig.cmake:${CMAKE_NOCONFIG_SOURCE}" ;;
   22692     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   22693     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
   22694     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   22695     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   22696     "tests/benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES tests/benchmark/Makefile" ;;
   22697     "xmlwf/Makefile") CONFIG_FILES="$CONFIG_FILES xmlwf/Makefile" ;;
   22698     "run.sh") CONFIG_FILES="$CONFIG_FILES run.sh" ;;
   22699 
   22700   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   22701   esac
   22702 done
   22703 
   22704 
   22705 # If the user did not use the arguments to specify the items to instantiate,
   22706 # then the envvar interface is used.  Set only those that are not.
   22707 # We use the long form for the default assignment because of an extremely
   22708 # bizarre bug on SunOS 4.1.3.
   22709 if $ac_need_defaults; then
   22710   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   22711   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   22712   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   22713 fi
   22714 
   22715 # Have a temporary directory for convenience.  Make it in the build tree
   22716 # simply because there is no reason against having it here, and in addition,
   22717 # creating and moving files from /tmp can sometimes cause problems.
   22718 # Hook for its removal unless debugging.
   22719 # Note that there is a small window in which the directory will not be cleaned:
   22720 # after its creation but before its name has been assigned to `$tmp'.
   22721 $debug ||
   22722 {
   22723   tmp= ac_tmp=
   22724   trap 'exit_status=$?
   22725   : "${ac_tmp:=$tmp}"
   22726   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22727 ' 0
   22728   trap 'as_fn_exit 1' 1 2 13 15
   22729 }
   22730 # Create a (secure) tmp directory for tmp files.
   22731 
   22732 {
   22733   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22734   test -d "$tmp"
   22735 }  ||
   22736 {
   22737   tmp=./conf$$-$RANDOM
   22738   (umask 077 && mkdir "$tmp")
   22739 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22740 ac_tmp=$tmp
   22741 
   22742 # Set up the scripts for CONFIG_FILES section.
   22743 # No need to generate them if there are no CONFIG_FILES.
   22744 # This happens for instance with `./config.status config.h'.
   22745 if test -n "$CONFIG_FILES"; then
   22746 
   22747 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   22748   ac_cs_awk_getline=:
   22749   ac_cs_awk_pipe_init=
   22750   ac_cs_awk_read_file='
   22751       while ((getline aline < (F[key])) > 0)
   22752 	print(aline)
   22753       close(F[key])'
   22754   ac_cs_awk_pipe_fini=
   22755 else
   22756   ac_cs_awk_getline=false
   22757   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   22758   ac_cs_awk_read_file='
   22759       print "|#_!!_#|"
   22760       print "cat " F[key] " &&"
   22761       '$ac_cs_awk_pipe_init
   22762   # The final `:' finishes the AND list.
   22763   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   22764 fi
   22765 ac_cr=`echo X | tr X '\015'`
   22766 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22767 # But we know of no other shell where ac_cr would be empty at this
   22768 # point, so we can use a bashism as a fallback.
   22769 if test "x$ac_cr" = x; then
   22770   eval ac_cr=\$\'\\r\'
   22771 fi
   22772 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22773 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22774   ac_cs_awk_cr='\\r'
   22775 else
   22776   ac_cs_awk_cr=$ac_cr
   22777 fi
   22778 
   22779 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22780 _ACEOF
   22781 
   22782 # Create commands to substitute file output variables.
   22783 {
   22784   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   22785   echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
   22786   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   22787   echo "_ACAWK" &&
   22788   echo "_ACEOF"
   22789 } >conf$$files.sh &&
   22790 . ./conf$$files.sh ||
   22791   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22792 rm -f conf$$files.sh
   22793 
   22794 {
   22795   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22796   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22797   echo "_ACEOF"
   22798 } >conf$$subs.sh ||
   22799   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22800 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22801 ac_delim='%!_!# '
   22802 for ac_last_try in false false false false false :; do
   22803   . ./conf$$subs.sh ||
   22804     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22805 
   22806   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22807   if test $ac_delim_n = $ac_delim_num; then
   22808     break
   22809   elif $ac_last_try; then
   22810     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22811   else
   22812     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22813   fi
   22814 done
   22815 rm -f conf$$subs.sh
   22816 
   22817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22818 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22819 _ACEOF
   22820 sed -n '
   22821 h
   22822 s/^/S["/; s/!.*/"]=/
   22823 p
   22824 g
   22825 s/^[^!]*!//
   22826 :repl
   22827 t repl
   22828 s/'"$ac_delim"'$//
   22829 t delim
   22830 :nl
   22831 h
   22832 s/\(.\{148\}\)..*/\1/
   22833 t more1
   22834 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22835 p
   22836 n
   22837 b repl
   22838 :more1
   22839 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22840 p
   22841 g
   22842 s/.\{148\}//
   22843 t nl
   22844 :delim
   22845 h
   22846 s/\(.\{148\}\)..*/\1/
   22847 t more2
   22848 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22849 p
   22850 b
   22851 :more2
   22852 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22853 p
   22854 g
   22855 s/.\{148\}//
   22856 t delim
   22857 ' <conf$$subs.awk | sed '
   22858 /^[^""]/{
   22859   N
   22860   s/\n//
   22861 }
   22862 ' >>$CONFIG_STATUS || ac_write_fail=1
   22863 rm -f conf$$subs.awk
   22864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22865 _ACAWK
   22866 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22867   for (key in S) S_is_set[key] = 1
   22868   FS = ""
   22869   \$ac_cs_awk_pipe_init
   22870 }
   22871 {
   22872   line = $ 0
   22873   nfields = split(line, field, "@")
   22874   substed = 0
   22875   len = length(field[1])
   22876   for (i = 2; i < nfields; i++) {
   22877     key = field[i]
   22878     keylen = length(key)
   22879     if (S_is_set[key]) {
   22880       value = S[key]
   22881       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22882       len += length(value) + length(field[++i])
   22883       substed = 1
   22884     } else
   22885       len += 1 + keylen
   22886   }
   22887   if (nfields == 3 && !substed) {
   22888     key = field[2]
   22889     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   22890       \$ac_cs_awk_read_file
   22891       next
   22892     }
   22893   }
   22894   print line
   22895 }
   22896 \$ac_cs_awk_pipe_fini
   22897 _ACAWK
   22898 _ACEOF
   22899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22900 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22901   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22902 else
   22903   cat
   22904 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22905   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22906 _ACEOF
   22907 
   22908 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22909 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22910 # trailing colons and then remove the whole line if VPATH becomes empty
   22911 # (actually we leave an empty line to preserve line numbers).
   22912 if test "x$srcdir" = x.; then
   22913   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22914 h
   22915 s///
   22916 s/^/:/
   22917 s/[	 ]*$/:/
   22918 s/:\$(srcdir):/:/g
   22919 s/:\${srcdir}:/:/g
   22920 s/:@srcdir@:/:/g
   22921 s/^:*//
   22922 s/:*$//
   22923 x
   22924 s/\(=[	 ]*\).*/\1/
   22925 G
   22926 s/\n//
   22927 s/^[^=]*=[	 ]*$//
   22928 }'
   22929 fi
   22930 
   22931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22932 fi # test -n "$CONFIG_FILES"
   22933 
   22934 # Set up the scripts for CONFIG_HEADERS section.
   22935 # No need to generate them if there are no CONFIG_HEADERS.
   22936 # This happens for instance with `./config.status Makefile'.
   22937 if test -n "$CONFIG_HEADERS"; then
   22938 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22939 BEGIN {
   22940 _ACEOF
   22941 
   22942 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22943 # here-document in config.status, that substitutes the proper values into
   22944 # config.h.in to produce config.h.
   22945 
   22946 # Create a delimiter string that does not exist in confdefs.h, to ease
   22947 # handling of long lines.
   22948 ac_delim='%!_!# '
   22949 for ac_last_try in false false :; do
   22950   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22951   if test -z "$ac_tt"; then
   22952     break
   22953   elif $ac_last_try; then
   22954     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22955   else
   22956     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22957   fi
   22958 done
   22959 
   22960 # For the awk script, D is an array of macro values keyed by name,
   22961 # likewise P contains macro parameters if any.  Preserve backslash
   22962 # newline sequences.
   22963 
   22964 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22965 sed -n '
   22966 s/.\{148\}/&'"$ac_delim"'/g
   22967 t rset
   22968 :rset
   22969 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22970 t def
   22971 d
   22972 :def
   22973 s/\\$//
   22974 t bsnl
   22975 s/["\\]/\\&/g
   22976 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22977 D["\1"]=" \3"/p
   22978 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22979 d
   22980 :bsnl
   22981 s/["\\]/\\&/g
   22982 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22983 D["\1"]=" \3\\\\\\n"\\/p
   22984 t cont
   22985 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22986 t cont
   22987 d
   22988 :cont
   22989 n
   22990 s/.\{148\}/&'"$ac_delim"'/g
   22991 t clear
   22992 :clear
   22993 s/\\$//
   22994 t bsnlc
   22995 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22996 d
   22997 :bsnlc
   22998 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22999 b cont
   23000 ' <confdefs.h | sed '
   23001 s/'"$ac_delim"'/"\\\
   23002 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23003 
   23004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23005   for (key in D) D_is_set[key] = 1
   23006   FS = ""
   23007 }
   23008 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23009   line = \$ 0
   23010   split(line, arg, " ")
   23011   if (arg[1] == "#") {
   23012     defundef = arg[2]
   23013     mac1 = arg[3]
   23014   } else {
   23015     defundef = substr(arg[1], 2)
   23016     mac1 = arg[2]
   23017   }
   23018   split(mac1, mac2, "(") #)
   23019   macro = mac2[1]
   23020   prefix = substr(line, 1, index(line, defundef) - 1)
   23021   if (D_is_set[macro]) {
   23022     # Preserve the white space surrounding the "#".
   23023     print prefix "define", macro P[macro] D[macro]
   23024     next
   23025   } else {
   23026     # Replace #undef with comments.  This is necessary, for example,
   23027     # in the case of _POSIX_SOURCE, which is predefined and required
   23028     # on some systems where configure will not decide to define it.
   23029     if (defundef == "undef") {
   23030       print "/*", prefix defundef, macro, "*/"
   23031       next
   23032     }
   23033   }
   23034 }
   23035 { print }
   23036 _ACAWK
   23037 _ACEOF
   23038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23039   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   23040 fi # test -n "$CONFIG_HEADERS"
   23041 
   23042 
   23043 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23044 shift
   23045 for ac_tag
   23046 do
   23047   case $ac_tag in
   23048   :[FHLC]) ac_mode=$ac_tag; continue;;
   23049   esac
   23050   case $ac_mode$ac_tag in
   23051   :[FHL]*:*);;
   23052   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   23053   :[FH]-) ac_tag=-:-;;
   23054   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23055   esac
   23056   ac_save_IFS=$IFS
   23057   IFS=:
   23058   set x $ac_tag
   23059   IFS=$ac_save_IFS
   23060   shift
   23061   ac_file=$1
   23062   shift
   23063 
   23064   case $ac_mode in
   23065   :L) ac_source=$1;;
   23066   :[FH])
   23067     ac_file_inputs=
   23068     for ac_f
   23069     do
   23070       case $ac_f in
   23071       -) ac_f="$ac_tmp/stdin";;
   23072       *) # Look for the file first in the build tree, then in the source tree
   23073 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23074 	 # because $ac_f cannot contain `:'.
   23075 	 test -f "$ac_f" ||
   23076 	   case $ac_f in
   23077 	   [\\/$]*) false;;
   23078 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23079 	   esac ||
   23080 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   23081       esac
   23082       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23083       as_fn_append ac_file_inputs " '$ac_f'"
   23084     done
   23085 
   23086     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23087     # use $as_me), people would be surprised to read:
   23088     #    /* config.h.  Generated by config.status.  */
   23089     configure_input='Generated from '`
   23090 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23091 	`' by configure.'
   23092     if test x"$ac_file" != x-; then
   23093       configure_input="$ac_file.  $configure_input"
   23094       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   23095 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   23096     fi
   23097     # Neutralize special characters interpreted by sed in replacement strings.
   23098     case $configure_input in #(
   23099     *\&* | *\|* | *\\* )
   23100        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   23101        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23102     *) ac_sed_conf_input=$configure_input;;
   23103     esac
   23104 
   23105     case $ac_tag in
   23106     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   23107       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   23108     esac
   23109     ;;
   23110   esac
   23111 
   23112   ac_dir=`$as_dirname -- "$ac_file" ||
   23113 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23114 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23115 	 X"$ac_file" : 'X\(//\)$' \| \
   23116 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23117 printf "%s\n" X"$ac_file" |
   23118     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23119 	    s//\1/
   23120 	    q
   23121 	  }
   23122 	  /^X\(\/\/\)[^/].*/{
   23123 	    s//\1/
   23124 	    q
   23125 	  }
   23126 	  /^X\(\/\/\)$/{
   23127 	    s//\1/
   23128 	    q
   23129 	  }
   23130 	  /^X\(\/\).*/{
   23131 	    s//\1/
   23132 	    q
   23133 	  }
   23134 	  s/.*/./; q'`
   23135   as_dir="$ac_dir"; as_fn_mkdir_p
   23136   ac_builddir=.
   23137 
   23138 case "$ac_dir" in
   23139 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23140 *)
   23141   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   23142   # A ".." for each directory in $ac_dir_suffix.
   23143   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23144   case $ac_top_builddir_sub in
   23145   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23146   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23147   esac ;;
   23148 esac
   23149 ac_abs_top_builddir=$ac_pwd
   23150 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23151 # for backward compatibility:
   23152 ac_top_builddir=$ac_top_build_prefix
   23153 
   23154 case $srcdir in
   23155   .)  # We are building in place.
   23156     ac_srcdir=.
   23157     ac_top_srcdir=$ac_top_builddir_sub
   23158     ac_abs_top_srcdir=$ac_pwd ;;
   23159   [\\/]* | ?:[\\/]* )  # Absolute name.
   23160     ac_srcdir=$srcdir$ac_dir_suffix;
   23161     ac_top_srcdir=$srcdir
   23162     ac_abs_top_srcdir=$srcdir ;;
   23163   *) # Relative name.
   23164     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23165     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23166     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23167 esac
   23168 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23169 
   23170 
   23171   case $ac_mode in
   23172   :F)
   23173   #
   23174   # CONFIG_FILE
   23175   #
   23176 
   23177   case $INSTALL in
   23178   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23179   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23180   esac
   23181   ac_MKDIR_P=$MKDIR_P
   23182   case $MKDIR_P in
   23183   [\\/$]* | ?:[\\/]* ) ;;
   23184   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23185   esac
   23186 _ACEOF
   23187 
   23188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23189 # If the template does not know about datarootdir, expand it.
   23190 # FIXME: This hack should be removed a few years after 2.60.
   23191 ac_datarootdir_hack=; ac_datarootdir_seen=
   23192 ac_sed_dataroot='
   23193 /datarootdir/ {
   23194   p
   23195   q
   23196 }
   23197 /@datadir@/p
   23198 /@docdir@/p
   23199 /@infodir@/p
   23200 /@localedir@/p
   23201 /@mandir@/p'
   23202 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23203 *datarootdir*) ac_datarootdir_seen=yes;;
   23204 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23206 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23207 _ACEOF
   23208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23209   ac_datarootdir_hack='
   23210   s&@datadir@&$datadir&g
   23211   s&@docdir@&$docdir&g
   23212   s&@infodir@&$infodir&g
   23213   s&@localedir@&$localedir&g
   23214   s&@mandir@&$mandir&g
   23215   s&\\\${datarootdir}&$datarootdir&g' ;;
   23216 esac
   23217 _ACEOF
   23218 
   23219 # Neutralize VPATH when `$srcdir' = `.'.
   23220 # Shell code in configure.ac might set extrasub.
   23221 # FIXME: do we really want to maintain this feature?
   23222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23223 ac_sed_extra="$ac_vpsub
   23224 $extrasub
   23225 _ACEOF
   23226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23227 :t
   23228 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23229 s|@configure_input@|$ac_sed_conf_input|;t t
   23230 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23231 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23232 s&@srcdir@&$ac_srcdir&;t t
   23233 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23234 s&@top_srcdir@&$ac_top_srcdir&;t t
   23235 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23236 s&@builddir@&$ac_builddir&;t t
   23237 s&@abs_builddir@&$ac_abs_builddir&;t t
   23238 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23239 s&@INSTALL@&$ac_INSTALL&;t t
   23240 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23241 $ac_datarootdir_hack
   23242 "
   23243 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   23244 if $ac_cs_awk_getline; then
   23245   $AWK -f "$ac_tmp/subs.awk"
   23246 else
   23247   $AWK -f "$ac_tmp/subs.awk" | $SHELL
   23248 fi \
   23249   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23250 
   23251 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23252   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   23253   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   23254       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   23255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23256 which seems to be undefined.  Please make sure it is defined" >&5
   23257 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23258 which seems to be undefined.  Please make sure it is defined" >&2;}
   23259 
   23260   rm -f "$ac_tmp/stdin"
   23261   case $ac_file in
   23262   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   23263   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   23264   esac \
   23265   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23266  ;;
   23267   :H)
   23268   #
   23269   # CONFIG_HEADER
   23270   #
   23271   if test x"$ac_file" != x-; then
   23272     {
   23273       printf "%s\n" "/* $configure_input  */" >&1 \
   23274       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   23275     } >"$ac_tmp/config.h" \
   23276       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23277     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   23278       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   23279 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   23280     else
   23281       rm -f "$ac_file"
   23282       mv "$ac_tmp/config.h" "$ac_file" \
   23283 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23284     fi
   23285   else
   23286     printf "%s\n" "/* $configure_input  */" >&1 \
   23287       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   23288       || as_fn_error $? "could not create -" "$LINENO" 5
   23289   fi
   23290 # Compute "$ac_file"'s index in $config_headers.
   23291 _am_arg="$ac_file"
   23292 _am_stamp_count=1
   23293 for _am_header in $config_headers :; do
   23294   case $_am_header in
   23295     $_am_arg | $_am_arg:* )
   23296       break ;;
   23297     * )
   23298       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23299   esac
   23300 done
   23301 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23302 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23303 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23304 	 X"$_am_arg" : 'X\(//\)$' \| \
   23305 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23306 printf "%s\n" X"$_am_arg" |
   23307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23308 	    s//\1/
   23309 	    q
   23310 	  }
   23311 	  /^X\(\/\/\)[^/].*/{
   23312 	    s//\1/
   23313 	    q
   23314 	  }
   23315 	  /^X\(\/\/\)$/{
   23316 	    s//\1/
   23317 	    q
   23318 	  }
   23319 	  /^X\(\/\).*/{
   23320 	    s//\1/
   23321 	    q
   23322 	  }
   23323 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23324  ;;
   23325 
   23326   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   23327 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   23328  ;;
   23329   esac
   23330 
   23331 
   23332   case $ac_file$ac_mode in
   23333     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23334   # Older Autoconf quotes --file arguments for eval, but not when files
   23335   # are listed without --file.  Let's play safe and only enable the eval
   23336   # if we detect the quoting.
   23337   # TODO: see whether this extra hack can be removed once we start
   23338   # requiring Autoconf 2.70 or later.
   23339   case $CONFIG_FILES in #(
   23340   *\'*) :
   23341     eval set x "$CONFIG_FILES" ;; #(
   23342   *) :
   23343     set x $CONFIG_FILES ;; #(
   23344   *) :
   23345      ;;
   23346 esac
   23347   shift
   23348   # Used to flag and report bootstrapping failures.
   23349   am_rc=0
   23350   for am_mf
   23351   do
   23352     # Strip MF so we end up with the name of the file.
   23353     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   23354     # Check whether this is an Automake generated Makefile which includes
   23355     # dependency-tracking related rules and includes.
   23356     # Grep'ing the whole file directly is not great: AIX grep has a line
   23357     # limit of 2048, but all sed's we know have understand at least 4000.
   23358     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   23359       || continue
   23360     am_dirpart=`$as_dirname -- "$am_mf" ||
   23361 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23362 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   23363 	 X"$am_mf" : 'X\(//\)$' \| \
   23364 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23365 printf "%s\n" X"$am_mf" |
   23366     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23367 	    s//\1/
   23368 	    q
   23369 	  }
   23370 	  /^X\(\/\/\)[^/].*/{
   23371 	    s//\1/
   23372 	    q
   23373 	  }
   23374 	  /^X\(\/\/\)$/{
   23375 	    s//\1/
   23376 	    q
   23377 	  }
   23378 	  /^X\(\/\).*/{
   23379 	    s//\1/
   23380 	    q
   23381 	  }
   23382 	  s/.*/./; q'`
   23383     am_filepart=`$as_basename -- "$am_mf" ||
   23384 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   23385 	 X"$am_mf" : 'X\(//\)$' \| \
   23386 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23387 printf "%s\n" X/"$am_mf" |
   23388     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23389 	    s//\1/
   23390 	    q
   23391 	  }
   23392 	  /^X\/\(\/\/\)$/{
   23393 	    s//\1/
   23394 	    q
   23395 	  }
   23396 	  /^X\/\(\/\).*/{
   23397 	    s//\1/
   23398 	    q
   23399 	  }
   23400 	  s/.*/./; q'`
   23401     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   23402       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23403         | $MAKE -f - am--depfiles" >&5
   23404    (cd "$am_dirpart" \
   23405       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23406         | $MAKE -f - am--depfiles) >&5 2>&5
   23407    ac_status=$?
   23408    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23409    (exit $ac_status); } || am_rc=$?
   23410   done
   23411   if test $am_rc -ne 0; then
   23412     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23413 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   23414 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   23415     for automatic dependency tracking.  If GNU make was not used, consider
   23416     re-running the configure script with MAKE=\"gmake\" (or whatever is
   23417     necessary).  You can also try re-running configure with the
   23418     '--disable-dependency-tracking' option to at least be able to build
   23419     the package (albeit without support for automatic dependency tracking).
   23420 See \`config.log' for more details" "$LINENO" 5; }
   23421   fi
   23422   { am_dirpart=; unset am_dirpart;}
   23423   { am_filepart=; unset am_filepart;}
   23424   { am_mf=; unset am_mf;}
   23425   { am_rc=; unset am_rc;}
   23426   rm -f conftest-deps.mk
   23427 }
   23428  ;;
   23429     "libtool":C)
   23430 
   23431     # See if we are running on zsh, and set the options that allow our
   23432     # commands through without removal of \ escapes.
   23433     if test -n "${ZSH_VERSION+set}"; then
   23434       setopt NO_GLOB_SUBST
   23435     fi
   23436 
   23437     cfgfile=${ofile}T
   23438     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   23439     $RM "$cfgfile"
   23440 
   23441     cat <<_LT_EOF >> "$cfgfile"
   23442 #! $SHELL
   23443 # Generated automatically by $as_me ($PACKAGE) $VERSION
   23444 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   23445 
   23446 # Provide generalized library-building support services.
   23447 # Written by Gordon Matzigkeit, 1996
   23448 
   23449 # Copyright (C) 2024 Free Software Foundation, Inc.
   23450 # This is free software; see the source for copying conditions.  There is NO
   23451 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   23452 
   23453 # GNU Libtool is free software; you can redistribute it and/or modify
   23454 # it under the terms of the GNU General Public License as published by
   23455 # the Free Software Foundation; either version 2 of the License, or
   23456 # (at your option) any later version.
   23457 #
   23458 # As a special exception to the GNU General Public License, if you
   23459 # distribute this file as part of a program or library that is built
   23460 # using GNU Libtool, you may include this file under the  same
   23461 # distribution terms that you use for the rest of that program.
   23462 #
   23463 # GNU Libtool is distributed in the hope that it will be useful, but
   23464 # WITHOUT ANY WARRANTY; without even the implied warranty of
   23465 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   23466 # GNU General Public License for more details.
   23467 #
   23468 # You should have received a copy of the GNU General Public License
   23469 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   23470 
   23471 
   23472 # The names of the tagged configurations supported by this script.
   23473 available_tags='CXX '
   23474 
   23475 # Configured defaults for sys_lib_dlsearch_path munging.
   23476 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   23477 
   23478 # ### BEGIN LIBTOOL CONFIG
   23479 
   23480 # Which release of libtool.m4 was used?
   23481 macro_version=$macro_version
   23482 macro_revision=$macro_revision
   23483 
   23484 # Assembler program.
   23485 AS=$lt_AS
   23486 
   23487 # DLL creation program.
   23488 DLLTOOL=$lt_DLLTOOL
   23489 
   23490 # Object dumper program.
   23491 OBJDUMP=$lt_OBJDUMP
   23492 
   23493 # Whether or not to build shared libraries.
   23494 build_libtool_libs=$enable_shared
   23495 
   23496 # Whether or not to build static libraries.
   23497 build_old_libs=$enable_static
   23498 
   23499 # What type of objects to build.
   23500 pic_mode=$pic_mode
   23501 
   23502 # Whether or not to optimize for fast installation.
   23503 fast_install=$enable_fast_install
   23504 
   23505 # Shared archive member basename,for filename based shared library versioning on AIX.
   23506 shared_archive_member_spec=$shared_archive_member_spec
   23507 
   23508 # Shell to use when invoking shell scripts.
   23509 SHELL=$lt_SHELL
   23510 
   23511 # An echo program that protects backslashes.
   23512 ECHO=$lt_ECHO
   23513 
   23514 # The PATH separator for the build system.
   23515 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23516 
   23517 # The host system.
   23518 host_alias=$host_alias
   23519 host=$host
   23520 host_os=$host_os
   23521 
   23522 # The build system.
   23523 build_alias=$build_alias
   23524 build=$build
   23525 build_os=$build_os
   23526 
   23527 # A sed program that does not truncate output.
   23528 SED=$lt_SED
   23529 
   23530 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23531 Xsed="\$SED -e 1s/^X//"
   23532 
   23533 # A grep program that handles long lines.
   23534 GREP=$lt_GREP
   23535 
   23536 # An ERE matcher.
   23537 EGREP=$lt_EGREP
   23538 
   23539 # A literal string matcher.
   23540 FGREP=$lt_FGREP
   23541 
   23542 # A BSD- or MS-compatible name lister.
   23543 NM=$lt_NM
   23544 
   23545 # Whether we need soft or hard links.
   23546 LN_S=$lt_LN_S
   23547 
   23548 # What is the maximum length of a command?
   23549 max_cmd_len=$max_cmd_len
   23550 
   23551 # Object file suffix (normally "o").
   23552 objext=$ac_objext
   23553 
   23554 # Executable file suffix (normally "").
   23555 exeext=$exeext
   23556 
   23557 # whether the shell understands "unset".
   23558 lt_unset=$lt_unset
   23559 
   23560 # turn spaces into newlines.
   23561 SP2NL=$lt_lt_SP2NL
   23562 
   23563 # turn newlines into spaces.
   23564 NL2SP=$lt_lt_NL2SP
   23565 
   23566 # convert \$build file names to \$host format.
   23567 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23568 
   23569 # convert \$build files to toolchain format.
   23570 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23571 
   23572 # A file(cmd) program that detects file types.
   23573 FILECMD=$lt_FILECMD
   23574 
   23575 # Method to check whether dependent libraries are shared objects.
   23576 deplibs_check_method=$lt_deplibs_check_method
   23577 
   23578 # Command to use when deplibs_check_method = "file_magic".
   23579 file_magic_cmd=$lt_file_magic_cmd
   23580 
   23581 # How to find potential files when deplibs_check_method = "file_magic".
   23582 file_magic_glob=$lt_file_magic_glob
   23583 
   23584 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23585 want_nocaseglob=$lt_want_nocaseglob
   23586 
   23587 # Command to associate shared and link libraries.
   23588 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23589 
   23590 # The archiver.
   23591 AR=$lt_AR
   23592 
   23593 # Flags to create an archive (by configure).
   23594 lt_ar_flags=$lt_ar_flags
   23595 
   23596 # Flags to create an archive.
   23597 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   23598 
   23599 # How to feed a file listing to the archiver.
   23600 archiver_list_spec=$lt_archiver_list_spec
   23601 
   23602 # A symbol stripping program.
   23603 STRIP=$lt_STRIP
   23604 
   23605 # Commands used to install an old-style archive.
   23606 RANLIB=$lt_RANLIB
   23607 old_postinstall_cmds=$lt_old_postinstall_cmds
   23608 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23609 
   23610 # Whether to use a lock for old archive extraction.
   23611 lock_old_archive_extraction=$lock_old_archive_extraction
   23612 
   23613 # A C compiler.
   23614 LTCC=$lt_CC
   23615 
   23616 # LTCC compiler flags.
   23617 LTCFLAGS=$lt_CFLAGS
   23618 
   23619 # Take the output of nm and produce a listing of raw symbols and C names.
   23620 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23621 
   23622 # Transform the output of nm in a proper C declaration.
   23623 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23624 
   23625 # Transform the output of nm into a list of symbols to manually relocate.
   23626 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23627 
   23628 # Transform the output of nm in a C name address pair.
   23629 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23630 
   23631 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23632 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23633 
   23634 # The name lister interface.
   23635 nm_interface=$lt_lt_cv_nm_interface
   23636 
   23637 # Specify filename containing input files for \$NM.
   23638 nm_file_list_spec=$lt_nm_file_list_spec
   23639 
   23640 # The root where to search for dependent libraries,and where our libraries should be installed.
   23641 lt_sysroot=$lt_sysroot
   23642 
   23643 # Command to truncate a binary pipe.
   23644 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23645 
   23646 # The name of the directory that contains temporary libtool files.
   23647 objdir=$objdir
   23648 
   23649 # Used to examine libraries when file_magic_cmd begins with "file".
   23650 MAGIC_CMD=$MAGIC_CMD
   23651 
   23652 # Must we lock files when doing compilation?
   23653 need_locks=$lt_need_locks
   23654 
   23655 # Manifest tool.
   23656 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23657 
   23658 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23659 DSYMUTIL=$lt_DSYMUTIL
   23660 
   23661 # Tool to change global to local symbols on Mac OS X.
   23662 NMEDIT=$lt_NMEDIT
   23663 
   23664 # Tool to manipulate fat objects and archives on Mac OS X.
   23665 LIPO=$lt_LIPO
   23666 
   23667 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23668 OTOOL=$lt_OTOOL
   23669 
   23670 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23671 OTOOL64=$lt_OTOOL64
   23672 
   23673 # Old archive suffix (normally "a").
   23674 libext=$libext
   23675 
   23676 # Shared library suffix (normally ".so").
   23677 shrext_cmds=$lt_shrext_cmds
   23678 
   23679 # The commands to extract the exported symbol list from a shared archive.
   23680 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23681 
   23682 # Variables whose values should be saved in libtool wrapper scripts and
   23683 # restored at link time.
   23684 variables_saved_for_relink=$lt_variables_saved_for_relink
   23685 
   23686 # Do we need the "lib" prefix for modules?
   23687 need_lib_prefix=$need_lib_prefix
   23688 
   23689 # Do we need a version for libraries?
   23690 need_version=$need_version
   23691 
   23692 # Library versioning type.
   23693 version_type=$version_type
   23694 
   23695 # Shared library runtime path variable.
   23696 runpath_var=$runpath_var
   23697 
   23698 # Shared library path variable.
   23699 shlibpath_var=$shlibpath_var
   23700 
   23701 # Is shlibpath searched before the hard-coded library search path?
   23702 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23703 
   23704 # Format of library name prefix.
   23705 libname_spec=$lt_libname_spec
   23706 
   23707 # List of archive names.  First name is the real one, the rest are links.
   23708 # The last name is the one that the linker finds with -lNAME
   23709 library_names_spec=$lt_library_names_spec
   23710 
   23711 # The coded name of the library, if different from the real name.
   23712 soname_spec=$lt_soname_spec
   23713 
   23714 # Permission mode override for installation of shared libraries.
   23715 install_override_mode=$lt_install_override_mode
   23716 
   23717 # Command to use after installation of a shared archive.
   23718 postinstall_cmds=$lt_postinstall_cmds
   23719 
   23720 # Command to use after uninstallation of a shared archive.
   23721 postuninstall_cmds=$lt_postuninstall_cmds
   23722 
   23723 # Commands used to finish a libtool library installation in a directory.
   23724 finish_cmds=$lt_finish_cmds
   23725 
   23726 # As "finish_cmds", except a single script fragment to be evaled but
   23727 # not shown.
   23728 finish_eval=$lt_finish_eval
   23729 
   23730 # Whether we should hardcode library paths into libraries.
   23731 hardcode_into_libs=$hardcode_into_libs
   23732 
   23733 # Compile-time system search path for libraries.
   23734 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23735 
   23736 # Detected run-time system search path for libraries.
   23737 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23738 
   23739 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23740 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23741 
   23742 # Whether dlopen is supported.
   23743 dlopen_support=$enable_dlopen
   23744 
   23745 # Whether dlopen of programs is supported.
   23746 dlopen_self=$enable_dlopen_self
   23747 
   23748 # Whether dlopen of statically linked programs is supported.
   23749 dlopen_self_static=$enable_dlopen_self_static
   23750 
   23751 # Commands to strip libraries.
   23752 old_striplib=$lt_old_striplib
   23753 striplib=$lt_striplib
   23754 
   23755 
   23756 # The linker used to build libraries.
   23757 LD=$lt_LD
   23758 
   23759 # How to create reloadable object files.
   23760 reload_flag=$lt_reload_flag
   23761 reload_cmds=$lt_reload_cmds
   23762 
   23763 # Commands used to build an old-style archive.
   23764 old_archive_cmds=$lt_old_archive_cmds
   23765 
   23766 # A language specific compiler.
   23767 CC=$lt_compiler
   23768 
   23769 # Is the compiler the GNU compiler?
   23770 with_gcc=$GCC
   23771 
   23772 # Compiler flag to turn off builtin functions.
   23773 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23774 
   23775 # Additional compiler flags for building library objects.
   23776 pic_flag=$lt_lt_prog_compiler_pic
   23777 
   23778 # How to pass a linker flag through the compiler.
   23779 wl=$lt_lt_prog_compiler_wl
   23780 
   23781 # Compiler flag to prevent dynamic linking.
   23782 link_static_flag=$lt_lt_prog_compiler_static
   23783 
   23784 # Does compiler simultaneously support -c and -o options?
   23785 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23786 
   23787 # Whether or not to add -lc for building shared libraries.
   23788 build_libtool_need_lc=$archive_cmds_need_lc
   23789 
   23790 # Whether or not to disallow shared libs when runtime libs are static.
   23791 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23792 
   23793 # Compiler flag to allow reflexive dlopens.
   23794 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23795 
   23796 # Compiler flag to generate shared objects directly from archives.
   23797 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23798 
   23799 # Whether the compiler copes with passing no objects directly.
   23800 compiler_needs_object=$lt_compiler_needs_object
   23801 
   23802 # Create an old-style archive from a shared archive.
   23803 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23804 
   23805 # Create a temporary old-style archive to link instead of a shared archive.
   23806 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23807 
   23808 # Commands used to build a shared archive.
   23809 archive_cmds=$lt_archive_cmds
   23810 archive_expsym_cmds=$lt_archive_expsym_cmds
   23811 
   23812 # Commands used to build a loadable module if different from building
   23813 # a shared archive.
   23814 module_cmds=$lt_module_cmds
   23815 module_expsym_cmds=$lt_module_expsym_cmds
   23816 
   23817 # Whether we are building with GNU ld or not.
   23818 with_gnu_ld=$lt_with_gnu_ld
   23819 
   23820 # Flag that allows shared libraries with undefined symbols to be built.
   23821 allow_undefined_flag=$lt_allow_undefined_flag
   23822 
   23823 # Flag that enforces no undefined symbols.
   23824 no_undefined_flag=$lt_no_undefined_flag
   23825 
   23826 # Flag to hardcode \$libdir into a binary during linking.
   23827 # This must work even if \$libdir does not exist
   23828 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23829 
   23830 # Whether we need a single "-rpath" flag with a separated argument.
   23831 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23832 
   23833 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23834 # DIR into the resulting binary.
   23835 hardcode_direct=$hardcode_direct
   23836 
   23837 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23838 # DIR into the resulting binary and the resulting library dependency is
   23839 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   23840 # library is relocated.
   23841 hardcode_direct_absolute=$hardcode_direct_absolute
   23842 
   23843 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23844 # into the resulting binary.
   23845 hardcode_minus_L=$hardcode_minus_L
   23846 
   23847 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23848 # into the resulting binary.
   23849 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23850 
   23851 # Set to "yes" if building a shared library automatically hardcodes DIR
   23852 # into the library and all subsequent libraries and executables linked
   23853 # against it.
   23854 hardcode_automatic=$hardcode_automatic
   23855 
   23856 # Set to yes if linker adds runtime paths of dependent libraries
   23857 # to runtime path list.
   23858 inherit_rpath=$inherit_rpath
   23859 
   23860 # Whether libtool must link a program against all its dependency libraries.
   23861 link_all_deplibs=$link_all_deplibs
   23862 
   23863 # Set to "yes" if exported symbols are required.
   23864 always_export_symbols=$always_export_symbols
   23865 
   23866 # The commands to list exported symbols.
   23867 export_symbols_cmds=$lt_export_symbols_cmds
   23868 
   23869 # Symbols that should not be listed in the preloaded symbols.
   23870 exclude_expsyms=$lt_exclude_expsyms
   23871 
   23872 # Symbols that must always be exported.
   23873 include_expsyms=$lt_include_expsyms
   23874 
   23875 # Commands necessary for linking programs (against libraries) with templates.
   23876 prelink_cmds=$lt_prelink_cmds
   23877 
   23878 # Commands necessary for finishing linking programs.
   23879 postlink_cmds=$lt_postlink_cmds
   23880 
   23881 # Specify filename containing input files.
   23882 file_list_spec=$lt_file_list_spec
   23883 
   23884 # How to hardcode a shared library path into an executable.
   23885 hardcode_action=$hardcode_action
   23886 
   23887 # The directories searched by this compiler when creating a shared library.
   23888 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   23889 
   23890 # Dependencies to place before and after the objects being linked to
   23891 # create a shared library.
   23892 predep_objects=$lt_predep_objects
   23893 postdep_objects=$lt_postdep_objects
   23894 predeps=$lt_predeps
   23895 postdeps=$lt_postdeps
   23896 
   23897 # The library search path used internally by the compiler when linking
   23898 # a shared library.
   23899 compiler_lib_search_path=$lt_compiler_lib_search_path
   23900 
   23901 # ### END LIBTOOL CONFIG
   23902 
   23903 _LT_EOF
   23904 
   23905     cat <<'_LT_EOF' >> "$cfgfile"
   23906 
   23907 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23908 
   23909 # func_munge_path_list VARIABLE PATH
   23910 # -----------------------------------
   23911 # VARIABLE is name of variable containing _space_ separated list of
   23912 # directories to be munged by the contents of PATH, which is string
   23913 # having a format:
   23914 # "DIR[:DIR]:"
   23915 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23916 # ":DIR[:DIR]"
   23917 #       string "DIR[ DIR]" will be appended to VARIABLE
   23918 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23919 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23920 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23921 # "DIR[:DIR]"
   23922 #       VARIABLE will be replaced by "DIR[ DIR]"
   23923 func_munge_path_list ()
   23924 {
   23925     case x$2 in
   23926     x)
   23927         ;;
   23928     *:)
   23929         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23930         ;;
   23931     x:*)
   23932         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23933         ;;
   23934     *::*)
   23935         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23936         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23937         ;;
   23938     *)
   23939         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23940         ;;
   23941     esac
   23942 }
   23943 
   23944 
   23945 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23946 func_cc_basename ()
   23947 {
   23948     for cc_temp in $*""; do
   23949       case $cc_temp in
   23950         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23951         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23952         \-*) ;;
   23953         *) break;;
   23954       esac
   23955     done
   23956     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23957 }
   23958 
   23959 
   23960 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23961 
   23962 _LT_EOF
   23963 
   23964   case $host_os in
   23965   aix3*)
   23966     cat <<\_LT_EOF >> "$cfgfile"
   23967 # AIX sometimes has problems with the GCC collect2 program.  For some
   23968 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23969 # vanish in a puff of smoke.
   23970 if test set != "${COLLECT_NAMES+set}"; then
   23971   COLLECT_NAMES=
   23972   export COLLECT_NAMES
   23973 fi
   23974 _LT_EOF
   23975     ;;
   23976   esac
   23977 
   23978 
   23979 
   23980 ltmain=$ac_aux_dir/ltmain.sh
   23981 
   23982 
   23983   # We use sed instead of cat because bash on DJGPP gets confused if
   23984   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23985   # text mode, it properly converts lines to CR/LF.  This bash problem
   23986   # is reportedly fixed, but why not run on old versions too?
   23987   $SED '$q' "$ltmain" >> "$cfgfile" \
   23988      || (rm -f "$cfgfile"; exit 1)
   23989 
   23990    mv -f "$cfgfile" "$ofile" ||
   23991     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23992   chmod +x "$ofile"
   23993 
   23994 
   23995     cat <<_LT_EOF >> "$ofile"
   23996 
   23997 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   23998 
   23999 # The linker used to build libraries.
   24000 LD=$lt_LD_CXX
   24001 
   24002 # How to create reloadable object files.
   24003 reload_flag=$lt_reload_flag_CXX
   24004 reload_cmds=$lt_reload_cmds_CXX
   24005 
   24006 # Commands used to build an old-style archive.
   24007 old_archive_cmds=$lt_old_archive_cmds_CXX
   24008 
   24009 # A language specific compiler.
   24010 CC=$lt_compiler_CXX
   24011 
   24012 # Is the compiler the GNU compiler?
   24013 with_gcc=$GCC_CXX
   24014 
   24015 # Compiler flag to turn off builtin functions.
   24016 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   24017 
   24018 # Additional compiler flags for building library objects.
   24019 pic_flag=$lt_lt_prog_compiler_pic_CXX
   24020 
   24021 # How to pass a linker flag through the compiler.
   24022 wl=$lt_lt_prog_compiler_wl_CXX
   24023 
   24024 # Compiler flag to prevent dynamic linking.
   24025 link_static_flag=$lt_lt_prog_compiler_static_CXX
   24026 
   24027 # Does compiler simultaneously support -c and -o options?
   24028 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   24029 
   24030 # Whether or not to add -lc for building shared libraries.
   24031 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   24032 
   24033 # Whether or not to disallow shared libs when runtime libs are static.
   24034 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   24035 
   24036 # Compiler flag to allow reflexive dlopens.
   24037 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   24038 
   24039 # Compiler flag to generate shared objects directly from archives.
   24040 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   24041 
   24042 # Whether the compiler copes with passing no objects directly.
   24043 compiler_needs_object=$lt_compiler_needs_object_CXX
   24044 
   24045 # Create an old-style archive from a shared archive.
   24046 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   24047 
   24048 # Create a temporary old-style archive to link instead of a shared archive.
   24049 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   24050 
   24051 # Commands used to build a shared archive.
   24052 archive_cmds=$lt_archive_cmds_CXX
   24053 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   24054 
   24055 # Commands used to build a loadable module if different from building
   24056 # a shared archive.
   24057 module_cmds=$lt_module_cmds_CXX
   24058 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   24059 
   24060 # Whether we are building with GNU ld or not.
   24061 with_gnu_ld=$lt_with_gnu_ld_CXX
   24062 
   24063 # Flag that allows shared libraries with undefined symbols to be built.
   24064 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   24065 
   24066 # Flag that enforces no undefined symbols.
   24067 no_undefined_flag=$lt_no_undefined_flag_CXX
   24068 
   24069 # Flag to hardcode \$libdir into a binary during linking.
   24070 # This must work even if \$libdir does not exist
   24071 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   24072 
   24073 # Whether we need a single "-rpath" flag with a separated argument.
   24074 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   24075 
   24076 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   24077 # DIR into the resulting binary.
   24078 hardcode_direct=$hardcode_direct_CXX
   24079 
   24080 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   24081 # DIR into the resulting binary and the resulting library dependency is
   24082 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   24083 # library is relocated.
   24084 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   24085 
   24086 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   24087 # into the resulting binary.
   24088 hardcode_minus_L=$hardcode_minus_L_CXX
   24089 
   24090 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   24091 # into the resulting binary.
   24092 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   24093 
   24094 # Set to "yes" if building a shared library automatically hardcodes DIR
   24095 # into the library and all subsequent libraries and executables linked
   24096 # against it.
   24097 hardcode_automatic=$hardcode_automatic_CXX
   24098 
   24099 # Set to yes if linker adds runtime paths of dependent libraries
   24100 # to runtime path list.
   24101 inherit_rpath=$inherit_rpath_CXX
   24102 
   24103 # Whether libtool must link a program against all its dependency libraries.
   24104 link_all_deplibs=$link_all_deplibs_CXX
   24105 
   24106 # Set to "yes" if exported symbols are required.
   24107 always_export_symbols=$always_export_symbols_CXX
   24108 
   24109 # The commands to list exported symbols.
   24110 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   24111 
   24112 # Symbols that should not be listed in the preloaded symbols.
   24113 exclude_expsyms=$lt_exclude_expsyms_CXX
   24114 
   24115 # Symbols that must always be exported.
   24116 include_expsyms=$lt_include_expsyms_CXX
   24117 
   24118 # Commands necessary for linking programs (against libraries) with templates.
   24119 prelink_cmds=$lt_prelink_cmds_CXX
   24120 
   24121 # Commands necessary for finishing linking programs.
   24122 postlink_cmds=$lt_postlink_cmds_CXX
   24123 
   24124 # Specify filename containing input files.
   24125 file_list_spec=$lt_file_list_spec_CXX
   24126 
   24127 # How to hardcode a shared library path into an executable.
   24128 hardcode_action=$hardcode_action_CXX
   24129 
   24130 # The directories searched by this compiler when creating a shared library.
   24131 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   24132 
   24133 # Dependencies to place before and after the objects being linked to
   24134 # create a shared library.
   24135 predep_objects=$lt_predep_objects_CXX
   24136 postdep_objects=$lt_postdep_objects_CXX
   24137 predeps=$lt_predeps_CXX
   24138 postdeps=$lt_postdeps_CXX
   24139 
   24140 # The library search path used internally by the compiler when linking
   24141 # a shared library.
   24142 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   24143 
   24144 # ### END LIBTOOL TAG CONFIG: CXX
   24145 _LT_EOF
   24146 
   24147  ;;
   24148     "run.sh":F) chmod +x run.sh ;;
   24149 
   24150   esac
   24151 done # for ac_tag
   24152 
   24153 
   24154 as_fn_exit 0
   24155 _ACEOF
   24156 ac_clean_files=$ac_clean_files_save
   24157 
   24158 test $ac_write_fail = 0 ||
   24159   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   24160 
   24161 
   24162 # configure is writing to config.log, and then calls config.status.
   24163 # config.status does its own redirection, appending to config.log.
   24164 # Unfortunately, on DOS this fails, as config.log is still kept open
   24165 # by configure, so config.status won't be able to write to it; its
   24166 # output is simply discarded.  So we exec the FD to /dev/null,
   24167 # effectively closing config.log, so it can be properly (re)opened and
   24168 # appended to by config.status.  When coming back to configure, we
   24169 # need to make the FD available again.
   24170 if test "$no_create" != yes; then
   24171   ac_cs_success=:
   24172   ac_config_status_args=
   24173   test "$silent" = yes &&
   24174     ac_config_status_args="$ac_config_status_args --quiet"
   24175   exec 5>/dev/null
   24176   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24177   exec 5>>config.log
   24178   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24179   # would make configure fail if this is the last instruction.
   24180   $ac_cs_success || as_fn_exit 1
   24181 fi
   24182 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24184 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24185 fi
   24186 
   24187 
   24188 
   24189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}:
   24190 
   24191 Automake flags (can be overridden by user flags):
   24192   AM_CPPFLAGS: ${AM_CPPFLAGS}
   24193     AM_CFLAGS: ${AM_CFLAGS}
   24194   AM_CXXFLAGS: ${AM_CXXFLAGS}
   24195    AM_LDFLAGS: ${AM_LDFLAGS}
   24196 
   24197 User flags (override Automake flags on conflict):
   24198      CPPFLAGS: ${CPPFLAGS}
   24199        CFLAGS: ${CFLAGS}
   24200      CXXFLAGS: ${CXXFLAGS}
   24201       LDFLAGS: ${LDFLAGS}" >&5
   24202 printf "%s\n" "$as_me:
   24203 
   24204 Automake flags (can be overridden by user flags):
   24205   AM_CPPFLAGS: ${AM_CPPFLAGS}
   24206     AM_CFLAGS: ${AM_CFLAGS}
   24207   AM_CXXFLAGS: ${AM_CXXFLAGS}
   24208    AM_LDFLAGS: ${AM_LDFLAGS}
   24209 
   24210 User flags (override Automake flags on conflict):
   24211      CPPFLAGS: ${CPPFLAGS}
   24212        CFLAGS: ${CFLAGS}
   24213      CXXFLAGS: ${CXXFLAGS}
   24214       LDFLAGS: ${LDFLAGS}" >&6;}
   24215 
   24216