Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for OpenPAM 20250531.
      4 #
      5 # Report bugs to <des (at] des.dev>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and des (at] des.dev about
    282 $0: your system, including any error possibly output before
    283 $0: this message. Then install a modern shell, or manually
    284 $0: run the script under such a shell if you do have one."
    285   fi
    286   exit 1
    287 fi ;;
    288 esac
    289 fi
    290 fi
    291 SHELL=${CONFIG_SHELL-/bin/sh}
    292 export SHELL
    293 # Unset more variables known to interfere with behavior of common tools.
    294 CLICOLOR_FORCE= GREP_OPTIONS=
    295 unset CLICOLOR_FORCE GREP_OPTIONS
    296 
    297 ## --------------------- ##
    298 ## M4sh Shell Functions. ##
    299 ## --------------------- ##
    300 # as_fn_unset VAR
    301 # ---------------
    302 # Portably unset VAR.
    303 as_fn_unset ()
    304 {
    305   { eval $1=; unset $1;}
    306 }
    307 as_unset=as_fn_unset
    308 
    309 
    310 # as_fn_set_status STATUS
    311 # -----------------------
    312 # Set $? to STATUS, without forking.
    313 as_fn_set_status ()
    314 {
    315   return $1
    316 } # as_fn_set_status
    317 
    318 # as_fn_exit STATUS
    319 # -----------------
    320 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    321 as_fn_exit ()
    322 {
    323   set +e
    324   as_fn_set_status $1
    325   exit $1
    326 } # as_fn_exit
    327 
    328 # as_fn_mkdir_p
    329 # -------------
    330 # Create "$as_dir" as a directory, including parents if necessary.
    331 as_fn_mkdir_p ()
    332 {
    333 
    334   case $as_dir in #(
    335   -*) as_dir=./$as_dir;;
    336   esac
    337   test -d "$as_dir" || eval $as_mkdir_p || {
    338     as_dirs=
    339     while :; do
    340       case $as_dir in #(
    341       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    342       *) as_qdir=$as_dir;;
    343       esac
    344       as_dirs="'$as_qdir' $as_dirs"
    345       as_dir=`$as_dirname -- "$as_dir" ||
    346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    347 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    348 	 X"$as_dir" : 'X\(//\)$' \| \
    349 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    350 printf "%s\n" X"$as_dir" |
    351     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)[^/].*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\/\)$/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  /^X\(\/\).*/{
    364 	    s//\1/
    365 	    q
    366 	  }
    367 	  s/.*/./; q'`
    368       test -d "$as_dir" && break
    369     done
    370     test -z "$as_dirs" || eval "mkdir $as_dirs"
    371   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    372 
    373 
    374 } # as_fn_mkdir_p
    375 
    376 # as_fn_executable_p FILE
    377 # -----------------------
    378 # Test if FILE is an executable regular file.
    379 as_fn_executable_p ()
    380 {
    381   test -f "$1" && test -x "$1"
    382 } # as_fn_executable_p
    383 # as_fn_append VAR VALUE
    384 # ----------------------
    385 # Append the text in VALUE to the end of the definition contained in VAR. Take
    386 # advantage of any shell optimizations that allow amortized linear growth over
    387 # repeated appends, instead of the typical quadratic growth present in naive
    388 # implementations.
    389 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    390 then :
    391   eval 'as_fn_append ()
    392   {
    393     eval $1+=\$2
    394   }'
    395 else case e in #(
    396   e) as_fn_append ()
    397   {
    398     eval $1=\$$1\$2
    399   } ;;
    400 esac
    401 fi # as_fn_append
    402 
    403 # as_fn_arith ARG...
    404 # ------------------
    405 # Perform arithmetic evaluation on the ARGs, and store the result in the
    406 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    407 # must be portable across $(()) and expr.
    408 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    409 then :
    410   eval 'as_fn_arith ()
    411   {
    412     as_val=$(( $* ))
    413   }'
    414 else case e in #(
    415   e) as_fn_arith ()
    416   {
    417     as_val=`expr "$@" || test $? -eq 1`
    418   } ;;
    419 esac
    420 fi # as_fn_arith
    421 
    422 
    423 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    424 # ----------------------------------------
    425 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    426 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    427 # script with STATUS, using 1 if that was 0.
    428 as_fn_error ()
    429 {
    430   as_status=$1; test $as_status -eq 0 && as_status=1
    431   if test "$4"; then
    432     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    433     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    434   fi
    435   printf "%s\n" "$as_me: error: $2" >&2
    436   as_fn_exit $as_status
    437 } # as_fn_error
    438 
    439 if expr a : '\(a\)' >/dev/null 2>&1 &&
    440    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    441   as_expr=expr
    442 else
    443   as_expr=false
    444 fi
    445 
    446 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    447   as_basename=basename
    448 else
    449   as_basename=false
    450 fi
    451 
    452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    453   as_dirname=dirname
    454 else
    455   as_dirname=false
    456 fi
    457 
    458 as_me=`$as_basename -- "$0" ||
    459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    460 	 X"$0" : 'X\(//\)$' \| \
    461 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    462 printf "%s\n" X/"$0" |
    463     sed '/^.*\/\([^/][^/]*\)\/*$/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  /^X\/\(\/\/\)$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\).*/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  s/.*/./; q'`
    476 
    477 # Avoid depending upon Character Ranges.
    478 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    479 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    480 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    481 as_cr_digits='0123456789'
    482 as_cr_alnum=$as_cr_Letters$as_cr_digits
    483 
    484 
    485   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    486   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    487   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    488   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    489   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    490   sed -n '
    491     p
    492     /[$]LINENO/=
    493   ' <$as_myself |
    494     sed '
    495       t clear
    496       :clear
    497       s/[$]LINENO.*/&-/
    498       t lineno
    499       b
    500       :lineno
    501       N
    502       :loop
    503       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    504       t loop
    505       s/-\n.*//
    506     ' >$as_me.lineno &&
    507   chmod +x "$as_me.lineno" ||
    508     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    509 
    510   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    511   # already done that, so ensure we don't try to do so again and fall
    512   # in an infinite loop.  This has already happened in practice.
    513   _as_can_reexec=no; export _as_can_reexec
    514   # Don't try to exec as it changes $[0], causing all sort of problems
    515   # (the dirname of $[0] is not the place where we might find the
    516   # original and so on.  Autoconf is especially sensitive to this).
    517   . "./$as_me.lineno"
    518   # Exit status is that of the last command.
    519   exit
    520 }
    521 
    522 
    523 # Determine whether it's possible to make 'echo' print without a newline.
    524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    525 # for compatibility with existing Makefiles.
    526 ECHO_C= ECHO_N= ECHO_T=
    527 case `echo -n x` in #(((((
    528 -n*)
    529   case `echo 'xy\c'` in
    530   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    531   xy)  ECHO_C='\c';;
    532   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    533        ECHO_T='	';;
    534   esac;;
    535 *)
    536   ECHO_N='-n';;
    537 esac
    538 
    539 # For backward compatibility with old third-party macros, we provide
    540 # the shell variables $as_echo and $as_echo_n.  New code should use
    541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    542 as_echo='printf %s\n'
    543 as_echo_n='printf %s'
    544 
    545 rm -f conf$$ conf$$.exe conf$$.file
    546 if test -d conf$$.dir; then
    547   rm -f conf$$.dir/conf$$.file
    548 else
    549   rm -f conf$$.dir
    550   mkdir conf$$.dir 2>/dev/null
    551 fi
    552 if (echo >conf$$.file) 2>/dev/null; then
    553   if ln -s conf$$.file conf$$ 2>/dev/null; then
    554     as_ln_s='ln -s'
    555     # ... but there are two gotchas:
    556     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    557     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    558     # In both cases, we have to default to 'cp -pR'.
    559     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    560       as_ln_s='cp -pR'
    561   elif ln conf$$.file conf$$ 2>/dev/null; then
    562     as_ln_s=ln
    563   else
    564     as_ln_s='cp -pR'
    565   fi
    566 else
    567   as_ln_s='cp -pR'
    568 fi
    569 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    570 rmdir conf$$.dir 2>/dev/null
    571 
    572 if mkdir -p . 2>/dev/null; then
    573   as_mkdir_p='mkdir -p "$as_dir"'
    574 else
    575   test -d ./-p && rmdir ./-p
    576   as_mkdir_p=false
    577 fi
    578 
    579 as_test_x='test -x'
    580 as_executable_p=as_fn_executable_p
    581 
    582 # Sed expression to map a string onto a valid CPP name.
    583 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    584 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    585 
    586 # Sed expression to map a string onto a valid variable name.
    587 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    588 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    589 
    590 SHELL=${CONFIG_SHELL-/bin/sh}
    591 
    592 
    593 test -n "$DJDIR" || exec 7<&0 </dev/null
    594 exec 6>&1
    595 
    596 # Name of the host.
    597 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    598 # so uname gets run too.
    599 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    600 
    601 #
    602 # Initializations.
    603 #
    604 ac_default_prefix=/usr/local
    605 ac_clean_files=
    606 ac_config_libobj_dir=.
    607 LIBOBJS=
    608 cross_compiling=no
    609 subdirs=
    610 MFLAGS=
    611 MAKEFLAGS=
    612 
    613 # Identity of this package.
    614 PACKAGE_NAME='OpenPAM'
    615 PACKAGE_TARNAME='openpam'
    616 PACKAGE_VERSION='20250531'
    617 PACKAGE_STRING='OpenPAM 20250531'
    618 PACKAGE_BUGREPORT='des (at] des.dev'
    619 PACKAGE_URL='https://openpam.org/'
    620 
    621 ac_unique_file="lib/libpam/pam_start.c"
    622 # Factoring default headers for most tests.
    623 ac_includes_default="\
    624 #include <stddef.h>
    625 #ifdef HAVE_STDIO_H
    626 # include <stdio.h>
    627 #endif
    628 #ifdef HAVE_STDLIB_H
    629 # include <stdlib.h>
    630 #endif
    631 #ifdef HAVE_STRING_H
    632 # include <string.h>
    633 #endif
    634 #ifdef HAVE_INTTYPES_H
    635 # include <inttypes.h>
    636 #endif
    637 #ifdef HAVE_STDINT_H
    638 # include <stdint.h>
    639 #endif
    640 #ifdef HAVE_STRINGS_H
    641 # include <strings.h>
    642 #endif
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef HAVE_UNISTD_H
    650 # include <unistd.h>
    651 #endif"
    652 
    653 ac_header_c_list=
    654 ac_subst_vars='am__EXEEXT_FALSE
    655 am__EXEEXT_TRUE
    656 LTLIBOBJS
    657 LIBOBJS
    658 CLANG_CODE_COVERAGE_FALSE
    659 CLANG_CODE_COVERAGE_TRUE
    660 WITH_CODE_COVERAGE_FALSE
    661 WITH_CODE_COVERAGE_TRUE
    662 clang_ver
    663 WITH_TEST_FALSE
    664 WITH_TEST_TRUE
    665 HAVE_CRYB_TEST_FALSE
    666 HAVE_CRYB_TEST_TRUE
    667 CRYB_TEST_VERSION
    668 CRYB_TEST_LIBS
    669 CRYB_TEST_CFLAGS
    670 SYSTEM_LIBPAM
    671 DL_LIBS
    672 WITH_SYSTEM_LIBPAM_FALSE
    673 WITH_SYSTEM_LIBPAM_TRUE
    674 WITH_SU_FALSE
    675 WITH_SU_TRUE
    676 WITH_PAMTEST_FALSE
    677 WITH_PAMTEST_TRUE
    678 WITH_PAM_UNIX_FALSE
    679 WITH_PAM_UNIX_TRUE
    680 WITH_DOC_FALSE
    681 WITH_DOC_TRUE
    682 CUSTOM_MODULES_DIR_FALSE
    683 CUSTOM_MODULES_DIR_TRUE
    684 OPENPAM_MODULES_DIR
    685 LIB_MAJ
    686 pkgconfigdir
    687 PKG_CONFIG_LIBDIR
    688 PKG_CONFIG_PATH
    689 PKG_CONFIG
    690 CXXCPP
    691 LT_SYS_LIBRARY_PATH
    692 OTOOL64
    693 OTOOL
    694 LIPO
    695 NMEDIT
    696 DSYMUTIL
    697 MANIFEST_TOOL
    698 RANLIB
    699 ac_ct_AR
    700 AR
    701 DLLTOOL
    702 OBJDUMP
    703 FILECMD
    704 LN_S
    705 NM
    706 ac_ct_DUMPBIN
    707 DUMPBIN
    708 LD
    709 FGREP
    710 EGREP
    711 GREP
    712 SED
    713 host_os
    714 host_vendor
    715 host_cpu
    716 host
    717 build_os
    718 build_vendor
    719 build_cpu
    720 build
    721 LIBTOOL
    722 am__fastdepCXX_FALSE
    723 am__fastdepCXX_TRUE
    724 CXXDEPMODE
    725 ac_ct_CXX
    726 CXXFLAGS
    727 CXX
    728 CPP
    729 am__fastdepCC_FALSE
    730 am__fastdepCC_TRUE
    731 CCDEPMODE
    732 am__nodep
    733 AMDEPBACKSLASH
    734 AMDEP_FALSE
    735 AMDEP_TRUE
    736 am__include
    737 DEPDIR
    738 OBJEXT
    739 EXEEXT
    740 ac_ct_CC
    741 CPPFLAGS
    742 LDFLAGS
    743 CFLAGS
    744 CC
    745 am__xargs_n
    746 am__rm_f_notfound
    747 AM_BACKSLASH
    748 AM_DEFAULT_VERBOSITY
    749 AM_DEFAULT_V
    750 AM_V
    751 CSCOPE
    752 ETAGS
    753 CTAGS
    754 am__untar
    755 am__tar
    756 AMTAR
    757 am__leading_dot
    758 SET_MAKE
    759 AWK
    760 mkdir_p
    761 MKDIR_P
    762 INSTALL_STRIP_PROGRAM
    763 STRIP
    764 install_sh
    765 MAKEINFO
    766 AUTOHEADER
    767 AUTOMAKE
    768 AUTOCONF
    769 ACLOCAL
    770 VERSION
    771 PACKAGE
    772 CYGPATH_W
    773 am__isrc
    774 INSTALL_DATA
    775 INSTALL_SCRIPT
    776 INSTALL_PROGRAM
    777 target_alias
    778 host_alias
    779 build_alias
    780 LIBS
    781 ECHO_T
    782 ECHO_N
    783 ECHO_C
    784 DEFS
    785 mandir
    786 localedir
    787 libdir
    788 psdir
    789 pdfdir
    790 dvidir
    791 htmldir
    792 infodir
    793 docdir
    794 oldincludedir
    795 includedir
    796 runstatedir
    797 localstatedir
    798 sharedstatedir
    799 sysconfdir
    800 datadir
    801 datarootdir
    802 libexecdir
    803 sbindir
    804 bindir
    805 program_transform_name
    806 prefix
    807 exec_prefix
    808 PACKAGE_URL
    809 PACKAGE_BUGREPORT
    810 PACKAGE_STRING
    811 PACKAGE_VERSION
    812 PACKAGE_TARNAME
    813 PACKAGE_NAME
    814 PATH_SEPARATOR
    815 SHELL
    816 am__quote'
    817 ac_subst_files=''
    818 ac_user_opts='
    819 enable_option_checking
    820 enable_silent_rules
    821 enable_dependency_tracking
    822 enable_static
    823 enable_shared
    824 enable_pic
    825 with_pic
    826 enable_fast_install
    827 enable_aix_soname
    828 with_aix_soname
    829 with_gnu_ld
    830 with_sysroot
    831 enable_libtool_lock
    832 with_pkgconfigdir
    833 enable_debug
    834 enable_unversioned_modules
    835 with_modules_dir
    836 with_localbase
    837 with_doc
    838 with_pam_unix
    839 with_pamtest
    840 with_su
    841 with_system_libpam
    842 enable_developer_warnings
    843 enable_debugging_symbols
    844 enable_werror
    845 enable_code_coverage
    846 '
    847       ac_precious_vars='build_alias
    848 host_alias
    849 target_alias
    850 CC
    851 CFLAGS
    852 LDFLAGS
    853 LIBS
    854 CPPFLAGS
    855 CPP
    856 CXX
    857 CXXFLAGS
    858 CCC
    859 LT_SYS_LIBRARY_PATH
    860 CXXCPP
    861 PKG_CONFIG
    862 PKG_CONFIG_PATH
    863 PKG_CONFIG_LIBDIR
    864 CRYB_TEST_CFLAGS
    865 CRYB_TEST_LIBS'
    866 
    867 
    868 # Initialize some variables set by options.
    869 ac_init_help=
    870 ac_init_version=false
    871 ac_unrecognized_opts=
    872 ac_unrecognized_sep=
    873 # The variables have the same names as the options, with
    874 # dashes changed to underlines.
    875 cache_file=/dev/null
    876 exec_prefix=NONE
    877 no_create=
    878 no_recursion=
    879 prefix=NONE
    880 program_prefix=NONE
    881 program_suffix=NONE
    882 program_transform_name=s,x,x,
    883 silent=
    884 site=
    885 srcdir=
    886 verbose=
    887 x_includes=NONE
    888 x_libraries=NONE
    889 
    890 # Installation directory options.
    891 # These are left unexpanded so users can "make install exec_prefix=/foo"
    892 # and all the variables that are supposed to be based on exec_prefix
    893 # by default will actually change.
    894 # Use braces instead of parens because sh, perl, etc. also accept them.
    895 # (The list follows the same order as the GNU Coding Standards.)
    896 bindir='${exec_prefix}/bin'
    897 sbindir='${exec_prefix}/sbin'
    898 libexecdir='${exec_prefix}/libexec'
    899 datarootdir='${prefix}/share'
    900 datadir='${datarootdir}'
    901 sysconfdir='${prefix}/etc'
    902 sharedstatedir='${prefix}/com'
    903 localstatedir='${prefix}/var'
    904 runstatedir='${localstatedir}/run'
    905 includedir='${prefix}/include'
    906 oldincludedir='/usr/include'
    907 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    908 infodir='${datarootdir}/info'
    909 htmldir='${docdir}'
    910 dvidir='${docdir}'
    911 pdfdir='${docdir}'
    912 psdir='${docdir}'
    913 libdir='${exec_prefix}/lib'
    914 localedir='${datarootdir}/locale'
    915 mandir='${datarootdir}/man'
    916 
    917 ac_prev=
    918 ac_dashdash=
    919 for ac_option
    920 do
    921   # If the previous option needs an argument, assign it.
    922   if test -n "$ac_prev"; then
    923     eval $ac_prev=\$ac_option
    924     ac_prev=
    925     continue
    926   fi
    927 
    928   case $ac_option in
    929   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    930   *=)   ac_optarg= ;;
    931   *)    ac_optarg=yes ;;
    932   esac
    933 
    934   case $ac_dashdash$ac_option in
    935   --)
    936     ac_dashdash=yes ;;
    937 
    938   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    939     ac_prev=bindir ;;
    940   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    941     bindir=$ac_optarg ;;
    942 
    943   -build | --build | --buil | --bui | --bu)
    944     ac_prev=build_alias ;;
    945   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    946     build_alias=$ac_optarg ;;
    947 
    948   -cache-file | --cache-file | --cache-fil | --cache-fi \
    949   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    950     ac_prev=cache_file ;;
    951   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    952   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    953     cache_file=$ac_optarg ;;
    954 
    955   --config-cache | -C)
    956     cache_file=config.cache ;;
    957 
    958   -datadir | --datadir | --datadi | --datad)
    959     ac_prev=datadir ;;
    960   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    961     datadir=$ac_optarg ;;
    962 
    963   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    964   | --dataroo | --dataro | --datar)
    965     ac_prev=datarootdir ;;
    966   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    967   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    968     datarootdir=$ac_optarg ;;
    969 
    970   -disable-* | --disable-*)
    971     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    972     # Reject names that are not valid shell variable names.
    973     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    974       as_fn_error $? "invalid feature name: '$ac_useropt'"
    975     ac_useropt_orig=$ac_useropt
    976     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    977     case $ac_user_opts in
    978       *"
    979 "enable_$ac_useropt"
    980 "*) ;;
    981       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    982 	 ac_unrecognized_sep=', ';;
    983     esac
    984     eval enable_$ac_useropt=no ;;
    985 
    986   -docdir | --docdir | --docdi | --doc | --do)
    987     ac_prev=docdir ;;
    988   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    989     docdir=$ac_optarg ;;
    990 
    991   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    992     ac_prev=dvidir ;;
    993   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    994     dvidir=$ac_optarg ;;
    995 
    996   -enable-* | --enable-*)
    997     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    998     # Reject names that are not valid shell variable names.
    999     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1000       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1001     ac_useropt_orig=$ac_useropt
   1002     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1003     case $ac_user_opts in
   1004       *"
   1005 "enable_$ac_useropt"
   1006 "*) ;;
   1007       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1008 	 ac_unrecognized_sep=', ';;
   1009     esac
   1010     eval enable_$ac_useropt=\$ac_optarg ;;
   1011 
   1012   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1013   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1014   | --exec | --exe | --ex)
   1015     ac_prev=exec_prefix ;;
   1016   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1017   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1018   | --exec=* | --exe=* | --ex=*)
   1019     exec_prefix=$ac_optarg ;;
   1020 
   1021   -gas | --gas | --ga | --g)
   1022     # Obsolete; use --with-gas.
   1023     with_gas=yes ;;
   1024 
   1025   -help | --help | --hel | --he | -h)
   1026     ac_init_help=long ;;
   1027   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1028     ac_init_help=recursive ;;
   1029   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1030     ac_init_help=short ;;
   1031 
   1032   -host | --host | --hos | --ho)
   1033     ac_prev=host_alias ;;
   1034   -host=* | --host=* | --hos=* | --ho=*)
   1035     host_alias=$ac_optarg ;;
   1036 
   1037   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1038     ac_prev=htmldir ;;
   1039   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1040   | --ht=*)
   1041     htmldir=$ac_optarg ;;
   1042 
   1043   -includedir | --includedir | --includedi | --included | --include \
   1044   | --includ | --inclu | --incl | --inc)
   1045     ac_prev=includedir ;;
   1046   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1047   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1048     includedir=$ac_optarg ;;
   1049 
   1050   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1051     ac_prev=infodir ;;
   1052   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1053     infodir=$ac_optarg ;;
   1054 
   1055   -libdir | --libdir | --libdi | --libd)
   1056     ac_prev=libdir ;;
   1057   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1058     libdir=$ac_optarg ;;
   1059 
   1060   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1061   | --libexe | --libex | --libe)
   1062     ac_prev=libexecdir ;;
   1063   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1064   | --libexe=* | --libex=* | --libe=*)
   1065     libexecdir=$ac_optarg ;;
   1066 
   1067   -localedir | --localedir | --localedi | --localed | --locale)
   1068     ac_prev=localedir ;;
   1069   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1070     localedir=$ac_optarg ;;
   1071 
   1072   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1073   | --localstate | --localstat | --localsta | --localst | --locals)
   1074     ac_prev=localstatedir ;;
   1075   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1076   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1077     localstatedir=$ac_optarg ;;
   1078 
   1079   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1080     ac_prev=mandir ;;
   1081   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1082     mandir=$ac_optarg ;;
   1083 
   1084   -nfp | --nfp | --nf)
   1085     # Obsolete; use --without-fp.
   1086     with_fp=no ;;
   1087 
   1088   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1089   | --no-cr | --no-c | -n)
   1090     no_create=yes ;;
   1091 
   1092   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1093   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1094     no_recursion=yes ;;
   1095 
   1096   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1097   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1098   | --oldin | --oldi | --old | --ol | --o)
   1099     ac_prev=oldincludedir ;;
   1100   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1101   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1102   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1103     oldincludedir=$ac_optarg ;;
   1104 
   1105   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1106     ac_prev=prefix ;;
   1107   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1108     prefix=$ac_optarg ;;
   1109 
   1110   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1111   | --program-pre | --program-pr | --program-p)
   1112     ac_prev=program_prefix ;;
   1113   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1114   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1115     program_prefix=$ac_optarg ;;
   1116 
   1117   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1118   | --program-suf | --program-su | --program-s)
   1119     ac_prev=program_suffix ;;
   1120   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1121   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1122     program_suffix=$ac_optarg ;;
   1123 
   1124   -program-transform-name | --program-transform-name \
   1125   | --program-transform-nam | --program-transform-na \
   1126   | --program-transform-n | --program-transform- \
   1127   | --program-transform | --program-transfor \
   1128   | --program-transfo | --program-transf \
   1129   | --program-trans | --program-tran \
   1130   | --progr-tra | --program-tr | --program-t)
   1131     ac_prev=program_transform_name ;;
   1132   -program-transform-name=* | --program-transform-name=* \
   1133   | --program-transform-nam=* | --program-transform-na=* \
   1134   | --program-transform-n=* | --program-transform-=* \
   1135   | --program-transform=* | --program-transfor=* \
   1136   | --program-transfo=* | --program-transf=* \
   1137   | --program-trans=* | --program-tran=* \
   1138   | --progr-tra=* | --program-tr=* | --program-t=*)
   1139     program_transform_name=$ac_optarg ;;
   1140 
   1141   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1142     ac_prev=pdfdir ;;
   1143   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1144     pdfdir=$ac_optarg ;;
   1145 
   1146   -psdir | --psdir | --psdi | --psd | --ps)
   1147     ac_prev=psdir ;;
   1148   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1149     psdir=$ac_optarg ;;
   1150 
   1151   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1152   | -silent | --silent | --silen | --sile | --sil)
   1153     silent=yes ;;
   1154 
   1155   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1156   | --runstate | --runstat | --runsta | --runst | --runs \
   1157   | --run | --ru | --r)
   1158     ac_prev=runstatedir ;;
   1159   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1160   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1161   | --run=* | --ru=* | --r=*)
   1162     runstatedir=$ac_optarg ;;
   1163 
   1164   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1165     ac_prev=sbindir ;;
   1166   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1167   | --sbi=* | --sb=*)
   1168     sbindir=$ac_optarg ;;
   1169 
   1170   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1171   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1172   | --sharedst | --shareds | --shared | --share | --shar \
   1173   | --sha | --sh)
   1174     ac_prev=sharedstatedir ;;
   1175   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1176   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1177   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1178   | --sha=* | --sh=*)
   1179     sharedstatedir=$ac_optarg ;;
   1180 
   1181   -site | --site | --sit)
   1182     ac_prev=site ;;
   1183   -site=* | --site=* | --sit=*)
   1184     site=$ac_optarg ;;
   1185 
   1186   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1187     ac_prev=srcdir ;;
   1188   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1189     srcdir=$ac_optarg ;;
   1190 
   1191   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1192   | --syscon | --sysco | --sysc | --sys | --sy)
   1193     ac_prev=sysconfdir ;;
   1194   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1195   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1196     sysconfdir=$ac_optarg ;;
   1197 
   1198   -target | --target | --targe | --targ | --tar | --ta | --t)
   1199     ac_prev=target_alias ;;
   1200   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1201     target_alias=$ac_optarg ;;
   1202 
   1203   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1204     verbose=yes ;;
   1205 
   1206   -version | --version | --versio | --versi | --vers | -V)
   1207     ac_init_version=: ;;
   1208 
   1209   -with-* | --with-*)
   1210     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1211     # Reject names that are not valid shell variable names.
   1212     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1213       as_fn_error $? "invalid package name: '$ac_useropt'"
   1214     ac_useropt_orig=$ac_useropt
   1215     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1216     case $ac_user_opts in
   1217       *"
   1218 "with_$ac_useropt"
   1219 "*) ;;
   1220       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1221 	 ac_unrecognized_sep=', ';;
   1222     esac
   1223     eval with_$ac_useropt=\$ac_optarg ;;
   1224 
   1225   -without-* | --without-*)
   1226     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1227     # Reject names that are not valid shell variable names.
   1228     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1229       as_fn_error $? "invalid package name: '$ac_useropt'"
   1230     ac_useropt_orig=$ac_useropt
   1231     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1232     case $ac_user_opts in
   1233       *"
   1234 "with_$ac_useropt"
   1235 "*) ;;
   1236       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1237 	 ac_unrecognized_sep=', ';;
   1238     esac
   1239     eval with_$ac_useropt=no ;;
   1240 
   1241   --x)
   1242     # Obsolete; use --with-x.
   1243     with_x=yes ;;
   1244 
   1245   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1246   | --x-incl | --x-inc | --x-in | --x-i)
   1247     ac_prev=x_includes ;;
   1248   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1249   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1250     x_includes=$ac_optarg ;;
   1251 
   1252   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1253   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1254     ac_prev=x_libraries ;;
   1255   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1256   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1257     x_libraries=$ac_optarg ;;
   1258 
   1259   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1260 Try '$0 --help' for more information"
   1261     ;;
   1262 
   1263   *=*)
   1264     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1265     # Reject names that are not valid shell variable names.
   1266     case $ac_envvar in #(
   1267       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1268       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1269     esac
   1270     eval $ac_envvar=\$ac_optarg
   1271     export $ac_envvar ;;
   1272 
   1273   *)
   1274     # FIXME: should be removed in autoconf 3.0.
   1275     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1276     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1277       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1278     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1279     ;;
   1280 
   1281   esac
   1282 done
   1283 
   1284 if test -n "$ac_prev"; then
   1285   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1286   as_fn_error $? "missing argument to $ac_option"
   1287 fi
   1288 
   1289 if test -n "$ac_unrecognized_opts"; then
   1290   case $enable_option_checking in
   1291     no) ;;
   1292     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1293     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1294   esac
   1295 fi
   1296 
   1297 # Check all directory arguments for consistency.
   1298 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1299 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1300 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1301 		libdir localedir mandir runstatedir
   1302 do
   1303   eval ac_val=\$$ac_var
   1304   # Remove trailing slashes.
   1305   case $ac_val in
   1306     */ )
   1307       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1308       eval $ac_var=\$ac_val;;
   1309   esac
   1310   # Be sure to have absolute directory names.
   1311   case $ac_val in
   1312     [\\/$]* | ?:[\\/]* )  continue;;
   1313     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1314   esac
   1315   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1316 done
   1317 
   1318 # There might be people who depend on the old broken behavior: '$host'
   1319 # used to hold the argument of --host etc.
   1320 # FIXME: To remove some day.
   1321 build=$build_alias
   1322 host=$host_alias
   1323 target=$target_alias
   1324 
   1325 # FIXME: To remove some day.
   1326 if test "x$host_alias" != x; then
   1327   if test "x$build_alias" = x; then
   1328     cross_compiling=maybe
   1329   elif test "x$build_alias" != "x$host_alias"; then
   1330     cross_compiling=yes
   1331   fi
   1332 fi
   1333 
   1334 ac_tool_prefix=
   1335 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1336 
   1337 test "$silent" = yes && exec 6>/dev/null
   1338 
   1339 
   1340 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1341 ac_ls_di=`ls -di .` &&
   1342 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1343   as_fn_error $? "working directory cannot be determined"
   1344 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1345   as_fn_error $? "pwd does not report name of working directory"
   1346 
   1347 
   1348 # Find the source files, if location was not specified.
   1349 if test -z "$srcdir"; then
   1350   ac_srcdir_defaulted=yes
   1351   # Try the directory containing this script, then the parent directory.
   1352   ac_confdir=`$as_dirname -- "$as_myself" ||
   1353 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1354 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1355 	 X"$as_myself" : 'X\(//\)$' \| \
   1356 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1357 printf "%s\n" X"$as_myself" |
   1358     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1359 	    s//\1/
   1360 	    q
   1361 	  }
   1362 	  /^X\(\/\/\)[^/].*/{
   1363 	    s//\1/
   1364 	    q
   1365 	  }
   1366 	  /^X\(\/\/\)$/{
   1367 	    s//\1/
   1368 	    q
   1369 	  }
   1370 	  /^X\(\/\).*/{
   1371 	    s//\1/
   1372 	    q
   1373 	  }
   1374 	  s/.*/./; q'`
   1375   srcdir=$ac_confdir
   1376   if test ! -r "$srcdir/$ac_unique_file"; then
   1377     srcdir=..
   1378   fi
   1379 else
   1380   ac_srcdir_defaulted=no
   1381 fi
   1382 if test ! -r "$srcdir/$ac_unique_file"; then
   1383   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1384   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1385 fi
   1386 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1387 ac_abs_confdir=`(
   1388 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1389 	pwd)`
   1390 # When building in place, set srcdir=.
   1391 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1392   srcdir=.
   1393 fi
   1394 # Remove unnecessary trailing slashes from srcdir.
   1395 # Double slashes in file names in object file debugging info
   1396 # mess up M-x gdb in Emacs.
   1397 case $srcdir in
   1398 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1399 esac
   1400 for ac_var in $ac_precious_vars; do
   1401   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1402   eval ac_env_${ac_var}_value=\$${ac_var}
   1403   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1404   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1405 done
   1406 
   1407 #
   1408 # Report the --help message.
   1409 #
   1410 if test "$ac_init_help" = "long"; then
   1411   # Omit some internal or obsolete options to make the list less imposing.
   1412   # This message is too long to be a string in the A/UX 3.1 sh.
   1413   cat <<_ACEOF
   1414 'configure' configures OpenPAM 20250531 to adapt to many kinds of systems.
   1415 
   1416 Usage: $0 [OPTION]... [VAR=VALUE]...
   1417 
   1418 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1419 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1420 
   1421 Defaults for the options are specified in brackets.
   1422 
   1423 Configuration:
   1424   -h, --help              display this help and exit
   1425       --help=short        display options specific to this package
   1426       --help=recursive    display the short help of all the included packages
   1427   -V, --version           display version information and exit
   1428   -q, --quiet, --silent   do not print 'checking ...' messages
   1429       --cache-file=FILE   cache test results in FILE [disabled]
   1430   -C, --config-cache      alias for '--cache-file=config.cache'
   1431   -n, --no-create         do not create output files
   1432       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1433 
   1434 Installation directories:
   1435   --prefix=PREFIX         install architecture-independent files in PREFIX
   1436                           [$ac_default_prefix]
   1437   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1438                           [PREFIX]
   1439 
   1440 By default, 'make install' will install all the files in
   1441 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1442 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1443 for instance '--prefix=\$HOME'.
   1444 
   1445 For better control, use the options below.
   1446 
   1447 Fine tuning of the installation directories:
   1448   --bindir=DIR            user executables [EPREFIX/bin]
   1449   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1450   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1451   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1452   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1453   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1454   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1455   --libdir=DIR            object code libraries [EPREFIX/lib]
   1456   --includedir=DIR        C header files [PREFIX/include]
   1457   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1458   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1459   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1460   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1461   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1462   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1463   --docdir=DIR            documentation root [DATAROOTDIR/doc/openpam]
   1464   --htmldir=DIR           html documentation [DOCDIR]
   1465   --dvidir=DIR            dvi documentation [DOCDIR]
   1466   --pdfdir=DIR            pdf documentation [DOCDIR]
   1467   --psdir=DIR             ps documentation [DOCDIR]
   1468 _ACEOF
   1469 
   1470   cat <<\_ACEOF
   1471 
   1472 Program names:
   1473   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1474   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1475   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1476 
   1477 System types:
   1478   --build=BUILD     configure for building on BUILD [guessed]
   1479   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1480 _ACEOF
   1481 fi
   1482 
   1483 if test -n "$ac_init_help"; then
   1484   case $ac_init_help in
   1485      short | recursive ) echo "Configuration of OpenPAM 20250531:";;
   1486    esac
   1487   cat <<\_ACEOF
   1488 
   1489 Optional Features:
   1490   --disable-option-checking  ignore unrecognized --enable/--with options
   1491   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1492   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1493   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1494   --disable-silent-rules  verbose build output (undo: "make V=0")
   1495   --enable-dependency-tracking
   1496                           do not reject slow dependency extractors
   1497   --disable-dependency-tracking
   1498                           speeds up one-time build
   1499   --enable-static[=PKGS]  build static libraries [default=no]
   1500   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1501   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1502                           both]
   1503   --enable-fast-install[=PKGS]
   1504                           optimize for fast installation [default=yes]
   1505   --enable-aix-soname=aix|svr4|both
   1506                           shared library versioning (aka "SONAME") variant to
   1507                           provide on AIX, [default=aix].
   1508   --disable-libtool-lock  avoid locking (might break parallel builds)
   1509   --enable-debug          turn debugging macros on
   1510   --disable-unversioned-modules
   1511                           support loading of unversioned modules
   1512   --enable-developer-warnings
   1513                           enable strict warnings (default is NO)
   1514   --enable-debugging-symbols
   1515                           enable debugging symbols (default is NO)
   1516   --enable-werror         use -Werror (default is NO)
   1517   --enable-code-coverage  enable code coverage
   1518 
   1519 Optional Packages:
   1520   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1521   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1522   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1523   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1524                           compiler's sysroot if not specified).
   1525   --with-pkgconfigdir     installation directory for .pc files
   1526                           [LIBDIR/pkgconfig]
   1527   --with-modules-dir=DIR  OpenPAM modules directory
   1528   --with-localbase=DIR    Base directory for local policies and modules
   1529   --without-doc           do not build documentation
   1530   --with-pam-unix         build sample pam_unix(8) module
   1531   --with-pamtest          build test application
   1532   --with-su               build sample su(1) implementation
   1533   --with-system-libpam    use system libpam
   1534 
   1535 Some influential environment variables:
   1536   CC          C compiler command
   1537   CFLAGS      C compiler flags
   1538   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1539               nonstandard directory <lib dir>
   1540   LIBS        libraries to pass to the linker, e.g. -l<library>
   1541   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1542               you have headers in a nonstandard directory <include dir>
   1543   CPP         C preprocessor
   1544   CXX         C++ compiler command
   1545   CXXFLAGS    C++ compiler flags
   1546   LT_SYS_LIBRARY_PATH
   1547               User-defined run-time library search path.
   1548   CXXCPP      C++ preprocessor
   1549   PKG_CONFIG  path to pkg-config binary
   1550   PKG_CONFIG_PATH
   1551               list of directories to prepend to default search path
   1552   PKG_CONFIG_LIBDIR
   1553               list of directories to search instead of default search path
   1554   CRYB_TEST_CFLAGS
   1555               C compiler flags for cryb-test
   1556   CRYB_TEST_LIBS
   1557               linker flags for cryb-test
   1558 
   1559 Use these variables to override the choices made by 'configure' or to help
   1560 it to find libraries and programs with nonstandard names/locations.
   1561 
   1562 Report bugs to <des (at] des.dev>.
   1563 OpenPAM home page: <https://openpam.org/>.
   1564 _ACEOF
   1565 ac_status=$?
   1566 fi
   1567 
   1568 if test "$ac_init_help" = "recursive"; then
   1569   # If there are subdirs, report their specific --help.
   1570   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1571     test -d "$ac_dir" ||
   1572       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1573       continue
   1574     ac_builddir=.
   1575 
   1576 case "$ac_dir" in
   1577 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1578 *)
   1579   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1580   # A ".." for each directory in $ac_dir_suffix.
   1581   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1582   case $ac_top_builddir_sub in
   1583   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1584   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1585   esac ;;
   1586 esac
   1587 ac_abs_top_builddir=$ac_pwd
   1588 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1589 # for backward compatibility:
   1590 ac_top_builddir=$ac_top_build_prefix
   1591 
   1592 case $srcdir in
   1593   .)  # We are building in place.
   1594     ac_srcdir=.
   1595     ac_top_srcdir=$ac_top_builddir_sub
   1596     ac_abs_top_srcdir=$ac_pwd ;;
   1597   [\\/]* | ?:[\\/]* )  # Absolute name.
   1598     ac_srcdir=$srcdir$ac_dir_suffix;
   1599     ac_top_srcdir=$srcdir
   1600     ac_abs_top_srcdir=$srcdir ;;
   1601   *) # Relative name.
   1602     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1603     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1604     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1605 esac
   1606 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1607 
   1608     cd "$ac_dir" || { ac_status=$?; continue; }
   1609     # Check for configure.gnu first; this name is used for a wrapper for
   1610     # Metaconfig's "Configure" on case-insensitive file systems.
   1611     if test -f "$ac_srcdir/configure.gnu"; then
   1612       echo &&
   1613       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1614     elif test -f "$ac_srcdir/configure"; then
   1615       echo &&
   1616       $SHELL "$ac_srcdir/configure" --help=recursive
   1617     else
   1618       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1619     fi || ac_status=$?
   1620     cd "$ac_pwd" || { ac_status=$?; break; }
   1621   done
   1622 fi
   1623 
   1624 test -n "$ac_init_help" && exit $ac_status
   1625 if $ac_init_version; then
   1626   cat <<\_ACEOF
   1627 OpenPAM configure 20250531
   1628 generated by GNU Autoconf 2.72
   1629 
   1630 Copyright (C) 2023 Free Software Foundation, Inc.
   1631 This configure script is free software; the Free Software Foundation
   1632 gives unlimited permission to copy, distribute and modify it.
   1633 _ACEOF
   1634   exit
   1635 fi
   1636 
   1637 ## ------------------------ ##
   1638 ## Autoconf initialization. ##
   1639 ## ------------------------ ##
   1640 
   1641 # ac_fn_c_try_compile LINENO
   1642 # --------------------------
   1643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1644 ac_fn_c_try_compile ()
   1645 {
   1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1647   rm -f conftest.$ac_objext conftest.beam
   1648   if { { ac_try="$ac_compile"
   1649 case "(($ac_try" in
   1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1651   *) ac_try_echo=$ac_try;;
   1652 esac
   1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1654 printf "%s\n" "$ac_try_echo"; } >&5
   1655   (eval "$ac_compile") 2>conftest.err
   1656   ac_status=$?
   1657   if test -s conftest.err; then
   1658     grep -v '^ *+' conftest.err >conftest.er1
   1659     cat conftest.er1 >&5
   1660     mv -f conftest.er1 conftest.err
   1661   fi
   1662   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1663   test $ac_status = 0; } && {
   1664 	 test -z "$ac_c_werror_flag" ||
   1665 	 test ! -s conftest.err
   1666        } && test -s conftest.$ac_objext
   1667 then :
   1668   ac_retval=0
   1669 else case e in #(
   1670   e) printf "%s\n" "$as_me: failed program was:" >&5
   1671 sed 's/^/| /' conftest.$ac_ext >&5
   1672 
   1673 	ac_retval=1 ;;
   1674 esac
   1675 fi
   1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1677   as_fn_set_status $ac_retval
   1678 
   1679 } # ac_fn_c_try_compile
   1680 
   1681 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1682 # -------------------------------------------------------
   1683 # Tests whether HEADER exists and can be compiled using the include files in
   1684 # INCLUDES, setting the cache variable VAR accordingly.
   1685 ac_fn_c_check_header_compile ()
   1686 {
   1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1689 printf %s "checking for $2... " >&6; }
   1690 if eval test \${$3+y}
   1691 then :
   1692   printf %s "(cached) " >&6
   1693 else case e in #(
   1694   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1695 /* end confdefs.h.  */
   1696 $4
   1697 #include <$2>
   1698 _ACEOF
   1699 if ac_fn_c_try_compile "$LINENO"
   1700 then :
   1701   eval "$3=yes"
   1702 else case e in #(
   1703   e) eval "$3=no" ;;
   1704 esac
   1705 fi
   1706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1707 esac
   1708 fi
   1709 eval ac_res=\$$3
   1710 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1711 printf "%s\n" "$ac_res" >&6; }
   1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1713 
   1714 } # ac_fn_c_check_header_compile
   1715 
   1716 # ac_fn_c_try_cpp LINENO
   1717 # ----------------------
   1718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1719 ac_fn_c_try_cpp ()
   1720 {
   1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1722   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1723 case "(($ac_try" in
   1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1725   *) ac_try_echo=$ac_try;;
   1726 esac
   1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1728 printf "%s\n" "$ac_try_echo"; } >&5
   1729   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1730   ac_status=$?
   1731   if test -s conftest.err; then
   1732     grep -v '^ *+' conftest.err >conftest.er1
   1733     cat conftest.er1 >&5
   1734     mv -f conftest.er1 conftest.err
   1735   fi
   1736   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1737   test $ac_status = 0; } > conftest.i && {
   1738 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1739 	 test ! -s conftest.err
   1740        }
   1741 then :
   1742   ac_retval=0
   1743 else case e in #(
   1744   e) printf "%s\n" "$as_me: failed program was:" >&5
   1745 sed 's/^/| /' conftest.$ac_ext >&5
   1746 
   1747     ac_retval=1 ;;
   1748 esac
   1749 fi
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751   as_fn_set_status $ac_retval
   1752 
   1753 } # ac_fn_c_try_cpp
   1754 
   1755 # ac_fn_cxx_try_compile LINENO
   1756 # ----------------------------
   1757 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1758 ac_fn_cxx_try_compile ()
   1759 {
   1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1761   rm -f conftest.$ac_objext conftest.beam
   1762   if { { ac_try="$ac_compile"
   1763 case "(($ac_try" in
   1764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1765   *) ac_try_echo=$ac_try;;
   1766 esac
   1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1768 printf "%s\n" "$ac_try_echo"; } >&5
   1769   (eval "$ac_compile") 2>conftest.err
   1770   ac_status=$?
   1771   if test -s conftest.err; then
   1772     grep -v '^ *+' conftest.err >conftest.er1
   1773     cat conftest.er1 >&5
   1774     mv -f conftest.er1 conftest.err
   1775   fi
   1776   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1777   test $ac_status = 0; } && {
   1778 	 test -z "$ac_cxx_werror_flag" ||
   1779 	 test ! -s conftest.err
   1780        } && test -s conftest.$ac_objext
   1781 then :
   1782   ac_retval=0
   1783 else case e in #(
   1784   e) printf "%s\n" "$as_me: failed program was:" >&5
   1785 sed 's/^/| /' conftest.$ac_ext >&5
   1786 
   1787 	ac_retval=1 ;;
   1788 esac
   1789 fi
   1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1791   as_fn_set_status $ac_retval
   1792 
   1793 } # ac_fn_cxx_try_compile
   1794 
   1795 # ac_fn_c_try_link LINENO
   1796 # -----------------------
   1797 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1798 ac_fn_c_try_link ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1802   if { { ac_try="$ac_link"
   1803 case "(($ac_try" in
   1804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1805   *) ac_try_echo=$ac_try;;
   1806 esac
   1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1808 printf "%s\n" "$ac_try_echo"; } >&5
   1809   (eval "$ac_link") 2>conftest.err
   1810   ac_status=$?
   1811   if test -s conftest.err; then
   1812     grep -v '^ *+' conftest.err >conftest.er1
   1813     cat conftest.er1 >&5
   1814     mv -f conftest.er1 conftest.err
   1815   fi
   1816   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1817   test $ac_status = 0; } && {
   1818 	 test -z "$ac_c_werror_flag" ||
   1819 	 test ! -s conftest.err
   1820        } && test -s conftest$ac_exeext && {
   1821 	 test "$cross_compiling" = yes ||
   1822 	 test -x conftest$ac_exeext
   1823        }
   1824 then :
   1825   ac_retval=0
   1826 else case e in #(
   1827   e) printf "%s\n" "$as_me: failed program was:" >&5
   1828 sed 's/^/| /' conftest.$ac_ext >&5
   1829 
   1830 	ac_retval=1 ;;
   1831 esac
   1832 fi
   1833   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1834   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1835   # interfere with the next link command; also delete a directory that is
   1836   # left behind by Apple's compiler.  We do this before executing the actions.
   1837   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1838   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1839   as_fn_set_status $ac_retval
   1840 
   1841 } # ac_fn_c_try_link
   1842 
   1843 # ac_fn_c_check_func LINENO FUNC VAR
   1844 # ----------------------------------
   1845 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1846 ac_fn_c_check_func ()
   1847 {
   1848   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1850 printf %s "checking for $2... " >&6; }
   1851 if eval test \${$3+y}
   1852 then :
   1853   printf %s "(cached) " >&6
   1854 else case e in #(
   1855   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1856 /* end confdefs.h.  */
   1857 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1859 #define $2 innocuous_$2
   1860 
   1861 /* System header to define __stub macros and hopefully few prototypes,
   1862    which can conflict with char $2 (void); below.  */
   1863 
   1864 #include <limits.h>
   1865 #undef $2
   1866 
   1867 /* Override any GCC internal prototype to avoid an error.
   1868    Use char because int might match the return type of a GCC
   1869    builtin and then its argument prototype would still apply.  */
   1870 #ifdef __cplusplus
   1871 extern "C"
   1872 #endif
   1873 char $2 (void);
   1874 /* The GNU C library defines this for functions which it implements
   1875     to always fail with ENOSYS.  Some functions are actually named
   1876     something starting with __ and the normal name is an alias.  */
   1877 #if defined __stub_$2 || defined __stub___$2
   1878 choke me
   1879 #endif
   1880 
   1881 int
   1882 main (void)
   1883 {
   1884 return $2 ();
   1885   ;
   1886   return 0;
   1887 }
   1888 _ACEOF
   1889 if ac_fn_c_try_link "$LINENO"
   1890 then :
   1891   eval "$3=yes"
   1892 else case e in #(
   1893   e) eval "$3=no" ;;
   1894 esac
   1895 fi
   1896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1897     conftest$ac_exeext conftest.$ac_ext ;;
   1898 esac
   1899 fi
   1900 eval ac_res=\$$3
   1901 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1902 printf "%s\n" "$ac_res" >&6; }
   1903   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1904 
   1905 } # ac_fn_c_check_func
   1906 
   1907 # ac_fn_cxx_try_cpp LINENO
   1908 # ------------------------
   1909 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1910 ac_fn_cxx_try_cpp ()
   1911 {
   1912   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1913   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1914 case "(($ac_try" in
   1915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1916   *) ac_try_echo=$ac_try;;
   1917 esac
   1918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1919 printf "%s\n" "$ac_try_echo"; } >&5
   1920   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1921   ac_status=$?
   1922   if test -s conftest.err; then
   1923     grep -v '^ *+' conftest.err >conftest.er1
   1924     cat conftest.er1 >&5
   1925     mv -f conftest.er1 conftest.err
   1926   fi
   1927   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1928   test $ac_status = 0; } > conftest.i && {
   1929 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1930 	 test ! -s conftest.err
   1931        }
   1932 then :
   1933   ac_retval=0
   1934 else case e in #(
   1935   e) printf "%s\n" "$as_me: failed program was:" >&5
   1936 sed 's/^/| /' conftest.$ac_ext >&5
   1937 
   1938     ac_retval=1 ;;
   1939 esac
   1940 fi
   1941   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1942   as_fn_set_status $ac_retval
   1943 
   1944 } # ac_fn_cxx_try_cpp
   1945 
   1946 # ac_fn_cxx_try_link LINENO
   1947 # -------------------------
   1948 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1949 ac_fn_cxx_try_link ()
   1950 {
   1951   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1952   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1953   if { { ac_try="$ac_link"
   1954 case "(($ac_try" in
   1955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1956   *) ac_try_echo=$ac_try;;
   1957 esac
   1958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1959 printf "%s\n" "$ac_try_echo"; } >&5
   1960   (eval "$ac_link") 2>conftest.err
   1961   ac_status=$?
   1962   if test -s conftest.err; then
   1963     grep -v '^ *+' conftest.err >conftest.er1
   1964     cat conftest.er1 >&5
   1965     mv -f conftest.er1 conftest.err
   1966   fi
   1967   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1968   test $ac_status = 0; } && {
   1969 	 test -z "$ac_cxx_werror_flag" ||
   1970 	 test ! -s conftest.err
   1971        } && test -s conftest$ac_exeext && {
   1972 	 test "$cross_compiling" = yes ||
   1973 	 test -x conftest$ac_exeext
   1974        }
   1975 then :
   1976   ac_retval=0
   1977 else case e in #(
   1978   e) printf "%s\n" "$as_me: failed program was:" >&5
   1979 sed 's/^/| /' conftest.$ac_ext >&5
   1980 
   1981 	ac_retval=1 ;;
   1982 esac
   1983 fi
   1984   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1985   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1986   # interfere with the next link command; also delete a directory that is
   1987   # left behind by Apple's compiler.  We do this before executing the actions.
   1988   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1989   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1990   as_fn_set_status $ac_retval
   1991 
   1992 } # ac_fn_cxx_try_link
   1993 ac_configure_args_raw=
   1994 for ac_arg
   1995 do
   1996   case $ac_arg in
   1997   *\'*)
   1998     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1999   esac
   2000   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2001 done
   2002 
   2003 case $ac_configure_args_raw in
   2004   *$as_nl*)
   2005     ac_safe_unquote= ;;
   2006   *)
   2007     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2008     ac_unsafe_a="$ac_unsafe_z#~"
   2009     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2010     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2011 esac
   2012 
   2013 cat >config.log <<_ACEOF
   2014 This file contains any messages produced by compilers while
   2015 running configure, to aid debugging if configure makes a mistake.
   2016 
   2017 It was created by OpenPAM $as_me 20250531, which was
   2018 generated by GNU Autoconf 2.72.  Invocation command line was
   2019 
   2020   $ $0$ac_configure_args_raw
   2021 
   2022 _ACEOF
   2023 exec 5>>config.log
   2024 {
   2025 cat <<_ASUNAME
   2026 ## --------- ##
   2027 ## Platform. ##
   2028 ## --------- ##
   2029 
   2030 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2031 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2032 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2033 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2034 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2035 
   2036 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2037 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2038 
   2039 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2040 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2041 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2042 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2043 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2044 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2045 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2046 
   2047 _ASUNAME
   2048 
   2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2050 for as_dir in $PATH
   2051 do
   2052   IFS=$as_save_IFS
   2053   case $as_dir in #(((
   2054     '') as_dir=./ ;;
   2055     */) ;;
   2056     *) as_dir=$as_dir/ ;;
   2057   esac
   2058     printf "%s\n" "PATH: $as_dir"
   2059   done
   2060 IFS=$as_save_IFS
   2061 
   2062 } >&5
   2063 
   2064 cat >&5 <<_ACEOF
   2065 
   2066 
   2067 ## ----------- ##
   2068 ## Core tests. ##
   2069 ## ----------- ##
   2070 
   2071 _ACEOF
   2072 
   2073 
   2074 # Keep a trace of the command line.
   2075 # Strip out --no-create and --no-recursion so they do not pile up.
   2076 # Strip out --silent because we don't want to record it for future runs.
   2077 # Also quote any args containing shell meta-characters.
   2078 # Make two passes to allow for proper duplicate-argument suppression.
   2079 ac_configure_args=
   2080 ac_configure_args0=
   2081 ac_configure_args1=
   2082 ac_must_keep_next=false
   2083 for ac_pass in 1 2
   2084 do
   2085   for ac_arg
   2086   do
   2087     case $ac_arg in
   2088     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2089     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2090     | -silent | --silent | --silen | --sile | --sil)
   2091       continue ;;
   2092     *\'*)
   2093       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2094     esac
   2095     case $ac_pass in
   2096     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2097     2)
   2098       as_fn_append ac_configure_args1 " '$ac_arg'"
   2099       if test $ac_must_keep_next = true; then
   2100 	ac_must_keep_next=false # Got value, back to normal.
   2101       else
   2102 	case $ac_arg in
   2103 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2104 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2105 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2106 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2107 	    case "$ac_configure_args0 " in
   2108 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2109 	    esac
   2110 	    ;;
   2111 	  -* ) ac_must_keep_next=true ;;
   2112 	esac
   2113       fi
   2114       as_fn_append ac_configure_args " '$ac_arg'"
   2115       ;;
   2116     esac
   2117   done
   2118 done
   2119 { ac_configure_args0=; unset ac_configure_args0;}
   2120 { ac_configure_args1=; unset ac_configure_args1;}
   2121 
   2122 # When interrupted or exit'd, cleanup temporary files, and complete
   2123 # config.log.  We remove comments because anyway the quotes in there
   2124 # would cause problems or look ugly.
   2125 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2126 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2127 trap 'exit_status=$?
   2128   # Sanitize IFS.
   2129   IFS=" ""	$as_nl"
   2130   # Save into config.log some information that might help in debugging.
   2131   {
   2132     echo
   2133 
   2134     printf "%s\n" "## ---------------- ##
   2135 ## Cache variables. ##
   2136 ## ---------------- ##"
   2137     echo
   2138     # The following way of writing the cache mishandles newlines in values,
   2139 (
   2140   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2141     eval ac_val=\$$ac_var
   2142     case $ac_val in #(
   2143     *${as_nl}*)
   2144       case $ac_var in #(
   2145       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2146 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2147       esac
   2148       case $ac_var in #(
   2149       _ | IFS | as_nl) ;; #(
   2150       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2151       *) { eval $ac_var=; unset $ac_var;} ;;
   2152       esac ;;
   2153     esac
   2154   done
   2155   (set) 2>&1 |
   2156     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2157     *${as_nl}ac_space=\ *)
   2158       sed -n \
   2159 	"s/'\''/'\''\\\\'\'''\''/g;
   2160 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2161       ;; #(
   2162     *)
   2163       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2164       ;;
   2165     esac |
   2166     sort
   2167 )
   2168     echo
   2169 
   2170     printf "%s\n" "## ----------------- ##
   2171 ## Output variables. ##
   2172 ## ----------------- ##"
   2173     echo
   2174     for ac_var in $ac_subst_vars
   2175     do
   2176       eval ac_val=\$$ac_var
   2177       case $ac_val in
   2178       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2179       esac
   2180       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2181     done | sort
   2182     echo
   2183 
   2184     if test -n "$ac_subst_files"; then
   2185       printf "%s\n" "## ------------------- ##
   2186 ## File substitutions. ##
   2187 ## ------------------- ##"
   2188       echo
   2189       for ac_var in $ac_subst_files
   2190       do
   2191 	eval ac_val=\$$ac_var
   2192 	case $ac_val in
   2193 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2194 	esac
   2195 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2196       done | sort
   2197       echo
   2198     fi
   2199 
   2200     if test -s confdefs.h; then
   2201       printf "%s\n" "## ----------- ##
   2202 ## confdefs.h. ##
   2203 ## ----------- ##"
   2204       echo
   2205       cat confdefs.h
   2206       echo
   2207     fi
   2208     test "$ac_signal" != 0 &&
   2209       printf "%s\n" "$as_me: caught signal $ac_signal"
   2210     printf "%s\n" "$as_me: exit $exit_status"
   2211   } >&5
   2212   rm -f core *.core core.conftest.* &&
   2213     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2214     exit $exit_status
   2215 ' 0
   2216 for ac_signal in 1 2 13 15; do
   2217   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2218 done
   2219 ac_signal=0
   2220 
   2221 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2222 rm -f -r conftest* confdefs.h
   2223 
   2224 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2225 
   2226 # Predefined preprocessor variables.
   2227 
   2228 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2229 
   2230 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2231 
   2232 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2233 
   2234 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2235 
   2236 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2237 
   2238 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2239 
   2240 
   2241 # Let the site file select an alternate cache file if it wants to.
   2242 # Prefer an explicitly selected file to automatically selected ones.
   2243 if test -n "$CONFIG_SITE"; then
   2244   ac_site_files="$CONFIG_SITE"
   2245 elif test "x$prefix" != xNONE; then
   2246   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2247 else
   2248   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2249 fi
   2250 
   2251 for ac_site_file in $ac_site_files
   2252 do
   2253   case $ac_site_file in #(
   2254   */*) :
   2255      ;; #(
   2256   *) :
   2257     ac_site_file=./$ac_site_file ;;
   2258 esac
   2259   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2260     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2261 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2262     sed 's/^/| /' "$ac_site_file" >&5
   2263     . "$ac_site_file" \
   2264       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2265 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2266 as_fn_error $? "failed to load site script $ac_site_file
   2267 See 'config.log' for more details" "$LINENO" 5; }
   2268   fi
   2269 done
   2270 
   2271 if test -r "$cache_file"; then
   2272   # Some versions of bash will fail to source /dev/null (special files
   2273   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2274   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2275     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2276 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2277     case $cache_file in
   2278       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2279       *)                      . "./$cache_file";;
   2280     esac
   2281   fi
   2282 else
   2283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2284 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2285   >$cache_file
   2286 fi
   2287 
   2288 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2289 # Test code for whether the C compiler supports C89 (global declarations)
   2290 ac_c_conftest_c89_globals='
   2291 /* Does the compiler advertise C89 conformance?
   2292    Do not test the value of __STDC__, because some compilers set it to 0
   2293    while being otherwise adequately conformant. */
   2294 #if !defined __STDC__
   2295 # error "Compiler does not advertise C89 conformance"
   2296 #endif
   2297 
   2298 #include <stddef.h>
   2299 #include <stdarg.h>
   2300 struct stat;
   2301 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2302 struct buf { int x; };
   2303 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2304 static char *e (char **p, int i)
   2305 {
   2306   return p[i];
   2307 }
   2308 static char *f (char * (*g) (char **, int), char **p, ...)
   2309 {
   2310   char *s;
   2311   va_list v;
   2312   va_start (v,p);
   2313   s = g (p, va_arg (v,int));
   2314   va_end (v);
   2315   return s;
   2316 }
   2317 
   2318 /* C89 style stringification. */
   2319 #define noexpand_stringify(a) #a
   2320 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2321 
   2322 /* C89 style token pasting.  Exercises some of the corner cases that
   2323    e.g. old MSVC gets wrong, but not very hard. */
   2324 #define noexpand_concat(a,b) a##b
   2325 #define expand_concat(a,b) noexpand_concat(a,b)
   2326 extern int vA;
   2327 extern int vbee;
   2328 #define aye A
   2329 #define bee B
   2330 int *pvA = &expand_concat(v,aye);
   2331 int *pvbee = &noexpand_concat(v,bee);
   2332 
   2333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2334    function prototypes and stuff, but not \xHH hex character constants.
   2335    These do not provoke an error unfortunately, instead are silently treated
   2336    as an "x".  The following induces an error, until -std is added to get
   2337    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2338    array size at least.  It is necessary to write \x00 == 0 to get something
   2339    that is true only with -std.  */
   2340 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2341 
   2342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2343    inside strings and character constants.  */
   2344 #define FOO(x) '\''x'\''
   2345 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2346 
   2347 int test (int i, double x);
   2348 struct s1 {int (*f) (int a);};
   2349 struct s2 {int (*f) (double a);};
   2350 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2351                int, int);'
   2352 
   2353 # Test code for whether the C compiler supports C89 (body of main).
   2354 ac_c_conftest_c89_main='
   2355 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2356 '
   2357 
   2358 # Test code for whether the C compiler supports C99 (global declarations)
   2359 ac_c_conftest_c99_globals='
   2360 /* Does the compiler advertise C99 conformance? */
   2361 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2362 # error "Compiler does not advertise C99 conformance"
   2363 #endif
   2364 
   2365 // See if C++-style comments work.
   2366 
   2367 #include <stdbool.h>
   2368 extern int puts (const char *);
   2369 extern int printf (const char *, ...);
   2370 extern int dprintf (int, const char *, ...);
   2371 extern void *malloc (size_t);
   2372 extern void free (void *);
   2373 
   2374 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2375 // dprintf is used instead of fprintf to avoid needing to declare
   2376 // FILE and stderr.
   2377 #define debug(...) dprintf (2, __VA_ARGS__)
   2378 #define showlist(...) puts (#__VA_ARGS__)
   2379 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2380 static void
   2381 test_varargs_macros (void)
   2382 {
   2383   int x = 1234;
   2384   int y = 5678;
   2385   debug ("Flag");
   2386   debug ("X = %d\n", x);
   2387   showlist (The first, second, and third items.);
   2388   report (x>y, "x is %d but y is %d", x, y);
   2389 }
   2390 
   2391 // Check long long types.
   2392 #define BIG64 18446744073709551615ull
   2393 #define BIG32 4294967295ul
   2394 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2395 #if !BIG_OK
   2396   #error "your preprocessor is broken"
   2397 #endif
   2398 #if BIG_OK
   2399 #else
   2400   #error "your preprocessor is broken"
   2401 #endif
   2402 static long long int bignum = -9223372036854775807LL;
   2403 static unsigned long long int ubignum = BIG64;
   2404 
   2405 struct incomplete_array
   2406 {
   2407   int datasize;
   2408   double data[];
   2409 };
   2410 
   2411 struct named_init {
   2412   int number;
   2413   const wchar_t *name;
   2414   double average;
   2415 };
   2416 
   2417 typedef const char *ccp;
   2418 
   2419 static inline int
   2420 test_restrict (ccp restrict text)
   2421 {
   2422   // Iterate through items via the restricted pointer.
   2423   // Also check for declarations in for loops.
   2424   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2425     continue;
   2426   return 0;
   2427 }
   2428 
   2429 // Check varargs and va_copy.
   2430 static bool
   2431 test_varargs (const char *format, ...)
   2432 {
   2433   va_list args;
   2434   va_start (args, format);
   2435   va_list args_copy;
   2436   va_copy (args_copy, args);
   2437 
   2438   const char *str = "";
   2439   int number = 0;
   2440   float fnumber = 0;
   2441 
   2442   while (*format)
   2443     {
   2444       switch (*format++)
   2445 	{
   2446 	case '\''s'\'': // string
   2447 	  str = va_arg (args_copy, const char *);
   2448 	  break;
   2449 	case '\''d'\'': // int
   2450 	  number = va_arg (args_copy, int);
   2451 	  break;
   2452 	case '\''f'\'': // float
   2453 	  fnumber = va_arg (args_copy, double);
   2454 	  break;
   2455 	default:
   2456 	  break;
   2457 	}
   2458     }
   2459   va_end (args_copy);
   2460   va_end (args);
   2461 
   2462   return *str && number && fnumber;
   2463 }
   2464 '
   2465 
   2466 # Test code for whether the C compiler supports C99 (body of main).
   2467 ac_c_conftest_c99_main='
   2468   // Check bool.
   2469   _Bool success = false;
   2470   success |= (argc != 0);
   2471 
   2472   // Check restrict.
   2473   if (test_restrict ("String literal") == 0)
   2474     success = true;
   2475   char *restrict newvar = "Another string";
   2476 
   2477   // Check varargs.
   2478   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2479   test_varargs_macros ();
   2480 
   2481   // Check flexible array members.
   2482   struct incomplete_array *ia =
   2483     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2484   ia->datasize = 10;
   2485   for (int i = 0; i < ia->datasize; ++i)
   2486     ia->data[i] = i * 1.234;
   2487   // Work around memory leak warnings.
   2488   free (ia);
   2489 
   2490   // Check named initializers.
   2491   struct named_init ni = {
   2492     .number = 34,
   2493     .name = L"Test wide string",
   2494     .average = 543.34343,
   2495   };
   2496 
   2497   ni.number = 58;
   2498 
   2499   int dynamic_array[ni.number];
   2500   dynamic_array[0] = argv[0][0];
   2501   dynamic_array[ni.number - 1] = 543;
   2502 
   2503   // work around unused variable warnings
   2504   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2505 	 || dynamic_array[ni.number - 1] != 543);
   2506 '
   2507 
   2508 # Test code for whether the C compiler supports C11 (global declarations)
   2509 ac_c_conftest_c11_globals='
   2510 /* Does the compiler advertise C11 conformance? */
   2511 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2512 # error "Compiler does not advertise C11 conformance"
   2513 #endif
   2514 
   2515 // Check _Alignas.
   2516 char _Alignas (double) aligned_as_double;
   2517 char _Alignas (0) no_special_alignment;
   2518 extern char aligned_as_int;
   2519 char _Alignas (0) _Alignas (int) aligned_as_int;
   2520 
   2521 // Check _Alignof.
   2522 enum
   2523 {
   2524   int_alignment = _Alignof (int),
   2525   int_array_alignment = _Alignof (int[100]),
   2526   char_alignment = _Alignof (char)
   2527 };
   2528 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2529 
   2530 // Check _Noreturn.
   2531 int _Noreturn does_not_return (void) { for (;;) continue; }
   2532 
   2533 // Check _Static_assert.
   2534 struct test_static_assert
   2535 {
   2536   int x;
   2537   _Static_assert (sizeof (int) <= sizeof (long int),
   2538                   "_Static_assert does not work in struct");
   2539   long int y;
   2540 };
   2541 
   2542 // Check UTF-8 literals.
   2543 #define u8 syntax error!
   2544 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2545 
   2546 // Check duplicate typedefs.
   2547 typedef long *long_ptr;
   2548 typedef long int *long_ptr;
   2549 typedef long_ptr long_ptr;
   2550 
   2551 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2552 struct anonymous
   2553 {
   2554   union {
   2555     struct { int i; int j; };
   2556     struct { int k; long int l; } w;
   2557   };
   2558   int m;
   2559 } v1;
   2560 '
   2561 
   2562 # Test code for whether the C compiler supports C11 (body of main).
   2563 ac_c_conftest_c11_main='
   2564   _Static_assert ((offsetof (struct anonymous, i)
   2565 		   == offsetof (struct anonymous, w.k)),
   2566 		  "Anonymous union alignment botch");
   2567   v1.i = 2;
   2568   v1.w.k = 5;
   2569   ok |= v1.i != 5;
   2570 '
   2571 
   2572 # Test code for whether the C compiler supports C11 (complete).
   2573 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2574 ${ac_c_conftest_c99_globals}
   2575 ${ac_c_conftest_c11_globals}
   2576 
   2577 int
   2578 main (int argc, char **argv)
   2579 {
   2580   int ok = 0;
   2581   ${ac_c_conftest_c89_main}
   2582   ${ac_c_conftest_c99_main}
   2583   ${ac_c_conftest_c11_main}
   2584   return ok;
   2585 }
   2586 "
   2587 
   2588 # Test code for whether the C compiler supports C99 (complete).
   2589 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2590 ${ac_c_conftest_c99_globals}
   2591 
   2592 int
   2593 main (int argc, char **argv)
   2594 {
   2595   int ok = 0;
   2596   ${ac_c_conftest_c89_main}
   2597   ${ac_c_conftest_c99_main}
   2598   return ok;
   2599 }
   2600 "
   2601 
   2602 # Test code for whether the C compiler supports C89 (complete).
   2603 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2604 
   2605 int
   2606 main (int argc, char **argv)
   2607 {
   2608   int ok = 0;
   2609   ${ac_c_conftest_c89_main}
   2610   return ok;
   2611 }
   2612 "
   2613 
   2614 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2615 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2616 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2617 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2618 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2619 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2620 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2621 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2622 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2623 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2624 # Test code for whether the C++ compiler supports C++98 (global declarations)
   2625 ac_cxx_conftest_cxx98_globals='
   2626 // Does the compiler advertise C++98 conformance?
   2627 #if !defined __cplusplus || __cplusplus < 199711L
   2628 # error "Compiler does not advertise C++98 conformance"
   2629 #endif
   2630 
   2631 // These inclusions are to reject old compilers that
   2632 // lack the unsuffixed header files.
   2633 #include <cstdlib>
   2634 #include <exception>
   2635 
   2636 // <cassert> and <cstring> are *not* freestanding headers in C++98.
   2637 extern void assert (int);
   2638 namespace std {
   2639   extern int strcmp (const char *, const char *);
   2640 }
   2641 
   2642 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
   2643 using std::exception;
   2644 using std::strcmp;
   2645 
   2646 namespace {
   2647 
   2648 void test_exception_syntax()
   2649 {
   2650   try {
   2651     throw "test";
   2652   } catch (const char *s) {
   2653     // Extra parentheses suppress a warning when building autoconf itself,
   2654     // due to lint rules shared with more typical C programs.
   2655     assert (!(strcmp) (s, "test"));
   2656   }
   2657 }
   2658 
   2659 template <typename T> struct test_template
   2660 {
   2661   T const val;
   2662   explicit test_template(T t) : val(t) {}
   2663   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
   2664 };
   2665 
   2666 } // anonymous namespace
   2667 '
   2668 
   2669 # Test code for whether the C++ compiler supports C++98 (body of main)
   2670 ac_cxx_conftest_cxx98_main='
   2671   assert (argc);
   2672   assert (! argv[0]);
   2673 {
   2674   test_exception_syntax ();
   2675   test_template<double> tt (2.0);
   2676   assert (tt.add (4) == 6.0);
   2677   assert (true && !false);
   2678 }
   2679 '
   2680 
   2681 # Test code for whether the C++ compiler supports C++11 (global declarations)
   2682 ac_cxx_conftest_cxx11_globals='
   2683 // Does the compiler advertise C++ 2011 conformance?
   2684 #if !defined __cplusplus || __cplusplus < 201103L
   2685 # error "Compiler does not advertise C++11 conformance"
   2686 #endif
   2687 
   2688 namespace cxx11test
   2689 {
   2690   constexpr int get_val() { return 20; }
   2691 
   2692   struct testinit
   2693   {
   2694     int i;
   2695     double d;
   2696   };
   2697 
   2698   class delegate
   2699   {
   2700   public:
   2701     delegate(int n) : n(n) {}
   2702     delegate(): delegate(2354) {}
   2703 
   2704     virtual int getval() { return this->n; };
   2705   protected:
   2706     int n;
   2707   };
   2708 
   2709   class overridden : public delegate
   2710   {
   2711   public:
   2712     overridden(int n): delegate(n) {}
   2713     virtual int getval() override final { return this->n * 2; }
   2714   };
   2715 
   2716   class nocopy
   2717   {
   2718   public:
   2719     nocopy(int i): i(i) {}
   2720     nocopy() = default;
   2721     nocopy(const nocopy&) = delete;
   2722     nocopy & operator=(const nocopy&) = delete;
   2723   private:
   2724     int i;
   2725   };
   2726 
   2727   // for testing lambda expressions
   2728   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
   2729   {
   2730     return f(v);
   2731   }
   2732 
   2733   // for testing variadic templates and trailing return types
   2734   template <typename V> auto sum(V first) -> V
   2735   {
   2736     return first;
   2737   }
   2738   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
   2739   {
   2740     return first + sum(rest...);
   2741   }
   2742 }
   2743 '
   2744 
   2745 # Test code for whether the C++ compiler supports C++11 (body of main)
   2746 ac_cxx_conftest_cxx11_main='
   2747 {
   2748   // Test auto and decltype
   2749   auto a1 = 6538;
   2750   auto a2 = 48573953.4;
   2751   auto a3 = "String literal";
   2752 
   2753   int total = 0;
   2754   for (auto i = a3; *i; ++i) { total += *i; }
   2755 
   2756   decltype(a2) a4 = 34895.034;
   2757 }
   2758 {
   2759   // Test constexpr
   2760   short sa[cxx11test::get_val()] = { 0 };
   2761 }
   2762 {
   2763   // Test initializer lists
   2764   cxx11test::testinit il = { 4323, 435234.23544 };
   2765 }
   2766 {
   2767   // Test range-based for
   2768   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
   2769                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
   2770   for (auto &x : array) { x += 23; }
   2771 }
   2772 {
   2773   // Test lambda expressions
   2774   using cxx11test::eval;
   2775   assert (eval ([](int x) { return x*2; }, 21) == 42);
   2776   double d = 2.0;
   2777   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
   2778   assert (d == 5.0);
   2779   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
   2780   assert (d == 5.0);
   2781 }
   2782 {
   2783   // Test use of variadic templates
   2784   using cxx11test::sum;
   2785   auto a = sum(1);
   2786   auto b = sum(1, 2);
   2787   auto c = sum(1.0, 2.0, 3.0);
   2788 }
   2789 {
   2790   // Test constructor delegation
   2791   cxx11test::delegate d1;
   2792   cxx11test::delegate d2();
   2793   cxx11test::delegate d3(45);
   2794 }
   2795 {
   2796   // Test override and final
   2797   cxx11test::overridden o1(55464);
   2798 }
   2799 {
   2800   // Test nullptr
   2801   char *c = nullptr;
   2802 }
   2803 {
   2804   // Test template brackets
   2805   test_template<::test_template<int>> v(test_template<int>(12));
   2806 }
   2807 {
   2808   // Unicode literals
   2809   char const *utf8 = u8"UTF-8 string \u2500";
   2810   char16_t const *utf16 = u"UTF-8 string \u2500";
   2811   char32_t const *utf32 = U"UTF-32 string \u2500";
   2812 }
   2813 '
   2814 
   2815 # Test code for whether the C compiler supports C++11 (complete).
   2816 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
   2817 ${ac_cxx_conftest_cxx11_globals}
   2818 
   2819 int
   2820 main (int argc, char **argv)
   2821 {
   2822   int ok = 0;
   2823   ${ac_cxx_conftest_cxx98_main}
   2824   ${ac_cxx_conftest_cxx11_main}
   2825   return ok;
   2826 }
   2827 "
   2828 
   2829 # Test code for whether the C compiler supports C++98 (complete).
   2830 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
   2831 int
   2832 main (int argc, char **argv)
   2833 {
   2834   int ok = 0;
   2835   ${ac_cxx_conftest_cxx98_main}
   2836   return ok;
   2837 }
   2838 "
   2839 
   2840 
   2841 # Auxiliary files required by this configure script.
   2842 ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
   2843 
   2844 # Locations in which to look for auxiliary files.
   2845 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2846 
   2847 # Search for a directory containing all of the required auxiliary files,
   2848 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2849 # If we don't find one directory that contains all the files we need,
   2850 # we report the set of missing files from the *first* directory in
   2851 # $ac_aux_dir_candidates and give up.
   2852 ac_missing_aux_files=""
   2853 ac_first_candidate=:
   2854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2856 as_found=false
   2857 for as_dir in $ac_aux_dir_candidates
   2858 do
   2859   IFS=$as_save_IFS
   2860   case $as_dir in #(((
   2861     '') as_dir=./ ;;
   2862     */) ;;
   2863     *) as_dir=$as_dir/ ;;
   2864   esac
   2865   as_found=:
   2866 
   2867   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2868   ac_aux_dir_found=yes
   2869   ac_install_sh=
   2870   for ac_aux in $ac_aux_files
   2871   do
   2872     # As a special case, if "install-sh" is required, that requirement
   2873     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2874     # and $ac_install_sh is set appropriately for whichever one is found.
   2875     if test x"$ac_aux" = x"install-sh"
   2876     then
   2877       if test -f "${as_dir}install-sh"; then
   2878         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2879         ac_install_sh="${as_dir}install-sh -c"
   2880       elif test -f "${as_dir}install.sh"; then
   2881         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2882         ac_install_sh="${as_dir}install.sh -c"
   2883       elif test -f "${as_dir}shtool"; then
   2884         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2885         ac_install_sh="${as_dir}shtool install -c"
   2886       else
   2887         ac_aux_dir_found=no
   2888         if $ac_first_candidate; then
   2889           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2890         else
   2891           break
   2892         fi
   2893       fi
   2894     else
   2895       if test -f "${as_dir}${ac_aux}"; then
   2896         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2897       else
   2898         ac_aux_dir_found=no
   2899         if $ac_first_candidate; then
   2900           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2901         else
   2902           break
   2903         fi
   2904       fi
   2905     fi
   2906   done
   2907   if test "$ac_aux_dir_found" = yes; then
   2908     ac_aux_dir="$as_dir"
   2909     break
   2910   fi
   2911   ac_first_candidate=false
   2912 
   2913   as_found=false
   2914 done
   2915 IFS=$as_save_IFS
   2916 if $as_found
   2917 then :
   2918 
   2919 else case e in #(
   2920   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2921 esac
   2922 fi
   2923 
   2924 
   2925 # These three variables are undocumented and unsupported,
   2926 # and are intended to be withdrawn in a future Autoconf release.
   2927 # They can cause serious problems if a builder's source tree is in a directory
   2928 # whose full name contains unusual characters.
   2929 if test -f "${ac_aux_dir}config.guess"; then
   2930   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2931 fi
   2932 if test -f "${ac_aux_dir}config.sub"; then
   2933   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2934 fi
   2935 if test -f "$ac_aux_dir/configure"; then
   2936   ac_configure="$SHELL ${ac_aux_dir}configure"
   2937 fi
   2938 
   2939 # Check that the precious variables saved in the cache have kept the same
   2940 # value.
   2941 ac_cache_corrupted=false
   2942 for ac_var in $ac_precious_vars; do
   2943   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2944   eval ac_new_set=\$ac_env_${ac_var}_set
   2945   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2946   eval ac_new_val=\$ac_env_${ac_var}_value
   2947   case $ac_old_set,$ac_new_set in
   2948     set,)
   2949       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2950 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2951       ac_cache_corrupted=: ;;
   2952     ,set)
   2953       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2954 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2955       ac_cache_corrupted=: ;;
   2956     ,);;
   2957     *)
   2958       if test "x$ac_old_val" != "x$ac_new_val"; then
   2959 	# differences in whitespace do not lead to failure.
   2960 	ac_old_val_w=`echo x $ac_old_val`
   2961 	ac_new_val_w=`echo x $ac_new_val`
   2962 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2963 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2964 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2965 	  ac_cache_corrupted=:
   2966 	else
   2967 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2968 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2969 	  eval $ac_var=\$ac_old_val
   2970 	fi
   2971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2972 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2974 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2975       fi;;
   2976   esac
   2977   # Pass precious variables to config.status.
   2978   if test "$ac_new_set" = set; then
   2979     case $ac_new_val in
   2980     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2981     *) ac_arg=$ac_var=$ac_new_val ;;
   2982     esac
   2983     case " $ac_configure_args " in
   2984       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2985       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2986     esac
   2987   fi
   2988 done
   2989 if $ac_cache_corrupted; then
   2990   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2991 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2992   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2993 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2994   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2995 	    and start over" "$LINENO" 5
   2996 fi
   2997 ## -------------------- ##
   2998 ## Main body of script. ##
   2999 ## -------------------- ##
   3000 
   3001 ac_ext=c
   3002 ac_cpp='$CPP $CPPFLAGS'
   3003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3006 
   3007 
   3008 
   3009 
   3010 am__api_version='1.17'
   3011 
   3012 
   3013 
   3014   # Find a good install program.  We prefer a C program (faster),
   3015 # so one script is as good as another.  But avoid the broken or
   3016 # incompatible versions:
   3017 # SysV /etc/install, /usr/sbin/install
   3018 # SunOS /usr/etc/install
   3019 # IRIX /sbin/install
   3020 # AIX /bin/install
   3021 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3022 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3023 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3024 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3025 # OS/2's system install, which has a completely different semantic
   3026 # ./install, which can be erroneously created by make from ./install.sh.
   3027 # Reject install programs that cannot install multiple files.
   3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3029 printf %s "checking for a BSD-compatible install... " >&6; }
   3030 if test -z "$INSTALL"; then
   3031 if test ${ac_cv_path_install+y}
   3032 then :
   3033   printf %s "(cached) " >&6
   3034 else case e in #(
   3035   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3036 for as_dir in $PATH
   3037 do
   3038   IFS=$as_save_IFS
   3039   case $as_dir in #(((
   3040     '') as_dir=./ ;;
   3041     */) ;;
   3042     *) as_dir=$as_dir/ ;;
   3043   esac
   3044     # Account for fact that we put trailing slashes in our PATH walk.
   3045 case $as_dir in #((
   3046   ./ | /[cC]/* | \
   3047   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3048   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3049   /usr/ucb/* ) ;;
   3050   *)
   3051     # OSF1 and SCO ODT 3.0 have their own names for install.
   3052     # Don't use installbsd from OSF since it installs stuff as root
   3053     # by default.
   3054     for ac_prog in ginstall scoinst install; do
   3055       for ac_exec_ext in '' $ac_executable_extensions; do
   3056 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3057 	  if test $ac_prog = install &&
   3058 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3059 	    # AIX install.  It has an incompatible calling convention.
   3060 	    :
   3061 	  elif test $ac_prog = install &&
   3062 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3063 	    # program-specific install script used by HP pwplus--don't use.
   3064 	    :
   3065 	  else
   3066 	    rm -rf conftest.one conftest.two conftest.dir
   3067 	    echo one > conftest.one
   3068 	    echo two > conftest.two
   3069 	    mkdir conftest.dir
   3070 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3071 	      test -s conftest.one && test -s conftest.two &&
   3072 	      test -s conftest.dir/conftest.one &&
   3073 	      test -s conftest.dir/conftest.two
   3074 	    then
   3075 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3076 	      break 3
   3077 	    fi
   3078 	  fi
   3079 	fi
   3080       done
   3081     done
   3082     ;;
   3083 esac
   3084 
   3085   done
   3086 IFS=$as_save_IFS
   3087 
   3088 rm -rf conftest.one conftest.two conftest.dir
   3089  ;;
   3090 esac
   3091 fi
   3092   if test ${ac_cv_path_install+y}; then
   3093     INSTALL=$ac_cv_path_install
   3094   else
   3095     # As a last resort, use the slow shell script.  Don't cache a
   3096     # value for INSTALL within a source directory, because that will
   3097     # break other packages using the cache if that directory is
   3098     # removed, or if the value is a relative name.
   3099     INSTALL=$ac_install_sh
   3100   fi
   3101 fi
   3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3103 printf "%s\n" "$INSTALL" >&6; }
   3104 
   3105 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3106 # It thinks the first close brace ends the variable substitution.
   3107 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3108 
   3109 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3110 
   3111 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3112 
   3113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   3114 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   3115 if test ${am_cv_sleep_fractional_seconds+y}
   3116 then :
   3117   printf %s "(cached) " >&6
   3118 else case e in #(
   3119   e) if sleep 0.001 2>/dev/null
   3120 then :
   3121   am_cv_sleep_fractional_seconds=yes
   3122 else case e in #(
   3123   e) am_cv_sleep_fractional_seconds=no ;;
   3124 esac
   3125 fi
   3126  ;;
   3127 esac
   3128 fi
   3129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   3130 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   3131 
   3132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   3133 printf %s "checking filesystem timestamp resolution... " >&6; }
   3134 if test ${am_cv_filesystem_timestamp_resolution+y}
   3135 then :
   3136   printf %s "(cached) " >&6
   3137 else case e in #(
   3138   e) # Default to the worst case.
   3139 am_cv_filesystem_timestamp_resolution=2
   3140 
   3141 # Only try to go finer than 1 sec if sleep can do it.
   3142 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   3143 # - 1 sec is not much of a win compared to 2 sec, and
   3144 # - it takes 2 seconds to perform the test whether 1 sec works.
   3145 #
   3146 # Instead, just use the default 2s on platforms that have 1s resolution,
   3147 # accept the extra 1s delay when using $sleep in the Automake tests, in
   3148 # exchange for not incurring the 2s delay for running the test for all
   3149 # packages.
   3150 #
   3151 am_try_resolutions=
   3152 if test "$am_cv_sleep_fractional_seconds" = yes; then
   3153   # Even a millisecond often causes a bunch of false positives,
   3154   # so just try a hundredth of a second. The time saved between .001 and
   3155   # .01 is not terribly consequential.
   3156   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   3157 fi
   3158 
   3159 # In order to catch current-generation FAT out, we must *modify* files
   3160 # that already exist; the *creation* timestamp is finer.  Use names
   3161 # that make ls -t sort them differently when they have equal
   3162 # timestamps than when they have distinct timestamps, keeping
   3163 # in mind that ls -t prints the *newest* file first.
   3164 rm -f conftest.ts?
   3165 : > conftest.ts1
   3166 : > conftest.ts2
   3167 : > conftest.ts3
   3168 
   3169 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   3170 # clobber the current shell's arguments. (Outer-level square brackets
   3171 # are removed by m4; they're present so that m4 does not expand
   3172 # <dollar><star>; be careful, easy to get confused.)
   3173 if (
   3174      set X `ls -t conftest.ts[12]` &&
   3175      {
   3176        test "$*" != "X conftest.ts1 conftest.ts2" ||
   3177        test "$*" != "X conftest.ts2 conftest.ts1";
   3178      }
   3179 ); then :; else
   3180   # If neither matched, then we have a broken ls.  This can happen
   3181   # if, for instance, CONFIG_SHELL is bash and it inherits a
   3182   # broken ls alias from the environment.  This has actually
   3183   # happened.  Such a system could not be considered "sane".
   3184   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   3185   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3186 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3187 as_fn_error $? "ls -t produces unexpected output.
   3188 Make sure there is not a broken ls alias in your environment.
   3189 See 'config.log' for more details" "$LINENO" 5; }
   3190 fi
   3191 
   3192 for am_try_res in $am_try_resolutions; do
   3193   # Any one fine-grained sleep might happen to cross the boundary
   3194   # between two values of a coarser actual resolution, but if we do
   3195   # two fine-grained sleeps in a row, at least one of them will fall
   3196   # entirely within a coarse interval.
   3197   echo alpha > conftest.ts1
   3198   sleep $am_try_res
   3199   echo beta > conftest.ts2
   3200   sleep $am_try_res
   3201   echo gamma > conftest.ts3
   3202 
   3203   # We assume that 'ls -t' will make use of high-resolution
   3204   # timestamps if the operating system supports them at all.
   3205   if (set X `ls -t conftest.ts?` &&
   3206       test "$2" = conftest.ts3 &&
   3207       test "$3" = conftest.ts2 &&
   3208       test "$4" = conftest.ts1); then
   3209     #
   3210     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   3211     # because we don't need to test make.
   3212     make_ok=true
   3213     if test $am_try_res != 1; then
   3214       # But if we've succeeded so far with a subsecond resolution, we
   3215       # have one more thing to check: make. It can happen that
   3216       # everything else supports the subsecond mtimes, but make doesn't;
   3217       # notably on macOS, which ships make 3.81 from 2006 (the last one
   3218       # released under GPLv2). https://bugs.gnu.org/68808
   3219       #
   3220       # We test $MAKE if it is defined in the environment, else "make".
   3221       # It might get overridden later, but our hope is that in practice
   3222       # it does not matter: it is the system "make" which is (by far)
   3223       # the most likely to be broken, whereas if the user overrides it,
   3224       # probably they did so with a better, or at least not worse, make.
   3225       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   3226       #
   3227       # Create a Makefile (real tab character here):
   3228       rm -f conftest.mk
   3229       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   3230       echo '	touch conftest.ts2' >>conftest.mk
   3231       #
   3232       # Now, running
   3233       #   touch conftest.ts1; touch conftest.ts2; make
   3234       # should touch ts1 because ts2 is newer. This could happen by luck,
   3235       # but most often, it will fail if make's support is insufficient. So
   3236       # test for several consecutive successes.
   3237       #
   3238       # (We reuse conftest.ts[12] because we still want to modify existing
   3239       # files, not create new ones, per above.)
   3240       n=0
   3241       make=${MAKE-make}
   3242       until test $n -eq 3; do
   3243         echo one > conftest.ts1
   3244         sleep $am_try_res
   3245         echo two > conftest.ts2 # ts2 should now be newer than ts1
   3246         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   3247           make_ok=false
   3248           break # out of $n loop
   3249         fi
   3250         n=`expr $n + 1`
   3251       done
   3252     fi
   3253     #
   3254     if $make_ok; then
   3255       # Everything we know to check worked out, so call this resolution good.
   3256       am_cv_filesystem_timestamp_resolution=$am_try_res
   3257       break # out of $am_try_res loop
   3258     fi
   3259     # Otherwise, we'll go on to check the next resolution.
   3260   fi
   3261 done
   3262 rm -f conftest.ts?
   3263 # (end _am_filesystem_timestamp_resolution)
   3264  ;;
   3265 esac
   3266 fi
   3267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   3268 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   3269 
   3270 # This check should not be cached, as it may vary across builds of
   3271 # different projects.
   3272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3273 printf %s "checking whether build environment is sane... " >&6; }
   3274 # Reject unsafe characters in $srcdir or the absolute working directory
   3275 # name.  Accept space and tab only in the latter.
   3276 am_lf='
   3277 '
   3278 case `pwd` in
   3279   *[\\\"\#\$\&\'\`$am_lf]*)
   3280     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3281 esac
   3282 case $srcdir in
   3283   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3284     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3285 esac
   3286 
   3287 # Do 'set' in a subshell so we don't clobber the current shell's
   3288 # arguments.  Must try -L first in case configure is actually a
   3289 # symlink; some systems play weird games with the mod time of symlinks
   3290 # (eg FreeBSD returns the mod time of the symlink's containing
   3291 # directory).
   3292 am_build_env_is_sane=no
   3293 am_has_slept=no
   3294 rm -f conftest.file
   3295 for am_try in 1 2; do
   3296   echo "timestamp, slept: $am_has_slept" > conftest.file
   3297   if (
   3298     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3299     if test "$*" = "X"; then
   3300       # -L didn't work.
   3301       set X `ls -t "$srcdir/configure" conftest.file`
   3302     fi
   3303     test "$2" = conftest.file
   3304   ); then
   3305     am_build_env_is_sane=yes
   3306     break
   3307   fi
   3308   # Just in case.
   3309   sleep "$am_cv_filesystem_timestamp_resolution"
   3310   am_has_slept=yes
   3311 done
   3312 
   3313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3314 printf "%s\n" "$am_build_env_is_sane" >&6; }
   3315 if test "$am_build_env_is_sane" = no; then
   3316   as_fn_error $? "newly created file is older than distributed files!
   3317 Check your system clock" "$LINENO" 5
   3318 fi
   3319 
   3320 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3321 # generated files are strictly newer.
   3322 am_sleep_pid=
   3323 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3324 then :
   3325 
   3326 else case e in #(
   3327   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3328   am_sleep_pid=$!
   3329  ;;
   3330 esac
   3331 fi
   3332 
   3333 rm -f conftest.file
   3334 
   3335 test "$program_prefix" != NONE &&
   3336   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3337 # Use a double $ so make ignores it.
   3338 test "$program_suffix" != NONE &&
   3339   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3340 # Double any \ or $.
   3341 # By default was 's,x,x', remove it if useless.
   3342 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3343 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3344 
   3345 
   3346 # Expand $ac_aux_dir to an absolute path.
   3347 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3348 
   3349 
   3350   if test x"${MISSING+set}" != xset; then
   3351   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3352 fi
   3353 # Use eval to expand $SHELL
   3354 if eval "$MISSING --is-lightweight"; then
   3355   am_missing_run="$MISSING "
   3356 else
   3357   am_missing_run=
   3358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3359 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3360 fi
   3361 
   3362 if test x"${install_sh+set}" != xset; then
   3363   case $am_aux_dir in
   3364   *\ * | *\	*)
   3365     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3366   *)
   3367     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3368   esac
   3369 fi
   3370 
   3371 # Installed binaries are usually stripped using 'strip' when the user
   3372 # run "make install-strip".  However 'strip' might not be the right
   3373 # tool to use in cross-compilation environments, therefore Automake
   3374 # will honor the 'STRIP' environment variable to overrule this program.
   3375 if test "$cross_compiling" != no; then
   3376   if test -n "$ac_tool_prefix"; then
   3377   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3378 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3380 printf %s "checking for $ac_word... " >&6; }
   3381 if test ${ac_cv_prog_STRIP+y}
   3382 then :
   3383   printf %s "(cached) " >&6
   3384 else case e in #(
   3385   e) if test -n "$STRIP"; then
   3386   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3387 else
   3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3389 for as_dir in $PATH
   3390 do
   3391   IFS=$as_save_IFS
   3392   case $as_dir in #(((
   3393     '') as_dir=./ ;;
   3394     */) ;;
   3395     *) as_dir=$as_dir/ ;;
   3396   esac
   3397     for ac_exec_ext in '' $ac_executable_extensions; do
   3398   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3399     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3400     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3401     break 2
   3402   fi
   3403 done
   3404   done
   3405 IFS=$as_save_IFS
   3406 
   3407 fi ;;
   3408 esac
   3409 fi
   3410 STRIP=$ac_cv_prog_STRIP
   3411 if test -n "$STRIP"; then
   3412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3413 printf "%s\n" "$STRIP" >&6; }
   3414 else
   3415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3416 printf "%s\n" "no" >&6; }
   3417 fi
   3418 
   3419 
   3420 fi
   3421 if test -z "$ac_cv_prog_STRIP"; then
   3422   ac_ct_STRIP=$STRIP
   3423   # Extract the first word of "strip", so it can be a program name with args.
   3424 set dummy strip; ac_word=$2
   3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3426 printf %s "checking for $ac_word... " >&6; }
   3427 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3428 then :
   3429   printf %s "(cached) " >&6
   3430 else case e in #(
   3431   e) if test -n "$ac_ct_STRIP"; then
   3432   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3433 else
   3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3435 for as_dir in $PATH
   3436 do
   3437   IFS=$as_save_IFS
   3438   case $as_dir in #(((
   3439     '') as_dir=./ ;;
   3440     */) ;;
   3441     *) as_dir=$as_dir/ ;;
   3442   esac
   3443     for ac_exec_ext in '' $ac_executable_extensions; do
   3444   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3445     ac_cv_prog_ac_ct_STRIP="strip"
   3446     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3447     break 2
   3448   fi
   3449 done
   3450   done
   3451 IFS=$as_save_IFS
   3452 
   3453 fi ;;
   3454 esac
   3455 fi
   3456 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3457 if test -n "$ac_ct_STRIP"; then
   3458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3459 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3460 else
   3461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3462 printf "%s\n" "no" >&6; }
   3463 fi
   3464 
   3465   if test "x$ac_ct_STRIP" = x; then
   3466     STRIP=":"
   3467   else
   3468     case $cross_compiling:$ac_tool_warned in
   3469 yes:)
   3470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3471 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3472 ac_tool_warned=yes ;;
   3473 esac
   3474     STRIP=$ac_ct_STRIP
   3475   fi
   3476 else
   3477   STRIP="$ac_cv_prog_STRIP"
   3478 fi
   3479 
   3480 fi
   3481 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3482 
   3483 
   3484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3485 printf %s "checking for a race-free mkdir -p... " >&6; }
   3486 if test -z "$MKDIR_P"; then
   3487   if test ${ac_cv_path_mkdir+y}
   3488 then :
   3489   printf %s "(cached) " >&6
   3490 else case e in #(
   3491   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3492 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3493 do
   3494   IFS=$as_save_IFS
   3495   case $as_dir in #(((
   3496     '') as_dir=./ ;;
   3497     */) ;;
   3498     *) as_dir=$as_dir/ ;;
   3499   esac
   3500     for ac_prog in mkdir gmkdir; do
   3501 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3502 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3503 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3504 	     'mkdir ('*'coreutils) '* | \
   3505 	     *'BusyBox '* | \
   3506 	     'mkdir (fileutils) '4.1*)
   3507 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3508 	       break 3;;
   3509 	   esac
   3510 	 done
   3511        done
   3512   done
   3513 IFS=$as_save_IFS
   3514  ;;
   3515 esac
   3516 fi
   3517 
   3518   test -d ./--version && rmdir ./--version
   3519   if test ${ac_cv_path_mkdir+y}; then
   3520     MKDIR_P="$ac_cv_path_mkdir -p"
   3521   else
   3522     # As a last resort, use plain mkdir -p,
   3523     # in the hope it doesn't have the bugs of ancient mkdir.
   3524     MKDIR_P='mkdir -p'
   3525   fi
   3526 fi
   3527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3528 printf "%s\n" "$MKDIR_P" >&6; }
   3529 
   3530 for ac_prog in gawk mawk nawk awk
   3531 do
   3532   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3533 set dummy $ac_prog; ac_word=$2
   3534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3535 printf %s "checking for $ac_word... " >&6; }
   3536 if test ${ac_cv_prog_AWK+y}
   3537 then :
   3538   printf %s "(cached) " >&6
   3539 else case e in #(
   3540   e) if test -n "$AWK"; then
   3541   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3542 else
   3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3544 for as_dir in $PATH
   3545 do
   3546   IFS=$as_save_IFS
   3547   case $as_dir in #(((
   3548     '') as_dir=./ ;;
   3549     */) ;;
   3550     *) as_dir=$as_dir/ ;;
   3551   esac
   3552     for ac_exec_ext in '' $ac_executable_extensions; do
   3553   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3554     ac_cv_prog_AWK="$ac_prog"
   3555     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3556     break 2
   3557   fi
   3558 done
   3559   done
   3560 IFS=$as_save_IFS
   3561 
   3562 fi ;;
   3563 esac
   3564 fi
   3565 AWK=$ac_cv_prog_AWK
   3566 if test -n "$AWK"; then
   3567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3568 printf "%s\n" "$AWK" >&6; }
   3569 else
   3570   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3571 printf "%s\n" "no" >&6; }
   3572 fi
   3573 
   3574 
   3575   test -n "$AWK" && break
   3576 done
   3577 
   3578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3579 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3580 set x ${MAKE-make}
   3581 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3582 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3583 then :
   3584   printf %s "(cached) " >&6
   3585 else case e in #(
   3586   e) cat >conftest.make <<\_ACEOF
   3587 SHELL = /bin/sh
   3588 all:
   3589 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3590 _ACEOF
   3591 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3592 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3593   *@@@%%%=?*=@@@%%%*)
   3594     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3595   *)
   3596     eval ac_cv_prog_make_${ac_make}_set=no;;
   3597 esac
   3598 rm -f conftest.make ;;
   3599 esac
   3600 fi
   3601 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3603 printf "%s\n" "yes" >&6; }
   3604   SET_MAKE=
   3605 else
   3606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3607 printf "%s\n" "no" >&6; }
   3608   SET_MAKE="MAKE=${MAKE-make}"
   3609 fi
   3610 
   3611 rm -rf .tst 2>/dev/null
   3612 mkdir .tst 2>/dev/null
   3613 if test -d .tst; then
   3614   am__leading_dot=.
   3615 else
   3616   am__leading_dot=_
   3617 fi
   3618 rmdir .tst 2>/dev/null
   3619 
   3620 AM_DEFAULT_VERBOSITY=1
   3621 # Check whether --enable-silent-rules was given.
   3622 if test ${enable_silent_rules+y}
   3623 then :
   3624   enableval=$enable_silent_rules;
   3625 fi
   3626 
   3627 am_make=${MAKE-make}
   3628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3629 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3630 if test ${am_cv_make_support_nested_variables+y}
   3631 then :
   3632   printf %s "(cached) " >&6
   3633 else case e in #(
   3634   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3635 BAR0=false
   3636 BAR1=true
   3637 V=1
   3638 am__doit:
   3639 	@$(TRUE)
   3640 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3641   am_cv_make_support_nested_variables=yes
   3642 else
   3643   am_cv_make_support_nested_variables=no
   3644 fi ;;
   3645 esac
   3646 fi
   3647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3648 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3649 AM_BACKSLASH='\'
   3650 
   3651 am__rm_f_notfound=
   3652 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3653 then :
   3654 
   3655 else case e in #(
   3656   e) am__rm_f_notfound='""' ;;
   3657 esac
   3658 fi
   3659 
   3660 
   3661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3662 printf %s "checking xargs -n works... " >&6; }
   3663 if test ${am_cv_xargs_n_works+y}
   3664 then :
   3665   printf %s "(cached) " >&6
   3666 else case e in #(
   3667   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3668 3"
   3669 then :
   3670   am_cv_xargs_n_works=yes
   3671 else case e in #(
   3672   e) am_cv_xargs_n_works=no ;;
   3673 esac
   3674 fi ;;
   3675 esac
   3676 fi
   3677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3678 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3679 if test "$am_cv_xargs_n_works" = yes
   3680 then :
   3681   am__xargs_n='xargs -n'
   3682 else case e in #(
   3683   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3684  ;;
   3685 esac
   3686 fi
   3687 
   3688 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3689   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3690   # is not polluted with repeated "-I."
   3691   am__isrc=' -I$(srcdir)'
   3692   # test to see if srcdir already configured
   3693   if test -f $srcdir/config.status; then
   3694     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3695   fi
   3696 fi
   3697 
   3698 # test whether we have cygpath
   3699 if test -z "$CYGPATH_W"; then
   3700   if (cygpath --version) >/dev/null 2>/dev/null; then
   3701     CYGPATH_W='cygpath -w'
   3702   else
   3703     CYGPATH_W=echo
   3704   fi
   3705 fi
   3706 
   3707 
   3708 # Define the identity of the package.
   3709  PACKAGE='openpam'
   3710  VERSION='20250531'
   3711 
   3712 
   3713 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3714 
   3715 
   3716 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3717 
   3718 # Some tools Automake needs.
   3719 
   3720 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3721 
   3722 
   3723 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3724 
   3725 
   3726 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3727 
   3728 
   3729 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3730 
   3731 
   3732 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3733 
   3734 # For better backward compatibility.  To be removed once Automake 1.9.x
   3735 # dies out for good.  For more background, see:
   3736 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3737 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3738 mkdir_p='$(MKDIR_P)'
   3739 
   3740 # We need awk for the "check" target (and possibly the TAP driver).  The
   3741 # system "awk" is bad on some platforms.
   3742 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3743 # in the wild :-(  We should find a proper way to deprecate it ...
   3744 AMTAR='$${TAR-tar}'
   3745 
   3746 
   3747 # We'll loop over all known methods to create a tar archive until one works.
   3748 _am_tools='gnutar  pax cpio none'
   3749 
   3750 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3751 
   3752 
   3753 
   3754 
   3755 
   3756 # Variables for tags utilities; see am/tags.am
   3757 if test -z "$CTAGS"; then
   3758   CTAGS=ctags
   3759 fi
   3760 
   3761 if test -z "$ETAGS"; then
   3762   ETAGS=etags
   3763 fi
   3764 
   3765 if test -z "$CSCOPE"; then
   3766   CSCOPE=cscope
   3767 fi
   3768 
   3769 
   3770 
   3771 
   3772 
   3773 
   3774 
   3775 ac_config_headers="$ac_config_headers config.h"
   3776 
   3777 
   3778 # C compiler and features
   3779 ac_ext=c
   3780 ac_cpp='$CPP $CPPFLAGS'
   3781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3784 
   3785 
   3786 
   3787 
   3788 
   3789 
   3790 
   3791 
   3792 
   3793 
   3794 DEPDIR="${am__leading_dot}deps"
   3795 
   3796 ac_config_commands="$ac_config_commands depfiles"
   3797 
   3798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3799 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3800 cat > confinc.mk << 'END'
   3801 am__doit:
   3802 	@echo this is the am__doit target >confinc.out
   3803 .PHONY: am__doit
   3804 END
   3805 am__include="#"
   3806 am__quote=
   3807 # BSD make does it like this.
   3808 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3809 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3810 echo 'include confinc.mk # ignored' > confmf.GNU
   3811 _am_result=no
   3812 for s in GNU BSD; do
   3813   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3814    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3815    ac_status=$?
   3816    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3817    (exit $ac_status); }
   3818   case $?:`cat confinc.out 2>/dev/null` in #(
   3819   '0:this is the am__doit target') :
   3820     case $s in #(
   3821   BSD) :
   3822     am__include='.include' am__quote='"' ;; #(
   3823   *) :
   3824     am__include='include' am__quote='' ;;
   3825 esac ;; #(
   3826   *) :
   3827      ;;
   3828 esac
   3829   if test "$am__include" != "#"; then
   3830     _am_result="yes ($s style)"
   3831     break
   3832   fi
   3833 done
   3834 rm -f confinc.* confmf.*
   3835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3836 printf "%s\n" "${_am_result}" >&6; }
   3837 
   3838 # Check whether --enable-dependency-tracking was given.
   3839 if test ${enable_dependency_tracking+y}
   3840 then :
   3841   enableval=$enable_dependency_tracking;
   3842 fi
   3843 
   3844 if test "x$enable_dependency_tracking" != xno; then
   3845   am_depcomp="$ac_aux_dir/depcomp"
   3846   AMDEPBACKSLASH='\'
   3847   am__nodep='_no'
   3848 fi
   3849  if test "x$enable_dependency_tracking" != xno; then
   3850   AMDEP_TRUE=
   3851   AMDEP_FALSE='#'
   3852 else
   3853   AMDEP_TRUE='#'
   3854   AMDEP_FALSE=
   3855 fi
   3856 
   3857 
   3858 ac_ext=c
   3859 ac_cpp='$CPP $CPPFLAGS'
   3860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3863 if test -n "$ac_tool_prefix"; then
   3864   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3865 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3867 printf %s "checking for $ac_word... " >&6; }
   3868 if test ${ac_cv_prog_CC+y}
   3869 then :
   3870   printf %s "(cached) " >&6
   3871 else case e in #(
   3872   e) if test -n "$CC"; then
   3873   ac_cv_prog_CC="$CC" # Let the user override the test.
   3874 else
   3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3876 for as_dir in $PATH
   3877 do
   3878   IFS=$as_save_IFS
   3879   case $as_dir in #(((
   3880     '') as_dir=./ ;;
   3881     */) ;;
   3882     *) as_dir=$as_dir/ ;;
   3883   esac
   3884     for ac_exec_ext in '' $ac_executable_extensions; do
   3885   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3886     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3887     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3888     break 2
   3889   fi
   3890 done
   3891   done
   3892 IFS=$as_save_IFS
   3893 
   3894 fi ;;
   3895 esac
   3896 fi
   3897 CC=$ac_cv_prog_CC
   3898 if test -n "$CC"; then
   3899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3900 printf "%s\n" "$CC" >&6; }
   3901 else
   3902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3903 printf "%s\n" "no" >&6; }
   3904 fi
   3905 
   3906 
   3907 fi
   3908 if test -z "$ac_cv_prog_CC"; then
   3909   ac_ct_CC=$CC
   3910   # Extract the first word of "gcc", so it can be a program name with args.
   3911 set dummy gcc; ac_word=$2
   3912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3913 printf %s "checking for $ac_word... " >&6; }
   3914 if test ${ac_cv_prog_ac_ct_CC+y}
   3915 then :
   3916   printf %s "(cached) " >&6
   3917 else case e in #(
   3918   e) if test -n "$ac_ct_CC"; then
   3919   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3920 else
   3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3922 for as_dir in $PATH
   3923 do
   3924   IFS=$as_save_IFS
   3925   case $as_dir in #(((
   3926     '') as_dir=./ ;;
   3927     */) ;;
   3928     *) as_dir=$as_dir/ ;;
   3929   esac
   3930     for ac_exec_ext in '' $ac_executable_extensions; do
   3931   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3932     ac_cv_prog_ac_ct_CC="gcc"
   3933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3934     break 2
   3935   fi
   3936 done
   3937   done
   3938 IFS=$as_save_IFS
   3939 
   3940 fi ;;
   3941 esac
   3942 fi
   3943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3944 if test -n "$ac_ct_CC"; then
   3945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3946 printf "%s\n" "$ac_ct_CC" >&6; }
   3947 else
   3948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3949 printf "%s\n" "no" >&6; }
   3950 fi
   3951 
   3952   if test "x$ac_ct_CC" = x; then
   3953     CC=""
   3954   else
   3955     case $cross_compiling:$ac_tool_warned in
   3956 yes:)
   3957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3958 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3959 ac_tool_warned=yes ;;
   3960 esac
   3961     CC=$ac_ct_CC
   3962   fi
   3963 else
   3964   CC="$ac_cv_prog_CC"
   3965 fi
   3966 
   3967 if test -z "$CC"; then
   3968           if test -n "$ac_tool_prefix"; then
   3969     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3970 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3972 printf %s "checking for $ac_word... " >&6; }
   3973 if test ${ac_cv_prog_CC+y}
   3974 then :
   3975   printf %s "(cached) " >&6
   3976 else case e in #(
   3977   e) if test -n "$CC"; then
   3978   ac_cv_prog_CC="$CC" # Let the user override the test.
   3979 else
   3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3981 for as_dir in $PATH
   3982 do
   3983   IFS=$as_save_IFS
   3984   case $as_dir in #(((
   3985     '') as_dir=./ ;;
   3986     */) ;;
   3987     *) as_dir=$as_dir/ ;;
   3988   esac
   3989     for ac_exec_ext in '' $ac_executable_extensions; do
   3990   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3991     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3992     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3993     break 2
   3994   fi
   3995 done
   3996   done
   3997 IFS=$as_save_IFS
   3998 
   3999 fi ;;
   4000 esac
   4001 fi
   4002 CC=$ac_cv_prog_CC
   4003 if test -n "$CC"; then
   4004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4005 printf "%s\n" "$CC" >&6; }
   4006 else
   4007   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4008 printf "%s\n" "no" >&6; }
   4009 fi
   4010 
   4011 
   4012   fi
   4013 fi
   4014 if test -z "$CC"; then
   4015   # Extract the first word of "cc", so it can be a program name with args.
   4016 set dummy cc; ac_word=$2
   4017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4018 printf %s "checking for $ac_word... " >&6; }
   4019 if test ${ac_cv_prog_CC+y}
   4020 then :
   4021   printf %s "(cached) " >&6
   4022 else case e in #(
   4023   e) if test -n "$CC"; then
   4024   ac_cv_prog_CC="$CC" # Let the user override the test.
   4025 else
   4026   ac_prog_rejected=no
   4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4028 for as_dir in $PATH
   4029 do
   4030   IFS=$as_save_IFS
   4031   case $as_dir in #(((
   4032     '') as_dir=./ ;;
   4033     */) ;;
   4034     *) as_dir=$as_dir/ ;;
   4035   esac
   4036     for ac_exec_ext in '' $ac_executable_extensions; do
   4037   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4038     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4039        ac_prog_rejected=yes
   4040        continue
   4041      fi
   4042     ac_cv_prog_CC="cc"
   4043     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4044     break 2
   4045   fi
   4046 done
   4047   done
   4048 IFS=$as_save_IFS
   4049 
   4050 if test $ac_prog_rejected = yes; then
   4051   # We found a bogon in the path, so make sure we never use it.
   4052   set dummy $ac_cv_prog_CC
   4053   shift
   4054   if test $# != 0; then
   4055     # We chose a different compiler from the bogus one.
   4056     # However, it has the same basename, so the bogon will be chosen
   4057     # first if we set CC to just the basename; use the full file name.
   4058     shift
   4059     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4060   fi
   4061 fi
   4062 fi ;;
   4063 esac
   4064 fi
   4065 CC=$ac_cv_prog_CC
   4066 if test -n "$CC"; then
   4067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4068 printf "%s\n" "$CC" >&6; }
   4069 else
   4070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4071 printf "%s\n" "no" >&6; }
   4072 fi
   4073 
   4074 
   4075 fi
   4076 if test -z "$CC"; then
   4077   if test -n "$ac_tool_prefix"; then
   4078   for ac_prog in cl.exe
   4079   do
   4080     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4083 printf %s "checking for $ac_word... " >&6; }
   4084 if test ${ac_cv_prog_CC+y}
   4085 then :
   4086   printf %s "(cached) " >&6
   4087 else case e in #(
   4088   e) if test -n "$CC"; then
   4089   ac_cv_prog_CC="$CC" # Let the user override the test.
   4090 else
   4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4092 for as_dir in $PATH
   4093 do
   4094   IFS=$as_save_IFS
   4095   case $as_dir in #(((
   4096     '') as_dir=./ ;;
   4097     */) ;;
   4098     *) as_dir=$as_dir/ ;;
   4099   esac
   4100     for ac_exec_ext in '' $ac_executable_extensions; do
   4101   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4102     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4103     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4104     break 2
   4105   fi
   4106 done
   4107   done
   4108 IFS=$as_save_IFS
   4109 
   4110 fi ;;
   4111 esac
   4112 fi
   4113 CC=$ac_cv_prog_CC
   4114 if test -n "$CC"; then
   4115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4116 printf "%s\n" "$CC" >&6; }
   4117 else
   4118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4119 printf "%s\n" "no" >&6; }
   4120 fi
   4121 
   4122 
   4123     test -n "$CC" && break
   4124   done
   4125 fi
   4126 if test -z "$CC"; then
   4127   ac_ct_CC=$CC
   4128   for ac_prog in cl.exe
   4129 do
   4130   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4131 set dummy $ac_prog; ac_word=$2
   4132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4133 printf %s "checking for $ac_word... " >&6; }
   4134 if test ${ac_cv_prog_ac_ct_CC+y}
   4135 then :
   4136   printf %s "(cached) " >&6
   4137 else case e in #(
   4138   e) if test -n "$ac_ct_CC"; then
   4139   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4140 else
   4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4142 for as_dir in $PATH
   4143 do
   4144   IFS=$as_save_IFS
   4145   case $as_dir in #(((
   4146     '') as_dir=./ ;;
   4147     */) ;;
   4148     *) as_dir=$as_dir/ ;;
   4149   esac
   4150     for ac_exec_ext in '' $ac_executable_extensions; do
   4151   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4152     ac_cv_prog_ac_ct_CC="$ac_prog"
   4153     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4154     break 2
   4155   fi
   4156 done
   4157   done
   4158 IFS=$as_save_IFS
   4159 
   4160 fi ;;
   4161 esac
   4162 fi
   4163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4164 if test -n "$ac_ct_CC"; then
   4165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4166 printf "%s\n" "$ac_ct_CC" >&6; }
   4167 else
   4168   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4169 printf "%s\n" "no" >&6; }
   4170 fi
   4171 
   4172 
   4173   test -n "$ac_ct_CC" && break
   4174 done
   4175 
   4176   if test "x$ac_ct_CC" = x; then
   4177     CC=""
   4178   else
   4179     case $cross_compiling:$ac_tool_warned in
   4180 yes:)
   4181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4182 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4183 ac_tool_warned=yes ;;
   4184 esac
   4185     CC=$ac_ct_CC
   4186   fi
   4187 fi
   4188 
   4189 fi
   4190 if test -z "$CC"; then
   4191   if test -n "$ac_tool_prefix"; then
   4192   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4193 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4195 printf %s "checking for $ac_word... " >&6; }
   4196 if test ${ac_cv_prog_CC+y}
   4197 then :
   4198   printf %s "(cached) " >&6
   4199 else case e in #(
   4200   e) if test -n "$CC"; then
   4201   ac_cv_prog_CC="$CC" # Let the user override the test.
   4202 else
   4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4204 for as_dir in $PATH
   4205 do
   4206   IFS=$as_save_IFS
   4207   case $as_dir in #(((
   4208     '') as_dir=./ ;;
   4209     */) ;;
   4210     *) as_dir=$as_dir/ ;;
   4211   esac
   4212     for ac_exec_ext in '' $ac_executable_extensions; do
   4213   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4214     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4215     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4216     break 2
   4217   fi
   4218 done
   4219   done
   4220 IFS=$as_save_IFS
   4221 
   4222 fi ;;
   4223 esac
   4224 fi
   4225 CC=$ac_cv_prog_CC
   4226 if test -n "$CC"; then
   4227   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4228 printf "%s\n" "$CC" >&6; }
   4229 else
   4230   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4231 printf "%s\n" "no" >&6; }
   4232 fi
   4233 
   4234 
   4235 fi
   4236 if test -z "$ac_cv_prog_CC"; then
   4237   ac_ct_CC=$CC
   4238   # Extract the first word of "clang", so it can be a program name with args.
   4239 set dummy clang; ac_word=$2
   4240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4241 printf %s "checking for $ac_word... " >&6; }
   4242 if test ${ac_cv_prog_ac_ct_CC+y}
   4243 then :
   4244   printf %s "(cached) " >&6
   4245 else case e in #(
   4246   e) if test -n "$ac_ct_CC"; then
   4247   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4248 else
   4249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4250 for as_dir in $PATH
   4251 do
   4252   IFS=$as_save_IFS
   4253   case $as_dir in #(((
   4254     '') as_dir=./ ;;
   4255     */) ;;
   4256     *) as_dir=$as_dir/ ;;
   4257   esac
   4258     for ac_exec_ext in '' $ac_executable_extensions; do
   4259   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4260     ac_cv_prog_ac_ct_CC="clang"
   4261     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4262     break 2
   4263   fi
   4264 done
   4265   done
   4266 IFS=$as_save_IFS
   4267 
   4268 fi ;;
   4269 esac
   4270 fi
   4271 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4272 if test -n "$ac_ct_CC"; then
   4273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4274 printf "%s\n" "$ac_ct_CC" >&6; }
   4275 else
   4276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4277 printf "%s\n" "no" >&6; }
   4278 fi
   4279 
   4280   if test "x$ac_ct_CC" = x; then
   4281     CC=""
   4282   else
   4283     case $cross_compiling:$ac_tool_warned in
   4284 yes:)
   4285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4286 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4287 ac_tool_warned=yes ;;
   4288 esac
   4289     CC=$ac_ct_CC
   4290   fi
   4291 else
   4292   CC="$ac_cv_prog_CC"
   4293 fi
   4294 
   4295 fi
   4296 
   4297 
   4298 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4299 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4300 as_fn_error $? "no acceptable C compiler found in \$PATH
   4301 See 'config.log' for more details" "$LINENO" 5; }
   4302 
   4303 # Provide some information about the compiler.
   4304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4305 set X $ac_compile
   4306 ac_compiler=$2
   4307 for ac_option in --version -v -V -qversion -version; do
   4308   { { ac_try="$ac_compiler $ac_option >&5"
   4309 case "(($ac_try" in
   4310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4311   *) ac_try_echo=$ac_try;;
   4312 esac
   4313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4314 printf "%s\n" "$ac_try_echo"; } >&5
   4315   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4316   ac_status=$?
   4317   if test -s conftest.err; then
   4318     sed '10a\
   4319 ... rest of stderr output deleted ...
   4320          10q' conftest.err >conftest.er1
   4321     cat conftest.er1 >&5
   4322   fi
   4323   rm -f conftest.er1 conftest.err
   4324   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4325   test $ac_status = 0; }
   4326 done
   4327 
   4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4329 /* end confdefs.h.  */
   4330 
   4331 int
   4332 main (void)
   4333 {
   4334 
   4335   ;
   4336   return 0;
   4337 }
   4338 _ACEOF
   4339 ac_clean_files_save=$ac_clean_files
   4340 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4341 # Try to create an executable without -o first, disregard a.out.
   4342 # It will help us diagnose broken compilers, and finding out an intuition
   4343 # of exeext.
   4344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4345 printf %s "checking whether the C compiler works... " >&6; }
   4346 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4347 
   4348 # The possible output files:
   4349 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4350 
   4351 ac_rmfiles=
   4352 for ac_file in $ac_files
   4353 do
   4354   case $ac_file in
   4355     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4356     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4357   esac
   4358 done
   4359 rm -f $ac_rmfiles
   4360 
   4361 if { { ac_try="$ac_link_default"
   4362 case "(($ac_try" in
   4363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4364   *) ac_try_echo=$ac_try;;
   4365 esac
   4366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4367 printf "%s\n" "$ac_try_echo"; } >&5
   4368   (eval "$ac_link_default") 2>&5
   4369   ac_status=$?
   4370   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4371   test $ac_status = 0; }
   4372 then :
   4373   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4374 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4375 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4376 # so that the user can short-circuit this test for compilers unknown to
   4377 # Autoconf.
   4378 for ac_file in $ac_files ''
   4379 do
   4380   test -f "$ac_file" || continue
   4381   case $ac_file in
   4382     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4383 	;;
   4384     [ab].out )
   4385 	# We found the default executable, but exeext='' is most
   4386 	# certainly right.
   4387 	break;;
   4388     *.* )
   4389 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4390 	then :; else
   4391 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4392 	fi
   4393 	# We set ac_cv_exeext here because the later test for it is not
   4394 	# safe: cross compilers may not add the suffix if given an '-o'
   4395 	# argument, so we may need to know it at that point already.
   4396 	# Even if this section looks crufty: it has the advantage of
   4397 	# actually working.
   4398 	break;;
   4399     * )
   4400 	break;;
   4401   esac
   4402 done
   4403 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4404 
   4405 else case e in #(
   4406   e) ac_file='' ;;
   4407 esac
   4408 fi
   4409 if test -z "$ac_file"
   4410 then :
   4411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4412 printf "%s\n" "no" >&6; }
   4413 printf "%s\n" "$as_me: failed program was:" >&5
   4414 sed 's/^/| /' conftest.$ac_ext >&5
   4415 
   4416 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4417 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4418 as_fn_error 77 "C compiler cannot create executables
   4419 See 'config.log' for more details" "$LINENO" 5; }
   4420 else case e in #(
   4421   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4422 printf "%s\n" "yes" >&6; } ;;
   4423 esac
   4424 fi
   4425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4426 printf %s "checking for C compiler default output file name... " >&6; }
   4427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4428 printf "%s\n" "$ac_file" >&6; }
   4429 ac_exeext=$ac_cv_exeext
   4430 
   4431 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4432 ac_clean_files=$ac_clean_files_save
   4433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4434 printf %s "checking for suffix of executables... " >&6; }
   4435 if { { ac_try="$ac_link"
   4436 case "(($ac_try" in
   4437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4438   *) ac_try_echo=$ac_try;;
   4439 esac
   4440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4441 printf "%s\n" "$ac_try_echo"; } >&5
   4442   (eval "$ac_link") 2>&5
   4443   ac_status=$?
   4444   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4445   test $ac_status = 0; }
   4446 then :
   4447   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4448 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4449 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4450 # 'rm'.
   4451 for ac_file in conftest.exe conftest conftest.*; do
   4452   test -f "$ac_file" || continue
   4453   case $ac_file in
   4454     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4455     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4456 	  break;;
   4457     * ) break;;
   4458   esac
   4459 done
   4460 else case e in #(
   4461   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4462 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4463 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4464 See 'config.log' for more details" "$LINENO" 5; } ;;
   4465 esac
   4466 fi
   4467 rm -f conftest conftest$ac_cv_exeext
   4468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4469 printf "%s\n" "$ac_cv_exeext" >&6; }
   4470 
   4471 rm -f conftest.$ac_ext
   4472 EXEEXT=$ac_cv_exeext
   4473 ac_exeext=$EXEEXT
   4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4475 /* end confdefs.h.  */
   4476 #include <stdio.h>
   4477 int
   4478 main (void)
   4479 {
   4480 FILE *f = fopen ("conftest.out", "w");
   4481  if (!f)
   4482   return 1;
   4483  return ferror (f) || fclose (f) != 0;
   4484 
   4485   ;
   4486   return 0;
   4487 }
   4488 _ACEOF
   4489 ac_clean_files="$ac_clean_files conftest.out"
   4490 # Check that the compiler produces executables we can run.  If not, either
   4491 # the compiler is broken, or we cross compile.
   4492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4493 printf %s "checking whether we are cross compiling... " >&6; }
   4494 if test "$cross_compiling" != yes; then
   4495   { { ac_try="$ac_link"
   4496 case "(($ac_try" in
   4497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4498   *) ac_try_echo=$ac_try;;
   4499 esac
   4500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4501 printf "%s\n" "$ac_try_echo"; } >&5
   4502   (eval "$ac_link") 2>&5
   4503   ac_status=$?
   4504   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4505   test $ac_status = 0; }
   4506   if { ac_try='./conftest$ac_cv_exeext'
   4507   { { case "(($ac_try" in
   4508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4509   *) ac_try_echo=$ac_try;;
   4510 esac
   4511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4512 printf "%s\n" "$ac_try_echo"; } >&5
   4513   (eval "$ac_try") 2>&5
   4514   ac_status=$?
   4515   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4516   test $ac_status = 0; }; }; then
   4517     cross_compiling=no
   4518   else
   4519     if test "$cross_compiling" = maybe; then
   4520 	cross_compiling=yes
   4521     else
   4522 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4523 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4524 as_fn_error 77 "cannot run C compiled programs.
   4525 If you meant to cross compile, use '--host'.
   4526 See 'config.log' for more details" "$LINENO" 5; }
   4527     fi
   4528   fi
   4529 fi
   4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4531 printf "%s\n" "$cross_compiling" >&6; }
   4532 
   4533 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4534   conftest.o conftest.obj conftest.out
   4535 ac_clean_files=$ac_clean_files_save
   4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4537 printf %s "checking for suffix of object files... " >&6; }
   4538 if test ${ac_cv_objext+y}
   4539 then :
   4540   printf %s "(cached) " >&6
   4541 else case e in #(
   4542   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4543 /* end confdefs.h.  */
   4544 
   4545 int
   4546 main (void)
   4547 {
   4548 
   4549   ;
   4550   return 0;
   4551 }
   4552 _ACEOF
   4553 rm -f conftest.o conftest.obj
   4554 if { { ac_try="$ac_compile"
   4555 case "(($ac_try" in
   4556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4557   *) ac_try_echo=$ac_try;;
   4558 esac
   4559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4560 printf "%s\n" "$ac_try_echo"; } >&5
   4561   (eval "$ac_compile") 2>&5
   4562   ac_status=$?
   4563   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4564   test $ac_status = 0; }
   4565 then :
   4566   for ac_file in conftest.o conftest.obj conftest.*; do
   4567   test -f "$ac_file" || continue;
   4568   case $ac_file in
   4569     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4570     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4571        break;;
   4572   esac
   4573 done
   4574 else case e in #(
   4575   e) printf "%s\n" "$as_me: failed program was:" >&5
   4576 sed 's/^/| /' conftest.$ac_ext >&5
   4577 
   4578 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4579 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4580 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4581 See 'config.log' for more details" "$LINENO" 5; } ;;
   4582 esac
   4583 fi
   4584 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4585 esac
   4586 fi
   4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4588 printf "%s\n" "$ac_cv_objext" >&6; }
   4589 OBJEXT=$ac_cv_objext
   4590 ac_objext=$OBJEXT
   4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4592 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4593 if test ${ac_cv_c_compiler_gnu+y}
   4594 then :
   4595   printf %s "(cached) " >&6
   4596 else case e in #(
   4597   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4598 /* end confdefs.h.  */
   4599 
   4600 int
   4601 main (void)
   4602 {
   4603 #ifndef __GNUC__
   4604        choke me
   4605 #endif
   4606 
   4607   ;
   4608   return 0;
   4609 }
   4610 _ACEOF
   4611 if ac_fn_c_try_compile "$LINENO"
   4612 then :
   4613   ac_compiler_gnu=yes
   4614 else case e in #(
   4615   e) ac_compiler_gnu=no ;;
   4616 esac
   4617 fi
   4618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4619 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4620  ;;
   4621 esac
   4622 fi
   4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4624 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4626 
   4627 if test $ac_compiler_gnu = yes; then
   4628   GCC=yes
   4629 else
   4630   GCC=
   4631 fi
   4632 ac_test_CFLAGS=${CFLAGS+y}
   4633 ac_save_CFLAGS=$CFLAGS
   4634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4635 printf %s "checking whether $CC accepts -g... " >&6; }
   4636 if test ${ac_cv_prog_cc_g+y}
   4637 then :
   4638   printf %s "(cached) " >&6
   4639 else case e in #(
   4640   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4641    ac_c_werror_flag=yes
   4642    ac_cv_prog_cc_g=no
   4643    CFLAGS="-g"
   4644    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4645 /* end confdefs.h.  */
   4646 
   4647 int
   4648 main (void)
   4649 {
   4650 
   4651   ;
   4652   return 0;
   4653 }
   4654 _ACEOF
   4655 if ac_fn_c_try_compile "$LINENO"
   4656 then :
   4657   ac_cv_prog_cc_g=yes
   4658 else case e in #(
   4659   e) CFLAGS=""
   4660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4661 /* end confdefs.h.  */
   4662 
   4663 int
   4664 main (void)
   4665 {
   4666 
   4667   ;
   4668   return 0;
   4669 }
   4670 _ACEOF
   4671 if ac_fn_c_try_compile "$LINENO"
   4672 then :
   4673 
   4674 else case e in #(
   4675   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4676 	 CFLAGS="-g"
   4677 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4678 /* end confdefs.h.  */
   4679 
   4680 int
   4681 main (void)
   4682 {
   4683 
   4684   ;
   4685   return 0;
   4686 }
   4687 _ACEOF
   4688 if ac_fn_c_try_compile "$LINENO"
   4689 then :
   4690   ac_cv_prog_cc_g=yes
   4691 fi
   4692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4693 esac
   4694 fi
   4695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4696 esac
   4697 fi
   4698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4699    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4700 esac
   4701 fi
   4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4703 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4704 if test $ac_test_CFLAGS; then
   4705   CFLAGS=$ac_save_CFLAGS
   4706 elif test $ac_cv_prog_cc_g = yes; then
   4707   if test "$GCC" = yes; then
   4708     CFLAGS="-g -O2"
   4709   else
   4710     CFLAGS="-g"
   4711   fi
   4712 else
   4713   if test "$GCC" = yes; then
   4714     CFLAGS="-O2"
   4715   else
   4716     CFLAGS=
   4717   fi
   4718 fi
   4719 ac_prog_cc_stdc=no
   4720 if test x$ac_prog_cc_stdc = xno
   4721 then :
   4722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4723 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4724 if test ${ac_cv_prog_cc_c11+y}
   4725 then :
   4726   printf %s "(cached) " >&6
   4727 else case e in #(
   4728   e) ac_cv_prog_cc_c11=no
   4729 ac_save_CC=$CC
   4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4731 /* end confdefs.h.  */
   4732 $ac_c_conftest_c11_program
   4733 _ACEOF
   4734 for ac_arg in '' -std=gnu11
   4735 do
   4736   CC="$ac_save_CC $ac_arg"
   4737   if ac_fn_c_try_compile "$LINENO"
   4738 then :
   4739   ac_cv_prog_cc_c11=$ac_arg
   4740 fi
   4741 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4742   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4743 done
   4744 rm -f conftest.$ac_ext
   4745 CC=$ac_save_CC ;;
   4746 esac
   4747 fi
   4748 
   4749 if test "x$ac_cv_prog_cc_c11" = xno
   4750 then :
   4751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4752 printf "%s\n" "unsupported" >&6; }
   4753 else case e in #(
   4754   e) if test "x$ac_cv_prog_cc_c11" = x
   4755 then :
   4756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4757 printf "%s\n" "none needed" >&6; }
   4758 else case e in #(
   4759   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4760 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4761      CC="$CC $ac_cv_prog_cc_c11" ;;
   4762 esac
   4763 fi
   4764   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4765   ac_prog_cc_stdc=c11 ;;
   4766 esac
   4767 fi
   4768 fi
   4769 if test x$ac_prog_cc_stdc = xno
   4770 then :
   4771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4772 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4773 if test ${ac_cv_prog_cc_c99+y}
   4774 then :
   4775   printf %s "(cached) " >&6
   4776 else case e in #(
   4777   e) ac_cv_prog_cc_c99=no
   4778 ac_save_CC=$CC
   4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4780 /* end confdefs.h.  */
   4781 $ac_c_conftest_c99_program
   4782 _ACEOF
   4783 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4784 do
   4785   CC="$ac_save_CC $ac_arg"
   4786   if ac_fn_c_try_compile "$LINENO"
   4787 then :
   4788   ac_cv_prog_cc_c99=$ac_arg
   4789 fi
   4790 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4791   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4792 done
   4793 rm -f conftest.$ac_ext
   4794 CC=$ac_save_CC ;;
   4795 esac
   4796 fi
   4797 
   4798 if test "x$ac_cv_prog_cc_c99" = xno
   4799 then :
   4800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4801 printf "%s\n" "unsupported" >&6; }
   4802 else case e in #(
   4803   e) if test "x$ac_cv_prog_cc_c99" = x
   4804 then :
   4805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4806 printf "%s\n" "none needed" >&6; }
   4807 else case e in #(
   4808   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4809 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4810      CC="$CC $ac_cv_prog_cc_c99" ;;
   4811 esac
   4812 fi
   4813   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4814   ac_prog_cc_stdc=c99 ;;
   4815 esac
   4816 fi
   4817 fi
   4818 if test x$ac_prog_cc_stdc = xno
   4819 then :
   4820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4821 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4822 if test ${ac_cv_prog_cc_c89+y}
   4823 then :
   4824   printf %s "(cached) " >&6
   4825 else case e in #(
   4826   e) ac_cv_prog_cc_c89=no
   4827 ac_save_CC=$CC
   4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4829 /* end confdefs.h.  */
   4830 $ac_c_conftest_c89_program
   4831 _ACEOF
   4832 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4833 do
   4834   CC="$ac_save_CC $ac_arg"
   4835   if ac_fn_c_try_compile "$LINENO"
   4836 then :
   4837   ac_cv_prog_cc_c89=$ac_arg
   4838 fi
   4839 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4840   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4841 done
   4842 rm -f conftest.$ac_ext
   4843 CC=$ac_save_CC ;;
   4844 esac
   4845 fi
   4846 
   4847 if test "x$ac_cv_prog_cc_c89" = xno
   4848 then :
   4849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4850 printf "%s\n" "unsupported" >&6; }
   4851 else case e in #(
   4852   e) if test "x$ac_cv_prog_cc_c89" = x
   4853 then :
   4854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4855 printf "%s\n" "none needed" >&6; }
   4856 else case e in #(
   4857   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4858 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4859      CC="$CC $ac_cv_prog_cc_c89" ;;
   4860 esac
   4861 fi
   4862   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4863   ac_prog_cc_stdc=c89 ;;
   4864 esac
   4865 fi
   4866 fi
   4867 
   4868 ac_ext=c
   4869 ac_cpp='$CPP $CPPFLAGS'
   4870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4873 
   4874 
   4875   ac_ext=c
   4876 ac_cpp='$CPP $CPPFLAGS'
   4877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4881 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4882 if test ${am_cv_prog_cc_c_o+y}
   4883 then :
   4884   printf %s "(cached) " >&6
   4885 else case e in #(
   4886   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4887 /* end confdefs.h.  */
   4888 
   4889 int
   4890 main (void)
   4891 {
   4892 
   4893   ;
   4894   return 0;
   4895 }
   4896 _ACEOF
   4897   # Make sure it works both with $CC and with simple cc.
   4898   # Following AC_PROG_CC_C_O, we do the test twice because some
   4899   # compilers refuse to overwrite an existing .o file with -o,
   4900   # though they will create one.
   4901   am_cv_prog_cc_c_o=yes
   4902   for am_i in 1 2; do
   4903     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4904    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4905    ac_status=$?
   4906    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4907    (exit $ac_status); } \
   4908          && test -f conftest2.$ac_objext; then
   4909       : OK
   4910     else
   4911       am_cv_prog_cc_c_o=no
   4912       break
   4913     fi
   4914   done
   4915   rm -f core conftest*
   4916   unset am_i ;;
   4917 esac
   4918 fi
   4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4920 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4921 if test "$am_cv_prog_cc_c_o" != yes; then
   4922    # Losing compiler, so override with the script.
   4923    # FIXME: It is wrong to rewrite CC.
   4924    # But if we don't then we get into trouble of one sort or another.
   4925    # A longer-term fix would be to have automake use am__CC in this case,
   4926    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4927    CC="$am_aux_dir/compile $CC"
   4928 fi
   4929 ac_ext=c
   4930 ac_cpp='$CPP $CPPFLAGS'
   4931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4934 
   4935 
   4936 depcc="$CC"   am_compiler_list=
   4937 
   4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4939 printf %s "checking dependency style of $depcc... " >&6; }
   4940 if test ${am_cv_CC_dependencies_compiler_type+y}
   4941 then :
   4942   printf %s "(cached) " >&6
   4943 else case e in #(
   4944   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4945   # We make a subdir and do the tests there.  Otherwise we can end up
   4946   # making bogus files that we don't know about and never remove.  For
   4947   # instance it was reported that on HP-UX the gcc test will end up
   4948   # making a dummy file named 'D' -- because '-MD' means "put the output
   4949   # in D".
   4950   rm -rf conftest.dir
   4951   mkdir conftest.dir
   4952   # Copy depcomp to subdir because otherwise we won't find it if we're
   4953   # using a relative directory.
   4954   cp "$am_depcomp" conftest.dir
   4955   cd conftest.dir
   4956   # We will build objects and dependencies in a subdirectory because
   4957   # it helps to detect inapplicable dependency modes.  For instance
   4958   # both Tru64's cc and ICC support -MD to output dependencies as a
   4959   # side effect of compilation, but ICC will put the dependencies in
   4960   # the current directory while Tru64 will put them in the object
   4961   # directory.
   4962   mkdir sub
   4963 
   4964   am_cv_CC_dependencies_compiler_type=none
   4965   if test "$am_compiler_list" = ""; then
   4966      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4967   fi
   4968   am__universal=false
   4969   case " $depcc " in #(
   4970      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4971      esac
   4972 
   4973   for depmode in $am_compiler_list; do
   4974     # Setup a source with many dependencies, because some compilers
   4975     # like to wrap large dependency lists on column 80 (with \), and
   4976     # we should not choose a depcomp mode which is confused by this.
   4977     #
   4978     # We need to recreate these files for each test, as the compiler may
   4979     # overwrite some of them when testing with obscure command lines.
   4980     # This happens at least with the AIX C compiler.
   4981     : > sub/conftest.c
   4982     for i in 1 2 3 4 5 6; do
   4983       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4984       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4985       # Solaris 10 /bin/sh.
   4986       echo '/* dummy */' > sub/conftst$i.h
   4987     done
   4988     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4989 
   4990     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4991     # mode.  It turns out that the SunPro C++ compiler does not properly
   4992     # handle '-M -o', and we need to detect this.  Also, some Intel
   4993     # versions had trouble with output in subdirs.
   4994     am__obj=sub/conftest.${OBJEXT-o}
   4995     am__minus_obj="-o $am__obj"
   4996     case $depmode in
   4997     gcc)
   4998       # This depmode causes a compiler race in universal mode.
   4999       test "$am__universal" = false || continue
   5000       ;;
   5001     nosideeffect)
   5002       # After this tag, mechanisms are not by side-effect, so they'll
   5003       # only be used when explicitly requested.
   5004       if test "x$enable_dependency_tracking" = xyes; then
   5005 	continue
   5006       else
   5007 	break
   5008       fi
   5009       ;;
   5010     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5011       # This compiler won't grok '-c -o', but also, the minuso test has
   5012       # not run yet.  These depmodes are late enough in the game, and
   5013       # so weak that their functioning should not be impacted.
   5014       am__obj=conftest.${OBJEXT-o}
   5015       am__minus_obj=
   5016       ;;
   5017     none) break ;;
   5018     esac
   5019     if depmode=$depmode \
   5020        source=sub/conftest.c object=$am__obj \
   5021        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5022        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5023          >/dev/null 2>conftest.err &&
   5024        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5025        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5026        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5027        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5028       # icc doesn't choke on unknown options, it will just issue warnings
   5029       # or remarks (even with -Werror).  So we grep stderr for any message
   5030       # that says an option was ignored or not supported.
   5031       # When given -MP, icc 7.0 and 7.1 complain thus:
   5032       #   icc: Command line warning: ignoring option '-M'; no argument required
   5033       # The diagnosis changed in icc 8.0:
   5034       #   icc: Command line remark: option '-MP' not supported
   5035       if (grep 'ignoring option' conftest.err ||
   5036           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5037         am_cv_CC_dependencies_compiler_type=$depmode
   5038         break
   5039       fi
   5040     fi
   5041   done
   5042 
   5043   cd ..
   5044   rm -rf conftest.dir
   5045 else
   5046   am_cv_CC_dependencies_compiler_type=none
   5047 fi
   5048  ;;
   5049 esac
   5050 fi
   5051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5052 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5053 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5054 
   5055  if
   5056   test "x$enable_dependency_tracking" != xno \
   5057   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5058   am__fastdepCC_TRUE=
   5059   am__fastdepCC_FALSE='#'
   5060 else
   5061   am__fastdepCC_TRUE='#'
   5062   am__fastdepCC_FALSE=
   5063 fi
   5064 
   5065 
   5066 
   5067 ac_header= ac_cache=
   5068 for ac_item in $ac_header_c_list
   5069 do
   5070   if test $ac_cache; then
   5071     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5072     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5073       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   5074     fi
   5075     ac_header= ac_cache=
   5076   elif test $ac_header; then
   5077     ac_cache=$ac_item
   5078   else
   5079     ac_header=$ac_item
   5080   fi
   5081 done
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5091 then :
   5092 
   5093 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   5094 
   5095 fi
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5103 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5104 if test ${ac_cv_safe_to_define___extensions__+y}
   5105 then :
   5106   printf %s "(cached) " >&6
   5107 else case e in #(
   5108   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5109 /* end confdefs.h.  */
   5110 
   5111 #         define __EXTENSIONS__ 1
   5112           $ac_includes_default
   5113 int
   5114 main (void)
   5115 {
   5116 
   5117   ;
   5118   return 0;
   5119 }
   5120 _ACEOF
   5121 if ac_fn_c_try_compile "$LINENO"
   5122 then :
   5123   ac_cv_safe_to_define___extensions__=yes
   5124 else case e in #(
   5125   e) ac_cv_safe_to_define___extensions__=no ;;
   5126 esac
   5127 fi
   5128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5129 esac
   5130 fi
   5131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5132 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   5133 
   5134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   5135 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   5136 if test ${ac_cv_should_define__xopen_source+y}
   5137 then :
   5138   printf %s "(cached) " >&6
   5139 else case e in #(
   5140   e) ac_cv_should_define__xopen_source=no
   5141     if test $ac_cv_header_wchar_h = yes
   5142 then :
   5143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5144 /* end confdefs.h.  */
   5145 
   5146           #include <wchar.h>
   5147           mbstate_t x;
   5148 int
   5149 main (void)
   5150 {
   5151 
   5152   ;
   5153   return 0;
   5154 }
   5155 _ACEOF
   5156 if ac_fn_c_try_compile "$LINENO"
   5157 then :
   5158 
   5159 else case e in #(
   5160   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5161 /* end confdefs.h.  */
   5162 
   5163             #define _XOPEN_SOURCE 500
   5164             #include <wchar.h>
   5165             mbstate_t x;
   5166 int
   5167 main (void)
   5168 {
   5169 
   5170   ;
   5171   return 0;
   5172 }
   5173 _ACEOF
   5174 if ac_fn_c_try_compile "$LINENO"
   5175 then :
   5176   ac_cv_should_define__xopen_source=yes
   5177 fi
   5178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5179 esac
   5180 fi
   5181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5182 fi ;;
   5183 esac
   5184 fi
   5185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   5186 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   5187 
   5188   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   5189 
   5190   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   5191 
   5192   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   5193 
   5194   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   5195 
   5196   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   5197 
   5198   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   5199 
   5200   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5201 
   5202   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   5203 
   5204   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   5205 
   5206   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   5207 
   5208   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   5209 
   5210   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   5211 
   5212   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   5213 
   5214   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   5215 
   5216   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   5217 
   5218   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   5219 
   5220   if test $ac_cv_header_minix_config_h = yes
   5221 then :
   5222   MINIX=yes
   5223     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   5224 
   5225     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   5226 
   5227     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5228 
   5229 else case e in #(
   5230   e) MINIX= ;;
   5231 esac
   5232 fi
   5233   if test $ac_cv_safe_to_define___extensions__ = yes
   5234 then :
   5235   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   5236 
   5237 fi
   5238   if test $ac_cv_should_define__xopen_source = yes
   5239 then :
   5240   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   5241 
   5242 fi
   5243 
   5244 ac_ext=c
   5245 ac_cpp='$CPP $CPPFLAGS'
   5246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5249 if test -n "$ac_tool_prefix"; then
   5250   for ac_prog in clang gcc cc
   5251   do
   5252     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5255 printf %s "checking for $ac_word... " >&6; }
   5256 if test ${ac_cv_prog_CC+y}
   5257 then :
   5258   printf %s "(cached) " >&6
   5259 else case e in #(
   5260   e) if test -n "$CC"; then
   5261   ac_cv_prog_CC="$CC" # Let the user override the test.
   5262 else
   5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5264 for as_dir in $PATH
   5265 do
   5266   IFS=$as_save_IFS
   5267   case $as_dir in #(((
   5268     '') as_dir=./ ;;
   5269     */) ;;
   5270     *) as_dir=$as_dir/ ;;
   5271   esac
   5272     for ac_exec_ext in '' $ac_executable_extensions; do
   5273   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5274     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5275     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5276     break 2
   5277   fi
   5278 done
   5279   done
   5280 IFS=$as_save_IFS
   5281 
   5282 fi ;;
   5283 esac
   5284 fi
   5285 CC=$ac_cv_prog_CC
   5286 if test -n "$CC"; then
   5287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5288 printf "%s\n" "$CC" >&6; }
   5289 else
   5290   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5291 printf "%s\n" "no" >&6; }
   5292 fi
   5293 
   5294 
   5295     test -n "$CC" && break
   5296   done
   5297 fi
   5298 if test -z "$CC"; then
   5299   ac_ct_CC=$CC
   5300   for ac_prog in clang gcc cc
   5301 do
   5302   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5303 set dummy $ac_prog; ac_word=$2
   5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5305 printf %s "checking for $ac_word... " >&6; }
   5306 if test ${ac_cv_prog_ac_ct_CC+y}
   5307 then :
   5308   printf %s "(cached) " >&6
   5309 else case e in #(
   5310   e) if test -n "$ac_ct_CC"; then
   5311   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5312 else
   5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5314 for as_dir in $PATH
   5315 do
   5316   IFS=$as_save_IFS
   5317   case $as_dir in #(((
   5318     '') as_dir=./ ;;
   5319     */) ;;
   5320     *) as_dir=$as_dir/ ;;
   5321   esac
   5322     for ac_exec_ext in '' $ac_executable_extensions; do
   5323   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5324     ac_cv_prog_ac_ct_CC="$ac_prog"
   5325     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5326     break 2
   5327   fi
   5328 done
   5329   done
   5330 IFS=$as_save_IFS
   5331 
   5332 fi ;;
   5333 esac
   5334 fi
   5335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5336 if test -n "$ac_ct_CC"; then
   5337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5338 printf "%s\n" "$ac_ct_CC" >&6; }
   5339 else
   5340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5341 printf "%s\n" "no" >&6; }
   5342 fi
   5343 
   5344 
   5345   test -n "$ac_ct_CC" && break
   5346 done
   5347 
   5348   if test "x$ac_ct_CC" = x; then
   5349     CC=""
   5350   else
   5351     case $cross_compiling:$ac_tool_warned in
   5352 yes:)
   5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5354 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5355 ac_tool_warned=yes ;;
   5356 esac
   5357     CC=$ac_ct_CC
   5358   fi
   5359 fi
   5360 
   5361 
   5362 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5363 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   5364 as_fn_error $? "no acceptable C compiler found in \$PATH
   5365 See 'config.log' for more details" "$LINENO" 5; }
   5366 
   5367 # Provide some information about the compiler.
   5368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   5369 set X $ac_compile
   5370 ac_compiler=$2
   5371 for ac_option in --version -v -V -qversion -version; do
   5372   { { ac_try="$ac_compiler $ac_option >&5"
   5373 case "(($ac_try" in
   5374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5375   *) ac_try_echo=$ac_try;;
   5376 esac
   5377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5378 printf "%s\n" "$ac_try_echo"; } >&5
   5379   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5380   ac_status=$?
   5381   if test -s conftest.err; then
   5382     sed '10a\
   5383 ... rest of stderr output deleted ...
   5384          10q' conftest.err >conftest.er1
   5385     cat conftest.er1 >&5
   5386   fi
   5387   rm -f conftest.er1 conftest.err
   5388   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5389   test $ac_status = 0; }
   5390 done
   5391 
   5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   5393 printf %s "checking whether the compiler supports GNU C... " >&6; }
   5394 if test ${ac_cv_c_compiler_gnu+y}
   5395 then :
   5396   printf %s "(cached) " >&6
   5397 else case e in #(
   5398   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5399 /* end confdefs.h.  */
   5400 
   5401 int
   5402 main (void)
   5403 {
   5404 #ifndef __GNUC__
   5405        choke me
   5406 #endif
   5407 
   5408   ;
   5409   return 0;
   5410 }
   5411 _ACEOF
   5412 if ac_fn_c_try_compile "$LINENO"
   5413 then :
   5414   ac_compiler_gnu=yes
   5415 else case e in #(
   5416   e) ac_compiler_gnu=no ;;
   5417 esac
   5418 fi
   5419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5420 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5421  ;;
   5422 esac
   5423 fi
   5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5425 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   5426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5427 
   5428 if test $ac_compiler_gnu = yes; then
   5429   GCC=yes
   5430 else
   5431   GCC=
   5432 fi
   5433 ac_test_CFLAGS=${CFLAGS+y}
   5434 ac_save_CFLAGS=$CFLAGS
   5435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5436 printf %s "checking whether $CC accepts -g... " >&6; }
   5437 if test ${ac_cv_prog_cc_g+y}
   5438 then :
   5439   printf %s "(cached) " >&6
   5440 else case e in #(
   5441   e) ac_save_c_werror_flag=$ac_c_werror_flag
   5442    ac_c_werror_flag=yes
   5443    ac_cv_prog_cc_g=no
   5444    CFLAGS="-g"
   5445    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5446 /* end confdefs.h.  */
   5447 
   5448 int
   5449 main (void)
   5450 {
   5451 
   5452   ;
   5453   return 0;
   5454 }
   5455 _ACEOF
   5456 if ac_fn_c_try_compile "$LINENO"
   5457 then :
   5458   ac_cv_prog_cc_g=yes
   5459 else case e in #(
   5460   e) CFLAGS=""
   5461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5462 /* end confdefs.h.  */
   5463 
   5464 int
   5465 main (void)
   5466 {
   5467 
   5468   ;
   5469   return 0;
   5470 }
   5471 _ACEOF
   5472 if ac_fn_c_try_compile "$LINENO"
   5473 then :
   5474 
   5475 else case e in #(
   5476   e) ac_c_werror_flag=$ac_save_c_werror_flag
   5477 	 CFLAGS="-g"
   5478 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5479 /* end confdefs.h.  */
   5480 
   5481 int
   5482 main (void)
   5483 {
   5484 
   5485   ;
   5486   return 0;
   5487 }
   5488 _ACEOF
   5489 if ac_fn_c_try_compile "$LINENO"
   5490 then :
   5491   ac_cv_prog_cc_g=yes
   5492 fi
   5493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5494 esac
   5495 fi
   5496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5497 esac
   5498 fi
   5499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5500    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   5501 esac
   5502 fi
   5503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5504 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   5505 if test $ac_test_CFLAGS; then
   5506   CFLAGS=$ac_save_CFLAGS
   5507 elif test $ac_cv_prog_cc_g = yes; then
   5508   if test "$GCC" = yes; then
   5509     CFLAGS="-g -O2"
   5510   else
   5511     CFLAGS="-g"
   5512   fi
   5513 else
   5514   if test "$GCC" = yes; then
   5515     CFLAGS="-O2"
   5516   else
   5517     CFLAGS=
   5518   fi
   5519 fi
   5520 ac_prog_cc_stdc=no
   5521 if test x$ac_prog_cc_stdc = xno
   5522 then :
   5523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   5524 printf %s "checking for $CC option to enable C11 features... " >&6; }
   5525 if test ${ac_cv_prog_cc_c11+y}
   5526 then :
   5527   printf %s "(cached) " >&6
   5528 else case e in #(
   5529   e) ac_cv_prog_cc_c11=no
   5530 ac_save_CC=$CC
   5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5532 /* end confdefs.h.  */
   5533 $ac_c_conftest_c11_program
   5534 _ACEOF
   5535 for ac_arg in '' -std=gnu11
   5536 do
   5537   CC="$ac_save_CC $ac_arg"
   5538   if ac_fn_c_try_compile "$LINENO"
   5539 then :
   5540   ac_cv_prog_cc_c11=$ac_arg
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5543   test "x$ac_cv_prog_cc_c11" != "xno" && break
   5544 done
   5545 rm -f conftest.$ac_ext
   5546 CC=$ac_save_CC ;;
   5547 esac
   5548 fi
   5549 
   5550 if test "x$ac_cv_prog_cc_c11" = xno
   5551 then :
   5552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5553 printf "%s\n" "unsupported" >&6; }
   5554 else case e in #(
   5555   e) if test "x$ac_cv_prog_cc_c11" = x
   5556 then :
   5557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5558 printf "%s\n" "none needed" >&6; }
   5559 else case e in #(
   5560   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   5561 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   5562      CC="$CC $ac_cv_prog_cc_c11" ;;
   5563 esac
   5564 fi
   5565   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   5566   ac_prog_cc_stdc=c11 ;;
   5567 esac
   5568 fi
   5569 fi
   5570 if test x$ac_prog_cc_stdc = xno
   5571 then :
   5572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   5573 printf %s "checking for $CC option to enable C99 features... " >&6; }
   5574 if test ${ac_cv_prog_cc_c99+y}
   5575 then :
   5576   printf %s "(cached) " >&6
   5577 else case e in #(
   5578   e) ac_cv_prog_cc_c99=no
   5579 ac_save_CC=$CC
   5580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5581 /* end confdefs.h.  */
   5582 $ac_c_conftest_c99_program
   5583 _ACEOF
   5584 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   5585 do
   5586   CC="$ac_save_CC $ac_arg"
   5587   if ac_fn_c_try_compile "$LINENO"
   5588 then :
   5589   ac_cv_prog_cc_c99=$ac_arg
   5590 fi
   5591 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5592   test "x$ac_cv_prog_cc_c99" != "xno" && break
   5593 done
   5594 rm -f conftest.$ac_ext
   5595 CC=$ac_save_CC ;;
   5596 esac
   5597 fi
   5598 
   5599 if test "x$ac_cv_prog_cc_c99" = xno
   5600 then :
   5601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5602 printf "%s\n" "unsupported" >&6; }
   5603 else case e in #(
   5604   e) if test "x$ac_cv_prog_cc_c99" = x
   5605 then :
   5606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5607 printf "%s\n" "none needed" >&6; }
   5608 else case e in #(
   5609   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   5610 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   5611      CC="$CC $ac_cv_prog_cc_c99" ;;
   5612 esac
   5613 fi
   5614   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   5615   ac_prog_cc_stdc=c99 ;;
   5616 esac
   5617 fi
   5618 fi
   5619 if test x$ac_prog_cc_stdc = xno
   5620 then :
   5621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   5622 printf %s "checking for $CC option to enable C89 features... " >&6; }
   5623 if test ${ac_cv_prog_cc_c89+y}
   5624 then :
   5625   printf %s "(cached) " >&6
   5626 else case e in #(
   5627   e) ac_cv_prog_cc_c89=no
   5628 ac_save_CC=$CC
   5629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5630 /* end confdefs.h.  */
   5631 $ac_c_conftest_c89_program
   5632 _ACEOF
   5633 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5634 do
   5635   CC="$ac_save_CC $ac_arg"
   5636   if ac_fn_c_try_compile "$LINENO"
   5637 then :
   5638   ac_cv_prog_cc_c89=$ac_arg
   5639 fi
   5640 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5641   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5642 done
   5643 rm -f conftest.$ac_ext
   5644 CC=$ac_save_CC ;;
   5645 esac
   5646 fi
   5647 
   5648 if test "x$ac_cv_prog_cc_c89" = xno
   5649 then :
   5650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5651 printf "%s\n" "unsupported" >&6; }
   5652 else case e in #(
   5653   e) if test "x$ac_cv_prog_cc_c89" = x
   5654 then :
   5655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5656 printf "%s\n" "none needed" >&6; }
   5657 else case e in #(
   5658   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5659 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   5660      CC="$CC $ac_cv_prog_cc_c89" ;;
   5661 esac
   5662 fi
   5663   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   5664   ac_prog_cc_stdc=c89 ;;
   5665 esac
   5666 fi
   5667 fi
   5668 
   5669 ac_ext=c
   5670 ac_cpp='$CPP $CPPFLAGS'
   5671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5674 
   5675 
   5676   ac_ext=c
   5677 ac_cpp='$CPP $CPPFLAGS'
   5678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5682 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   5683 if test ${am_cv_prog_cc_c_o+y}
   5684 then :
   5685   printf %s "(cached) " >&6
   5686 else case e in #(
   5687   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5688 /* end confdefs.h.  */
   5689 
   5690 int
   5691 main (void)
   5692 {
   5693 
   5694   ;
   5695   return 0;
   5696 }
   5697 _ACEOF
   5698   # Make sure it works both with $CC and with simple cc.
   5699   # Following AC_PROG_CC_C_O, we do the test twice because some
   5700   # compilers refuse to overwrite an existing .o file with -o,
   5701   # though they will create one.
   5702   am_cv_prog_cc_c_o=yes
   5703   for am_i in 1 2; do
   5704     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5705    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5706    ac_status=$?
   5707    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5708    (exit $ac_status); } \
   5709          && test -f conftest2.$ac_objext; then
   5710       : OK
   5711     else
   5712       am_cv_prog_cc_c_o=no
   5713       break
   5714     fi
   5715   done
   5716   rm -f core conftest*
   5717   unset am_i ;;
   5718 esac
   5719 fi
   5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5721 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   5722 if test "$am_cv_prog_cc_c_o" != yes; then
   5723    # Losing compiler, so override with the script.
   5724    # FIXME: It is wrong to rewrite CC.
   5725    # But if we don't then we get into trouble of one sort or another.
   5726    # A longer-term fix would be to have automake use am__CC in this case,
   5727    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5728    CC="$am_aux_dir/compile $CC"
   5729 fi
   5730 ac_ext=c
   5731 ac_cpp='$CPP $CPPFLAGS'
   5732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5735 
   5736 
   5737 depcc="$CC"   am_compiler_list=
   5738 
   5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5740 printf %s "checking dependency style of $depcc... " >&6; }
   5741 if test ${am_cv_CC_dependencies_compiler_type+y}
   5742 then :
   5743   printf %s "(cached) " >&6
   5744 else case e in #(
   5745   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5746   # We make a subdir and do the tests there.  Otherwise we can end up
   5747   # making bogus files that we don't know about and never remove.  For
   5748   # instance it was reported that on HP-UX the gcc test will end up
   5749   # making a dummy file named 'D' -- because '-MD' means "put the output
   5750   # in D".
   5751   rm -rf conftest.dir
   5752   mkdir conftest.dir
   5753   # Copy depcomp to subdir because otherwise we won't find it if we're
   5754   # using a relative directory.
   5755   cp "$am_depcomp" conftest.dir
   5756   cd conftest.dir
   5757   # We will build objects and dependencies in a subdirectory because
   5758   # it helps to detect inapplicable dependency modes.  For instance
   5759   # both Tru64's cc and ICC support -MD to output dependencies as a
   5760   # side effect of compilation, but ICC will put the dependencies in
   5761   # the current directory while Tru64 will put them in the object
   5762   # directory.
   5763   mkdir sub
   5764 
   5765   am_cv_CC_dependencies_compiler_type=none
   5766   if test "$am_compiler_list" = ""; then
   5767      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5768   fi
   5769   am__universal=false
   5770   case " $depcc " in #(
   5771      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5772      esac
   5773 
   5774   for depmode in $am_compiler_list; do
   5775     # Setup a source with many dependencies, because some compilers
   5776     # like to wrap large dependency lists on column 80 (with \), and
   5777     # we should not choose a depcomp mode which is confused by this.
   5778     #
   5779     # We need to recreate these files for each test, as the compiler may
   5780     # overwrite some of them when testing with obscure command lines.
   5781     # This happens at least with the AIX C compiler.
   5782     : > sub/conftest.c
   5783     for i in 1 2 3 4 5 6; do
   5784       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5785       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5786       # Solaris 10 /bin/sh.
   5787       echo '/* dummy */' > sub/conftst$i.h
   5788     done
   5789     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5790 
   5791     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5792     # mode.  It turns out that the SunPro C++ compiler does not properly
   5793     # handle '-M -o', and we need to detect this.  Also, some Intel
   5794     # versions had trouble with output in subdirs.
   5795     am__obj=sub/conftest.${OBJEXT-o}
   5796     am__minus_obj="-o $am__obj"
   5797     case $depmode in
   5798     gcc)
   5799       # This depmode causes a compiler race in universal mode.
   5800       test "$am__universal" = false || continue
   5801       ;;
   5802     nosideeffect)
   5803       # After this tag, mechanisms are not by side-effect, so they'll
   5804       # only be used when explicitly requested.
   5805       if test "x$enable_dependency_tracking" = xyes; then
   5806 	continue
   5807       else
   5808 	break
   5809       fi
   5810       ;;
   5811     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5812       # This compiler won't grok '-c -o', but also, the minuso test has
   5813       # not run yet.  These depmodes are late enough in the game, and
   5814       # so weak that their functioning should not be impacted.
   5815       am__obj=conftest.${OBJEXT-o}
   5816       am__minus_obj=
   5817       ;;
   5818     none) break ;;
   5819     esac
   5820     if depmode=$depmode \
   5821        source=sub/conftest.c object=$am__obj \
   5822        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5823        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5824          >/dev/null 2>conftest.err &&
   5825        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5826        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5827        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5828        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5829       # icc doesn't choke on unknown options, it will just issue warnings
   5830       # or remarks (even with -Werror).  So we grep stderr for any message
   5831       # that says an option was ignored or not supported.
   5832       # When given -MP, icc 7.0 and 7.1 complain thus:
   5833       #   icc: Command line warning: ignoring option '-M'; no argument required
   5834       # The diagnosis changed in icc 8.0:
   5835       #   icc: Command line remark: option '-MP' not supported
   5836       if (grep 'ignoring option' conftest.err ||
   5837           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5838         am_cv_CC_dependencies_compiler_type=$depmode
   5839         break
   5840       fi
   5841     fi
   5842   done
   5843 
   5844   cd ..
   5845   rm -rf conftest.dir
   5846 else
   5847   am_cv_CC_dependencies_compiler_type=none
   5848 fi
   5849  ;;
   5850 esac
   5851 fi
   5852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5853 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5854 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5855 
   5856  if
   5857   test "x$enable_dependency_tracking" != xno \
   5858   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5859   am__fastdepCC_TRUE=
   5860   am__fastdepCC_FALSE='#'
   5861 else
   5862   am__fastdepCC_TRUE='#'
   5863   am__fastdepCC_FALSE=
   5864 fi
   5865 
   5866 
   5867 ac_ext=c
   5868 ac_cpp='$CPP $CPPFLAGS'
   5869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   5873 printf %s "checking how to run the C preprocessor... " >&6; }
   5874 # On Suns, sometimes $CPP names a directory.
   5875 if test -n "$CPP" && test -d "$CPP"; then
   5876   CPP=
   5877 fi
   5878 if test -z "$CPP"; then
   5879   if test ${ac_cv_prog_CPP+y}
   5880 then :
   5881   printf %s "(cached) " >&6
   5882 else case e in #(
   5883   e)     # Double quotes because $CC needs to be expanded
   5884     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   5885     do
   5886       ac_preproc_ok=false
   5887 for ac_c_preproc_warn_flag in '' yes
   5888 do
   5889   # Use a header file that comes with gcc, so configuring glibc
   5890   # with a fresh cross-compiler works.
   5891   # On the NeXT, cc -E runs the code through the compiler's parser,
   5892   # not just through cpp. "Syntax error" is here to catch this case.
   5893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5894 /* end confdefs.h.  */
   5895 #include <limits.h>
   5896 		     Syntax error
   5897 _ACEOF
   5898 if ac_fn_c_try_cpp "$LINENO"
   5899 then :
   5900 
   5901 else case e in #(
   5902   e) # Broken: fails on valid input.
   5903 continue ;;
   5904 esac
   5905 fi
   5906 rm -f conftest.err conftest.i conftest.$ac_ext
   5907 
   5908   # OK, works on sane cases.  Now check whether nonexistent headers
   5909   # can be detected and how.
   5910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5911 /* end confdefs.h.  */
   5912 #include <ac_nonexistent.h>
   5913 _ACEOF
   5914 if ac_fn_c_try_cpp "$LINENO"
   5915 then :
   5916   # Broken: success on invalid input.
   5917 continue
   5918 else case e in #(
   5919   e) # Passes both tests.
   5920 ac_preproc_ok=:
   5921 break ;;
   5922 esac
   5923 fi
   5924 rm -f conftest.err conftest.i conftest.$ac_ext
   5925 
   5926 done
   5927 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5928 rm -f conftest.i conftest.err conftest.$ac_ext
   5929 if $ac_preproc_ok
   5930 then :
   5931   break
   5932 fi
   5933 
   5934     done
   5935     ac_cv_prog_CPP=$CPP
   5936    ;;
   5937 esac
   5938 fi
   5939   CPP=$ac_cv_prog_CPP
   5940 else
   5941   ac_cv_prog_CPP=$CPP
   5942 fi
   5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   5944 printf "%s\n" "$CPP" >&6; }
   5945 ac_preproc_ok=false
   5946 for ac_c_preproc_warn_flag in '' yes
   5947 do
   5948   # Use a header file that comes with gcc, so configuring glibc
   5949   # with a fresh cross-compiler works.
   5950   # On the NeXT, cc -E runs the code through the compiler's parser,
   5951   # not just through cpp. "Syntax error" is here to catch this case.
   5952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5953 /* end confdefs.h.  */
   5954 #include <limits.h>
   5955 		     Syntax error
   5956 _ACEOF
   5957 if ac_fn_c_try_cpp "$LINENO"
   5958 then :
   5959 
   5960 else case e in #(
   5961   e) # Broken: fails on valid input.
   5962 continue ;;
   5963 esac
   5964 fi
   5965 rm -f conftest.err conftest.i conftest.$ac_ext
   5966 
   5967   # OK, works on sane cases.  Now check whether nonexistent headers
   5968   # can be detected and how.
   5969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5970 /* end confdefs.h.  */
   5971 #include <ac_nonexistent.h>
   5972 _ACEOF
   5973 if ac_fn_c_try_cpp "$LINENO"
   5974 then :
   5975   # Broken: success on invalid input.
   5976 continue
   5977 else case e in #(
   5978   e) # Passes both tests.
   5979 ac_preproc_ok=:
   5980 break ;;
   5981 esac
   5982 fi
   5983 rm -f conftest.err conftest.i conftest.$ac_ext
   5984 
   5985 done
   5986 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5987 rm -f conftest.i conftest.err conftest.$ac_ext
   5988 if $ac_preproc_ok
   5989 then :
   5990 
   5991 else case e in #(
   5992   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   5993 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   5994 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   5995 See 'config.log' for more details" "$LINENO" 5; } ;;
   5996 esac
   5997 fi
   5998 
   5999 ac_ext=c
   6000 ac_cpp='$CPP $CPPFLAGS'
   6001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 ac_ext=cpp
   6012 ac_cpp='$CXXCPP $CPPFLAGS'
   6013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6016 if test -z "$CXX"; then
   6017   if test -n "$CCC"; then
   6018     CXX=$CCC
   6019   else
   6020     if test -n "$ac_tool_prefix"; then
   6021   for ac_prog in clang++ g++ c++
   6022   do
   6023     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6026 printf %s "checking for $ac_word... " >&6; }
   6027 if test ${ac_cv_prog_CXX+y}
   6028 then :
   6029   printf %s "(cached) " >&6
   6030 else case e in #(
   6031   e) if test -n "$CXX"; then
   6032   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   6033 else
   6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6035 for as_dir in $PATH
   6036 do
   6037   IFS=$as_save_IFS
   6038   case $as_dir in #(((
   6039     '') as_dir=./ ;;
   6040     */) ;;
   6041     *) as_dir=$as_dir/ ;;
   6042   esac
   6043     for ac_exec_ext in '' $ac_executable_extensions; do
   6044   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6045     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   6046     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6047     break 2
   6048   fi
   6049 done
   6050   done
   6051 IFS=$as_save_IFS
   6052 
   6053 fi ;;
   6054 esac
   6055 fi
   6056 CXX=$ac_cv_prog_CXX
   6057 if test -n "$CXX"; then
   6058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   6059 printf "%s\n" "$CXX" >&6; }
   6060 else
   6061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6062 printf "%s\n" "no" >&6; }
   6063 fi
   6064 
   6065 
   6066     test -n "$CXX" && break
   6067   done
   6068 fi
   6069 if test -z "$CXX"; then
   6070   ac_ct_CXX=$CXX
   6071   for ac_prog in clang++ g++ c++
   6072 do
   6073   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6074 set dummy $ac_prog; ac_word=$2
   6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6076 printf %s "checking for $ac_word... " >&6; }
   6077 if test ${ac_cv_prog_ac_ct_CXX+y}
   6078 then :
   6079   printf %s "(cached) " >&6
   6080 else case e in #(
   6081   e) if test -n "$ac_ct_CXX"; then
   6082   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   6083 else
   6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6085 for as_dir in $PATH
   6086 do
   6087   IFS=$as_save_IFS
   6088   case $as_dir in #(((
   6089     '') as_dir=./ ;;
   6090     */) ;;
   6091     *) as_dir=$as_dir/ ;;
   6092   esac
   6093     for ac_exec_ext in '' $ac_executable_extensions; do
   6094   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6095     ac_cv_prog_ac_ct_CXX="$ac_prog"
   6096     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6097     break 2
   6098   fi
   6099 done
   6100   done
   6101 IFS=$as_save_IFS
   6102 
   6103 fi ;;
   6104 esac
   6105 fi
   6106 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   6107 if test -n "$ac_ct_CXX"; then
   6108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   6109 printf "%s\n" "$ac_ct_CXX" >&6; }
   6110 else
   6111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6112 printf "%s\n" "no" >&6; }
   6113 fi
   6114 
   6115 
   6116   test -n "$ac_ct_CXX" && break
   6117 done
   6118 
   6119   if test "x$ac_ct_CXX" = x; then
   6120     CXX="g++"
   6121   else
   6122     case $cross_compiling:$ac_tool_warned in
   6123 yes:)
   6124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6125 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6126 ac_tool_warned=yes ;;
   6127 esac
   6128     CXX=$ac_ct_CXX
   6129   fi
   6130 fi
   6131 
   6132   fi
   6133 fi
   6134 # Provide some information about the compiler.
   6135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   6136 set X $ac_compile
   6137 ac_compiler=$2
   6138 for ac_option in --version -v -V -qversion; do
   6139   { { ac_try="$ac_compiler $ac_option >&5"
   6140 case "(($ac_try" in
   6141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6142   *) ac_try_echo=$ac_try;;
   6143 esac
   6144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6145 printf "%s\n" "$ac_try_echo"; } >&5
   6146   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   6147   ac_status=$?
   6148   if test -s conftest.err; then
   6149     sed '10a\
   6150 ... rest of stderr output deleted ...
   6151          10q' conftest.err >conftest.er1
   6152     cat conftest.er1 >&5
   6153   fi
   6154   rm -f conftest.er1 conftest.err
   6155   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6156   test $ac_status = 0; }
   6157 done
   6158 
   6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
   6160 printf %s "checking whether the compiler supports GNU C++... " >&6; }
   6161 if test ${ac_cv_cxx_compiler_gnu+y}
   6162 then :
   6163   printf %s "(cached) " >&6
   6164 else case e in #(
   6165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6166 /* end confdefs.h.  */
   6167 
   6168 int
   6169 main (void)
   6170 {
   6171 #ifndef __GNUC__
   6172        choke me
   6173 #endif
   6174 
   6175   ;
   6176   return 0;
   6177 }
   6178 _ACEOF
   6179 if ac_fn_cxx_try_compile "$LINENO"
   6180 then :
   6181   ac_compiler_gnu=yes
   6182 else case e in #(
   6183   e) ac_compiler_gnu=no ;;
   6184 esac
   6185 fi
   6186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6187 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   6188  ;;
   6189 esac
   6190 fi
   6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   6192 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
   6193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6194 
   6195 if test $ac_compiler_gnu = yes; then
   6196   GXX=yes
   6197 else
   6198   GXX=
   6199 fi
   6200 ac_test_CXXFLAGS=${CXXFLAGS+y}
   6201 ac_save_CXXFLAGS=$CXXFLAGS
   6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   6203 printf %s "checking whether $CXX accepts -g... " >&6; }
   6204 if test ${ac_cv_prog_cxx_g+y}
   6205 then :
   6206   printf %s "(cached) " >&6
   6207 else case e in #(
   6208   e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   6209    ac_cxx_werror_flag=yes
   6210    ac_cv_prog_cxx_g=no
   6211    CXXFLAGS="-g"
   6212    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6213 /* end confdefs.h.  */
   6214 
   6215 int
   6216 main (void)
   6217 {
   6218 
   6219   ;
   6220   return 0;
   6221 }
   6222 _ACEOF
   6223 if ac_fn_cxx_try_compile "$LINENO"
   6224 then :
   6225   ac_cv_prog_cxx_g=yes
   6226 else case e in #(
   6227   e) CXXFLAGS=""
   6228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6229 /* end confdefs.h.  */
   6230 
   6231 int
   6232 main (void)
   6233 {
   6234 
   6235   ;
   6236   return 0;
   6237 }
   6238 _ACEOF
   6239 if ac_fn_cxx_try_compile "$LINENO"
   6240 then :
   6241 
   6242 else case e in #(
   6243   e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   6244 	 CXXFLAGS="-g"
   6245 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6246 /* end confdefs.h.  */
   6247 
   6248 int
   6249 main (void)
   6250 {
   6251 
   6252   ;
   6253   return 0;
   6254 }
   6255 _ACEOF
   6256 if ac_fn_cxx_try_compile "$LINENO"
   6257 then :
   6258   ac_cv_prog_cxx_g=yes
   6259 fi
   6260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6261 esac
   6262 fi
   6263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6264 esac
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6267    ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;;
   6268 esac
   6269 fi
   6270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   6271 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
   6272 if test $ac_test_CXXFLAGS; then
   6273   CXXFLAGS=$ac_save_CXXFLAGS
   6274 elif test $ac_cv_prog_cxx_g = yes; then
   6275   if test "$GXX" = yes; then
   6276     CXXFLAGS="-g -O2"
   6277   else
   6278     CXXFLAGS="-g"
   6279   fi
   6280 else
   6281   if test "$GXX" = yes; then
   6282     CXXFLAGS="-O2"
   6283   else
   6284     CXXFLAGS=
   6285   fi
   6286 fi
   6287 ac_prog_cxx_stdcxx=no
   6288 if test x$ac_prog_cxx_stdcxx = xno
   6289 then :
   6290   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
   6291 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
   6292 if test ${ac_cv_prog_cxx_cxx11+y}
   6293 then :
   6294   printf %s "(cached) " >&6
   6295 else case e in #(
   6296   e) ac_cv_prog_cxx_cxx11=no
   6297 ac_save_CXX=$CXX
   6298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6299 /* end confdefs.h.  */
   6300 $ac_cxx_conftest_cxx11_program
   6301 _ACEOF
   6302 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
   6303 do
   6304   CXX="$ac_save_CXX $ac_arg"
   6305   if ac_fn_cxx_try_compile "$LINENO"
   6306 then :
   6307   ac_cv_prog_cxx_cxx11=$ac_arg
   6308 fi
   6309 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6310   test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
   6311 done
   6312 rm -f conftest.$ac_ext
   6313 CXX=$ac_save_CXX ;;
   6314 esac
   6315 fi
   6316 
   6317 if test "x$ac_cv_prog_cxx_cxx11" = xno
   6318 then :
   6319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6320 printf "%s\n" "unsupported" >&6; }
   6321 else case e in #(
   6322   e) if test "x$ac_cv_prog_cxx_cxx11" = x
   6323 then :
   6324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6325 printf "%s\n" "none needed" >&6; }
   6326 else case e in #(
   6327   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
   6328 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
   6329      CXX="$CXX $ac_cv_prog_cxx_cxx11" ;;
   6330 esac
   6331 fi
   6332   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
   6333   ac_prog_cxx_stdcxx=cxx11 ;;
   6334 esac
   6335 fi
   6336 fi
   6337 if test x$ac_prog_cxx_stdcxx = xno
   6338 then :
   6339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
   6340 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
   6341 if test ${ac_cv_prog_cxx_cxx98+y}
   6342 then :
   6343   printf %s "(cached) " >&6
   6344 else case e in #(
   6345   e) ac_cv_prog_cxx_cxx98=no
   6346 ac_save_CXX=$CXX
   6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6348 /* end confdefs.h.  */
   6349 $ac_cxx_conftest_cxx98_program
   6350 _ACEOF
   6351 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
   6352 do
   6353   CXX="$ac_save_CXX $ac_arg"
   6354   if ac_fn_cxx_try_compile "$LINENO"
   6355 then :
   6356   ac_cv_prog_cxx_cxx98=$ac_arg
   6357 fi
   6358 rm -f core conftest.err conftest.$ac_objext conftest.beam
   6359   test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
   6360 done
   6361 rm -f conftest.$ac_ext
   6362 CXX=$ac_save_CXX ;;
   6363 esac
   6364 fi
   6365 
   6366 if test "x$ac_cv_prog_cxx_cxx98" = xno
   6367 then :
   6368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6369 printf "%s\n" "unsupported" >&6; }
   6370 else case e in #(
   6371   e) if test "x$ac_cv_prog_cxx_cxx98" = x
   6372 then :
   6373   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6374 printf "%s\n" "none needed" >&6; }
   6375 else case e in #(
   6376   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
   6377 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
   6378      CXX="$CXX $ac_cv_prog_cxx_cxx98" ;;
   6379 esac
   6380 fi
   6381   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
   6382   ac_prog_cxx_stdcxx=cxx98 ;;
   6383 esac
   6384 fi
   6385 fi
   6386 
   6387 ac_ext=c
   6388 ac_cpp='$CPP $CPPFLAGS'
   6389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6392 
   6393 depcc="$CXX"  am_compiler_list=
   6394 
   6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   6396 printf %s "checking dependency style of $depcc... " >&6; }
   6397 if test ${am_cv_CXX_dependencies_compiler_type+y}
   6398 then :
   6399   printf %s "(cached) " >&6
   6400 else case e in #(
   6401   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6402   # We make a subdir and do the tests there.  Otherwise we can end up
   6403   # making bogus files that we don't know about and never remove.  For
   6404   # instance it was reported that on HP-UX the gcc test will end up
   6405   # making a dummy file named 'D' -- because '-MD' means "put the output
   6406   # in D".
   6407   rm -rf conftest.dir
   6408   mkdir conftest.dir
   6409   # Copy depcomp to subdir because otherwise we won't find it if we're
   6410   # using a relative directory.
   6411   cp "$am_depcomp" conftest.dir
   6412   cd conftest.dir
   6413   # We will build objects and dependencies in a subdirectory because
   6414   # it helps to detect inapplicable dependency modes.  For instance
   6415   # both Tru64's cc and ICC support -MD to output dependencies as a
   6416   # side effect of compilation, but ICC will put the dependencies in
   6417   # the current directory while Tru64 will put them in the object
   6418   # directory.
   6419   mkdir sub
   6420 
   6421   am_cv_CXX_dependencies_compiler_type=none
   6422   if test "$am_compiler_list" = ""; then
   6423      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6424   fi
   6425   am__universal=false
   6426   case " $depcc " in #(
   6427      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   6428      esac
   6429 
   6430   for depmode in $am_compiler_list; do
   6431     # Setup a source with many dependencies, because some compilers
   6432     # like to wrap large dependency lists on column 80 (with \), and
   6433     # we should not choose a depcomp mode which is confused by this.
   6434     #
   6435     # We need to recreate these files for each test, as the compiler may
   6436     # overwrite some of them when testing with obscure command lines.
   6437     # This happens at least with the AIX C compiler.
   6438     : > sub/conftest.c
   6439     for i in 1 2 3 4 5 6; do
   6440       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6441       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   6442       # Solaris 10 /bin/sh.
   6443       echo '/* dummy */' > sub/conftst$i.h
   6444     done
   6445     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6446 
   6447     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   6448     # mode.  It turns out that the SunPro C++ compiler does not properly
   6449     # handle '-M -o', and we need to detect this.  Also, some Intel
   6450     # versions had trouble with output in subdirs.
   6451     am__obj=sub/conftest.${OBJEXT-o}
   6452     am__minus_obj="-o $am__obj"
   6453     case $depmode in
   6454     gcc)
   6455       # This depmode causes a compiler race in universal mode.
   6456       test "$am__universal" = false || continue
   6457       ;;
   6458     nosideeffect)
   6459       # After this tag, mechanisms are not by side-effect, so they'll
   6460       # only be used when explicitly requested.
   6461       if test "x$enable_dependency_tracking" = xyes; then
   6462 	continue
   6463       else
   6464 	break
   6465       fi
   6466       ;;
   6467     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   6468       # This compiler won't grok '-c -o', but also, the minuso test has
   6469       # not run yet.  These depmodes are late enough in the game, and
   6470       # so weak that their functioning should not be impacted.
   6471       am__obj=conftest.${OBJEXT-o}
   6472       am__minus_obj=
   6473       ;;
   6474     none) break ;;
   6475     esac
   6476     if depmode=$depmode \
   6477        source=sub/conftest.c object=$am__obj \
   6478        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6479        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   6480          >/dev/null 2>conftest.err &&
   6481        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6482        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6483        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   6484        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6485       # icc doesn't choke on unknown options, it will just issue warnings
   6486       # or remarks (even with -Werror).  So we grep stderr for any message
   6487       # that says an option was ignored or not supported.
   6488       # When given -MP, icc 7.0 and 7.1 complain thus:
   6489       #   icc: Command line warning: ignoring option '-M'; no argument required
   6490       # The diagnosis changed in icc 8.0:
   6491       #   icc: Command line remark: option '-MP' not supported
   6492       if (grep 'ignoring option' conftest.err ||
   6493           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6494         am_cv_CXX_dependencies_compiler_type=$depmode
   6495         break
   6496       fi
   6497     fi
   6498   done
   6499 
   6500   cd ..
   6501   rm -rf conftest.dir
   6502 else
   6503   am_cv_CXX_dependencies_compiler_type=none
   6504 fi
   6505  ;;
   6506 esac
   6507 fi
   6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   6509 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
   6510 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   6511 
   6512  if
   6513   test "x$enable_dependency_tracking" != xno \
   6514   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   6515   am__fastdepCXX_TRUE=
   6516   am__fastdepCXX_FALSE='#'
   6517 else
   6518   am__fastdepCXX_TRUE='#'
   6519   am__fastdepCXX_FALSE=
   6520 fi
   6521 
   6522 
   6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   6524 printf %s "checking for an ANSI C-conforming const... " >&6; }
   6525 if test ${ac_cv_c_const+y}
   6526 then :
   6527   printf %s "(cached) " >&6
   6528 else case e in #(
   6529   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6530 /* end confdefs.h.  */
   6531 
   6532 int
   6533 main (void)
   6534 {
   6535 
   6536 #ifndef __cplusplus
   6537   /* Ultrix mips cc rejects this sort of thing.  */
   6538   typedef int charset[2];
   6539   const charset cs = { 0, 0 };
   6540   /* SunOS 4.1.1 cc rejects this.  */
   6541   char const *const *pcpcc;
   6542   char **ppc;
   6543   /* NEC SVR4.0.2 mips cc rejects this.  */
   6544   struct point {int x, y;};
   6545   static struct point const zero = {0,0};
   6546   /* IBM XL C 1.02.0.0 rejects this.
   6547      It does not let you subtract one const X* pointer from another in
   6548      an arm of an if-expression whose if-part is not a constant
   6549      expression */
   6550   const char *g = "string";
   6551   pcpcc = &g + (g ? g-g : 0);
   6552   /* HPUX 7.0 cc rejects these. */
   6553   ++pcpcc;
   6554   ppc = (char**) pcpcc;
   6555   pcpcc = (char const *const *) ppc;
   6556   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   6557     char tx;
   6558     char *t = &tx;
   6559     char const *s = 0 ? (char *) 0 : (char const *) 0;
   6560 
   6561     *t++ = 0;
   6562     if (s) return 0;
   6563   }
   6564   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   6565     int x[] = {25, 17};
   6566     const int *foo = &x[0];
   6567     ++foo;
   6568   }
   6569   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   6570     typedef const int *iptr;
   6571     iptr p = 0;
   6572     ++p;
   6573   }
   6574   { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
   6575        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   6576     struct s { int j; const int *ap[3]; } bx;
   6577     struct s *b = &bx; b->j = 5;
   6578   }
   6579   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   6580     const int foo = 10;
   6581     if (!foo) return 0;
   6582   }
   6583   return !cs[0] && !zero.x;
   6584 #endif
   6585 
   6586   ;
   6587   return 0;
   6588 }
   6589 _ACEOF
   6590 if ac_fn_c_try_compile "$LINENO"
   6591 then :
   6592   ac_cv_c_const=yes
   6593 else case e in #(
   6594   e) ac_cv_c_const=no ;;
   6595 esac
   6596 fi
   6597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6598 esac
   6599 fi
   6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   6601 printf "%s\n" "$ac_cv_c_const" >&6; }
   6602 if test $ac_cv_c_const = no; then
   6603 
   6604 printf "%s\n" "#define const /**/" >>confdefs.h
   6605 
   6606 fi
   6607 
   6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
   6609 printf %s "checking for C/C++ restrict keyword... " >&6; }
   6610 if test ${ac_cv_c_restrict+y}
   6611 then :
   6612   printf %s "(cached) " >&6
   6613 else case e in #(
   6614   e) ac_cv_c_restrict=no
   6615    # Put '__restrict__' first, to avoid problems with glibc and non-GCC; see:
   6616    # https://lists.gnu.org/archive/html/bug-autoconf/2016-02/msg00006.html
   6617    # Put 'restrict' last, because C++ lacks it.
   6618    for ac_kw in __restrict__ __restrict _Restrict restrict; do
   6619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6620 /* end confdefs.h.  */
   6621 typedef int *int_ptr;
   6622 	   int foo (int_ptr $ac_kw ip) { return ip[0]; }
   6623 	   int bar (int [$ac_kw]); /* Catch GCC bug 14050.  */
   6624 	   int bar (int ip[$ac_kw]) { return ip[0]; }
   6625 
   6626 int
   6627 main (void)
   6628 {
   6629 int s[1];
   6630 	   int *$ac_kw t = s;
   6631 	   t[0] = 0;
   6632 	   return foo (t) + bar (t);
   6633 
   6634   ;
   6635   return 0;
   6636 }
   6637 _ACEOF
   6638 if ac_fn_c_try_compile "$LINENO"
   6639 then :
   6640   ac_cv_c_restrict=$ac_kw
   6641 fi
   6642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6643      test "$ac_cv_c_restrict" != no && break
   6644    done
   6645    ;;
   6646 esac
   6647 fi
   6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
   6649 printf "%s\n" "$ac_cv_c_restrict" >&6; }
   6650 
   6651  case $ac_cv_c_restrict in
   6652    restrict) ;;
   6653    no) printf "%s\n" "#define restrict /**/" >>confdefs.h
   6654  ;;
   6655    *)  printf "%s\n" "#define restrict $ac_cv_c_restrict" >>confdefs.h
   6656  ;;
   6657  esac
   6658 
   6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
   6660 printf %s "checking for working volatile... " >&6; }
   6661 if test ${ac_cv_c_volatile+y}
   6662 then :
   6663   printf %s "(cached) " >&6
   6664 else case e in #(
   6665   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6666 /* end confdefs.h.  */
   6667 
   6668 int
   6669 main (void)
   6670 {
   6671 
   6672 volatile int x;
   6673 int * volatile y = (int *) 0;
   6674 return !x && !y;
   6675   ;
   6676   return 0;
   6677 }
   6678 _ACEOF
   6679 if ac_fn_c_try_compile "$LINENO"
   6680 then :
   6681   ac_cv_c_volatile=yes
   6682 else case e in #(
   6683   e) ac_cv_c_volatile=no ;;
   6684 esac
   6685 fi
   6686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6687 esac
   6688 fi
   6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
   6690 printf "%s\n" "$ac_cv_c_volatile" >&6; }
   6691 if test $ac_cv_c_volatile = no; then
   6692 
   6693 printf "%s\n" "#define volatile /**/" >>confdefs.h
   6694 
   6695 fi
   6696 
   6697     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
   6698 printf %s "checking for C compiler vendor... " >&6; }
   6699 if test ${ax_cv_c_compiler_vendor+y}
   6700 then :
   6701   printf %s "(cached) " >&6
   6702 else case e in #(
   6703   e)
   6704 	vendors="
   6705 		intel:		__ICC,__ECC,__INTEL_COMPILER
   6706 		ibm:		__xlc__,__xlC__,__IBMC__,__IBMCPP__,__ibmxl__
   6707 		pathscale:	__PATHCC__,__PATHSCALE__
   6708 		clang:		__clang__
   6709 		cray:		_CRAYC
   6710 		fujitsu:	__FUJITSU
   6711 		sdcc:		SDCC,__SDCC
   6712 		sx:		_SX
   6713 		portland:	__PGI
   6714 		gnu:		__GNUC__
   6715 		sun:		__SUNPRO_C,__SUNPRO_CC,__SUNPRO_F90,__SUNPRO_F95
   6716 		hp:		__HP_cc,__HP_aCC
   6717 		dec:		__DECC,__DECCXX,__DECC_VER,__DECCXX_VER
   6718 		borland:	__BORLANDC__,__CODEGEARC__,__TURBOC__
   6719 		comeau:		__COMO__
   6720 		kai:		__KCC
   6721 		lcc:		__LCC__
   6722 		sgi:		__sgi,sgi
   6723 		microsoft:	_MSC_VER
   6724 		metrowerks:	__MWERKS__
   6725 		watcom:		__WATCOMC__
   6726 		tcc:		__TINYC__
   6727 		unknown:	UNKNOWN
   6728 	"
   6729 	for ventest in $vendors; do
   6730 	    case $ventest in
   6731 		*:)
   6732 		    vendor=$ventest
   6733 		    continue
   6734 		    ;;
   6735 		*)
   6736 		    vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")"
   6737 		    ;;
   6738 	    esac
   6739 
   6740 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6741 /* end confdefs.h.  */
   6742 
   6743 int
   6744 main (void)
   6745 {
   6746 
   6747 #if !($vencpp)
   6748       thisisanerror;
   6749 #endif
   6750 
   6751   ;
   6752   return 0;
   6753 }
   6754 _ACEOF
   6755 if ac_fn_c_try_compile "$LINENO"
   6756 then :
   6757   break
   6758 fi
   6759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6760 	done
   6761 
   6762 	ax_cv_c_compiler_vendor=`echo $vendor | cut -d: -f1`
   6763      ;;
   6764 esac
   6765 fi
   6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
   6767 printf "%s\n" "$ax_cv_c_compiler_vendor" >&6; }
   6768 
   6769 
   6770 # libtool
   6771 
   6772 case `pwd` in
   6773   *\ * | *\	*)
   6774     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6775 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6776 esac
   6777 
   6778 
   6779 
   6780 macro_version='2.5.4'
   6781 macro_revision='2.5.4'
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 ltmain=$ac_aux_dir/ltmain.sh
   6797 
   6798 
   6799 
   6800   # Make sure we can run config.sub.
   6801 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   6802   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   6803 
   6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   6805 printf %s "checking build system type... " >&6; }
   6806 if test ${ac_cv_build+y}
   6807 then :
   6808   printf %s "(cached) " >&6
   6809 else case e in #(
   6810   e) ac_build_alias=$build_alias
   6811 test "x$ac_build_alias" = x &&
   6812   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   6813 test "x$ac_build_alias" = x &&
   6814   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   6815 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   6816   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   6817  ;;
   6818 esac
   6819 fi
   6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   6821 printf "%s\n" "$ac_cv_build" >&6; }
   6822 case $ac_cv_build in
   6823 *-*-*) ;;
   6824 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   6825 esac
   6826 build=$ac_cv_build
   6827 ac_save_IFS=$IFS; IFS='-'
   6828 set x $ac_cv_build
   6829 shift
   6830 build_cpu=$1
   6831 build_vendor=$2
   6832 shift; shift
   6833 # Remember, the first character of IFS is used to create $*,
   6834 # except with old shells:
   6835 build_os=$*
   6836 IFS=$ac_save_IFS
   6837 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   6838 
   6839 
   6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   6841 printf %s "checking host system type... " >&6; }
   6842 if test ${ac_cv_host+y}
   6843 then :
   6844   printf %s "(cached) " >&6
   6845 else case e in #(
   6846   e) if test "x$host_alias" = x; then
   6847   ac_cv_host=$ac_cv_build
   6848 else
   6849   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   6850     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   6851 fi
   6852  ;;
   6853 esac
   6854 fi
   6855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   6856 printf "%s\n" "$ac_cv_host" >&6; }
   6857 case $ac_cv_host in
   6858 *-*-*) ;;
   6859 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   6860 esac
   6861 host=$ac_cv_host
   6862 ac_save_IFS=$IFS; IFS='-'
   6863 set x $ac_cv_host
   6864 shift
   6865 host_cpu=$1
   6866 host_vendor=$2
   6867 shift; shift
   6868 # Remember, the first character of IFS is used to create $*,
   6869 # except with old shells:
   6870 host_os=$*
   6871 IFS=$ac_save_IFS
   6872 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   6873 
   6874 
   6875 # Backslashify metacharacters that are still active within
   6876 # double-quoted strings.
   6877 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6878 
   6879 # Same as above, but do not quote variable references.
   6880 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6881 
   6882 # Sed substitution to delay expansion of an escaped shell variable in a
   6883 # double_quote_subst'ed string.
   6884 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6885 
   6886 # Sed substitution to delay expansion of an escaped single quote.
   6887 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6888 
   6889 # Sed substitution to avoid accidental globbing in evaled expressions
   6890 no_glob_subst='s/\*/\\\*/g'
   6891 
   6892 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6893 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6894 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6895 
   6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6897 printf %s "checking how to print strings... " >&6; }
   6898 # Test print first, because it will be a builtin if present.
   6899 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   6900    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6901   ECHO='print -r --'
   6902 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6903   ECHO='printf %s\n'
   6904 else
   6905   # Use this function as a fallback that always works.
   6906   func_fallback_echo ()
   6907   {
   6908     eval 'cat <<_LTECHO_EOF
   6909 $1
   6910 _LTECHO_EOF'
   6911   }
   6912   ECHO='func_fallback_echo'
   6913 fi
   6914 
   6915 # func_echo_all arg...
   6916 # Invoke $ECHO with all args, space-separated.
   6917 func_echo_all ()
   6918 {
   6919     $ECHO ""
   6920 }
   6921 
   6922 case $ECHO in
   6923   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6924 printf "%s\n" "printf" >&6; } ;;
   6925   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6926 printf "%s\n" "print -r" >&6; } ;;
   6927   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6928 printf "%s\n" "cat" >&6; } ;;
   6929 esac
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6945 printf %s "checking for a sed that does not truncate output... " >&6; }
   6946 if test ${ac_cv_path_SED+y}
   6947 then :
   6948   printf %s "(cached) " >&6
   6949 else case e in #(
   6950   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6951      for ac_i in 1 2 3 4 5 6 7; do
   6952        ac_script="$ac_script$as_nl$ac_script"
   6953      done
   6954      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6955      { ac_script=; unset ac_script;}
   6956      if test -z "$SED"; then
   6957   ac_path_SED_found=false
   6958   # Loop through the user's path and test for each of PROGNAME-LIST
   6959   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6960 for as_dir in $PATH
   6961 do
   6962   IFS=$as_save_IFS
   6963   case $as_dir in #(((
   6964     '') as_dir=./ ;;
   6965     */) ;;
   6966     *) as_dir=$as_dir/ ;;
   6967   esac
   6968     for ac_prog in sed gsed
   6969    do
   6970     for ac_exec_ext in '' $ac_executable_extensions; do
   6971       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   6972       as_fn_executable_p "$ac_path_SED" || continue
   6973 # Check for GNU ac_path_SED and select it if it is found.
   6974   # Check for GNU $ac_path_SED
   6975 case `"$ac_path_SED" --version 2>&1` in #(
   6976 *GNU*)
   6977   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6978 #(
   6979 *)
   6980   ac_count=0
   6981   printf %s 0123456789 >"conftest.in"
   6982   while :
   6983   do
   6984     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6985     mv "conftest.tmp" "conftest.in"
   6986     cp "conftest.in" "conftest.nl"
   6987     printf "%s\n" '' >> "conftest.nl"
   6988     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6989     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6990     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6991     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6992       # Best one so far, save it but keep looking for a better one
   6993       ac_cv_path_SED="$ac_path_SED"
   6994       ac_path_SED_max=$ac_count
   6995     fi
   6996     # 10*(2^10) chars as input seems more than enough
   6997     test $ac_count -gt 10 && break
   6998   done
   6999   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7000 esac
   7001 
   7002       $ac_path_SED_found && break 3
   7003     done
   7004   done
   7005   done
   7006 IFS=$as_save_IFS
   7007   if test -z "$ac_cv_path_SED"; then
   7008     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   7009   fi
   7010 else
   7011   ac_cv_path_SED=$SED
   7012 fi
   7013  ;;
   7014 esac
   7015 fi
   7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   7017 printf "%s\n" "$ac_cv_path_SED" >&6; }
   7018  SED="$ac_cv_path_SED"
   7019   rm -f conftest.sed
   7020 
   7021 test -z "$SED" && SED=sed
   7022 Xsed="$SED -e 1s/^X//"
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   7035 printf %s "checking for grep that handles long lines and -e... " >&6; }
   7036 if test ${ac_cv_path_GREP+y}
   7037 then :
   7038   printf %s "(cached) " >&6
   7039 else case e in #(
   7040   e) if test -z "$GREP"; then
   7041   ac_path_GREP_found=false
   7042   # Loop through the user's path and test for each of PROGNAME-LIST
   7043   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   7045 do
   7046   IFS=$as_save_IFS
   7047   case $as_dir in #(((
   7048     '') as_dir=./ ;;
   7049     */) ;;
   7050     *) as_dir=$as_dir/ ;;
   7051   esac
   7052     for ac_prog in grep ggrep
   7053    do
   7054     for ac_exec_ext in '' $ac_executable_extensions; do
   7055       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   7056       as_fn_executable_p "$ac_path_GREP" || continue
   7057 # Check for GNU ac_path_GREP and select it if it is found.
   7058   # Check for GNU $ac_path_GREP
   7059 case `"$ac_path_GREP" --version 2>&1` in #(
   7060 *GNU*)
   7061   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   7062 #(
   7063 *)
   7064   ac_count=0
   7065   printf %s 0123456789 >"conftest.in"
   7066   while :
   7067   do
   7068     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7069     mv "conftest.tmp" "conftest.in"
   7070     cp "conftest.in" "conftest.nl"
   7071     printf "%s\n" 'GREP' >> "conftest.nl"
   7072     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7073     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7074     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7075     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   7076       # Best one so far, save it but keep looking for a better one
   7077       ac_cv_path_GREP="$ac_path_GREP"
   7078       ac_path_GREP_max=$ac_count
   7079     fi
   7080     # 10*(2^10) chars as input seems more than enough
   7081     test $ac_count -gt 10 && break
   7082   done
   7083   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7084 esac
   7085 
   7086       $ac_path_GREP_found && break 3
   7087     done
   7088   done
   7089   done
   7090 IFS=$as_save_IFS
   7091   if test -z "$ac_cv_path_GREP"; then
   7092     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   7093   fi
   7094 else
   7095   ac_cv_path_GREP=$GREP
   7096 fi
   7097  ;;
   7098 esac
   7099 fi
   7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   7101 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   7102  GREP="$ac_cv_path_GREP"
   7103 
   7104 
   7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   7106 printf %s "checking for egrep... " >&6; }
   7107 if test ${ac_cv_path_EGREP+y}
   7108 then :
   7109   printf %s "(cached) " >&6
   7110 else case e in #(
   7111   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   7112    then ac_cv_path_EGREP="$GREP -E"
   7113    else
   7114      if test -z "$EGREP"; then
   7115   ac_path_EGREP_found=false
   7116   # Loop through the user's path and test for each of PROGNAME-LIST
   7117   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7118 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   7119 do
   7120   IFS=$as_save_IFS
   7121   case $as_dir in #(((
   7122     '') as_dir=./ ;;
   7123     */) ;;
   7124     *) as_dir=$as_dir/ ;;
   7125   esac
   7126     for ac_prog in egrep
   7127    do
   7128     for ac_exec_ext in '' $ac_executable_extensions; do
   7129       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   7130       as_fn_executable_p "$ac_path_EGREP" || continue
   7131 # Check for GNU ac_path_EGREP and select it if it is found.
   7132   # Check for GNU $ac_path_EGREP
   7133 case `"$ac_path_EGREP" --version 2>&1` in #(
   7134 *GNU*)
   7135   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   7136 #(
   7137 *)
   7138   ac_count=0
   7139   printf %s 0123456789 >"conftest.in"
   7140   while :
   7141   do
   7142     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7143     mv "conftest.tmp" "conftest.in"
   7144     cp "conftest.in" "conftest.nl"
   7145     printf "%s\n" 'EGREP' >> "conftest.nl"
   7146     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7147     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7148     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7149     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   7150       # Best one so far, save it but keep looking for a better one
   7151       ac_cv_path_EGREP="$ac_path_EGREP"
   7152       ac_path_EGREP_max=$ac_count
   7153     fi
   7154     # 10*(2^10) chars as input seems more than enough
   7155     test $ac_count -gt 10 && break
   7156   done
   7157   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7158 esac
   7159 
   7160       $ac_path_EGREP_found && break 3
   7161     done
   7162   done
   7163   done
   7164 IFS=$as_save_IFS
   7165   if test -z "$ac_cv_path_EGREP"; then
   7166     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   7167   fi
   7168 else
   7169   ac_cv_path_EGREP=$EGREP
   7170 fi
   7171 
   7172    fi ;;
   7173 esac
   7174 fi
   7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   7176 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   7177  EGREP="$ac_cv_path_EGREP"
   7178 
   7179          EGREP_TRADITIONAL=$EGREP
   7180  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   7181 
   7182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   7183 printf %s "checking for fgrep... " >&6; }
   7184 if test ${ac_cv_path_FGREP+y}
   7185 then :
   7186   printf %s "(cached) " >&6
   7187 else case e in #(
   7188   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   7189    then ac_cv_path_FGREP="$GREP -F"
   7190    else
   7191      if test -z "$FGREP"; then
   7192   ac_path_FGREP_found=false
   7193   # Loop through the user's path and test for each of PROGNAME-LIST
   7194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7195 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   7196 do
   7197   IFS=$as_save_IFS
   7198   case $as_dir in #(((
   7199     '') as_dir=./ ;;
   7200     */) ;;
   7201     *) as_dir=$as_dir/ ;;
   7202   esac
   7203     for ac_prog in fgrep
   7204    do
   7205     for ac_exec_ext in '' $ac_executable_extensions; do
   7206       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   7207       as_fn_executable_p "$ac_path_FGREP" || continue
   7208 # Check for GNU ac_path_FGREP and select it if it is found.
   7209   # Check for GNU $ac_path_FGREP
   7210 case `"$ac_path_FGREP" --version 2>&1` in #(
   7211 *GNU*)
   7212   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   7213 #(
   7214 *)
   7215   ac_count=0
   7216   printf %s 0123456789 >"conftest.in"
   7217   while :
   7218   do
   7219     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7220     mv "conftest.tmp" "conftest.in"
   7221     cp "conftest.in" "conftest.nl"
   7222     printf "%s\n" 'FGREP' >> "conftest.nl"
   7223     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7224     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7225     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7226     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   7227       # Best one so far, save it but keep looking for a better one
   7228       ac_cv_path_FGREP="$ac_path_FGREP"
   7229       ac_path_FGREP_max=$ac_count
   7230     fi
   7231     # 10*(2^10) chars as input seems more than enough
   7232     test $ac_count -gt 10 && break
   7233   done
   7234   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7235 esac
   7236 
   7237       $ac_path_FGREP_found && break 3
   7238     done
   7239   done
   7240   done
   7241 IFS=$as_save_IFS
   7242   if test -z "$ac_cv_path_FGREP"; then
   7243     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   7244   fi
   7245 else
   7246   ac_cv_path_FGREP=$FGREP
   7247 fi
   7248 
   7249    fi ;;
   7250 esac
   7251 fi
   7252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   7253 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   7254  FGREP="$ac_cv_path_FGREP"
   7255 
   7256 
   7257 test -z "$GREP" && GREP=grep
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 # Check whether --with-gnu-ld was given.
   7278 if test ${with_gnu_ld+y}
   7279 then :
   7280   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   7281 else case e in #(
   7282   e) with_gnu_ld=no ;;
   7283 esac
   7284 fi
   7285 
   7286 ac_prog=ld
   7287 if test yes = "$GCC"; then
   7288   # Check if gcc -print-prog-name=ld gives a path.
   7289   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   7290 printf %s "checking for ld used by $CC... " >&6; }
   7291   case $host in
   7292   *-*-mingw* | *-*-windows*)
   7293     # gcc leaves a trailing carriage return, which upsets mingw
   7294     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   7295   *)
   7296     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   7297   esac
   7298   case $ac_prog in
   7299     # Accept absolute paths.
   7300     [\\/]* | ?:[\\/]*)
   7301       re_direlt='/[^/][^/]*/\.\./'
   7302       # Canonicalize the pathname of ld
   7303       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   7304       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   7305 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   7306       done
   7307       test -z "$LD" && LD=$ac_prog
   7308       ;;
   7309   "")
   7310     # If it fails, then pretend we aren't using GCC.
   7311     ac_prog=ld
   7312     ;;
   7313   *)
   7314     # If it is relative, then search for the first ld in PATH.
   7315     with_gnu_ld=unknown
   7316     ;;
   7317   esac
   7318 elif test yes = "$with_gnu_ld"; then
   7319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   7320 printf %s "checking for GNU ld... " >&6; }
   7321 else
   7322   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   7323 printf %s "checking for non-GNU ld... " >&6; }
   7324 fi
   7325 if test ${lt_cv_path_LD+y}
   7326 then :
   7327   printf %s "(cached) " >&6
   7328 else case e in #(
   7329   e) if test -z "$LD"; then
   7330   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   7331   for ac_dir in $PATH; do
   7332     IFS=$lt_save_ifs
   7333     test -z "$ac_dir" && ac_dir=.
   7334     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   7335       lt_cv_path_LD=$ac_dir/$ac_prog
   7336       # Check to see if the program is GNU ld.  I'd rather use --version,
   7337       # but apparently some variants of GNU ld only accept -v.
   7338       # Break only if it was the GNU/non-GNU ld that we prefer.
   7339       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   7340       *GNU* | *'with BFD'*)
   7341 	test no != "$with_gnu_ld" && break
   7342 	;;
   7343       *)
   7344 	test yes != "$with_gnu_ld" && break
   7345 	;;
   7346       esac
   7347     fi
   7348   done
   7349   IFS=$lt_save_ifs
   7350 else
   7351   lt_cv_path_LD=$LD # Let the user override the test with a path.
   7352 fi ;;
   7353 esac
   7354 fi
   7355 
   7356 LD=$lt_cv_path_LD
   7357 if test -n "$LD"; then
   7358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   7359 printf "%s\n" "$LD" >&6; }
   7360 else
   7361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7362 printf "%s\n" "no" >&6; }
   7363 fi
   7364 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   7366 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   7367 if test ${lt_cv_prog_gnu_ld+y}
   7368 then :
   7369   printf %s "(cached) " >&6
   7370 else case e in #(
   7371   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   7372 case `$LD -v 2>&1 </dev/null` in
   7373 *GNU* | *'with BFD'*)
   7374   lt_cv_prog_gnu_ld=yes
   7375   ;;
   7376 *)
   7377   lt_cv_prog_gnu_ld=no
   7378   ;;
   7379 esac ;;
   7380 esac
   7381 fi
   7382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   7383 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   7384 with_gnu_ld=$lt_cv_prog_gnu_ld
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   7395 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   7396 if test ${lt_cv_path_NM+y}
   7397 then :
   7398   printf %s "(cached) " >&6
   7399 else case e in #(
   7400   e) if test -n "$NM"; then
   7401   # Let the user override the test.
   7402   lt_cv_path_NM=$NM
   7403 else
   7404   lt_nm_to_check=${ac_tool_prefix}nm
   7405   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   7406     lt_nm_to_check="$lt_nm_to_check nm"
   7407   fi
   7408   for lt_tmp_nm in $lt_nm_to_check; do
   7409     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   7410     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   7411       IFS=$lt_save_ifs
   7412       test -z "$ac_dir" && ac_dir=.
   7413       tmp_nm=$ac_dir/$lt_tmp_nm
   7414       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   7415 	# Check to see if the nm accepts a BSD-compat flag.
   7416 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   7417 	#   nm: unknown option "B" ignored
   7418 	# Tru64's nm complains that /dev/null is an invalid object file
   7419 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   7420 	case $build_os in
   7421 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   7422 	*) lt_bad_file=/dev/null ;;
   7423 	esac
   7424 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   7425 	*$lt_bad_file* | *'Invalid file or object type'*)
   7426 	  lt_cv_path_NM="$tmp_nm -B"
   7427 	  break 2
   7428 	  ;;
   7429 	*)
   7430 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   7431 	  */dev/null*)
   7432 	    lt_cv_path_NM="$tmp_nm -p"
   7433 	    break 2
   7434 	    ;;
   7435 	  *)
   7436 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   7437 	    continue # so that we can try to find one that supports BSD flags
   7438 	    ;;
   7439 	  esac
   7440 	  ;;
   7441 	esac
   7442       fi
   7443     done
   7444     IFS=$lt_save_ifs
   7445   done
   7446   : ${lt_cv_path_NM=no}
   7447 fi ;;
   7448 esac
   7449 fi
   7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   7451 printf "%s\n" "$lt_cv_path_NM" >&6; }
   7452 if test no != "$lt_cv_path_NM"; then
   7453   NM=$lt_cv_path_NM
   7454 else
   7455   # Didn't find any BSD compatible name lister, look for dumpbin.
   7456   if test -n "$DUMPBIN"; then :
   7457     # Let the user override the test.
   7458   else
   7459     if test -n "$ac_tool_prefix"; then
   7460   for ac_prog in dumpbin "link -dump"
   7461   do
   7462     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7463 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7465 printf %s "checking for $ac_word... " >&6; }
   7466 if test ${ac_cv_prog_DUMPBIN+y}
   7467 then :
   7468   printf %s "(cached) " >&6
   7469 else case e in #(
   7470   e) if test -n "$DUMPBIN"; then
   7471   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   7472 else
   7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7474 for as_dir in $PATH
   7475 do
   7476   IFS=$as_save_IFS
   7477   case $as_dir in #(((
   7478     '') as_dir=./ ;;
   7479     */) ;;
   7480     *) as_dir=$as_dir/ ;;
   7481   esac
   7482     for ac_exec_ext in '' $ac_executable_extensions; do
   7483   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7484     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   7485     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7486     break 2
   7487   fi
   7488 done
   7489   done
   7490 IFS=$as_save_IFS
   7491 
   7492 fi ;;
   7493 esac
   7494 fi
   7495 DUMPBIN=$ac_cv_prog_DUMPBIN
   7496 if test -n "$DUMPBIN"; then
   7497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   7498 printf "%s\n" "$DUMPBIN" >&6; }
   7499 else
   7500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7501 printf "%s\n" "no" >&6; }
   7502 fi
   7503 
   7504 
   7505     test -n "$DUMPBIN" && break
   7506   done
   7507 fi
   7508 if test -z "$DUMPBIN"; then
   7509   ac_ct_DUMPBIN=$DUMPBIN
   7510   for ac_prog in dumpbin "link -dump"
   7511 do
   7512   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7513 set dummy $ac_prog; ac_word=$2
   7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7515 printf %s "checking for $ac_word... " >&6; }
   7516 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   7517 then :
   7518   printf %s "(cached) " >&6
   7519 else case e in #(
   7520   e) if test -n "$ac_ct_DUMPBIN"; then
   7521   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   7522 else
   7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7524 for as_dir in $PATH
   7525 do
   7526   IFS=$as_save_IFS
   7527   case $as_dir in #(((
   7528     '') as_dir=./ ;;
   7529     */) ;;
   7530     *) as_dir=$as_dir/ ;;
   7531   esac
   7532     for ac_exec_ext in '' $ac_executable_extensions; do
   7533   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7534     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   7535     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7536     break 2
   7537   fi
   7538 done
   7539   done
   7540 IFS=$as_save_IFS
   7541 
   7542 fi ;;
   7543 esac
   7544 fi
   7545 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   7546 if test -n "$ac_ct_DUMPBIN"; then
   7547   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   7548 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   7549 else
   7550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7551 printf "%s\n" "no" >&6; }
   7552 fi
   7553 
   7554 
   7555   test -n "$ac_ct_DUMPBIN" && break
   7556 done
   7557 
   7558   if test "x$ac_ct_DUMPBIN" = x; then
   7559     DUMPBIN=":"
   7560   else
   7561     case $cross_compiling:$ac_tool_warned in
   7562 yes:)
   7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7564 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7565 ac_tool_warned=yes ;;
   7566 esac
   7567     DUMPBIN=$ac_ct_DUMPBIN
   7568   fi
   7569 fi
   7570 
   7571     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   7572     *COFF*)
   7573       DUMPBIN="$DUMPBIN -symbols -headers"
   7574       ;;
   7575     *)
   7576       DUMPBIN=:
   7577       ;;
   7578     esac
   7579   fi
   7580 
   7581   if test : != "$DUMPBIN"; then
   7582     NM=$DUMPBIN
   7583   fi
   7584 fi
   7585 test -z "$NM" && NM=nm
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   7593 printf %s "checking the name lister ($NM) interface... " >&6; }
   7594 if test ${lt_cv_nm_interface+y}
   7595 then :
   7596   printf %s "(cached) " >&6
   7597 else case e in #(
   7598   e) lt_cv_nm_interface="BSD nm"
   7599   echo "int some_variable = 0;" > conftest.$ac_ext
   7600   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   7601   (eval "$ac_compile" 2>conftest.err)
   7602   cat conftest.err >&5
   7603   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   7604   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   7605   cat conftest.err >&5
   7606   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   7607   cat conftest.out >&5
   7608   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   7609     lt_cv_nm_interface="MS dumpbin"
   7610   fi
   7611   rm -f conftest* ;;
   7612 esac
   7613 fi
   7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   7615 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   7616 
   7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   7618 printf %s "checking whether ln -s works... " >&6; }
   7619 LN_S=$as_ln_s
   7620 if test "$LN_S" = "ln -s"; then
   7621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7622 printf "%s\n" "yes" >&6; }
   7623 else
   7624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   7625 printf "%s\n" "no, using $LN_S" >&6; }
   7626 fi
   7627 
   7628 # find the maximum length of command line arguments
   7629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   7630 printf %s "checking the maximum length of command line arguments... " >&6; }
   7631 if test ${lt_cv_sys_max_cmd_len+y}
   7632 then :
   7633   printf %s "(cached) " >&6
   7634 else case e in #(
   7635   e)   i=0
   7636   teststring=ABCD
   7637 
   7638   case $build_os in
   7639   msdosdjgpp*)
   7640     # On DJGPP, this test can blow up pretty badly due to problems in libc
   7641     # (any single argument exceeding 2000 bytes causes a buffer overrun
   7642     # during glob expansion).  Even if it were fixed, the result of this
   7643     # check would be larger than it should be.
   7644     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   7645     ;;
   7646 
   7647   gnu* | ironclad*)
   7648     # Under GNU Hurd and Ironclad, this test is not required because there
   7649     # is no limit to the length of command line arguments.
   7650     # Libtool will interpret -1 as no limit whatsoever
   7651     lt_cv_sys_max_cmd_len=-1;
   7652     ;;
   7653 
   7654   cygwin* | mingw* | windows* | cegcc*)
   7655     # On Win9x/ME, this test blows up -- it succeeds, but takes
   7656     # about 5 minutes as the teststring grows exponentially.
   7657     # Worse, since 9x/ME are not pre-emptively multitasking,
   7658     # you end up with a "frozen" computer, even though with patience
   7659     # the test eventually succeeds (with a max line length of 256k).
   7660     # Instead, let's just punt: use the minimum linelength reported by
   7661     # all of the supported platforms: 8192 (on NT/2K/XP).
   7662     lt_cv_sys_max_cmd_len=8192;
   7663     ;;
   7664 
   7665   mint*)
   7666     # On MiNT this can take a long time and run out of memory.
   7667     lt_cv_sys_max_cmd_len=8192;
   7668     ;;
   7669 
   7670   amigaos*)
   7671     # On AmigaOS with pdksh, this test takes hours, literally.
   7672     # So we just punt and use a minimum line length of 8192.
   7673     lt_cv_sys_max_cmd_len=8192;
   7674     ;;
   7675 
   7676   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   7677     # This has been around since 386BSD, at least.  Likely further.
   7678     if test -x /sbin/sysctl; then
   7679       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   7680     elif test -x /usr/sbin/sysctl; then
   7681       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   7682     else
   7683       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   7684     fi
   7685     # And add a safety zone
   7686     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7687     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7688     ;;
   7689 
   7690   interix*)
   7691     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   7692     lt_cv_sys_max_cmd_len=196608
   7693     ;;
   7694 
   7695   os2*)
   7696     # The test takes a long time on OS/2.
   7697     lt_cv_sys_max_cmd_len=8192
   7698     ;;
   7699 
   7700   osf*)
   7701     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   7702     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   7703     # nice to cause kernel panics so lets avoid the loop below.
   7704     # First set a reasonable default.
   7705     lt_cv_sys_max_cmd_len=16384
   7706     #
   7707     if test -x /sbin/sysconfig; then
   7708       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   7709         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   7710       esac
   7711     fi
   7712     ;;
   7713   sco3.2v5*)
   7714     lt_cv_sys_max_cmd_len=102400
   7715     ;;
   7716   sysv5* | sco5v6* | sysv4.2uw2*)
   7717     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   7718     if test -n "$kargmax"; then
   7719       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   7720     else
   7721       lt_cv_sys_max_cmd_len=32768
   7722     fi
   7723     ;;
   7724   *)
   7725     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   7726     if test -n "$lt_cv_sys_max_cmd_len" && \
   7727        test undefined != "$lt_cv_sys_max_cmd_len"; then
   7728       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7729       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7730     else
   7731       # Make teststring a little bigger before we do anything with it.
   7732       # a 1K string should be a reasonable start.
   7733       for i in 1 2 3 4 5 6 7 8; do
   7734         teststring=$teststring$teststring
   7735       done
   7736       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   7737       # If test is not a shell built-in, we'll probably end up computing a
   7738       # maximum length that is only half of the actual maximum length, but
   7739       # we can't tell.
   7740       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   7741 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   7742 	      test 17 != "$i" # 1/2 MB should be enough
   7743       do
   7744         i=`expr $i + 1`
   7745         teststring=$teststring$teststring
   7746       done
   7747       # Only check the string length outside the loop.
   7748       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   7749       teststring=
   7750       # Add a significant safety factor because C++ compilers can tack on
   7751       # massive amounts of additional arguments before passing them to the
   7752       # linker.  It appears as though 1/2 is a usable value.
   7753       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   7754     fi
   7755     ;;
   7756   esac
   7757  ;;
   7758 esac
   7759 fi
   7760 
   7761 if test -n "$lt_cv_sys_max_cmd_len"; then
   7762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   7763 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   7764 else
   7765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   7766 printf "%s\n" "none" >&6; }
   7767 fi
   7768 max_cmd_len=$lt_cv_sys_max_cmd_len
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 : ${CP="cp -f"}
   7776 : ${MV="mv -f"}
   7777 : ${RM="rm -f"}
   7778 
   7779 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7780   lt_unset=unset
   7781 else
   7782   lt_unset=false
   7783 fi
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 # test EBCDIC or ASCII
   7790 case `echo X|tr X '\101'` in
   7791  A) # ASCII based system
   7792     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   7793   lt_SP2NL='tr \040 \012'
   7794   lt_NL2SP='tr \015\012 \040\040'
   7795   ;;
   7796  *) # EBCDIC based system
   7797   lt_SP2NL='tr \100 \n'
   7798   lt_NL2SP='tr \r\n \100\100'
   7799   ;;
   7800 esac
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   7811 printf %s "checking how to convert $build file names to $host format... " >&6; }
   7812 if test ${lt_cv_to_host_file_cmd+y}
   7813 then :
   7814   printf %s "(cached) " >&6
   7815 else case e in #(
   7816   e) case $host in
   7817   *-*-mingw* )
   7818     case $build in
   7819       *-*-mingw* | *-*-windows* ) # actually msys
   7820         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   7821         ;;
   7822       *-*-cygwin* )
   7823         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   7824         ;;
   7825       * ) # otherwise, assume *nix
   7826         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   7827         ;;
   7828     esac
   7829     ;;
   7830   *-*-cygwin* )
   7831     case $build in
   7832       *-*-mingw* | *-*-windows* ) # actually msys
   7833         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   7834         ;;
   7835       *-*-cygwin* )
   7836         lt_cv_to_host_file_cmd=func_convert_file_noop
   7837         ;;
   7838       * ) # otherwise, assume *nix
   7839         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   7840         ;;
   7841     esac
   7842     ;;
   7843   * ) # unhandled hosts (and "normal" native builds)
   7844     lt_cv_to_host_file_cmd=func_convert_file_noop
   7845     ;;
   7846 esac
   7847  ;;
   7848 esac
   7849 fi
   7850 
   7851 to_host_file_cmd=$lt_cv_to_host_file_cmd
   7852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   7853 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   7860 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   7861 if test ${lt_cv_to_tool_file_cmd+y}
   7862 then :
   7863   printf %s "(cached) " >&6
   7864 else case e in #(
   7865   e) #assume ordinary cross tools, or native build.
   7866 lt_cv_to_tool_file_cmd=func_convert_file_noop
   7867 case $host in
   7868   *-*-mingw* | *-*-windows* )
   7869     case $build in
   7870       *-*-mingw* | *-*-windows* ) # actually msys
   7871         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   7872         ;;
   7873     esac
   7874     ;;
   7875 esac
   7876  ;;
   7877 esac
   7878 fi
   7879 
   7880 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   7881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   7882 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   7889 printf %s "checking for $LD option to reload object files... " >&6; }
   7890 if test ${lt_cv_ld_reload_flag+y}
   7891 then :
   7892   printf %s "(cached) " >&6
   7893 else case e in #(
   7894   e) lt_cv_ld_reload_flag='-r' ;;
   7895 esac
   7896 fi
   7897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   7898 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   7899 reload_flag=$lt_cv_ld_reload_flag
   7900 case $reload_flag in
   7901 "" | " "*) ;;
   7902 *) reload_flag=" $reload_flag" ;;
   7903 esac
   7904 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7905 case $host_os in
   7906   cygwin* | mingw* | windows* | pw32* | cegcc*)
   7907     if test yes != "$GCC"; then
   7908       reload_cmds=false
   7909     fi
   7910     ;;
   7911   darwin*)
   7912     if test yes = "$GCC"; then
   7913       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   7914     else
   7915       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7916     fi
   7917     ;;
   7918 esac
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 # Extract the first word of "file", so it can be a program name with args.
   7929 set dummy file; ac_word=$2
   7930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7931 printf %s "checking for $ac_word... " >&6; }
   7932 if test ${ac_cv_prog_FILECMD+y}
   7933 then :
   7934   printf %s "(cached) " >&6
   7935 else case e in #(
   7936   e) if test -n "$FILECMD"; then
   7937   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   7938 else
   7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7940 for as_dir in $PATH
   7941 do
   7942   IFS=$as_save_IFS
   7943   case $as_dir in #(((
   7944     '') as_dir=./ ;;
   7945     */) ;;
   7946     *) as_dir=$as_dir/ ;;
   7947   esac
   7948     for ac_exec_ext in '' $ac_executable_extensions; do
   7949   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7950     ac_cv_prog_FILECMD="file"
   7951     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7952     break 2
   7953   fi
   7954 done
   7955   done
   7956 IFS=$as_save_IFS
   7957 
   7958   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   7959 fi ;;
   7960 esac
   7961 fi
   7962 FILECMD=$ac_cv_prog_FILECMD
   7963 if test -n "$FILECMD"; then
   7964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   7965 printf "%s\n" "$FILECMD" >&6; }
   7966 else
   7967   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7968 printf "%s\n" "no" >&6; }
   7969 fi
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 if test -n "$ac_tool_prefix"; then
   7979   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7980 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7982 printf %s "checking for $ac_word... " >&6; }
   7983 if test ${ac_cv_prog_OBJDUMP+y}
   7984 then :
   7985   printf %s "(cached) " >&6
   7986 else case e in #(
   7987   e) if test -n "$OBJDUMP"; then
   7988   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7989 else
   7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7991 for as_dir in $PATH
   7992 do
   7993   IFS=$as_save_IFS
   7994   case $as_dir in #(((
   7995     '') as_dir=./ ;;
   7996     */) ;;
   7997     *) as_dir=$as_dir/ ;;
   7998   esac
   7999     for ac_exec_ext in '' $ac_executable_extensions; do
   8000   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8001     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   8002     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8003     break 2
   8004   fi
   8005 done
   8006   done
   8007 IFS=$as_save_IFS
   8008 
   8009 fi ;;
   8010 esac
   8011 fi
   8012 OBJDUMP=$ac_cv_prog_OBJDUMP
   8013 if test -n "$OBJDUMP"; then
   8014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   8015 printf "%s\n" "$OBJDUMP" >&6; }
   8016 else
   8017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8018 printf "%s\n" "no" >&6; }
   8019 fi
   8020 
   8021 
   8022 fi
   8023 if test -z "$ac_cv_prog_OBJDUMP"; then
   8024   ac_ct_OBJDUMP=$OBJDUMP
   8025   # Extract the first word of "objdump", so it can be a program name with args.
   8026 set dummy objdump; ac_word=$2
   8027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8028 printf %s "checking for $ac_word... " >&6; }
   8029 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   8030 then :
   8031   printf %s "(cached) " >&6
   8032 else case e in #(
   8033   e) if test -n "$ac_ct_OBJDUMP"; then
   8034   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   8035 else
   8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8037 for as_dir in $PATH
   8038 do
   8039   IFS=$as_save_IFS
   8040   case $as_dir in #(((
   8041     '') as_dir=./ ;;
   8042     */) ;;
   8043     *) as_dir=$as_dir/ ;;
   8044   esac
   8045     for ac_exec_ext in '' $ac_executable_extensions; do
   8046   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8047     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   8048     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8049     break 2
   8050   fi
   8051 done
   8052   done
   8053 IFS=$as_save_IFS
   8054 
   8055 fi ;;
   8056 esac
   8057 fi
   8058 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   8059 if test -n "$ac_ct_OBJDUMP"; then
   8060   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   8061 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   8062 else
   8063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8064 printf "%s\n" "no" >&6; }
   8065 fi
   8066 
   8067   if test "x$ac_ct_OBJDUMP" = x; then
   8068     OBJDUMP="false"
   8069   else
   8070     case $cross_compiling:$ac_tool_warned in
   8071 yes:)
   8072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8073 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8074 ac_tool_warned=yes ;;
   8075 esac
   8076     OBJDUMP=$ac_ct_OBJDUMP
   8077   fi
   8078 else
   8079   OBJDUMP="$ac_cv_prog_OBJDUMP"
   8080 fi
   8081 
   8082 test -z "$OBJDUMP" && OBJDUMP=objdump
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   8093 printf %s "checking how to recognize dependent libraries... " >&6; }
   8094 if test ${lt_cv_deplibs_check_method+y}
   8095 then :
   8096   printf %s "(cached) " >&6
   8097 else case e in #(
   8098   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   8099 lt_cv_file_magic_test_file=
   8100 lt_cv_deplibs_check_method='unknown'
   8101 # Need to set the preceding variable on all platforms that support
   8102 # interlibrary dependencies.
   8103 # 'none' -- dependencies not supported.
   8104 # 'unknown' -- same as none, but documents that we really don't know.
   8105 # 'pass_all' -- all dependencies passed with no checks.
   8106 # 'file_magic [[regex]]' -- check by looking for files in library path
   8107 # that responds to the $file_magic_cmd with a given extended regex.
   8108 # If you have 'file' or equivalent on your system and you're not sure
   8109 # whether 'pass_all' will *always* work, you probably want this one.
   8110 
   8111 case $host_os in
   8112 aix[4-9]*)
   8113   lt_cv_deplibs_check_method=pass_all
   8114   ;;
   8115 
   8116 beos*)
   8117   lt_cv_deplibs_check_method=pass_all
   8118   ;;
   8119 
   8120 bsdi[45]*)
   8121   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   8122   lt_cv_file_magic_cmd='$FILECMD -L'
   8123   lt_cv_file_magic_test_file=/shlib/libc.so
   8124   ;;
   8125 
   8126 cygwin*)
   8127   # func_win32_libid is a shell function defined in ltmain.sh
   8128   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   8129   lt_cv_file_magic_cmd='func_win32_libid'
   8130   ;;
   8131 
   8132 mingw* | windows* | pw32*)
   8133   # Base MSYS/MinGW do not provide the 'file' command needed by
   8134   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   8135   # unless we find 'file', for example because we are cross-compiling.
   8136   if ( file / ) >/dev/null 2>&1; then
   8137     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   8138     lt_cv_file_magic_cmd='func_win32_libid'
   8139   else
   8140     # Keep this pattern in sync with the one in func_win32_libid.
   8141     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   8142     lt_cv_file_magic_cmd='$OBJDUMP -f'
   8143   fi
   8144   ;;
   8145 
   8146 cegcc*)
   8147   # use the weaker test based on 'objdump'. See mingw*.
   8148   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   8149   lt_cv_file_magic_cmd='$OBJDUMP -f'
   8150   ;;
   8151 
   8152 darwin* | rhapsody*)
   8153   lt_cv_deplibs_check_method=pass_all
   8154   ;;
   8155 
   8156 freebsd* | dragonfly* | midnightbsd*)
   8157   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   8158     case $host_cpu in
   8159     i*86 )
   8160       # Not sure whether the presence of OpenBSD here was a mistake.
   8161       # Let's accept both of them until this is cleared up.
   8162       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   8163       lt_cv_file_magic_cmd=$FILECMD
   8164       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   8165       ;;
   8166     esac
   8167   else
   8168     lt_cv_deplibs_check_method=pass_all
   8169   fi
   8170   ;;
   8171 
   8172 haiku*)
   8173   lt_cv_deplibs_check_method=pass_all
   8174   ;;
   8175 
   8176 hpux10.20* | hpux11*)
   8177   lt_cv_file_magic_cmd=$FILECMD
   8178   case $host_cpu in
   8179   ia64*)
   8180     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   8181     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   8182     ;;
   8183   hppa*64*)
   8184     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]'
   8185     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   8186     ;;
   8187   *)
   8188     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   8189     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   8190     ;;
   8191   esac
   8192   ;;
   8193 
   8194 interix[3-9]*)
   8195   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   8196   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   8197   ;;
   8198 
   8199 irix5* | irix6* | nonstopux*)
   8200   case $LD in
   8201   *-32|*"-32 ") libmagic=32-bit;;
   8202   *-n32|*"-n32 ") libmagic=N32;;
   8203   *-64|*"-64 ") libmagic=64-bit;;
   8204   *) libmagic=never-match;;
   8205   esac
   8206   lt_cv_deplibs_check_method=pass_all
   8207   ;;
   8208 
   8209 # This must be glibc/ELF.
   8210 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8211   lt_cv_deplibs_check_method=pass_all
   8212   ;;
   8213 
   8214 *-mlibc)
   8215   lt_cv_deplibs_check_method=pass_all
   8216   ;;
   8217 
   8218 netbsd* | netbsdelf*-gnu)
   8219   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   8220     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   8221   else
   8222     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   8223   fi
   8224   ;;
   8225 
   8226 newos6*)
   8227   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   8228   lt_cv_file_magic_cmd=$FILECMD
   8229   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   8230   ;;
   8231 
   8232 *nto* | *qnx*)
   8233   lt_cv_deplibs_check_method=pass_all
   8234   ;;
   8235 
   8236 openbsd*)
   8237   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   8238     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   8239   else
   8240     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   8241   fi
   8242   ;;
   8243 
   8244 osf3* | osf4* | osf5*)
   8245   lt_cv_deplibs_check_method=pass_all
   8246   ;;
   8247 
   8248 rdos*)
   8249   lt_cv_deplibs_check_method=pass_all
   8250   ;;
   8251 
   8252 serenity*)
   8253   lt_cv_deplibs_check_method=pass_all
   8254   ;;
   8255 
   8256 solaris*)
   8257   lt_cv_deplibs_check_method=pass_all
   8258   ;;
   8259 
   8260 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   8261   lt_cv_deplibs_check_method=pass_all
   8262   ;;
   8263 
   8264 sysv4 | sysv4.3*)
   8265   case $host_vendor in
   8266   motorola)
   8267     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]'
   8268     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   8269     ;;
   8270   ncr)
   8271     lt_cv_deplibs_check_method=pass_all
   8272     ;;
   8273   sequent)
   8274     lt_cv_file_magic_cmd='/bin/file'
   8275     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   8276     ;;
   8277   sni)
   8278     lt_cv_file_magic_cmd='/bin/file'
   8279     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   8280     lt_cv_file_magic_test_file=/lib/libc.so
   8281     ;;
   8282   siemens)
   8283     lt_cv_deplibs_check_method=pass_all
   8284     ;;
   8285   pc)
   8286     lt_cv_deplibs_check_method=pass_all
   8287     ;;
   8288   esac
   8289   ;;
   8290 
   8291 tpf*)
   8292   lt_cv_deplibs_check_method=pass_all
   8293   ;;
   8294 os2*)
   8295   lt_cv_deplibs_check_method=pass_all
   8296   ;;
   8297 esac
   8298  ;;
   8299 esac
   8300 fi
   8301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   8302 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   8303 
   8304 file_magic_glob=
   8305 want_nocaseglob=no
   8306 if test "$build" = "$host"; then
   8307   case $host_os in
   8308   mingw* | windows* | pw32*)
   8309     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   8310       want_nocaseglob=yes
   8311     else
   8312       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   8313     fi
   8314     ;;
   8315   esac
   8316 fi
   8317 
   8318 file_magic_cmd=$lt_cv_file_magic_cmd
   8319 deplibs_check_method=$lt_cv_deplibs_check_method
   8320 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 if test -n "$ac_tool_prefix"; then
   8344   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   8345 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   8346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8347 printf %s "checking for $ac_word... " >&6; }
   8348 if test ${ac_cv_prog_DLLTOOL+y}
   8349 then :
   8350   printf %s "(cached) " >&6
   8351 else case e in #(
   8352   e) if test -n "$DLLTOOL"; then
   8353   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8354 else
   8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8356 for as_dir in $PATH
   8357 do
   8358   IFS=$as_save_IFS
   8359   case $as_dir in #(((
   8360     '') as_dir=./ ;;
   8361     */) ;;
   8362     *) as_dir=$as_dir/ ;;
   8363   esac
   8364     for ac_exec_ext in '' $ac_executable_extensions; do
   8365   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8366     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   8367     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8368     break 2
   8369   fi
   8370 done
   8371   done
   8372 IFS=$as_save_IFS
   8373 
   8374 fi ;;
   8375 esac
   8376 fi
   8377 DLLTOOL=$ac_cv_prog_DLLTOOL
   8378 if test -n "$DLLTOOL"; then
   8379   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8380 printf "%s\n" "$DLLTOOL" >&6; }
   8381 else
   8382   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8383 printf "%s\n" "no" >&6; }
   8384 fi
   8385 
   8386 
   8387 fi
   8388 if test -z "$ac_cv_prog_DLLTOOL"; then
   8389   ac_ct_DLLTOOL=$DLLTOOL
   8390   # Extract the first word of "dlltool", so it can be a program name with args.
   8391 set dummy dlltool; ac_word=$2
   8392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8393 printf %s "checking for $ac_word... " >&6; }
   8394 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   8395 then :
   8396   printf %s "(cached) " >&6
   8397 else case e in #(
   8398   e) if test -n "$ac_ct_DLLTOOL"; then
   8399   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   8400 else
   8401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8402 for as_dir in $PATH
   8403 do
   8404   IFS=$as_save_IFS
   8405   case $as_dir in #(((
   8406     '') as_dir=./ ;;
   8407     */) ;;
   8408     *) as_dir=$as_dir/ ;;
   8409   esac
   8410     for ac_exec_ext in '' $ac_executable_extensions; do
   8411   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8412     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   8413     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8414     break 2
   8415   fi
   8416 done
   8417   done
   8418 IFS=$as_save_IFS
   8419 
   8420 fi ;;
   8421 esac
   8422 fi
   8423 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   8424 if test -n "$ac_ct_DLLTOOL"; then
   8425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   8426 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   8427 else
   8428   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8429 printf "%s\n" "no" >&6; }
   8430 fi
   8431 
   8432   if test "x$ac_ct_DLLTOOL" = x; then
   8433     DLLTOOL="false"
   8434   else
   8435     case $cross_compiling:$ac_tool_warned in
   8436 yes:)
   8437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8438 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8439 ac_tool_warned=yes ;;
   8440 esac
   8441     DLLTOOL=$ac_ct_DLLTOOL
   8442   fi
   8443 else
   8444   DLLTOOL="$ac_cv_prog_DLLTOOL"
   8445 fi
   8446 
   8447 test -z "$DLLTOOL" && DLLTOOL=dlltool
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   8459 printf %s "checking how to associate runtime and link libraries... " >&6; }
   8460 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   8461 then :
   8462   printf %s "(cached) " >&6
   8463 else case e in #(
   8464   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   8465 
   8466 case $host_os in
   8467 cygwin* | mingw* | windows* | pw32* | cegcc*)
   8468   # two different shell functions defined in ltmain.sh;
   8469   # decide which one to use based on capabilities of $DLLTOOL
   8470   case `$DLLTOOL --help 2>&1` in
   8471   *--identify-strict*)
   8472     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   8473     ;;
   8474   *)
   8475     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   8476     ;;
   8477   esac
   8478   ;;
   8479 *)
   8480   # fallback: assume linklib IS sharedlib
   8481   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   8482   ;;
   8483 esac
   8484  ;;
   8485 esac
   8486 fi
   8487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   8488 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   8489 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   8490 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 if test -n "$ac_tool_prefix"; then
   8499   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   8500 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   8501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8502 printf %s "checking for $ac_word... " >&6; }
   8503 if test ${ac_cv_prog_RANLIB+y}
   8504 then :
   8505   printf %s "(cached) " >&6
   8506 else case e in #(
   8507   e) if test -n "$RANLIB"; then
   8508   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   8509 else
   8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8511 for as_dir in $PATH
   8512 do
   8513   IFS=$as_save_IFS
   8514   case $as_dir in #(((
   8515     '') as_dir=./ ;;
   8516     */) ;;
   8517     *) as_dir=$as_dir/ ;;
   8518   esac
   8519     for ac_exec_ext in '' $ac_executable_extensions; do
   8520   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8521     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   8522     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8523     break 2
   8524   fi
   8525 done
   8526   done
   8527 IFS=$as_save_IFS
   8528 
   8529 fi ;;
   8530 esac
   8531 fi
   8532 RANLIB=$ac_cv_prog_RANLIB
   8533 if test -n "$RANLIB"; then
   8534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   8535 printf "%s\n" "$RANLIB" >&6; }
   8536 else
   8537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8538 printf "%s\n" "no" >&6; }
   8539 fi
   8540 
   8541 
   8542 fi
   8543 if test -z "$ac_cv_prog_RANLIB"; then
   8544   ac_ct_RANLIB=$RANLIB
   8545   # Extract the first word of "ranlib", so it can be a program name with args.
   8546 set dummy ranlib; ac_word=$2
   8547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8548 printf %s "checking for $ac_word... " >&6; }
   8549 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   8550 then :
   8551   printf %s "(cached) " >&6
   8552 else case e in #(
   8553   e) if test -n "$ac_ct_RANLIB"; then
   8554   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   8555 else
   8556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8557 for as_dir in $PATH
   8558 do
   8559   IFS=$as_save_IFS
   8560   case $as_dir in #(((
   8561     '') as_dir=./ ;;
   8562     */) ;;
   8563     *) as_dir=$as_dir/ ;;
   8564   esac
   8565     for ac_exec_ext in '' $ac_executable_extensions; do
   8566   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8567     ac_cv_prog_ac_ct_RANLIB="ranlib"
   8568     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8569     break 2
   8570   fi
   8571 done
   8572   done
   8573 IFS=$as_save_IFS
   8574 
   8575 fi ;;
   8576 esac
   8577 fi
   8578 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   8579 if test -n "$ac_ct_RANLIB"; then
   8580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   8581 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   8582 else
   8583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8584 printf "%s\n" "no" >&6; }
   8585 fi
   8586 
   8587   if test "x$ac_ct_RANLIB" = x; then
   8588     RANLIB=":"
   8589   else
   8590     case $cross_compiling:$ac_tool_warned in
   8591 yes:)
   8592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8593 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8594 ac_tool_warned=yes ;;
   8595 esac
   8596     RANLIB=$ac_ct_RANLIB
   8597   fi
   8598 else
   8599   RANLIB="$ac_cv_prog_RANLIB"
   8600 fi
   8601 
   8602 if test -n "$ac_tool_prefix"; then
   8603   for ac_prog in ar
   8604   do
   8605     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   8606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   8607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8608 printf %s "checking for $ac_word... " >&6; }
   8609 if test ${ac_cv_prog_AR+y}
   8610 then :
   8611   printf %s "(cached) " >&6
   8612 else case e in #(
   8613   e) if test -n "$AR"; then
   8614   ac_cv_prog_AR="$AR" # Let the user override the test.
   8615 else
   8616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8617 for as_dir in $PATH
   8618 do
   8619   IFS=$as_save_IFS
   8620   case $as_dir in #(((
   8621     '') as_dir=./ ;;
   8622     */) ;;
   8623     *) as_dir=$as_dir/ ;;
   8624   esac
   8625     for ac_exec_ext in '' $ac_executable_extensions; do
   8626   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8627     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   8628     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8629     break 2
   8630   fi
   8631 done
   8632   done
   8633 IFS=$as_save_IFS
   8634 
   8635 fi ;;
   8636 esac
   8637 fi
   8638 AR=$ac_cv_prog_AR
   8639 if test -n "$AR"; then
   8640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8641 printf "%s\n" "$AR" >&6; }
   8642 else
   8643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8644 printf "%s\n" "no" >&6; }
   8645 fi
   8646 
   8647 
   8648     test -n "$AR" && break
   8649   done
   8650 fi
   8651 if test -z "$AR"; then
   8652   ac_ct_AR=$AR
   8653   for ac_prog in ar
   8654 do
   8655   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8656 set dummy $ac_prog; ac_word=$2
   8657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8658 printf %s "checking for $ac_word... " >&6; }
   8659 if test ${ac_cv_prog_ac_ct_AR+y}
   8660 then :
   8661   printf %s "(cached) " >&6
   8662 else case e in #(
   8663   e) if test -n "$ac_ct_AR"; then
   8664   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   8665 else
   8666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8667 for as_dir in $PATH
   8668 do
   8669   IFS=$as_save_IFS
   8670   case $as_dir in #(((
   8671     '') as_dir=./ ;;
   8672     */) ;;
   8673     *) as_dir=$as_dir/ ;;
   8674   esac
   8675     for ac_exec_ext in '' $ac_executable_extensions; do
   8676   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8677     ac_cv_prog_ac_ct_AR="$ac_prog"
   8678     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8679     break 2
   8680   fi
   8681 done
   8682   done
   8683 IFS=$as_save_IFS
   8684 
   8685 fi ;;
   8686 esac
   8687 fi
   8688 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   8689 if test -n "$ac_ct_AR"; then
   8690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   8691 printf "%s\n" "$ac_ct_AR" >&6; }
   8692 else
   8693   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8694 printf "%s\n" "no" >&6; }
   8695 fi
   8696 
   8697 
   8698   test -n "$ac_ct_AR" && break
   8699 done
   8700 
   8701   if test "x$ac_ct_AR" = x; then
   8702     AR="false"
   8703   else
   8704     case $cross_compiling:$ac_tool_warned in
   8705 yes:)
   8706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8707 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8708 ac_tool_warned=yes ;;
   8709 esac
   8710     AR=$ac_ct_AR
   8711   fi
   8712 fi
   8713 
   8714 : ${AR=ar}
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   8722 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   8723 # higher priority because that's what people were doing historically (setting
   8724 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   8725 # variable obsoleted/removed.
   8726 
   8727 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   8728 lt_ar_flags=$AR_FLAGS
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   8736 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   8744 printf %s "checking for archiver @FILE support... " >&6; }
   8745 if test ${lt_cv_ar_at_file+y}
   8746 then :
   8747   printf %s "(cached) " >&6
   8748 else case e in #(
   8749   e) lt_cv_ar_at_file=no
   8750    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8751 /* end confdefs.h.  */
   8752 
   8753 int
   8754 main (void)
   8755 {
   8756 
   8757   ;
   8758   return 0;
   8759 }
   8760 _ACEOF
   8761 if ac_fn_c_try_compile "$LINENO"
   8762 then :
   8763   echo conftest.$ac_objext > conftest.lst
   8764       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   8765       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   8766   (eval $lt_ar_try) 2>&5
   8767   ac_status=$?
   8768   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8769   test $ac_status = 0; }
   8770       if test 0 -eq "$ac_status"; then
   8771 	# Ensure the archiver fails upon bogus file names.
   8772 	rm -f conftest.$ac_objext libconftest.a
   8773 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   8774   (eval $lt_ar_try) 2>&5
   8775   ac_status=$?
   8776   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8777   test $ac_status = 0; }
   8778 	if test 0 -ne "$ac_status"; then
   8779           lt_cv_ar_at_file=@
   8780         fi
   8781       fi
   8782       rm -f conftest.* libconftest.a
   8783 
   8784 fi
   8785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8786    ;;
   8787 esac
   8788 fi
   8789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   8790 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   8791 
   8792 if test no = "$lt_cv_ar_at_file"; then
   8793   archiver_list_spec=
   8794 else
   8795   archiver_list_spec=$lt_cv_ar_at_file
   8796 fi
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 if test -n "$ac_tool_prefix"; then
   8805   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   8806 set dummy ${ac_tool_prefix}strip; ac_word=$2
   8807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8808 printf %s "checking for $ac_word... " >&6; }
   8809 if test ${ac_cv_prog_STRIP+y}
   8810 then :
   8811   printf %s "(cached) " >&6
   8812 else case e in #(
   8813   e) if test -n "$STRIP"; then
   8814   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   8815 else
   8816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8817 for as_dir in $PATH
   8818 do
   8819   IFS=$as_save_IFS
   8820   case $as_dir in #(((
   8821     '') as_dir=./ ;;
   8822     */) ;;
   8823     *) as_dir=$as_dir/ ;;
   8824   esac
   8825     for ac_exec_ext in '' $ac_executable_extensions; do
   8826   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8827     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   8828     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8829     break 2
   8830   fi
   8831 done
   8832   done
   8833 IFS=$as_save_IFS
   8834 
   8835 fi ;;
   8836 esac
   8837 fi
   8838 STRIP=$ac_cv_prog_STRIP
   8839 if test -n "$STRIP"; then
   8840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   8841 printf "%s\n" "$STRIP" >&6; }
   8842 else
   8843   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8844 printf "%s\n" "no" >&6; }
   8845 fi
   8846 
   8847 
   8848 fi
   8849 if test -z "$ac_cv_prog_STRIP"; then
   8850   ac_ct_STRIP=$STRIP
   8851   # Extract the first word of "strip", so it can be a program name with args.
   8852 set dummy strip; ac_word=$2
   8853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8854 printf %s "checking for $ac_word... " >&6; }
   8855 if test ${ac_cv_prog_ac_ct_STRIP+y}
   8856 then :
   8857   printf %s "(cached) " >&6
   8858 else case e in #(
   8859   e) if test -n "$ac_ct_STRIP"; then
   8860   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   8861 else
   8862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8863 for as_dir in $PATH
   8864 do
   8865   IFS=$as_save_IFS
   8866   case $as_dir in #(((
   8867     '') as_dir=./ ;;
   8868     */) ;;
   8869     *) as_dir=$as_dir/ ;;
   8870   esac
   8871     for ac_exec_ext in '' $ac_executable_extensions; do
   8872   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8873     ac_cv_prog_ac_ct_STRIP="strip"
   8874     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8875     break 2
   8876   fi
   8877 done
   8878   done
   8879 IFS=$as_save_IFS
   8880 
   8881 fi ;;
   8882 esac
   8883 fi
   8884 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   8885 if test -n "$ac_ct_STRIP"; then
   8886   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   8887 printf "%s\n" "$ac_ct_STRIP" >&6; }
   8888 else
   8889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8890 printf "%s\n" "no" >&6; }
   8891 fi
   8892 
   8893   if test "x$ac_ct_STRIP" = x; then
   8894     STRIP=":"
   8895   else
   8896     case $cross_compiling:$ac_tool_warned in
   8897 yes:)
   8898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8899 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8900 ac_tool_warned=yes ;;
   8901 esac
   8902     STRIP=$ac_ct_STRIP
   8903   fi
   8904 else
   8905   STRIP="$ac_cv_prog_STRIP"
   8906 fi
   8907 
   8908 test -z "$STRIP" && STRIP=:
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 test -z "$RANLIB" && RANLIB=:
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 # Determine commands to create old-style static archives.
   8924 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   8925 old_postinstall_cmds='chmod 644 $oldlib'
   8926 old_postuninstall_cmds=
   8927 
   8928 if test -n "$RANLIB"; then
   8929   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   8930   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   8931 fi
   8932 
   8933 case $host_os in
   8934   darwin*)
   8935     lock_old_archive_extraction=yes ;;
   8936   *)
   8937     lock_old_archive_extraction=no ;;
   8938 esac
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 # If no C compiler was specified, use CC.
   8979 LTCC=${LTCC-"$CC"}
   8980 
   8981 # If no C compiler flags were specified, use CFLAGS.
   8982 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8983 
   8984 # Allow CC to be a program name with arguments.
   8985 compiler=$CC
   8986 
   8987 
   8988 # Check for command to grab the raw symbol name followed by C symbol from nm.
   8989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   8990 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   8991 if test ${lt_cv_sys_global_symbol_pipe+y}
   8992 then :
   8993   printf %s "(cached) " >&6
   8994 else case e in #(
   8995   e)
   8996 # These are sane defaults that work on at least a few old systems.
   8997 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   8998 
   8999 # Character class describing NM global symbol codes.
   9000 symcode='[BCDEGRST]'
   9001 
   9002 # Regexp to match symbols that can be accessed directly from C.
   9003 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   9004 
   9005 # Define system-specific variables.
   9006 case $host_os in
   9007 aix*)
   9008   symcode='[BCDT]'
   9009   ;;
   9010 cygwin* | mingw* | windows* | pw32* | cegcc*)
   9011   symcode='[ABCDGISTW]'
   9012   ;;
   9013 hpux*)
   9014   if test ia64 = "$host_cpu"; then
   9015     symcode='[ABCDEGRST]'
   9016   fi
   9017   ;;
   9018 irix* | nonstopux*)
   9019   symcode='[BCDEGRST]'
   9020   ;;
   9021 osf*)
   9022   symcode='[BCDEGQRST]'
   9023   ;;
   9024 solaris*)
   9025   symcode='[BCDRT]'
   9026   ;;
   9027 sco3.2v5*)
   9028   symcode='[DT]'
   9029   ;;
   9030 sysv4.2uw2*)
   9031   symcode='[DT]'
   9032   ;;
   9033 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   9034   symcode='[ABDT]'
   9035   ;;
   9036 sysv4)
   9037   symcode='[DFNSTU]'
   9038   ;;
   9039 esac
   9040 
   9041 # If we're using GNU nm, then use its standard symbol codes.
   9042 case `$NM -V 2>&1` in
   9043 *GNU* | *'with BFD'*)
   9044   symcode='[ABCDGIRSTW]' ;;
   9045 esac
   9046 
   9047 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   9048   # Gets list of data symbols to import.
   9049   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   9050   # Adjust the below global symbol transforms to fixup imported variables.
   9051   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   9052   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   9053   lt_c_name_lib_hook="\
   9054   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   9055   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   9056 else
   9057   # Disable hooks by default.
   9058   lt_cv_sys_global_symbol_to_import=
   9059   lt_cdecl_hook=
   9060   lt_c_name_hook=
   9061   lt_c_name_lib_hook=
   9062 fi
   9063 
   9064 # Transform an extracted symbol line into a proper C declaration.
   9065 # Some systems (esp. on ia64) link data and code symbols differently,
   9066 # so use this general approach.
   9067 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   9068 $lt_cdecl_hook\
   9069 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   9070 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   9071 
   9072 # Transform an extracted symbol line into symbol name and symbol address
   9073 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   9074 $lt_c_name_hook\
   9075 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   9076 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   9077 
   9078 # Transform an extracted symbol line into symbol name with lib prefix and
   9079 # symbol address.
   9080 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   9081 $lt_c_name_lib_hook\
   9082 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   9083 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   9084 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   9085 
   9086 # Handle CRLF in mingw tool chain
   9087 opt_cr=
   9088 case $build_os in
   9089 mingw* | windows*)
   9090   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   9091   ;;
   9092 esac
   9093 
   9094 # Try without a prefix underscore, then with it.
   9095 for ac_symprfx in "" "_"; do
   9096 
   9097   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   9098   symxfrm="\\1 $ac_symprfx\\2 \\2"
   9099 
   9100   # Write the raw and C identifiers.
   9101   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   9102     # Fake it for dumpbin and say T for any non-static function,
   9103     # D for any global variable and I for any imported variable.
   9104     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   9105     # which start with @ or ?.
   9106     lt_cv_sys_global_symbol_pipe="$AWK '"\
   9107 "     {last_section=section; section=\$ 3};"\
   9108 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   9109 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   9110 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   9111 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   9112 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   9113 "     \$ 0!~/External *\|/{next};"\
   9114 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   9115 "     {if(hide[section]) next};"\
   9116 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   9117 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   9118 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   9119 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   9120 "     ' prfx=^$ac_symprfx"
   9121   else
   9122     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   9123   fi
   9124   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   9125 
   9126   # Check to see that the pipe works correctly.
   9127   pipe_works=no
   9128 
   9129   rm -f conftest*
   9130   cat > conftest.$ac_ext <<_LT_EOF
   9131 #ifdef __cplusplus
   9132 extern "C" {
   9133 #endif
   9134 char nm_test_var;
   9135 void nm_test_func(void);
   9136 void nm_test_func(void){}
   9137 #ifdef __cplusplus
   9138 }
   9139 #endif
   9140 int main(void){nm_test_var='a';nm_test_func();return(0);}
   9141 _LT_EOF
   9142 
   9143   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9144   (eval $ac_compile) 2>&5
   9145   ac_status=$?
   9146   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9147   test $ac_status = 0; }; then
   9148     # Now try to grab the symbols.
   9149     nlist=conftest.nm
   9150     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   9151     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   9152       # Try sorting and uniquifying the output.
   9153       if sort "$nlist" | uniq > "$nlist"T; then
   9154 	mv -f "$nlist"T "$nlist"
   9155       else
   9156 	rm -f "$nlist"T
   9157       fi
   9158 
   9159       # Make sure that we snagged all the symbols we need.
   9160       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   9161 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   9162 	  cat <<_LT_EOF > conftest.$ac_ext
   9163 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   9164 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   9165 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   9166    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   9167 # define LT_DLSYM_CONST
   9168 #elif defined __osf__
   9169 /* This system does not cope well with relocations in const data.  */
   9170 # define LT_DLSYM_CONST
   9171 #else
   9172 # define LT_DLSYM_CONST const
   9173 #endif
   9174 
   9175 #ifdef __cplusplus
   9176 extern "C" {
   9177 #endif
   9178 
   9179 _LT_EOF
   9180 	  # Now generate the symbol file.
   9181 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   9182 
   9183 	  cat <<_LT_EOF >> conftest.$ac_ext
   9184 
   9185 /* The mapping between symbol names and symbols.  */
   9186 LT_DLSYM_CONST struct {
   9187   const char *name;
   9188   void       *address;
   9189 }
   9190 lt__PROGRAM__LTX_preloaded_symbols[] =
   9191 {
   9192   { "@PROGRAM@", (void *) 0 },
   9193 _LT_EOF
   9194 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   9195 	  cat <<\_LT_EOF >> conftest.$ac_ext
   9196   {0, (void *) 0}
   9197 };
   9198 
   9199 /* This works around a problem in FreeBSD linker */
   9200 #ifdef FREEBSD_WORKAROUND
   9201 static const void *lt_preloaded_setup() {
   9202   return lt__PROGRAM__LTX_preloaded_symbols;
   9203 }
   9204 #endif
   9205 
   9206 #ifdef __cplusplus
   9207 }
   9208 #endif
   9209 _LT_EOF
   9210 	  # Now try linking the two files.
   9211 	  mv conftest.$ac_objext conftstm.$ac_objext
   9212 	  lt_globsym_save_LIBS=$LIBS
   9213 	  lt_globsym_save_CFLAGS=$CFLAGS
   9214 	  LIBS=conftstm.$ac_objext
   9215 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   9216 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   9217   (eval $ac_link) 2>&5
   9218   ac_status=$?
   9219   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9220   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   9221 	    pipe_works=yes
   9222 	  fi
   9223 	  LIBS=$lt_globsym_save_LIBS
   9224 	  CFLAGS=$lt_globsym_save_CFLAGS
   9225 	else
   9226 	  echo "cannot find nm_test_func in $nlist" >&5
   9227 	fi
   9228       else
   9229 	echo "cannot find nm_test_var in $nlist" >&5
   9230       fi
   9231     else
   9232       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   9233     fi
   9234   else
   9235     echo "$progname: failed program was:" >&5
   9236     cat conftest.$ac_ext >&5
   9237   fi
   9238   rm -rf conftest* conftst*
   9239 
   9240   # Do not use the global_symbol_pipe unless it works.
   9241   if test yes = "$pipe_works"; then
   9242     break
   9243   else
   9244     lt_cv_sys_global_symbol_pipe=
   9245   fi
   9246 done
   9247  ;;
   9248 esac
   9249 fi
   9250 
   9251 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   9252   lt_cv_sys_global_symbol_to_cdecl=
   9253 fi
   9254 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   9255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   9256 printf "%s\n" "failed" >&6; }
   9257 else
   9258   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   9259 printf "%s\n" "ok" >&6; }
   9260 fi
   9261 
   9262 # Response file support.
   9263 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   9264   nm_file_list_spec='@'
   9265 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   9266   nm_file_list_spec='@'
   9267 fi
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   9306 printf %s "checking for sysroot... " >&6; }
   9307 
   9308 # Check whether --with-sysroot was given.
   9309 if test ${with_sysroot+y}
   9310 then :
   9311   withval=$with_sysroot;
   9312 else case e in #(
   9313   e) with_sysroot=no ;;
   9314 esac
   9315 fi
   9316 
   9317 
   9318 lt_sysroot=
   9319 case $with_sysroot in #(
   9320  yes)
   9321    if test yes = "$GCC"; then
   9322      # Trim trailing / since we'll always append absolute paths and we want
   9323      # to avoid //, if only for less confusing output for the user.
   9324      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   9325    fi
   9326    ;; #(
   9327  /*)
   9328    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   9329    ;; #(
   9330  no|'')
   9331    ;; #(
   9332  *)
   9333    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   9334 printf "%s\n" "$with_sysroot" >&6; }
   9335    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   9336    ;;
   9337 esac
   9338 
   9339  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   9340 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   9347 printf %s "checking for a working dd... " >&6; }
   9348 if test ${ac_cv_path_lt_DD+y}
   9349 then :
   9350   printf %s "(cached) " >&6
   9351 else case e in #(
   9352   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   9353 cat conftest.i conftest.i >conftest2.i
   9354 : ${lt_DD:=$DD}
   9355 if test -z "$lt_DD"; then
   9356   ac_path_lt_DD_found=false
   9357   # Loop through the user's path and test for each of PROGNAME-LIST
   9358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9359 for as_dir in $PATH
   9360 do
   9361   IFS=$as_save_IFS
   9362   case $as_dir in #(((
   9363     '') as_dir=./ ;;
   9364     */) ;;
   9365     *) as_dir=$as_dir/ ;;
   9366   esac
   9367     for ac_prog in dd
   9368    do
   9369     for ac_exec_ext in '' $ac_executable_extensions; do
   9370       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   9371       as_fn_executable_p "$ac_path_lt_DD" || continue
   9372 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   9373   cmp -s conftest.i conftest.out \
   9374   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   9375 fi
   9376       $ac_path_lt_DD_found && break 3
   9377     done
   9378   done
   9379   done
   9380 IFS=$as_save_IFS
   9381   if test -z "$ac_cv_path_lt_DD"; then
   9382     :
   9383   fi
   9384 else
   9385   ac_cv_path_lt_DD=$lt_DD
   9386 fi
   9387 
   9388 rm -f conftest.i conftest2.i conftest.out ;;
   9389 esac
   9390 fi
   9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   9392 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   9393 
   9394 
   9395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   9396 printf %s "checking how to truncate binary pipes... " >&6; }
   9397 if test ${lt_cv_truncate_bin+y}
   9398 then :
   9399   printf %s "(cached) " >&6
   9400 else case e in #(
   9401   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   9402 cat conftest.i conftest.i >conftest2.i
   9403 lt_cv_truncate_bin=
   9404 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   9405   cmp -s conftest.i conftest.out \
   9406   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   9407 fi
   9408 rm -f conftest.i conftest2.i conftest.out
   9409 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   9410 esac
   9411 fi
   9412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   9413 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   9422 func_cc_basename ()
   9423 {
   9424     for cc_temp in $*""; do
   9425       case $cc_temp in
   9426         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   9427         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   9428         \-*) ;;
   9429         *) break;;
   9430       esac
   9431     done
   9432     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   9433 }
   9434 
   9435 # Check whether --enable-libtool-lock was given.
   9436 if test ${enable_libtool_lock+y}
   9437 then :
   9438   enableval=$enable_libtool_lock;
   9439 fi
   9440 
   9441 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   9442 
   9443 # Some flags need to be propagated to the compiler or linker for good
   9444 # libtool support.
   9445 case $host in
   9446 ia64-*-hpux*)
   9447   # Find out what ABI is being produced by ac_compile, and set mode
   9448   # options accordingly.
   9449   echo 'int i;' > conftest.$ac_ext
   9450   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9451   (eval $ac_compile) 2>&5
   9452   ac_status=$?
   9453   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9454   test $ac_status = 0; }; then
   9455     case `$FILECMD conftest.$ac_objext` in
   9456       *ELF-32*)
   9457 	HPUX_IA64_MODE=32
   9458 	;;
   9459       *ELF-64*)
   9460 	HPUX_IA64_MODE=64
   9461 	;;
   9462     esac
   9463   fi
   9464   rm -rf conftest*
   9465   ;;
   9466 *-*-irix6*)
   9467   # Find out what ABI is being produced by ac_compile, and set linker
   9468   # options accordingly.
   9469   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   9470   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9471   (eval $ac_compile) 2>&5
   9472   ac_status=$?
   9473   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9474   test $ac_status = 0; }; then
   9475     if test yes = "$lt_cv_prog_gnu_ld"; then
   9476       case `$FILECMD conftest.$ac_objext` in
   9477 	*32-bit*)
   9478 	  LD="${LD-ld} -melf32bsmip"
   9479 	  ;;
   9480 	*N32*)
   9481 	  LD="${LD-ld} -melf32bmipn32"
   9482 	  ;;
   9483 	*64-bit*)
   9484 	  LD="${LD-ld} -melf64bmip"
   9485 	;;
   9486       esac
   9487     else
   9488       case `$FILECMD conftest.$ac_objext` in
   9489 	*32-bit*)
   9490 	  LD="${LD-ld} -32"
   9491 	  ;;
   9492 	*N32*)
   9493 	  LD="${LD-ld} -n32"
   9494 	  ;;
   9495 	*64-bit*)
   9496 	  LD="${LD-ld} -64"
   9497 	  ;;
   9498       esac
   9499     fi
   9500   fi
   9501   rm -rf conftest*
   9502   ;;
   9503 
   9504 mips64*-*linux*)
   9505   # Find out what ABI is being produced by ac_compile, and set linker
   9506   # options accordingly.
   9507   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   9508   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9509   (eval $ac_compile) 2>&5
   9510   ac_status=$?
   9511   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9512   test $ac_status = 0; }; then
   9513     emul=elf
   9514     case `$FILECMD conftest.$ac_objext` in
   9515       *32-bit*)
   9516 	emul="${emul}32"
   9517 	;;
   9518       *64-bit*)
   9519 	emul="${emul}64"
   9520 	;;
   9521     esac
   9522     case `$FILECMD conftest.$ac_objext` in
   9523       *MSB*)
   9524 	emul="${emul}btsmip"
   9525 	;;
   9526       *LSB*)
   9527 	emul="${emul}ltsmip"
   9528 	;;
   9529     esac
   9530     case `$FILECMD conftest.$ac_objext` in
   9531       *N32*)
   9532 	emul="${emul}n32"
   9533 	;;
   9534     esac
   9535     LD="${LD-ld} -m $emul"
   9536   fi
   9537   rm -rf conftest*
   9538   ;;
   9539 
   9540 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   9541 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   9542   # Find out what ABI is being produced by ac_compile, and set linker
   9543   # options accordingly.  Note that the listed cases only cover the
   9544   # situations where additional linker options are needed (such as when
   9545   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   9546   # vice versa); the common cases where no linker options are needed do
   9547   # not appear in the list.
   9548   echo 'int i;' > conftest.$ac_ext
   9549   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9550   (eval $ac_compile) 2>&5
   9551   ac_status=$?
   9552   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9553   test $ac_status = 0; }; then
   9554     case `$FILECMD conftest.o` in
   9555       *32-bit*)
   9556 	case $host in
   9557 	  x86_64-*kfreebsd*-gnu)
   9558 	    LD="${LD-ld} -m elf_i386_fbsd"
   9559 	    ;;
   9560 	  x86_64-*linux*|x86_64-gnu*)
   9561 	    case `$FILECMD conftest.o` in
   9562 	      *x86-64*)
   9563 		LD="${LD-ld} -m elf32_x86_64"
   9564 		;;
   9565 	      *)
   9566 		LD="${LD-ld} -m elf_i386"
   9567 		;;
   9568 	    esac
   9569 	    ;;
   9570 	  powerpc64le-*linux*)
   9571 	    LD="${LD-ld} -m elf32lppclinux"
   9572 	    ;;
   9573 	  powerpc64-*linux*)
   9574 	    LD="${LD-ld} -m elf32ppclinux"
   9575 	    ;;
   9576 	  s390x-*linux*)
   9577 	    LD="${LD-ld} -m elf_s390"
   9578 	    ;;
   9579 	  sparc64-*linux*)
   9580 	    LD="${LD-ld} -m elf32_sparc"
   9581 	    ;;
   9582 	esac
   9583 	;;
   9584       *64-bit*)
   9585 	case $host in
   9586 	  x86_64-*kfreebsd*-gnu)
   9587 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   9588 	    ;;
   9589 	  x86_64-*linux*|x86_64-gnu*)
   9590 	    LD="${LD-ld} -m elf_x86_64"
   9591 	    ;;
   9592 	  powerpcle-*linux*)
   9593 	    LD="${LD-ld} -m elf64lppc"
   9594 	    ;;
   9595 	  powerpc-*linux*)
   9596 	    LD="${LD-ld} -m elf64ppc"
   9597 	    ;;
   9598 	  s390*-*linux*|s390*-*tpf*)
   9599 	    LD="${LD-ld} -m elf64_s390"
   9600 	    ;;
   9601 	  sparc*-*linux*)
   9602 	    LD="${LD-ld} -m elf64_sparc"
   9603 	    ;;
   9604 	esac
   9605 	;;
   9606     esac
   9607   fi
   9608   rm -rf conftest*
   9609   ;;
   9610 
   9611 *-*-sco3.2v5*)
   9612   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   9613   SAVE_CFLAGS=$CFLAGS
   9614   CFLAGS="$CFLAGS -belf"
   9615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   9616 printf %s "checking whether the C compiler needs -belf... " >&6; }
   9617 if test ${lt_cv_cc_needs_belf+y}
   9618 then :
   9619   printf %s "(cached) " >&6
   9620 else case e in #(
   9621   e) ac_ext=c
   9622 ac_cpp='$CPP $CPPFLAGS'
   9623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9626 
   9627      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9628 /* end confdefs.h.  */
   9629 
   9630 int
   9631 main (void)
   9632 {
   9633 
   9634   ;
   9635   return 0;
   9636 }
   9637 _ACEOF
   9638 if ac_fn_c_try_link "$LINENO"
   9639 then :
   9640   lt_cv_cc_needs_belf=yes
   9641 else case e in #(
   9642   e) lt_cv_cc_needs_belf=no ;;
   9643 esac
   9644 fi
   9645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9646     conftest$ac_exeext conftest.$ac_ext
   9647      ac_ext=c
   9648 ac_cpp='$CPP $CPPFLAGS'
   9649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9652  ;;
   9653 esac
   9654 fi
   9655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   9656 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   9657   if test yes != "$lt_cv_cc_needs_belf"; then
   9658     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   9659     CFLAGS=$SAVE_CFLAGS
   9660   fi
   9661   ;;
   9662 *-*solaris*)
   9663   # Find out what ABI is being produced by ac_compile, and set linker
   9664   # options accordingly.
   9665   echo 'int i;' > conftest.$ac_ext
   9666   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9667   (eval $ac_compile) 2>&5
   9668   ac_status=$?
   9669   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9670   test $ac_status = 0; }; then
   9671     case `$FILECMD conftest.o` in
   9672     *64-bit*)
   9673       case $lt_cv_prog_gnu_ld in
   9674       yes*)
   9675         case $host in
   9676         i?86-*-solaris*|x86_64-*-solaris*)
   9677           LD="${LD-ld} -m elf_x86_64"
   9678           ;;
   9679         sparc*-*-solaris*)
   9680           LD="${LD-ld} -m elf64_sparc"
   9681           ;;
   9682         esac
   9683         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   9684         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   9685           LD=${LD-ld}_sol2
   9686         fi
   9687         ;;
   9688       *)
   9689 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   9690 	  LD="${LD-ld} -64"
   9691 	fi
   9692 	;;
   9693       esac
   9694       ;;
   9695     esac
   9696   fi
   9697   rm -rf conftest*
   9698   ;;
   9699 esac
   9700 
   9701 need_locks=$enable_libtool_lock
   9702 
   9703 if test -n "$ac_tool_prefix"; then
   9704   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   9705 set dummy ${ac_tool_prefix}mt; ac_word=$2
   9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9707 printf %s "checking for $ac_word... " >&6; }
   9708 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   9709 then :
   9710   printf %s "(cached) " >&6
   9711 else case e in #(
   9712   e) if test -n "$MANIFEST_TOOL"; then
   9713   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   9714 else
   9715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9716 for as_dir in $PATH
   9717 do
   9718   IFS=$as_save_IFS
   9719   case $as_dir in #(((
   9720     '') as_dir=./ ;;
   9721     */) ;;
   9722     *) as_dir=$as_dir/ ;;
   9723   esac
   9724     for ac_exec_ext in '' $ac_executable_extensions; do
   9725   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9726     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   9727     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9728     break 2
   9729   fi
   9730 done
   9731   done
   9732 IFS=$as_save_IFS
   9733 
   9734 fi ;;
   9735 esac
   9736 fi
   9737 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   9738 if test -n "$MANIFEST_TOOL"; then
   9739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   9740 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   9741 else
   9742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9743 printf "%s\n" "no" >&6; }
   9744 fi
   9745 
   9746 
   9747 fi
   9748 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   9749   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   9750   # Extract the first word of "mt", so it can be a program name with args.
   9751 set dummy mt; ac_word=$2
   9752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9753 printf %s "checking for $ac_word... " >&6; }
   9754 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   9755 then :
   9756   printf %s "(cached) " >&6
   9757 else case e in #(
   9758   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   9759   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   9760 else
   9761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9762 for as_dir in $PATH
   9763 do
   9764   IFS=$as_save_IFS
   9765   case $as_dir in #(((
   9766     '') as_dir=./ ;;
   9767     */) ;;
   9768     *) as_dir=$as_dir/ ;;
   9769   esac
   9770     for ac_exec_ext in '' $ac_executable_extensions; do
   9771   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9772     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   9773     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9774     break 2
   9775   fi
   9776 done
   9777   done
   9778 IFS=$as_save_IFS
   9779 
   9780 fi ;;
   9781 esac
   9782 fi
   9783 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   9784 if test -n "$ac_ct_MANIFEST_TOOL"; then
   9785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   9786 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   9787 else
   9788   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9789 printf "%s\n" "no" >&6; }
   9790 fi
   9791 
   9792   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   9793     MANIFEST_TOOL=":"
   9794   else
   9795     case $cross_compiling:$ac_tool_warned in
   9796 yes:)
   9797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9798 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9799 ac_tool_warned=yes ;;
   9800 esac
   9801     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   9802   fi
   9803 else
   9804   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   9805 fi
   9806 
   9807 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   9808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   9809 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   9810 if test ${lt_cv_path_manifest_tool+y}
   9811 then :
   9812   printf %s "(cached) " >&6
   9813 else case e in #(
   9814   e) lt_cv_path_manifest_tool=no
   9815   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   9816   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   9817   cat conftest.err >&5
   9818   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   9819     lt_cv_path_manifest_tool=yes
   9820   fi
   9821   rm -f conftest* ;;
   9822 esac
   9823 fi
   9824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   9825 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   9826 if test yes != "$lt_cv_path_manifest_tool"; then
   9827   MANIFEST_TOOL=:
   9828 fi
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835   case $host_os in
   9836     rhapsody* | darwin*)
   9837     if test -n "$ac_tool_prefix"; then
   9838   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   9839 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   9840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9841 printf %s "checking for $ac_word... " >&6; }
   9842 if test ${ac_cv_prog_DSYMUTIL+y}
   9843 then :
   9844   printf %s "(cached) " >&6
   9845 else case e in #(
   9846   e) if test -n "$DSYMUTIL"; then
   9847   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   9848 else
   9849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9850 for as_dir in $PATH
   9851 do
   9852   IFS=$as_save_IFS
   9853   case $as_dir in #(((
   9854     '') as_dir=./ ;;
   9855     */) ;;
   9856     *) as_dir=$as_dir/ ;;
   9857   esac
   9858     for ac_exec_ext in '' $ac_executable_extensions; do
   9859   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9860     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   9861     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9862     break 2
   9863   fi
   9864 done
   9865   done
   9866 IFS=$as_save_IFS
   9867 
   9868 fi ;;
   9869 esac
   9870 fi
   9871 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   9872 if test -n "$DSYMUTIL"; then
   9873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   9874 printf "%s\n" "$DSYMUTIL" >&6; }
   9875 else
   9876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9877 printf "%s\n" "no" >&6; }
   9878 fi
   9879 
   9880 
   9881 fi
   9882 if test -z "$ac_cv_prog_DSYMUTIL"; then
   9883   ac_ct_DSYMUTIL=$DSYMUTIL
   9884   # Extract the first word of "dsymutil", so it can be a program name with args.
   9885 set dummy dsymutil; ac_word=$2
   9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9887 printf %s "checking for $ac_word... " >&6; }
   9888 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   9889 then :
   9890   printf %s "(cached) " >&6
   9891 else case e in #(
   9892   e) if test -n "$ac_ct_DSYMUTIL"; then
   9893   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   9894 else
   9895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9896 for as_dir in $PATH
   9897 do
   9898   IFS=$as_save_IFS
   9899   case $as_dir in #(((
   9900     '') as_dir=./ ;;
   9901     */) ;;
   9902     *) as_dir=$as_dir/ ;;
   9903   esac
   9904     for ac_exec_ext in '' $ac_executable_extensions; do
   9905   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9906     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   9907     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9908     break 2
   9909   fi
   9910 done
   9911   done
   9912 IFS=$as_save_IFS
   9913 
   9914 fi ;;
   9915 esac
   9916 fi
   9917 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   9918 if test -n "$ac_ct_DSYMUTIL"; then
   9919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   9920 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   9921 else
   9922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9923 printf "%s\n" "no" >&6; }
   9924 fi
   9925 
   9926   if test "x$ac_ct_DSYMUTIL" = x; then
   9927     DSYMUTIL=":"
   9928   else
   9929     case $cross_compiling:$ac_tool_warned in
   9930 yes:)
   9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9932 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9933 ac_tool_warned=yes ;;
   9934 esac
   9935     DSYMUTIL=$ac_ct_DSYMUTIL
   9936   fi
   9937 else
   9938   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   9939 fi
   9940 
   9941     if test -n "$ac_tool_prefix"; then
   9942   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   9943 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9945 printf %s "checking for $ac_word... " >&6; }
   9946 if test ${ac_cv_prog_NMEDIT+y}
   9947 then :
   9948   printf %s "(cached) " >&6
   9949 else case e in #(
   9950   e) if test -n "$NMEDIT"; then
   9951   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   9952 else
   9953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9954 for as_dir in $PATH
   9955 do
   9956   IFS=$as_save_IFS
   9957   case $as_dir in #(((
   9958     '') as_dir=./ ;;
   9959     */) ;;
   9960     *) as_dir=$as_dir/ ;;
   9961   esac
   9962     for ac_exec_ext in '' $ac_executable_extensions; do
   9963   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9964     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   9965     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9966     break 2
   9967   fi
   9968 done
   9969   done
   9970 IFS=$as_save_IFS
   9971 
   9972 fi ;;
   9973 esac
   9974 fi
   9975 NMEDIT=$ac_cv_prog_NMEDIT
   9976 if test -n "$NMEDIT"; then
   9977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   9978 printf "%s\n" "$NMEDIT" >&6; }
   9979 else
   9980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9981 printf "%s\n" "no" >&6; }
   9982 fi
   9983 
   9984 
   9985 fi
   9986 if test -z "$ac_cv_prog_NMEDIT"; then
   9987   ac_ct_NMEDIT=$NMEDIT
   9988   # Extract the first word of "nmedit", so it can be a program name with args.
   9989 set dummy nmedit; ac_word=$2
   9990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9991 printf %s "checking for $ac_word... " >&6; }
   9992 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   9993 then :
   9994   printf %s "(cached) " >&6
   9995 else case e in #(
   9996   e) if test -n "$ac_ct_NMEDIT"; then
   9997   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   9998 else
   9999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10000 for as_dir in $PATH
   10001 do
   10002   IFS=$as_save_IFS
   10003   case $as_dir in #(((
   10004     '') as_dir=./ ;;
   10005     */) ;;
   10006     *) as_dir=$as_dir/ ;;
   10007   esac
   10008     for ac_exec_ext in '' $ac_executable_extensions; do
   10009   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10010     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   10011     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10012     break 2
   10013   fi
   10014 done
   10015   done
   10016 IFS=$as_save_IFS
   10017 
   10018 fi ;;
   10019 esac
   10020 fi
   10021 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   10022 if test -n "$ac_ct_NMEDIT"; then
   10023   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   10024 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   10025 else
   10026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10027 printf "%s\n" "no" >&6; }
   10028 fi
   10029 
   10030   if test "x$ac_ct_NMEDIT" = x; then
   10031     NMEDIT=":"
   10032   else
   10033     case $cross_compiling:$ac_tool_warned in
   10034 yes:)
   10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10036 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10037 ac_tool_warned=yes ;;
   10038 esac
   10039     NMEDIT=$ac_ct_NMEDIT
   10040   fi
   10041 else
   10042   NMEDIT="$ac_cv_prog_NMEDIT"
   10043 fi
   10044 
   10045     if test -n "$ac_tool_prefix"; then
   10046   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   10047 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   10048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10049 printf %s "checking for $ac_word... " >&6; }
   10050 if test ${ac_cv_prog_LIPO+y}
   10051 then :
   10052   printf %s "(cached) " >&6
   10053 else case e in #(
   10054   e) if test -n "$LIPO"; then
   10055   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   10056 else
   10057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10058 for as_dir in $PATH
   10059 do
   10060   IFS=$as_save_IFS
   10061   case $as_dir in #(((
   10062     '') as_dir=./ ;;
   10063     */) ;;
   10064     *) as_dir=$as_dir/ ;;
   10065   esac
   10066     for ac_exec_ext in '' $ac_executable_extensions; do
   10067   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10068     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   10069     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10070     break 2
   10071   fi
   10072 done
   10073   done
   10074 IFS=$as_save_IFS
   10075 
   10076 fi ;;
   10077 esac
   10078 fi
   10079 LIPO=$ac_cv_prog_LIPO
   10080 if test -n "$LIPO"; then
   10081   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   10082 printf "%s\n" "$LIPO" >&6; }
   10083 else
   10084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10085 printf "%s\n" "no" >&6; }
   10086 fi
   10087 
   10088 
   10089 fi
   10090 if test -z "$ac_cv_prog_LIPO"; then
   10091   ac_ct_LIPO=$LIPO
   10092   # Extract the first word of "lipo", so it can be a program name with args.
   10093 set dummy lipo; ac_word=$2
   10094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10095 printf %s "checking for $ac_word... " >&6; }
   10096 if test ${ac_cv_prog_ac_ct_LIPO+y}
   10097 then :
   10098   printf %s "(cached) " >&6
   10099 else case e in #(
   10100   e) if test -n "$ac_ct_LIPO"; then
   10101   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   10102 else
   10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10104 for as_dir in $PATH
   10105 do
   10106   IFS=$as_save_IFS
   10107   case $as_dir in #(((
   10108     '') as_dir=./ ;;
   10109     */) ;;
   10110     *) as_dir=$as_dir/ ;;
   10111   esac
   10112     for ac_exec_ext in '' $ac_executable_extensions; do
   10113   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10114     ac_cv_prog_ac_ct_LIPO="lipo"
   10115     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10116     break 2
   10117   fi
   10118 done
   10119   done
   10120 IFS=$as_save_IFS
   10121 
   10122 fi ;;
   10123 esac
   10124 fi
   10125 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   10126 if test -n "$ac_ct_LIPO"; then
   10127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   10128 printf "%s\n" "$ac_ct_LIPO" >&6; }
   10129 else
   10130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10131 printf "%s\n" "no" >&6; }
   10132 fi
   10133 
   10134   if test "x$ac_ct_LIPO" = x; then
   10135     LIPO=":"
   10136   else
   10137     case $cross_compiling:$ac_tool_warned in
   10138 yes:)
   10139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10140 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10141 ac_tool_warned=yes ;;
   10142 esac
   10143     LIPO=$ac_ct_LIPO
   10144   fi
   10145 else
   10146   LIPO="$ac_cv_prog_LIPO"
   10147 fi
   10148 
   10149     if test -n "$ac_tool_prefix"; then
   10150   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   10151 set dummy ${ac_tool_prefix}otool; ac_word=$2
   10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10153 printf %s "checking for $ac_word... " >&6; }
   10154 if test ${ac_cv_prog_OTOOL+y}
   10155 then :
   10156   printf %s "(cached) " >&6
   10157 else case e in #(
   10158   e) if test -n "$OTOOL"; then
   10159   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   10160 else
   10161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10162 for as_dir in $PATH
   10163 do
   10164   IFS=$as_save_IFS
   10165   case $as_dir in #(((
   10166     '') as_dir=./ ;;
   10167     */) ;;
   10168     *) as_dir=$as_dir/ ;;
   10169   esac
   10170     for ac_exec_ext in '' $ac_executable_extensions; do
   10171   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10172     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   10173     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10174     break 2
   10175   fi
   10176 done
   10177   done
   10178 IFS=$as_save_IFS
   10179 
   10180 fi ;;
   10181 esac
   10182 fi
   10183 OTOOL=$ac_cv_prog_OTOOL
   10184 if test -n "$OTOOL"; then
   10185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   10186 printf "%s\n" "$OTOOL" >&6; }
   10187 else
   10188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10189 printf "%s\n" "no" >&6; }
   10190 fi
   10191 
   10192 
   10193 fi
   10194 if test -z "$ac_cv_prog_OTOOL"; then
   10195   ac_ct_OTOOL=$OTOOL
   10196   # Extract the first word of "otool", so it can be a program name with args.
   10197 set dummy otool; ac_word=$2
   10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10199 printf %s "checking for $ac_word... " >&6; }
   10200 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   10201 then :
   10202   printf %s "(cached) " >&6
   10203 else case e in #(
   10204   e) if test -n "$ac_ct_OTOOL"; then
   10205   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   10206 else
   10207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10208 for as_dir in $PATH
   10209 do
   10210   IFS=$as_save_IFS
   10211   case $as_dir in #(((
   10212     '') as_dir=./ ;;
   10213     */) ;;
   10214     *) as_dir=$as_dir/ ;;
   10215   esac
   10216     for ac_exec_ext in '' $ac_executable_extensions; do
   10217   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10218     ac_cv_prog_ac_ct_OTOOL="otool"
   10219     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10220     break 2
   10221   fi
   10222 done
   10223   done
   10224 IFS=$as_save_IFS
   10225 
   10226 fi ;;
   10227 esac
   10228 fi
   10229 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   10230 if test -n "$ac_ct_OTOOL"; then
   10231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   10232 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   10233 else
   10234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10235 printf "%s\n" "no" >&6; }
   10236 fi
   10237 
   10238   if test "x$ac_ct_OTOOL" = x; then
   10239     OTOOL=":"
   10240   else
   10241     case $cross_compiling:$ac_tool_warned in
   10242 yes:)
   10243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10244 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10245 ac_tool_warned=yes ;;
   10246 esac
   10247     OTOOL=$ac_ct_OTOOL
   10248   fi
   10249 else
   10250   OTOOL="$ac_cv_prog_OTOOL"
   10251 fi
   10252 
   10253     if test -n "$ac_tool_prefix"; then
   10254   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   10255 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10257 printf %s "checking for $ac_word... " >&6; }
   10258 if test ${ac_cv_prog_OTOOL64+y}
   10259 then :
   10260   printf %s "(cached) " >&6
   10261 else case e in #(
   10262   e) if test -n "$OTOOL64"; then
   10263   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   10264 else
   10265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10266 for as_dir in $PATH
   10267 do
   10268   IFS=$as_save_IFS
   10269   case $as_dir in #(((
   10270     '') as_dir=./ ;;
   10271     */) ;;
   10272     *) as_dir=$as_dir/ ;;
   10273   esac
   10274     for ac_exec_ext in '' $ac_executable_extensions; do
   10275   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10276     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   10277     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10278     break 2
   10279   fi
   10280 done
   10281   done
   10282 IFS=$as_save_IFS
   10283 
   10284 fi ;;
   10285 esac
   10286 fi
   10287 OTOOL64=$ac_cv_prog_OTOOL64
   10288 if test -n "$OTOOL64"; then
   10289   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   10290 printf "%s\n" "$OTOOL64" >&6; }
   10291 else
   10292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10293 printf "%s\n" "no" >&6; }
   10294 fi
   10295 
   10296 
   10297 fi
   10298 if test -z "$ac_cv_prog_OTOOL64"; then
   10299   ac_ct_OTOOL64=$OTOOL64
   10300   # Extract the first word of "otool64", so it can be a program name with args.
   10301 set dummy otool64; ac_word=$2
   10302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10303 printf %s "checking for $ac_word... " >&6; }
   10304 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   10305 then :
   10306   printf %s "(cached) " >&6
   10307 else case e in #(
   10308   e) if test -n "$ac_ct_OTOOL64"; then
   10309   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   10310 else
   10311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10312 for as_dir in $PATH
   10313 do
   10314   IFS=$as_save_IFS
   10315   case $as_dir in #(((
   10316     '') as_dir=./ ;;
   10317     */) ;;
   10318     *) as_dir=$as_dir/ ;;
   10319   esac
   10320     for ac_exec_ext in '' $ac_executable_extensions; do
   10321   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10322     ac_cv_prog_ac_ct_OTOOL64="otool64"
   10323     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10324     break 2
   10325   fi
   10326 done
   10327   done
   10328 IFS=$as_save_IFS
   10329 
   10330 fi ;;
   10331 esac
   10332 fi
   10333 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   10334 if test -n "$ac_ct_OTOOL64"; then
   10335   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   10336 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   10337 else
   10338   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10339 printf "%s\n" "no" >&6; }
   10340 fi
   10341 
   10342   if test "x$ac_ct_OTOOL64" = x; then
   10343     OTOOL64=":"
   10344   else
   10345     case $cross_compiling:$ac_tool_warned in
   10346 yes:)
   10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10348 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10349 ac_tool_warned=yes ;;
   10350 esac
   10351     OTOOL64=$ac_ct_OTOOL64
   10352   fi
   10353 else
   10354   OTOOL64="$ac_cv_prog_OTOOL64"
   10355 fi
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   10384 printf %s "checking for -single_module linker flag... " >&6; }
   10385 if test ${lt_cv_apple_cc_single_mod+y}
   10386 then :
   10387   printf %s "(cached) " >&6
   10388 else case e in #(
   10389   e) lt_cv_apple_cc_single_mod=no
   10390       if test -z "$LT_MULTI_MODULE"; then
   10391 	# By default we will add the -single_module flag. You can override
   10392 	# by either setting the environment variable LT_MULTI_MODULE
   10393 	# non-empty at configure time, or by adding -multi_module to the
   10394 	# link flags.
   10395 	rm -rf libconftest.dylib*
   10396 	echo "int foo(void){return 1;}" > conftest.c
   10397 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   10398 -dynamiclib -Wl,-single_module conftest.c" >&5
   10399 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   10400 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   10401         _lt_result=$?
   10402 	# If there is a non-empty error log, and "single_module"
   10403 	# appears in it, assume the flag caused a linker warning
   10404         if test -s conftest.err && $GREP single_module conftest.err; then
   10405 	  cat conftest.err >&5
   10406 	# Otherwise, if the output was created with a 0 exit code from
   10407 	# the compiler, it worked.
   10408 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   10409 	  lt_cv_apple_cc_single_mod=yes
   10410 	else
   10411 	  cat conftest.err >&5
   10412 	fi
   10413 	rm -rf libconftest.dylib*
   10414 	rm -f conftest.*
   10415       fi ;;
   10416 esac
   10417 fi
   10418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   10419 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   10420 
   10421     # Feature test to disable chained fixups since it is not
   10422     # compatible with '-undefined dynamic_lookup'
   10423     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   10424 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   10425 if test ${lt_cv_support_no_fixup_chains+y}
   10426 then :
   10427   printf %s "(cached) " >&6
   10428 else case e in #(
   10429   e)  save_LDFLAGS=$LDFLAGS
   10430         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   10431         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10432 /* end confdefs.h.  */
   10433 
   10434 int
   10435 main (void)
   10436 {
   10437 
   10438   ;
   10439   return 0;
   10440 }
   10441 _ACEOF
   10442 if ac_fn_c_try_link "$LINENO"
   10443 then :
   10444   lt_cv_support_no_fixup_chains=yes
   10445 else case e in #(
   10446   e) lt_cv_support_no_fixup_chains=no
   10447          ;;
   10448 esac
   10449 fi
   10450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10451     conftest$ac_exeext conftest.$ac_ext
   10452         LDFLAGS=$save_LDFLAGS
   10453 
   10454      ;;
   10455 esac
   10456 fi
   10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   10458 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   10459 
   10460     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   10461 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   10462 if test ${lt_cv_ld_exported_symbols_list+y}
   10463 then :
   10464   printf %s "(cached) " >&6
   10465 else case e in #(
   10466   e) lt_cv_ld_exported_symbols_list=no
   10467       save_LDFLAGS=$LDFLAGS
   10468       echo "_main" > conftest.sym
   10469       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   10470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10471 /* end confdefs.h.  */
   10472 
   10473 int
   10474 main (void)
   10475 {
   10476 
   10477   ;
   10478   return 0;
   10479 }
   10480 _ACEOF
   10481 if ac_fn_c_try_link "$LINENO"
   10482 then :
   10483   lt_cv_ld_exported_symbols_list=yes
   10484 else case e in #(
   10485   e) lt_cv_ld_exported_symbols_list=no ;;
   10486 esac
   10487 fi
   10488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10489     conftest$ac_exeext conftest.$ac_ext
   10490 	LDFLAGS=$save_LDFLAGS
   10491      ;;
   10492 esac
   10493 fi
   10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   10495 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   10496 
   10497     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   10498 printf %s "checking for -force_load linker flag... " >&6; }
   10499 if test ${lt_cv_ld_force_load+y}
   10500 then :
   10501   printf %s "(cached) " >&6
   10502 else case e in #(
   10503   e) lt_cv_ld_force_load=no
   10504       cat > conftest.c << _LT_EOF
   10505 int forced_loaded() { return 2;}
   10506 _LT_EOF
   10507       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   10508       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   10509       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   10510       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   10511       echo "$RANLIB libconftest.a" >&5
   10512       $RANLIB libconftest.a 2>&5
   10513       cat > conftest.c << _LT_EOF
   10514 int main(void) { return 0;}
   10515 _LT_EOF
   10516       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   10517       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   10518       _lt_result=$?
   10519       if test -s conftest.err && $GREP force_load conftest.err; then
   10520 	cat conftest.err >&5
   10521       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   10522 	lt_cv_ld_force_load=yes
   10523       else
   10524 	cat conftest.err >&5
   10525       fi
   10526         rm -f conftest.err libconftest.a conftest conftest.c
   10527         rm -rf conftest.dSYM
   10528      ;;
   10529 esac
   10530 fi
   10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   10532 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   10533     case $host_os in
   10534     rhapsody* | darwin1.[012])
   10535       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   10536     darwin1.*)
   10537       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   10538     darwin*)
   10539       case $MACOSX_DEPLOYMENT_TARGET,$host in
   10540         10.[012],*|,*powerpc*-darwin[5-8]*)
   10541           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   10542         *)
   10543           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   10544           if test yes = "$lt_cv_support_no_fixup_chains"; then
   10545             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   10546           fi
   10547         ;;
   10548       esac
   10549     ;;
   10550   esac
   10551     if test yes = "$lt_cv_apple_cc_single_mod"; then
   10552       _lt_dar_single_mod='$single_module'
   10553     fi
   10554     _lt_dar_needs_single_mod=no
   10555     case $host_os in
   10556     rhapsody* | darwin1.*)
   10557       _lt_dar_needs_single_mod=yes ;;
   10558     darwin*)
   10559       # When targeting Mac OS X 10.4 (darwin 8) or later,
   10560       # -single_module is the default and -multi_module is unsupported.
   10561       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   10562       # target any OS version that needs -single_module.
   10563       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   10564       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   10565         _lt_dar_needs_single_mod=yes ;;
   10566       esac
   10567     ;;
   10568     esac
   10569     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   10570       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   10571     else
   10572       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   10573     fi
   10574     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   10575       _lt_dsymutil='~$DSYMUTIL $lib || :'
   10576     else
   10577       _lt_dsymutil=
   10578     fi
   10579     ;;
   10580   esac
   10581 
   10582 # func_munge_path_list VARIABLE PATH
   10583 # -----------------------------------
   10584 # VARIABLE is name of variable containing _space_ separated list of
   10585 # directories to be munged by the contents of PATH, which is string
   10586 # having a format:
   10587 # "DIR[:DIR]:"
   10588 #       string "DIR[ DIR]" will be prepended to VARIABLE
   10589 # ":DIR[:DIR]"
   10590 #       string "DIR[ DIR]" will be appended to VARIABLE
   10591 # "DIRP[:DIRP]::[DIRA:]DIRA"
   10592 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   10593 #       "DIRA[ DIRA]" will be appended to VARIABLE
   10594 # "DIR[:DIR]"
   10595 #       VARIABLE will be replaced by "DIR[ DIR]"
   10596 func_munge_path_list ()
   10597 {
   10598     case x$2 in
   10599     x)
   10600         ;;
   10601     *:)
   10602         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   10603         ;;
   10604     x:*)
   10605         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   10606         ;;
   10607     *::*)
   10608         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   10609         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   10610         ;;
   10611     *)
   10612         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   10613         ;;
   10614     esac
   10615 }
   10616 
   10617 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   10618 "
   10619 if test "x$ac_cv_header_dlfcn_h" = xyes
   10620 then :
   10621   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   10622 
   10623 fi
   10624 
   10625 
   10626 
   10627 
   10628 func_stripname_cnf ()
   10629 {
   10630   case $2 in
   10631   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
   10632   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
   10633   esac
   10634 } # func_stripname_cnf
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 # Set options
   10641 # Check whether --enable-static was given.
   10642 if test ${enable_static+y}
   10643 then :
   10644   enableval=$enable_static; p=${PACKAGE-default}
   10645     case $enableval in
   10646     yes) enable_static=yes ;;
   10647     no) enable_static=no ;;
   10648     *)
   10649      enable_static=no
   10650       # Look at the argument we got.  We use all the common list separators.
   10651       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10652       for pkg in $enableval; do
   10653 	IFS=$lt_save_ifs
   10654 	if test "X$pkg" = "X$p"; then
   10655 	  enable_static=yes
   10656 	fi
   10657       done
   10658       IFS=$lt_save_ifs
   10659       ;;
   10660     esac
   10661 else case e in #(
   10662   e) enable_static=no ;;
   10663 esac
   10664 fi
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 enable_dlopen=yes
   10673 
   10674 
   10675 
   10676 
   10677   enable_win32_dll=no
   10678 
   10679 
   10680             # Check whether --enable-shared was given.
   10681 if test ${enable_shared+y}
   10682 then :
   10683   enableval=$enable_shared; p=${PACKAGE-default}
   10684     case $enableval in
   10685     yes) enable_shared=yes ;;
   10686     no) enable_shared=no ;;
   10687     *)
   10688       enable_shared=no
   10689       # Look at the argument we got.  We use all the common list separators.
   10690       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10691       for pkg in $enableval; do
   10692 	IFS=$lt_save_ifs
   10693 	if test "X$pkg" = "X$p"; then
   10694 	  enable_shared=yes
   10695 	fi
   10696       done
   10697       IFS=$lt_save_ifs
   10698       ;;
   10699     esac
   10700 else case e in #(
   10701   e) enable_shared=yes ;;
   10702 esac
   10703 fi
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714   # Check whether --enable-pic was given.
   10715 if test ${enable_pic+y}
   10716 then :
   10717   enableval=$enable_pic; lt_p=${PACKAGE-default}
   10718      case $enableval in
   10719      yes|no) pic_mode=$enableval ;;
   10720      *)
   10721        pic_mode=default
   10722        # Look at the argument we got.  We use all the common list separators.
   10723        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10724        for lt_pkg in $enableval; do
   10725 	 IFS=$lt_save_ifs
   10726 	 if test "X$lt_pkg" = "X$lt_p"; then
   10727 	   pic_mode=yes
   10728 	 fi
   10729        done
   10730        IFS=$lt_save_ifs
   10731        ;;
   10732      esac
   10733 else case e in #(
   10734   e)           # Check whether --with-pic was given.
   10735 if test ${with_pic+y}
   10736 then :
   10737   withval=$with_pic; lt_p=${PACKAGE-default}
   10738 	 case $withval in
   10739 	 yes|no) pic_mode=$withval ;;
   10740 	 *)
   10741 	   pic_mode=default
   10742 	   # Look at the argument we got.  We use all the common list separators.
   10743 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10744 	   for lt_pkg in $withval; do
   10745 	     IFS=$lt_save_ifs
   10746 	     if test "X$lt_pkg" = "X$lt_p"; then
   10747 	       pic_mode=yes
   10748 	     fi
   10749 	   done
   10750 	   IFS=$lt_save_ifs
   10751 	   ;;
   10752 	 esac
   10753 else case e in #(
   10754   e) pic_mode=default ;;
   10755 esac
   10756 fi
   10757 
   10758      ;;
   10759 esac
   10760 fi
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769   # Check whether --enable-fast-install was given.
   10770 if test ${enable_fast_install+y}
   10771 then :
   10772   enableval=$enable_fast_install; p=${PACKAGE-default}
   10773     case $enableval in
   10774     yes) enable_fast_install=yes ;;
   10775     no) enable_fast_install=no ;;
   10776     *)
   10777       enable_fast_install=no
   10778       # Look at the argument we got.  We use all the common list separators.
   10779       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10780       for pkg in $enableval; do
   10781 	IFS=$lt_save_ifs
   10782 	if test "X$pkg" = "X$p"; then
   10783 	  enable_fast_install=yes
   10784 	fi
   10785       done
   10786       IFS=$lt_save_ifs
   10787       ;;
   10788     esac
   10789 else case e in #(
   10790   e) enable_fast_install=yes ;;
   10791 esac
   10792 fi
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801   shared_archive_member_spec=
   10802 case $host,$enable_shared in
   10803 power*-*-aix[5-9]*,yes)
   10804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   10805 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   10806   # Check whether --enable-aix-soname was given.
   10807 if test ${enable_aix_soname+y}
   10808 then :
   10809   enableval=$enable_aix_soname; case $enableval in
   10810      aix|svr4|both)
   10811        ;;
   10812      *)
   10813        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   10814        ;;
   10815      esac
   10816      lt_cv_with_aix_soname=$enable_aix_soname
   10817 else case e in #(
   10818   e) # Check whether --with-aix-soname was given.
   10819 if test ${with_aix_soname+y}
   10820 then :
   10821   withval=$with_aix_soname; case $withval in
   10822          aix|svr4|both)
   10823            ;;
   10824          *)
   10825            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   10826            ;;
   10827          esac
   10828          lt_cv_with_aix_soname=$with_aix_soname
   10829 else case e in #(
   10830   e) if test ${lt_cv_with_aix_soname+y}
   10831 then :
   10832   printf %s "(cached) " >&6
   10833 else case e in #(
   10834   e) lt_cv_with_aix_soname=aix ;;
   10835 esac
   10836 fi
   10837  ;;
   10838 esac
   10839 fi
   10840 
   10841      enable_aix_soname=$lt_cv_with_aix_soname ;;
   10842 esac
   10843 fi
   10844 
   10845   with_aix_soname=$enable_aix_soname
   10846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   10847 printf "%s\n" "$with_aix_soname" >&6; }
   10848   if test aix != "$with_aix_soname"; then
   10849     # For the AIX way of multilib, we name the shared archive member
   10850     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   10851     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   10852     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   10853     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   10854     if test 64 = "${OBJECT_MODE-32}"; then
   10855       shared_archive_member_spec=shr_64
   10856     else
   10857       shared_archive_member_spec=shr
   10858     fi
   10859   fi
   10860   ;;
   10861 *)
   10862   with_aix_soname=aix
   10863   ;;
   10864 esac
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 # This can be used to rebuild libtool when needed
   10876 LIBTOOL_DEPS=$ltmain
   10877 
   10878 # Always use our own libtool.
   10879 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 test -z "$LN_S" && LN_S="ln -s"
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 if test -n "${ZSH_VERSION+set}"; then
   10926    setopt NO_GLOB_SUBST
   10927 fi
   10928 
   10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   10930 printf %s "checking for objdir... " >&6; }
   10931 if test ${lt_cv_objdir+y}
   10932 then :
   10933   printf %s "(cached) " >&6
   10934 else case e in #(
   10935   e) rm -f .libs 2>/dev/null
   10936 mkdir .libs 2>/dev/null
   10937 if test -d .libs; then
   10938   lt_cv_objdir=.libs
   10939 else
   10940   # MS-DOS does not allow filenames that begin with a dot.
   10941   lt_cv_objdir=_libs
   10942 fi
   10943 rmdir .libs 2>/dev/null ;;
   10944 esac
   10945 fi
   10946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   10947 printf "%s\n" "$lt_cv_objdir" >&6; }
   10948 objdir=$lt_cv_objdir
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   10955 
   10956 
   10957 
   10958 
   10959 case $host_os in
   10960 aix3*)
   10961   # AIX sometimes has problems with the GCC collect2 program.  For some
   10962   # reason, if we set the COLLECT_NAMES environment variable, the problems
   10963   # vanish in a puff of smoke.
   10964   if test set != "${COLLECT_NAMES+set}"; then
   10965     COLLECT_NAMES=
   10966     export COLLECT_NAMES
   10967   fi
   10968   ;;
   10969 esac
   10970 
   10971 # Global variables:
   10972 ofile=libtool
   10973 can_build_shared=yes
   10974 
   10975 # All known linkers require a '.a' archive for static linking (except MSVC and
   10976 # ICC, which need '.lib').
   10977 libext=a
   10978 
   10979 with_gnu_ld=$lt_cv_prog_gnu_ld
   10980 
   10981 old_CC=$CC
   10982 old_CFLAGS=$CFLAGS
   10983 
   10984 # Set sane defaults for various variables
   10985 test -z "$CC" && CC=cc
   10986 test -z "$LTCC" && LTCC=$CC
   10987 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   10988 test -z "$LD" && LD=ld
   10989 test -z "$ac_objext" && ac_objext=o
   10990 
   10991 func_cc_basename $compiler
   10992 cc_basename=$func_cc_basename_result
   10993 
   10994 
   10995 # Only perform the check for file, if the check method requires it
   10996 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   10997 case $deplibs_check_method in
   10998 file_magic*)
   10999   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   11000     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   11001 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   11002 if test ${lt_cv_path_MAGIC_CMD+y}
   11003 then :
   11004   printf %s "(cached) " >&6
   11005 else case e in #(
   11006   e) case $MAGIC_CMD in
   11007 [\\/*] |  ?:[\\/]*)
   11008   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   11009   ;;
   11010 *)
   11011   lt_save_MAGIC_CMD=$MAGIC_CMD
   11012   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11013   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   11014   for ac_dir in $ac_dummy; do
   11015     IFS=$lt_save_ifs
   11016     test -z "$ac_dir" && ac_dir=.
   11017     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   11018       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   11019       if test -n "$file_magic_test_file"; then
   11020 	case $deplibs_check_method in
   11021 	"file_magic "*)
   11022 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   11023 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   11024 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   11025 	    $EGREP "$file_magic_regex" > /dev/null; then
   11026 	    :
   11027 	  else
   11028 	    cat <<_LT_EOF 1>&2
   11029 
   11030 *** Warning: the command libtool uses to detect shared libraries,
   11031 *** $file_magic_cmd, produces output that libtool cannot recognize.
   11032 *** The result is that libtool may fail to recognize shared libraries
   11033 *** as such.  This will affect the creation of libtool libraries that
   11034 *** depend on shared libraries, but programs linked with such libtool
   11035 *** libraries will work regardless of this problem.  Nevertheless, you
   11036 *** may want to report the problem to your system manager and/or to
   11037 *** bug-libtool@gnu.org
   11038 
   11039 _LT_EOF
   11040 	  fi ;;
   11041 	esac
   11042       fi
   11043       break
   11044     fi
   11045   done
   11046   IFS=$lt_save_ifs
   11047   MAGIC_CMD=$lt_save_MAGIC_CMD
   11048   ;;
   11049 esac ;;
   11050 esac
   11051 fi
   11052 
   11053 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   11054 if test -n "$MAGIC_CMD"; then
   11055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   11056 printf "%s\n" "$MAGIC_CMD" >&6; }
   11057 else
   11058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11059 printf "%s\n" "no" >&6; }
   11060 fi
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 if test -z "$lt_cv_path_MAGIC_CMD"; then
   11067   if test -n "$ac_tool_prefix"; then
   11068     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   11069 printf %s "checking for file... " >&6; }
   11070 if test ${lt_cv_path_MAGIC_CMD+y}
   11071 then :
   11072   printf %s "(cached) " >&6
   11073 else case e in #(
   11074   e) case $MAGIC_CMD in
   11075 [\\/*] |  ?:[\\/]*)
   11076   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   11077   ;;
   11078 *)
   11079   lt_save_MAGIC_CMD=$MAGIC_CMD
   11080   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11081   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   11082   for ac_dir in $ac_dummy; do
   11083     IFS=$lt_save_ifs
   11084     test -z "$ac_dir" && ac_dir=.
   11085     if test -f "$ac_dir/file"; then
   11086       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   11087       if test -n "$file_magic_test_file"; then
   11088 	case $deplibs_check_method in
   11089 	"file_magic "*)
   11090 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   11091 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   11092 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   11093 	    $EGREP "$file_magic_regex" > /dev/null; then
   11094 	    :
   11095 	  else
   11096 	    cat <<_LT_EOF 1>&2
   11097 
   11098 *** Warning: the command libtool uses to detect shared libraries,
   11099 *** $file_magic_cmd, produces output that libtool cannot recognize.
   11100 *** The result is that libtool may fail to recognize shared libraries
   11101 *** as such.  This will affect the creation of libtool libraries that
   11102 *** depend on shared libraries, but programs linked with such libtool
   11103 *** libraries will work regardless of this problem.  Nevertheless, you
   11104 *** may want to report the problem to your system manager and/or to
   11105 *** bug-libtool@gnu.org
   11106 
   11107 _LT_EOF
   11108 	  fi ;;
   11109 	esac
   11110       fi
   11111       break
   11112     fi
   11113   done
   11114   IFS=$lt_save_ifs
   11115   MAGIC_CMD=$lt_save_MAGIC_CMD
   11116   ;;
   11117 esac ;;
   11118 esac
   11119 fi
   11120 
   11121 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   11122 if test -n "$MAGIC_CMD"; then
   11123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   11124 printf "%s\n" "$MAGIC_CMD" >&6; }
   11125 else
   11126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11127 printf "%s\n" "no" >&6; }
   11128 fi
   11129 
   11130 
   11131   else
   11132     MAGIC_CMD=:
   11133   fi
   11134 fi
   11135 
   11136   fi
   11137   ;;
   11138 esac
   11139 
   11140 # Use C for the default configuration in the libtool script
   11141 
   11142 lt_save_CC=$CC
   11143 ac_ext=c
   11144 ac_cpp='$CPP $CPPFLAGS'
   11145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11148 
   11149 
   11150 # Source file extension for C test sources.
   11151 ac_ext=c
   11152 
   11153 # Object file extension for compiled C test sources.
   11154 objext=o
   11155 objext=$objext
   11156 
   11157 # Code to be used in simple compile tests
   11158 lt_simple_compile_test_code="int some_variable = 0;"
   11159 
   11160 # Code to be used in simple link tests
   11161 lt_simple_link_test_code='int main(void){return(0);}'
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 # If no C compiler was specified, use CC.
   11170 LTCC=${LTCC-"$CC"}
   11171 
   11172 # If no C compiler flags were specified, use CFLAGS.
   11173 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11174 
   11175 # Allow CC to be a program name with arguments.
   11176 compiler=$CC
   11177 
   11178 # Save the default compiler, since it gets overwritten when the other
   11179 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   11180 compiler_DEFAULT=$CC
   11181 
   11182 # save warnings/boilerplate of simple test code
   11183 ac_outfile=conftest.$ac_objext
   11184 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11185 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11186 _lt_compiler_boilerplate=`cat conftest.err`
   11187 $RM conftest*
   11188 
   11189 ac_outfile=conftest.$ac_objext
   11190 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11191 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11192 _lt_linker_boilerplate=`cat conftest.err`
   11193 $RM -r conftest*
   11194 
   11195 
   11196 ## CAVEAT EMPTOR:
   11197 ## There is no encapsulation within the following macros, do not change
   11198 ## the running order or otherwise move them around unless you know exactly
   11199 ## what you are doing...
   11200 if test -n "$compiler"; then
   11201 
   11202 lt_prog_compiler_no_builtin_flag=
   11203 
   11204 if test yes = "$GCC"; then
   11205   case $cc_basename in
   11206   nvcc*)
   11207     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   11208   *)
   11209     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   11210   esac
   11211 
   11212   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   11213 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   11214 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   11215 then :
   11216   printf %s "(cached) " >&6
   11217 else case e in #(
   11218   e) lt_cv_prog_compiler_rtti_exceptions=no
   11219    ac_outfile=conftest.$ac_objext
   11220    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11221    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   11222    # Insert the option either (1) after the last *FLAGS variable, or
   11223    # (2) before a word containing "conftest.", or (3) at the end.
   11224    # Note that $ac_compile itself does not contain backslashes and begins
   11225    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11226    # The option is referenced via a variable to avoid confusing sed.
   11227    lt_compile=`echo "$ac_compile" | $SED \
   11228    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11229    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11230    -e 's:$: $lt_compiler_flag:'`
   11231    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11232    (eval "$lt_compile" 2>conftest.err)
   11233    ac_status=$?
   11234    cat conftest.err >&5
   11235    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11236    if (exit $ac_status) && test -s "$ac_outfile"; then
   11237      # The compiler can only warn and ignore the option if not recognized
   11238      # So say no if there are warnings other than the usual output.
   11239      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   11240      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11241      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   11242        lt_cv_prog_compiler_rtti_exceptions=yes
   11243      fi
   11244    fi
   11245    $RM conftest*
   11246  ;;
   11247 esac
   11248 fi
   11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   11250 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   11251 
   11252 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   11253     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   11254 else
   11255     :
   11256 fi
   11257 
   11258 fi
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265   lt_prog_compiler_wl=
   11266 lt_prog_compiler_pic=
   11267 lt_prog_compiler_static=
   11268 
   11269 
   11270   if test yes = "$GCC"; then
   11271     lt_prog_compiler_wl='-Wl,'
   11272     lt_prog_compiler_static='-static'
   11273 
   11274     case $host_os in
   11275       aix*)
   11276       # All AIX code is PIC.
   11277       if test ia64 = "$host_cpu"; then
   11278 	# AIX 5 now supports IA64 processor
   11279 	lt_prog_compiler_static='-Bstatic'
   11280       fi
   11281       lt_prog_compiler_pic='-fPIC'
   11282       ;;
   11283 
   11284     amigaos*)
   11285       case $host_cpu in
   11286       powerpc)
   11287             # see comment about AmigaOS4 .so support
   11288             lt_prog_compiler_pic='-fPIC'
   11289         ;;
   11290       m68k)
   11291             # FIXME: we need at least 68020 code to build shared libraries, but
   11292             # adding the '-m68020' flag to GCC prevents building anything better,
   11293             # like '-m68040'.
   11294             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   11295         ;;
   11296       esac
   11297       ;;
   11298 
   11299     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11300       # PIC is the default for these OSes.
   11301       ;;
   11302 
   11303     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   11304       # This hack is so that the source file can tell whether it is being
   11305       # built for inclusion in a dll (and should export symbols for example).
   11306       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   11307       # (--disable-auto-import) libraries
   11308       lt_prog_compiler_pic='-DDLL_EXPORT'
   11309       case $host_os in
   11310       os2*)
   11311 	lt_prog_compiler_static='$wl-static'
   11312 	;;
   11313       esac
   11314       ;;
   11315 
   11316     darwin* | rhapsody*)
   11317       # PIC is the default on this platform
   11318       # Common symbols not allowed in MH_DYLIB files
   11319       lt_prog_compiler_pic='-fno-common'
   11320       ;;
   11321 
   11322     haiku*)
   11323       # PIC is the default for Haiku.
   11324       # The "-static" flag exists, but is broken.
   11325       lt_prog_compiler_static=
   11326       ;;
   11327 
   11328     hpux*)
   11329       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   11330       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   11331       # sets the default TLS model and affects inlining.
   11332       case $host_cpu in
   11333       hppa*64*)
   11334 	# +Z the default
   11335 	;;
   11336       *)
   11337 	lt_prog_compiler_pic='-fPIC'
   11338 	;;
   11339       esac
   11340       ;;
   11341 
   11342     interix[3-9]*)
   11343       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11344       # Instead, we relocate shared libraries at runtime.
   11345       ;;
   11346 
   11347     msdosdjgpp*)
   11348       # Just because we use GCC doesn't mean we suddenly get shared libraries
   11349       # on systems that don't support them.
   11350       lt_prog_compiler_can_build_shared=no
   11351       enable_shared=no
   11352       ;;
   11353 
   11354     *nto* | *qnx*)
   11355       # QNX uses GNU C++, but need to define -shared option too, otherwise
   11356       # it will coredump.
   11357       lt_prog_compiler_pic='-fPIC -shared'
   11358       ;;
   11359 
   11360     sysv4*MP*)
   11361       if test -d /usr/nec; then
   11362 	lt_prog_compiler_pic=-Kconform_pic
   11363       fi
   11364       ;;
   11365 
   11366     *)
   11367       lt_prog_compiler_pic='-fPIC'
   11368       ;;
   11369     esac
   11370 
   11371     case $cc_basename in
   11372     nvcc*) # Cuda Compiler Driver 2.2
   11373       lt_prog_compiler_wl='-Xlinker '
   11374       if test -n "$lt_prog_compiler_pic"; then
   11375         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   11376       fi
   11377       ;;
   11378     esac
   11379   else
   11380     # PORTME Check for flag to pass linker flags through the system compiler.
   11381     case $host_os in
   11382     aix*)
   11383       lt_prog_compiler_wl='-Wl,'
   11384       if test ia64 = "$host_cpu"; then
   11385 	# AIX 5 now supports IA64 processor
   11386 	lt_prog_compiler_static='-Bstatic'
   11387       else
   11388 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   11389       fi
   11390       ;;
   11391 
   11392     darwin* | rhapsody*)
   11393       # PIC is the default on this platform
   11394       # Common symbols not allowed in MH_DYLIB files
   11395       lt_prog_compiler_pic='-fno-common'
   11396       case $cc_basename in
   11397       nagfor*)
   11398         # NAG Fortran compiler
   11399         lt_prog_compiler_wl='-Wl,-Wl,,'
   11400         lt_prog_compiler_pic='-PIC'
   11401         lt_prog_compiler_static='-Bstatic'
   11402         ;;
   11403       esac
   11404       ;;
   11405 
   11406     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   11407       # This hack is so that the source file can tell whether it is being
   11408       # built for inclusion in a dll (and should export symbols for example).
   11409       lt_prog_compiler_pic='-DDLL_EXPORT'
   11410       case $host_os in
   11411       os2*)
   11412 	lt_prog_compiler_static='$wl-static'
   11413 	;;
   11414       esac
   11415       ;;
   11416 
   11417     hpux9* | hpux10* | hpux11*)
   11418       lt_prog_compiler_wl='-Wl,'
   11419       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11420       # not for PA HP-UX.
   11421       case $host_cpu in
   11422       hppa*64*|ia64*)
   11423 	# +Z the default
   11424 	;;
   11425       *)
   11426 	lt_prog_compiler_pic='+Z'
   11427 	;;
   11428       esac
   11429       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   11430       lt_prog_compiler_static='$wl-a ${wl}archive'
   11431       ;;
   11432 
   11433     irix5* | irix6* | nonstopux*)
   11434       lt_prog_compiler_wl='-Wl,'
   11435       # PIC (with -KPIC) is the default.
   11436       lt_prog_compiler_static='-non_shared'
   11437       ;;
   11438 
   11439     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11440       case $cc_basename in
   11441       # old Intel for x86_64, which still supported -KPIC.
   11442       ecc*)
   11443 	lt_prog_compiler_wl='-Wl,'
   11444 	lt_prog_compiler_pic='-KPIC'
   11445 	lt_prog_compiler_static='-static'
   11446         ;;
   11447       *flang* | ftn | f18* | f95*)
   11448         # Flang compiler.
   11449 	lt_prog_compiler_wl='-Wl,'
   11450 	lt_prog_compiler_pic='-fPIC'
   11451 	lt_prog_compiler_static='-static'
   11452         ;;
   11453       # icc used to be incompatible with GCC.
   11454       # ICC 10 doesn't accept -KPIC any more.
   11455       icc* | ifort*)
   11456 	lt_prog_compiler_wl='-Wl,'
   11457 	lt_prog_compiler_pic='-fPIC'
   11458 	lt_prog_compiler_static='-static'
   11459         ;;
   11460       # Lahey Fortran 8.1.
   11461       lf95*)
   11462 	lt_prog_compiler_wl='-Wl,'
   11463 	lt_prog_compiler_pic='--shared'
   11464 	lt_prog_compiler_static='--static'
   11465 	;;
   11466       nagfor*)
   11467 	# NAG Fortran compiler
   11468 	lt_prog_compiler_wl='-Wl,-Wl,,'
   11469 	lt_prog_compiler_pic='-PIC'
   11470 	lt_prog_compiler_static='-Bstatic'
   11471 	;;
   11472       tcc*)
   11473 	# Fabrice Bellard et al's Tiny C Compiler
   11474 	lt_prog_compiler_wl='-Wl,'
   11475 	lt_prog_compiler_pic='-fPIC'
   11476 	lt_prog_compiler_static='-static'
   11477 	;;
   11478       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   11479         # Portland Group compilers (*not* the Pentium gcc compiler,
   11480 	# which looks to be a dead project)
   11481 	lt_prog_compiler_wl='-Wl,'
   11482 	lt_prog_compiler_pic='-fpic'
   11483 	lt_prog_compiler_static='-Bstatic'
   11484         ;;
   11485       ccc*)
   11486         lt_prog_compiler_wl='-Wl,'
   11487         # All Alpha code is PIC.
   11488         lt_prog_compiler_static='-non_shared'
   11489         ;;
   11490       xl* | bgxl* | bgf* | mpixl*)
   11491 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   11492 	lt_prog_compiler_wl='-Wl,'
   11493 	lt_prog_compiler_pic='-qpic'
   11494 	lt_prog_compiler_static='-qstaticlink'
   11495 	;;
   11496       *)
   11497 	case `$CC -V 2>&1 | $SED 5q` in
   11498 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   11499 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   11500 	  lt_prog_compiler_pic='-KPIC'
   11501 	  lt_prog_compiler_static='-Bstatic'
   11502 	  lt_prog_compiler_wl=''
   11503 	  ;;
   11504 	*Sun\ F* | *Sun*Fortran*)
   11505 	  lt_prog_compiler_pic='-KPIC'
   11506 	  lt_prog_compiler_static='-Bstatic'
   11507 	  lt_prog_compiler_wl='-Qoption ld '
   11508 	  ;;
   11509 	*Sun\ C*)
   11510 	  # Sun C 5.9
   11511 	  lt_prog_compiler_pic='-KPIC'
   11512 	  lt_prog_compiler_static='-Bstatic'
   11513 	  lt_prog_compiler_wl='-Wl,'
   11514 	  ;;
   11515         *Intel*\ [CF]*Compiler*)
   11516 	  lt_prog_compiler_wl='-Wl,'
   11517 	  lt_prog_compiler_pic='-fPIC'
   11518 	  lt_prog_compiler_static='-static'
   11519 	  ;;
   11520 	*Portland\ Group*)
   11521 	  lt_prog_compiler_wl='-Wl,'
   11522 	  lt_prog_compiler_pic='-fpic'
   11523 	  lt_prog_compiler_static='-Bstatic'
   11524 	  ;;
   11525 	esac
   11526 	;;
   11527       esac
   11528       ;;
   11529 
   11530     newsos6)
   11531       lt_prog_compiler_pic='-KPIC'
   11532       lt_prog_compiler_static='-Bstatic'
   11533       ;;
   11534 
   11535     *-mlibc)
   11536       lt_prog_compiler_wl='-Wl,'
   11537       lt_prog_compiler_pic='-fPIC'
   11538       lt_prog_compiler_static='-static'
   11539       ;;
   11540 
   11541     *nto* | *qnx*)
   11542       # QNX uses GNU C++, but need to define -shared option too, otherwise
   11543       # it will coredump.
   11544       lt_prog_compiler_pic='-fPIC -shared'
   11545       ;;
   11546 
   11547     osf3* | osf4* | osf5*)
   11548       lt_prog_compiler_wl='-Wl,'
   11549       # All OSF/1 code is PIC.
   11550       lt_prog_compiler_static='-non_shared'
   11551       ;;
   11552 
   11553     rdos*)
   11554       lt_prog_compiler_static='-non_shared'
   11555       ;;
   11556 
   11557     serenity*)
   11558       ;;
   11559 
   11560     solaris*)
   11561       lt_prog_compiler_pic='-KPIC'
   11562       lt_prog_compiler_static='-Bstatic'
   11563       case $cc_basename in
   11564       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   11565 	lt_prog_compiler_wl='-Qoption ld ';;
   11566       *)
   11567 	lt_prog_compiler_wl='-Wl,';;
   11568       esac
   11569       ;;
   11570 
   11571     sunos4*)
   11572       lt_prog_compiler_wl='-Qoption ld '
   11573       lt_prog_compiler_pic='-PIC'
   11574       lt_prog_compiler_static='-Bstatic'
   11575       ;;
   11576 
   11577     sysv4 | sysv4.2uw2* | sysv4.3*)
   11578       lt_prog_compiler_wl='-Wl,'
   11579       lt_prog_compiler_pic='-KPIC'
   11580       lt_prog_compiler_static='-Bstatic'
   11581       ;;
   11582 
   11583     sysv4*MP*)
   11584       if test -d /usr/nec; then
   11585 	lt_prog_compiler_pic='-Kconform_pic'
   11586 	lt_prog_compiler_static='-Bstatic'
   11587       fi
   11588       ;;
   11589 
   11590     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   11591       lt_prog_compiler_wl='-Wl,'
   11592       lt_prog_compiler_pic='-KPIC'
   11593       lt_prog_compiler_static='-Bstatic'
   11594       ;;
   11595 
   11596     unicos*)
   11597       lt_prog_compiler_wl='-Wl,'
   11598       lt_prog_compiler_can_build_shared=no
   11599       ;;
   11600 
   11601     uts4*)
   11602       lt_prog_compiler_pic='-pic'
   11603       lt_prog_compiler_static='-Bstatic'
   11604       ;;
   11605 
   11606     *)
   11607       lt_prog_compiler_can_build_shared=no
   11608       ;;
   11609     esac
   11610   fi
   11611 
   11612 case $host_os in
   11613   # For platforms that do not support PIC, -DPIC is meaningless:
   11614   *djgpp*)
   11615     lt_prog_compiler_pic=
   11616     ;;
   11617   *)
   11618     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   11619     ;;
   11620 esac
   11621 
   11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   11623 printf %s "checking for $compiler option to produce PIC... " >&6; }
   11624 if test ${lt_cv_prog_compiler_pic+y}
   11625 then :
   11626   printf %s "(cached) " >&6
   11627 else case e in #(
   11628   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   11629 esac
   11630 fi
   11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   11632 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   11633 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   11634 
   11635 #
   11636 # Check to make sure the PIC flag actually works.
   11637 #
   11638 if test -n "$lt_prog_compiler_pic"; then
   11639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   11640 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   11641 if test ${lt_cv_prog_compiler_pic_works+y}
   11642 then :
   11643   printf %s "(cached) " >&6
   11644 else case e in #(
   11645   e) lt_cv_prog_compiler_pic_works=no
   11646    ac_outfile=conftest.$ac_objext
   11647    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11648    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   11649    # Insert the option either (1) after the last *FLAGS variable, or
   11650    # (2) before a word containing "conftest.", or (3) at the end.
   11651    # Note that $ac_compile itself does not contain backslashes and begins
   11652    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11653    # The option is referenced via a variable to avoid confusing sed.
   11654    lt_compile=`echo "$ac_compile" | $SED \
   11655    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11656    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11657    -e 's:$: $lt_compiler_flag:'`
   11658    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11659    (eval "$lt_compile" 2>conftest.err)
   11660    ac_status=$?
   11661    cat conftest.err >&5
   11662    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11663    if (exit $ac_status) && test -s "$ac_outfile"; then
   11664      # The compiler can only warn and ignore the option if not recognized
   11665      # So say no if there are warnings other than the usual output.
   11666      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   11667      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11668      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   11669        lt_cv_prog_compiler_pic_works=yes
   11670      fi
   11671    fi
   11672    $RM conftest*
   11673  ;;
   11674 esac
   11675 fi
   11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   11677 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   11678 
   11679 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   11680     case $lt_prog_compiler_pic in
   11681      "" | " "*) ;;
   11682      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   11683      esac
   11684 else
   11685     lt_prog_compiler_pic=
   11686      lt_prog_compiler_can_build_shared=no
   11687 fi
   11688 
   11689 fi
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 #
   11702 # Check to make sure the static flag actually works.
   11703 #
   11704 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   11706 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   11707 if test ${lt_cv_prog_compiler_static_works+y}
   11708 then :
   11709   printf %s "(cached) " >&6
   11710 else case e in #(
   11711   e) lt_cv_prog_compiler_static_works=no
   11712    save_LDFLAGS=$LDFLAGS
   11713    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   11714    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11715    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11716      # The linker can only warn and ignore the option if not recognized
   11717      # So say no if there are warnings
   11718      if test -s conftest.err; then
   11719        # Append any errors to the config.log.
   11720        cat conftest.err 1>&5
   11721        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11722        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11723        if diff conftest.exp conftest.er2 >/dev/null; then
   11724          lt_cv_prog_compiler_static_works=yes
   11725        fi
   11726      else
   11727        lt_cv_prog_compiler_static_works=yes
   11728      fi
   11729    fi
   11730    $RM -r conftest*
   11731    LDFLAGS=$save_LDFLAGS
   11732  ;;
   11733 esac
   11734 fi
   11735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   11736 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   11737 
   11738 if test yes = "$lt_cv_prog_compiler_static_works"; then
   11739     :
   11740 else
   11741     lt_prog_compiler_static=
   11742 fi
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   11751 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   11752 if test ${lt_cv_prog_compiler_c_o+y}
   11753 then :
   11754   printf %s "(cached) " >&6
   11755 else case e in #(
   11756   e) lt_cv_prog_compiler_c_o=no
   11757    $RM -r conftest 2>/dev/null
   11758    mkdir conftest
   11759    cd conftest
   11760    mkdir out
   11761    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11762 
   11763    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11764    # Insert the option either (1) after the last *FLAGS variable, or
   11765    # (2) before a word containing "conftest.", or (3) at the end.
   11766    # Note that $ac_compile itself does not contain backslashes and begins
   11767    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11768    lt_compile=`echo "$ac_compile" | $SED \
   11769    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11770    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11771    -e 's:$: $lt_compiler_flag:'`
   11772    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11773    (eval "$lt_compile" 2>out/conftest.err)
   11774    ac_status=$?
   11775    cat out/conftest.err >&5
   11776    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11777    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11778    then
   11779      # The compiler can only warn and ignore the option if not recognized
   11780      # So say no if there are warnings
   11781      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   11782      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11783      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   11784        lt_cv_prog_compiler_c_o=yes
   11785      fi
   11786    fi
   11787    chmod u+w . 2>&5
   11788    $RM conftest*
   11789    # SGI C++ compiler will create directory out/ii_files/ for
   11790    # template instantiation
   11791    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   11792    $RM out/* && rmdir out
   11793    cd ..
   11794    $RM -r conftest
   11795    $RM conftest*
   11796  ;;
   11797 esac
   11798 fi
   11799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   11800 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   11808 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   11809 if test ${lt_cv_prog_compiler_c_o+y}
   11810 then :
   11811   printf %s "(cached) " >&6
   11812 else case e in #(
   11813   e) lt_cv_prog_compiler_c_o=no
   11814    $RM -r conftest 2>/dev/null
   11815    mkdir conftest
   11816    cd conftest
   11817    mkdir out
   11818    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11819 
   11820    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11821    # Insert the option either (1) after the last *FLAGS variable, or
   11822    # (2) before a word containing "conftest.", or (3) at the end.
   11823    # Note that $ac_compile itself does not contain backslashes and begins
   11824    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11825    lt_compile=`echo "$ac_compile" | $SED \
   11826    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11827    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11828    -e 's:$: $lt_compiler_flag:'`
   11829    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11830    (eval "$lt_compile" 2>out/conftest.err)
   11831    ac_status=$?
   11832    cat out/conftest.err >&5
   11833    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11834    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11835    then
   11836      # The compiler can only warn and ignore the option if not recognized
   11837      # So say no if there are warnings
   11838      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   11839      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11840      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   11841        lt_cv_prog_compiler_c_o=yes
   11842      fi
   11843    fi
   11844    chmod u+w . 2>&5
   11845    $RM conftest*
   11846    # SGI C++ compiler will create directory out/ii_files/ for
   11847    # template instantiation
   11848    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   11849    $RM out/* && rmdir out
   11850    cd ..
   11851    $RM -r conftest
   11852    $RM conftest*
   11853  ;;
   11854 esac
   11855 fi
   11856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   11857 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   11858 
   11859 
   11860 
   11861 
   11862 hard_links=nottested
   11863 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   11864   # do not overwrite the value of need_locks provided by the user
   11865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   11866 printf %s "checking if we can lock with hard links... " >&6; }
   11867   hard_links=yes
   11868   $RM conftest*
   11869   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11870   touch conftest.a
   11871   ln conftest.a conftest.b 2>&5 || hard_links=no
   11872   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   11874 printf "%s\n" "$hard_links" >&6; }
   11875   if test no = "$hard_links"; then
   11876     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   11877 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   11878     need_locks=warn
   11879   fi
   11880 else
   11881   need_locks=no
   11882 fi
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11890 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11891 
   11892   runpath_var=
   11893   allow_undefined_flag=
   11894   always_export_symbols=no
   11895   archive_cmds=
   11896   archive_expsym_cmds=
   11897   compiler_needs_object=no
   11898   enable_shared_with_static_runtimes=no
   11899   export_dynamic_flag_spec=
   11900   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   11901   hardcode_automatic=no
   11902   hardcode_direct=no
   11903   hardcode_direct_absolute=no
   11904   hardcode_libdir_flag_spec=
   11905   hardcode_libdir_separator=
   11906   hardcode_minus_L=no
   11907   hardcode_shlibpath_var=unsupported
   11908   inherit_rpath=no
   11909   link_all_deplibs=unknown
   11910   module_cmds=
   11911   module_expsym_cmds=
   11912   old_archive_from_new_cmds=
   11913   old_archive_from_expsyms_cmds=
   11914   thread_safe_flag_spec=
   11915   whole_archive_flag_spec=
   11916   # include_expsyms should be a list of space-separated symbols to be *always*
   11917   # included in the symbol list
   11918   include_expsyms=
   11919   # exclude_expsyms can be an extended regexp of symbols to exclude
   11920   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   11921   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   11922   # as well as any symbol that contains 'd'.
   11923   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   11924   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   11925   # platforms (ab)use it in PIC code, but their linkers get confused if
   11926   # the symbol is explicitly referenced.  Since portable code cannot
   11927   # rely on this symbol name, it's probably fine to never include it in
   11928   # preloaded symbol tables.
   11929   # Exclude shared library initialization/finalization symbols.
   11930   extract_expsyms_cmds=
   11931 
   11932   case $host_os in
   11933   cygwin* | mingw* | windows* | pw32* | cegcc*)
   11934     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   11935     # When not using gcc, we currently assume that we are using
   11936     # Microsoft Visual C++ or Intel C++ Compiler.
   11937     if test yes != "$GCC"; then
   11938       with_gnu_ld=no
   11939     fi
   11940     ;;
   11941   interix*)
   11942     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   11943     with_gnu_ld=yes
   11944     ;;
   11945   esac
   11946 
   11947   ld_shlibs=yes
   11948 
   11949   # On some targets, GNU ld is compatible enough with the native linker
   11950   # that we're better off using the native interface for both.
   11951   lt_use_gnu_ld_interface=no
   11952   if test yes = "$with_gnu_ld"; then
   11953     case $host_os in
   11954       aix*)
   11955 	# The AIX port of GNU ld has always aspired to compatibility
   11956 	# with the native linker.  However, as the warning in the GNU ld
   11957 	# block says, versions before 2.19.5* couldn't really create working
   11958 	# shared libraries, regardless of the interface used.
   11959 	case `$LD -v 2>&1` in
   11960 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   11961 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   11962 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   11963 	  *)
   11964 	    lt_use_gnu_ld_interface=yes
   11965 	    ;;
   11966 	esac
   11967 	;;
   11968       *)
   11969 	lt_use_gnu_ld_interface=yes
   11970 	;;
   11971     esac
   11972   fi
   11973 
   11974   if test yes = "$lt_use_gnu_ld_interface"; then
   11975     # If archive_cmds runs LD, not CC, wlarc should be empty
   11976     wlarc='$wl'
   11977 
   11978     # Set some defaults for GNU ld with shared library support. These
   11979     # are reset later if shared libraries are not supported. Putting them
   11980     # here allows them to be overridden if necessary.
   11981     runpath_var=LD_RUN_PATH
   11982     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11983     export_dynamic_flag_spec='$wl--export-dynamic'
   11984     # ancient GNU ld didn't support --whole-archive et. al.
   11985     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   11986       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   11987     else
   11988       whole_archive_flag_spec=
   11989     fi
   11990     supports_anon_versioning=no
   11991     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   11992       *GNU\ gold*) supports_anon_versioning=yes ;;
   11993       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   11994       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   11995       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   11996       *\ 2.11.*) ;; # other 2.11 versions
   11997       *) supports_anon_versioning=yes ;;
   11998     esac
   11999 
   12000     # See if GNU ld supports shared libraries.
   12001     case $host_os in
   12002     aix[3-9]*)
   12003       # On AIX/PPC, the GNU linker is very broken
   12004       if test ia64 != "$host_cpu"; then
   12005 	ld_shlibs=no
   12006 	cat <<_LT_EOF 1>&2
   12007 
   12008 *** Warning: the GNU linker, at least up to release 2.19, is reported
   12009 *** to be unable to reliably create shared libraries on AIX.
   12010 *** Therefore, libtool is disabling shared libraries support.  If you
   12011 *** really care for shared libraries, you may want to install binutils
   12012 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   12013 *** You will then need to restart the configuration process.
   12014 
   12015 _LT_EOF
   12016       fi
   12017       ;;
   12018 
   12019     amigaos*)
   12020       case $host_cpu in
   12021       powerpc)
   12022             # see comment about AmigaOS4 .so support
   12023             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12024             archive_expsym_cmds=''
   12025         ;;
   12026       m68k)
   12027             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)'
   12028             hardcode_libdir_flag_spec='-L$libdir'
   12029             hardcode_minus_L=yes
   12030         ;;
   12031       esac
   12032       ;;
   12033 
   12034     beos*)
   12035       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   12036 	allow_undefined_flag=unsupported
   12037 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   12038 	# support --undefined.  This deserves some investigation.  FIXME
   12039 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12040       else
   12041 	ld_shlibs=no
   12042       fi
   12043       ;;
   12044 
   12045     cygwin* | mingw* | windows* | pw32* | cegcc*)
   12046       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   12047       # as there is no search path for DLLs.
   12048       hardcode_libdir_flag_spec='-L$libdir'
   12049       export_dynamic_flag_spec='$wl--export-all-symbols'
   12050       allow_undefined_flag=unsupported
   12051       always_export_symbols=no
   12052       enable_shared_with_static_runtimes=yes
   12053       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'
   12054       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   12055       file_list_spec='@'
   12056 
   12057       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   12058         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   12059 	# If the export-symbols file already is a .def file, use it as
   12060 	# is; otherwise, prepend EXPORTS...
   12061 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   12062           cp $export_symbols $output_objdir/$soname.def;
   12063         else
   12064           echo EXPORTS > $output_objdir/$soname.def;
   12065           cat $export_symbols >> $output_objdir/$soname.def;
   12066         fi~
   12067         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   12068       else
   12069 	ld_shlibs=no
   12070       fi
   12071       ;;
   12072 
   12073     haiku*)
   12074       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12075       link_all_deplibs=no
   12076       ;;
   12077 
   12078     os2*)
   12079       hardcode_libdir_flag_spec='-L$libdir'
   12080       hardcode_minus_L=yes
   12081       allow_undefined_flag=unsupported
   12082       shrext_cmds=.dll
   12083       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12084 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12085 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12086 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12087 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   12088 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12089 	emximp -o $lib $output_objdir/$libname.def'
   12090       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12091 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12092 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12093 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12094 	prefix_cmds="$SED"~
   12095 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   12096 	  prefix_cmds="$prefix_cmds -e 1d";
   12097 	fi~
   12098 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   12099 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   12100 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12101 	emximp -o $lib $output_objdir/$libname.def'
   12102       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   12103       enable_shared_with_static_runtimes=yes
   12104       file_list_spec='@'
   12105       ;;
   12106 
   12107     interix[3-9]*)
   12108       hardcode_direct=no
   12109       hardcode_shlibpath_var=no
   12110       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12111       export_dynamic_flag_spec='$wl-E'
   12112       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12113       # Instead, shared libraries are loaded at an image base (0x10000000 by
   12114       # default) and relocated if they conflict, which is a slow very memory
   12115       # consuming and fragmenting process.  To avoid this, we pick a random,
   12116       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12117       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12118       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   12119       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'
   12120       ;;
   12121 
   12122     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   12123       tmp_diet=no
   12124       if test linux-dietlibc = "$host_os"; then
   12125 	case $cc_basename in
   12126 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   12127 	esac
   12128       fi
   12129       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   12130 	 && test no = "$tmp_diet"
   12131       then
   12132 	tmp_addflag=' $pic_flag'
   12133 	tmp_sharedflag='-shared'
   12134 	case $cc_basename,$host_cpu in
   12135         pgcc*)				# Portland Group C compiler
   12136 	  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'
   12137 	  tmp_addflag=' $pic_flag'
   12138 	  ;;
   12139 	pgf77* | pgf90* | pgf95* | pgfortran*)
   12140 					# Portland Group f77 and f90 compilers
   12141 	  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'
   12142 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   12143 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   12144 	  tmp_addflag=' -i_dynamic' ;;
   12145 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   12146 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   12147 	ifc* | ifort*)			# Intel Fortran compiler
   12148 	  tmp_addflag=' -nofor_main' ;;
   12149 	lf95*)				# Lahey Fortran 8.1
   12150 	  whole_archive_flag_spec=
   12151 	  tmp_sharedflag='--shared' ;;
   12152         nagfor*)                        # NAGFOR 5.3
   12153           tmp_sharedflag='-Wl,-shared' ;;
   12154 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   12155 	  tmp_sharedflag='-qmkshrobj'
   12156 	  tmp_addflag= ;;
   12157 	nvcc*)	# Cuda Compiler Driver 2.2
   12158 	  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'
   12159 	  compiler_needs_object=yes
   12160 	  ;;
   12161 	esac
   12162 	case `$CC -V 2>&1 | $SED 5q` in
   12163 	*Sun\ C*)			# Sun C 5.9
   12164 	  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'
   12165 	  compiler_needs_object=yes
   12166 	  tmp_sharedflag='-G' ;;
   12167 	*Sun\ F*)			# Sun Fortran 8.3
   12168 	  tmp_sharedflag='-G' ;;
   12169 	esac
   12170 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12171 
   12172         if test yes = "$supports_anon_versioning"; then
   12173           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   12174             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   12175             echo "local: *; };" >> $output_objdir/$libname.ver~
   12176             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   12177         fi
   12178 
   12179 	case $cc_basename in
   12180 	tcc*)
   12181 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12182 	  export_dynamic_flag_spec='-rdynamic'
   12183 	  ;;
   12184 	xlf* | bgf* | bgxlf* | mpixlf*)
   12185 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   12186 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   12187 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12188 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   12189 	  if test yes = "$supports_anon_versioning"; then
   12190 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   12191               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   12192               echo "local: *; };" >> $output_objdir/$libname.ver~
   12193               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   12194 	  fi
   12195 	  ;;
   12196 	esac
   12197       else
   12198         ld_shlibs=no
   12199       fi
   12200       ;;
   12201 
   12202     *-mlibc)
   12203 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12204 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   12205       ;;
   12206 
   12207     netbsd* | netbsdelf*-gnu)
   12208       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12209 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   12210 	wlarc=
   12211       else
   12212 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12213 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   12214       fi
   12215       ;;
   12216 
   12217     solaris*)
   12218       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   12219 	ld_shlibs=no
   12220 	cat <<_LT_EOF 1>&2
   12221 
   12222 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   12223 *** create shared libraries on Solaris systems.  Therefore, libtool
   12224 *** is disabling shared libraries support.  We urge you to upgrade GNU
   12225 *** binutils to release 2.9.1 or newer.  Another option is to modify
   12226 *** your PATH or compiler configuration so that the native linker is
   12227 *** used, and then restart.
   12228 
   12229 _LT_EOF
   12230       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   12231 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12232 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   12233       else
   12234 	ld_shlibs=no
   12235       fi
   12236       ;;
   12237 
   12238     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   12239       case `$LD -v 2>&1` in
   12240         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   12241 	ld_shlibs=no
   12242 	cat <<_LT_EOF 1>&2
   12243 
   12244 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   12245 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   12246 *** is disabling shared libraries support.  We urge you to upgrade GNU
   12247 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   12248 *** your PATH or compiler configuration so that the native linker is
   12249 *** used, and then restart.
   12250 
   12251 _LT_EOF
   12252 	;;
   12253 	*)
   12254 	  # For security reasons, it is highly recommended that you always
   12255 	  # use absolute paths for naming shared libraries, and exclude the
   12256 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   12257 	  # requires that you compile everything twice, which is a pain.
   12258 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   12259 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12260 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12261 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   12262 	  else
   12263 	    ld_shlibs=no
   12264 	  fi
   12265 	;;
   12266       esac
   12267       ;;
   12268 
   12269     sunos4*)
   12270       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   12271       wlarc=
   12272       hardcode_direct=yes
   12273       hardcode_shlibpath_var=no
   12274       ;;
   12275 
   12276     *)
   12277       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   12278 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12279 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   12280       else
   12281 	ld_shlibs=no
   12282       fi
   12283       ;;
   12284     esac
   12285 
   12286     if test no = "$ld_shlibs"; then
   12287       runpath_var=
   12288       hardcode_libdir_flag_spec=
   12289       export_dynamic_flag_spec=
   12290       whole_archive_flag_spec=
   12291     fi
   12292   else
   12293     # PORTME fill in a description of your system's linker (not GNU ld)
   12294     case $host_os in
   12295     aix3*)
   12296       allow_undefined_flag=unsupported
   12297       always_export_symbols=yes
   12298       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'
   12299       # Note: this linker hardcodes the directories in LIBPATH if there
   12300       # are no directories specified by -L.
   12301       hardcode_minus_L=yes
   12302       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   12303 	# Neither direct hardcoding nor static linking is supported with a
   12304 	# broken collect2.
   12305 	hardcode_direct=unsupported
   12306       fi
   12307       ;;
   12308 
   12309     aix[4-9]*)
   12310       if test ia64 = "$host_cpu"; then
   12311 	# On IA64, the linker does run time linking by default, so we don't
   12312 	# have to do anything special.
   12313 	aix_use_runtimelinking=no
   12314 	exp_sym_flag='-Bexport'
   12315 	no_entry_flag=
   12316       else
   12317 	# If we're using GNU nm, then we don't want the "-C" option.
   12318 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   12319 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   12320 	# weak defined symbols like other global defined symbols, whereas
   12321 	# GNU nm marks them as "W".
   12322 	# While the 'weak' keyword is ignored in the Export File, we need
   12323 	# it in the Import File for the 'aix-soname' feature, so we have
   12324 	# to replace the "-B" option with "-P" for AIX nm.
   12325 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   12326 	  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'
   12327 	else
   12328 	  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'
   12329 	fi
   12330 	aix_use_runtimelinking=no
   12331 
   12332 	# Test if we are trying to use run time linking or normal
   12333 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   12334 	# have runtime linking enabled, and use it for executables.
   12335 	# For shared libraries, we enable/disable runtime linking
   12336 	# depending on the kind of the shared library created -
   12337 	# when "with_aix_soname,aix_use_runtimelinking" is:
   12338 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   12339 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   12340 	#            lib.a           static archive
   12341 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   12342 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   12343 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   12344 	#            lib.a(lib.so.V) shared, rtl:no
   12345 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   12346 	#            lib.a           static archive
   12347 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   12348 	  for ld_flag in $LDFLAGS; do
   12349 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   12350 	    aix_use_runtimelinking=yes
   12351 	    break
   12352 	  fi
   12353 	  done
   12354 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   12355 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   12356 	    # so we don't have lib.a shared libs to link our executables.
   12357 	    # We have to force runtime linking in this case.
   12358 	    aix_use_runtimelinking=yes
   12359 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   12360 	  fi
   12361 	  ;;
   12362 	esac
   12363 
   12364 	exp_sym_flag='-bexport'
   12365 	no_entry_flag='-bnoentry'
   12366       fi
   12367 
   12368       # When large executables or shared objects are built, AIX ld can
   12369       # have problems creating the table of contents.  If linking a library
   12370       # or program results in "error TOC overflow" add -mminimal-toc to
   12371       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   12372       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   12373 
   12374       archive_cmds=''
   12375       hardcode_direct=yes
   12376       hardcode_direct_absolute=yes
   12377       hardcode_libdir_separator=':'
   12378       link_all_deplibs=yes
   12379       file_list_spec='$wl-f,'
   12380       case $with_aix_soname,$aix_use_runtimelinking in
   12381       aix,*) ;; # traditional, no import file
   12382       svr4,* | *,yes) # use import file
   12383 	# The Import File defines what to hardcode.
   12384 	hardcode_direct=no
   12385 	hardcode_direct_absolute=no
   12386 	;;
   12387       esac
   12388 
   12389       if test yes = "$GCC"; then
   12390 	case $host_os in aix4.[012]|aix4.[012].*)
   12391 	# We only want to do this on AIX 4.2 and lower, the check
   12392 	# below for broken collect2 doesn't work under 4.3+
   12393 	  collect2name=`$CC -print-prog-name=collect2`
   12394 	  if test -f "$collect2name" &&
   12395 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   12396 	  then
   12397 	  # We have reworked collect2
   12398 	  :
   12399 	  else
   12400 	  # We have old collect2
   12401 	  hardcode_direct=unsupported
   12402 	  # It fails to find uninstalled libraries when the uninstalled
   12403 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   12404 	  # to unsupported forces relinking
   12405 	  hardcode_minus_L=yes
   12406 	  hardcode_libdir_flag_spec='-L$libdir'
   12407 	  hardcode_libdir_separator=
   12408 	  fi
   12409 	  ;;
   12410 	esac
   12411 	shared_flag='-shared'
   12412 	if test yes = "$aix_use_runtimelinking"; then
   12413 	  shared_flag="$shared_flag "'$wl-G'
   12414 	fi
   12415 	# Need to ensure runtime linking is disabled for the traditional
   12416 	# shared library, or the linker may eventually find shared libraries
   12417 	# /with/ Import File - we do not want to mix them.
   12418 	shared_flag_aix='-shared'
   12419 	shared_flag_svr4='-shared $wl-G'
   12420       else
   12421 	# not using gcc
   12422 	if test ia64 = "$host_cpu"; then
   12423 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   12424 	# chokes on -Wl,-G. The following line is correct:
   12425 	  shared_flag='-G'
   12426 	else
   12427 	  if test yes = "$aix_use_runtimelinking"; then
   12428 	    shared_flag='$wl-G'
   12429 	  else
   12430 	    shared_flag='$wl-bM:SRE'
   12431 	  fi
   12432 	  shared_flag_aix='$wl-bM:SRE'
   12433 	  shared_flag_svr4='$wl-G'
   12434 	fi
   12435       fi
   12436 
   12437       export_dynamic_flag_spec='$wl-bexpall'
   12438       # It seems that -bexpall does not export symbols beginning with
   12439       # underscore (_), so it is better to generate a list of symbols to export.
   12440       always_export_symbols=yes
   12441       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   12442 	# Warning - without using the other runtime loading flags (-brtl),
   12443 	# -berok will link without error, but may produce a broken library.
   12444 	allow_undefined_flag='-berok'
   12445         # Determine the default libpath from the value encoded in an
   12446         # empty executable.
   12447         if test set = "${lt_cv_aix_libpath+set}"; then
   12448   aix_libpath=$lt_cv_aix_libpath
   12449 else
   12450   if test ${lt_cv_aix_libpath_+y}
   12451 then :
   12452   printf %s "(cached) " >&6
   12453 else case e in #(
   12454   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12455 /* end confdefs.h.  */
   12456 
   12457 int
   12458 main (void)
   12459 {
   12460 
   12461   ;
   12462   return 0;
   12463 }
   12464 _ACEOF
   12465 if ac_fn_c_try_link "$LINENO"
   12466 then :
   12467 
   12468   lt_aix_libpath_sed='
   12469       /Import File Strings/,/^$/ {
   12470 	  /^0/ {
   12471 	      s/^0  *\([^ ]*\) *$/\1/
   12472 	      p
   12473 	  }
   12474       }'
   12475   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12476   # Check for a 64-bit object if we didn't find anything.
   12477   if test -z "$lt_cv_aix_libpath_"; then
   12478     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12479   fi
   12480 fi
   12481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12482     conftest$ac_exeext conftest.$ac_ext
   12483   if test -z "$lt_cv_aix_libpath_"; then
   12484     lt_cv_aix_libpath_=/usr/lib:/lib
   12485   fi
   12486    ;;
   12487 esac
   12488 fi
   12489 
   12490   aix_libpath=$lt_cv_aix_libpath_
   12491 fi
   12492 
   12493         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   12494         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
   12495       else
   12496 	if test ia64 = "$host_cpu"; then
   12497 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   12498 	  allow_undefined_flag="-z nodefs"
   12499 	  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"
   12500 	else
   12501 	 # Determine the default libpath from the value encoded in an
   12502 	 # empty executable.
   12503 	 if test set = "${lt_cv_aix_libpath+set}"; then
   12504   aix_libpath=$lt_cv_aix_libpath
   12505 else
   12506   if test ${lt_cv_aix_libpath_+y}
   12507 then :
   12508   printf %s "(cached) " >&6
   12509 else case e in #(
   12510   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12511 /* end confdefs.h.  */
   12512 
   12513 int
   12514 main (void)
   12515 {
   12516 
   12517   ;
   12518   return 0;
   12519 }
   12520 _ACEOF
   12521 if ac_fn_c_try_link "$LINENO"
   12522 then :
   12523 
   12524   lt_aix_libpath_sed='
   12525       /Import File Strings/,/^$/ {
   12526 	  /^0/ {
   12527 	      s/^0  *\([^ ]*\) *$/\1/
   12528 	      p
   12529 	  }
   12530       }'
   12531   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12532   # Check for a 64-bit object if we didn't find anything.
   12533   if test -z "$lt_cv_aix_libpath_"; then
   12534     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12535   fi
   12536 fi
   12537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12538     conftest$ac_exeext conftest.$ac_ext
   12539   if test -z "$lt_cv_aix_libpath_"; then
   12540     lt_cv_aix_libpath_=/usr/lib:/lib
   12541   fi
   12542    ;;
   12543 esac
   12544 fi
   12545 
   12546   aix_libpath=$lt_cv_aix_libpath_
   12547 fi
   12548 
   12549 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   12550 	  # Warning - without using the other run time loading flags,
   12551 	  # -berok will link without error, but may produce a broken library.
   12552 	  no_undefined_flag=' $wl-bernotok'
   12553 	  allow_undefined_flag=' $wl-berok'
   12554 	  if test yes = "$with_gnu_ld"; then
   12555 	    # We only use this code for GNU lds that support --whole-archive.
   12556 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   12557 	  else
   12558 	    # Exported symbols can be pulled into shared objects from archives
   12559 	    whole_archive_flag_spec='$convenience'
   12560 	  fi
   12561 	  archive_cmds_need_lc=yes
   12562 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   12563 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   12564 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   12565 	  if test svr4 != "$with_aix_soname"; then
   12566 	    # This is similar to how AIX traditionally builds its shared libraries.
   12567 	    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'
   12568 	  fi
   12569 	  if test aix != "$with_aix_soname"; then
   12570 	    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'
   12571 	  else
   12572 	    # used by -dlpreopen to get the symbols
   12573 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   12574 	  fi
   12575 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   12576 	fi
   12577       fi
   12578       ;;
   12579 
   12580     amigaos*)
   12581       case $host_cpu in
   12582       powerpc)
   12583             # see comment about AmigaOS4 .so support
   12584             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12585             archive_expsym_cmds=''
   12586         ;;
   12587       m68k)
   12588             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)'
   12589             hardcode_libdir_flag_spec='-L$libdir'
   12590             hardcode_minus_L=yes
   12591         ;;
   12592       esac
   12593       ;;
   12594 
   12595     bsdi[45]*)
   12596       export_dynamic_flag_spec=-rdynamic
   12597       ;;
   12598 
   12599     cygwin* | mingw* | windows* | pw32* | cegcc*)
   12600       # When not using gcc, we currently assume that we are using
   12601       # Microsoft Visual C++ or Intel C++ Compiler.
   12602       # hardcode_libdir_flag_spec is actually meaningless, as there is
   12603       # no search path for DLLs.
   12604       case $cc_basename in
   12605       cl* | icl*)
   12606 	# Native MSVC or ICC
   12607 	hardcode_libdir_flag_spec=' '
   12608 	allow_undefined_flag=unsupported
   12609 	always_export_symbols=yes
   12610 	file_list_spec='@'
   12611 	# Tell ltmain to make .lib files, not .a files.
   12612 	libext=lib
   12613 	# Tell ltmain to make .dll files, not .so files.
   12614 	shrext_cmds=.dll
   12615 	# FIXME: Setting linknames here is a bad hack.
   12616 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   12617 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   12618             cp "$export_symbols" "$output_objdir/$soname.def";
   12619             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   12620           else
   12621             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   12622           fi~
   12623           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   12624           linknames='
   12625 	# The linker will not automatically build a static lib if we build a DLL.
   12626 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   12627 	enable_shared_with_static_runtimes=yes
   12628 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   12629 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   12630 	# Don't use ranlib
   12631 	old_postinstall_cmds='chmod 644 $oldlib'
   12632 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   12633           lt_tool_outputfile="@TOOL_OUTPUT@"~
   12634           case $lt_outputfile in
   12635             *.exe|*.EXE) ;;
   12636             *)
   12637               lt_outputfile=$lt_outputfile.exe
   12638               lt_tool_outputfile=$lt_tool_outputfile.exe
   12639               ;;
   12640           esac~
   12641           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   12642             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   12643             $RM "$lt_outputfile.manifest";
   12644           fi'
   12645 	;;
   12646       *)
   12647 	# Assume MSVC and ICC wrapper
   12648 	hardcode_libdir_flag_spec=' '
   12649 	allow_undefined_flag=unsupported
   12650 	# Tell ltmain to make .lib files, not .a files.
   12651 	libext=lib
   12652 	# Tell ltmain to make .dll files, not .so files.
   12653 	shrext_cmds=.dll
   12654 	# FIXME: Setting linknames here is a bad hack.
   12655 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   12656 	# The linker will automatically build a .lib file if we build a DLL.
   12657 	old_archive_from_new_cmds='true'
   12658 	# FIXME: Should let the user specify the lib program.
   12659 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   12660 	enable_shared_with_static_runtimes=yes
   12661 	;;
   12662       esac
   12663       ;;
   12664 
   12665     darwin* | rhapsody*)
   12666 
   12667 
   12668   archive_cmds_need_lc=no
   12669   hardcode_direct=no
   12670   hardcode_automatic=yes
   12671   hardcode_shlibpath_var=unsupported
   12672   if test yes = "$lt_cv_ld_force_load"; then
   12673     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\"`'
   12674 
   12675   else
   12676     whole_archive_flag_spec=''
   12677   fi
   12678   link_all_deplibs=yes
   12679   allow_undefined_flag=$_lt_dar_allow_undefined
   12680   case $cc_basename in
   12681      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   12682      *) _lt_dar_can_shared=$GCC ;;
   12683   esac
   12684   if test yes = "$_lt_dar_can_shared"; then
   12685     output_verbose_link_cmd=func_echo_all
   12686     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   12687     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   12688     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"
   12689     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"
   12690 
   12691   else
   12692   ld_shlibs=no
   12693   fi
   12694 
   12695       ;;
   12696 
   12697     dgux*)
   12698       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12699       hardcode_libdir_flag_spec='-L$libdir'
   12700       hardcode_shlibpath_var=no
   12701       ;;
   12702 
   12703     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   12704     # support.  Future versions do this automatically, but an explicit c++rt0.o
   12705     # does not break anything, and helps significantly (at the cost of a little
   12706     # extra space).
   12707     freebsd2.2*)
   12708       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   12709       hardcode_libdir_flag_spec='-R$libdir'
   12710       hardcode_direct=yes
   12711       hardcode_shlibpath_var=no
   12712       ;;
   12713 
   12714     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   12715     freebsd2.*)
   12716       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   12717       hardcode_direct=yes
   12718       hardcode_minus_L=yes
   12719       hardcode_shlibpath_var=no
   12720       ;;
   12721 
   12722     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   12723     freebsd* | dragonfly* | midnightbsd*)
   12724       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12725       hardcode_libdir_flag_spec='-R$libdir'
   12726       hardcode_direct=yes
   12727       hardcode_shlibpath_var=no
   12728       ;;
   12729 
   12730     hpux9*)
   12731       if test yes = "$GCC"; then
   12732 	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'
   12733       else
   12734 	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'
   12735       fi
   12736       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12737       hardcode_libdir_separator=:
   12738       hardcode_direct=yes
   12739 
   12740       # hardcode_minus_L: Not really in the search PATH,
   12741       # but as the default location of the library.
   12742       hardcode_minus_L=yes
   12743       export_dynamic_flag_spec='$wl-E'
   12744       ;;
   12745 
   12746     hpux10*)
   12747       if test yes,no = "$GCC,$with_gnu_ld"; then
   12748 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12749       else
   12750 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   12751       fi
   12752       if test no = "$with_gnu_ld"; then
   12753 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12754 	hardcode_libdir_separator=:
   12755 	hardcode_direct=yes
   12756 	hardcode_direct_absolute=yes
   12757 	export_dynamic_flag_spec='$wl-E'
   12758 	# hardcode_minus_L: Not really in the search PATH,
   12759 	# but as the default location of the library.
   12760 	hardcode_minus_L=yes
   12761       fi
   12762       ;;
   12763 
   12764     hpux11*)
   12765       if test yes,no = "$GCC,$with_gnu_ld"; then
   12766 	case $host_cpu in
   12767 	hppa*64*)
   12768 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12769 	  ;;
   12770 	ia64*)
   12771 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   12772 	  ;;
   12773 	*)
   12774 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12775 	  ;;
   12776 	esac
   12777       else
   12778 	case $host_cpu in
   12779 	hppa*64*)
   12780 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12781 	  ;;
   12782 	ia64*)
   12783 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   12784 	  ;;
   12785 	*)
   12786 
   12787 	  # Older versions of the 11.00 compiler do not understand -b yet
   12788 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   12789 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   12790 printf %s "checking if $CC understands -b... " >&6; }
   12791 if test ${lt_cv_prog_compiler__b+y}
   12792 then :
   12793   printf %s "(cached) " >&6
   12794 else case e in #(
   12795   e) lt_cv_prog_compiler__b=no
   12796    save_LDFLAGS=$LDFLAGS
   12797    LDFLAGS="$LDFLAGS -b"
   12798    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12799    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12800      # The linker can only warn and ignore the option if not recognized
   12801      # So say no if there are warnings
   12802      if test -s conftest.err; then
   12803        # Append any errors to the config.log.
   12804        cat conftest.err 1>&5
   12805        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12806        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12807        if diff conftest.exp conftest.er2 >/dev/null; then
   12808          lt_cv_prog_compiler__b=yes
   12809        fi
   12810      else
   12811        lt_cv_prog_compiler__b=yes
   12812      fi
   12813    fi
   12814    $RM -r conftest*
   12815    LDFLAGS=$save_LDFLAGS
   12816  ;;
   12817 esac
   12818 fi
   12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   12820 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   12821 
   12822 if test yes = "$lt_cv_prog_compiler__b"; then
   12823     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12824 else
   12825     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   12826 fi
   12827 
   12828 	  ;;
   12829 	esac
   12830       fi
   12831       if test no = "$with_gnu_ld"; then
   12832 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12833 	hardcode_libdir_separator=:
   12834 
   12835 	case $host_cpu in
   12836 	hppa*64*|ia64*)
   12837 	  hardcode_direct=no
   12838 	  hardcode_shlibpath_var=no
   12839 	  ;;
   12840 	*)
   12841 	  hardcode_direct=yes
   12842 	  hardcode_direct_absolute=yes
   12843 	  export_dynamic_flag_spec='$wl-E'
   12844 
   12845 	  # hardcode_minus_L: Not really in the search PATH,
   12846 	  # but as the default location of the library.
   12847 	  hardcode_minus_L=yes
   12848 	  ;;
   12849 	esac
   12850       fi
   12851       ;;
   12852 
   12853     irix5* | irix6* | nonstopux*)
   12854       if test yes = "$GCC"; then
   12855 	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'
   12856 	# Try to use the -exported_symbol ld option, if it does not
   12857 	# work, assume that -exports_file does not work either and
   12858 	# implicitly export all symbols.
   12859 	# This should be the same for all languages, so no per-tag cache variable.
   12860 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   12861 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   12862 if test ${lt_cv_irix_exported_symbol+y}
   12863 then :
   12864   printf %s "(cached) " >&6
   12865 else case e in #(
   12866   e) save_LDFLAGS=$LDFLAGS
   12867 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   12868 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12869 /* end confdefs.h.  */
   12870 int foo (void) { return 0; }
   12871 _ACEOF
   12872 if ac_fn_c_try_link "$LINENO"
   12873 then :
   12874   lt_cv_irix_exported_symbol=yes
   12875 else case e in #(
   12876   e) lt_cv_irix_exported_symbol=no ;;
   12877 esac
   12878 fi
   12879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12880     conftest$ac_exeext conftest.$ac_ext
   12881            LDFLAGS=$save_LDFLAGS ;;
   12882 esac
   12883 fi
   12884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   12885 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   12886 	if test yes = "$lt_cv_irix_exported_symbol"; then
   12887           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'
   12888 	fi
   12889       else
   12890 	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'
   12891 	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'
   12892       fi
   12893       archive_cmds_need_lc='no'
   12894       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12895       hardcode_libdir_separator=:
   12896       inherit_rpath=yes
   12897       link_all_deplibs=yes
   12898       ;;
   12899 
   12900     linux*)
   12901       case $cc_basename in
   12902       tcc*)
   12903 	# Fabrice Bellard et al's Tiny C Compiler
   12904 	ld_shlibs=yes
   12905 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12906 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12907 	;;
   12908       esac
   12909       ;;
   12910 
   12911     *-mlibc)
   12912       ;;
   12913 
   12914     netbsd* | netbsdelf*-gnu)
   12915       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12916 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   12917       else
   12918 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   12919       fi
   12920       hardcode_libdir_flag_spec='-R$libdir'
   12921       hardcode_direct=yes
   12922       hardcode_shlibpath_var=no
   12923       ;;
   12924 
   12925     newsos6)
   12926       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12927       hardcode_direct=yes
   12928       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12929       hardcode_libdir_separator=:
   12930       hardcode_shlibpath_var=no
   12931       ;;
   12932 
   12933     *nto* | *qnx*)
   12934       ;;
   12935 
   12936     openbsd*)
   12937       if test -f /usr/libexec/ld.so; then
   12938 	hardcode_direct=yes
   12939 	hardcode_shlibpath_var=no
   12940 	hardcode_direct_absolute=yes
   12941 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12942 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12943 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   12944 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12945 	  export_dynamic_flag_spec='$wl-E'
   12946 	else
   12947 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12948 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12949 	fi
   12950       else
   12951 	ld_shlibs=no
   12952       fi
   12953       ;;
   12954 
   12955     os2*)
   12956       hardcode_libdir_flag_spec='-L$libdir'
   12957       hardcode_minus_L=yes
   12958       allow_undefined_flag=unsupported
   12959       shrext_cmds=.dll
   12960       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12961 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12962 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12963 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12964 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   12965 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12966 	emximp -o $lib $output_objdir/$libname.def'
   12967       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12968 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12969 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12970 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12971 	prefix_cmds="$SED"~
   12972 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   12973 	  prefix_cmds="$prefix_cmds -e 1d";
   12974 	fi~
   12975 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   12976 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   12977 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12978 	emximp -o $lib $output_objdir/$libname.def'
   12979       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   12980       enable_shared_with_static_runtimes=yes
   12981       file_list_spec='@'
   12982       ;;
   12983 
   12984     osf3*)
   12985       if test yes = "$GCC"; then
   12986 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   12987 	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'
   12988       else
   12989 	allow_undefined_flag=' -expect_unresolved \*'
   12990 	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'
   12991       fi
   12992       archive_cmds_need_lc='no'
   12993       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12994       hardcode_libdir_separator=:
   12995       ;;
   12996 
   12997     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   12998       if test yes = "$GCC"; then
   12999 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   13000 	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'
   13001 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   13002       else
   13003 	allow_undefined_flag=' -expect_unresolved \*'
   13004 	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'
   13005 	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~
   13006           $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'
   13007 
   13008 	# Both c and cxx compiler support -rpath directly
   13009 	hardcode_libdir_flag_spec='-rpath $libdir'
   13010       fi
   13011       archive_cmds_need_lc='no'
   13012       hardcode_libdir_separator=:
   13013       ;;
   13014 
   13015     serenity*)
   13016       ;;
   13017 
   13018     solaris*)
   13019       no_undefined_flag=' -z defs'
   13020       if test yes = "$GCC"; then
   13021 	wlarc='$wl'
   13022 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   13023 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13024           $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'
   13025       else
   13026 	case `$CC -V 2>&1` in
   13027 	*"Compilers 5.0"*)
   13028 	  wlarc=''
   13029 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13030 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13031             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   13032 	  ;;
   13033 	*)
   13034 	  wlarc='$wl'
   13035 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   13036 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13037             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   13038 	  ;;
   13039 	esac
   13040       fi
   13041       hardcode_libdir_flag_spec='-R$libdir'
   13042       hardcode_shlibpath_var=no
   13043       case $host_os in
   13044       solaris2.[0-5] | solaris2.[0-5].*) ;;
   13045       *)
   13046 	# The compiler driver will combine and reorder linker options,
   13047 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   13048 	# but is careful enough not to reorder.
   13049 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   13050 	if test yes = "$GCC"; then
   13051 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   13052 	else
   13053 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   13054 	fi
   13055 	;;
   13056       esac
   13057       link_all_deplibs=yes
   13058       ;;
   13059 
   13060     sunos4*)
   13061       if test sequent = "$host_vendor"; then
   13062 	# Use $CC to link under sequent, because it throws in some extra .o
   13063 	# files that make .init and .fini sections work.
   13064 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   13065       else
   13066 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   13067       fi
   13068       hardcode_libdir_flag_spec='-L$libdir'
   13069       hardcode_direct=yes
   13070       hardcode_minus_L=yes
   13071       hardcode_shlibpath_var=no
   13072       ;;
   13073 
   13074     sysv4)
   13075       case $host_vendor in
   13076 	sni)
   13077 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13078 	  hardcode_direct=yes # is this really true???
   13079 	;;
   13080 	siemens)
   13081 	  ## LD is ld it makes a PLAMLIB
   13082 	  ## CC just makes a GrossModule.
   13083 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   13084 	  reload_cmds='$CC -r -o $output$reload_objs'
   13085 	  hardcode_direct=no
   13086         ;;
   13087 	motorola)
   13088 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13089 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   13090 	;;
   13091       esac
   13092       runpath_var='LD_RUN_PATH'
   13093       hardcode_shlibpath_var=no
   13094       ;;
   13095 
   13096     sysv4.3*)
   13097       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13098       hardcode_shlibpath_var=no
   13099       export_dynamic_flag_spec='-Bexport'
   13100       ;;
   13101 
   13102     sysv4*MP*)
   13103       if test -d /usr/nec; then
   13104 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13105 	hardcode_shlibpath_var=no
   13106 	runpath_var=LD_RUN_PATH
   13107 	hardcode_runpath_var=yes
   13108 	ld_shlibs=yes
   13109       fi
   13110       ;;
   13111 
   13112     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13113       no_undefined_flag='$wl-z,text'
   13114       archive_cmds_need_lc=no
   13115       hardcode_shlibpath_var=no
   13116       runpath_var='LD_RUN_PATH'
   13117 
   13118       if test yes = "$GCC"; then
   13119 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13120 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13121       else
   13122 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13123 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13124       fi
   13125       ;;
   13126 
   13127     sysv5* | sco3.2v5* | sco5v6*)
   13128       # Note: We CANNOT use -z defs as we might desire, because we do not
   13129       # link with -lc, and that would cause any symbols used from libc to
   13130       # always be unresolved, which means just about no library would
   13131       # ever link correctly.  If we're not using GNU ld we use -z text
   13132       # though, which does catch some bad symbols but isn't as heavy-handed
   13133       # as -z defs.
   13134       no_undefined_flag='$wl-z,text'
   13135       allow_undefined_flag='$wl-z,nodefs'
   13136       archive_cmds_need_lc=no
   13137       hardcode_shlibpath_var=no
   13138       hardcode_libdir_flag_spec='$wl-R,$libdir'
   13139       hardcode_libdir_separator=':'
   13140       link_all_deplibs=yes
   13141       export_dynamic_flag_spec='$wl-Bexport'
   13142       runpath_var='LD_RUN_PATH'
   13143 
   13144       if test yes = "$GCC"; then
   13145 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13146 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13147       else
   13148 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13149 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13150       fi
   13151       ;;
   13152 
   13153     uts4*)
   13154       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13155       hardcode_libdir_flag_spec='-L$libdir'
   13156       hardcode_shlibpath_var=no
   13157       ;;
   13158 
   13159     *)
   13160       ld_shlibs=no
   13161       ;;
   13162     esac
   13163 
   13164     if test sni = "$host_vendor"; then
   13165       case $host in
   13166       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   13167 	export_dynamic_flag_spec='$wl-Blargedynsym'
   13168 	;;
   13169       esac
   13170     fi
   13171   fi
   13172 
   13173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   13174 printf "%s\n" "$ld_shlibs" >&6; }
   13175 test no = "$ld_shlibs" && can_build_shared=no
   13176 
   13177 with_gnu_ld=$with_gnu_ld
   13178 
   13179 
   13180 
   13181 
   13182 
   13183 
   13184 
   13185 
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 #
   13194 # Do we need to explicitly link libc?
   13195 #
   13196 case "x$archive_cmds_need_lc" in
   13197 x|xyes)
   13198   # Assume -lc should be added
   13199   archive_cmds_need_lc=yes
   13200 
   13201   if test yes,yes = "$GCC,$enable_shared"; then
   13202     case $archive_cmds in
   13203     *'~'*)
   13204       # FIXME: we may have to deal with multi-command sequences.
   13205       ;;
   13206     '$CC '*)
   13207       # Test whether the compiler implicitly links with -lc since on some
   13208       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13209       # to ld, don't add -lc before -lgcc.
   13210       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   13211 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   13212 if test ${lt_cv_archive_cmds_need_lc+y}
   13213 then :
   13214   printf %s "(cached) " >&6
   13215 else case e in #(
   13216   e) $RM conftest*
   13217 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13218 
   13219 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13220   (eval $ac_compile) 2>&5
   13221   ac_status=$?
   13222   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13223   test $ac_status = 0; } 2>conftest.err; then
   13224 	  soname=conftest
   13225 	  lib=conftest
   13226 	  libobjs=conftest.$ac_objext
   13227 	  deplibs=
   13228 	  wl=$lt_prog_compiler_wl
   13229 	  pic_flag=$lt_prog_compiler_pic
   13230 	  compiler_flags=-v
   13231 	  linker_flags=-v
   13232 	  verstring=
   13233 	  output_objdir=.
   13234 	  libname=conftest
   13235 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   13236 	  allow_undefined_flag=
   13237 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   13238   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13239   ac_status=$?
   13240   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13241   test $ac_status = 0; }
   13242 	  then
   13243 	    lt_cv_archive_cmds_need_lc=no
   13244 	  else
   13245 	    lt_cv_archive_cmds_need_lc=yes
   13246 	  fi
   13247 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   13248 	else
   13249 	  cat conftest.err 1>&5
   13250 	fi
   13251 	$RM conftest*
   13252 	 ;;
   13253 esac
   13254 fi
   13255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   13256 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   13257       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   13258       ;;
   13259     esac
   13260   fi
   13261   ;;
   13262 esac
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 
   13290 
   13291 
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 
   13321 
   13322 
   13323 
   13324 
   13325 
   13326 
   13327 
   13328 
   13329 
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   13416 printf %s "checking dynamic linker characteristics... " >&6; }
   13417 
   13418 if test yes = "$GCC"; then
   13419   case $host_os in
   13420     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   13421     *) lt_awk_arg='/^libraries:/' ;;
   13422   esac
   13423   case $host_os in
   13424     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   13425     *) lt_sed_strip_eq='s|=/|/|g' ;;
   13426   esac
   13427   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   13428   case $lt_search_path_spec in
   13429   *\;*)
   13430     # if the path contains ";" then we assume it to be the separator
   13431     # otherwise default to the standard path separator (i.e. ":") - it is
   13432     # assumed that no part of a normal pathname contains ";" but that should
   13433     # okay in the real world where ";" in dirpaths is itself problematic.
   13434     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   13435     ;;
   13436   *)
   13437     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   13438     ;;
   13439   esac
   13440   # Ok, now we have the path, separated by spaces, we can step through it
   13441   # and add multilib dir if necessary...
   13442   lt_tmp_lt_search_path_spec=
   13443   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   13444   # ...but if some path component already ends with the multilib dir we assume
   13445   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   13446   case "$lt_multi_os_dir; $lt_search_path_spec " in
   13447   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   13448     lt_multi_os_dir=
   13449     ;;
   13450   esac
   13451   for lt_sys_path in $lt_search_path_spec; do
   13452     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   13453       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   13454     elif test -n "$lt_multi_os_dir"; then
   13455       test -d "$lt_sys_path" && \
   13456 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   13457     fi
   13458   done
   13459   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   13460 BEGIN {RS = " "; FS = "/|\n";} {
   13461   lt_foo = "";
   13462   lt_count = 0;
   13463   for (lt_i = NF; lt_i > 0; lt_i--) {
   13464     if ($lt_i != "" && $lt_i != ".") {
   13465       if ($lt_i == "..") {
   13466         lt_count++;
   13467       } else {
   13468         if (lt_count == 0) {
   13469           lt_foo = "/" $lt_i lt_foo;
   13470         } else {
   13471           lt_count--;
   13472         }
   13473       }
   13474     }
   13475   }
   13476   if (lt_foo != "") { lt_freq[lt_foo]++; }
   13477   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   13478 }'`
   13479   # AWK program above erroneously prepends '/' to C:/dos/paths
   13480   # for these hosts.
   13481   case $host_os in
   13482     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   13483       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   13484   esac
   13485   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   13486 else
   13487   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13488 fi
   13489 library_names_spec=
   13490 libname_spec='lib$name'
   13491 soname_spec=
   13492 shrext_cmds=.so
   13493 postinstall_cmds=
   13494 postuninstall_cmds=
   13495 finish_cmds=
   13496 finish_eval=
   13497 shlibpath_var=
   13498 shlibpath_overrides_runpath=unknown
   13499 version_type=none
   13500 dynamic_linker="$host_os ld.so"
   13501 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13502 need_lib_prefix=unknown
   13503 hardcode_into_libs=no
   13504 
   13505 # when you set need_version to no, make sure it does not cause -set_version
   13506 # flags to be left without arguments
   13507 need_version=unknown
   13508 
   13509 
   13510 
   13511 case $host_os in
   13512 aix3*)
   13513   version_type=linux # correct to gnu/linux during the next big refactor
   13514   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   13515   shlibpath_var=LIBPATH
   13516 
   13517   # AIX 3 has no versioning support, so we append a major version to the name.
   13518   soname_spec='$libname$release$shared_ext$major'
   13519   ;;
   13520 
   13521 aix[4-9]*)
   13522   version_type=linux # correct to gnu/linux during the next big refactor
   13523   need_lib_prefix=no
   13524   need_version=no
   13525   hardcode_into_libs=yes
   13526   if test ia64 = "$host_cpu"; then
   13527     # AIX 5 supports IA64
   13528     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   13529     shlibpath_var=LD_LIBRARY_PATH
   13530   else
   13531     # With GCC up to 2.95.x, collect2 would create an import file
   13532     # for dependence libraries.  The import file would start with
   13533     # the line '#! .'.  This would cause the generated library to
   13534     # depend on '.', always an invalid library.  This was fixed in
   13535     # development snapshots of GCC prior to 3.0.
   13536     case $host_os in
   13537       aix4 | aix4.[01] | aix4.[01].*)
   13538       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13539 	   echo ' yes '
   13540 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   13541 	:
   13542       else
   13543 	can_build_shared=no
   13544       fi
   13545       ;;
   13546     esac
   13547     # Using Import Files as archive members, it is possible to support
   13548     # filename-based versioning of shared library archives on AIX. While
   13549     # this would work for both with and without runtime linking, it will
   13550     # prevent static linking of such archives. So we do filename-based
   13551     # shared library versioning with .so extension only, which is used
   13552     # when both runtime linking and shared linking is enabled.
   13553     # Unfortunately, runtime linking may impact performance, so we do
   13554     # not want this to be the default eventually. Also, we use the
   13555     # versioned .so libs for executables only if there is the -brtl
   13556     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   13557     # To allow for filename-based versioning support, we need to create
   13558     # libNAME.so.V as an archive file, containing:
   13559     # *) an Import File, referring to the versioned filename of the
   13560     #    archive as well as the shared archive member, telling the
   13561     #    bitwidth (32 or 64) of that shared object, and providing the
   13562     #    list of exported symbols of that shared object, eventually
   13563     #    decorated with the 'weak' keyword
   13564     # *) the shared object with the F_LOADONLY flag set, to really avoid
   13565     #    it being seen by the linker.
   13566     # At run time we better use the real file rather than another symlink,
   13567     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   13568 
   13569     case $with_aix_soname,$aix_use_runtimelinking in
   13570     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   13571     # soname into executable. Probably we can add versioning support to
   13572     # collect2, so additional links can be useful in future.
   13573     aix,yes) # traditional libtool
   13574       dynamic_linker='AIX unversionable lib.so'
   13575       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13576       # instead of lib<name>.a to let people know that these are not
   13577       # typical AIX shared libraries.
   13578       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13579       ;;
   13580     aix,no) # traditional AIX only
   13581       dynamic_linker='AIX lib.a(lib.so.V)'
   13582       # We preserve .a as extension for shared libraries through AIX4.2
   13583       # and later when we are not doing run time linking.
   13584       library_names_spec='$libname$release.a $libname.a'
   13585       soname_spec='$libname$release$shared_ext$major'
   13586       ;;
   13587     svr4,*) # full svr4 only
   13588       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   13589       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   13590       # We do not specify a path in Import Files, so LIBPATH fires.
   13591       shlibpath_overrides_runpath=yes
   13592       ;;
   13593     *,yes) # both, prefer svr4
   13594       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   13595       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   13596       # unpreferred sharedlib libNAME.a needs extra handling
   13597       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"'
   13598       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"'
   13599       # We do not specify a path in Import Files, so LIBPATH fires.
   13600       shlibpath_overrides_runpath=yes
   13601       ;;
   13602     *,no) # both, prefer aix
   13603       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   13604       library_names_spec='$libname$release.a $libname.a'
   13605       soname_spec='$libname$release$shared_ext$major'
   13606       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   13607       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)'
   13608       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"'
   13609       ;;
   13610     esac
   13611     shlibpath_var=LIBPATH
   13612   fi
   13613   ;;
   13614 
   13615 amigaos*)
   13616   case $host_cpu in
   13617   powerpc)
   13618     # Since July 2007 AmigaOS4 officially supports .so libraries.
   13619     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   13620     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13621     ;;
   13622   m68k)
   13623     library_names_spec='$libname.ixlibrary $libname.a'
   13624     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13625     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'
   13626     ;;
   13627   esac
   13628   ;;
   13629 
   13630 beos*)
   13631   library_names_spec='$libname$shared_ext'
   13632   dynamic_linker="$host_os ld.so"
   13633   shlibpath_var=LIBRARY_PATH
   13634   ;;
   13635 
   13636 bsdi[45]*)
   13637   version_type=linux # correct to gnu/linux during the next big refactor
   13638   need_version=no
   13639   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13640   soname_spec='$libname$release$shared_ext$major'
   13641   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13642   shlibpath_var=LD_LIBRARY_PATH
   13643   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13644   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13645   # the default ld.so.conf also contains /usr/contrib/lib and
   13646   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13647   # libtool to hard-code these into programs
   13648   ;;
   13649 
   13650 cygwin* | mingw* | windows* | pw32* | cegcc*)
   13651   version_type=windows
   13652   shrext_cmds=.dll
   13653   need_version=no
   13654   need_lib_prefix=no
   13655 
   13656   case $GCC,$cc_basename in
   13657   yes,*)
   13658     # gcc
   13659     library_names_spec='$libname.dll.a'
   13660     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13661     # If user builds GCC with multilib enabled,
   13662     # it should just install on $(libdir)
   13663     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   13664     if test xyes = x"$multilib"; then
   13665       postinstall_cmds='base_file=`basename \$file`~
   13666         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13667         dldir=$destdir/`dirname \$dlpath`~
   13668         $install_prog $dir/$dlname $destdir/$dlname~
   13669         chmod a+x $destdir/$dlname~
   13670         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13671           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   13672         fi'
   13673     else
   13674       postinstall_cmds='base_file=`basename \$file`~
   13675         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13676         dldir=$destdir/`dirname \$dlpath`~
   13677         test -d \$dldir || mkdir -p \$dldir~
   13678         $install_prog $dir/$dlname \$dldir/$dlname~
   13679         chmod a+x \$dldir/$dlname~
   13680         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13681           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13682         fi'
   13683     fi
   13684     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13685       dlpath=$dir/\$dldll~
   13686        $RM \$dlpath'
   13687     shlibpath_overrides_runpath=yes
   13688 
   13689     case $host_os in
   13690     cygwin*)
   13691       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13692       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13693 
   13694       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   13695       ;;
   13696     mingw* | windows* | cegcc*)
   13697       # MinGW DLLs use traditional 'lib' prefix
   13698       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13699       ;;
   13700     pw32*)
   13701       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13702       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13703       ;;
   13704     esac
   13705     dynamic_linker='Win32 ld.exe'
   13706     ;;
   13707 
   13708   *,cl* | *,icl*)
   13709     # Native MSVC or ICC
   13710     libname_spec='$name'
   13711     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13712     library_names_spec='$libname.dll.lib'
   13713 
   13714     case $build_os in
   13715     mingw* | windows*)
   13716       sys_lib_search_path_spec=
   13717       lt_save_ifs=$IFS
   13718       IFS=';'
   13719       for lt_path in $LIB
   13720       do
   13721         IFS=$lt_save_ifs
   13722         # Let DOS variable expansion print the short 8.3 style file name.
   13723         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   13724         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   13725       done
   13726       IFS=$lt_save_ifs
   13727       # Convert to MSYS style.
   13728       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   13729       ;;
   13730     cygwin*)
   13731       # Convert to unix form, then to dos form, then back to unix form
   13732       # but this time dos style (no spaces!) so that the unix form looks
   13733       # like /cygdrive/c/PROGRA~1:/cygdr...
   13734       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   13735       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   13736       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   13737       ;;
   13738     *)
   13739       sys_lib_search_path_spec=$LIB
   13740       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   13741         # It is most probably a Windows format PATH.
   13742         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13743       else
   13744         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   13745       fi
   13746       # FIXME: find the short name or the path components, as spaces are
   13747       # common. (e.g. "Program Files" -> "PROGRA~1")
   13748       ;;
   13749     esac
   13750 
   13751     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13752     postinstall_cmds='base_file=`basename \$file`~
   13753       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13754       dldir=$destdir/`dirname \$dlpath`~
   13755       test -d \$dldir || mkdir -p \$dldir~
   13756       $install_prog $dir/$dlname \$dldir/$dlname'
   13757     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13758       dlpath=$dir/\$dldll~
   13759        $RM \$dlpath'
   13760     shlibpath_overrides_runpath=yes
   13761     dynamic_linker='Win32 link.exe'
   13762     ;;
   13763 
   13764   *)
   13765     # Assume MSVC and ICC wrapper
   13766     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   13767     dynamic_linker='Win32 ld.exe'
   13768     ;;
   13769   esac
   13770   # FIXME: first we should search . and the directory the executable is in
   13771   shlibpath_var=PATH
   13772   ;;
   13773 
   13774 darwin* | rhapsody*)
   13775   dynamic_linker="$host_os dyld"
   13776   version_type=darwin
   13777   need_lib_prefix=no
   13778   need_version=no
   13779   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   13780   soname_spec='$libname$release$major$shared_ext'
   13781   shlibpath_overrides_runpath=yes
   13782   shlibpath_var=DYLD_LIBRARY_PATH
   13783   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13784 
   13785   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   13786   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13787   ;;
   13788 
   13789 dgux*)
   13790   version_type=linux # correct to gnu/linux during the next big refactor
   13791   need_lib_prefix=no
   13792   need_version=no
   13793   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13794   soname_spec='$libname$release$shared_ext$major'
   13795   shlibpath_var=LD_LIBRARY_PATH
   13796   ;;
   13797 
   13798 freebsd* | dragonfly* | midnightbsd*)
   13799   # DragonFly does not have aout.  When/if they implement a new
   13800   # versioning mechanism, adjust this.
   13801   if test -x /usr/bin/objformat; then
   13802     objformat=`/usr/bin/objformat`
   13803   else
   13804     case $host_os in
   13805     freebsd[23].*) objformat=aout ;;
   13806     *) objformat=elf ;;
   13807     esac
   13808   fi
   13809   version_type=freebsd-$objformat
   13810   case $version_type in
   13811     freebsd-elf*)
   13812       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13813       soname_spec='$libname$release$shared_ext$major'
   13814       need_version=no
   13815       need_lib_prefix=no
   13816       ;;
   13817     freebsd-*)
   13818       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13819       need_version=yes
   13820       ;;
   13821   esac
   13822   case $host_cpu in
   13823     powerpc64)
   13824       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   13825       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   13826       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13827 /* end confdefs.h.  */
   13828 int test_pointer_size[sizeof (void *) - 5];
   13829 
   13830 _ACEOF
   13831 if ac_fn_c_try_compile "$LINENO"
   13832 then :
   13833   shlibpath_var=LD_LIBRARY_PATH
   13834 else case e in #(
   13835   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   13836 esac
   13837 fi
   13838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13839       ;;
   13840     *)
   13841       shlibpath_var=LD_LIBRARY_PATH
   13842       ;;
   13843   esac
   13844   case $host_os in
   13845   freebsd2.*)
   13846     shlibpath_overrides_runpath=yes
   13847     ;;
   13848   freebsd3.[01]* | freebsdelf3.[01]*)
   13849     shlibpath_overrides_runpath=yes
   13850     hardcode_into_libs=yes
   13851     ;;
   13852   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13853   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13854     shlibpath_overrides_runpath=no
   13855     hardcode_into_libs=yes
   13856     ;;
   13857   *) # from 4.6 on, and DragonFly
   13858     shlibpath_overrides_runpath=yes
   13859     hardcode_into_libs=yes
   13860     ;;
   13861   esac
   13862   ;;
   13863 
   13864 haiku*)
   13865   version_type=linux # correct to gnu/linux during the next big refactor
   13866   need_lib_prefix=no
   13867   need_version=no
   13868   dynamic_linker="$host_os runtime_loader"
   13869   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13870   soname_spec='$libname$release$shared_ext$major'
   13871   shlibpath_var=LIBRARY_PATH
   13872   shlibpath_overrides_runpath=no
   13873   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   13874   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   13875   hardcode_into_libs=no
   13876   ;;
   13877 
   13878 hpux9* | hpux10* | hpux11*)
   13879   # Give a soname corresponding to the major version so that dld.sl refuses to
   13880   # link against other versions.
   13881   version_type=sunos
   13882   need_lib_prefix=no
   13883   need_version=no
   13884   case $host_cpu in
   13885   ia64*)
   13886     shrext_cmds='.so'
   13887     hardcode_into_libs=yes
   13888     dynamic_linker="$host_os dld.so"
   13889     shlibpath_var=LD_LIBRARY_PATH
   13890     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13891     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13892     soname_spec='$libname$release$shared_ext$major'
   13893     if test 32 = "$HPUX_IA64_MODE"; then
   13894       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13895       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   13896     else
   13897       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13898       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   13899     fi
   13900     ;;
   13901   hppa*64*)
   13902     shrext_cmds='.sl'
   13903     hardcode_into_libs=yes
   13904     dynamic_linker="$host_os dld.sl"
   13905     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13906     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13907     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13908     soname_spec='$libname$release$shared_ext$major'
   13909     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13910     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13911     ;;
   13912   *)
   13913     shrext_cmds='.sl'
   13914     dynamic_linker="$host_os dld.sl"
   13915     shlibpath_var=SHLIB_PATH
   13916     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13917     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13918     soname_spec='$libname$release$shared_ext$major'
   13919     ;;
   13920   esac
   13921   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   13922   postinstall_cmds='chmod 555 $lib'
   13923   # or fails outright, so override atomically:
   13924   install_override_mode=555
   13925   ;;
   13926 
   13927 interix[3-9]*)
   13928   version_type=linux # correct to gnu/linux during the next big refactor
   13929   need_lib_prefix=no
   13930   need_version=no
   13931   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13932   soname_spec='$libname$release$shared_ext$major'
   13933   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13934   shlibpath_var=LD_LIBRARY_PATH
   13935   shlibpath_overrides_runpath=no
   13936   hardcode_into_libs=yes
   13937   ;;
   13938 
   13939 irix5* | irix6* | nonstopux*)
   13940   case $host_os in
   13941     nonstopux*) version_type=nonstopux ;;
   13942     *)
   13943 	if test yes = "$lt_cv_prog_gnu_ld"; then
   13944 		version_type=linux # correct to gnu/linux during the next big refactor
   13945 	else
   13946 		version_type=irix
   13947 	fi ;;
   13948   esac
   13949   need_lib_prefix=no
   13950   need_version=no
   13951   soname_spec='$libname$release$shared_ext$major'
   13952   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   13953   case $host_os in
   13954   irix5* | nonstopux*)
   13955     libsuff= shlibsuff=
   13956     ;;
   13957   *)
   13958     case $LD in # libtool.m4 will add one of these switches to LD
   13959     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13960       libsuff= shlibsuff= libmagic=32-bit;;
   13961     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13962       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13963     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13964       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13965     *) libsuff= shlibsuff= libmagic=never-match;;
   13966     esac
   13967     ;;
   13968   esac
   13969   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13970   shlibpath_overrides_runpath=no
   13971   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   13972   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   13973   hardcode_into_libs=yes
   13974   ;;
   13975 
   13976 # No shared lib support for Linux oldld, aout, or coff.
   13977 linux*oldld* | linux*aout* | linux*coff*)
   13978   dynamic_linker=no
   13979   ;;
   13980 
   13981 linux*android*)
   13982   version_type=none # Android doesn't support versioned libraries.
   13983   need_lib_prefix=no
   13984   need_version=no
   13985   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   13986   soname_spec='$libname$release$shared_ext'
   13987   finish_cmds=
   13988   shlibpath_var=LD_LIBRARY_PATH
   13989   shlibpath_overrides_runpath=yes
   13990 
   13991   # This implies no fast_install, which is unacceptable.
   13992   # Some rework will be needed to allow for fast_install
   13993   # before this can be enabled.
   13994   hardcode_into_libs=yes
   13995 
   13996   dynamic_linker='Android linker'
   13997   # -rpath works at least for libraries that are not overridden by
   13998   # libraries installed in system locations.
   13999   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14000   ;;
   14001 
   14002 # This must be glibc/ELF.
   14003 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14004   version_type=linux # correct to gnu/linux during the next big refactor
   14005   need_lib_prefix=no
   14006   need_version=no
   14007   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14008   soname_spec='$libname$release$shared_ext$major'
   14009   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   14010   shlibpath_var=LD_LIBRARY_PATH
   14011   shlibpath_overrides_runpath=no
   14012 
   14013   # Some binutils ld are patched to set DT_RUNPATH
   14014   if test ${lt_cv_shlibpath_overrides_runpath+y}
   14015 then :
   14016   printf %s "(cached) " >&6
   14017 else case e in #(
   14018   e) lt_cv_shlibpath_overrides_runpath=no
   14019     save_LDFLAGS=$LDFLAGS
   14020     save_libdir=$libdir
   14021     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   14022 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   14023     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14024 /* end confdefs.h.  */
   14025 
   14026 int
   14027 main (void)
   14028 {
   14029 
   14030   ;
   14031   return 0;
   14032 }
   14033 _ACEOF
   14034 if ac_fn_c_try_link "$LINENO"
   14035 then :
   14036   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   14037 then :
   14038   lt_cv_shlibpath_overrides_runpath=yes
   14039 fi
   14040 fi
   14041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14042     conftest$ac_exeext conftest.$ac_ext
   14043     LDFLAGS=$save_LDFLAGS
   14044     libdir=$save_libdir
   14045      ;;
   14046 esac
   14047 fi
   14048 
   14049   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   14050 
   14051   # This implies no fast_install, which is unacceptable.
   14052   # Some rework will be needed to allow for fast_install
   14053   # before this can be enabled.
   14054   hardcode_into_libs=yes
   14055 
   14056   # Ideally, we could use ldconfig to report *all* directories which are
   14057   # searched for libraries, however this is still not possible.  Aside from not
   14058   # being certain /sbin/ldconfig is available, command
   14059   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   14060   # even though it is searched at run-time.  Try to do the best guess by
   14061   # appending ld.so.conf contents (and includes) to the search path.
   14062   if test -f /etc/ld.so.conf; then
   14063     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' ' '`
   14064     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   14065   fi
   14066 
   14067   # We used to test for /lib/ld.so.1 and disable shared libraries on
   14068   # powerpc, because MkLinux only supported shared libraries with the
   14069   # GNU dynamic linker.  Since this was broken with cross compilers,
   14070   # most powerpc-linux boxes support dynamic linking these days and
   14071   # people can always --disable-shared, the test was removed, and we
   14072   # assume the GNU/Linux dynamic linker is in use.
   14073   dynamic_linker='GNU/Linux ld.so'
   14074   ;;
   14075 
   14076 netbsdelf*-gnu)
   14077   version_type=linux
   14078   need_lib_prefix=no
   14079   need_version=no
   14080   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14081   soname_spec='$libname$release$shared_ext$major'
   14082   shlibpath_var=LD_LIBRARY_PATH
   14083   shlibpath_overrides_runpath=no
   14084   hardcode_into_libs=yes
   14085   dynamic_linker='NetBSD ld.elf_so'
   14086   ;;
   14087 
   14088 netbsd*)
   14089   version_type=sunos
   14090   need_lib_prefix=no
   14091   need_version=no
   14092   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14093     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   14094     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14095     dynamic_linker='NetBSD (a.out) ld.so'
   14096   else
   14097     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14098     soname_spec='$libname$release$shared_ext$major'
   14099     dynamic_linker='NetBSD ld.elf_so'
   14100   fi
   14101   shlibpath_var=LD_LIBRARY_PATH
   14102   shlibpath_overrides_runpath=yes
   14103   hardcode_into_libs=yes
   14104   ;;
   14105 
   14106 *-mlibc)
   14107   version_type=linux # correct to gnu/linux during the next big refactor
   14108   need_lib_prefix=no
   14109   need_version=no
   14110   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14111   soname_spec='$libname$release$shared_ext$major'
   14112   dynamic_linker='mlibc ld.so'
   14113   shlibpath_var=LD_LIBRARY_PATH
   14114   shlibpath_overrides_runpath=no
   14115   hardcode_into_libs=yes
   14116   ;;
   14117 
   14118 newsos6)
   14119   version_type=linux # correct to gnu/linux during the next big refactor
   14120   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14121   shlibpath_var=LD_LIBRARY_PATH
   14122   shlibpath_overrides_runpath=yes
   14123   ;;
   14124 
   14125 *nto* | *qnx*)
   14126   version_type=qnx
   14127   need_lib_prefix=no
   14128   need_version=no
   14129   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14130   soname_spec='$libname$release$shared_ext$major'
   14131   shlibpath_var=LD_LIBRARY_PATH
   14132   shlibpath_overrides_runpath=no
   14133   hardcode_into_libs=yes
   14134   dynamic_linker='ldqnx.so'
   14135   ;;
   14136 
   14137 openbsd*)
   14138   version_type=sunos
   14139   sys_lib_dlsearch_path_spec=/usr/lib
   14140   need_lib_prefix=no
   14141   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   14142     need_version=no
   14143   else
   14144     need_version=yes
   14145   fi
   14146   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   14147   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14148   shlibpath_var=LD_LIBRARY_PATH
   14149   shlibpath_overrides_runpath=yes
   14150   ;;
   14151 
   14152 os2*)
   14153   libname_spec='$name'
   14154   version_type=windows
   14155   shrext_cmds=.dll
   14156   need_version=no
   14157   need_lib_prefix=no
   14158   # OS/2 can only load a DLL with a base name of 8 characters or less.
   14159   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   14160     v=$($ECHO $release$versuffix | tr -d .-);
   14161     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   14162     $ECHO $n$v`$shared_ext'
   14163   library_names_spec='${libname}_dll.$libext'
   14164   dynamic_linker='OS/2 ld.exe'
   14165   shlibpath_var=BEGINLIBPATH
   14166   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   14167   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14168   postinstall_cmds='base_file=`basename \$file`~
   14169     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   14170     dldir=$destdir/`dirname \$dlpath`~
   14171     test -d \$dldir || mkdir -p \$dldir~
   14172     $install_prog $dir/$dlname \$dldir/$dlname~
   14173     chmod a+x \$dldir/$dlname~
   14174     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   14175       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   14176     fi'
   14177   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   14178     dlpath=$dir/\$dldll~
   14179     $RM \$dlpath'
   14180   ;;
   14181 
   14182 osf3* | osf4* | osf5*)
   14183   version_type=osf
   14184   need_lib_prefix=no
   14185   need_version=no
   14186   soname_spec='$libname$release$shared_ext$major'
   14187   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14188   shlibpath_var=LD_LIBRARY_PATH
   14189   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   14190   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14191   ;;
   14192 
   14193 rdos*)
   14194   dynamic_linker=no
   14195   ;;
   14196 
   14197 serenity*)
   14198   version_type=linux # correct to gnu/linux during the next big refactor
   14199   need_lib_prefix=no
   14200   need_version=no
   14201   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14202   soname_spec='$libname$release$shared_ext$major'
   14203   shlibpath_var=LD_LIBRARY_PATH
   14204   shlibpath_overrides_runpath=no
   14205   dynamic_linker='SerenityOS LibELF'
   14206   ;;
   14207 
   14208 solaris*)
   14209   version_type=linux # correct to gnu/linux during the next big refactor
   14210   need_lib_prefix=no
   14211   need_version=no
   14212   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14213   soname_spec='$libname$release$shared_ext$major'
   14214   shlibpath_var=LD_LIBRARY_PATH
   14215   shlibpath_overrides_runpath=yes
   14216   hardcode_into_libs=yes
   14217   # ldd complains unless libraries are executable
   14218   postinstall_cmds='chmod +x $lib'
   14219   ;;
   14220 
   14221 sunos4*)
   14222   version_type=sunos
   14223   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   14224   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   14225   shlibpath_var=LD_LIBRARY_PATH
   14226   shlibpath_overrides_runpath=yes
   14227   if test yes = "$with_gnu_ld"; then
   14228     need_lib_prefix=no
   14229   fi
   14230   need_version=yes
   14231   ;;
   14232 
   14233 sysv4 | sysv4.3*)
   14234   version_type=linux # correct to gnu/linux during the next big refactor
   14235   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14236   soname_spec='$libname$release$shared_ext$major'
   14237   shlibpath_var=LD_LIBRARY_PATH
   14238   case $host_vendor in
   14239     sni)
   14240       shlibpath_overrides_runpath=no
   14241       need_lib_prefix=no
   14242       runpath_var=LD_RUN_PATH
   14243       ;;
   14244     siemens)
   14245       need_lib_prefix=no
   14246       ;;
   14247     motorola)
   14248       need_lib_prefix=no
   14249       need_version=no
   14250       shlibpath_overrides_runpath=no
   14251       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   14252       ;;
   14253   esac
   14254   ;;
   14255 
   14256 sysv4*MP*)
   14257   if test -d /usr/nec; then
   14258     version_type=linux # correct to gnu/linux during the next big refactor
   14259     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   14260     soname_spec='$libname$shared_ext.$major'
   14261     shlibpath_var=LD_LIBRARY_PATH
   14262   fi
   14263   ;;
   14264 
   14265 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   14266   version_type=sco
   14267   need_lib_prefix=no
   14268   need_version=no
   14269   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   14270   soname_spec='$libname$release$shared_ext$major'
   14271   shlibpath_var=LD_LIBRARY_PATH
   14272   shlibpath_overrides_runpath=yes
   14273   hardcode_into_libs=yes
   14274   if test yes = "$with_gnu_ld"; then
   14275     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   14276   else
   14277     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   14278     case $host_os in
   14279       sco3.2v5*)
   14280         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   14281 	;;
   14282     esac
   14283   fi
   14284   sys_lib_dlsearch_path_spec='/usr/lib'
   14285   ;;
   14286 
   14287 tpf*)
   14288   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   14289   version_type=linux # correct to gnu/linux during the next big refactor
   14290   need_lib_prefix=no
   14291   need_version=no
   14292   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14293   shlibpath_var=LD_LIBRARY_PATH
   14294   shlibpath_overrides_runpath=no
   14295   hardcode_into_libs=yes
   14296   ;;
   14297 
   14298 uts4*)
   14299   version_type=linux # correct to gnu/linux during the next big refactor
   14300   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   14301   soname_spec='$libname$release$shared_ext$major'
   14302   shlibpath_var=LD_LIBRARY_PATH
   14303   ;;
   14304 
   14305 emscripten*)
   14306   version_type=none
   14307   need_lib_prefix=no
   14308   need_version=no
   14309   library_names_spec='$libname$release$shared_ext'
   14310   soname_spec='$libname$release$shared_ext'
   14311   finish_cmds=
   14312   dynamic_linker="Emscripten linker"
   14313   lt_prog_compiler_wl=
   14314 lt_prog_compiler_pic=
   14315 lt_prog_compiler_static=
   14316 
   14317 
   14318   if test yes = "$GCC"; then
   14319     lt_prog_compiler_wl='-Wl,'
   14320     lt_prog_compiler_static='-static'
   14321 
   14322     case $host_os in
   14323       aix*)
   14324       # All AIX code is PIC.
   14325       if test ia64 = "$host_cpu"; then
   14326 	# AIX 5 now supports IA64 processor
   14327 	lt_prog_compiler_static='-Bstatic'
   14328       fi
   14329       lt_prog_compiler_pic='-fPIC'
   14330       ;;
   14331 
   14332     amigaos*)
   14333       case $host_cpu in
   14334       powerpc)
   14335             # see comment about AmigaOS4 .so support
   14336             lt_prog_compiler_pic='-fPIC'
   14337         ;;
   14338       m68k)
   14339             # FIXME: we need at least 68020 code to build shared libraries, but
   14340             # adding the '-m68020' flag to GCC prevents building anything better,
   14341             # like '-m68040'.
   14342             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14343         ;;
   14344       esac
   14345       ;;
   14346 
   14347     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14348       # PIC is the default for these OSes.
   14349       ;;
   14350 
   14351     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   14352       # This hack is so that the source file can tell whether it is being
   14353       # built for inclusion in a dll (and should export symbols for example).
   14354       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14355       # (--disable-auto-import) libraries
   14356       lt_prog_compiler_pic='-DDLL_EXPORT'
   14357       case $host_os in
   14358       os2*)
   14359 	lt_prog_compiler_static='$wl-static'
   14360 	;;
   14361       esac
   14362       ;;
   14363 
   14364     darwin* | rhapsody*)
   14365       # PIC is the default on this platform
   14366       # Common symbols not allowed in MH_DYLIB files
   14367       lt_prog_compiler_pic='-fno-common'
   14368       ;;
   14369 
   14370     haiku*)
   14371       # PIC is the default for Haiku.
   14372       # The "-static" flag exists, but is broken.
   14373       lt_prog_compiler_static=
   14374       ;;
   14375 
   14376     hpux*)
   14377       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14378       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14379       # sets the default TLS model and affects inlining.
   14380       case $host_cpu in
   14381       hppa*64*)
   14382 	# +Z the default
   14383 	;;
   14384       *)
   14385 	lt_prog_compiler_pic='-fPIC'
   14386 	;;
   14387       esac
   14388       ;;
   14389 
   14390     interix[3-9]*)
   14391       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14392       # Instead, we relocate shared libraries at runtime.
   14393       ;;
   14394 
   14395     msdosdjgpp*)
   14396       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14397       # on systems that don't support them.
   14398       lt_prog_compiler_can_build_shared=no
   14399       enable_shared=no
   14400       ;;
   14401 
   14402     *nto* | *qnx*)
   14403       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14404       # it will coredump.
   14405       lt_prog_compiler_pic='-fPIC -shared'
   14406       ;;
   14407 
   14408     sysv4*MP*)
   14409       if test -d /usr/nec; then
   14410 	lt_prog_compiler_pic=-Kconform_pic
   14411       fi
   14412       ;;
   14413 
   14414     *)
   14415       lt_prog_compiler_pic='-fPIC'
   14416       ;;
   14417     esac
   14418 
   14419     case $cc_basename in
   14420     nvcc*) # Cuda Compiler Driver 2.2
   14421       lt_prog_compiler_wl='-Xlinker '
   14422       if test -n "$lt_prog_compiler_pic"; then
   14423         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14424       fi
   14425       ;;
   14426     esac
   14427   else
   14428     # PORTME Check for flag to pass linker flags through the system compiler.
   14429     case $host_os in
   14430     aix*)
   14431       lt_prog_compiler_wl='-Wl,'
   14432       if test ia64 = "$host_cpu"; then
   14433 	# AIX 5 now supports IA64 processor
   14434 	lt_prog_compiler_static='-Bstatic'
   14435       else
   14436 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14437       fi
   14438       ;;
   14439 
   14440     darwin* | rhapsody*)
   14441       # PIC is the default on this platform
   14442       # Common symbols not allowed in MH_DYLIB files
   14443       lt_prog_compiler_pic='-fno-common'
   14444       case $cc_basename in
   14445       nagfor*)
   14446         # NAG Fortran compiler
   14447         lt_prog_compiler_wl='-Wl,-Wl,,'
   14448         lt_prog_compiler_pic='-PIC'
   14449         lt_prog_compiler_static='-Bstatic'
   14450         ;;
   14451       esac
   14452       ;;
   14453 
   14454     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   14455       # This hack is so that the source file can tell whether it is being
   14456       # built for inclusion in a dll (and should export symbols for example).
   14457       lt_prog_compiler_pic='-DDLL_EXPORT'
   14458       case $host_os in
   14459       os2*)
   14460 	lt_prog_compiler_static='$wl-static'
   14461 	;;
   14462       esac
   14463       ;;
   14464 
   14465     hpux9* | hpux10* | hpux11*)
   14466       lt_prog_compiler_wl='-Wl,'
   14467       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14468       # not for PA HP-UX.
   14469       case $host_cpu in
   14470       hppa*64*|ia64*)
   14471 	# +Z the default
   14472 	;;
   14473       *)
   14474 	lt_prog_compiler_pic='+Z'
   14475 	;;
   14476       esac
   14477       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14478       lt_prog_compiler_static='$wl-a ${wl}archive'
   14479       ;;
   14480 
   14481     irix5* | irix6* | nonstopux*)
   14482       lt_prog_compiler_wl='-Wl,'
   14483       # PIC (with -KPIC) is the default.
   14484       lt_prog_compiler_static='-non_shared'
   14485       ;;
   14486 
   14487     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14488       case $cc_basename in
   14489       # old Intel for x86_64, which still supported -KPIC.
   14490       ecc*)
   14491 	lt_prog_compiler_wl='-Wl,'
   14492 	lt_prog_compiler_pic='-KPIC'
   14493 	lt_prog_compiler_static='-static'
   14494         ;;
   14495       *flang* | ftn | f18* | f95*)
   14496         # Flang compiler.
   14497 	lt_prog_compiler_wl='-Wl,'
   14498 	lt_prog_compiler_pic='-fPIC'
   14499 	lt_prog_compiler_static='-static'
   14500         ;;
   14501       # icc used to be incompatible with GCC.
   14502       # ICC 10 doesn't accept -KPIC any more.
   14503       icc* | ifort*)
   14504 	lt_prog_compiler_wl='-Wl,'
   14505 	lt_prog_compiler_pic='-fPIC'
   14506 	lt_prog_compiler_static='-static'
   14507         ;;
   14508       # Lahey Fortran 8.1.
   14509       lf95*)
   14510 	lt_prog_compiler_wl='-Wl,'
   14511 	lt_prog_compiler_pic='--shared'
   14512 	lt_prog_compiler_static='--static'
   14513 	;;
   14514       nagfor*)
   14515 	# NAG Fortran compiler
   14516 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14517 	lt_prog_compiler_pic='-PIC'
   14518 	lt_prog_compiler_static='-Bstatic'
   14519 	;;
   14520       tcc*)
   14521 	# Fabrice Bellard et al's Tiny C Compiler
   14522 	lt_prog_compiler_wl='-Wl,'
   14523 	lt_prog_compiler_pic='-fPIC'
   14524 	lt_prog_compiler_static='-static'
   14525 	;;
   14526       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14527         # Portland Group compilers (*not* the Pentium gcc compiler,
   14528 	# which looks to be a dead project)
   14529 	lt_prog_compiler_wl='-Wl,'
   14530 	lt_prog_compiler_pic='-fpic'
   14531 	lt_prog_compiler_static='-Bstatic'
   14532         ;;
   14533       ccc*)
   14534         lt_prog_compiler_wl='-Wl,'
   14535         # All Alpha code is PIC.
   14536         lt_prog_compiler_static='-non_shared'
   14537         ;;
   14538       xl* | bgxl* | bgf* | mpixl*)
   14539 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14540 	lt_prog_compiler_wl='-Wl,'
   14541 	lt_prog_compiler_pic='-qpic'
   14542 	lt_prog_compiler_static='-qstaticlink'
   14543 	;;
   14544       *)
   14545 	case `$CC -V 2>&1 | $SED 5q` in
   14546 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14547 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14548 	  lt_prog_compiler_pic='-KPIC'
   14549 	  lt_prog_compiler_static='-Bstatic'
   14550 	  lt_prog_compiler_wl=''
   14551 	  ;;
   14552 	*Sun\ F* | *Sun*Fortran*)
   14553 	  lt_prog_compiler_pic='-KPIC'
   14554 	  lt_prog_compiler_static='-Bstatic'
   14555 	  lt_prog_compiler_wl='-Qoption ld '
   14556 	  ;;
   14557 	*Sun\ C*)
   14558 	  # Sun C 5.9
   14559 	  lt_prog_compiler_pic='-KPIC'
   14560 	  lt_prog_compiler_static='-Bstatic'
   14561 	  lt_prog_compiler_wl='-Wl,'
   14562 	  ;;
   14563         *Intel*\ [CF]*Compiler*)
   14564 	  lt_prog_compiler_wl='-Wl,'
   14565 	  lt_prog_compiler_pic='-fPIC'
   14566 	  lt_prog_compiler_static='-static'
   14567 	  ;;
   14568 	*Portland\ Group*)
   14569 	  lt_prog_compiler_wl='-Wl,'
   14570 	  lt_prog_compiler_pic='-fpic'
   14571 	  lt_prog_compiler_static='-Bstatic'
   14572 	  ;;
   14573 	esac
   14574 	;;
   14575       esac
   14576       ;;
   14577 
   14578     newsos6)
   14579       lt_prog_compiler_pic='-KPIC'
   14580       lt_prog_compiler_static='-Bstatic'
   14581       ;;
   14582 
   14583     *-mlibc)
   14584       lt_prog_compiler_wl='-Wl,'
   14585       lt_prog_compiler_pic='-fPIC'
   14586       lt_prog_compiler_static='-static'
   14587       ;;
   14588 
   14589     *nto* | *qnx*)
   14590       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14591       # it will coredump.
   14592       lt_prog_compiler_pic='-fPIC -shared'
   14593       ;;
   14594 
   14595     osf3* | osf4* | osf5*)
   14596       lt_prog_compiler_wl='-Wl,'
   14597       # All OSF/1 code is PIC.
   14598       lt_prog_compiler_static='-non_shared'
   14599       ;;
   14600 
   14601     rdos*)
   14602       lt_prog_compiler_static='-non_shared'
   14603       ;;
   14604 
   14605     serenity*)
   14606       ;;
   14607 
   14608     solaris*)
   14609       lt_prog_compiler_pic='-KPIC'
   14610       lt_prog_compiler_static='-Bstatic'
   14611       case $cc_basename in
   14612       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14613 	lt_prog_compiler_wl='-Qoption ld ';;
   14614       *)
   14615 	lt_prog_compiler_wl='-Wl,';;
   14616       esac
   14617       ;;
   14618 
   14619     sunos4*)
   14620       lt_prog_compiler_wl='-Qoption ld '
   14621       lt_prog_compiler_pic='-PIC'
   14622       lt_prog_compiler_static='-Bstatic'
   14623       ;;
   14624 
   14625     sysv4 | sysv4.2uw2* | sysv4.3*)
   14626       lt_prog_compiler_wl='-Wl,'
   14627       lt_prog_compiler_pic='-KPIC'
   14628       lt_prog_compiler_static='-Bstatic'
   14629       ;;
   14630 
   14631     sysv4*MP*)
   14632       if test -d /usr/nec; then
   14633 	lt_prog_compiler_pic='-Kconform_pic'
   14634 	lt_prog_compiler_static='-Bstatic'
   14635       fi
   14636       ;;
   14637 
   14638     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14639       lt_prog_compiler_wl='-Wl,'
   14640       lt_prog_compiler_pic='-KPIC'
   14641       lt_prog_compiler_static='-Bstatic'
   14642       ;;
   14643 
   14644     unicos*)
   14645       lt_prog_compiler_wl='-Wl,'
   14646       lt_prog_compiler_can_build_shared=no
   14647       ;;
   14648 
   14649     uts4*)
   14650       lt_prog_compiler_pic='-pic'
   14651       lt_prog_compiler_static='-Bstatic'
   14652       ;;
   14653 
   14654     *)
   14655       lt_prog_compiler_can_build_shared=no
   14656       ;;
   14657     esac
   14658   fi
   14659 
   14660 case $host_os in
   14661   # For platforms that do not support PIC, -DPIC is meaningless:
   14662   *djgpp*)
   14663     lt_prog_compiler_pic=
   14664     ;;
   14665   *)
   14666     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14667     ;;
   14668 esac
   14669 
   14670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14671 printf %s "checking for $compiler option to produce PIC... " >&6; }
   14672 if test ${lt_cv_prog_compiler_pic+y}
   14673 then :
   14674   printf %s "(cached) " >&6
   14675 else case e in #(
   14676   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   14677 esac
   14678 fi
   14679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14680 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   14681 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14682 
   14683 #
   14684 # Check to make sure the PIC flag actually works.
   14685 #
   14686 if test -n "$lt_prog_compiler_pic"; then
   14687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14688 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14689 if test ${lt_cv_prog_compiler_pic_works+y}
   14690 then :
   14691   printf %s "(cached) " >&6
   14692 else case e in #(
   14693   e) lt_cv_prog_compiler_pic_works=no
   14694    ac_outfile=conftest.$ac_objext
   14695    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14696    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   14697    # Insert the option either (1) after the last *FLAGS variable, or
   14698    # (2) before a word containing "conftest.", or (3) at the end.
   14699    # Note that $ac_compile itself does not contain backslashes and begins
   14700    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14701    # The option is referenced via a variable to avoid confusing sed.
   14702    lt_compile=`echo "$ac_compile" | $SED \
   14703    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14704    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14705    -e 's:$: $lt_compiler_flag:'`
   14706    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14707    (eval "$lt_compile" 2>conftest.err)
   14708    ac_status=$?
   14709    cat conftest.err >&5
   14710    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14711    if (exit $ac_status) && test -s "$ac_outfile"; then
   14712      # The compiler can only warn and ignore the option if not recognized
   14713      # So say no if there are warnings other than the usual output.
   14714      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14715      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14716      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14717        lt_cv_prog_compiler_pic_works=yes
   14718      fi
   14719    fi
   14720    $RM conftest*
   14721  ;;
   14722 esac
   14723 fi
   14724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14725 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   14726 
   14727 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   14728     case $lt_prog_compiler_pic in
   14729      "" | " "*) ;;
   14730      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14731      esac
   14732 else
   14733     lt_prog_compiler_pic=
   14734      lt_prog_compiler_can_build_shared=no
   14735 fi
   14736 
   14737 fi
   14738 
   14739 
   14740 
   14741 
   14742 
   14743 #
   14744 # Check to make sure the static flag actually works.
   14745 #
   14746 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14748 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14749 if test ${lt_cv_prog_compiler_static_works+y}
   14750 then :
   14751   printf %s "(cached) " >&6
   14752 else case e in #(
   14753   e) lt_cv_prog_compiler_static_works=no
   14754    save_LDFLAGS=$LDFLAGS
   14755    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14756    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14757    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14758      # The linker can only warn and ignore the option if not recognized
   14759      # So say no if there are warnings
   14760      if test -s conftest.err; then
   14761        # Append any errors to the config.log.
   14762        cat conftest.err 1>&5
   14763        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14764        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14765        if diff conftest.exp conftest.er2 >/dev/null; then
   14766          lt_cv_prog_compiler_static_works=yes
   14767        fi
   14768      else
   14769        lt_cv_prog_compiler_static_works=yes
   14770      fi
   14771    fi
   14772    $RM -r conftest*
   14773    LDFLAGS=$save_LDFLAGS
   14774  ;;
   14775 esac
   14776 fi
   14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14778 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   14779 
   14780 if test yes = "$lt_cv_prog_compiler_static_works"; then
   14781     :
   14782 else
   14783     lt_prog_compiler_static=
   14784 fi
   14785 
   14786 
   14787 
   14788 ='-fPIC'
   14789   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   14790   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'
   14791   archive_cmds_need_lc=no
   14792   no_undefined_flag=
   14793   ;;
   14794 
   14795 *)
   14796   dynamic_linker=no
   14797   ;;
   14798 esac
   14799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   14800 printf "%s\n" "$dynamic_linker" >&6; }
   14801 test no = "$dynamic_linker" && can_build_shared=no
   14802 
   14803 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   14804 if test yes = "$GCC"; then
   14805   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   14806 fi
   14807 
   14808 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   14809   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   14810 fi
   14811 
   14812 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   14813   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   14814 fi
   14815 
   14816 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   14817 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   14818 
   14819 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   14820 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   14821 
   14822 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   14823 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 
   14921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   14922 printf %s "checking how to hardcode library paths into programs... " >&6; }
   14923 hardcode_action=
   14924 if test -n "$hardcode_libdir_flag_spec" ||
   14925    test -n "$runpath_var" ||
   14926    test yes = "$hardcode_automatic"; then
   14927 
   14928   # We can hardcode non-existent directories.
   14929   if test no != "$hardcode_direct" &&
   14930      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   14931      # have to relink, otherwise we might link with an installed library
   14932      # when we should be linking with a yet-to-be-installed one
   14933      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   14934      test no != "$hardcode_minus_L"; then
   14935     # Linking always hardcodes the temporary library directory.
   14936     hardcode_action=relink
   14937   else
   14938     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   14939     hardcode_action=immediate
   14940   fi
   14941 else
   14942   # We cannot hardcode anything, or else we can only hardcode existing
   14943   # directories.
   14944   hardcode_action=unsupported
   14945 fi
   14946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   14947 printf "%s\n" "$hardcode_action" >&6; }
   14948 
   14949 if test relink = "$hardcode_action" ||
   14950    test yes = "$inherit_rpath"; then
   14951   # Fast installation is not supported
   14952   enable_fast_install=no
   14953 elif test yes = "$shlibpath_overrides_runpath" ||
   14954      test no = "$enable_shared"; then
   14955   # Fast installation is not necessary
   14956   enable_fast_install=needless
   14957 fi
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964   if test yes != "$enable_dlopen"; then
   14965   enable_dlopen=unknown
   14966   enable_dlopen_self=unknown
   14967   enable_dlopen_self_static=unknown
   14968 else
   14969   lt_cv_dlopen=no
   14970   lt_cv_dlopen_libs=
   14971 
   14972   case $host_os in
   14973   beos*)
   14974     lt_cv_dlopen=load_add_on
   14975     lt_cv_dlopen_libs=
   14976     lt_cv_dlopen_self=yes
   14977     ;;
   14978 
   14979   mingw* | windows* | pw32* | cegcc*)
   14980     lt_cv_dlopen=LoadLibrary
   14981     lt_cv_dlopen_libs=
   14982     ;;
   14983 
   14984   cygwin*)
   14985     lt_cv_dlopen=dlopen
   14986     lt_cv_dlopen_libs=
   14987     ;;
   14988 
   14989   darwin*)
   14990     # if libdl is installed we need to link against it
   14991     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   14992 printf %s "checking for dlopen in -ldl... " >&6; }
   14993 if test ${ac_cv_lib_dl_dlopen+y}
   14994 then :
   14995   printf %s "(cached) " >&6
   14996 else case e in #(
   14997   e) ac_check_lib_save_LIBS=$LIBS
   14998 LIBS="-ldl  $LIBS"
   14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15000 /* end confdefs.h.  */
   15001 
   15002 /* Override any GCC internal prototype to avoid an error.
   15003    Use char because int might match the return type of a GCC
   15004    builtin and then its argument prototype would still apply.
   15005    The 'extern "C"' is for builds by C++ compilers;
   15006    although this is not generally supported in C code supporting it here
   15007    has little cost and some practical benefit (sr 110532).  */
   15008 #ifdef __cplusplus
   15009 extern "C"
   15010 #endif
   15011 char dlopen (void);
   15012 int
   15013 main (void)
   15014 {
   15015 return dlopen ();
   15016   ;
   15017   return 0;
   15018 }
   15019 _ACEOF
   15020 if ac_fn_c_try_link "$LINENO"
   15021 then :
   15022   ac_cv_lib_dl_dlopen=yes
   15023 else case e in #(
   15024   e) ac_cv_lib_dl_dlopen=no ;;
   15025 esac
   15026 fi
   15027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15028     conftest$ac_exeext conftest.$ac_ext
   15029 LIBS=$ac_check_lib_save_LIBS ;;
   15030 esac
   15031 fi
   15032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   15033 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   15034 if test "x$ac_cv_lib_dl_dlopen" = xyes
   15035 then :
   15036   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   15037 else case e in #(
   15038   e)
   15039     lt_cv_dlopen=dyld
   15040     lt_cv_dlopen_libs=
   15041     lt_cv_dlopen_self=yes
   15042      ;;
   15043 esac
   15044 fi
   15045 
   15046     ;;
   15047 
   15048   tpf*)
   15049     # Don't try to run any link tests for TPF.  We know it's impossible
   15050     # because TPF is a cross-compiler, and we know how we open DSOs.
   15051     lt_cv_dlopen=dlopen
   15052     lt_cv_dlopen_libs=
   15053     lt_cv_dlopen_self=no
   15054     ;;
   15055 
   15056   *)
   15057     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   15058 if test "x$ac_cv_func_shl_load" = xyes
   15059 then :
   15060   lt_cv_dlopen=shl_load
   15061 else case e in #(
   15062   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   15063 printf %s "checking for shl_load in -ldld... " >&6; }
   15064 if test ${ac_cv_lib_dld_shl_load+y}
   15065 then :
   15066   printf %s "(cached) " >&6
   15067 else case e in #(
   15068   e) ac_check_lib_save_LIBS=$LIBS
   15069 LIBS="-ldld  $LIBS"
   15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15071 /* end confdefs.h.  */
   15072 
   15073 /* Override any GCC internal prototype to avoid an error.
   15074    Use char because int might match the return type of a GCC
   15075    builtin and then its argument prototype would still apply.
   15076    The 'extern "C"' is for builds by C++ compilers;
   15077    although this is not generally supported in C code supporting it here
   15078    has little cost and some practical benefit (sr 110532).  */
   15079 #ifdef __cplusplus
   15080 extern "C"
   15081 #endif
   15082 char shl_load (void);
   15083 int
   15084 main (void)
   15085 {
   15086 return shl_load ();
   15087   ;
   15088   return 0;
   15089 }
   15090 _ACEOF
   15091 if ac_fn_c_try_link "$LINENO"
   15092 then :
   15093   ac_cv_lib_dld_shl_load=yes
   15094 else case e in #(
   15095   e) ac_cv_lib_dld_shl_load=no ;;
   15096 esac
   15097 fi
   15098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15099     conftest$ac_exeext conftest.$ac_ext
   15100 LIBS=$ac_check_lib_save_LIBS ;;
   15101 esac
   15102 fi
   15103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   15104 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   15105 if test "x$ac_cv_lib_dld_shl_load" = xyes
   15106 then :
   15107   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   15108 else case e in #(
   15109   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   15110 if test "x$ac_cv_func_dlopen" = xyes
   15111 then :
   15112   lt_cv_dlopen=dlopen
   15113 else case e in #(
   15114   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   15115 printf %s "checking for dlopen in -ldl... " >&6; }
   15116 if test ${ac_cv_lib_dl_dlopen+y}
   15117 then :
   15118   printf %s "(cached) " >&6
   15119 else case e in #(
   15120   e) ac_check_lib_save_LIBS=$LIBS
   15121 LIBS="-ldl  $LIBS"
   15122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15123 /* end confdefs.h.  */
   15124 
   15125 /* Override any GCC internal prototype to avoid an error.
   15126    Use char because int might match the return type of a GCC
   15127    builtin and then its argument prototype would still apply.
   15128    The 'extern "C"' is for builds by C++ compilers;
   15129    although this is not generally supported in C code supporting it here
   15130    has little cost and some practical benefit (sr 110532).  */
   15131 #ifdef __cplusplus
   15132 extern "C"
   15133 #endif
   15134 char dlopen (void);
   15135 int
   15136 main (void)
   15137 {
   15138 return dlopen ();
   15139   ;
   15140   return 0;
   15141 }
   15142 _ACEOF
   15143 if ac_fn_c_try_link "$LINENO"
   15144 then :
   15145   ac_cv_lib_dl_dlopen=yes
   15146 else case e in #(
   15147   e) ac_cv_lib_dl_dlopen=no ;;
   15148 esac
   15149 fi
   15150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15151     conftest$ac_exeext conftest.$ac_ext
   15152 LIBS=$ac_check_lib_save_LIBS ;;
   15153 esac
   15154 fi
   15155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   15156 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   15157 if test "x$ac_cv_lib_dl_dlopen" = xyes
   15158 then :
   15159   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   15160 else case e in #(
   15161   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   15162 printf %s "checking for dlopen in -lsvld... " >&6; }
   15163 if test ${ac_cv_lib_svld_dlopen+y}
   15164 then :
   15165   printf %s "(cached) " >&6
   15166 else case e in #(
   15167   e) ac_check_lib_save_LIBS=$LIBS
   15168 LIBS="-lsvld  $LIBS"
   15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15170 /* end confdefs.h.  */
   15171 
   15172 /* Override any GCC internal prototype to avoid an error.
   15173    Use char because int might match the return type of a GCC
   15174    builtin and then its argument prototype would still apply.
   15175    The 'extern "C"' is for builds by C++ compilers;
   15176    although this is not generally supported in C code supporting it here
   15177    has little cost and some practical benefit (sr 110532).  */
   15178 #ifdef __cplusplus
   15179 extern "C"
   15180 #endif
   15181 char dlopen (void);
   15182 int
   15183 main (void)
   15184 {
   15185 return dlopen ();
   15186   ;
   15187   return 0;
   15188 }
   15189 _ACEOF
   15190 if ac_fn_c_try_link "$LINENO"
   15191 then :
   15192   ac_cv_lib_svld_dlopen=yes
   15193 else case e in #(
   15194   e) ac_cv_lib_svld_dlopen=no ;;
   15195 esac
   15196 fi
   15197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15198     conftest$ac_exeext conftest.$ac_ext
   15199 LIBS=$ac_check_lib_save_LIBS ;;
   15200 esac
   15201 fi
   15202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   15203 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   15204 if test "x$ac_cv_lib_svld_dlopen" = xyes
   15205 then :
   15206   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   15207 else case e in #(
   15208   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   15209 printf %s "checking for dld_link in -ldld... " >&6; }
   15210 if test ${ac_cv_lib_dld_dld_link+y}
   15211 then :
   15212   printf %s "(cached) " >&6
   15213 else case e in #(
   15214   e) ac_check_lib_save_LIBS=$LIBS
   15215 LIBS="-ldld  $LIBS"
   15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15217 /* end confdefs.h.  */
   15218 
   15219 /* Override any GCC internal prototype to avoid an error.
   15220    Use char because int might match the return type of a GCC
   15221    builtin and then its argument prototype would still apply.
   15222    The 'extern "C"' is for builds by C++ compilers;
   15223    although this is not generally supported in C code supporting it here
   15224    has little cost and some practical benefit (sr 110532).  */
   15225 #ifdef __cplusplus
   15226 extern "C"
   15227 #endif
   15228 char dld_link (void);
   15229 int
   15230 main (void)
   15231 {
   15232 return dld_link ();
   15233   ;
   15234   return 0;
   15235 }
   15236 _ACEOF
   15237 if ac_fn_c_try_link "$LINENO"
   15238 then :
   15239   ac_cv_lib_dld_dld_link=yes
   15240 else case e in #(
   15241   e) ac_cv_lib_dld_dld_link=no ;;
   15242 esac
   15243 fi
   15244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15245     conftest$ac_exeext conftest.$ac_ext
   15246 LIBS=$ac_check_lib_save_LIBS ;;
   15247 esac
   15248 fi
   15249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   15250 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   15251 if test "x$ac_cv_lib_dld_dld_link" = xyes
   15252 then :
   15253   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   15254 fi
   15255 
   15256 	       ;;
   15257 esac
   15258 fi
   15259 
   15260 	     ;;
   15261 esac
   15262 fi
   15263 
   15264 	   ;;
   15265 esac
   15266 fi
   15267 
   15268 	 ;;
   15269 esac
   15270 fi
   15271 
   15272        ;;
   15273 esac
   15274 fi
   15275 
   15276     ;;
   15277   esac
   15278 
   15279   if test no = "$lt_cv_dlopen"; then
   15280     enable_dlopen=no
   15281   else
   15282     enable_dlopen=yes
   15283   fi
   15284 
   15285   case $lt_cv_dlopen in
   15286   dlopen)
   15287     save_CPPFLAGS=$CPPFLAGS
   15288     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   15289 
   15290     save_LDFLAGS=$LDFLAGS
   15291     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   15292 
   15293     save_LIBS=$LIBS
   15294     LIBS="$lt_cv_dlopen_libs $LIBS"
   15295 
   15296     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   15297 printf %s "checking whether a program can dlopen itself... " >&6; }
   15298 if test ${lt_cv_dlopen_self+y}
   15299 then :
   15300   printf %s "(cached) " >&6
   15301 else case e in #(
   15302   e) 	  if test yes = "$cross_compiling"; then :
   15303   lt_cv_dlopen_self=cross
   15304 else
   15305   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   15306   lt_status=$lt_dlunknown
   15307   cat > conftest.$ac_ext <<_LT_EOF
   15308 #line $LINENO "configure"
   15309 #include "confdefs.h"
   15310 
   15311 #if HAVE_DLFCN_H
   15312 #include <dlfcn.h>
   15313 #endif
   15314 
   15315 #include <stdio.h>
   15316 
   15317 #ifdef RTLD_GLOBAL
   15318 #  define LT_DLGLOBAL		RTLD_GLOBAL
   15319 #else
   15320 #  ifdef DL_GLOBAL
   15321 #    define LT_DLGLOBAL		DL_GLOBAL
   15322 #  else
   15323 #    define LT_DLGLOBAL		0
   15324 #  endif
   15325 #endif
   15326 
   15327 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   15328    find out it does not work in some platform. */
   15329 #ifndef LT_DLLAZY_OR_NOW
   15330 #  ifdef RTLD_LAZY
   15331 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   15332 #  else
   15333 #    ifdef DL_LAZY
   15334 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   15335 #    else
   15336 #      ifdef RTLD_NOW
   15337 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   15338 #      else
   15339 #        ifdef DL_NOW
   15340 #          define LT_DLLAZY_OR_NOW	DL_NOW
   15341 #        else
   15342 #          define LT_DLLAZY_OR_NOW	0
   15343 #        endif
   15344 #      endif
   15345 #    endif
   15346 #  endif
   15347 #endif
   15348 
   15349 /* When -fvisibility=hidden is used, assume the code has been annotated
   15350    correspondingly for the symbols needed.  */
   15351 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   15352 int fnord (void) __attribute__((visibility("default")));
   15353 #endif
   15354 
   15355 int fnord (void) { return 42; }
   15356 int main (void)
   15357 {
   15358   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   15359   int status = $lt_dlunknown;
   15360 
   15361   if (self)
   15362     {
   15363       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   15364       else
   15365         {
   15366 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   15367           else puts (dlerror ());
   15368 	}
   15369       /* dlclose (self); */
   15370     }
   15371   else
   15372     puts (dlerror ());
   15373 
   15374   return status;
   15375 }
   15376 _LT_EOF
   15377   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   15378   (eval $ac_link) 2>&5
   15379   ac_status=$?
   15380   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15381   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   15382     (./conftest; exit; ) >&5 2>/dev/null
   15383     lt_status=$?
   15384     case x$lt_status in
   15385       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   15386       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   15387       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   15388     esac
   15389   else :
   15390     # compilation failed
   15391     lt_cv_dlopen_self=no
   15392   fi
   15393 fi
   15394 rm -fr conftest*
   15395 
   15396      ;;
   15397 esac
   15398 fi
   15399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   15400 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   15401 
   15402     if test yes = "$lt_cv_dlopen_self"; then
   15403       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   15404       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   15405 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   15406 if test ${lt_cv_dlopen_self_static+y}
   15407 then :
   15408   printf %s "(cached) " >&6
   15409 else case e in #(
   15410   e) 	  if test yes = "$cross_compiling"; then :
   15411   lt_cv_dlopen_self_static=cross
   15412 else
   15413   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   15414   lt_status=$lt_dlunknown
   15415   cat > conftest.$ac_ext <<_LT_EOF
   15416 #line $LINENO "configure"
   15417 #include "confdefs.h"
   15418 
   15419 #if HAVE_DLFCN_H
   15420 #include <dlfcn.h>
   15421 #endif
   15422 
   15423 #include <stdio.h>
   15424 
   15425 #ifdef RTLD_GLOBAL
   15426 #  define LT_DLGLOBAL		RTLD_GLOBAL
   15427 #else
   15428 #  ifdef DL_GLOBAL
   15429 #    define LT_DLGLOBAL		DL_GLOBAL
   15430 #  else
   15431 #    define LT_DLGLOBAL		0
   15432 #  endif
   15433 #endif
   15434 
   15435 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   15436    find out it does not work in some platform. */
   15437 #ifndef LT_DLLAZY_OR_NOW
   15438 #  ifdef RTLD_LAZY
   15439 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   15440 #  else
   15441 #    ifdef DL_LAZY
   15442 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   15443 #    else
   15444 #      ifdef RTLD_NOW
   15445 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   15446 #      else
   15447 #        ifdef DL_NOW
   15448 #          define LT_DLLAZY_OR_NOW	DL_NOW
   15449 #        else
   15450 #          define LT_DLLAZY_OR_NOW	0
   15451 #        endif
   15452 #      endif
   15453 #    endif
   15454 #  endif
   15455 #endif
   15456 
   15457 /* When -fvisibility=hidden is used, assume the code has been annotated
   15458    correspondingly for the symbols needed.  */
   15459 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   15460 int fnord (void) __attribute__((visibility("default")));
   15461 #endif
   15462 
   15463 int fnord (void) { return 42; }
   15464 int main (void)
   15465 {
   15466   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   15467   int status = $lt_dlunknown;
   15468 
   15469   if (self)
   15470     {
   15471       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   15472       else
   15473         {
   15474 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   15475           else puts (dlerror ());
   15476 	}
   15477       /* dlclose (self); */
   15478     }
   15479   else
   15480     puts (dlerror ());
   15481 
   15482   return status;
   15483 }
   15484 _LT_EOF
   15485   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   15486   (eval $ac_link) 2>&5
   15487   ac_status=$?
   15488   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15489   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   15490     (./conftest; exit; ) >&5 2>/dev/null
   15491     lt_status=$?
   15492     case x$lt_status in
   15493       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   15494       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   15495       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   15496     esac
   15497   else :
   15498     # compilation failed
   15499     lt_cv_dlopen_self_static=no
   15500   fi
   15501 fi
   15502 rm -fr conftest*
   15503 
   15504        ;;
   15505 esac
   15506 fi
   15507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   15508 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   15509     fi
   15510 
   15511     CPPFLAGS=$save_CPPFLAGS
   15512     LDFLAGS=$save_LDFLAGS
   15513     LIBS=$save_LIBS
   15514     ;;
   15515   esac
   15516 
   15517   case $lt_cv_dlopen_self in
   15518   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   15519   *) enable_dlopen_self=unknown ;;
   15520   esac
   15521 
   15522   case $lt_cv_dlopen_self_static in
   15523   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   15524   *) enable_dlopen_self_static=unknown ;;
   15525   esac
   15526 fi
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 
   15541 
   15542 
   15543 
   15544 striplib=
   15545 old_striplib=
   15546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   15547 printf %s "checking whether stripping libraries is possible... " >&6; }
   15548 if test -z "$STRIP"; then
   15549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15550 printf "%s\n" "no" >&6; }
   15551 else
   15552   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   15553     old_striplib="$STRIP --strip-debug"
   15554     striplib="$STRIP --strip-unneeded"
   15555     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15556 printf "%s\n" "yes" >&6; }
   15557   else
   15558     case $host_os in
   15559     darwin*)
   15560       # FIXME - insert some real tests, host_os isn't really good enough
   15561       striplib="$STRIP -x"
   15562       old_striplib="$STRIP -S"
   15563       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15564 printf "%s\n" "yes" >&6; }
   15565       ;;
   15566     freebsd*)
   15567       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   15568         old_striplib="$STRIP --strip-debug"
   15569         striplib="$STRIP --strip-unneeded"
   15570         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15571 printf "%s\n" "yes" >&6; }
   15572       else
   15573         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15574 printf "%s\n" "no" >&6; }
   15575       fi
   15576       ;;
   15577     *)
   15578       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15579 printf "%s\n" "no" >&6; }
   15580       ;;
   15581     esac
   15582   fi
   15583 fi
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596   # Report what library types will actually be built
   15597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   15598 printf %s "checking if libtool supports shared libraries... " >&6; }
   15599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   15600 printf "%s\n" "$can_build_shared" >&6; }
   15601 
   15602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   15603 printf %s "checking whether to build shared libraries... " >&6; }
   15604   test no = "$can_build_shared" && enable_shared=no
   15605 
   15606   # On AIX, shared libraries and static libraries use the same namespace, and
   15607   # are all built from PIC.
   15608   case $host_os in
   15609   aix3*)
   15610     test yes = "$enable_shared" && enable_static=no
   15611     if test -n "$RANLIB"; then
   15612       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   15613       postinstall_cmds='$RANLIB $lib'
   15614     fi
   15615     ;;
   15616 
   15617   aix[4-9]*)
   15618     if test ia64 != "$host_cpu"; then
   15619       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   15620       yes,aix,yes) ;;			# shared object as lib.so file only
   15621       yes,svr4,*) ;;			# shared object as lib.so archive member only
   15622       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   15623       esac
   15624     fi
   15625     ;;
   15626   esac
   15627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   15628 printf "%s\n" "$enable_shared" >&6; }
   15629 
   15630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   15631 printf %s "checking whether to build static libraries... " >&6; }
   15632   # Make sure either enable_shared or enable_static is yes.
   15633   test yes = "$enable_shared" || enable_static=yes
   15634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   15635 printf "%s\n" "$enable_static" >&6; }
   15636 
   15637 
   15638 
   15639 
   15640 fi
   15641 ac_ext=c
   15642 ac_cpp='$CPP $CPPFLAGS'
   15643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15646 
   15647 CC=$lt_save_CC
   15648 
   15649       if test -n "$CXX" && ( test no != "$CXX" &&
   15650     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
   15651     (test g++ != "$CXX"))); then
   15652   ac_ext=cpp
   15653 ac_cpp='$CXXCPP $CPPFLAGS'
   15654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   15658 printf %s "checking how to run the C++ preprocessor... " >&6; }
   15659 if test -z "$CXXCPP"; then
   15660   if test ${ac_cv_prog_CXXCPP+y}
   15661 then :
   15662   printf %s "(cached) " >&6
   15663 else case e in #(
   15664   e)     # Double quotes because $CXX needs to be expanded
   15665     for CXXCPP in "$CXX -E" cpp /lib/cpp
   15666     do
   15667       ac_preproc_ok=false
   15668 for ac_cxx_preproc_warn_flag in '' yes
   15669 do
   15670   # Use a header file that comes with gcc, so configuring glibc
   15671   # with a fresh cross-compiler works.
   15672   # On the NeXT, cc -E runs the code through the compiler's parser,
   15673   # not just through cpp. "Syntax error" is here to catch this case.
   15674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15675 /* end confdefs.h.  */
   15676 #include <limits.h>
   15677 		     Syntax error
   15678 _ACEOF
   15679 if ac_fn_cxx_try_cpp "$LINENO"
   15680 then :
   15681 
   15682 else case e in #(
   15683   e) # Broken: fails on valid input.
   15684 continue ;;
   15685 esac
   15686 fi
   15687 rm -f conftest.err conftest.i conftest.$ac_ext
   15688 
   15689   # OK, works on sane cases.  Now check whether nonexistent headers
   15690   # can be detected and how.
   15691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15692 /* end confdefs.h.  */
   15693 #include <ac_nonexistent.h>
   15694 _ACEOF
   15695 if ac_fn_cxx_try_cpp "$LINENO"
   15696 then :
   15697   # Broken: success on invalid input.
   15698 continue
   15699 else case e in #(
   15700   e) # Passes both tests.
   15701 ac_preproc_ok=:
   15702 break ;;
   15703 esac
   15704 fi
   15705 rm -f conftest.err conftest.i conftest.$ac_ext
   15706 
   15707 done
   15708 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   15709 rm -f conftest.i conftest.err conftest.$ac_ext
   15710 if $ac_preproc_ok
   15711 then :
   15712   break
   15713 fi
   15714 
   15715     done
   15716     ac_cv_prog_CXXCPP=$CXXCPP
   15717    ;;
   15718 esac
   15719 fi
   15720   CXXCPP=$ac_cv_prog_CXXCPP
   15721 else
   15722   ac_cv_prog_CXXCPP=$CXXCPP
   15723 fi
   15724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   15725 printf "%s\n" "$CXXCPP" >&6; }
   15726 ac_preproc_ok=false
   15727 for ac_cxx_preproc_warn_flag in '' yes
   15728 do
   15729   # Use a header file that comes with gcc, so configuring glibc
   15730   # with a fresh cross-compiler works.
   15731   # On the NeXT, cc -E runs the code through the compiler's parser,
   15732   # not just through cpp. "Syntax error" is here to catch this case.
   15733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15734 /* end confdefs.h.  */
   15735 #include <limits.h>
   15736 		     Syntax error
   15737 _ACEOF
   15738 if ac_fn_cxx_try_cpp "$LINENO"
   15739 then :
   15740 
   15741 else case e in #(
   15742   e) # Broken: fails on valid input.
   15743 continue ;;
   15744 esac
   15745 fi
   15746 rm -f conftest.err conftest.i conftest.$ac_ext
   15747 
   15748   # OK, works on sane cases.  Now check whether nonexistent headers
   15749   # can be detected and how.
   15750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15751 /* end confdefs.h.  */
   15752 #include <ac_nonexistent.h>
   15753 _ACEOF
   15754 if ac_fn_cxx_try_cpp "$LINENO"
   15755 then :
   15756   # Broken: success on invalid input.
   15757 continue
   15758 else case e in #(
   15759   e) # Passes both tests.
   15760 ac_preproc_ok=:
   15761 break ;;
   15762 esac
   15763 fi
   15764 rm -f conftest.err conftest.i conftest.$ac_ext
   15765 
   15766 done
   15767 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   15768 rm -f conftest.i conftest.err conftest.$ac_ext
   15769 if $ac_preproc_ok
   15770 then :
   15771 
   15772 else case e in #(
   15773   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   15774 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   15775 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   15776 See 'config.log' for more details" "$LINENO" 5; } ;;
   15777 esac
   15778 fi
   15779 
   15780 ac_ext=c
   15781 ac_cpp='$CPP $CPPFLAGS'
   15782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15785 
   15786 else
   15787   _lt_caught_CXX_error=yes
   15788 fi
   15789 
   15790 ac_ext=cpp
   15791 ac_cpp='$CXXCPP $CPPFLAGS'
   15792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15795 
   15796 archive_cmds_need_lc_CXX=no
   15797 allow_undefined_flag_CXX=
   15798 always_export_symbols_CXX=no
   15799 archive_expsym_cmds_CXX=
   15800 compiler_needs_object_CXX=no
   15801 export_dynamic_flag_spec_CXX=
   15802 hardcode_direct_CXX=no
   15803 hardcode_direct_absolute_CXX=no
   15804 hardcode_libdir_flag_spec_CXX=
   15805 hardcode_libdir_separator_CXX=
   15806 hardcode_minus_L_CXX=no
   15807 hardcode_shlibpath_var_CXX=unsupported
   15808 hardcode_automatic_CXX=no
   15809 inherit_rpath_CXX=no
   15810 module_cmds_CXX=
   15811 module_expsym_cmds_CXX=
   15812 link_all_deplibs_CXX=unknown
   15813 old_archive_cmds_CXX=$old_archive_cmds
   15814 reload_flag_CXX=$reload_flag
   15815 reload_cmds_CXX=$reload_cmds
   15816 no_undefined_flag_CXX=
   15817 whole_archive_flag_spec_CXX=
   15818 enable_shared_with_static_runtimes_CXX=no
   15819 
   15820 # Source file extension for C++ test sources.
   15821 ac_ext=cpp
   15822 
   15823 # Object file extension for compiled C++ test sources.
   15824 objext=o
   15825 objext_CXX=$objext
   15826 
   15827 # No sense in running all these tests if we already determined that
   15828 # the CXX compiler isn't working.  Some variables (like enable_shared)
   15829 # are currently assumed to apply to all compilers on this platform,
   15830 # and will be corrupted by setting them based on a non-working compiler.
   15831 if test yes != "$_lt_caught_CXX_error"; then
   15832   # Code to be used in simple compile tests
   15833   lt_simple_compile_test_code="int some_variable = 0;"
   15834 
   15835   # Code to be used in simple link tests
   15836   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   15837 
   15838   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 # If no C compiler was specified, use CC.
   15846 LTCC=${LTCC-"$CC"}
   15847 
   15848 # If no C compiler flags were specified, use CFLAGS.
   15849 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15850 
   15851 # Allow CC to be a program name with arguments.
   15852 compiler=$CC
   15853 
   15854 
   15855   # save warnings/boilerplate of simple test code
   15856   ac_outfile=conftest.$ac_objext
   15857 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15858 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15859 _lt_compiler_boilerplate=`cat conftest.err`
   15860 $RM conftest*
   15861 
   15862   ac_outfile=conftest.$ac_objext
   15863 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15864 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15865 _lt_linker_boilerplate=`cat conftest.err`
   15866 $RM -r conftest*
   15867 
   15868 
   15869   # Allow CC to be a program name with arguments.
   15870   lt_save_CC=$CC
   15871   lt_save_CFLAGS=$CFLAGS
   15872   lt_save_LD=$LD
   15873   lt_save_GCC=$GCC
   15874   GCC=$GXX
   15875   lt_save_with_gnu_ld=$with_gnu_ld
   15876   lt_save_path_LD=$lt_cv_path_LD
   15877   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   15878     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   15879   else
   15880     $as_unset lt_cv_prog_gnu_ld
   15881   fi
   15882   if test -n "${lt_cv_path_LDCXX+set}"; then
   15883     lt_cv_path_LD=$lt_cv_path_LDCXX
   15884   else
   15885     $as_unset lt_cv_path_LD
   15886   fi
   15887   test -z "${LDCXX+set}" || LD=$LDCXX
   15888   CC=${CXX-"c++"}
   15889   CFLAGS=$CXXFLAGS
   15890   compiler=$CC
   15891   compiler_CXX=$CC
   15892   func_cc_basename $compiler
   15893 cc_basename=$func_cc_basename_result
   15894 
   15895 
   15896   if test -n "$compiler"; then
   15897     # We don't want -fno-exception when compiling C++ code, so set the
   15898     # no_builtin_flag separately
   15899     if test yes = "$GXX"; then
   15900       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   15901     else
   15902       lt_prog_compiler_no_builtin_flag_CXX=
   15903     fi
   15904 
   15905     if test yes = "$GXX"; then
   15906       # Set up default GNU C++ configuration
   15907 
   15908 
   15909 
   15910 # Check whether --with-gnu-ld was given.
   15911 if test ${with_gnu_ld+y}
   15912 then :
   15913   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   15914 else case e in #(
   15915   e) with_gnu_ld=no ;;
   15916 esac
   15917 fi
   15918 
   15919 ac_prog=ld
   15920 if test yes = "$GCC"; then
   15921   # Check if gcc -print-prog-name=ld gives a path.
   15922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   15923 printf %s "checking for ld used by $CC... " >&6; }
   15924   case $host in
   15925   *-*-mingw* | *-*-windows*)
   15926     # gcc leaves a trailing carriage return, which upsets mingw
   15927     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   15928   *)
   15929     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   15930   esac
   15931   case $ac_prog in
   15932     # Accept absolute paths.
   15933     [\\/]* | ?:[\\/]*)
   15934       re_direlt='/[^/][^/]*/\.\./'
   15935       # Canonicalize the pathname of ld
   15936       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   15937       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   15938 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   15939       done
   15940       test -z "$LD" && LD=$ac_prog
   15941       ;;
   15942   "")
   15943     # If it fails, then pretend we aren't using GCC.
   15944     ac_prog=ld
   15945     ;;
   15946   *)
   15947     # If it is relative, then search for the first ld in PATH.
   15948     with_gnu_ld=unknown
   15949     ;;
   15950   esac
   15951 elif test yes = "$with_gnu_ld"; then
   15952   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   15953 printf %s "checking for GNU ld... " >&6; }
   15954 else
   15955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   15956 printf %s "checking for non-GNU ld... " >&6; }
   15957 fi
   15958 if test ${lt_cv_path_LD+y}
   15959 then :
   15960   printf %s "(cached) " >&6
   15961 else case e in #(
   15962   e) if test -z "$LD"; then
   15963   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15964   for ac_dir in $PATH; do
   15965     IFS=$lt_save_ifs
   15966     test -z "$ac_dir" && ac_dir=.
   15967     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   15968       lt_cv_path_LD=$ac_dir/$ac_prog
   15969       # Check to see if the program is GNU ld.  I'd rather use --version,
   15970       # but apparently some variants of GNU ld only accept -v.
   15971       # Break only if it was the GNU/non-GNU ld that we prefer.
   15972       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   15973       *GNU* | *'with BFD'*)
   15974 	test no != "$with_gnu_ld" && break
   15975 	;;
   15976       *)
   15977 	test yes != "$with_gnu_ld" && break
   15978 	;;
   15979       esac
   15980     fi
   15981   done
   15982   IFS=$lt_save_ifs
   15983 else
   15984   lt_cv_path_LD=$LD # Let the user override the test with a path.
   15985 fi ;;
   15986 esac
   15987 fi
   15988 
   15989 LD=$lt_cv_path_LD
   15990 if test -n "$LD"; then
   15991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   15992 printf "%s\n" "$LD" >&6; }
   15993 else
   15994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15995 printf "%s\n" "no" >&6; }
   15996 fi
   15997 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   15998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   15999 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   16000 if test ${lt_cv_prog_gnu_ld+y}
   16001 then :
   16002   printf %s "(cached) " >&6
   16003 else case e in #(
   16004   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   16005 case `$LD -v 2>&1 </dev/null` in
   16006 *GNU* | *'with BFD'*)
   16007   lt_cv_prog_gnu_ld=yes
   16008   ;;
   16009 *)
   16010   lt_cv_prog_gnu_ld=no
   16011   ;;
   16012 esac ;;
   16013 esac
   16014 fi
   16015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   16016 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   16017 with_gnu_ld=$lt_cv_prog_gnu_ld
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   16026       # archiving commands below assume that GNU ld is being used.
   16027       if test yes = "$with_gnu_ld"; then
   16028         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16029         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'
   16030 
   16031         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16032         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16033 
   16034         # If archive_cmds runs LD, not CC, wlarc should be empty
   16035         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   16036         #     investigate it a little bit more. (MM)
   16037         wlarc='$wl'
   16038 
   16039         # ancient GNU ld didn't support --whole-archive et. al.
   16040         if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16041           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16042         else
   16043           whole_archive_flag_spec_CXX=
   16044         fi
   16045       else
   16046         with_gnu_ld=no
   16047         wlarc=
   16048 
   16049         # A generic and very simple default shared library creation
   16050         # command for GNU C++ for the case where it uses the native
   16051         # linker, instead of GNU ld.  If possible, this setting should
   16052         # overridden to take advantage of the native linker features on
   16053         # the platform it is being used on.
   16054         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   16055       fi
   16056 
   16057       # Commands to make compiler produce verbose output that lists
   16058       # what "hidden" libraries, object files and flags are used when
   16059       # linking a shared library.
   16060       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
   16061 
   16062     else
   16063       GXX=no
   16064       with_gnu_ld=no
   16065       wlarc=
   16066     fi
   16067 
   16068     # PORTME: fill in a description of your system's C++ link characteristics
   16069     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16070 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16071     ld_shlibs_CXX=yes
   16072     case $host_os in
   16073       aix3*)
   16074         # FIXME: insert proper C++ library support
   16075         ld_shlibs_CXX=no
   16076         ;;
   16077       aix[4-9]*)
   16078         if test ia64 = "$host_cpu"; then
   16079           # On IA64, the linker does run time linking by default, so we don't
   16080           # have to do anything special.
   16081           aix_use_runtimelinking=no
   16082           exp_sym_flag='-Bexport'
   16083           no_entry_flag=
   16084         else
   16085           aix_use_runtimelinking=no
   16086 
   16087           # Test if we are trying to use run time linking or normal
   16088           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16089           # have runtime linking enabled, and use it for executables.
   16090           # For shared libraries, we enable/disable runtime linking
   16091           # depending on the kind of the shared library created -
   16092           # when "with_aix_soname,aix_use_runtimelinking" is:
   16093           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16094           # "aix,yes"  lib.so          shared, rtl:yes, for executables
   16095           #            lib.a           static archive
   16096           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16097           #            lib.a(lib.so.V) shared, rtl:no,  for executables
   16098           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16099           #            lib.a(lib.so.V) shared, rtl:no
   16100           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16101           #            lib.a           static archive
   16102           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16103 	    for ld_flag in $LDFLAGS; do
   16104 	      case $ld_flag in
   16105 	      *-brtl*)
   16106 	        aix_use_runtimelinking=yes
   16107 	        break
   16108 	        ;;
   16109 	      esac
   16110 	    done
   16111 	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16112 	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16113 	      # so we don't have lib.a shared libs to link our executables.
   16114 	      # We have to force runtime linking in this case.
   16115 	      aix_use_runtimelinking=yes
   16116 	      LDFLAGS="$LDFLAGS -Wl,-brtl"
   16117 	    fi
   16118 	    ;;
   16119           esac
   16120 
   16121           exp_sym_flag='-bexport'
   16122           no_entry_flag='-bnoentry'
   16123         fi
   16124 
   16125         # When large executables or shared objects are built, AIX ld can
   16126         # have problems creating the table of contents.  If linking a library
   16127         # or program results in "error TOC overflow" add -mminimal-toc to
   16128         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16129         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16130 
   16131         archive_cmds_CXX=''
   16132         hardcode_direct_CXX=yes
   16133         hardcode_direct_absolute_CXX=yes
   16134         hardcode_libdir_separator_CXX=':'
   16135         link_all_deplibs_CXX=yes
   16136         file_list_spec_CXX='$wl-f,'
   16137         case $with_aix_soname,$aix_use_runtimelinking in
   16138         aix,*) ;;	# no import file
   16139         svr4,* | *,yes) # use import file
   16140           # The Import File defines what to hardcode.
   16141           hardcode_direct_CXX=no
   16142           hardcode_direct_absolute_CXX=no
   16143           ;;
   16144         esac
   16145 
   16146         if test yes = "$GXX"; then
   16147           case $host_os in aix4.[012]|aix4.[012].*)
   16148           # We only want to do this on AIX 4.2 and lower, the check
   16149           # below for broken collect2 doesn't work under 4.3+
   16150 	  collect2name=`$CC -print-prog-name=collect2`
   16151 	  if test -f "$collect2name" &&
   16152 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16153 	  then
   16154 	    # We have reworked collect2
   16155 	    :
   16156 	  else
   16157 	    # We have old collect2
   16158 	    hardcode_direct_CXX=unsupported
   16159 	    # It fails to find uninstalled libraries when the uninstalled
   16160 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   16161 	    # to unsupported forces relinking
   16162 	    hardcode_minus_L_CXX=yes
   16163 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   16164 	    hardcode_libdir_separator_CXX=
   16165 	  fi
   16166           esac
   16167           shared_flag='-shared'
   16168 	  if test yes = "$aix_use_runtimelinking"; then
   16169 	    shared_flag=$shared_flag' $wl-G'
   16170 	  fi
   16171 	  # Need to ensure runtime linking is disabled for the traditional
   16172 	  # shared library, or the linker may eventually find shared libraries
   16173 	  # /with/ Import File - we do not want to mix them.
   16174 	  shared_flag_aix='-shared'
   16175 	  shared_flag_svr4='-shared $wl-G'
   16176         else
   16177           # not using gcc
   16178           if test ia64 = "$host_cpu"; then
   16179 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16180 	  # chokes on -Wl,-G. The following line is correct:
   16181 	  shared_flag='-G'
   16182           else
   16183 	    if test yes = "$aix_use_runtimelinking"; then
   16184 	      shared_flag='$wl-G'
   16185 	    else
   16186 	      shared_flag='$wl-bM:SRE'
   16187 	    fi
   16188 	    shared_flag_aix='$wl-bM:SRE'
   16189 	    shared_flag_svr4='$wl-G'
   16190           fi
   16191         fi
   16192 
   16193         export_dynamic_flag_spec_CXX='$wl-bexpall'
   16194         # It seems that -bexpall does not export symbols beginning with
   16195         # underscore (_), so it is better to generate a list of symbols to
   16196 	# export.
   16197         always_export_symbols_CXX=yes
   16198 	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16199           # Warning - without using the other runtime loading flags (-brtl),
   16200           # -berok will link without error, but may produce a broken library.
   16201           # The "-G" linker flag allows undefined symbols.
   16202           no_undefined_flag_CXX='-bernotok'
   16203           # Determine the default libpath from the value encoded in an empty
   16204           # executable.
   16205           if test set = "${lt_cv_aix_libpath+set}"; then
   16206   aix_libpath=$lt_cv_aix_libpath
   16207 else
   16208   if test ${lt_cv_aix_libpath__CXX+y}
   16209 then :
   16210   printf %s "(cached) " >&6
   16211 else case e in #(
   16212   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16213 /* end confdefs.h.  */
   16214 
   16215 int
   16216 main (void)
   16217 {
   16218 
   16219   ;
   16220   return 0;
   16221 }
   16222 _ACEOF
   16223 if ac_fn_cxx_try_link "$LINENO"
   16224 then :
   16225 
   16226   lt_aix_libpath_sed='
   16227       /Import File Strings/,/^$/ {
   16228 	  /^0/ {
   16229 	      s/^0  *\([^ ]*\) *$/\1/
   16230 	      p
   16231 	  }
   16232       }'
   16233   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16234   # Check for a 64-bit object if we didn't find anything.
   16235   if test -z "$lt_cv_aix_libpath__CXX"; then
   16236     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16237   fi
   16238 fi
   16239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16240     conftest$ac_exeext conftest.$ac_ext
   16241   if test -z "$lt_cv_aix_libpath__CXX"; then
   16242     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   16243   fi
   16244    ;;
   16245 esac
   16246 fi
   16247 
   16248   aix_libpath=$lt_cv_aix_libpath__CXX
   16249 fi
   16250 
   16251           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   16252 
   16253           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
   16254         else
   16255           if test ia64 = "$host_cpu"; then
   16256 	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
   16257 	    allow_undefined_flag_CXX="-z nodefs"
   16258 	    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"
   16259           else
   16260 	    # Determine the default libpath from the value encoded in an
   16261 	    # empty executable.
   16262 	    if test set = "${lt_cv_aix_libpath+set}"; then
   16263   aix_libpath=$lt_cv_aix_libpath
   16264 else
   16265   if test ${lt_cv_aix_libpath__CXX+y}
   16266 then :
   16267   printf %s "(cached) " >&6
   16268 else case e in #(
   16269   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16270 /* end confdefs.h.  */
   16271 
   16272 int
   16273 main (void)
   16274 {
   16275 
   16276   ;
   16277   return 0;
   16278 }
   16279 _ACEOF
   16280 if ac_fn_cxx_try_link "$LINENO"
   16281 then :
   16282 
   16283   lt_aix_libpath_sed='
   16284       /Import File Strings/,/^$/ {
   16285 	  /^0/ {
   16286 	      s/^0  *\([^ ]*\) *$/\1/
   16287 	      p
   16288 	  }
   16289       }'
   16290   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16291   # Check for a 64-bit object if we didn't find anything.
   16292   if test -z "$lt_cv_aix_libpath__CXX"; then
   16293     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16294   fi
   16295 fi
   16296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16297     conftest$ac_exeext conftest.$ac_ext
   16298   if test -z "$lt_cv_aix_libpath__CXX"; then
   16299     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   16300   fi
   16301    ;;
   16302 esac
   16303 fi
   16304 
   16305   aix_libpath=$lt_cv_aix_libpath__CXX
   16306 fi
   16307 
   16308 	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   16309 	    # Warning - without using the other run time loading flags,
   16310 	    # -berok will link without error, but may produce a broken library.
   16311 	    no_undefined_flag_CXX=' $wl-bernotok'
   16312 	    allow_undefined_flag_CXX=' $wl-berok'
   16313 	    if test yes = "$with_gnu_ld"; then
   16314 	      # We only use this code for GNU lds that support --whole-archive.
   16315 	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   16316 	    else
   16317 	      # Exported symbols can be pulled into shared objects from archives
   16318 	      whole_archive_flag_spec_CXX='$convenience'
   16319 	    fi
   16320 	    archive_cmds_need_lc_CXX=yes
   16321 	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16322 	    # -brtl affects multiple linker settings, -berok does not and is overridden later
   16323 	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16324 	    if test svr4 != "$with_aix_soname"; then
   16325 	      # This is similar to how AIX traditionally builds its shared
   16326 	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
   16327 	      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'
   16328 	    fi
   16329 	    if test aix != "$with_aix_soname"; then
   16330 	      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'
   16331 	    else
   16332 	      # used by -dlpreopen to get the symbols
   16333 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16334 	    fi
   16335 	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
   16336           fi
   16337         fi
   16338         ;;
   16339 
   16340       beos*)
   16341 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16342 	  allow_undefined_flag_CXX=unsupported
   16343 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16344 	  # support --undefined.  This deserves some investigation.  FIXME
   16345 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16346 	else
   16347 	  ld_shlibs_CXX=no
   16348 	fi
   16349 	;;
   16350 
   16351       chorus*)
   16352         case $cc_basename in
   16353           *)
   16354 	  # FIXME: insert proper C++ library support
   16355 	  ld_shlibs_CXX=no
   16356 	  ;;
   16357         esac
   16358         ;;
   16359 
   16360       cygwin* | mingw* | windows* | pw32* | cegcc*)
   16361 	case $GXX,$cc_basename in
   16362 	,cl* | no,cl* | ,icl* | no,icl*)
   16363 	  # Native MSVC or ICC
   16364 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   16365 	  # no search path for DLLs.
   16366 	  hardcode_libdir_flag_spec_CXX=' '
   16367 	  allow_undefined_flag_CXX=unsupported
   16368 	  always_export_symbols_CXX=yes
   16369 	  file_list_spec_CXX='@'
   16370 	  # Tell ltmain to make .lib files, not .a files.
   16371 	  libext=lib
   16372 	  # Tell ltmain to make .dll files, not .so files.
   16373 	  shrext_cmds=.dll
   16374 	  # FIXME: Setting linknames here is a bad hack.
   16375 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16376 	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16377               cp "$export_symbols" "$output_objdir/$soname.def";
   16378               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16379             else
   16380               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16381             fi~
   16382             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16383             linknames='
   16384 	  # The linker will not automatically build a static lib if we build a DLL.
   16385 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   16386 	  enable_shared_with_static_runtimes_CXX=yes
   16387 	  # Don't use ranlib
   16388 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   16389 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   16390             lt_tool_outputfile="@TOOL_OUTPUT@"~
   16391             case $lt_outputfile in
   16392               *.exe|*.EXE) ;;
   16393               *)
   16394                 lt_outputfile=$lt_outputfile.exe
   16395                 lt_tool_outputfile=$lt_tool_outputfile.exe
   16396                 ;;
   16397             esac~
   16398             func_to_tool_file "$lt_outputfile"~
   16399             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16400               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16401               $RM "$lt_outputfile.manifest";
   16402             fi'
   16403 	  ;;
   16404 	*)
   16405 	  # g++
   16406 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   16407 	  # as there is no search path for DLLs.
   16408 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   16409 	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
   16410 	  allow_undefined_flag_CXX=unsupported
   16411 	  always_export_symbols_CXX=no
   16412 	  enable_shared_with_static_runtimes_CXX=yes
   16413 	  file_list_spec_CXX='@'
   16414 
   16415 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16416 	    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'
   16417 	    # If the export-symbols file already is a .def file, use it as
   16418 	    # is; otherwise, prepend EXPORTS...
   16419 	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16420               cp $export_symbols $output_objdir/$soname.def;
   16421             else
   16422               echo EXPORTS > $output_objdir/$soname.def;
   16423               cat $export_symbols >> $output_objdir/$soname.def;
   16424             fi~
   16425             $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'
   16426 	  else
   16427 	    ld_shlibs_CXX=no
   16428 	  fi
   16429 	  ;;
   16430 	esac
   16431 	;;
   16432       darwin* | rhapsody*)
   16433 
   16434 
   16435   archive_cmds_need_lc_CXX=no
   16436   hardcode_direct_CXX=no
   16437   hardcode_automatic_CXX=yes
   16438   hardcode_shlibpath_var_CXX=unsupported
   16439   if test yes = "$lt_cv_ld_force_load"; then
   16440     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\"`'
   16441 
   16442   else
   16443     whole_archive_flag_spec_CXX=''
   16444   fi
   16445   link_all_deplibs_CXX=yes
   16446   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
   16447   case $cc_basename in
   16448      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16449      *) _lt_dar_can_shared=$GCC ;;
   16450   esac
   16451   if test yes = "$_lt_dar_can_shared"; then
   16452     output_verbose_link_cmd=func_echo_all
   16453     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"
   16454     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16455     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"
   16456     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"
   16457        if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
   16458       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"
   16459       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"
   16460     fi
   16461 
   16462   else
   16463   ld_shlibs_CXX=no
   16464   fi
   16465 
   16466 	;;
   16467 
   16468       os2*)
   16469 	hardcode_libdir_flag_spec_CXX='-L$libdir'
   16470 	hardcode_minus_L_CXX=yes
   16471 	allow_undefined_flag_CXX=unsupported
   16472 	shrext_cmds=.dll
   16473 	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16474 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16475 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16476 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   16477 	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16478 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16479 	  emximp -o $lib $output_objdir/$libname.def'
   16480 	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16481 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16482 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16483 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   16484 	  prefix_cmds="$SED"~
   16485 	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16486 	    prefix_cmds="$prefix_cmds -e 1d";
   16487 	  fi~
   16488 	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16489 	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16490 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16491 	  emximp -o $lib $output_objdir/$libname.def'
   16492 	old_archive_from_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16493 	enable_shared_with_static_runtimes_CXX=yes
   16494 	file_list_spec_CXX='@'
   16495 	;;
   16496 
   16497       dgux*)
   16498         case $cc_basename in
   16499           ec++*)
   16500 	    # FIXME: insert proper C++ library support
   16501 	    ld_shlibs_CXX=no
   16502 	    ;;
   16503           ghcx*)
   16504 	    # Green Hills C++ Compiler
   16505 	    # FIXME: insert proper C++ library support
   16506 	    ld_shlibs_CXX=no
   16507 	    ;;
   16508           *)
   16509 	    # FIXME: insert proper C++ library support
   16510 	    ld_shlibs_CXX=no
   16511 	    ;;
   16512         esac
   16513         ;;
   16514 
   16515       freebsd2.*)
   16516         # C++ shared libraries reported to be fairly broken before
   16517 	# switch to ELF
   16518         ld_shlibs_CXX=no
   16519         ;;
   16520 
   16521       freebsd-elf*)
   16522         archive_cmds_need_lc_CXX=no
   16523         ;;
   16524 
   16525       freebsd* | dragonfly* | midnightbsd*)
   16526         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   16527         # conventions
   16528         ld_shlibs_CXX=yes
   16529         ;;
   16530 
   16531       haiku*)
   16532         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16533         link_all_deplibs_CXX=no
   16534         ;;
   16535 
   16536       hpux9*)
   16537         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   16538         hardcode_libdir_separator_CXX=:
   16539         export_dynamic_flag_spec_CXX='$wl-E'
   16540         hardcode_direct_CXX=yes
   16541         hardcode_minus_L_CXX=yes # Not in the search PATH,
   16542 				             # but as the default
   16543 				             # location of the library.
   16544 
   16545         case $cc_basename in
   16546           CC*)
   16547             # FIXME: insert proper C++ library support
   16548             ld_shlibs_CXX=no
   16549             ;;
   16550           aCC*)
   16551             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'
   16552             # Commands to make compiler produce verbose output that lists
   16553             # what "hidden" libraries, object files and flags are used when
   16554             # linking a shared library.
   16555             #
   16556             # There doesn't appear to be a way to prevent this compiler from
   16557             # explicitly linking system object files so we need to strip them
   16558             # from the output so that they don't get included in the library
   16559             # dependencies.
   16560             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"'
   16561             ;;
   16562           *)
   16563             if test yes = "$GXX"; then
   16564               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'
   16565             else
   16566               # FIXME: insert proper C++ library support
   16567               ld_shlibs_CXX=no
   16568             fi
   16569             ;;
   16570         esac
   16571         ;;
   16572 
   16573       hpux10*|hpux11*)
   16574         if test no = "$with_gnu_ld"; then
   16575 	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   16576 	  hardcode_libdir_separator_CXX=:
   16577 
   16578           case $host_cpu in
   16579             hppa*64*|ia64*)
   16580               ;;
   16581             *)
   16582 	      export_dynamic_flag_spec_CXX='$wl-E'
   16583               ;;
   16584           esac
   16585         fi
   16586         case $host_cpu in
   16587           hppa*64*|ia64*)
   16588             hardcode_direct_CXX=no
   16589             hardcode_shlibpath_var_CXX=no
   16590             ;;
   16591           *)
   16592             hardcode_direct_CXX=yes
   16593             hardcode_direct_absolute_CXX=yes
   16594             hardcode_minus_L_CXX=yes # Not in the search PATH,
   16595 					         # but as the default
   16596 					         # location of the library.
   16597             ;;
   16598         esac
   16599 
   16600         case $cc_basename in
   16601           CC*)
   16602 	    # FIXME: insert proper C++ library support
   16603 	    ld_shlibs_CXX=no
   16604 	    ;;
   16605           aCC*)
   16606 	    case $host_cpu in
   16607 	      hppa*64*)
   16608 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16609 	        ;;
   16610 	      ia64*)
   16611 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16612 	        ;;
   16613 	      *)
   16614 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16615 	        ;;
   16616 	    esac
   16617 	    # Commands to make compiler produce verbose output that lists
   16618 	    # what "hidden" libraries, object files and flags are used when
   16619 	    # linking a shared library.
   16620 	    #
   16621 	    # There doesn't appear to be a way to prevent this compiler from
   16622 	    # explicitly linking system object files so we need to strip them
   16623 	    # from the output so that they don't get included in the library
   16624 	    # dependencies.
   16625 	    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"'
   16626 	    ;;
   16627           *)
   16628 	    if test yes = "$GXX"; then
   16629 	      if test no = "$with_gnu_ld"; then
   16630 	        case $host_cpu in
   16631 	          hppa*64*)
   16632 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16633 	            ;;
   16634 	          ia64*)
   16635 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16636 	            ;;
   16637 	          *)
   16638 	            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'
   16639 	            ;;
   16640 	        esac
   16641 	      fi
   16642 	    else
   16643 	      # FIXME: insert proper C++ library support
   16644 	      ld_shlibs_CXX=no
   16645 	    fi
   16646 	    ;;
   16647         esac
   16648         ;;
   16649 
   16650       interix[3-9]*)
   16651 	hardcode_direct_CXX=no
   16652 	hardcode_shlibpath_var_CXX=no
   16653 	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16654 	export_dynamic_flag_spec_CXX='$wl-E'
   16655 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16656 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   16657 	# default) and relocated if they conflict, which is a slow very memory
   16658 	# consuming and fragmenting process.  To avoid this, we pick a random,
   16659 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16660 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16661 	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'
   16662 	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'
   16663 	;;
   16664       irix5* | irix6*)
   16665         case $cc_basename in
   16666           CC*)
   16667 	    # SGI C++
   16668 	    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'
   16669 
   16670 	    # Archives containing C++ object files must be created using
   16671 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   16672 	    # necessary to make sure instantiated templates are included
   16673 	    # in the archive.
   16674 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   16675 	    ;;
   16676           *)
   16677 	    if test yes = "$GXX"; then
   16678 	      if test no = "$with_gnu_ld"; then
   16679 	        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'
   16680 	      else
   16681 	        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'
   16682 	      fi
   16683 	    fi
   16684 	    link_all_deplibs_CXX=yes
   16685 	    ;;
   16686         esac
   16687         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16688         hardcode_libdir_separator_CXX=:
   16689         inherit_rpath_CXX=yes
   16690         ;;
   16691 
   16692       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16693         case $cc_basename in
   16694           KCC*)
   16695 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   16696 
   16697 	    # KCC will only create a shared library if the output file
   16698 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   16699 	    # to its proper name (with version) after linking.
   16700 	    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'
   16701 	    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'
   16702 	    # Commands to make compiler produce verbose output that lists
   16703 	    # what "hidden" libraries, object files and flags are used when
   16704 	    # linking a shared library.
   16705 	    #
   16706 	    # There doesn't appear to be a way to prevent this compiler from
   16707 	    # explicitly linking system object files so we need to strip them
   16708 	    # from the output so that they don't get included in the library
   16709 	    # dependencies.
   16710 	    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"'
   16711 
   16712 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16713 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16714 
   16715 	    # Archives containing C++ object files must be created using
   16716 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   16717 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   16718 	    ;;
   16719 	  icpc* | ecpc* )
   16720 	    # Intel C++
   16721 	    with_gnu_ld=yes
   16722 	    # version 8.0 and above of icpc choke on multiply defined symbols
   16723 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   16724 	    # earlier do not add the objects themselves.
   16725 	    case `$CC -V 2>&1` in
   16726 	      *"Version 7."*)
   16727 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16728 		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'
   16729 		;;
   16730 	      *)  # Version 8.0 or newer
   16731 	        tmp_idyn=
   16732 	        case $host_cpu in
   16733 		  ia64*) tmp_idyn=' -i_dynamic';;
   16734 		esac
   16735 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16736 		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'
   16737 		;;
   16738 	    esac
   16739 	    archive_cmds_need_lc_CXX=no
   16740 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16741 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16742 	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   16743 	    ;;
   16744           pgCC* | pgcpp*)
   16745             # Portland Group C++ compiler
   16746 	    case `$CC -V` in
   16747 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   16748 	      prelink_cmds_CXX='tpldir=Template.dir~
   16749                rm -rf $tpldir~
   16750                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   16751                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   16752 	      old_archive_cmds_CXX='tpldir=Template.dir~
   16753                 rm -rf $tpldir~
   16754                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   16755                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   16756                 $RANLIB $oldlib'
   16757 	      archive_cmds_CXX='tpldir=Template.dir~
   16758                 rm -rf $tpldir~
   16759                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   16760                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16761 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   16762                 rm -rf $tpldir~
   16763                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   16764                 $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'
   16765 	      ;;
   16766 	    *) # Version 6 and above use weak symbols
   16767 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16768 	      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'
   16769 	      ;;
   16770 	    esac
   16771 
   16772 	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
   16773 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16774 	    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'
   16775             ;;
   16776 	  cxx*)
   16777 	    # Compaq C++
   16778 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   16779 	    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'
   16780 
   16781 	    runpath_var=LD_RUN_PATH
   16782 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   16783 	    hardcode_libdir_separator_CXX=:
   16784 
   16785 	    # Commands to make compiler produce verbose output that lists
   16786 	    # what "hidden" libraries, object files and flags are used when
   16787 	    # linking a shared library.
   16788 	    #
   16789 	    # There doesn't appear to be a way to prevent this compiler from
   16790 	    # explicitly linking system object files so we need to strip them
   16791 	    # from the output so that they don't get included in the library
   16792 	    # dependencies.
   16793 	    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'
   16794 	    ;;
   16795 	  xl* | mpixl* | bgxl*)
   16796 	    # IBM XL 8.0 on PPC, with GNU ld
   16797 	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16798 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   16799 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16800 	    if test yes = "$supports_anon_versioning"; then
   16801 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   16802                 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16803                 echo "local: *; };" >> $output_objdir/$libname.ver~
   16804                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16805 	    fi
   16806 	    ;;
   16807 	  *)
   16808 	    case `$CC -V 2>&1 | $SED 5q` in
   16809 	    *Sun\ C*)
   16810 	      # Sun C++ 5.9
   16811 	      no_undefined_flag_CXX=' -zdefs'
   16812 	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   16813 	      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'
   16814 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   16815 	      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'
   16816 	      compiler_needs_object_CXX=yes
   16817 
   16818 	      # Not sure whether something based on
   16819 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   16820 	      # would be better.
   16821 	      output_verbose_link_cmd='func_echo_all'
   16822 
   16823 	      # Archives containing C++ object files must be created using
   16824 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   16825 	      # necessary to make sure instantiated templates are included
   16826 	      # in the archive.
   16827 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   16828 	      ;;
   16829 	    esac
   16830 	    ;;
   16831 	esac
   16832 	;;
   16833 
   16834       lynxos*)
   16835         # FIXME: insert proper C++ library support
   16836 	ld_shlibs_CXX=no
   16837 	;;
   16838 
   16839       m88k*)
   16840         # FIXME: insert proper C++ library support
   16841         ld_shlibs_CXX=no
   16842 	;;
   16843 
   16844       mvs*)
   16845         case $cc_basename in
   16846           cxx*)
   16847 	    # FIXME: insert proper C++ library support
   16848 	    ld_shlibs_CXX=no
   16849 	    ;;
   16850 	  *)
   16851 	    # FIXME: insert proper C++ library support
   16852 	    ld_shlibs_CXX=no
   16853 	    ;;
   16854 	esac
   16855 	;;
   16856 
   16857       *-mlibc)
   16858         ld_shlibs_CXX=yes
   16859 	;;
   16860 
   16861       netbsd*)
   16862         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16863 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   16864 	  wlarc=
   16865 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   16866 	  hardcode_direct_CXX=yes
   16867 	  hardcode_shlibpath_var_CXX=no
   16868 	fi
   16869 	# Workaround some broken pre-1.5 toolchains
   16870 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   16871 	;;
   16872 
   16873       *nto* | *qnx*)
   16874         ld_shlibs_CXX=yes
   16875 	;;
   16876 
   16877       openbsd*)
   16878 	if test -f /usr/libexec/ld.so; then
   16879 	  hardcode_direct_CXX=yes
   16880 	  hardcode_shlibpath_var_CXX=no
   16881 	  hardcode_direct_absolute_CXX=yes
   16882 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   16883 	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16884 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
   16885 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
   16886 	    export_dynamic_flag_spec_CXX='$wl-E'
   16887 	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16888 	  fi
   16889 	  output_verbose_link_cmd=func_echo_all
   16890 	else
   16891 	  ld_shlibs_CXX=no
   16892 	fi
   16893 	;;
   16894 
   16895       osf3* | osf4* | osf5*)
   16896         case $cc_basename in
   16897           KCC*)
   16898 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   16899 
   16900 	    # KCC will only create a shared library if the output file
   16901 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   16902 	    # to its proper name (with version) after linking.
   16903 	    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'
   16904 
   16905 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   16906 	    hardcode_libdir_separator_CXX=:
   16907 
   16908 	    # Archives containing C++ object files must be created using
   16909 	    # the KAI C++ compiler.
   16910 	    case $host in
   16911 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   16912 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   16913 	    esac
   16914 	    ;;
   16915           RCC*)
   16916 	    # Rational C++ 2.4.1
   16917 	    # FIXME: insert proper C++ library support
   16918 	    ld_shlibs_CXX=no
   16919 	    ;;
   16920           cxx*)
   16921 	    case $host in
   16922 	      osf3*)
   16923 	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   16924 	        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'
   16925 	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16926 		;;
   16927 	      *)
   16928 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   16929 	        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'
   16930 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   16931                   echo "-hidden">> $lib.exp~
   16932                   $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~
   16933                   $RM $lib.exp'
   16934 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   16935 		;;
   16936 	    esac
   16937 
   16938 	    hardcode_libdir_separator_CXX=:
   16939 
   16940 	    # Commands to make compiler produce verbose output that lists
   16941 	    # what "hidden" libraries, object files and flags are used when
   16942 	    # linking a shared library.
   16943 	    #
   16944 	    # There doesn't appear to be a way to prevent this compiler from
   16945 	    # explicitly linking system object files so we need to strip them
   16946 	    # from the output so that they don't get included in the library
   16947 	    # dependencies.
   16948 	    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"'
   16949 	    ;;
   16950 	  *)
   16951 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   16952 	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   16953 	      case $host in
   16954 	        osf3*)
   16955 	          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'
   16956 		  ;;
   16957 	        *)
   16958 	          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'
   16959 		  ;;
   16960 	      esac
   16961 
   16962 	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   16963 	      hardcode_libdir_separator_CXX=:
   16964 
   16965 	      # Commands to make compiler produce verbose output that lists
   16966 	      # what "hidden" libraries, object files and flags are used when
   16967 	      # linking a shared library.
   16968 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
   16969 
   16970 	    else
   16971 	      # FIXME: insert proper C++ library support
   16972 	      ld_shlibs_CXX=no
   16973 	    fi
   16974 	    ;;
   16975         esac
   16976         ;;
   16977 
   16978       psos*)
   16979         # FIXME: insert proper C++ library support
   16980         ld_shlibs_CXX=no
   16981         ;;
   16982 
   16983       serenity*)
   16984         ;;
   16985 
   16986       sunos4*)
   16987         case $cc_basename in
   16988           CC*)
   16989 	    # Sun C++ 4.x
   16990 	    # FIXME: insert proper C++ library support
   16991 	    ld_shlibs_CXX=no
   16992 	    ;;
   16993           lcc*)
   16994 	    # Lucid
   16995 	    # FIXME: insert proper C++ library support
   16996 	    ld_shlibs_CXX=no
   16997 	    ;;
   16998           *)
   16999 	    # FIXME: insert proper C++ library support
   17000 	    ld_shlibs_CXX=no
   17001 	    ;;
   17002         esac
   17003         ;;
   17004 
   17005       solaris*)
   17006         case $cc_basename in
   17007           CC* | sunCC*)
   17008 	    # Sun C++ 4.2, 5.x and Centerline C++
   17009             archive_cmds_need_lc_CXX=yes
   17010 	    no_undefined_flag_CXX=' -zdefs'
   17011 	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   17012 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17013               $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'
   17014 
   17015 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   17016 	    hardcode_shlibpath_var_CXX=no
   17017 	    case $host_os in
   17018 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   17019 	      *)
   17020 		# The compiler driver will combine and reorder linker options,
   17021 		# but understands '-z linker_flag'.
   17022 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   17023 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   17024 	        ;;
   17025 	    esac
   17026 	    link_all_deplibs_CXX=yes
   17027 
   17028 	    output_verbose_link_cmd='func_echo_all'
   17029 
   17030 	    # Archives containing C++ object files must be created using
   17031 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   17032 	    # necessary to make sure instantiated templates are included
   17033 	    # in the archive.
   17034 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   17035 	    ;;
   17036           gcx*)
   17037 	    # Green Hills C++ Compiler
   17038 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   17039 
   17040 	    # The C++ compiler must be used to create the archive.
   17041 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   17042 	    ;;
   17043           *)
   17044 	    # GNU C++ compiler with Solaris linker
   17045 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   17046 	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
   17047 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   17048 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   17049 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17050                   $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'
   17051 
   17052 	        # Commands to make compiler produce verbose output that lists
   17053 	        # what "hidden" libraries, object files and flags are used when
   17054 	        # linking a shared library.
   17055 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
   17056 	      else
   17057 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
   17058 	        # platform.
   17059 	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   17060 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17061                   $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'
   17062 
   17063 	        # Commands to make compiler produce verbose output that lists
   17064 	        # what "hidden" libraries, object files and flags are used when
   17065 	        # linking a shared library.
   17066 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
   17067 	      fi
   17068 
   17069 	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
   17070 	      case $host_os in
   17071 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   17072 		*)
   17073 		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17074 		  ;;
   17075 	      esac
   17076 	    fi
   17077 	    ;;
   17078         esac
   17079         ;;
   17080 
   17081     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17082       no_undefined_flag_CXX='$wl-z,text'
   17083       archive_cmds_need_lc_CXX=no
   17084       hardcode_shlibpath_var_CXX=no
   17085       runpath_var='LD_RUN_PATH'
   17086 
   17087       case $cc_basename in
   17088         CC*)
   17089 	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17090 	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17091 	  ;;
   17092 	*)
   17093 	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17094 	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17095 	  ;;
   17096       esac
   17097       ;;
   17098 
   17099       sysv5* | sco3.2v5* | sco5v6*)
   17100 	# Note: We CANNOT use -z defs as we might desire, because we do not
   17101 	# link with -lc, and that would cause any symbols used from libc to
   17102 	# always be unresolved, which means just about no library would
   17103 	# ever link correctly.  If we're not using GNU ld we use -z text
   17104 	# though, which does catch some bad symbols but isn't as heavy-handed
   17105 	# as -z defs.
   17106 	no_undefined_flag_CXX='$wl-z,text'
   17107 	allow_undefined_flag_CXX='$wl-z,nodefs'
   17108 	archive_cmds_need_lc_CXX=no
   17109 	hardcode_shlibpath_var_CXX=no
   17110 	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
   17111 	hardcode_libdir_separator_CXX=':'
   17112 	link_all_deplibs_CXX=yes
   17113 	export_dynamic_flag_spec_CXX='$wl-Bexport'
   17114 	runpath_var='LD_RUN_PATH'
   17115 
   17116 	case $cc_basename in
   17117           CC*)
   17118 	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17119 	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17120 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   17121               '"$old_archive_cmds_CXX"
   17122 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   17123               '"$reload_cmds_CXX"
   17124 	    ;;
   17125 	  *)
   17126 	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17127 	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17128 	    ;;
   17129 	esac
   17130       ;;
   17131 
   17132       tandem*)
   17133         case $cc_basename in
   17134           NCC*)
   17135 	    # NonStop-UX NCC 3.20
   17136 	    # FIXME: insert proper C++ library support
   17137 	    ld_shlibs_CXX=no
   17138 	    ;;
   17139           *)
   17140 	    # FIXME: insert proper C++ library support
   17141 	    ld_shlibs_CXX=no
   17142 	    ;;
   17143         esac
   17144         ;;
   17145 
   17146       vxworks*)
   17147         # FIXME: insert proper C++ library support
   17148         ld_shlibs_CXX=no
   17149         ;;
   17150 
   17151       *)
   17152         # FIXME: insert proper C++ library support
   17153         ld_shlibs_CXX=no
   17154         ;;
   17155     esac
   17156 
   17157     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   17158 printf "%s\n" "$ld_shlibs_CXX" >&6; }
   17159     test no = "$ld_shlibs_CXX" && can_build_shared=no
   17160 
   17161     GCC_CXX=$GXX
   17162     LD_CXX=$LD
   17163 
   17164     ## CAVEAT EMPTOR:
   17165     ## There is no encapsulation within the following macros, do not change
   17166     ## the running order or otherwise move them around unless you know exactly
   17167     ## what you are doing...
   17168     # Dependencies to place before and after the object being linked:
   17169 predep_objects_CXX=
   17170 postdep_objects_CXX=
   17171 predeps_CXX=
   17172 postdeps_CXX=
   17173 compiler_lib_search_path_CXX=
   17174 
   17175 cat > conftest.$ac_ext <<_LT_EOF
   17176 class Foo
   17177 {
   17178 public:
   17179   Foo (void) { a = 0; }
   17180 private:
   17181   int a;
   17182 };
   17183 _LT_EOF
   17184 
   17185 
   17186 _lt_libdeps_save_CFLAGS=$CFLAGS
   17187 case "$CC $CFLAGS " in #(
   17188 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   17189 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   17190 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
   17191 esac
   17192 
   17193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17194   (eval $ac_compile) 2>&5
   17195   ac_status=$?
   17196   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17197   test $ac_status = 0; }; then
   17198   # Parse the compiler output and extract the necessary
   17199   # objects, libraries and library flags.
   17200 
   17201   # Sentinel used to keep track of whether or not we are before
   17202   # the conftest object file.
   17203   pre_test_object_deps_done=no
   17204 
   17205   for p in `eval "$output_verbose_link_cmd"`; do
   17206     case $prev$p in
   17207 
   17208     -L* | -R* | -l*)
   17209        # Some compilers place space between "-{L,R,l}" and the path.
   17210        # Remove the space.
   17211        if test x-L = x"$p" ||
   17212           test x-R = x"$p" ||
   17213           test x-l = x"$p"; then
   17214 	 prev=$p
   17215 	 continue
   17216        fi
   17217 
   17218        # Expand the sysroot to ease extracting the directories later.
   17219        if test -z "$prev"; then
   17220          case $p in
   17221          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   17222          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   17223          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   17224          esac
   17225        fi
   17226        case $p in
   17227        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   17228        esac
   17229        if test no = "$pre_test_object_deps_done"; then
   17230 	 case $prev in
   17231 	 -L | -R)
   17232 	   # Internal compiler library paths should come after those
   17233 	   # provided the user.  The postdeps already come after the
   17234 	   # user supplied libs so there is no need to process them.
   17235 	   if test -z "$compiler_lib_search_path_CXX"; then
   17236 	     compiler_lib_search_path_CXX=$prev$p
   17237 	   else
   17238 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
   17239 	   fi
   17240 	   ;;
   17241 	 # The "-l" case would never come before the object being
   17242 	 # linked, so don't bother handling this case.
   17243 	 esac
   17244        else
   17245 	 if test -z "$postdeps_CXX"; then
   17246 	   postdeps_CXX=$prev$p
   17247 	 else
   17248 	   postdeps_CXX="${postdeps_CXX} $prev$p"
   17249 	 fi
   17250        fi
   17251        prev=
   17252        ;;
   17253 
   17254     *.lto.$objext) ;; # Ignore GCC LTO objects
   17255     *.$objext)
   17256        # This assumes that the test object file only shows up
   17257        # once in the compiler output.
   17258        if test "$p" = "conftest.$objext"; then
   17259 	 pre_test_object_deps_done=yes
   17260 	 continue
   17261        fi
   17262 
   17263        if test no = "$pre_test_object_deps_done"; then
   17264 	 if test -z "$predep_objects_CXX"; then
   17265 	   predep_objects_CXX=$p
   17266 	 else
   17267 	   predep_objects_CXX="$predep_objects_CXX $p"
   17268 	 fi
   17269        else
   17270 	 if test -z "$postdep_objects_CXX"; then
   17271 	   postdep_objects_CXX=$p
   17272 	 else
   17273 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   17274 	 fi
   17275        fi
   17276        ;;
   17277 
   17278     *) ;; # Ignore the rest.
   17279 
   17280     esac
   17281   done
   17282 
   17283   # Clean up.
   17284   rm -f a.out a.exe
   17285 else
   17286   echo "libtool.m4: error: problem compiling CXX test program"
   17287 fi
   17288 
   17289 $RM -f confest.$objext
   17290 CFLAGS=$_lt_libdeps_save_CFLAGS
   17291 
   17292 # PORTME: override above test on systems where it is broken
   17293 case $host_os in
   17294 interix[3-9]*)
   17295   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   17296   # hack all around it, let's just trust "g++" to DTRT.
   17297   predep_objects_CXX=
   17298   postdep_objects_CXX=
   17299   postdeps_CXX=
   17300   ;;
   17301 esac
   17302 
   17303 
   17304 case " $postdeps_CXX " in
   17305 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   17306 esac
   17307  compiler_lib_search_dirs_CXX=
   17308 if test -n "${compiler_lib_search_path_CXX}"; then
   17309  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
   17310 fi
   17311 
   17312 
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 
   17319 
   17320 
   17321 
   17322 
   17323 
   17324 
   17325 
   17326 
   17327 
   17328 
   17329 
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 
   17340 
   17341 
   17342     lt_prog_compiler_wl_CXX=
   17343 lt_prog_compiler_pic_CXX=
   17344 lt_prog_compiler_static_CXX=
   17345 
   17346 
   17347   # C++ specific cases for pic, static, wl, etc.
   17348   if test yes = "$GXX"; then
   17349     lt_prog_compiler_wl_CXX='-Wl,'
   17350     lt_prog_compiler_static_CXX='-static'
   17351 
   17352     case $host_os in
   17353     aix*)
   17354       # All AIX code is PIC.
   17355       if test ia64 = "$host_cpu"; then
   17356 	# AIX 5 now supports IA64 processor
   17357 	lt_prog_compiler_static_CXX='-Bstatic'
   17358       fi
   17359       lt_prog_compiler_pic_CXX='-fPIC'
   17360       ;;
   17361 
   17362     amigaos*)
   17363       case $host_cpu in
   17364       powerpc)
   17365             # see comment about AmigaOS4 .so support
   17366             lt_prog_compiler_pic_CXX='-fPIC'
   17367         ;;
   17368       m68k)
   17369             # FIXME: we need at least 68020 code to build shared libraries, but
   17370             # adding the '-m68020' flag to GCC prevents building anything better,
   17371             # like '-m68040'.
   17372             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   17373         ;;
   17374       esac
   17375       ;;
   17376 
   17377     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17378       # PIC is the default for these OSes.
   17379       ;;
   17380     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   17381       # This hack is so that the source file can tell whether it is being
   17382       # built for inclusion in a dll (and should export symbols for example).
   17383       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17384       # (--disable-auto-import) libraries
   17385       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   17386       case $host_os in
   17387       os2*)
   17388 	lt_prog_compiler_static_CXX='$wl-static'
   17389 	;;
   17390       esac
   17391       ;;
   17392     darwin* | rhapsody*)
   17393       # PIC is the default on this platform
   17394       # Common symbols not allowed in MH_DYLIB files
   17395       lt_prog_compiler_pic_CXX='-fno-common'
   17396       ;;
   17397     *djgpp*)
   17398       # DJGPP does not support shared libraries at all
   17399       lt_prog_compiler_pic_CXX=
   17400       ;;
   17401     haiku*)
   17402       # PIC is the default for Haiku.
   17403       # The "-static" flag exists, but is broken.
   17404       lt_prog_compiler_static_CXX=
   17405       ;;
   17406     interix[3-9]*)
   17407       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17408       # Instead, we relocate shared libraries at runtime.
   17409       ;;
   17410     sysv4*MP*)
   17411       if test -d /usr/nec; then
   17412 	lt_prog_compiler_pic_CXX=-Kconform_pic
   17413       fi
   17414       ;;
   17415     hpux*)
   17416       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   17417       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   17418       # sets the default TLS model and affects inlining.
   17419       case $host_cpu in
   17420       hppa*64*)
   17421 	;;
   17422       *)
   17423 	lt_prog_compiler_pic_CXX='-fPIC'
   17424 	;;
   17425       esac
   17426       ;;
   17427     *qnx* | *nto*)
   17428       # QNX uses GNU C++, but need to define -shared option too, otherwise
   17429       # it will coredump.
   17430       lt_prog_compiler_pic_CXX='-fPIC -shared'
   17431       ;;
   17432     *)
   17433       lt_prog_compiler_pic_CXX='-fPIC'
   17434       ;;
   17435     esac
   17436   else
   17437     case $host_os in
   17438       aix[4-9]*)
   17439 	# All AIX code is PIC.
   17440 	if test ia64 = "$host_cpu"; then
   17441 	  # AIX 5 now supports IA64 processor
   17442 	  lt_prog_compiler_static_CXX='-Bstatic'
   17443 	else
   17444 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   17445 	fi
   17446 	;;
   17447       chorus*)
   17448 	case $cc_basename in
   17449 	cxch68*)
   17450 	  # Green Hills C++ Compiler
   17451 	  # _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"
   17452 	  ;;
   17453 	esac
   17454 	;;
   17455       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   17456 	# This hack is so that the source file can tell whether it is being
   17457 	# built for inclusion in a dll (and should export symbols for example).
   17458 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   17459 	;;
   17460       dgux*)
   17461 	case $cc_basename in
   17462 	  ec++*)
   17463 	    lt_prog_compiler_pic_CXX='-KPIC'
   17464 	    ;;
   17465 	  ghcx*)
   17466 	    # Green Hills C++ Compiler
   17467 	    lt_prog_compiler_pic_CXX='-pic'
   17468 	    ;;
   17469 	  *)
   17470 	    ;;
   17471 	esac
   17472 	;;
   17473       freebsd* | dragonfly* | midnightbsd*)
   17474 	# FreeBSD uses GNU C++
   17475 	;;
   17476       hpux9* | hpux10* | hpux11*)
   17477 	case $cc_basename in
   17478 	  CC*)
   17479 	    lt_prog_compiler_wl_CXX='-Wl,'
   17480 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   17481 	    if test ia64 != "$host_cpu"; then
   17482 	      lt_prog_compiler_pic_CXX='+Z'
   17483 	    fi
   17484 	    ;;
   17485 	  aCC*)
   17486 	    lt_prog_compiler_wl_CXX='-Wl,'
   17487 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   17488 	    case $host_cpu in
   17489 	    hppa*64*|ia64*)
   17490 	      # +Z the default
   17491 	      ;;
   17492 	    *)
   17493 	      lt_prog_compiler_pic_CXX='+Z'
   17494 	      ;;
   17495 	    esac
   17496 	    ;;
   17497 	  *)
   17498 	    ;;
   17499 	esac
   17500 	;;
   17501       interix*)
   17502 	# This is c89, which is MS Visual C++ (no shared libs)
   17503 	# Anyone wants to do a port?
   17504 	;;
   17505       irix5* | irix6* | nonstopux*)
   17506 	case $cc_basename in
   17507 	  CC*)
   17508 	    lt_prog_compiler_wl_CXX='-Wl,'
   17509 	    lt_prog_compiler_static_CXX='-non_shared'
   17510 	    # CC pic flag -KPIC is the default.
   17511 	    ;;
   17512 	  *)
   17513 	    ;;
   17514 	esac
   17515 	;;
   17516       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17517 	case $cc_basename in
   17518 	  KCC*)
   17519 	    # KAI C++ Compiler
   17520 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   17521 	    lt_prog_compiler_pic_CXX='-fPIC'
   17522 	    ;;
   17523 	  ecpc* )
   17524 	    # old Intel C++ for x86_64, which still supported -KPIC.
   17525 	    lt_prog_compiler_wl_CXX='-Wl,'
   17526 	    lt_prog_compiler_pic_CXX='-KPIC'
   17527 	    lt_prog_compiler_static_CXX='-static'
   17528 	    ;;
   17529 	  icpc* )
   17530 	    # Intel C++, used to be incompatible with GCC.
   17531 	    # ICC 10 doesn't accept -KPIC any more.
   17532 	    lt_prog_compiler_wl_CXX='-Wl,'
   17533 	    lt_prog_compiler_pic_CXX='-fPIC'
   17534 	    lt_prog_compiler_static_CXX='-static'
   17535 	    ;;
   17536 	  pgCC* | pgcpp*)
   17537 	    # Portland Group C++ compiler
   17538 	    lt_prog_compiler_wl_CXX='-Wl,'
   17539 	    lt_prog_compiler_pic_CXX='-fpic'
   17540 	    lt_prog_compiler_static_CXX='-Bstatic'
   17541 	    ;;
   17542 	  cxx*)
   17543 	    # Compaq C++
   17544 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   17545 	    # Linux and Compaq Tru64 Unix objects are PIC.
   17546 	    lt_prog_compiler_pic_CXX=
   17547 	    lt_prog_compiler_static_CXX='-non_shared'
   17548 	    ;;
   17549 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   17550 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   17551 	    lt_prog_compiler_wl_CXX='-Wl,'
   17552 	    lt_prog_compiler_pic_CXX='-qpic'
   17553 	    lt_prog_compiler_static_CXX='-qstaticlink'
   17554 	    ;;
   17555 	  *)
   17556 	    case `$CC -V 2>&1 | $SED 5q` in
   17557 	    *Sun\ C*)
   17558 	      # Sun C++ 5.9
   17559 	      lt_prog_compiler_pic_CXX='-KPIC'
   17560 	      lt_prog_compiler_static_CXX='-Bstatic'
   17561 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   17562 	      ;;
   17563 	    esac
   17564 	    ;;
   17565 	esac
   17566 	;;
   17567       lynxos*)
   17568 	;;
   17569       m88k*)
   17570 	;;
   17571       mvs*)
   17572 	case $cc_basename in
   17573 	  cxx*)
   17574 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   17575 	    ;;
   17576 	  *)
   17577 	    ;;
   17578 	esac
   17579 	;;
   17580       netbsd* | netbsdelf*-gnu)
   17581 	;;
   17582       *-mlibc)
   17583 	;;
   17584       *qnx* | *nto*)
   17585         # QNX uses GNU C++, but need to define -shared option too, otherwise
   17586         # it will coredump.
   17587         lt_prog_compiler_pic_CXX='-fPIC -shared'
   17588         ;;
   17589       osf3* | osf4* | osf5*)
   17590 	case $cc_basename in
   17591 	  KCC*)
   17592 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   17593 	    ;;
   17594 	  RCC*)
   17595 	    # Rational C++ 2.4.1
   17596 	    lt_prog_compiler_pic_CXX='-pic'
   17597 	    ;;
   17598 	  cxx*)
   17599 	    # Digital/Compaq C++
   17600 	    lt_prog_compiler_wl_CXX='-Wl,'
   17601 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   17602 	    # Linux and Compaq Tru64 Unix objects are PIC.
   17603 	    lt_prog_compiler_pic_CXX=
   17604 	    lt_prog_compiler_static_CXX='-non_shared'
   17605 	    ;;
   17606 	  *)
   17607 	    ;;
   17608 	esac
   17609 	;;
   17610       psos*)
   17611 	;;
   17612       serenity*)
   17613         ;;
   17614       solaris*)
   17615 	case $cc_basename in
   17616 	  CC* | sunCC*)
   17617 	    # Sun C++ 4.2, 5.x and Centerline C++
   17618 	    lt_prog_compiler_pic_CXX='-KPIC'
   17619 	    lt_prog_compiler_static_CXX='-Bstatic'
   17620 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   17621 	    ;;
   17622 	  gcx*)
   17623 	    # Green Hills C++ Compiler
   17624 	    lt_prog_compiler_pic_CXX='-PIC'
   17625 	    ;;
   17626 	  *)
   17627 	    ;;
   17628 	esac
   17629 	;;
   17630       sunos4*)
   17631 	case $cc_basename in
   17632 	  CC*)
   17633 	    # Sun C++ 4.x
   17634 	    lt_prog_compiler_pic_CXX='-pic'
   17635 	    lt_prog_compiler_static_CXX='-Bstatic'
   17636 	    ;;
   17637 	  lcc*)
   17638 	    # Lucid
   17639 	    lt_prog_compiler_pic_CXX='-pic'
   17640 	    ;;
   17641 	  *)
   17642 	    ;;
   17643 	esac
   17644 	;;
   17645       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17646 	case $cc_basename in
   17647 	  CC*)
   17648 	    lt_prog_compiler_wl_CXX='-Wl,'
   17649 	    lt_prog_compiler_pic_CXX='-KPIC'
   17650 	    lt_prog_compiler_static_CXX='-Bstatic'
   17651 	    ;;
   17652 	esac
   17653 	;;
   17654       tandem*)
   17655 	case $cc_basename in
   17656 	  NCC*)
   17657 	    # NonStop-UX NCC 3.20
   17658 	    lt_prog_compiler_pic_CXX='-KPIC'
   17659 	    ;;
   17660 	  *)
   17661 	    ;;
   17662 	esac
   17663 	;;
   17664       vxworks*)
   17665 	;;
   17666       *)
   17667 	lt_prog_compiler_can_build_shared_CXX=no
   17668 	;;
   17669     esac
   17670   fi
   17671 
   17672 case $host_os in
   17673   # For platforms that do not support PIC, -DPIC is meaningless:
   17674   *djgpp*)
   17675     lt_prog_compiler_pic_CXX=
   17676     ;;
   17677   *)
   17678     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   17679     ;;
   17680 esac
   17681 
   17682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   17683 printf %s "checking for $compiler option to produce PIC... " >&6; }
   17684 if test ${lt_cv_prog_compiler_pic_CXX+y}
   17685 then :
   17686   printf %s "(cached) " >&6
   17687 else case e in #(
   17688   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
   17689 esac
   17690 fi
   17691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   17692 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
   17693 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   17694 
   17695 #
   17696 # Check to make sure the PIC flag actually works.
   17697 #
   17698 if test -n "$lt_prog_compiler_pic_CXX"; then
   17699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   17700 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   17701 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
   17702 then :
   17703   printf %s "(cached) " >&6
   17704 else case e in #(
   17705   e) lt_cv_prog_compiler_pic_works_CXX=no
   17706    ac_outfile=conftest.$ac_objext
   17707    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17708    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   17709    # Insert the option either (1) after the last *FLAGS variable, or
   17710    # (2) before a word containing "conftest.", or (3) at the end.
   17711    # Note that $ac_compile itself does not contain backslashes and begins
   17712    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17713    # The option is referenced via a variable to avoid confusing sed.
   17714    lt_compile=`echo "$ac_compile" | $SED \
   17715    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17716    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17717    -e 's:$: $lt_compiler_flag:'`
   17718    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   17719    (eval "$lt_compile" 2>conftest.err)
   17720    ac_status=$?
   17721    cat conftest.err >&5
   17722    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17723    if (exit $ac_status) && test -s "$ac_outfile"; then
   17724      # The compiler can only warn and ignore the option if not recognized
   17725      # So say no if there are warnings other than the usual output.
   17726      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   17727      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17728      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17729        lt_cv_prog_compiler_pic_works_CXX=yes
   17730      fi
   17731    fi
   17732    $RM conftest*
   17733  ;;
   17734 esac
   17735 fi
   17736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   17737 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   17738 
   17739 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   17740     case $lt_prog_compiler_pic_CXX in
   17741      "" | " "*) ;;
   17742      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   17743      esac
   17744 else
   17745     lt_prog_compiler_pic_CXX=
   17746      lt_prog_compiler_can_build_shared_CXX=no
   17747 fi
   17748 
   17749 fi
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 #
   17756 # Check to make sure the static flag actually works.
   17757 #
   17758 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   17759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17760 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17761 if test ${lt_cv_prog_compiler_static_works_CXX+y}
   17762 then :
   17763   printf %s "(cached) " >&6
   17764 else case e in #(
   17765   e) lt_cv_prog_compiler_static_works_CXX=no
   17766    save_LDFLAGS=$LDFLAGS
   17767    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17768    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17769    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17770      # The linker can only warn and ignore the option if not recognized
   17771      # So say no if there are warnings
   17772      if test -s conftest.err; then
   17773        # Append any errors to the config.log.
   17774        cat conftest.err 1>&5
   17775        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17776        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17777        if diff conftest.exp conftest.er2 >/dev/null; then
   17778          lt_cv_prog_compiler_static_works_CXX=yes
   17779        fi
   17780      else
   17781        lt_cv_prog_compiler_static_works_CXX=yes
   17782      fi
   17783    fi
   17784    $RM -r conftest*
   17785    LDFLAGS=$save_LDFLAGS
   17786  ;;
   17787 esac
   17788 fi
   17789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   17790 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   17791 
   17792 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   17793     :
   17794 else
   17795     lt_prog_compiler_static_CXX=
   17796 fi
   17797 
   17798 
   17799 
   17800 
   17801     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   17802 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17803 if test ${lt_cv_prog_compiler_c_o_CXX+y}
   17804 then :
   17805   printf %s "(cached) " >&6
   17806 else case e in #(
   17807   e) lt_cv_prog_compiler_c_o_CXX=no
   17808    $RM -r conftest 2>/dev/null
   17809    mkdir conftest
   17810    cd conftest
   17811    mkdir out
   17812    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17813 
   17814    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17815    # Insert the option either (1) after the last *FLAGS variable, or
   17816    # (2) before a word containing "conftest.", or (3) at the end.
   17817    # Note that $ac_compile itself does not contain backslashes and begins
   17818    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17819    lt_compile=`echo "$ac_compile" | $SED \
   17820    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17821    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17822    -e 's:$: $lt_compiler_flag:'`
   17823    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   17824    (eval "$lt_compile" 2>out/conftest.err)
   17825    ac_status=$?
   17826    cat out/conftest.err >&5
   17827    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17828    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17829    then
   17830      # The compiler can only warn and ignore the option if not recognized
   17831      # So say no if there are warnings
   17832      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   17833      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17834      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17835        lt_cv_prog_compiler_c_o_CXX=yes
   17836      fi
   17837    fi
   17838    chmod u+w . 2>&5
   17839    $RM conftest*
   17840    # SGI C++ compiler will create directory out/ii_files/ for
   17841    # template instantiation
   17842    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   17843    $RM out/* && rmdir out
   17844    cd ..
   17845    $RM -r conftest
   17846    $RM conftest*
   17847  ;;
   17848 esac
   17849 fi
   17850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   17851 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   17852 
   17853 
   17854 
   17855     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   17856 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17857 if test ${lt_cv_prog_compiler_c_o_CXX+y}
   17858 then :
   17859   printf %s "(cached) " >&6
   17860 else case e in #(
   17861   e) lt_cv_prog_compiler_c_o_CXX=no
   17862    $RM -r conftest 2>/dev/null
   17863    mkdir conftest
   17864    cd conftest
   17865    mkdir out
   17866    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17867 
   17868    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17869    # Insert the option either (1) after the last *FLAGS variable, or
   17870    # (2) before a word containing "conftest.", or (3) at the end.
   17871    # Note that $ac_compile itself does not contain backslashes and begins
   17872    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17873    lt_compile=`echo "$ac_compile" | $SED \
   17874    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17875    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17876    -e 's:$: $lt_compiler_flag:'`
   17877    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   17878    (eval "$lt_compile" 2>out/conftest.err)
   17879    ac_status=$?
   17880    cat out/conftest.err >&5
   17881    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17882    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17883    then
   17884      # The compiler can only warn and ignore the option if not recognized
   17885      # So say no if there are warnings
   17886      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   17887      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17888      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17889        lt_cv_prog_compiler_c_o_CXX=yes
   17890      fi
   17891    fi
   17892    chmod u+w . 2>&5
   17893    $RM conftest*
   17894    # SGI C++ compiler will create directory out/ii_files/ for
   17895    # template instantiation
   17896    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   17897    $RM out/* && rmdir out
   17898    cd ..
   17899    $RM -r conftest
   17900    $RM conftest*
   17901  ;;
   17902 esac
   17903 fi
   17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   17905 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   17906 
   17907 
   17908 
   17909 
   17910 hard_links=nottested
   17911 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
   17912   # do not overwrite the value of need_locks provided by the user
   17913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   17914 printf %s "checking if we can lock with hard links... " >&6; }
   17915   hard_links=yes
   17916   $RM conftest*
   17917   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17918   touch conftest.a
   17919   ln conftest.a conftest.b 2>&5 || hard_links=no
   17920   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   17922 printf "%s\n" "$hard_links" >&6; }
   17923   if test no = "$hard_links"; then
   17924     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   17925 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   17926     need_locks=warn
   17927   fi
   17928 else
   17929   need_locks=no
   17930 fi
   17931 
   17932 
   17933 
   17934     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17935 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17936 
   17937   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17938   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17939   case $host_os in
   17940   aix[4-9]*)
   17941     # If we're using GNU nm, then we don't want the "-C" option.
   17942     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
   17943     # Without the "-l" option, or with the "-B" option, AIX nm treats
   17944     # weak defined symbols like other global defined symbols, whereas
   17945     # GNU nm marks them as "W".
   17946     # While the 'weak' keyword is ignored in the Export File, we need
   17947     # it in the Import File for the 'aix-soname' feature, so we have
   17948     # to replace the "-B" option with "-P" for AIX nm.
   17949     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   17950       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'
   17951     else
   17952       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'
   17953     fi
   17954     ;;
   17955   pw32*)
   17956     export_symbols_cmds_CXX=$ltdll_cmds
   17957     ;;
   17958   cygwin* | mingw* | windows* | cegcc*)
   17959     case $cc_basename in
   17960     cl* | icl*)
   17961       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17962       ;;
   17963     *)
   17964       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'
   17965       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   17966       ;;
   17967     esac
   17968     ;;
   17969   *)
   17970     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17971     ;;
   17972   esac
   17973 
   17974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   17975 printf "%s\n" "$ld_shlibs_CXX" >&6; }
   17976 test no = "$ld_shlibs_CXX" && can_build_shared=no
   17977 
   17978 with_gnu_ld_CXX=$with_gnu_ld
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 #
   17986 # Do we need to explicitly link libc?
   17987 #
   17988 case "x$archive_cmds_need_lc_CXX" in
   17989 x|xyes)
   17990   # Assume -lc should be added
   17991   archive_cmds_need_lc_CXX=yes
   17992 
   17993   if test yes,yes = "$GCC,$enable_shared"; then
   17994     case $archive_cmds_CXX in
   17995     *'~'*)
   17996       # FIXME: we may have to deal with multi-command sequences.
   17997       ;;
   17998     '$CC '*)
   17999       # Test whether the compiler implicitly links with -lc since on some
   18000       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18001       # to ld, don't add -lc before -lgcc.
   18002       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   18003 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   18004 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
   18005 then :
   18006   printf %s "(cached) " >&6
   18007 else case e in #(
   18008   e) $RM conftest*
   18009 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18010 
   18011 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   18012   (eval $ac_compile) 2>&5
   18013   ac_status=$?
   18014   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18015   test $ac_status = 0; } 2>conftest.err; then
   18016 	  soname=conftest
   18017 	  lib=conftest
   18018 	  libobjs=conftest.$ac_objext
   18019 	  deplibs=
   18020 	  wl=$lt_prog_compiler_wl_CXX
   18021 	  pic_flag=$lt_prog_compiler_pic_CXX
   18022 	  compiler_flags=-v
   18023 	  linker_flags=-v
   18024 	  verstring=
   18025 	  output_objdir=.
   18026 	  libname=conftest
   18027 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   18028 	  allow_undefined_flag_CXX=
   18029 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   18030   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18031   ac_status=$?
   18032   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18033   test $ac_status = 0; }
   18034 	  then
   18035 	    lt_cv_archive_cmds_need_lc_CXX=no
   18036 	  else
   18037 	    lt_cv_archive_cmds_need_lc_CXX=yes
   18038 	  fi
   18039 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   18040 	else
   18041 	  cat conftest.err 1>&5
   18042 	fi
   18043 	$RM conftest*
   18044 	 ;;
   18045 esac
   18046 fi
   18047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   18048 printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   18049       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   18050       ;;
   18051     esac
   18052   fi
   18053   ;;
   18054 esac
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 
   18073 
   18074 
   18075 
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 
   18089 
   18090 
   18091 
   18092 
   18093 
   18094 
   18095 
   18096 
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 
   18103 
   18104 
   18105 
   18106 
   18107 
   18108 
   18109 
   18110 
   18111 
   18112 
   18113 
   18114 
   18115 
   18116 
   18117     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   18118 printf %s "checking dynamic linker characteristics... " >&6; }
   18119 
   18120 library_names_spec=
   18121 libname_spec='lib$name'
   18122 soname_spec=
   18123 shrext_cmds=.so
   18124 postinstall_cmds=
   18125 postuninstall_cmds=
   18126 finish_cmds=
   18127 finish_eval=
   18128 shlibpath_var=
   18129 shlibpath_overrides_runpath=unknown
   18130 version_type=none
   18131 dynamic_linker="$host_os ld.so"
   18132 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18133 need_lib_prefix=unknown
   18134 hardcode_into_libs=no
   18135 
   18136 # when you set need_version to no, make sure it does not cause -set_version
   18137 # flags to be left without arguments
   18138 need_version=unknown
   18139 
   18140 
   18141 
   18142 case $host_os in
   18143 aix3*)
   18144   version_type=linux # correct to gnu/linux during the next big refactor
   18145   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   18146   shlibpath_var=LIBPATH
   18147 
   18148   # AIX 3 has no versioning support, so we append a major version to the name.
   18149   soname_spec='$libname$release$shared_ext$major'
   18150   ;;
   18151 
   18152 aix[4-9]*)
   18153   version_type=linux # correct to gnu/linux during the next big refactor
   18154   need_lib_prefix=no
   18155   need_version=no
   18156   hardcode_into_libs=yes
   18157   if test ia64 = "$host_cpu"; then
   18158     # AIX 5 supports IA64
   18159     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18160     shlibpath_var=LD_LIBRARY_PATH
   18161   else
   18162     # With GCC up to 2.95.x, collect2 would create an import file
   18163     # for dependence libraries.  The import file would start with
   18164     # the line '#! .'.  This would cause the generated library to
   18165     # depend on '.', always an invalid library.  This was fixed in
   18166     # development snapshots of GCC prior to 3.0.
   18167     case $host_os in
   18168       aix4 | aix4.[01] | aix4.[01].*)
   18169       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18170 	   echo ' yes '
   18171 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18172 	:
   18173       else
   18174 	can_build_shared=no
   18175       fi
   18176       ;;
   18177     esac
   18178     # Using Import Files as archive members, it is possible to support
   18179     # filename-based versioning of shared library archives on AIX. While
   18180     # this would work for both with and without runtime linking, it will
   18181     # prevent static linking of such archives. So we do filename-based
   18182     # shared library versioning with .so extension only, which is used
   18183     # when both runtime linking and shared linking is enabled.
   18184     # Unfortunately, runtime linking may impact performance, so we do
   18185     # not want this to be the default eventually. Also, we use the
   18186     # versioned .so libs for executables only if there is the -brtl
   18187     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   18188     # To allow for filename-based versioning support, we need to create
   18189     # libNAME.so.V as an archive file, containing:
   18190     # *) an Import File, referring to the versioned filename of the
   18191     #    archive as well as the shared archive member, telling the
   18192     #    bitwidth (32 or 64) of that shared object, and providing the
   18193     #    list of exported symbols of that shared object, eventually
   18194     #    decorated with the 'weak' keyword
   18195     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18196     #    it being seen by the linker.
   18197     # At run time we better use the real file rather than another symlink,
   18198     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18199 
   18200     case $with_aix_soname,$aix_use_runtimelinking in
   18201     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18202     # soname into executable. Probably we can add versioning support to
   18203     # collect2, so additional links can be useful in future.
   18204     aix,yes) # traditional libtool
   18205       dynamic_linker='AIX unversionable lib.so'
   18206       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18207       # instead of lib<name>.a to let people know that these are not
   18208       # typical AIX shared libraries.
   18209       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18210       ;;
   18211     aix,no) # traditional AIX only
   18212       dynamic_linker='AIX lib.a(lib.so.V)'
   18213       # We preserve .a as extension for shared libraries through AIX4.2
   18214       # and later when we are not doing run time linking.
   18215       library_names_spec='$libname$release.a $libname.a'
   18216       soname_spec='$libname$release$shared_ext$major'
   18217       ;;
   18218     svr4,*) # full svr4 only
   18219       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18220       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18221       # We do not specify a path in Import Files, so LIBPATH fires.
   18222       shlibpath_overrides_runpath=yes
   18223       ;;
   18224     *,yes) # both, prefer svr4
   18225       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18226       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18227       # unpreferred sharedlib libNAME.a needs extra handling
   18228       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"'
   18229       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"'
   18230       # We do not specify a path in Import Files, so LIBPATH fires.
   18231       shlibpath_overrides_runpath=yes
   18232       ;;
   18233     *,no) # both, prefer aix
   18234       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18235       library_names_spec='$libname$release.a $libname.a'
   18236       soname_spec='$libname$release$shared_ext$major'
   18237       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18238       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)'
   18239       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"'
   18240       ;;
   18241     esac
   18242     shlibpath_var=LIBPATH
   18243   fi
   18244   ;;
   18245 
   18246 amigaos*)
   18247   case $host_cpu in
   18248   powerpc)
   18249     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18250     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18251     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18252     ;;
   18253   m68k)
   18254     library_names_spec='$libname.ixlibrary $libname.a'
   18255     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18256     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'
   18257     ;;
   18258   esac
   18259   ;;
   18260 
   18261 beos*)
   18262   library_names_spec='$libname$shared_ext'
   18263   dynamic_linker="$host_os ld.so"
   18264   shlibpath_var=LIBRARY_PATH
   18265   ;;
   18266 
   18267 bsdi[45]*)
   18268   version_type=linux # correct to gnu/linux during the next big refactor
   18269   need_version=no
   18270   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18271   soname_spec='$libname$release$shared_ext$major'
   18272   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18273   shlibpath_var=LD_LIBRARY_PATH
   18274   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18275   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18276   # the default ld.so.conf also contains /usr/contrib/lib and
   18277   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18278   # libtool to hard-code these into programs
   18279   ;;
   18280 
   18281 cygwin* | mingw* | windows* | pw32* | cegcc*)
   18282   version_type=windows
   18283   shrext_cmds=.dll
   18284   need_version=no
   18285   need_lib_prefix=no
   18286 
   18287   case $GCC,$cc_basename in
   18288   yes,*)
   18289     # gcc
   18290     library_names_spec='$libname.dll.a'
   18291     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18292     # If user builds GCC with multilib enabled,
   18293     # it should just install on $(libdir)
   18294     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   18295     if test xyes = x"$multilib"; then
   18296       postinstall_cmds='base_file=`basename \$file`~
   18297         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18298         dldir=$destdir/`dirname \$dlpath`~
   18299         $install_prog $dir/$dlname $destdir/$dlname~
   18300         chmod a+x $destdir/$dlname~
   18301         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18302           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   18303         fi'
   18304     else
   18305       postinstall_cmds='base_file=`basename \$file`~
   18306         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18307         dldir=$destdir/`dirname \$dlpath`~
   18308         test -d \$dldir || mkdir -p \$dldir~
   18309         $install_prog $dir/$dlname \$dldir/$dlname~
   18310         chmod a+x \$dldir/$dlname~
   18311         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18312           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18313         fi'
   18314     fi
   18315     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18316       dlpath=$dir/\$dldll~
   18317        $RM \$dlpath'
   18318     shlibpath_overrides_runpath=yes
   18319 
   18320     case $host_os in
   18321     cygwin*)
   18322       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18323       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18324 
   18325       ;;
   18326     mingw* | windows* | cegcc*)
   18327       # MinGW DLLs use traditional 'lib' prefix
   18328       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18329       ;;
   18330     pw32*)
   18331       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18332       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18333       ;;
   18334     esac
   18335     dynamic_linker='Win32 ld.exe'
   18336     ;;
   18337 
   18338   *,cl* | *,icl*)
   18339     # Native MSVC or ICC
   18340     libname_spec='$name'
   18341     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18342     library_names_spec='$libname.dll.lib'
   18343 
   18344     case $build_os in
   18345     mingw* | windows*)
   18346       sys_lib_search_path_spec=
   18347       lt_save_ifs=$IFS
   18348       IFS=';'
   18349       for lt_path in $LIB
   18350       do
   18351         IFS=$lt_save_ifs
   18352         # Let DOS variable expansion print the short 8.3 style file name.
   18353         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18354         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18355       done
   18356       IFS=$lt_save_ifs
   18357       # Convert to MSYS style.
   18358       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18359       ;;
   18360     cygwin*)
   18361       # Convert to unix form, then to dos form, then back to unix form
   18362       # but this time dos style (no spaces!) so that the unix form looks
   18363       # like /cygdrive/c/PROGRA~1:/cygdr...
   18364       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18365       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18366       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18367       ;;
   18368     *)
   18369       sys_lib_search_path_spec=$LIB
   18370       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18371         # It is most probably a Windows format PATH.
   18372         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18373       else
   18374         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18375       fi
   18376       # FIXME: find the short name or the path components, as spaces are
   18377       # common. (e.g. "Program Files" -> "PROGRA~1")
   18378       ;;
   18379     esac
   18380 
   18381     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18382     postinstall_cmds='base_file=`basename \$file`~
   18383       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18384       dldir=$destdir/`dirname \$dlpath`~
   18385       test -d \$dldir || mkdir -p \$dldir~
   18386       $install_prog $dir/$dlname \$dldir/$dlname'
   18387     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18388       dlpath=$dir/\$dldll~
   18389        $RM \$dlpath'
   18390     shlibpath_overrides_runpath=yes
   18391     dynamic_linker='Win32 link.exe'
   18392     ;;
   18393 
   18394   *)
   18395     # Assume MSVC and ICC wrapper
   18396     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18397     dynamic_linker='Win32 ld.exe'
   18398     ;;
   18399   esac
   18400   # FIXME: first we should search . and the directory the executable is in
   18401   shlibpath_var=PATH
   18402   ;;
   18403 
   18404 darwin* | rhapsody*)
   18405   dynamic_linker="$host_os dyld"
   18406   version_type=darwin
   18407   need_lib_prefix=no
   18408   need_version=no
   18409   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18410   soname_spec='$libname$release$major$shared_ext'
   18411   shlibpath_overrides_runpath=yes
   18412   shlibpath_var=DYLD_LIBRARY_PATH
   18413   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18414 
   18415   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18416   ;;
   18417 
   18418 dgux*)
   18419   version_type=linux # correct to gnu/linux during the next big refactor
   18420   need_lib_prefix=no
   18421   need_version=no
   18422   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18423   soname_spec='$libname$release$shared_ext$major'
   18424   shlibpath_var=LD_LIBRARY_PATH
   18425   ;;
   18426 
   18427 freebsd* | dragonfly* | midnightbsd*)
   18428   # DragonFly does not have aout.  When/if they implement a new
   18429   # versioning mechanism, adjust this.
   18430   if test -x /usr/bin/objformat; then
   18431     objformat=`/usr/bin/objformat`
   18432   else
   18433     case $host_os in
   18434     freebsd[23].*) objformat=aout ;;
   18435     *) objformat=elf ;;
   18436     esac
   18437   fi
   18438   version_type=freebsd-$objformat
   18439   case $version_type in
   18440     freebsd-elf*)
   18441       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18442       soname_spec='$libname$release$shared_ext$major'
   18443       need_version=no
   18444       need_lib_prefix=no
   18445       ;;
   18446     freebsd-*)
   18447       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18448       need_version=yes
   18449       ;;
   18450   esac
   18451   case $host_cpu in
   18452     powerpc64)
   18453       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   18454       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   18455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18456 /* end confdefs.h.  */
   18457 int test_pointer_size[sizeof (void *) - 5];
   18458 
   18459 _ACEOF
   18460 if ac_fn_cxx_try_compile "$LINENO"
   18461 then :
   18462   shlibpath_var=LD_LIBRARY_PATH
   18463 else case e in #(
   18464   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   18465 esac
   18466 fi
   18467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18468       ;;
   18469     *)
   18470       shlibpath_var=LD_LIBRARY_PATH
   18471       ;;
   18472   esac
   18473   case $host_os in
   18474   freebsd2.*)
   18475     shlibpath_overrides_runpath=yes
   18476     ;;
   18477   freebsd3.[01]* | freebsdelf3.[01]*)
   18478     shlibpath_overrides_runpath=yes
   18479     hardcode_into_libs=yes
   18480     ;;
   18481   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18482   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18483     shlibpath_overrides_runpath=no
   18484     hardcode_into_libs=yes
   18485     ;;
   18486   *) # from 4.6 on, and DragonFly
   18487     shlibpath_overrides_runpath=yes
   18488     hardcode_into_libs=yes
   18489     ;;
   18490   esac
   18491   ;;
   18492 
   18493 haiku*)
   18494   version_type=linux # correct to gnu/linux during the next big refactor
   18495   need_lib_prefix=no
   18496   need_version=no
   18497   dynamic_linker="$host_os runtime_loader"
   18498   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18499   soname_spec='$libname$release$shared_ext$major'
   18500   shlibpath_var=LIBRARY_PATH
   18501   shlibpath_overrides_runpath=no
   18502   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   18503   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   18504   hardcode_into_libs=no
   18505   ;;
   18506 
   18507 hpux9* | hpux10* | hpux11*)
   18508   # Give a soname corresponding to the major version so that dld.sl refuses to
   18509   # link against other versions.
   18510   version_type=sunos
   18511   need_lib_prefix=no
   18512   need_version=no
   18513   case $host_cpu in
   18514   ia64*)
   18515     shrext_cmds='.so'
   18516     hardcode_into_libs=yes
   18517     dynamic_linker="$host_os dld.so"
   18518     shlibpath_var=LD_LIBRARY_PATH
   18519     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18520     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18521     soname_spec='$libname$release$shared_ext$major'
   18522     if test 32 = "$HPUX_IA64_MODE"; then
   18523       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18524       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18525     else
   18526       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18527       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18528     fi
   18529     ;;
   18530   hppa*64*)
   18531     shrext_cmds='.sl'
   18532     hardcode_into_libs=yes
   18533     dynamic_linker="$host_os dld.sl"
   18534     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18535     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18536     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18537     soname_spec='$libname$release$shared_ext$major'
   18538     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18539     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18540     ;;
   18541   *)
   18542     shrext_cmds='.sl'
   18543     dynamic_linker="$host_os dld.sl"
   18544     shlibpath_var=SHLIB_PATH
   18545     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18546     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18547     soname_spec='$libname$release$shared_ext$major'
   18548     ;;
   18549   esac
   18550   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18551   postinstall_cmds='chmod 555 $lib'
   18552   # or fails outright, so override atomically:
   18553   install_override_mode=555
   18554   ;;
   18555 
   18556 interix[3-9]*)
   18557   version_type=linux # correct to gnu/linux during the next big refactor
   18558   need_lib_prefix=no
   18559   need_version=no
   18560   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18561   soname_spec='$libname$release$shared_ext$major'
   18562   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18563   shlibpath_var=LD_LIBRARY_PATH
   18564   shlibpath_overrides_runpath=no
   18565   hardcode_into_libs=yes
   18566   ;;
   18567 
   18568 irix5* | irix6* | nonstopux*)
   18569   case $host_os in
   18570     nonstopux*) version_type=nonstopux ;;
   18571     *)
   18572 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18573 		version_type=linux # correct to gnu/linux during the next big refactor
   18574 	else
   18575 		version_type=irix
   18576 	fi ;;
   18577   esac
   18578   need_lib_prefix=no
   18579   need_version=no
   18580   soname_spec='$libname$release$shared_ext$major'
   18581   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18582   case $host_os in
   18583   irix5* | nonstopux*)
   18584     libsuff= shlibsuff=
   18585     ;;
   18586   *)
   18587     case $LD in # libtool.m4 will add one of these switches to LD
   18588     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18589       libsuff= shlibsuff= libmagic=32-bit;;
   18590     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18591       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18592     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18593       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18594     *) libsuff= shlibsuff= libmagic=never-match;;
   18595     esac
   18596     ;;
   18597   esac
   18598   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18599   shlibpath_overrides_runpath=no
   18600   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18601   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18602   hardcode_into_libs=yes
   18603   ;;
   18604 
   18605 # No shared lib support for Linux oldld, aout, or coff.
   18606 linux*oldld* | linux*aout* | linux*coff*)
   18607   dynamic_linker=no
   18608   ;;
   18609 
   18610 linux*android*)
   18611   version_type=none # Android doesn't support versioned libraries.
   18612   need_lib_prefix=no
   18613   need_version=no
   18614   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   18615   soname_spec='$libname$release$shared_ext'
   18616   finish_cmds=
   18617   shlibpath_var=LD_LIBRARY_PATH
   18618   shlibpath_overrides_runpath=yes
   18619 
   18620   # This implies no fast_install, which is unacceptable.
   18621   # Some rework will be needed to allow for fast_install
   18622   # before this can be enabled.
   18623   hardcode_into_libs=yes
   18624 
   18625   dynamic_linker='Android linker'
   18626   # -rpath works at least for libraries that are not overridden by
   18627   # libraries installed in system locations.
   18628   hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   18629   ;;
   18630 
   18631 # This must be glibc/ELF.
   18632 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18633   version_type=linux # correct to gnu/linux during the next big refactor
   18634   need_lib_prefix=no
   18635   need_version=no
   18636   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18637   soname_spec='$libname$release$shared_ext$major'
   18638   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18639   shlibpath_var=LD_LIBRARY_PATH
   18640   shlibpath_overrides_runpath=no
   18641 
   18642   # Some binutils ld are patched to set DT_RUNPATH
   18643   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18644 then :
   18645   printf %s "(cached) " >&6
   18646 else case e in #(
   18647   e) lt_cv_shlibpath_overrides_runpath=no
   18648     save_LDFLAGS=$LDFLAGS
   18649     save_libdir=$libdir
   18650     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   18651 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   18652     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18653 /* end confdefs.h.  */
   18654 
   18655 int
   18656 main (void)
   18657 {
   18658 
   18659   ;
   18660   return 0;
   18661 }
   18662 _ACEOF
   18663 if ac_fn_cxx_try_link "$LINENO"
   18664 then :
   18665   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18666 then :
   18667   lt_cv_shlibpath_overrides_runpath=yes
   18668 fi
   18669 fi
   18670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18671     conftest$ac_exeext conftest.$ac_ext
   18672     LDFLAGS=$save_LDFLAGS
   18673     libdir=$save_libdir
   18674      ;;
   18675 esac
   18676 fi
   18677 
   18678   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18679 
   18680   # This implies no fast_install, which is unacceptable.
   18681   # Some rework will be needed to allow for fast_install
   18682   # before this can be enabled.
   18683   hardcode_into_libs=yes
   18684 
   18685   # Ideally, we could use ldconfig to report *all* directories which are
   18686   # searched for libraries, however this is still not possible.  Aside from not
   18687   # being certain /sbin/ldconfig is available, command
   18688   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18689   # even though it is searched at run-time.  Try to do the best guess by
   18690   # appending ld.so.conf contents (and includes) to the search path.
   18691   if test -f /etc/ld.so.conf; then
   18692     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' ' '`
   18693     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18694   fi
   18695 
   18696   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18697   # powerpc, because MkLinux only supported shared libraries with the
   18698   # GNU dynamic linker.  Since this was broken with cross compilers,
   18699   # most powerpc-linux boxes support dynamic linking these days and
   18700   # people can always --disable-shared, the test was removed, and we
   18701   # assume the GNU/Linux dynamic linker is in use.
   18702   dynamic_linker='GNU/Linux ld.so'
   18703   ;;
   18704 
   18705 netbsdelf*-gnu)
   18706   version_type=linux
   18707   need_lib_prefix=no
   18708   need_version=no
   18709   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18710   soname_spec='$libname$release$shared_ext$major'
   18711   shlibpath_var=LD_LIBRARY_PATH
   18712   shlibpath_overrides_runpath=no
   18713   hardcode_into_libs=yes
   18714   dynamic_linker='NetBSD ld.elf_so'
   18715   ;;
   18716 
   18717 netbsd*)
   18718   version_type=sunos
   18719   need_lib_prefix=no
   18720   need_version=no
   18721   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18722     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18723     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18724     dynamic_linker='NetBSD (a.out) ld.so'
   18725   else
   18726     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18727     soname_spec='$libname$release$shared_ext$major'
   18728     dynamic_linker='NetBSD ld.elf_so'
   18729   fi
   18730   shlibpath_var=LD_LIBRARY_PATH
   18731   shlibpath_overrides_runpath=yes
   18732   hardcode_into_libs=yes
   18733   ;;
   18734 
   18735 *-mlibc)
   18736   version_type=linux # correct to gnu/linux during the next big refactor
   18737   need_lib_prefix=no
   18738   need_version=no
   18739   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18740   soname_spec='$libname$release$shared_ext$major'
   18741   dynamic_linker='mlibc ld.so'
   18742   shlibpath_var=LD_LIBRARY_PATH
   18743   shlibpath_overrides_runpath=no
   18744   hardcode_into_libs=yes
   18745   ;;
   18746 
   18747 newsos6)
   18748   version_type=linux # correct to gnu/linux during the next big refactor
   18749   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18750   shlibpath_var=LD_LIBRARY_PATH
   18751   shlibpath_overrides_runpath=yes
   18752   ;;
   18753 
   18754 *nto* | *qnx*)
   18755   version_type=qnx
   18756   need_lib_prefix=no
   18757   need_version=no
   18758   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18759   soname_spec='$libname$release$shared_ext$major'
   18760   shlibpath_var=LD_LIBRARY_PATH
   18761   shlibpath_overrides_runpath=no
   18762   hardcode_into_libs=yes
   18763   dynamic_linker='ldqnx.so'
   18764   ;;
   18765 
   18766 openbsd*)
   18767   version_type=sunos
   18768   sys_lib_dlsearch_path_spec=/usr/lib
   18769   need_lib_prefix=no
   18770   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18771     need_version=no
   18772   else
   18773     need_version=yes
   18774   fi
   18775   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18776   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18777   shlibpath_var=LD_LIBRARY_PATH
   18778   shlibpath_overrides_runpath=yes
   18779   ;;
   18780 
   18781 os2*)
   18782   libname_spec='$name'
   18783   version_type=windows
   18784   shrext_cmds=.dll
   18785   need_version=no
   18786   need_lib_prefix=no
   18787   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18788   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18789     v=$($ECHO $release$versuffix | tr -d .-);
   18790     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18791     $ECHO $n$v`$shared_ext'
   18792   library_names_spec='${libname}_dll.$libext'
   18793   dynamic_linker='OS/2 ld.exe'
   18794   shlibpath_var=BEGINLIBPATH
   18795   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18796   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18797   postinstall_cmds='base_file=`basename \$file`~
   18798     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18799     dldir=$destdir/`dirname \$dlpath`~
   18800     test -d \$dldir || mkdir -p \$dldir~
   18801     $install_prog $dir/$dlname \$dldir/$dlname~
   18802     chmod a+x \$dldir/$dlname~
   18803     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18804       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18805     fi'
   18806   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18807     dlpath=$dir/\$dldll~
   18808     $RM \$dlpath'
   18809   ;;
   18810 
   18811 osf3* | osf4* | osf5*)
   18812   version_type=osf
   18813   need_lib_prefix=no
   18814   need_version=no
   18815   soname_spec='$libname$release$shared_ext$major'
   18816   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18817   shlibpath_var=LD_LIBRARY_PATH
   18818   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18819   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18820   ;;
   18821 
   18822 rdos*)
   18823   dynamic_linker=no
   18824   ;;
   18825 
   18826 serenity*)
   18827   version_type=linux # correct to gnu/linux during the next big refactor
   18828   need_lib_prefix=no
   18829   need_version=no
   18830   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18831   soname_spec='$libname$release$shared_ext$major'
   18832   shlibpath_var=LD_LIBRARY_PATH
   18833   shlibpath_overrides_runpath=no
   18834   dynamic_linker='SerenityOS LibELF'
   18835   ;;
   18836 
   18837 solaris*)
   18838   version_type=linux # correct to gnu/linux during the next big refactor
   18839   need_lib_prefix=no
   18840   need_version=no
   18841   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18842   soname_spec='$libname$release$shared_ext$major'
   18843   shlibpath_var=LD_LIBRARY_PATH
   18844   shlibpath_overrides_runpath=yes
   18845   hardcode_into_libs=yes
   18846   # ldd complains unless libraries are executable
   18847   postinstall_cmds='chmod +x $lib'
   18848   ;;
   18849 
   18850 sunos4*)
   18851   version_type=sunos
   18852   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18853   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18854   shlibpath_var=LD_LIBRARY_PATH
   18855   shlibpath_overrides_runpath=yes
   18856   if test yes = "$with_gnu_ld"; then
   18857     need_lib_prefix=no
   18858   fi
   18859   need_version=yes
   18860   ;;
   18861 
   18862 sysv4 | sysv4.3*)
   18863   version_type=linux # correct to gnu/linux during the next big refactor
   18864   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18865   soname_spec='$libname$release$shared_ext$major'
   18866   shlibpath_var=LD_LIBRARY_PATH
   18867   case $host_vendor in
   18868     sni)
   18869       shlibpath_overrides_runpath=no
   18870       need_lib_prefix=no
   18871       runpath_var=LD_RUN_PATH
   18872       ;;
   18873     siemens)
   18874       need_lib_prefix=no
   18875       ;;
   18876     motorola)
   18877       need_lib_prefix=no
   18878       need_version=no
   18879       shlibpath_overrides_runpath=no
   18880       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18881       ;;
   18882   esac
   18883   ;;
   18884 
   18885 sysv4*MP*)
   18886   if test -d /usr/nec; then
   18887     version_type=linux # correct to gnu/linux during the next big refactor
   18888     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18889     soname_spec='$libname$shared_ext.$major'
   18890     shlibpath_var=LD_LIBRARY_PATH
   18891   fi
   18892   ;;
   18893 
   18894 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18895   version_type=sco
   18896   need_lib_prefix=no
   18897   need_version=no
   18898   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18899   soname_spec='$libname$release$shared_ext$major'
   18900   shlibpath_var=LD_LIBRARY_PATH
   18901   shlibpath_overrides_runpath=yes
   18902   hardcode_into_libs=yes
   18903   if test yes = "$with_gnu_ld"; then
   18904     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18905   else
   18906     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18907     case $host_os in
   18908       sco3.2v5*)
   18909         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18910 	;;
   18911     esac
   18912   fi
   18913   sys_lib_dlsearch_path_spec='/usr/lib'
   18914   ;;
   18915 
   18916 tpf*)
   18917   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18918   version_type=linux # correct to gnu/linux during the next big refactor
   18919   need_lib_prefix=no
   18920   need_version=no
   18921   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18922   shlibpath_var=LD_LIBRARY_PATH
   18923   shlibpath_overrides_runpath=no
   18924   hardcode_into_libs=yes
   18925   ;;
   18926 
   18927 uts4*)
   18928   version_type=linux # correct to gnu/linux during the next big refactor
   18929   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18930   soname_spec='$libname$release$shared_ext$major'
   18931   shlibpath_var=LD_LIBRARY_PATH
   18932   ;;
   18933 
   18934 emscripten*)
   18935   version_type=none
   18936   need_lib_prefix=no
   18937   need_version=no
   18938   library_names_spec='$libname$release$shared_ext'
   18939   soname_spec='$libname$release$shared_ext'
   18940   finish_cmds=
   18941   dynamic_linker="Emscripten linker"
   18942   lt_prog_compiler_wl_CXX=
   18943 lt_prog_compiler_pic_CXX=
   18944 lt_prog_compiler_static_CXX=
   18945 
   18946 
   18947   # C++ specific cases for pic, static, wl, etc.
   18948   if test yes = "$GXX"; then
   18949     lt_prog_compiler_wl_CXX='-Wl,'
   18950     lt_prog_compiler_static_CXX='-static'
   18951 
   18952     case $host_os in
   18953     aix*)
   18954       # All AIX code is PIC.
   18955       if test ia64 = "$host_cpu"; then
   18956 	# AIX 5 now supports IA64 processor
   18957 	lt_prog_compiler_static_CXX='-Bstatic'
   18958       fi
   18959       lt_prog_compiler_pic_CXX='-fPIC'
   18960       ;;
   18961 
   18962     amigaos*)
   18963       case $host_cpu in
   18964       powerpc)
   18965             # see comment about AmigaOS4 .so support
   18966             lt_prog_compiler_pic_CXX='-fPIC'
   18967         ;;
   18968       m68k)
   18969             # FIXME: we need at least 68020 code to build shared libraries, but
   18970             # adding the '-m68020' flag to GCC prevents building anything better,
   18971             # like '-m68040'.
   18972             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   18973         ;;
   18974       esac
   18975       ;;
   18976 
   18977     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   18978       # PIC is the default for these OSes.
   18979       ;;
   18980     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   18981       # This hack is so that the source file can tell whether it is being
   18982       # built for inclusion in a dll (and should export symbols for example).
   18983       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   18984       # (--disable-auto-import) libraries
   18985       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   18986       case $host_os in
   18987       os2*)
   18988 	lt_prog_compiler_static_CXX='$wl-static'
   18989 	;;
   18990       esac
   18991       ;;
   18992     darwin* | rhapsody*)
   18993       # PIC is the default on this platform
   18994       # Common symbols not allowed in MH_DYLIB files
   18995       lt_prog_compiler_pic_CXX='-fno-common'
   18996       ;;
   18997     *djgpp*)
   18998       # DJGPP does not support shared libraries at all
   18999       lt_prog_compiler_pic_CXX=
   19000       ;;
   19001     haiku*)
   19002       # PIC is the default for Haiku.
   19003       # The "-static" flag exists, but is broken.
   19004       lt_prog_compiler_static_CXX=
   19005       ;;
   19006     interix[3-9]*)
   19007       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   19008       # Instead, we relocate shared libraries at runtime.
   19009       ;;
   19010     sysv4*MP*)
   19011       if test -d /usr/nec; then
   19012 	lt_prog_compiler_pic_CXX=-Kconform_pic
   19013       fi
   19014       ;;
   19015     hpux*)
   19016       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   19017       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   19018       # sets the default TLS model and affects inlining.
   19019       case $host_cpu in
   19020       hppa*64*)
   19021 	;;
   19022       *)
   19023 	lt_prog_compiler_pic_CXX='-fPIC'
   19024 	;;
   19025       esac
   19026       ;;
   19027     *qnx* | *nto*)
   19028       # QNX uses GNU C++, but need to define -shared option too, otherwise
   19029       # it will coredump.
   19030       lt_prog_compiler_pic_CXX='-fPIC -shared'
   19031       ;;
   19032     *)
   19033       lt_prog_compiler_pic_CXX='-fPIC'
   19034       ;;
   19035     esac
   19036   else
   19037     case $host_os in
   19038       aix[4-9]*)
   19039 	# All AIX code is PIC.
   19040 	if test ia64 = "$host_cpu"; then
   19041 	  # AIX 5 now supports IA64 processor
   19042 	  lt_prog_compiler_static_CXX='-Bstatic'
   19043 	else
   19044 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   19045 	fi
   19046 	;;
   19047       chorus*)
   19048 	case $cc_basename in
   19049 	cxch68*)
   19050 	  # Green Hills C++ Compiler
   19051 	  # _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"
   19052 	  ;;
   19053 	esac
   19054 	;;
   19055       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
   19056 	# This hack is so that the source file can tell whether it is being
   19057 	# built for inclusion in a dll (and should export symbols for example).
   19058 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   19059 	;;
   19060       dgux*)
   19061 	case $cc_basename in
   19062 	  ec++*)
   19063 	    lt_prog_compiler_pic_CXX='-KPIC'
   19064 	    ;;
   19065 	  ghcx*)
   19066 	    # Green Hills C++ Compiler
   19067 	    lt_prog_compiler_pic_CXX='-pic'
   19068 	    ;;
   19069 	  *)
   19070 	    ;;
   19071 	esac
   19072 	;;
   19073       freebsd* | dragonfly* | midnightbsd*)
   19074 	# FreeBSD uses GNU C++
   19075 	;;
   19076       hpux9* | hpux10* | hpux11*)
   19077 	case $cc_basename in
   19078 	  CC*)
   19079 	    lt_prog_compiler_wl_CXX='-Wl,'
   19080 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   19081 	    if test ia64 != "$host_cpu"; then
   19082 	      lt_prog_compiler_pic_CXX='+Z'
   19083 	    fi
   19084 	    ;;
   19085 	  aCC*)
   19086 	    lt_prog_compiler_wl_CXX='-Wl,'
   19087 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   19088 	    case $host_cpu in
   19089 	    hppa*64*|ia64*)
   19090 	      # +Z the default
   19091 	      ;;
   19092 	    *)
   19093 	      lt_prog_compiler_pic_CXX='+Z'
   19094 	      ;;
   19095 	    esac
   19096 	    ;;
   19097 	  *)
   19098 	    ;;
   19099 	esac
   19100 	;;
   19101       interix*)
   19102 	# This is c89, which is MS Visual C++ (no shared libs)
   19103 	# Anyone wants to do a port?
   19104 	;;
   19105       irix5* | irix6* | nonstopux*)
   19106 	case $cc_basename in
   19107 	  CC*)
   19108 	    lt_prog_compiler_wl_CXX='-Wl,'
   19109 	    lt_prog_compiler_static_CXX='-non_shared'
   19110 	    # CC pic flag -KPIC is the default.
   19111 	    ;;
   19112 	  *)
   19113 	    ;;
   19114 	esac
   19115 	;;
   19116       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   19117 	case $cc_basename in
   19118 	  KCC*)
   19119 	    # KAI C++ Compiler
   19120 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   19121 	    lt_prog_compiler_pic_CXX='-fPIC'
   19122 	    ;;
   19123 	  ecpc* )
   19124 	    # old Intel C++ for x86_64, which still supported -KPIC.
   19125 	    lt_prog_compiler_wl_CXX='-Wl,'
   19126 	    lt_prog_compiler_pic_CXX='-KPIC'
   19127 	    lt_prog_compiler_static_CXX='-static'
   19128 	    ;;
   19129 	  icpc* )
   19130 	    # Intel C++, used to be incompatible with GCC.
   19131 	    # ICC 10 doesn't accept -KPIC any more.
   19132 	    lt_prog_compiler_wl_CXX='-Wl,'
   19133 	    lt_prog_compiler_pic_CXX='-fPIC'
   19134 	    lt_prog_compiler_static_CXX='-static'
   19135 	    ;;
   19136 	  pgCC* | pgcpp*)
   19137 	    # Portland Group C++ compiler
   19138 	    lt_prog_compiler_wl_CXX='-Wl,'
   19139 	    lt_prog_compiler_pic_CXX='-fpic'
   19140 	    lt_prog_compiler_static_CXX='-Bstatic'
   19141 	    ;;
   19142 	  cxx*)
   19143 	    # Compaq C++
   19144 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   19145 	    # Linux and Compaq Tru64 Unix objects are PIC.
   19146 	    lt_prog_compiler_pic_CXX=
   19147 	    lt_prog_compiler_static_CXX='-non_shared'
   19148 	    ;;
   19149 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   19150 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   19151 	    lt_prog_compiler_wl_CXX='-Wl,'
   19152 	    lt_prog_compiler_pic_CXX='-qpic'
   19153 	    lt_prog_compiler_static_CXX='-qstaticlink'
   19154 	    ;;
   19155 	  *)
   19156 	    case `$CC -V 2>&1 | $SED 5q` in
   19157 	    *Sun\ C*)
   19158 	      # Sun C++ 5.9
   19159 	      lt_prog_compiler_pic_CXX='-KPIC'
   19160 	      lt_prog_compiler_static_CXX='-Bstatic'
   19161 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   19162 	      ;;
   19163 	    esac
   19164 	    ;;
   19165 	esac
   19166 	;;
   19167       lynxos*)
   19168 	;;
   19169       m88k*)
   19170 	;;
   19171       mvs*)
   19172 	case $cc_basename in
   19173 	  cxx*)
   19174 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   19175 	    ;;
   19176 	  *)
   19177 	    ;;
   19178 	esac
   19179 	;;
   19180       netbsd* | netbsdelf*-gnu)
   19181 	;;
   19182       *-mlibc)
   19183 	;;
   19184       *qnx* | *nto*)
   19185         # QNX uses GNU C++, but need to define -shared option too, otherwise
   19186         # it will coredump.
   19187         lt_prog_compiler_pic_CXX='-fPIC -shared'
   19188         ;;
   19189       osf3* | osf4* | osf5*)
   19190 	case $cc_basename in
   19191 	  KCC*)
   19192 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   19193 	    ;;
   19194 	  RCC*)
   19195 	    # Rational C++ 2.4.1
   19196 	    lt_prog_compiler_pic_CXX='-pic'
   19197 	    ;;
   19198 	  cxx*)
   19199 	    # Digital/Compaq C++
   19200 	    lt_prog_compiler_wl_CXX='-Wl,'
   19201 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   19202 	    # Linux and Compaq Tru64 Unix objects are PIC.
   19203 	    lt_prog_compiler_pic_CXX=
   19204 	    lt_prog_compiler_static_CXX='-non_shared'
   19205 	    ;;
   19206 	  *)
   19207 	    ;;
   19208 	esac
   19209 	;;
   19210       psos*)
   19211 	;;
   19212       serenity*)
   19213         ;;
   19214       solaris*)
   19215 	case $cc_basename in
   19216 	  CC* | sunCC*)
   19217 	    # Sun C++ 4.2, 5.x and Centerline C++
   19218 	    lt_prog_compiler_pic_CXX='-KPIC'
   19219 	    lt_prog_compiler_static_CXX='-Bstatic'
   19220 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   19221 	    ;;
   19222 	  gcx*)
   19223 	    # Green Hills C++ Compiler
   19224 	    lt_prog_compiler_pic_CXX='-PIC'
   19225 	    ;;
   19226 	  *)
   19227 	    ;;
   19228 	esac
   19229 	;;
   19230       sunos4*)
   19231 	case $cc_basename in
   19232 	  CC*)
   19233 	    # Sun C++ 4.x
   19234 	    lt_prog_compiler_pic_CXX='-pic'
   19235 	    lt_prog_compiler_static_CXX='-Bstatic'
   19236 	    ;;
   19237 	  lcc*)
   19238 	    # Lucid
   19239 	    lt_prog_compiler_pic_CXX='-pic'
   19240 	    ;;
   19241 	  *)
   19242 	    ;;
   19243 	esac
   19244 	;;
   19245       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   19246 	case $cc_basename in
   19247 	  CC*)
   19248 	    lt_prog_compiler_wl_CXX='-Wl,'
   19249 	    lt_prog_compiler_pic_CXX='-KPIC'
   19250 	    lt_prog_compiler_static_CXX='-Bstatic'
   19251 	    ;;
   19252 	esac
   19253 	;;
   19254       tandem*)
   19255 	case $cc_basename in
   19256 	  NCC*)
   19257 	    # NonStop-UX NCC 3.20
   19258 	    lt_prog_compiler_pic_CXX='-KPIC'
   19259 	    ;;
   19260 	  *)
   19261 	    ;;
   19262 	esac
   19263 	;;
   19264       vxworks*)
   19265 	;;
   19266       *)
   19267 	lt_prog_compiler_can_build_shared_CXX=no
   19268 	;;
   19269     esac
   19270   fi
   19271 
   19272 case $host_os in
   19273   # For platforms that do not support PIC, -DPIC is meaningless:
   19274   *djgpp*)
   19275     lt_prog_compiler_pic_CXX=
   19276     ;;
   19277   *)
   19278     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   19279     ;;
   19280 esac
   19281 
   19282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   19283 printf %s "checking for $compiler option to produce PIC... " >&6; }
   19284 if test ${lt_cv_prog_compiler_pic_CXX+y}
   19285 then :
   19286   printf %s "(cached) " >&6
   19287 else case e in #(
   19288   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
   19289 esac
   19290 fi
   19291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   19292 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
   19293 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   19294 
   19295 #
   19296 # Check to make sure the PIC flag actually works.
   19297 #
   19298 if test -n "$lt_prog_compiler_pic_CXX"; then
   19299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   19300 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   19301 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
   19302 then :
   19303   printf %s "(cached) " >&6
   19304 else case e in #(
   19305   e) lt_cv_prog_compiler_pic_works_CXX=no
   19306    ac_outfile=conftest.$ac_objext
   19307    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   19308    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   19309    # Insert the option either (1) after the last *FLAGS variable, or
   19310    # (2) before a word containing "conftest.", or (3) at the end.
   19311    # Note that $ac_compile itself does not contain backslashes and begins
   19312    # with a dollar sign (not a hyphen), so the echo should work correctly.
   19313    # The option is referenced via a variable to avoid confusing sed.
   19314    lt_compile=`echo "$ac_compile" | $SED \
   19315    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   19316    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   19317    -e 's:$: $lt_compiler_flag:'`
   19318    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   19319    (eval "$lt_compile" 2>conftest.err)
   19320    ac_status=$?
   19321    cat conftest.err >&5
   19322    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19323    if (exit $ac_status) && test -s "$ac_outfile"; then
   19324      # The compiler can only warn and ignore the option if not recognized
   19325      # So say no if there are warnings other than the usual output.
   19326      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   19327      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   19328      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   19329        lt_cv_prog_compiler_pic_works_CXX=yes
   19330      fi
   19331    fi
   19332    $RM conftest*
   19333  ;;
   19334 esac
   19335 fi
   19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   19337 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   19338 
   19339 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   19340     case $lt_prog_compiler_pic_CXX in
   19341      "" | " "*) ;;
   19342      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   19343      esac
   19344 else
   19345     lt_prog_compiler_pic_CXX=
   19346      lt_prog_compiler_can_build_shared_CXX=no
   19347 fi
   19348 
   19349 fi
   19350 
   19351 
   19352 
   19353 
   19354 
   19355 #
   19356 # Check to make sure the static flag actually works.
   19357 #
   19358 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   19359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   19360 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   19361 if test ${lt_cv_prog_compiler_static_works_CXX+y}
   19362 then :
   19363   printf %s "(cached) " >&6
   19364 else case e in #(
   19365   e) lt_cv_prog_compiler_static_works_CXX=no
   19366    save_LDFLAGS=$LDFLAGS
   19367    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   19368    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   19369    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   19370      # The linker can only warn and ignore the option if not recognized
   19371      # So say no if there are warnings
   19372      if test -s conftest.err; then
   19373        # Append any errors to the config.log.
   19374        cat conftest.err 1>&5
   19375        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   19376        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   19377        if diff conftest.exp conftest.er2 >/dev/null; then
   19378          lt_cv_prog_compiler_static_works_CXX=yes
   19379        fi
   19380      else
   19381        lt_cv_prog_compiler_static_works_CXX=yes
   19382      fi
   19383    fi
   19384    $RM -r conftest*
   19385    LDFLAGS=$save_LDFLAGS
   19386  ;;
   19387 esac
   19388 fi
   19389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   19390 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   19391 
   19392 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   19393     :
   19394 else
   19395     lt_prog_compiler_static_CXX=
   19396 fi
   19397 
   19398 
   19399 
   19400 ='-fPIC'
   19401   archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   19402   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'
   19403   archive_cmds_need_lc_CXX=no
   19404   no_undefined_flag_CXX=
   19405   ;;
   19406 
   19407 *)
   19408   dynamic_linker=no
   19409   ;;
   19410 esac
   19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   19412 printf "%s\n" "$dynamic_linker" >&6; }
   19413 test no = "$dynamic_linker" && can_build_shared=no
   19414 
   19415 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19416 if test yes = "$GCC"; then
   19417   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19418 fi
   19419 
   19420 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   19421   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   19422 fi
   19423 
   19424 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   19425   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   19426 fi
   19427 
   19428 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   19429 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   19430 
   19431 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   19432 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   19433 
   19434 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   19435 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   19436 
   19437 
   19438 
   19439 
   19440 
   19441 
   19442 
   19443 
   19444 
   19445 
   19446 
   19447 
   19448 
   19449 
   19450 
   19451 
   19452 
   19453 
   19454 
   19455 
   19456 
   19457 
   19458 
   19459 
   19460 
   19461 
   19462 
   19463 
   19464 
   19465 
   19466 
   19467 
   19468 
   19469 
   19470 
   19471 
   19472 
   19473 
   19474 
   19475 
   19476     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   19477 printf %s "checking how to hardcode library paths into programs... " >&6; }
   19478 hardcode_action_CXX=
   19479 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   19480    test -n "$runpath_var_CXX" ||
   19481    test yes = "$hardcode_automatic_CXX"; then
   19482 
   19483   # We can hardcode non-existent directories.
   19484   if test no != "$hardcode_direct_CXX" &&
   19485      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19486      # have to relink, otherwise we might link with an installed library
   19487      # when we should be linking with a yet-to-be-installed one
   19488      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
   19489      test no != "$hardcode_minus_L_CXX"; then
   19490     # Linking always hardcodes the temporary library directory.
   19491     hardcode_action_CXX=relink
   19492   else
   19493     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19494     hardcode_action_CXX=immediate
   19495   fi
   19496 else
   19497   # We cannot hardcode anything, or else we can only hardcode existing
   19498   # directories.
   19499   hardcode_action_CXX=unsupported
   19500 fi
   19501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   19502 printf "%s\n" "$hardcode_action_CXX" >&6; }
   19503 
   19504 if test relink = "$hardcode_action_CXX" ||
   19505    test yes = "$inherit_rpath_CXX"; then
   19506   # Fast installation is not supported
   19507   enable_fast_install=no
   19508 elif test yes = "$shlibpath_overrides_runpath" ||
   19509      test no = "$enable_shared"; then
   19510   # Fast installation is not necessary
   19511   enable_fast_install=needless
   19512 fi
   19513 
   19514 
   19515 
   19516 
   19517 
   19518 
   19519 
   19520   fi # test -n "$compiler"
   19521 
   19522   CC=$lt_save_CC
   19523   CFLAGS=$lt_save_CFLAGS
   19524   LDCXX=$LD
   19525   LD=$lt_save_LD
   19526   GCC=$lt_save_GCC
   19527   with_gnu_ld=$lt_save_with_gnu_ld
   19528   lt_cv_path_LDCXX=$lt_cv_path_LD
   19529   lt_cv_path_LD=$lt_save_path_LD
   19530   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   19531   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   19532 fi # test yes != "$_lt_caught_CXX_error"
   19533 
   19534 ac_ext=c
   19535 ac_cpp='$CPP $CPPFLAGS'
   19536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19539 
   19540 
   19541 
   19542 
   19543 
   19544 
   19545 
   19546 
   19547 
   19548 
   19549 
   19550 
   19551 
   19552 
   19553 
   19554         ac_config_commands="$ac_config_commands libtool"
   19555 
   19556 
   19557 
   19558 
   19559 # Only expand once:
   19560 
   19561 
   19562 
   19563 # pkg-config
   19564 
   19565 
   19566 
   19567 
   19568 
   19569     if test x"${PKG_CONFIG}" = x"" ; then
   19570         for ac_prog in pkgconf pkg-config
   19571 do
   19572   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19573 set dummy $ac_prog; ac_word=$2
   19574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19575 printf %s "checking for $ac_word... " >&6; }
   19576 if test ${ac_cv_path_PKG_CONFIG+y}
   19577 then :
   19578   printf %s "(cached) " >&6
   19579 else case e in #(
   19580   e) case $PKG_CONFIG in
   19581   [\\/]* | ?:[\\/]*)
   19582   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19583   ;;
   19584   *)
   19585   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19586 for as_dir in $PATH
   19587 do
   19588   IFS=$as_save_IFS
   19589   case $as_dir in #(((
   19590     '') as_dir=./ ;;
   19591     */) ;;
   19592     *) as_dir=$as_dir/ ;;
   19593   esac
   19594     for ac_exec_ext in '' $ac_executable_extensions; do
   19595   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19596     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   19597     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19598     break 2
   19599   fi
   19600 done
   19601   done
   19602 IFS=$as_save_IFS
   19603 
   19604   ;;
   19605 esac ;;
   19606 esac
   19607 fi
   19608 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19609 if test -n "$PKG_CONFIG"; then
   19610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19611 printf "%s\n" "$PKG_CONFIG" >&6; }
   19612 else
   19613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19614 printf "%s\n" "no" >&6; }
   19615 fi
   19616 
   19617 
   19618   test -n "$PKG_CONFIG" && break
   19619 done
   19620  >/dev/null
   19621     else
   19622         # Extract the first word of "${PKG_CONFIG}", so it can be a program name with args.
   19623 set dummy ${PKG_CONFIG}; ac_word=$2
   19624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19625 printf %s "checking for $ac_word... " >&6; }
   19626 if test ${ac_cv_path_PKG_CONFIG+y}
   19627 then :
   19628   printf %s "(cached) " >&6
   19629 else case e in #(
   19630   e) case $PKG_CONFIG in
   19631   [\\/]* | ?:[\\/]*)
   19632   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19633   ;;
   19634   *)
   19635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19636 for as_dir in $PATH
   19637 do
   19638   IFS=$as_save_IFS
   19639   case $as_dir in #(((
   19640     '') as_dir=./ ;;
   19641     */) ;;
   19642     *) as_dir=$as_dir/ ;;
   19643   esac
   19644     for ac_exec_ext in '' $ac_executable_extensions; do
   19645   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19646     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   19647     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19648     break 2
   19649   fi
   19650 done
   19651   done
   19652 IFS=$as_save_IFS
   19653 
   19654   ;;
   19655 esac ;;
   19656 esac
   19657 fi
   19658 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19659 if test -n "$PKG_CONFIG"; then
   19660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19661 printf "%s\n" "$PKG_CONFIG" >&6; }
   19662 else
   19663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19664 printf "%s\n" "no" >&6; }
   19665 fi
   19666 
   19667 
   19668     fi
   19669     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pkg-config or pkgconf" >&5
   19670 printf %s "checking for pkg-config or pkgconf... " >&6; }
   19671     if test -x "${PKG_CONFIG}" ; then
   19672         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${PKG_CONFIG}" >&5
   19673 printf "%s\n" "${PKG_CONFIG}" >&6; }
   19674         case "${PKG_CONFIG}" in
   19675         *pkgconf)
   19676             _min_version="1.3.0"
   19677             ;;
   19678         *pkg-config)
   19679             _min_version="0.23"
   19680             ;;
   19681         *)
   19682             _min_version="9.9.error"
   19683             ;;
   19684         esac
   19685         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that ${PKG_CONFIG} is at least version ${_min_version}" >&5
   19686 printf %s "checking that ${PKG_CONFIG} is at least version ${_min_version}... " >&6; }
   19687         _act_version=`"${PKG_CONFIG}" --version`
   19688         if ! "${PKG_CONFIG}" --atleast-pkgconfig-version="${_min_version}" ; then
   19689             PKG_CONFIG=""
   19690         fi
   19691         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_act_version}" >&5
   19692 printf "%s\n" "${_act_version}" >&6; }
   19693     else
   19694         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19695 printf "%s\n" "no" >&6; }
   19696         PKG_CONFIG=""
   19697     fi
   19698     if test x"${PKG_CONFIG}" = x"" ; then
   19699         as_fn_error $? "pkg-config was not found or is too old" "$LINENO" 5
   19700     fi
   19701 
   19702 # Check whether --with-pkgconfigdir was given.
   19703 if test ${with_pkgconfigdir+y}
   19704 then :
   19705   withval=$with_pkgconfigdir; pkgconfigdir=$withval
   19706 else case e in #(
   19707   e) pkgconfigdir='${libdir}/pkgconfig' ;;
   19708 esac
   19709 fi
   19710 
   19711     pkgconfigdir=$pkgconfigdir
   19712 
   19713 
   19714 
   19715 # other programs
   19716 
   19717 
   19718 LIB_MAJ=2
   19719 
   19720 
   19721 printf "%s\n" "#define LIB_MAJ $LIB_MAJ" >>confdefs.h
   19722 
   19723 
   19724 # Check whether --enable-debug was given.
   19725 if test ${enable_debug+y}
   19726 then :
   19727   enableval=$enable_debug;
   19728 printf "%s\n" "#define OPENPAM_DEBUG 1" >>confdefs.h
   19729 
   19730 fi
   19731 
   19732 
   19733 # Check whether --enable-unversioned-modules was given.
   19734 if test ${enable_unversioned_modules+y}
   19735 then :
   19736   enableval=$enable_unversioned_modules; if test x"$enableval" = x"no"
   19737 then :
   19738 
   19739 
   19740 printf "%s\n" "#define DISABLE_UNVERSIONED_MODULES 1" >>confdefs.h
   19741 
   19742 
   19743 fi
   19744 fi
   19745 
   19746 
   19747 
   19748 # Check whether --with-modules-dir was given.
   19749 if test ${with_modules_dir+y}
   19750 then :
   19751   withval=$with_modules_dir; if test x"$withval" != x"no"
   19752 then :
   19753 
   19754         OPENPAM_MODULES_DIR="$withval"
   19755 
   19756 printf "%s\n" "#define OPENPAM_MODULES_DIR \"${OPENPAM_MODULES_DIR%/}\"" >>confdefs.h
   19757 
   19758 
   19759 fi
   19760 fi
   19761 
   19762 
   19763  if test x"$OPENPAM_MODULES_DIR" != x""; then
   19764   CUSTOM_MODULES_DIR_TRUE=
   19765   CUSTOM_MODULES_DIR_FALSE='#'
   19766 else
   19767   CUSTOM_MODULES_DIR_TRUE='#'
   19768   CUSTOM_MODULES_DIR_FALSE=
   19769 fi
   19770 
   19771 
   19772 if test x"$LOCALBASE" = x""
   19773 then :
   19774 
   19775     if test x"$prefix" = x"NONE"
   19776 then :
   19777   LOCALBASE=/usr/local
   19778 else case e in #(
   19779   e) LOCALBASE=$prefix ;;
   19780 esac
   19781 fi
   19782 fi
   19783 
   19784 # Check whether --with-localbase was given.
   19785 if test ${with_localbase+y}
   19786 then :
   19787   withval=$with_localbase; case $withval in #(
   19788   no) :
   19789     LOCALBASE= ;; #(
   19790   yes) :
   19791     LOCALBASE=$ac_default_prefix ;; #(
   19792   *) :
   19793     LOCALBASE="$withval" ;; #(
   19794   *) :
   19795      ;;
   19796 esac
   19797 fi
   19798 
   19799 if test x"$LOCALBASE" != x""
   19800 then :
   19801 
   19802 
   19803 printf "%s\n" "#define LOCALBASE \"${LOCALBASE%/}\"" >>confdefs.h
   19804 
   19805 fi
   19806 
   19807 
   19808 # Check whether --with-doc was given.
   19809 if test ${with_doc+y}
   19810 then :
   19811   withval=$with_doc;
   19812 else case e in #(
   19813   e) with_doc=yes ;;
   19814 esac
   19815 fi
   19816 
   19817  if test x"$with_doc" = x"yes"; then
   19818   WITH_DOC_TRUE=
   19819   WITH_DOC_FALSE='#'
   19820 else
   19821   WITH_DOC_TRUE='#'
   19822   WITH_DOC_FALSE=
   19823 fi
   19824 
   19825 
   19826 
   19827 # Check whether --with-pam-unix was given.
   19828 if test ${with_pam_unix+y}
   19829 then :
   19830   withval=$with_pam_unix;
   19831 else case e in #(
   19832   e) with_pam_unix=no ;;
   19833 esac
   19834 fi
   19835 
   19836  if test x"$with_pam_unix" = x"yes"; then
   19837   WITH_PAM_UNIX_TRUE=
   19838   WITH_PAM_UNIX_FALSE='#'
   19839 else
   19840   WITH_PAM_UNIX_TRUE='#'
   19841   WITH_PAM_UNIX_FALSE=
   19842 fi
   19843 
   19844 
   19845 
   19846 # Check whether --with-pamtest was given.
   19847 if test ${with_pamtest+y}
   19848 then :
   19849   withval=$with_pamtest;
   19850 else case e in #(
   19851   e) with_pamtest=no ;;
   19852 esac
   19853 fi
   19854 
   19855  if test x"$with_pamtest" = x"yes"; then
   19856   WITH_PAMTEST_TRUE=
   19857   WITH_PAMTEST_FALSE='#'
   19858 else
   19859   WITH_PAMTEST_TRUE='#'
   19860   WITH_PAMTEST_FALSE=
   19861 fi
   19862 
   19863 
   19864 
   19865 # Check whether --with-su was given.
   19866 if test ${with_su+y}
   19867 then :
   19868   withval=$with_su;
   19869 else case e in #(
   19870   e) with_su=no ;;
   19871 esac
   19872 fi
   19873 
   19874  if test x"$with_su" = x"yes"; then
   19875   WITH_SU_TRUE=
   19876   WITH_SU_FALSE='#'
   19877 else
   19878   WITH_SU_TRUE='#'
   19879   WITH_SU_FALSE=
   19880 fi
   19881 
   19882 
   19883 
   19884 # Check whether --with-system-libpam was given.
   19885 if test ${with_system_libpam+y}
   19886 then :
   19887   withval=$with_system_libpam;
   19888 else case e in #(
   19889   e) with_system_libpam=no ;;
   19890 esac
   19891 fi
   19892 
   19893  if test x"$with_system_libpam" = x"yes"; then
   19894   WITH_SYSTEM_LIBPAM_TRUE=
   19895   WITH_SYSTEM_LIBPAM_FALSE='#'
   19896 else
   19897   WITH_SYSTEM_LIBPAM_TRUE='#'
   19898   WITH_SYSTEM_LIBPAM_FALSE=
   19899 fi
   19900 
   19901 
   19902 ac_fn_c_check_header_compile "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
   19903 if test "x$ac_cv_header_crypt_h" = xyes
   19904 then :
   19905   printf "%s\n" "#define HAVE_CRYPT_H 1" >>confdefs.h
   19906 
   19907 fi
   19908 
   19909 
   19910 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   19911 if test "x$ac_cv_func_asprintf" = xyes
   19912 then :
   19913   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   19914 
   19915 fi
   19916 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
   19917 if test "x$ac_cv_func_vasprintf" = xyes
   19918 then :
   19919   printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h
   19920 
   19921 fi
   19922 
   19923 ac_fn_c_check_func "$LINENO" "dlfunc" "ac_cv_func_dlfunc"
   19924 if test "x$ac_cv_func_dlfunc" = xyes
   19925 then :
   19926   printf "%s\n" "#define HAVE_DLFUNC 1" >>confdefs.h
   19927 
   19928 fi
   19929 ac_fn_c_check_func "$LINENO" "fdlopen" "ac_cv_func_fdlopen"
   19930 if test "x$ac_cv_func_fdlopen" = xyes
   19931 then :
   19932   printf "%s\n" "#define HAVE_FDLOPEN 1" >>confdefs.h
   19933 
   19934 fi
   19935 
   19936 ac_fn_c_check_func "$LINENO" "fpurge" "ac_cv_func_fpurge"
   19937 if test "x$ac_cv_func_fpurge" = xyes
   19938 then :
   19939   printf "%s\n" "#define HAVE_FPURGE 1" >>confdefs.h
   19940 
   19941 fi
   19942 
   19943 ac_fn_c_check_func "$LINENO" "setlogmask" "ac_cv_func_setlogmask"
   19944 if test "x$ac_cv_func_setlogmask" = xyes
   19945 then :
   19946   printf "%s\n" "#define HAVE_SETLOGMASK 1" >>confdefs.h
   19947 
   19948 fi
   19949 
   19950 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   19951 if test "x$ac_cv_func_strlcat" = xyes
   19952 then :
   19953   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   19954 
   19955 fi
   19956 ac_fn_c_check_func "$LINENO" "strlcmp" "ac_cv_func_strlcmp"
   19957 if test "x$ac_cv_func_strlcmp" = xyes
   19958 then :
   19959   printf "%s\n" "#define HAVE_STRLCMP 1" >>confdefs.h
   19960 
   19961 fi
   19962 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   19963 if test "x$ac_cv_func_strlcpy" = xyes
   19964 then :
   19965   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   19966 
   19967 fi
   19968 ac_fn_c_check_func "$LINENO" "strlset" "ac_cv_func_strlset"
   19969 if test "x$ac_cv_func_strlset" = xyes
   19970 then :
   19971   printf "%s\n" "#define HAVE_STRLSET 1" >>confdefs.h
   19972 
   19973 fi
   19974 
   19975 
   19976 saved_LIBS="${LIBS}"
   19977 LIBS=""
   19978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19979 printf %s "checking for dlopen in -ldl... " >&6; }
   19980 if test ${ac_cv_lib_dl_dlopen+y}
   19981 then :
   19982   printf %s "(cached) " >&6
   19983 else case e in #(
   19984   e) ac_check_lib_save_LIBS=$LIBS
   19985 LIBS="-ldl  $LIBS"
   19986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19987 /* end confdefs.h.  */
   19988 
   19989 /* Override any GCC internal prototype to avoid an error.
   19990    Use char because int might match the return type of a GCC
   19991    builtin and then its argument prototype would still apply.
   19992    The 'extern "C"' is for builds by C++ compilers;
   19993    although this is not generally supported in C code supporting it here
   19994    has little cost and some practical benefit (sr 110532).  */
   19995 #ifdef __cplusplus
   19996 extern "C"
   19997 #endif
   19998 char dlopen (void);
   19999 int
   20000 main (void)
   20001 {
   20002 return dlopen ();
   20003   ;
   20004   return 0;
   20005 }
   20006 _ACEOF
   20007 if ac_fn_c_try_link "$LINENO"
   20008 then :
   20009   ac_cv_lib_dl_dlopen=yes
   20010 else case e in #(
   20011   e) ac_cv_lib_dl_dlopen=no ;;
   20012 esac
   20013 fi
   20014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20015     conftest$ac_exeext conftest.$ac_ext
   20016 LIBS=$ac_check_lib_save_LIBS ;;
   20017 esac
   20018 fi
   20019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   20020 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   20021 if test "x$ac_cv_lib_dl_dlopen" = xyes
   20022 then :
   20023   printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
   20024 
   20025   LIBS="-ldl $LIBS"
   20026 
   20027 fi
   20028 
   20029 DL_LIBS="${LIBS}"
   20030 LIBS="${saved_LIBS}"
   20031 
   20032 
   20033 saved_LIBS="${LIBS}"
   20034 LIBS=""
   20035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
   20036 printf %s "checking for pam_start in -lpam... " >&6; }
   20037 if test ${ac_cv_lib_pam_pam_start+y}
   20038 then :
   20039   printf %s "(cached) " >&6
   20040 else case e in #(
   20041   e) ac_check_lib_save_LIBS=$LIBS
   20042 LIBS="-lpam  $LIBS"
   20043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20044 /* end confdefs.h.  */
   20045 
   20046 /* Override any GCC internal prototype to avoid an error.
   20047    Use char because int might match the return type of a GCC
   20048    builtin and then its argument prototype would still apply.
   20049    The 'extern "C"' is for builds by C++ compilers;
   20050    although this is not generally supported in C code supporting it here
   20051    has little cost and some practical benefit (sr 110532).  */
   20052 #ifdef __cplusplus
   20053 extern "C"
   20054 #endif
   20055 char pam_start (void);
   20056 int
   20057 main (void)
   20058 {
   20059 return pam_start ();
   20060   ;
   20061   return 0;
   20062 }
   20063 _ACEOF
   20064 if ac_fn_c_try_link "$LINENO"
   20065 then :
   20066   ac_cv_lib_pam_pam_start=yes
   20067 else case e in #(
   20068   e) ac_cv_lib_pam_pam_start=no ;;
   20069 esac
   20070 fi
   20071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20072     conftest$ac_exeext conftest.$ac_ext
   20073 LIBS=$ac_check_lib_save_LIBS ;;
   20074 esac
   20075 fi
   20076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
   20077 printf "%s\n" "$ac_cv_lib_pam_pam_start" >&6; }
   20078 if test "x$ac_cv_lib_pam_pam_start" = xyes
   20079 then :
   20080   printf "%s\n" "#define HAVE_LIBPAM 1" >>confdefs.h
   20081 
   20082   LIBS="-lpam $LIBS"
   20083 
   20084 fi
   20085 
   20086 SYSTEM_LIBPAM="${LIBS}"
   20087 LIBS="${saved_LIBS}"
   20088 
   20089 
   20090 
   20091 
   20092 
   20093 
   20094 
   20095 
   20096     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cryb-test is installed" >&5
   20097 printf %s "checking if cryb-test is installed... " >&6; }
   20098     if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \"\${PKG_CONFIG}\" --exists --print-errors \"cryb-test\""; } >&5
   20099   ("${PKG_CONFIG}" --exists --print-errors "cryb-test") 2>&5
   20100   ac_status=$?
   20101   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20102   test $ac_status = 0; } ; then
   20103         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20104 printf "%s\n" "yes" >&6; }
   20105         ax_pc_cv_have_cryb_test=yes
   20106 
   20107 printf "%s\n" "#define HAVE_CRYB_TEST 1" >>confdefs.h
   20108 
   20109         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking cryb-test version" >&5
   20110 printf %s "checking cryb-test version... " >&6; }
   20111 
   20112 
   20113 
   20114     ax_pc_cv_cryb_test_version=`"${PKG_CONFIG}" --modversion cryb-test`
   20115 
   20116         CRYB_TEST_VERSION=$ax_pc_cv_cryb_test_version
   20117 
   20118         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${ax_pc_cv_cryb_test_version:-unknown}" >&5
   20119 printf "%s\n" "${ax_pc_cv_cryb_test_version:-unknown}" >&6; }
   20120         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking cryb-test compiler flags" >&5
   20121 printf %s "checking cryb-test compiler flags... " >&6; }
   20122 
   20123 
   20124 
   20125     ax_pc_cv_cryb_test_cflags=`"${PKG_CONFIG}" --cflags cryb-test`
   20126 
   20127         CRYB_TEST_CFLAGS=$ax_pc_cv_cryb_test_cflags
   20128 
   20129         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${ax_pc_cv_cryb_test_cflags:-none}" >&5
   20130 printf "%s\n" "${ax_pc_cv_cryb_test_cflags:-none}" >&6; }
   20131         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking cryb-test linker flags" >&5
   20132 printf %s "checking cryb-test linker flags... " >&6; }
   20133 
   20134 
   20135 
   20136     ax_pc_cv_cryb_test_libs=`"${PKG_CONFIG}" --libs cryb-test`
   20137 
   20138         CRYB_TEST_LIBS=$ax_pc_cv_cryb_test_libs
   20139 
   20140         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${ax_pc_cv_cryb_test_libs:-none}" >&5
   20141 printf "%s\n" "${ax_pc_cv_cryb_test_libs:-none}" >&6; }
   20142         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Cryb test framework found, unit tests enabled." >&5
   20143 printf "%s\n" "$as_me: Cryb test framework found, unit tests enabled." >&6;}
   20144     else
   20145         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20146 printf "%s\n" "no" >&6; }
   20147         ax_pc_cv_have_cryb_test=no
   20148         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cryb test framework not found, unit tests disabled." >&5
   20149 printf "%s\n" "$as_me: WARNING: Cryb test framework not found, unit tests disabled." >&2;}
   20150     fi
   20151 
   20152          if test x"$ax_pc_cv_have_cryb_test" = x"yes"; then
   20153   HAVE_CRYB_TEST_TRUE=
   20154   HAVE_CRYB_TEST_FALSE='#'
   20155 else
   20156   HAVE_CRYB_TEST_TRUE='#'
   20157   HAVE_CRYB_TEST_FALSE=
   20158 fi
   20159 
   20160 
   20161 
   20162  if test x"$CRYB_TEST_LIBS" != x""; then
   20163   WITH_TEST_TRUE=
   20164   WITH_TEST_FALSE='#'
   20165 else
   20166   WITH_TEST_TRUE='#'
   20167   WITH_TEST_FALSE=
   20168 fi
   20169 
   20170 
   20171 # Check whether --enable-developer-warnings was given.
   20172 if test ${enable_developer_warnings+y}
   20173 then :
   20174   enableval=$enable_developer_warnings; CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual"
   20175 fi
   20176 
   20177 # Check whether --enable-debugging-symbols was given.
   20178 if test ${enable_debugging_symbols+y}
   20179 then :
   20180   enableval=$enable_debugging_symbols; CFLAGS="${CFLAGS} -O0 -g -fno-inline"
   20181 fi
   20182 
   20183 # Check whether --enable-werror was given.
   20184 if test ${enable_werror+y}
   20185 then :
   20186   enableval=$enable_werror; CFLAGS="${CFLAGS} -Werror"
   20187 fi
   20188 
   20189 
   20190 # Check whether --enable-code-coverage was given.
   20191 if test ${enable_code_coverage+y}
   20192 then :
   20193   enableval=$enable_code_coverage;
   20194 fi
   20195 
   20196 if test x"$enable_code_coverage" = x"yes"
   20197 then :
   20198 
   20199     if test -z "$WITH_TEST_TRUE"; then :
   20200 
   20201         if test x"$ax_cv_c_compiler_vendor" = x"clang"
   20202 then :
   20203 
   20204             CFLAGS="${CFLAGS} -fprofile-instr-generate -fcoverage-mapping"
   20205             clang_code_coverage="yes"
   20206 	    clang_ver=${CC#clang}
   20207 
   20208 
   20209 else case e in #(
   20210   e)
   20211             as_fn_error $? "code coverage is only supported with clang" "$LINENO" 5
   20212          ;;
   20213 esac
   20214 fi
   20215 
   20216 printf "%s\n" "#define WITH_CODE_COVERAGE 1" >>confdefs.h
   20217 
   20218         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: code coverage enabled" >&5
   20219 printf "%s\n" "$as_me: code coverage enabled" >&6;}
   20220 
   20221 else
   20222 
   20223         as_fn_error $? "code coverage requires unit tests" "$LINENO" 5
   20224 
   20225 fi
   20226 
   20227 fi
   20228  if test x"$enable_code_coverage" = x"yes"; then
   20229   WITH_CODE_COVERAGE_TRUE=
   20230   WITH_CODE_COVERAGE_FALSE='#'
   20231 else
   20232   WITH_CODE_COVERAGE_TRUE='#'
   20233   WITH_CODE_COVERAGE_FALSE=
   20234 fi
   20235 
   20236  if test x"$clang_code_coverage" = x"yes"; then
   20237   CLANG_CODE_COVERAGE_TRUE=
   20238   CLANG_CODE_COVERAGE_FALSE='#'
   20239 else
   20240   CLANG_CODE_COVERAGE_TRUE='#'
   20241   CLANG_CODE_COVERAGE_FALSE=
   20242 fi
   20243 
   20244 
   20245 ac_config_files="$ac_config_files Makefile bin/Makefile bin/openpam_dump_policy/Makefile bin/pamtest/Makefile bin/su/Makefile doc/Makefile doc/man/Makefile freebsd/Makefile include/Makefile include/security/Makefile lib/Makefile lib/libpam/Makefile misc/Makefile modules/Makefile modules/pam_deny/Makefile modules/pam_permit/Makefile modules/pam_return/Makefile modules/pam_unix/Makefile t/Makefile"
   20246 
   20247 ac_config_files="$ac_config_files misc/coverity.sh"
   20248 
   20249 cat >confcache <<\_ACEOF
   20250 # This file is a shell script that caches the results of configure
   20251 # tests run on this system so they can be shared between configure
   20252 # scripts and configure runs, see configure's option --config-cache.
   20253 # It is not useful on other systems.  If it contains results you don't
   20254 # want to keep, you may remove or edit it.
   20255 #
   20256 # config.status only pays attention to the cache file if you give it
   20257 # the --recheck option to rerun configure.
   20258 #
   20259 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20260 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20261 # following values.
   20262 
   20263 _ACEOF
   20264 
   20265 # The following way of writing the cache mishandles newlines in values,
   20266 # but we know of no workaround that is simple, portable, and efficient.
   20267 # So, we kill variables containing newlines.
   20268 # Ultrix sh set writes to stderr and can't be redirected directly,
   20269 # and sets the high bit in the cache file unless we assign to the vars.
   20270 (
   20271   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20272     eval ac_val=\$$ac_var
   20273     case $ac_val in #(
   20274     *${as_nl}*)
   20275       case $ac_var in #(
   20276       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20277 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20278       esac
   20279       case $ac_var in #(
   20280       _ | IFS | as_nl) ;; #(
   20281       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20282       *) { eval $ac_var=; unset $ac_var;} ;;
   20283       esac ;;
   20284     esac
   20285   done
   20286 
   20287   (set) 2>&1 |
   20288     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20289     *${as_nl}ac_space=\ *)
   20290       # 'set' does not quote correctly, so add quotes: double-quote
   20291       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20292       sed -n \
   20293 	"s/'/'\\\\''/g;
   20294 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20295       ;; #(
   20296     *)
   20297       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20298       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20299       ;;
   20300     esac |
   20301     sort
   20302 ) |
   20303   sed '
   20304      /^ac_cv_env_/b end
   20305      t clear
   20306      :clear
   20307      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20308      t end
   20309      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20310      :end' >>confcache
   20311 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20312   if test -w "$cache_file"; then
   20313     if test "x$cache_file" != "x/dev/null"; then
   20314       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20315 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20316       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20317 	cat confcache >"$cache_file"
   20318       else
   20319         case $cache_file in #(
   20320         */* | ?:*)
   20321 	  mv -f confcache "$cache_file"$$ &&
   20322 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20323         *)
   20324 	  mv -f confcache "$cache_file" ;;
   20325 	esac
   20326       fi
   20327     fi
   20328   else
   20329     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20330 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20331   fi
   20332 fi
   20333 rm -f confcache
   20334 
   20335 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20336 # Let make expand exec_prefix.
   20337 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20338 
   20339 DEFS=-DHAVE_CONFIG_H
   20340 
   20341 ac_libobjs=
   20342 ac_ltlibobjs=
   20343 U=
   20344 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20345   # 1. Remove the extension, and $U if already installed.
   20346   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20347   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20348   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20349   #    will be set to the directory where LIBOBJS objects are built.
   20350   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20351   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20352 done
   20353 LIBOBJS=$ac_libobjs
   20354 
   20355 LTLIBOBJS=$ac_ltlibobjs
   20356 
   20357 
   20358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20359 printf %s "checking that generated files are newer than configure... " >&6; }
   20360    if test -n "$am_sleep_pid"; then
   20361      # Hide warnings about reused PIDs.
   20362      wait $am_sleep_pid 2>/dev/null
   20363    fi
   20364    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20365 printf "%s\n" "done" >&6; }
   20366 case $enable_silent_rules in # (((
   20367   yes) AM_DEFAULT_VERBOSITY=0;;
   20368    no) AM_DEFAULT_VERBOSITY=1;;
   20369 esac
   20370 if test $am_cv_make_support_nested_variables = yes; then
   20371     AM_V='$(V)'
   20372   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   20373 else
   20374   AM_V=$AM_DEFAULT_VERBOSITY
   20375   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   20376 fi
   20377 
   20378  if test -n "$EXEEXT"; then
   20379   am__EXEEXT_TRUE=
   20380   am__EXEEXT_FALSE='#'
   20381 else
   20382   am__EXEEXT_TRUE='#'
   20383   am__EXEEXT_FALSE=
   20384 fi
   20385 
   20386 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20387   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20389 fi
   20390 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20391   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20393 fi
   20394 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20395   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20397 fi
   20398 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20399   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   20400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20401 fi
   20402 if test -z "${CUSTOM_MODULES_DIR_TRUE}" && test -z "${CUSTOM_MODULES_DIR_FALSE}"; then
   20403   as_fn_error $? "conditional \"CUSTOM_MODULES_DIR\" was never defined.
   20404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20405 fi
   20406 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
   20407   as_fn_error $? "conditional \"WITH_DOC\" was never defined.
   20408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20409 fi
   20410 if test -z "${WITH_PAM_UNIX_TRUE}" && test -z "${WITH_PAM_UNIX_FALSE}"; then
   20411   as_fn_error $? "conditional \"WITH_PAM_UNIX\" was never defined.
   20412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20413 fi
   20414 if test -z "${WITH_PAMTEST_TRUE}" && test -z "${WITH_PAMTEST_FALSE}"; then
   20415   as_fn_error $? "conditional \"WITH_PAMTEST\" was never defined.
   20416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20417 fi
   20418 if test -z "${WITH_SU_TRUE}" && test -z "${WITH_SU_FALSE}"; then
   20419   as_fn_error $? "conditional \"WITH_SU\" was never defined.
   20420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20421 fi
   20422 if test -z "${WITH_SYSTEM_LIBPAM_TRUE}" && test -z "${WITH_SYSTEM_LIBPAM_FALSE}"; then
   20423   as_fn_error $? "conditional \"WITH_SYSTEM_LIBPAM\" was never defined.
   20424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20425 fi
   20426 if test -z "${HAVE_CRYB_TEST_TRUE}" && test -z "${HAVE_CRYB_TEST_FALSE}"; then
   20427   as_fn_error $? "conditional \"HAVE_CRYB_TEST\" was never defined.
   20428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20429 fi
   20430 if test -z "${WITH_TEST_TRUE}" && test -z "${WITH_TEST_FALSE}"; then
   20431   as_fn_error $? "conditional \"WITH_TEST\" was never defined.
   20432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20433 fi
   20434 if test -z "${WITH_CODE_COVERAGE_TRUE}" && test -z "${WITH_CODE_COVERAGE_FALSE}"; then
   20435   as_fn_error $? "conditional \"WITH_CODE_COVERAGE\" was never defined.
   20436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20437 fi
   20438 if test -z "${CLANG_CODE_COVERAGE_TRUE}" && test -z "${CLANG_CODE_COVERAGE_FALSE}"; then
   20439   as_fn_error $? "conditional \"CLANG_CODE_COVERAGE\" was never defined.
   20440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20441 fi
   20442 
   20443 : "${CONFIG_STATUS=./config.status}"
   20444 ac_write_fail=0
   20445 ac_clean_files_save=$ac_clean_files
   20446 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20448 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20449 as_write_fail=0
   20450 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20451 #! $SHELL
   20452 # Generated by $as_me.
   20453 # Run this file to recreate the current configuration.
   20454 # Compiler output produced by configure, useful for debugging
   20455 # configure, is in config.log if it exists.
   20456 
   20457 debug=false
   20458 ac_cs_recheck=false
   20459 ac_cs_silent=false
   20460 
   20461 SHELL=\${CONFIG_SHELL-$SHELL}
   20462 export SHELL
   20463 _ASEOF
   20464 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20465 ## -------------------- ##
   20466 ## M4sh Initialization. ##
   20467 ## -------------------- ##
   20468 
   20469 # Be more Bourne compatible
   20470 DUALCASE=1; export DUALCASE # for MKS sh
   20471 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20472 then :
   20473   emulate sh
   20474   NULLCMD=:
   20475   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20476   # is contrary to our usage.  Disable this feature.
   20477   alias -g '${1+"$@"}'='"$@"'
   20478   setopt NO_GLOB_SUBST
   20479 else case e in #(
   20480   e) case `(set -o) 2>/dev/null` in #(
   20481   *posix*) :
   20482     set -o posix ;; #(
   20483   *) :
   20484      ;;
   20485 esac ;;
   20486 esac
   20487 fi
   20488 
   20489 
   20490 
   20491 # Reset variables that may have inherited troublesome values from
   20492 # the environment.
   20493 
   20494 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20495 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20496 # side effect of setting IFS to empty, thus disabling word splitting.)
   20497 # Quoting is to prevent editors from complaining about space-tab.
   20498 as_nl='
   20499 '
   20500 export as_nl
   20501 IFS=" ""	$as_nl"
   20502 
   20503 PS1='$ '
   20504 PS2='> '
   20505 PS4='+ '
   20506 
   20507 # Ensure predictable behavior from utilities with locale-dependent output.
   20508 LC_ALL=C
   20509 export LC_ALL
   20510 LANGUAGE=C
   20511 export LANGUAGE
   20512 
   20513 # We cannot yet rely on "unset" to work, but we need these variables
   20514 # to be unset--not just set to an empty or harmless value--now, to
   20515 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20516 # also avoids known problems related to "unset" and subshell syntax
   20517 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20518 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20519 do eval test \${$as_var+y} \
   20520   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20521 done
   20522 
   20523 # Ensure that fds 0, 1, and 2 are open.
   20524 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20525 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20526 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20527 
   20528 # The user is always right.
   20529 if ${PATH_SEPARATOR+false} :; then
   20530   PATH_SEPARATOR=:
   20531   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20532     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20533       PATH_SEPARATOR=';'
   20534   }
   20535 fi
   20536 
   20537 
   20538 # Find who we are.  Look in the path if we contain no directory separator.
   20539 as_myself=
   20540 case $0 in #((
   20541   *[\\/]* ) as_myself=$0 ;;
   20542   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20543 for as_dir in $PATH
   20544 do
   20545   IFS=$as_save_IFS
   20546   case $as_dir in #(((
   20547     '') as_dir=./ ;;
   20548     */) ;;
   20549     *) as_dir=$as_dir/ ;;
   20550   esac
   20551     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20552   done
   20553 IFS=$as_save_IFS
   20554 
   20555      ;;
   20556 esac
   20557 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   20558 # in which case we are not to be found in the path.
   20559 if test "x$as_myself" = x; then
   20560   as_myself=$0
   20561 fi
   20562 if test ! -f "$as_myself"; then
   20563   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20564   exit 1
   20565 fi
   20566 
   20567 
   20568 
   20569 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20570 # ----------------------------------------
   20571 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20572 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20573 # script with STATUS, using 1 if that was 0.
   20574 as_fn_error ()
   20575 {
   20576   as_status=$1; test $as_status -eq 0 && as_status=1
   20577   if test "$4"; then
   20578     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20579     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20580   fi
   20581   printf "%s\n" "$as_me: error: $2" >&2
   20582   as_fn_exit $as_status
   20583 } # as_fn_error
   20584 
   20585 
   20586 # as_fn_set_status STATUS
   20587 # -----------------------
   20588 # Set $? to STATUS, without forking.
   20589 as_fn_set_status ()
   20590 {
   20591   return $1
   20592 } # as_fn_set_status
   20593 
   20594 # as_fn_exit STATUS
   20595 # -----------------
   20596 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20597 as_fn_exit ()
   20598 {
   20599   set +e
   20600   as_fn_set_status $1
   20601   exit $1
   20602 } # as_fn_exit
   20603 
   20604 # as_fn_unset VAR
   20605 # ---------------
   20606 # Portably unset VAR.
   20607 as_fn_unset ()
   20608 {
   20609   { eval $1=; unset $1;}
   20610 }
   20611 as_unset=as_fn_unset
   20612 
   20613 # as_fn_append VAR VALUE
   20614 # ----------------------
   20615 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20616 # advantage of any shell optimizations that allow amortized linear growth over
   20617 # repeated appends, instead of the typical quadratic growth present in naive
   20618 # implementations.
   20619 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20620 then :
   20621   eval 'as_fn_append ()
   20622   {
   20623     eval $1+=\$2
   20624   }'
   20625 else case e in #(
   20626   e) as_fn_append ()
   20627   {
   20628     eval $1=\$$1\$2
   20629   } ;;
   20630 esac
   20631 fi # as_fn_append
   20632 
   20633 # as_fn_arith ARG...
   20634 # ------------------
   20635 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20636 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20637 # must be portable across $(()) and expr.
   20638 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20639 then :
   20640   eval 'as_fn_arith ()
   20641   {
   20642     as_val=$(( $* ))
   20643   }'
   20644 else case e in #(
   20645   e) as_fn_arith ()
   20646   {
   20647     as_val=`expr "$@" || test $? -eq 1`
   20648   } ;;
   20649 esac
   20650 fi # as_fn_arith
   20651 
   20652 
   20653 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20654    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20655   as_expr=expr
   20656 else
   20657   as_expr=false
   20658 fi
   20659 
   20660 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20661   as_basename=basename
   20662 else
   20663   as_basename=false
   20664 fi
   20665 
   20666 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20667   as_dirname=dirname
   20668 else
   20669   as_dirname=false
   20670 fi
   20671 
   20672 as_me=`$as_basename -- "$0" ||
   20673 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20674 	 X"$0" : 'X\(//\)$' \| \
   20675 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20676 printf "%s\n" X/"$0" |
   20677     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20678 	    s//\1/
   20679 	    q
   20680 	  }
   20681 	  /^X\/\(\/\/\)$/{
   20682 	    s//\1/
   20683 	    q
   20684 	  }
   20685 	  /^X\/\(\/\).*/{
   20686 	    s//\1/
   20687 	    q
   20688 	  }
   20689 	  s/.*/./; q'`
   20690 
   20691 # Avoid depending upon Character Ranges.
   20692 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20693 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20694 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20695 as_cr_digits='0123456789'
   20696 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20697 
   20698 
   20699 # Determine whether it's possible to make 'echo' print without a newline.
   20700 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20701 # for compatibility with existing Makefiles.
   20702 ECHO_C= ECHO_N= ECHO_T=
   20703 case `echo -n x` in #(((((
   20704 -n*)
   20705   case `echo 'xy\c'` in
   20706   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20707   xy)  ECHO_C='\c';;
   20708   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20709        ECHO_T='	';;
   20710   esac;;
   20711 *)
   20712   ECHO_N='-n';;
   20713 esac
   20714 
   20715 # For backward compatibility with old third-party macros, we provide
   20716 # the shell variables $as_echo and $as_echo_n.  New code should use
   20717 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20718 as_echo='printf %s\n'
   20719 as_echo_n='printf %s'
   20720 
   20721 rm -f conf$$ conf$$.exe conf$$.file
   20722 if test -d conf$$.dir; then
   20723   rm -f conf$$.dir/conf$$.file
   20724 else
   20725   rm -f conf$$.dir
   20726   mkdir conf$$.dir 2>/dev/null
   20727 fi
   20728 if (echo >conf$$.file) 2>/dev/null; then
   20729   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20730     as_ln_s='ln -s'
   20731     # ... but there are two gotchas:
   20732     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   20733     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   20734     # In both cases, we have to default to 'cp -pR'.
   20735     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20736       as_ln_s='cp -pR'
   20737   elif ln conf$$.file conf$$ 2>/dev/null; then
   20738     as_ln_s=ln
   20739   else
   20740     as_ln_s='cp -pR'
   20741   fi
   20742 else
   20743   as_ln_s='cp -pR'
   20744 fi
   20745 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20746 rmdir conf$$.dir 2>/dev/null
   20747 
   20748 
   20749 # as_fn_mkdir_p
   20750 # -------------
   20751 # Create "$as_dir" as a directory, including parents if necessary.
   20752 as_fn_mkdir_p ()
   20753 {
   20754 
   20755   case $as_dir in #(
   20756   -*) as_dir=./$as_dir;;
   20757   esac
   20758   test -d "$as_dir" || eval $as_mkdir_p || {
   20759     as_dirs=
   20760     while :; do
   20761       case $as_dir in #(
   20762       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20763       *) as_qdir=$as_dir;;
   20764       esac
   20765       as_dirs="'$as_qdir' $as_dirs"
   20766       as_dir=`$as_dirname -- "$as_dir" ||
   20767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20768 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20769 	 X"$as_dir" : 'X\(//\)$' \| \
   20770 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20771 printf "%s\n" X"$as_dir" |
   20772     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20773 	    s//\1/
   20774 	    q
   20775 	  }
   20776 	  /^X\(\/\/\)[^/].*/{
   20777 	    s//\1/
   20778 	    q
   20779 	  }
   20780 	  /^X\(\/\/\)$/{
   20781 	    s//\1/
   20782 	    q
   20783 	  }
   20784 	  /^X\(\/\).*/{
   20785 	    s//\1/
   20786 	    q
   20787 	  }
   20788 	  s/.*/./; q'`
   20789       test -d "$as_dir" && break
   20790     done
   20791     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20792   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20793 
   20794 
   20795 } # as_fn_mkdir_p
   20796 if mkdir -p . 2>/dev/null; then
   20797   as_mkdir_p='mkdir -p "$as_dir"'
   20798 else
   20799   test -d ./-p && rmdir ./-p
   20800   as_mkdir_p=false
   20801 fi
   20802 
   20803 
   20804 # as_fn_executable_p FILE
   20805 # -----------------------
   20806 # Test if FILE is an executable regular file.
   20807 as_fn_executable_p ()
   20808 {
   20809   test -f "$1" && test -x "$1"
   20810 } # as_fn_executable_p
   20811 as_test_x='test -x'
   20812 as_executable_p=as_fn_executable_p
   20813 
   20814 # Sed expression to map a string onto a valid CPP name.
   20815 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   20816 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   20817 
   20818 # Sed expression to map a string onto a valid variable name.
   20819 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   20820 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   20821 
   20822 
   20823 exec 6>&1
   20824 ## ----------------------------------- ##
   20825 ## Main body of $CONFIG_STATUS script. ##
   20826 ## ----------------------------------- ##
   20827 _ASEOF
   20828 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20829 
   20830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20831 # Save the log message, to keep $0 and so on meaningful, and to
   20832 # report actual input values of CONFIG_FILES etc. instead of their
   20833 # values after options handling.
   20834 ac_log="
   20835 This file was extended by OpenPAM $as_me 20250531, which was
   20836 generated by GNU Autoconf 2.72.  Invocation command line was
   20837 
   20838   CONFIG_FILES    = $CONFIG_FILES
   20839   CONFIG_HEADERS  = $CONFIG_HEADERS
   20840   CONFIG_LINKS    = $CONFIG_LINKS
   20841   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20842   $ $0 $@
   20843 
   20844 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20845 "
   20846 
   20847 _ACEOF
   20848 
   20849 case $ac_config_files in *"
   20850 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20851 esac
   20852 
   20853 case $ac_config_headers in *"
   20854 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20855 esac
   20856 
   20857 
   20858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20859 # Files that config.status was made for.
   20860 config_files="$ac_config_files"
   20861 config_headers="$ac_config_headers"
   20862 config_commands="$ac_config_commands"
   20863 
   20864 _ACEOF
   20865 
   20866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20867 ac_cs_usage="\
   20868 '$as_me' instantiates files and other configuration actions
   20869 from templates according to the current configuration.  Unless the files
   20870 and actions are specified as TAGs, all are instantiated by default.
   20871 
   20872 Usage: $0 [OPTION]... [TAG]...
   20873 
   20874   -h, --help       print this help, then exit
   20875   -V, --version    print version number and configuration settings, then exit
   20876       --config     print configuration, then exit
   20877   -q, --quiet, --silent
   20878                    do not print progress messages
   20879   -d, --debug      don't remove temporary files
   20880       --recheck    update $as_me by reconfiguring in the same conditions
   20881       --file=FILE[:TEMPLATE]
   20882                    instantiate the configuration file FILE
   20883       --header=FILE[:TEMPLATE]
   20884                    instantiate the configuration header FILE
   20885 
   20886 Configuration files:
   20887 $config_files
   20888 
   20889 Configuration headers:
   20890 $config_headers
   20891 
   20892 Configuration commands:
   20893 $config_commands
   20894 
   20895 Report bugs to <des (at] des.dev>.
   20896 OpenPAM home page: <https://openpam.org/>."
   20897 
   20898 _ACEOF
   20899 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20900 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20902 ac_cs_config='$ac_cs_config_escaped'
   20903 ac_cs_version="\\
   20904 OpenPAM config.status 20250531
   20905 configured by $0, generated by GNU Autoconf 2.72,
   20906   with options \\"\$ac_cs_config\\"
   20907 
   20908 Copyright (C) 2023 Free Software Foundation, Inc.
   20909 This config.status script is free software; the Free Software Foundation
   20910 gives unlimited permission to copy, distribute and modify it."
   20911 
   20912 ac_pwd='$ac_pwd'
   20913 srcdir='$srcdir'
   20914 INSTALL='$INSTALL'
   20915 MKDIR_P='$MKDIR_P'
   20916 AWK='$AWK'
   20917 test -n "\$AWK" || AWK=awk
   20918 _ACEOF
   20919 
   20920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20921 # The default lists apply if the user does not specify any file.
   20922 ac_need_defaults=:
   20923 while test $# != 0
   20924 do
   20925   case $1 in
   20926   --*=?*)
   20927     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20928     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20929     ac_shift=:
   20930     ;;
   20931   --*=)
   20932     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20933     ac_optarg=
   20934     ac_shift=:
   20935     ;;
   20936   *)
   20937     ac_option=$1
   20938     ac_optarg=$2
   20939     ac_shift=shift
   20940     ;;
   20941   esac
   20942 
   20943   case $ac_option in
   20944   # Handling of the options.
   20945   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20946     ac_cs_recheck=: ;;
   20947   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20948     printf "%s\n" "$ac_cs_version"; exit ;;
   20949   --config | --confi | --conf | --con | --co | --c )
   20950     printf "%s\n" "$ac_cs_config"; exit ;;
   20951   --debug | --debu | --deb | --de | --d | -d )
   20952     debug=: ;;
   20953   --file | --fil | --fi | --f )
   20954     $ac_shift
   20955     case $ac_optarg in
   20956     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20957     '') as_fn_error $? "missing file argument" ;;
   20958     esac
   20959     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20960     ac_need_defaults=false;;
   20961   --header | --heade | --head | --hea )
   20962     $ac_shift
   20963     case $ac_optarg in
   20964     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20965     esac
   20966     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20967     ac_need_defaults=false;;
   20968   --he | --h)
   20969     # Conflict between --help and --header
   20970     as_fn_error $? "ambiguous option: '$1'
   20971 Try '$0 --help' for more information.";;
   20972   --help | --hel | -h )
   20973     printf "%s\n" "$ac_cs_usage"; exit ;;
   20974   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20975   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20976     ac_cs_silent=: ;;
   20977 
   20978   # This is an error.
   20979   -*) as_fn_error $? "unrecognized option: '$1'
   20980 Try '$0 --help' for more information." ;;
   20981 
   20982   *) as_fn_append ac_config_targets " $1"
   20983      ac_need_defaults=false ;;
   20984 
   20985   esac
   20986   shift
   20987 done
   20988 
   20989 ac_configure_extra_args=
   20990 
   20991 if $ac_cs_silent; then
   20992   exec 6>/dev/null
   20993   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20994 fi
   20995 
   20996 _ACEOF
   20997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20998 if \$ac_cs_recheck; then
   20999   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21000   shift
   21001   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21002   CONFIG_SHELL='$SHELL'
   21003   export CONFIG_SHELL
   21004   exec "\$@"
   21005 fi
   21006 
   21007 _ACEOF
   21008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21009 exec 5>>config.log
   21010 {
   21011   echo
   21012   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21013 ## Running $as_me. ##
   21014 _ASBOX
   21015   printf "%s\n" "$ac_log"
   21016 } >&5
   21017 
   21018 _ACEOF
   21019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21020 #
   21021 # INIT-COMMANDS
   21022 #
   21023 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21024 
   21025 
   21026 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21027 # if CDPATH is set.
   21028 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21029 
   21030 sed_quote_subst='$sed_quote_subst'
   21031 double_quote_subst='$double_quote_subst'
   21032 delay_variable_subst='$delay_variable_subst'
   21033 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21034 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21035 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21036 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21037 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21038 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21039 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21040 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21041 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21042 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21043 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21044 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21045 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21046 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21047 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21048 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21049 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21050 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21051 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21052 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21053 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21054 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21055 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21056 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21057 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21058 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21059 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21060 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21061 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21062 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21063 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21064 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21065 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21066 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21067 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21068 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21069 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21070 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21071 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21072 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21073 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21074 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21075 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21076 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21077 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21078 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21079 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21080 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21081 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21082 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21083 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21084 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21085 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21086 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21087 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21088 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21089 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21090 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21091 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21092 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21093 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"`'
   21094 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21095 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21096 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21097 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21098 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21099 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21100 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21101 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21102 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21103 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21104 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21105 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21106 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21107 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21108 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21109 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21110 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21111 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21112 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21113 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21114 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21115 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21116 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21117 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21118 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21119 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21120 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21121 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21122 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21123 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21124 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21125 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21126 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21127 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21128 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21129 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21130 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21131 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21132 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21133 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21134 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21135 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21136 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21137 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21138 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21139 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21140 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21141 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21142 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21143 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21144 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21145 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21146 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21147 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21148 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21149 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21150 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21151 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21152 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21153 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21154 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21155 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21156 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21157 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21158 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21159 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21160 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21161 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21162 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21163 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21164 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21165 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21166 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21167 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21168 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21169 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21170 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   21171 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   21172 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   21173 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   21174 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   21175 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   21176 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   21177 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   21178 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21179 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21180 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   21181 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   21182 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   21183 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   21184 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   21185 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   21186 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   21187 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   21188 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   21189 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   21190 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   21191 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   21192 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21193 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21194 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21195 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21196 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21197 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21198 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   21199 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   21200 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   21201 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   21202 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   21203 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   21204 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   21205 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   21206 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   21207 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   21208 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   21209 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   21210 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   21211 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21212 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   21213 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   21214 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21215 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21216 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   21217 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   21218 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   21219 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   21220 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   21221 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   21222 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   21223 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   21224 
   21225 LTCC='$LTCC'
   21226 LTCFLAGS='$LTCFLAGS'
   21227 compiler='$compiler_DEFAULT'
   21228 
   21229 # A function that is used when there is no print builtin or printf.
   21230 func_fallback_echo ()
   21231 {
   21232   eval 'cat <<_LTECHO_EOF
   21233 \$1
   21234 _LTECHO_EOF'
   21235 }
   21236 
   21237 # Quote evaled strings.
   21238 for var in SHELL \
   21239 ECHO \
   21240 PATH_SEPARATOR \
   21241 SED \
   21242 GREP \
   21243 EGREP \
   21244 FGREP \
   21245 LD \
   21246 NM \
   21247 LN_S \
   21248 lt_SP2NL \
   21249 lt_NL2SP \
   21250 reload_flag \
   21251 FILECMD \
   21252 OBJDUMP \
   21253 deplibs_check_method \
   21254 file_magic_cmd \
   21255 file_magic_glob \
   21256 want_nocaseglob \
   21257 DLLTOOL \
   21258 sharedlib_from_linklib_cmd \
   21259 AR \
   21260 archiver_list_spec \
   21261 STRIP \
   21262 RANLIB \
   21263 CC \
   21264 CFLAGS \
   21265 compiler \
   21266 lt_cv_sys_global_symbol_pipe \
   21267 lt_cv_sys_global_symbol_to_cdecl \
   21268 lt_cv_sys_global_symbol_to_import \
   21269 lt_cv_sys_global_symbol_to_c_name_address \
   21270 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21271 lt_cv_nm_interface \
   21272 nm_file_list_spec \
   21273 lt_cv_truncate_bin \
   21274 lt_prog_compiler_no_builtin_flag \
   21275 lt_prog_compiler_pic \
   21276 lt_prog_compiler_wl \
   21277 lt_prog_compiler_static \
   21278 lt_cv_prog_compiler_c_o \
   21279 need_locks \
   21280 MANIFEST_TOOL \
   21281 DSYMUTIL \
   21282 NMEDIT \
   21283 LIPO \
   21284 OTOOL \
   21285 OTOOL64 \
   21286 shrext_cmds \
   21287 export_dynamic_flag_spec \
   21288 whole_archive_flag_spec \
   21289 compiler_needs_object \
   21290 with_gnu_ld \
   21291 allow_undefined_flag \
   21292 no_undefined_flag \
   21293 hardcode_libdir_flag_spec \
   21294 hardcode_libdir_separator \
   21295 exclude_expsyms \
   21296 include_expsyms \
   21297 file_list_spec \
   21298 variables_saved_for_relink \
   21299 libname_spec \
   21300 library_names_spec \
   21301 soname_spec \
   21302 install_override_mode \
   21303 finish_eval \
   21304 old_striplib \
   21305 striplib \
   21306 compiler_lib_search_dirs \
   21307 predep_objects \
   21308 postdep_objects \
   21309 predeps \
   21310 postdeps \
   21311 compiler_lib_search_path \
   21312 LD_CXX \
   21313 reload_flag_CXX \
   21314 compiler_CXX \
   21315 lt_prog_compiler_no_builtin_flag_CXX \
   21316 lt_prog_compiler_pic_CXX \
   21317 lt_prog_compiler_wl_CXX \
   21318 lt_prog_compiler_static_CXX \
   21319 lt_cv_prog_compiler_c_o_CXX \
   21320 export_dynamic_flag_spec_CXX \
   21321 whole_archive_flag_spec_CXX \
   21322 compiler_needs_object_CXX \
   21323 with_gnu_ld_CXX \
   21324 allow_undefined_flag_CXX \
   21325 no_undefined_flag_CXX \
   21326 hardcode_libdir_flag_spec_CXX \
   21327 hardcode_libdir_separator_CXX \
   21328 exclude_expsyms_CXX \
   21329 include_expsyms_CXX \
   21330 file_list_spec_CXX \
   21331 compiler_lib_search_dirs_CXX \
   21332 predep_objects_CXX \
   21333 postdep_objects_CXX \
   21334 predeps_CXX \
   21335 postdeps_CXX \
   21336 compiler_lib_search_path_CXX; do
   21337     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21338     *[\\\\\\\`\\"\\\$]*)
   21339       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21340       ;;
   21341     *)
   21342       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21343       ;;
   21344     esac
   21345 done
   21346 
   21347 # Double-quote double-evaled strings.
   21348 for var in reload_cmds \
   21349 old_postinstall_cmds \
   21350 old_postuninstall_cmds \
   21351 old_archive_cmds \
   21352 extract_expsyms_cmds \
   21353 old_archive_from_new_cmds \
   21354 old_archive_from_expsyms_cmds \
   21355 archive_cmds \
   21356 archive_expsym_cmds \
   21357 module_cmds \
   21358 module_expsym_cmds \
   21359 export_symbols_cmds \
   21360 prelink_cmds \
   21361 postlink_cmds \
   21362 postinstall_cmds \
   21363 postuninstall_cmds \
   21364 finish_cmds \
   21365 sys_lib_search_path_spec \
   21366 configure_time_dlsearch_path \
   21367 configure_time_lt_sys_library_path \
   21368 reload_cmds_CXX \
   21369 old_archive_cmds_CXX \
   21370 old_archive_from_new_cmds_CXX \
   21371 old_archive_from_expsyms_cmds_CXX \
   21372 archive_cmds_CXX \
   21373 archive_expsym_cmds_CXX \
   21374 module_cmds_CXX \
   21375 module_expsym_cmds_CXX \
   21376 export_symbols_cmds_CXX \
   21377 prelink_cmds_CXX \
   21378 postlink_cmds_CXX; do
   21379     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21380     *[\\\\\\\`\\"\\\$]*)
   21381       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21382       ;;
   21383     *)
   21384       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21385       ;;
   21386     esac
   21387 done
   21388 
   21389 ac_aux_dir='$ac_aux_dir'
   21390 
   21391 # See if we are running on zsh, and set the options that allow our
   21392 # commands through without removal of \ escapes INIT.
   21393 if test -n "\${ZSH_VERSION+set}"; then
   21394    setopt NO_GLOB_SUBST
   21395 fi
   21396 
   21397 
   21398     PACKAGE='$PACKAGE'
   21399     VERSION='$VERSION'
   21400     RM='$RM'
   21401     ofile='$ofile'
   21402 
   21403 
   21404 
   21405 
   21406 
   21407 
   21408 _ACEOF
   21409 
   21410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21411 
   21412 # Handling of arguments.
   21413 for ac_config_target in $ac_config_targets
   21414 do
   21415   case $ac_config_target in
   21416     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21417     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21418     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21419     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21420     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
   21421     "bin/openpam_dump_policy/Makefile") CONFIG_FILES="$CONFIG_FILES bin/openpam_dump_policy/Makefile" ;;
   21422     "bin/pamtest/Makefile") CONFIG_FILES="$CONFIG_FILES bin/pamtest/Makefile" ;;
   21423     "bin/su/Makefile") CONFIG_FILES="$CONFIG_FILES bin/su/Makefile" ;;
   21424     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   21425     "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
   21426     "freebsd/Makefile") CONFIG_FILES="$CONFIG_FILES freebsd/Makefile" ;;
   21427     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21428     "include/security/Makefile") CONFIG_FILES="$CONFIG_FILES include/security/Makefile" ;;
   21429     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   21430     "lib/libpam/Makefile") CONFIG_FILES="$CONFIG_FILES lib/libpam/Makefile" ;;
   21431     "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
   21432     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
   21433     "modules/pam_deny/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_deny/Makefile" ;;
   21434     "modules/pam_permit/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_permit/Makefile" ;;
   21435     "modules/pam_return/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_return/Makefile" ;;
   21436     "modules/pam_unix/Makefile") CONFIG_FILES="$CONFIG_FILES modules/pam_unix/Makefile" ;;
   21437     "t/Makefile") CONFIG_FILES="$CONFIG_FILES t/Makefile" ;;
   21438     "misc/coverity.sh") CONFIG_FILES="$CONFIG_FILES misc/coverity.sh" ;;
   21439 
   21440   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21441   esac
   21442 done
   21443 
   21444 
   21445 # If the user did not use the arguments to specify the items to instantiate,
   21446 # then the envvar interface is used.  Set only those that are not.
   21447 # We use the long form for the default assignment because of an extremely
   21448 # bizarre bug on SunOS 4.1.3.
   21449 if $ac_need_defaults; then
   21450   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21451   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21452   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21453 fi
   21454 
   21455 # Have a temporary directory for convenience.  Make it in the build tree
   21456 # simply because there is no reason against having it here, and in addition,
   21457 # creating and moving files from /tmp can sometimes cause problems.
   21458 # Hook for its removal unless debugging.
   21459 # Note that there is a small window in which the directory will not be cleaned:
   21460 # after its creation but before its name has been assigned to '$tmp'.
   21461 $debug ||
   21462 {
   21463   tmp= ac_tmp=
   21464   trap 'exit_status=$?
   21465   : "${ac_tmp:=$tmp}"
   21466   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21467 ' 0
   21468   trap 'as_fn_exit 1' 1 2 13 15
   21469 }
   21470 # Create a (secure) tmp directory for tmp files.
   21471 
   21472 {
   21473   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21474   test -d "$tmp"
   21475 }  ||
   21476 {
   21477   tmp=./conf$$-$RANDOM
   21478   (umask 077 && mkdir "$tmp")
   21479 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21480 ac_tmp=$tmp
   21481 
   21482 # Set up the scripts for CONFIG_FILES section.
   21483 # No need to generate them if there are no CONFIG_FILES.
   21484 # This happens for instance with './config.status config.h'.
   21485 if test -n "$CONFIG_FILES"; then
   21486 
   21487 
   21488 ac_cr=`echo X | tr X '\015'`
   21489 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21490 # But we know of no other shell where ac_cr would be empty at this
   21491 # point, so we can use a bashism as a fallback.
   21492 if test "x$ac_cr" = x; then
   21493   eval ac_cr=\$\'\\r\'
   21494 fi
   21495 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21496 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21497   ac_cs_awk_cr='\\r'
   21498 else
   21499   ac_cs_awk_cr=$ac_cr
   21500 fi
   21501 
   21502 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21503 _ACEOF
   21504 
   21505 
   21506 {
   21507   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21508   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21509   echo "_ACEOF"
   21510 } >conf$$subs.sh ||
   21511   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21512 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21513 ac_delim='%!_!# '
   21514 for ac_last_try in false false false false false :; do
   21515   . ./conf$$subs.sh ||
   21516     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21517 
   21518   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21519   if test $ac_delim_n = $ac_delim_num; then
   21520     break
   21521   elif $ac_last_try; then
   21522     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21523   else
   21524     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21525   fi
   21526 done
   21527 rm -f conf$$subs.sh
   21528 
   21529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21530 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21531 _ACEOF
   21532 sed -n '
   21533 h
   21534 s/^/S["/; s/!.*/"]=/
   21535 p
   21536 g
   21537 s/^[^!]*!//
   21538 :repl
   21539 t repl
   21540 s/'"$ac_delim"'$//
   21541 t delim
   21542 :nl
   21543 h
   21544 s/\(.\{148\}\)..*/\1/
   21545 t more1
   21546 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21547 p
   21548 n
   21549 b repl
   21550 :more1
   21551 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21552 p
   21553 g
   21554 s/.\{148\}//
   21555 t nl
   21556 :delim
   21557 h
   21558 s/\(.\{148\}\)..*/\1/
   21559 t more2
   21560 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21561 p
   21562 b
   21563 :more2
   21564 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21565 p
   21566 g
   21567 s/.\{148\}//
   21568 t delim
   21569 ' <conf$$subs.awk | sed '
   21570 /^[^""]/{
   21571   N
   21572   s/\n//
   21573 }
   21574 ' >>$CONFIG_STATUS || ac_write_fail=1
   21575 rm -f conf$$subs.awk
   21576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21577 _ACAWK
   21578 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21579   for (key in S) S_is_set[key] = 1
   21580   FS = ""
   21581 
   21582 }
   21583 {
   21584   line = $ 0
   21585   nfields = split(line, field, "@")
   21586   substed = 0
   21587   len = length(field[1])
   21588   for (i = 2; i < nfields; i++) {
   21589     key = field[i]
   21590     keylen = length(key)
   21591     if (S_is_set[key]) {
   21592       value = S[key]
   21593       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21594       len += length(value) + length(field[++i])
   21595       substed = 1
   21596     } else
   21597       len += 1 + keylen
   21598   }
   21599 
   21600   print line
   21601 }
   21602 
   21603 _ACAWK
   21604 _ACEOF
   21605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21606 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21607   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21608 else
   21609   cat
   21610 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21611   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21612 _ACEOF
   21613 
   21614 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21615 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21616 # trailing colons and then remove the whole line if VPATH becomes empty
   21617 # (actually we leave an empty line to preserve line numbers).
   21618 if test "x$srcdir" = x.; then
   21619   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21620 h
   21621 s///
   21622 s/^/:/
   21623 s/[	 ]*$/:/
   21624 s/:\$(srcdir):/:/g
   21625 s/:\${srcdir}:/:/g
   21626 s/:@srcdir@:/:/g
   21627 s/^:*//
   21628 s/:*$//
   21629 x
   21630 s/\(=[	 ]*\).*/\1/
   21631 G
   21632 s/\n//
   21633 s/^[^=]*=[	 ]*$//
   21634 }'
   21635 fi
   21636 
   21637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21638 fi # test -n "$CONFIG_FILES"
   21639 
   21640 # Set up the scripts for CONFIG_HEADERS section.
   21641 # No need to generate them if there are no CONFIG_HEADERS.
   21642 # This happens for instance with './config.status Makefile'.
   21643 if test -n "$CONFIG_HEADERS"; then
   21644 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21645 BEGIN {
   21646 _ACEOF
   21647 
   21648 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   21649 # here-document in config.status, that substitutes the proper values into
   21650 # config.h.in to produce config.h.
   21651 
   21652 # Create a delimiter string that does not exist in confdefs.h, to ease
   21653 # handling of long lines.
   21654 ac_delim='%!_!# '
   21655 for ac_last_try in false false :; do
   21656   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21657   if test -z "$ac_tt"; then
   21658     break
   21659   elif $ac_last_try; then
   21660     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21661   else
   21662     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21663   fi
   21664 done
   21665 
   21666 # For the awk script, D is an array of macro values keyed by name,
   21667 # likewise P contains macro parameters if any.  Preserve backslash
   21668 # newline sequences.
   21669 
   21670 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21671 sed -n '
   21672 s/.\{148\}/&'"$ac_delim"'/g
   21673 t rset
   21674 :rset
   21675 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21676 t def
   21677 d
   21678 :def
   21679 s/\\$//
   21680 t bsnl
   21681 s/["\\]/\\&/g
   21682 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21683 D["\1"]=" \3"/p
   21684 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21685 d
   21686 :bsnl
   21687 s/["\\]/\\&/g
   21688 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21689 D["\1"]=" \3\\\\\\n"\\/p
   21690 t cont
   21691 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21692 t cont
   21693 d
   21694 :cont
   21695 n
   21696 s/.\{148\}/&'"$ac_delim"'/g
   21697 t clear
   21698 :clear
   21699 s/\\$//
   21700 t bsnlc
   21701 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21702 d
   21703 :bsnlc
   21704 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21705 b cont
   21706 ' <confdefs.h | sed '
   21707 s/'"$ac_delim"'/"\\\
   21708 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21709 
   21710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21711   for (key in D) D_is_set[key] = 1
   21712   FS = ""
   21713 }
   21714 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21715   line = \$ 0
   21716   split(line, arg, " ")
   21717   if (arg[1] == "#") {
   21718     defundef = arg[2]
   21719     mac1 = arg[3]
   21720   } else {
   21721     defundef = substr(arg[1], 2)
   21722     mac1 = arg[2]
   21723   }
   21724   split(mac1, mac2, "(") #)
   21725   macro = mac2[1]
   21726   prefix = substr(line, 1, index(line, defundef) - 1)
   21727   if (D_is_set[macro]) {
   21728     # Preserve the white space surrounding the "#".
   21729     print prefix "define", macro P[macro] D[macro]
   21730     next
   21731   } else {
   21732     # Replace #undef with comments.  This is necessary, for example,
   21733     # in the case of _POSIX_SOURCE, which is predefined and required
   21734     # on some systems where configure will not decide to define it.
   21735     if (defundef == "undef") {
   21736       print "/*", prefix defundef, macro, "*/"
   21737       next
   21738     }
   21739   }
   21740 }
   21741 { print }
   21742 _ACAWK
   21743 _ACEOF
   21744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21745   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21746 fi # test -n "$CONFIG_HEADERS"
   21747 
   21748 
   21749 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21750 shift
   21751 for ac_tag
   21752 do
   21753   case $ac_tag in
   21754   :[FHLC]) ac_mode=$ac_tag; continue;;
   21755   esac
   21756   case $ac_mode$ac_tag in
   21757   :[FHL]*:*);;
   21758   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   21759   :[FH]-) ac_tag=-:-;;
   21760   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21761   esac
   21762   ac_save_IFS=$IFS
   21763   IFS=:
   21764   set x $ac_tag
   21765   IFS=$ac_save_IFS
   21766   shift
   21767   ac_file=$1
   21768   shift
   21769 
   21770   case $ac_mode in
   21771   :L) ac_source=$1;;
   21772   :[FH])
   21773     ac_file_inputs=
   21774     for ac_f
   21775     do
   21776       case $ac_f in
   21777       -) ac_f="$ac_tmp/stdin";;
   21778       *) # Look for the file first in the build tree, then in the source tree
   21779 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21780 	 # because $ac_f cannot contain ':'.
   21781 	 test -f "$ac_f" ||
   21782 	   case $ac_f in
   21783 	   [\\/$]*) false;;
   21784 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21785 	   esac ||
   21786 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   21787       esac
   21788       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21789       as_fn_append ac_file_inputs " '$ac_f'"
   21790     done
   21791 
   21792     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   21793     # use $as_me), people would be surprised to read:
   21794     #    /* config.h.  Generated by config.status.  */
   21795     configure_input='Generated from '`
   21796 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21797 	`' by configure.'
   21798     if test x"$ac_file" != x-; then
   21799       configure_input="$ac_file.  $configure_input"
   21800       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21801 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21802     fi
   21803     # Neutralize special characters interpreted by sed in replacement strings.
   21804     case $configure_input in #(
   21805     *\&* | *\|* | *\\* )
   21806        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21807        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21808     *) ac_sed_conf_input=$configure_input;;
   21809     esac
   21810 
   21811     case $ac_tag in
   21812     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21813       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21814     esac
   21815     ;;
   21816   esac
   21817 
   21818   ac_dir=`$as_dirname -- "$ac_file" ||
   21819 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21820 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21821 	 X"$ac_file" : 'X\(//\)$' \| \
   21822 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21823 printf "%s\n" X"$ac_file" |
   21824     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21825 	    s//\1/
   21826 	    q
   21827 	  }
   21828 	  /^X\(\/\/\)[^/].*/{
   21829 	    s//\1/
   21830 	    q
   21831 	  }
   21832 	  /^X\(\/\/\)$/{
   21833 	    s//\1/
   21834 	    q
   21835 	  }
   21836 	  /^X\(\/\).*/{
   21837 	    s//\1/
   21838 	    q
   21839 	  }
   21840 	  s/.*/./; q'`
   21841   as_dir="$ac_dir"; as_fn_mkdir_p
   21842   ac_builddir=.
   21843 
   21844 case "$ac_dir" in
   21845 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21846 *)
   21847   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21848   # A ".." for each directory in $ac_dir_suffix.
   21849   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21850   case $ac_top_builddir_sub in
   21851   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21852   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21853   esac ;;
   21854 esac
   21855 ac_abs_top_builddir=$ac_pwd
   21856 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21857 # for backward compatibility:
   21858 ac_top_builddir=$ac_top_build_prefix
   21859 
   21860 case $srcdir in
   21861   .)  # We are building in place.
   21862     ac_srcdir=.
   21863     ac_top_srcdir=$ac_top_builddir_sub
   21864     ac_abs_top_srcdir=$ac_pwd ;;
   21865   [\\/]* | ?:[\\/]* )  # Absolute name.
   21866     ac_srcdir=$srcdir$ac_dir_suffix;
   21867     ac_top_srcdir=$srcdir
   21868     ac_abs_top_srcdir=$srcdir ;;
   21869   *) # Relative name.
   21870     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21871     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21872     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21873 esac
   21874 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21875 
   21876 
   21877   case $ac_mode in
   21878   :F)
   21879   #
   21880   # CONFIG_FILE
   21881   #
   21882 
   21883   case $INSTALL in
   21884   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21885   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21886   esac
   21887   ac_MKDIR_P=$MKDIR_P
   21888   case $MKDIR_P in
   21889   [\\/$]* | ?:[\\/]* ) ;;
   21890   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21891   esac
   21892 _ACEOF
   21893 
   21894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21895 # If the template does not know about datarootdir, expand it.
   21896 # FIXME: This hack should be removed a few years after 2.60.
   21897 ac_datarootdir_hack=; ac_datarootdir_seen=
   21898 ac_sed_dataroot='
   21899 /datarootdir/ {
   21900   p
   21901   q
   21902 }
   21903 /@datadir@/p
   21904 /@docdir@/p
   21905 /@infodir@/p
   21906 /@localedir@/p
   21907 /@mandir@/p'
   21908 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21909 *datarootdir*) ac_datarootdir_seen=yes;;
   21910 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21912 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21913 _ACEOF
   21914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21915   ac_datarootdir_hack='
   21916   s&@datadir@&$datadir&g
   21917   s&@docdir@&$docdir&g
   21918   s&@infodir@&$infodir&g
   21919   s&@localedir@&$localedir&g
   21920   s&@mandir@&$mandir&g
   21921   s&\\\${datarootdir}&$datarootdir&g' ;;
   21922 esac
   21923 _ACEOF
   21924 
   21925 # Neutralize VPATH when '$srcdir' = '.'.
   21926 # Shell code in configure.ac might set extrasub.
   21927 # FIXME: do we really want to maintain this feature?
   21928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21929 ac_sed_extra="$ac_vpsub
   21930 $extrasub
   21931 _ACEOF
   21932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21933 :t
   21934 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21935 s|@configure_input@|$ac_sed_conf_input|;t t
   21936 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21937 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21938 s&@srcdir@&$ac_srcdir&;t t
   21939 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21940 s&@top_srcdir@&$ac_top_srcdir&;t t
   21941 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21942 s&@builddir@&$ac_builddir&;t t
   21943 s&@abs_builddir@&$ac_abs_builddir&;t t
   21944 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21945 s&@INSTALL@&$ac_INSTALL&;t t
   21946 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21947 $ac_datarootdir_hack
   21948 "
   21949 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21950   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21951 
   21952 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21953   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21954   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21955       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   21957 which seems to be undefined.  Please make sure it is defined" >&5
   21958 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   21959 which seems to be undefined.  Please make sure it is defined" >&2;}
   21960 
   21961   rm -f "$ac_tmp/stdin"
   21962   case $ac_file in
   21963   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21964   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21965   esac \
   21966   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21967  ;;
   21968   :H)
   21969   #
   21970   # CONFIG_HEADER
   21971   #
   21972   if test x"$ac_file" != x-; then
   21973     {
   21974       printf "%s\n" "/* $configure_input  */" >&1 \
   21975       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21976     } >"$ac_tmp/config.h" \
   21977       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21978     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21979       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21980 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21981     else
   21982       rm -f "$ac_file"
   21983       mv "$ac_tmp/config.h" "$ac_file" \
   21984 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21985     fi
   21986   else
   21987     printf "%s\n" "/* $configure_input  */" >&1 \
   21988       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21989       || as_fn_error $? "could not create -" "$LINENO" 5
   21990   fi
   21991 # Compute "$ac_file"'s index in $config_headers.
   21992 _am_arg="$ac_file"
   21993 _am_stamp_count=1
   21994 for _am_header in $config_headers :; do
   21995   case $_am_header in
   21996     $_am_arg | $_am_arg:* )
   21997       break ;;
   21998     * )
   21999       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22000   esac
   22001 done
   22002 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22003 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22004 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22005 	 X"$_am_arg" : 'X\(//\)$' \| \
   22006 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22007 printf "%s\n" X"$_am_arg" |
   22008     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22009 	    s//\1/
   22010 	    q
   22011 	  }
   22012 	  /^X\(\/\/\)[^/].*/{
   22013 	    s//\1/
   22014 	    q
   22015 	  }
   22016 	  /^X\(\/\/\)$/{
   22017 	    s//\1/
   22018 	    q
   22019 	  }
   22020 	  /^X\(\/\).*/{
   22021 	    s//\1/
   22022 	    q
   22023 	  }
   22024 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22025  ;;
   22026 
   22027   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22028 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22029  ;;
   22030   esac
   22031 
   22032 
   22033   case $ac_file$ac_mode in
   22034     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22035   # Older Autoconf quotes --file arguments for eval, but not when files
   22036   # are listed without --file.  Let's play safe and only enable the eval
   22037   # if we detect the quoting.
   22038   # TODO: see whether this extra hack can be removed once we start
   22039   # requiring Autoconf 2.70 or later.
   22040   case $CONFIG_FILES in #(
   22041   *\'*) :
   22042     eval set x "$CONFIG_FILES" ;; #(
   22043   *) :
   22044     set x $CONFIG_FILES ;; #(
   22045   *) :
   22046      ;;
   22047 esac
   22048   shift
   22049   # Used to flag and report bootstrapping failures.
   22050   am_rc=0
   22051   for am_mf
   22052   do
   22053     # Strip MF so we end up with the name of the file.
   22054     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22055     # Check whether this is an Automake generated Makefile which includes
   22056     # dependency-tracking related rules and includes.
   22057     # Grep'ing the whole file directly is not great: AIX grep has a line
   22058     # limit of 2048, but all sed's we know have understand at least 4000.
   22059     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22060       || continue
   22061     am_dirpart=`$as_dirname -- "$am_mf" ||
   22062 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22063 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22064 	 X"$am_mf" : 'X\(//\)$' \| \
   22065 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22066 printf "%s\n" X"$am_mf" |
   22067     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22068 	    s//\1/
   22069 	    q
   22070 	  }
   22071 	  /^X\(\/\/\)[^/].*/{
   22072 	    s//\1/
   22073 	    q
   22074 	  }
   22075 	  /^X\(\/\/\)$/{
   22076 	    s//\1/
   22077 	    q
   22078 	  }
   22079 	  /^X\(\/\).*/{
   22080 	    s//\1/
   22081 	    q
   22082 	  }
   22083 	  s/.*/./; q'`
   22084     am_filepart=`$as_basename -- "$am_mf" ||
   22085 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22086 	 X"$am_mf" : 'X\(//\)$' \| \
   22087 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22088 printf "%s\n" X/"$am_mf" |
   22089     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22090 	    s//\1/
   22091 	    q
   22092 	  }
   22093 	  /^X\/\(\/\/\)$/{
   22094 	    s//\1/
   22095 	    q
   22096 	  }
   22097 	  /^X\/\(\/\).*/{
   22098 	    s//\1/
   22099 	    q
   22100 	  }
   22101 	  s/.*/./; q'`
   22102     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22103       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22104         | $MAKE -f - am--depfiles" >&5
   22105    (cd "$am_dirpart" \
   22106       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22107         | $MAKE -f - am--depfiles) >&5 2>&5
   22108    ac_status=$?
   22109    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22110    (exit $ac_status); } || am_rc=$?
   22111   done
   22112   if test $am_rc -ne 0; then
   22113     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22114 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22115 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22116     for automatic dependency tracking.  If GNU make was not used, consider
   22117     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22118     necessary).  You can also try re-running configure with the
   22119     '--disable-dependency-tracking' option to at least be able to build
   22120     the package (albeit without support for automatic dependency tracking).
   22121 See 'config.log' for more details" "$LINENO" 5; }
   22122   fi
   22123   { am_dirpart=; unset am_dirpart;}
   22124   { am_filepart=; unset am_filepart;}
   22125   { am_mf=; unset am_mf;}
   22126   { am_rc=; unset am_rc;}
   22127   rm -f conftest-deps.mk
   22128 }
   22129  ;;
   22130     "libtool":C)
   22131 
   22132     # See if we are running on zsh, and set the options that allow our
   22133     # commands through without removal of \ escapes.
   22134     if test -n "${ZSH_VERSION+set}"; then
   22135       setopt NO_GLOB_SUBST
   22136     fi
   22137 
   22138     cfgfile=${ofile}T
   22139     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22140     $RM "$cfgfile"
   22141 
   22142     cat <<_LT_EOF >> "$cfgfile"
   22143 #! $SHELL
   22144 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22145 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22146 
   22147 # Provide generalized library-building support services.
   22148 # Written by Gordon Matzigkeit, 1996
   22149 
   22150 # Copyright (C) 2024 Free Software Foundation, Inc.
   22151 # This is free software; see the source for copying conditions.  There is NO
   22152 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22153 
   22154 # GNU Libtool is free software; you can redistribute it and/or modify
   22155 # it under the terms of the GNU General Public License as published by
   22156 # the Free Software Foundation; either version 2 of the License, or
   22157 # (at your option) any later version.
   22158 #
   22159 # As a special exception to the GNU General Public License, if you
   22160 # distribute this file as part of a program or library that is built
   22161 # using GNU Libtool, you may include this file under the  same
   22162 # distribution terms that you use for the rest of that program.
   22163 #
   22164 # GNU Libtool is distributed in the hope that it will be useful, but
   22165 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22166 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22167 # GNU General Public License for more details.
   22168 #
   22169 # You should have received a copy of the GNU General Public License
   22170 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22171 
   22172 
   22173 # The names of the tagged configurations supported by this script.
   22174 available_tags='CXX '
   22175 
   22176 # Configured defaults for sys_lib_dlsearch_path munging.
   22177 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22178 
   22179 # ### BEGIN LIBTOOL CONFIG
   22180 
   22181 # Which release of libtool.m4 was used?
   22182 macro_version=$macro_version
   22183 macro_revision=$macro_revision
   22184 
   22185 # Whether or not to build static libraries.
   22186 build_old_libs=$enable_static
   22187 
   22188 # Whether or not to build shared libraries.
   22189 build_libtool_libs=$enable_shared
   22190 
   22191 # What type of objects to build.
   22192 pic_mode=$pic_mode
   22193 
   22194 # Whether or not to optimize for fast installation.
   22195 fast_install=$enable_fast_install
   22196 
   22197 # Shared archive member basename,for filename based shared library versioning on AIX.
   22198 shared_archive_member_spec=$shared_archive_member_spec
   22199 
   22200 # Shell to use when invoking shell scripts.
   22201 SHELL=$lt_SHELL
   22202 
   22203 # An echo program that protects backslashes.
   22204 ECHO=$lt_ECHO
   22205 
   22206 # The PATH separator for the build system.
   22207 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22208 
   22209 # The host system.
   22210 host_alias=$host_alias
   22211 host=$host
   22212 host_os=$host_os
   22213 
   22214 # The build system.
   22215 build_alias=$build_alias
   22216 build=$build
   22217 build_os=$build_os
   22218 
   22219 # A sed program that does not truncate output.
   22220 SED=$lt_SED
   22221 
   22222 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22223 Xsed="\$SED -e 1s/^X//"
   22224 
   22225 # A grep program that handles long lines.
   22226 GREP=$lt_GREP
   22227 
   22228 # An ERE matcher.
   22229 EGREP=$lt_EGREP
   22230 
   22231 # A literal string matcher.
   22232 FGREP=$lt_FGREP
   22233 
   22234 # A BSD- or MS-compatible name lister.
   22235 NM=$lt_NM
   22236 
   22237 # Whether we need soft or hard links.
   22238 LN_S=$lt_LN_S
   22239 
   22240 # What is the maximum length of a command?
   22241 max_cmd_len=$max_cmd_len
   22242 
   22243 # Object file suffix (normally "o").
   22244 objext=$ac_objext
   22245 
   22246 # Executable file suffix (normally "").
   22247 exeext=$exeext
   22248 
   22249 # whether the shell understands "unset".
   22250 lt_unset=$lt_unset
   22251 
   22252 # turn spaces into newlines.
   22253 SP2NL=$lt_lt_SP2NL
   22254 
   22255 # turn newlines into spaces.
   22256 NL2SP=$lt_lt_NL2SP
   22257 
   22258 # convert \$build file names to \$host format.
   22259 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22260 
   22261 # convert \$build files to toolchain format.
   22262 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22263 
   22264 # A file(cmd) program that detects file types.
   22265 FILECMD=$lt_FILECMD
   22266 
   22267 # An object symbol dumper.
   22268 OBJDUMP=$lt_OBJDUMP
   22269 
   22270 # Method to check whether dependent libraries are shared objects.
   22271 deplibs_check_method=$lt_deplibs_check_method
   22272 
   22273 # Command to use when deplibs_check_method = "file_magic".
   22274 file_magic_cmd=$lt_file_magic_cmd
   22275 
   22276 # How to find potential files when deplibs_check_method = "file_magic".
   22277 file_magic_glob=$lt_file_magic_glob
   22278 
   22279 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22280 want_nocaseglob=$lt_want_nocaseglob
   22281 
   22282 # DLL creation program.
   22283 DLLTOOL=$lt_DLLTOOL
   22284 
   22285 # Command to associate shared and link libraries.
   22286 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22287 
   22288 # The archiver.
   22289 AR=$lt_AR
   22290 
   22291 # Flags to create an archive (by configure).
   22292 lt_ar_flags=$lt_ar_flags
   22293 
   22294 # Flags to create an archive.
   22295 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22296 
   22297 # How to feed a file listing to the archiver.
   22298 archiver_list_spec=$lt_archiver_list_spec
   22299 
   22300 # A symbol stripping program.
   22301 STRIP=$lt_STRIP
   22302 
   22303 # Commands used to install an old-style archive.
   22304 RANLIB=$lt_RANLIB
   22305 old_postinstall_cmds=$lt_old_postinstall_cmds
   22306 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22307 
   22308 # Whether to use a lock for old archive extraction.
   22309 lock_old_archive_extraction=$lock_old_archive_extraction
   22310 
   22311 # A C compiler.
   22312 LTCC=$lt_CC
   22313 
   22314 # LTCC compiler flags.
   22315 LTCFLAGS=$lt_CFLAGS
   22316 
   22317 # Take the output of nm and produce a listing of raw symbols and C names.
   22318 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22319 
   22320 # Transform the output of nm in a proper C declaration.
   22321 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22322 
   22323 # Transform the output of nm into a list of symbols to manually relocate.
   22324 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22325 
   22326 # Transform the output of nm in a C name address pair.
   22327 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22328 
   22329 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22330 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22331 
   22332 # The name lister interface.
   22333 nm_interface=$lt_lt_cv_nm_interface
   22334 
   22335 # Specify filename containing input files for \$NM.
   22336 nm_file_list_spec=$lt_nm_file_list_spec
   22337 
   22338 # The root where to search for dependent libraries,and where our libraries should be installed.
   22339 lt_sysroot=$lt_sysroot
   22340 
   22341 # Command to truncate a binary pipe.
   22342 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22343 
   22344 # The name of the directory that contains temporary libtool files.
   22345 objdir=$objdir
   22346 
   22347 # Used to examine libraries when file_magic_cmd begins with "file".
   22348 MAGIC_CMD=$MAGIC_CMD
   22349 
   22350 # Must we lock files when doing compilation?
   22351 need_locks=$lt_need_locks
   22352 
   22353 # Manifest tool.
   22354 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22355 
   22356 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22357 DSYMUTIL=$lt_DSYMUTIL
   22358 
   22359 # Tool to change global to local symbols on Mac OS X.
   22360 NMEDIT=$lt_NMEDIT
   22361 
   22362 # Tool to manipulate fat objects and archives on Mac OS X.
   22363 LIPO=$lt_LIPO
   22364 
   22365 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22366 OTOOL=$lt_OTOOL
   22367 
   22368 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22369 OTOOL64=$lt_OTOOL64
   22370 
   22371 # Old archive suffix (normally "a").
   22372 libext=$libext
   22373 
   22374 # Shared library suffix (normally ".so").
   22375 shrext_cmds=$lt_shrext_cmds
   22376 
   22377 # The commands to extract the exported symbol list from a shared archive.
   22378 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22379 
   22380 # Variables whose values should be saved in libtool wrapper scripts and
   22381 # restored at link time.
   22382 variables_saved_for_relink=$lt_variables_saved_for_relink
   22383 
   22384 # Do we need the "lib" prefix for modules?
   22385 need_lib_prefix=$need_lib_prefix
   22386 
   22387 # Do we need a version for libraries?
   22388 need_version=$need_version
   22389 
   22390 # Library versioning type.
   22391 version_type=$version_type
   22392 
   22393 # Shared library runtime path variable.
   22394 runpath_var=$runpath_var
   22395 
   22396 # Shared library path variable.
   22397 shlibpath_var=$shlibpath_var
   22398 
   22399 # Is shlibpath searched before the hard-coded library search path?
   22400 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22401 
   22402 # Format of library name prefix.
   22403 libname_spec=$lt_libname_spec
   22404 
   22405 # List of archive names.  First name is the real one, the rest are links.
   22406 # The last name is the one that the linker finds with -lNAME
   22407 library_names_spec=$lt_library_names_spec
   22408 
   22409 # The coded name of the library, if different from the real name.
   22410 soname_spec=$lt_soname_spec
   22411 
   22412 # Permission mode override for installation of shared libraries.
   22413 install_override_mode=$lt_install_override_mode
   22414 
   22415 # Command to use after installation of a shared archive.
   22416 postinstall_cmds=$lt_postinstall_cmds
   22417 
   22418 # Command to use after uninstallation of a shared archive.
   22419 postuninstall_cmds=$lt_postuninstall_cmds
   22420 
   22421 # Commands used to finish a libtool library installation in a directory.
   22422 finish_cmds=$lt_finish_cmds
   22423 
   22424 # As "finish_cmds", except a single script fragment to be evaled but
   22425 # not shown.
   22426 finish_eval=$lt_finish_eval
   22427 
   22428 # Whether we should hardcode library paths into libraries.
   22429 hardcode_into_libs=$hardcode_into_libs
   22430 
   22431 # Compile-time system search path for libraries.
   22432 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22433 
   22434 # Detected run-time system search path for libraries.
   22435 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22436 
   22437 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22438 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22439 
   22440 # Whether dlopen is supported.
   22441 dlopen_support=$enable_dlopen
   22442 
   22443 # Whether dlopen of programs is supported.
   22444 dlopen_self=$enable_dlopen_self
   22445 
   22446 # Whether dlopen of statically linked programs is supported.
   22447 dlopen_self_static=$enable_dlopen_self_static
   22448 
   22449 # Commands to strip libraries.
   22450 old_striplib=$lt_old_striplib
   22451 striplib=$lt_striplib
   22452 
   22453 
   22454 # The linker used to build libraries.
   22455 LD=$lt_LD
   22456 
   22457 # How to create reloadable object files.
   22458 reload_flag=$lt_reload_flag
   22459 reload_cmds=$lt_reload_cmds
   22460 
   22461 # Commands used to build an old-style archive.
   22462 old_archive_cmds=$lt_old_archive_cmds
   22463 
   22464 # A language specific compiler.
   22465 CC=$lt_compiler
   22466 
   22467 # Is the compiler the GNU compiler?
   22468 with_gcc=$GCC
   22469 
   22470 # Compiler flag to turn off builtin functions.
   22471 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22472 
   22473 # Additional compiler flags for building library objects.
   22474 pic_flag=$lt_lt_prog_compiler_pic
   22475 
   22476 # How to pass a linker flag through the compiler.
   22477 wl=$lt_lt_prog_compiler_wl
   22478 
   22479 # Compiler flag to prevent dynamic linking.
   22480 link_static_flag=$lt_lt_prog_compiler_static
   22481 
   22482 # Does compiler simultaneously support -c and -o options?
   22483 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22484 
   22485 # Whether or not to add -lc for building shared libraries.
   22486 build_libtool_need_lc=$archive_cmds_need_lc
   22487 
   22488 # Whether or not to disallow shared libs when runtime libs are static.
   22489 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22490 
   22491 # Compiler flag to allow reflexive dlopens.
   22492 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22493 
   22494 # Compiler flag to generate shared objects directly from archives.
   22495 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22496 
   22497 # Whether the compiler copes with passing no objects directly.
   22498 compiler_needs_object=$lt_compiler_needs_object
   22499 
   22500 # Create an old-style archive from a shared archive.
   22501 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22502 
   22503 # Create a temporary old-style archive to link instead of a shared archive.
   22504 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22505 
   22506 # Commands used to build a shared archive.
   22507 archive_cmds=$lt_archive_cmds
   22508 archive_expsym_cmds=$lt_archive_expsym_cmds
   22509 
   22510 # Commands used to build a loadable module if different from building
   22511 # a shared archive.
   22512 module_cmds=$lt_module_cmds
   22513 module_expsym_cmds=$lt_module_expsym_cmds
   22514 
   22515 # Whether we are building with GNU ld or not.
   22516 with_gnu_ld=$lt_with_gnu_ld
   22517 
   22518 # Flag that allows shared libraries with undefined symbols to be built.
   22519 allow_undefined_flag=$lt_allow_undefined_flag
   22520 
   22521 # Flag that enforces no undefined symbols.
   22522 no_undefined_flag=$lt_no_undefined_flag
   22523 
   22524 # Flag to hardcode \$libdir into a binary during linking.
   22525 # This must work even if \$libdir does not exist
   22526 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22527 
   22528 # Whether we need a single "-rpath" flag with a separated argument.
   22529 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22530 
   22531 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22532 # DIR into the resulting binary.
   22533 hardcode_direct=$hardcode_direct
   22534 
   22535 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22536 # DIR into the resulting binary and the resulting library dependency is
   22537 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   22538 # library is relocated.
   22539 hardcode_direct_absolute=$hardcode_direct_absolute
   22540 
   22541 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22542 # into the resulting binary.
   22543 hardcode_minus_L=$hardcode_minus_L
   22544 
   22545 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22546 # into the resulting binary.
   22547 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22548 
   22549 # Set to "yes" if building a shared library automatically hardcodes DIR
   22550 # into the library and all subsequent libraries and executables linked
   22551 # against it.
   22552 hardcode_automatic=$hardcode_automatic
   22553 
   22554 # Set to yes if linker adds runtime paths of dependent libraries
   22555 # to runtime path list.
   22556 inherit_rpath=$inherit_rpath
   22557 
   22558 # Whether libtool must link a program against all its dependency libraries.
   22559 link_all_deplibs=$link_all_deplibs
   22560 
   22561 # Set to "yes" if exported symbols are required.
   22562 always_export_symbols=$always_export_symbols
   22563 
   22564 # The commands to list exported symbols.
   22565 export_symbols_cmds=$lt_export_symbols_cmds
   22566 
   22567 # Symbols that should not be listed in the preloaded symbols.
   22568 exclude_expsyms=$lt_exclude_expsyms
   22569 
   22570 # Symbols that must always be exported.
   22571 include_expsyms=$lt_include_expsyms
   22572 
   22573 # Commands necessary for linking programs (against libraries) with templates.
   22574 prelink_cmds=$lt_prelink_cmds
   22575 
   22576 # Commands necessary for finishing linking programs.
   22577 postlink_cmds=$lt_postlink_cmds
   22578 
   22579 # Specify filename containing input files.
   22580 file_list_spec=$lt_file_list_spec
   22581 
   22582 # How to hardcode a shared library path into an executable.
   22583 hardcode_action=$hardcode_action
   22584 
   22585 # The directories searched by this compiler when creating a shared library.
   22586 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   22587 
   22588 # Dependencies to place before and after the objects being linked to
   22589 # create a shared library.
   22590 predep_objects=$lt_predep_objects
   22591 postdep_objects=$lt_postdep_objects
   22592 predeps=$lt_predeps
   22593 postdeps=$lt_postdeps
   22594 
   22595 # The library search path used internally by the compiler when linking
   22596 # a shared library.
   22597 compiler_lib_search_path=$lt_compiler_lib_search_path
   22598 
   22599 # ### END LIBTOOL CONFIG
   22600 
   22601 _LT_EOF
   22602 
   22603     cat <<'_LT_EOF' >> "$cfgfile"
   22604 
   22605 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22606 
   22607 # func_munge_path_list VARIABLE PATH
   22608 # -----------------------------------
   22609 # VARIABLE is name of variable containing _space_ separated list of
   22610 # directories to be munged by the contents of PATH, which is string
   22611 # having a format:
   22612 # "DIR[:DIR]:"
   22613 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22614 # ":DIR[:DIR]"
   22615 #       string "DIR[ DIR]" will be appended to VARIABLE
   22616 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22617 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22618 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22619 # "DIR[:DIR]"
   22620 #       VARIABLE will be replaced by "DIR[ DIR]"
   22621 func_munge_path_list ()
   22622 {
   22623     case x$2 in
   22624     x)
   22625         ;;
   22626     *:)
   22627         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22628         ;;
   22629     x:*)
   22630         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22631         ;;
   22632     *::*)
   22633         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22634         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22635         ;;
   22636     *)
   22637         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22638         ;;
   22639     esac
   22640 }
   22641 
   22642 
   22643 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22644 func_cc_basename ()
   22645 {
   22646     for cc_temp in $*""; do
   22647       case $cc_temp in
   22648         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22649         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22650         \-*) ;;
   22651         *) break;;
   22652       esac
   22653     done
   22654     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22655 }
   22656 
   22657 
   22658 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22659 
   22660 _LT_EOF
   22661 
   22662   case $host_os in
   22663   aix3*)
   22664     cat <<\_LT_EOF >> "$cfgfile"
   22665 # AIX sometimes has problems with the GCC collect2 program.  For some
   22666 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22667 # vanish in a puff of smoke.
   22668 if test set != "${COLLECT_NAMES+set}"; then
   22669   COLLECT_NAMES=
   22670   export COLLECT_NAMES
   22671 fi
   22672 _LT_EOF
   22673     ;;
   22674   esac
   22675 
   22676 
   22677 
   22678 ltmain=$ac_aux_dir/ltmain.sh
   22679 
   22680 
   22681   # We use sed instead of cat because bash on DJGPP gets confused if
   22682   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22683   # text mode, it properly converts lines to CR/LF.  This bash problem
   22684   # is reportedly fixed, but why not run on old versions too?
   22685   $SED '$q' "$ltmain" >> "$cfgfile" \
   22686      || (rm -f "$cfgfile"; exit 1)
   22687 
   22688    mv -f "$cfgfile" "$ofile" ||
   22689     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22690   chmod +x "$ofile"
   22691 
   22692 
   22693     cat <<_LT_EOF >> "$ofile"
   22694 
   22695 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   22696 
   22697 # The linker used to build libraries.
   22698 LD=$lt_LD_CXX
   22699 
   22700 # How to create reloadable object files.
   22701 reload_flag=$lt_reload_flag_CXX
   22702 reload_cmds=$lt_reload_cmds_CXX
   22703 
   22704 # Commands used to build an old-style archive.
   22705 old_archive_cmds=$lt_old_archive_cmds_CXX
   22706 
   22707 # A language specific compiler.
   22708 CC=$lt_compiler_CXX
   22709 
   22710 # Is the compiler the GNU compiler?
   22711 with_gcc=$GCC_CXX
   22712 
   22713 # Compiler flag to turn off builtin functions.
   22714 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   22715 
   22716 # Additional compiler flags for building library objects.
   22717 pic_flag=$lt_lt_prog_compiler_pic_CXX
   22718 
   22719 # How to pass a linker flag through the compiler.
   22720 wl=$lt_lt_prog_compiler_wl_CXX
   22721 
   22722 # Compiler flag to prevent dynamic linking.
   22723 link_static_flag=$lt_lt_prog_compiler_static_CXX
   22724 
   22725 # Does compiler simultaneously support -c and -o options?
   22726 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   22727 
   22728 # Whether or not to add -lc for building shared libraries.
   22729 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   22730 
   22731 # Whether or not to disallow shared libs when runtime libs are static.
   22732 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   22733 
   22734 # Compiler flag to allow reflexive dlopens.
   22735 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   22736 
   22737 # Compiler flag to generate shared objects directly from archives.
   22738 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   22739 
   22740 # Whether the compiler copes with passing no objects directly.
   22741 compiler_needs_object=$lt_compiler_needs_object_CXX
   22742 
   22743 # Create an old-style archive from a shared archive.
   22744 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   22745 
   22746 # Create a temporary old-style archive to link instead of a shared archive.
   22747 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   22748 
   22749 # Commands used to build a shared archive.
   22750 archive_cmds=$lt_archive_cmds_CXX
   22751 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   22752 
   22753 # Commands used to build a loadable module if different from building
   22754 # a shared archive.
   22755 module_cmds=$lt_module_cmds_CXX
   22756 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   22757 
   22758 # Whether we are building with GNU ld or not.
   22759 with_gnu_ld=$lt_with_gnu_ld_CXX
   22760 
   22761 # Flag that allows shared libraries with undefined symbols to be built.
   22762 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   22763 
   22764 # Flag that enforces no undefined symbols.
   22765 no_undefined_flag=$lt_no_undefined_flag_CXX
   22766 
   22767 # Flag to hardcode \$libdir into a binary during linking.
   22768 # This must work even if \$libdir does not exist
   22769 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   22770 
   22771 # Whether we need a single "-rpath" flag with a separated argument.
   22772 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   22773 
   22774 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22775 # DIR into the resulting binary.
   22776 hardcode_direct=$hardcode_direct_CXX
   22777 
   22778 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22779 # DIR into the resulting binary and the resulting library dependency is
   22780 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   22781 # library is relocated.
   22782 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   22783 
   22784 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22785 # into the resulting binary.
   22786 hardcode_minus_L=$hardcode_minus_L_CXX
   22787 
   22788 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22789 # into the resulting binary.
   22790 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   22791 
   22792 # Set to "yes" if building a shared library automatically hardcodes DIR
   22793 # into the library and all subsequent libraries and executables linked
   22794 # against it.
   22795 hardcode_automatic=$hardcode_automatic_CXX
   22796 
   22797 # Set to yes if linker adds runtime paths of dependent libraries
   22798 # to runtime path list.
   22799 inherit_rpath=$inherit_rpath_CXX
   22800 
   22801 # Whether libtool must link a program against all its dependency libraries.
   22802 link_all_deplibs=$link_all_deplibs_CXX
   22803 
   22804 # Set to "yes" if exported symbols are required.
   22805 always_export_symbols=$always_export_symbols_CXX
   22806 
   22807 # The commands to list exported symbols.
   22808 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   22809 
   22810 # Symbols that should not be listed in the preloaded symbols.
   22811 exclude_expsyms=$lt_exclude_expsyms_CXX
   22812 
   22813 # Symbols that must always be exported.
   22814 include_expsyms=$lt_include_expsyms_CXX
   22815 
   22816 # Commands necessary for linking programs (against libraries) with templates.
   22817 prelink_cmds=$lt_prelink_cmds_CXX
   22818 
   22819 # Commands necessary for finishing linking programs.
   22820 postlink_cmds=$lt_postlink_cmds_CXX
   22821 
   22822 # Specify filename containing input files.
   22823 file_list_spec=$lt_file_list_spec_CXX
   22824 
   22825 # How to hardcode a shared library path into an executable.
   22826 hardcode_action=$hardcode_action_CXX
   22827 
   22828 # The directories searched by this compiler when creating a shared library.
   22829 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   22830 
   22831 # Dependencies to place before and after the objects being linked to
   22832 # create a shared library.
   22833 predep_objects=$lt_predep_objects_CXX
   22834 postdep_objects=$lt_postdep_objects_CXX
   22835 predeps=$lt_predeps_CXX
   22836 postdeps=$lt_postdeps_CXX
   22837 
   22838 # The library search path used internally by the compiler when linking
   22839 # a shared library.
   22840 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   22841 
   22842 # ### END LIBTOOL TAG CONFIG: CXX
   22843 _LT_EOF
   22844 
   22845  ;;
   22846     "misc/coverity.sh":F) chmod +x misc/coverity.sh ;;
   22847 
   22848   esac
   22849 done # for ac_tag
   22850 
   22851 
   22852 as_fn_exit 0
   22853 _ACEOF
   22854 ac_clean_files=$ac_clean_files_save
   22855 
   22856 test $ac_write_fail = 0 ||
   22857   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22858 
   22859 
   22860 # configure is writing to config.log, and then calls config.status.
   22861 # config.status does its own redirection, appending to config.log.
   22862 # Unfortunately, on DOS this fails, as config.log is still kept open
   22863 # by configure, so config.status won't be able to write to it; its
   22864 # output is simply discarded.  So we exec the FD to /dev/null,
   22865 # effectively closing config.log, so it can be properly (re)opened and
   22866 # appended to by config.status.  When coming back to configure, we
   22867 # need to make the FD available again.
   22868 if test "$no_create" != yes; then
   22869   ac_cs_success=:
   22870   ac_config_status_args=
   22871   test "$silent" = yes &&
   22872     ac_config_status_args="$ac_config_status_args --quiet"
   22873   exec 5>/dev/null
   22874   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22875   exec 5>>config.log
   22876   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22877   # would make configure fail if this is the last instruction.
   22878   $ac_cs_success || as_fn_exit 1
   22879 fi
   22880 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22882 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22883 fi
   22884 
   22885 
   22886