Home | History | Annotate | Line # | Download | only in dist
configure revision 1.16
      1 #! /bin/sh
      2 # From configure.ac Revision: 1.15 .
      3 # Guess values for system-dependent variables and create Makefiles.
      4 # Generated by GNU Autoconf 2.63 for netpgp 20090526.
      5 #
      6 # Report bugs to <Alistair Crooks <agc (at] netbsd.org> c0596823>.
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     10 # This configure script is free software; the Free Software Foundation
     11 # gives unlimited permission to copy, distribute and modify it.
     12 ## --------------------- ##
     13 ## M4sh Initialization.  ##
     14 ## --------------------- ##
     15 
     16 # Be more Bourne compatible
     17 DUALCASE=1; export DUALCASE # for MKS sh
     18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19   emulate sh
     20   NULLCMD=:
     21   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     22   # is contrary to our usage.  Disable this feature.
     23   alias -g '${1+"$@"}'='"$@"'
     24   setopt NO_GLOB_SUBST
     25 else
     26   case `(set -o) 2>/dev/null` in
     27   *posix*) set -o posix ;;
     28 esac
     29 
     30 fi
     31 
     32 
     33 
     34 
     35 # PATH needs CR
     36 # Avoid depending upon Character Ranges.
     37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     40 as_cr_digits='0123456789'
     41 as_cr_alnum=$as_cr_Letters$as_cr_digits
     42 
     43 as_nl='
     44 '
     45 export as_nl
     46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     47 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     51   as_echo='printf %s\n'
     52   as_echo_n='printf %s'
     53 else
     54   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     55     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     56     as_echo_n='/usr/ucb/echo -n'
     57   else
     58     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     59     as_echo_n_body='eval
     60       arg=$1;
     61       case $arg in
     62       *"$as_nl"*)
     63 	expr "X$arg" : "X\\(.*\\)$as_nl";
     64 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     65       esac;
     66       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     67     '
     68     export as_echo_n_body
     69     as_echo_n='sh -c $as_echo_n_body as_echo'
     70   fi
     71   export as_echo_body
     72   as_echo='sh -c $as_echo_body as_echo'
     73 fi
     74 
     75 # The user is always right.
     76 if test "${PATH_SEPARATOR+set}" != set; then
     77   PATH_SEPARATOR=:
     78   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     79     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     80       PATH_SEPARATOR=';'
     81   }
     82 fi
     83 
     84 # Support unset when possible.
     85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     86   as_unset=unset
     87 else
     88   as_unset=false
     89 fi
     90 
     91 
     92 # IFS
     93 # We need space, tab and new line, in precisely that order.  Quoting is
     94 # there to prevent editors from complaining about space-tab.
     95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     96 # splitting by setting IFS to empty value.)
     97 IFS=" ""	$as_nl"
     98 
     99 # Find who we are.  Look in the path if we contain no directory separator.
    100 case $0 in
    101   *[\\/]* ) as_myself=$0 ;;
    102   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    103 for as_dir in $PATH
    104 do
    105   IFS=$as_save_IFS
    106   test -z "$as_dir" && as_dir=.
    107   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    108 done
    109 IFS=$as_save_IFS
    110 
    111      ;;
    112 esac
    113 # We did not find ourselves, most probably we were run as `sh COMMAND'
    114 # in which case we are not to be found in the path.
    115 if test "x$as_myself" = x; then
    116   as_myself=$0
    117 fi
    118 if test ! -f "$as_myself"; then
    119   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    120   { (exit 1); exit 1; }
    121 fi
    122 
    123 # Work around bugs in pre-3.0 UWIN ksh.
    124 for as_var in ENV MAIL MAILPATH
    125 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    126 done
    127 PS1='$ '
    128 PS2='> '
    129 PS4='+ '
    130 
    131 # NLS nuisances.
    132 LC_ALL=C
    133 export LC_ALL
    134 LANGUAGE=C
    135 export LANGUAGE
    136 
    137 # Required to use basename.
    138 if expr a : '\(a\)' >/dev/null 2>&1 &&
    139    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    140   as_expr=expr
    141 else
    142   as_expr=false
    143 fi
    144 
    145 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    146   as_basename=basename
    147 else
    148   as_basename=false
    149 fi
    150 
    151 
    152 # Name of the executable.
    153 as_me=`$as_basename -- "$0" ||
    154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    155 	 X"$0" : 'X\(//\)$' \| \
    156 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    157 $as_echo X/"$0" |
    158     sed '/^.*\/\([^/][^/]*\)\/*$/{
    159 	    s//\1/
    160 	    q
    161 	  }
    162 	  /^X\/\(\/\/\)$/{
    163 	    s//\1/
    164 	    q
    165 	  }
    166 	  /^X\/\(\/\).*/{
    167 	    s//\1/
    168 	    q
    169 	  }
    170 	  s/.*/./; q'`
    171 
    172 # CDPATH.
    173 $as_unset CDPATH
    174 
    175 
    176 if test "x$CONFIG_SHELL" = x; then
    177   if (eval ":") 2>/dev/null; then
    178   as_have_required=yes
    179 else
    180   as_have_required=no
    181 fi
    182 
    183   if test $as_have_required = yes &&	 (eval ":
    184 (as_func_return () {
    185   (exit \$1)
    186 }
    187 as_func_success () {
    188   as_func_return 0
    189 }
    190 as_func_failure () {
    191   as_func_return 1
    192 }
    193 as_func_ret_success () {
    194   return 0
    195 }
    196 as_func_ret_failure () {
    197   return 1
    198 }
    199 
    200 exitcode=0
    201 if as_func_success; then
    202   :
    203 else
    204   exitcode=1
    205   echo as_func_success failed.
    206 fi
    207 
    208 if as_func_failure; then
    209   exitcode=1
    210   echo as_func_failure succeeded.
    211 fi
    212 
    213 if as_func_ret_success; then
    214   :
    215 else
    216   exitcode=1
    217   echo as_func_ret_success failed.
    218 fi
    219 
    220 if as_func_ret_failure; then
    221   exitcode=1
    222   echo as_func_ret_failure succeeded.
    223 fi
    224 
    225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    226   :
    227 else
    228   exitcode=1
    229   echo positional parameters were not saved.
    230 fi
    231 
    232 test \$exitcode = 0) || { (exit 1); exit 1; }
    233 
    234 (
    235   as_lineno_1=\$LINENO
    236   as_lineno_2=\$LINENO
    237   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    238   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    239 ") 2> /dev/null; then
    240   :
    241 else
    242   as_candidate_shells=
    243     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    244 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    245 do
    246   IFS=$as_save_IFS
    247   test -z "$as_dir" && as_dir=.
    248   case $as_dir in
    249 	 /*)
    250 	   for as_base in sh bash ksh sh5; do
    251 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    252 	   done;;
    253        esac
    254 done
    255 IFS=$as_save_IFS
    256 
    257 
    258       for as_shell in $as_candidate_shells $SHELL; do
    259 	 # Try only shells that exist, to save several forks.
    260 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    261 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    263   emulate sh
    264   NULLCMD=:
    265   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    266   # is contrary to our usage.  Disable this feature.
    267   alias -g '${1+"$@"}'='"$@"'
    268   setopt NO_GLOB_SUBST
    269 else
    270   case `(set -o) 2>/dev/null` in
    271   *posix*) set -o posix ;;
    272 esac
    273 
    274 fi
    275 
    276 
    277 :
    278 _ASEOF
    279 }; then
    280   CONFIG_SHELL=$as_shell
    281 	       as_have_required=yes
    282 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    283 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    284   emulate sh
    285   NULLCMD=:
    286   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    287   # is contrary to our usage.  Disable this feature.
    288   alias -g '${1+"$@"}'='"$@"'
    289   setopt NO_GLOB_SUBST
    290 else
    291   case `(set -o) 2>/dev/null` in
    292   *posix*) set -o posix ;;
    293 esac
    294 
    295 fi
    296 
    297 
    298 :
    299 (as_func_return () {
    300   (exit $1)
    301 }
    302 as_func_success () {
    303   as_func_return 0
    304 }
    305 as_func_failure () {
    306   as_func_return 1
    307 }
    308 as_func_ret_success () {
    309   return 0
    310 }
    311 as_func_ret_failure () {
    312   return 1
    313 }
    314 
    315 exitcode=0
    316 if as_func_success; then
    317   :
    318 else
    319   exitcode=1
    320   echo as_func_success failed.
    321 fi
    322 
    323 if as_func_failure; then
    324   exitcode=1
    325   echo as_func_failure succeeded.
    326 fi
    327 
    328 if as_func_ret_success; then
    329   :
    330 else
    331   exitcode=1
    332   echo as_func_ret_success failed.
    333 fi
    334 
    335 if as_func_ret_failure; then
    336   exitcode=1
    337   echo as_func_ret_failure succeeded.
    338 fi
    339 
    340 if ( set x; as_func_ret_success y && test x = "$1" ); then
    341   :
    342 else
    343   exitcode=1
    344   echo positional parameters were not saved.
    345 fi
    346 
    347 test $exitcode = 0) || { (exit 1); exit 1; }
    348 
    349 (
    350   as_lineno_1=$LINENO
    351   as_lineno_2=$LINENO
    352   test "x$as_lineno_1" != "x$as_lineno_2" &&
    353   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    354 
    355 _ASEOF
    356 }; then
    357   break
    358 fi
    359 
    360 fi
    361 
    362       done
    363 
    364       if test "x$CONFIG_SHELL" != x; then
    365   for as_var in BASH_ENV ENV
    366 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    367 	done
    368 	export CONFIG_SHELL
    369 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    370 fi
    371 
    372 
    373     if test $as_have_required = no; then
    374   echo This script requires a shell more modern than all the
    375       echo shells that I found on your system.  Please install a
    376       echo modern shell, or manually run the script under such a
    377       echo shell if you do have one.
    378       { (exit 1); exit 1; }
    379 fi
    380 
    381 
    382 fi
    383 
    384 fi
    385 
    386 
    387 
    388 (eval "as_func_return () {
    389   (exit \$1)
    390 }
    391 as_func_success () {
    392   as_func_return 0
    393 }
    394 as_func_failure () {
    395   as_func_return 1
    396 }
    397 as_func_ret_success () {
    398   return 0
    399 }
    400 as_func_ret_failure () {
    401   return 1
    402 }
    403 
    404 exitcode=0
    405 if as_func_success; then
    406   :
    407 else
    408   exitcode=1
    409   echo as_func_success failed.
    410 fi
    411 
    412 if as_func_failure; then
    413   exitcode=1
    414   echo as_func_failure succeeded.
    415 fi
    416 
    417 if as_func_ret_success; then
    418   :
    419 else
    420   exitcode=1
    421   echo as_func_ret_success failed.
    422 fi
    423 
    424 if as_func_ret_failure; then
    425   exitcode=1
    426   echo as_func_ret_failure succeeded.
    427 fi
    428 
    429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    430   :
    431 else
    432   exitcode=1
    433   echo positional parameters were not saved.
    434 fi
    435 
    436 test \$exitcode = 0") || {
    437   echo No shell found that supports shell functions.
    438   echo Please tell bug-autoconf@gnu.org about your system,
    439   echo including any error possibly output before this message.
    440   echo This can help us improve future autoconf versions.
    441   echo Configuration will now proceed without shell functions.
    442 }
    443 
    444 
    445 
    446   as_lineno_1=$LINENO
    447   as_lineno_2=$LINENO
    448   test "x$as_lineno_1" != "x$as_lineno_2" &&
    449   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    450 
    451   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    452   # uniformly replaced by the line number.  The first 'sed' inserts a
    453   # line-number line after each line using $LINENO; the second 'sed'
    454   # does the real work.  The second script uses 'N' to pair each
    455   # line-number line with the line containing $LINENO, and appends
    456   # trailing '-' during substitution so that $LINENO is not a special
    457   # case at line end.
    458   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    459   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    460   # E. McMahon (1931-1989) for sed's syntax.  :-)
    461   sed -n '
    462     p
    463     /[$]LINENO/=
    464   ' <$as_myself |
    465     sed '
    466       s/[$]LINENO.*/&-/
    467       t lineno
    468       b
    469       :lineno
    470       N
    471       :loop
    472       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    473       t loop
    474       s/-\n.*//
    475     ' >$as_me.lineno &&
    476   chmod +x "$as_me.lineno" ||
    477     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    478    { (exit 1); exit 1; }; }
    479 
    480   # Don't try to exec as it changes $[0], causing all sort of problems
    481   # (the dirname of $[0] is not the place where we might find the
    482   # original and so on.  Autoconf is especially sensitive to this).
    483   . "./$as_me.lineno"
    484   # Exit status is that of the last command.
    485   exit
    486 }
    487 
    488 
    489 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    490   as_dirname=dirname
    491 else
    492   as_dirname=false
    493 fi
    494 
    495 ECHO_C= ECHO_N= ECHO_T=
    496 case `echo -n x` in
    497 -n*)
    498   case `echo 'x\c'` in
    499   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    500   *)   ECHO_C='\c';;
    501   esac;;
    502 *)
    503   ECHO_N='-n';;
    504 esac
    505 if expr a : '\(a\)' >/dev/null 2>&1 &&
    506    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    507   as_expr=expr
    508 else
    509   as_expr=false
    510 fi
    511 
    512 rm -f conf$$ conf$$.exe conf$$.file
    513 if test -d conf$$.dir; then
    514   rm -f conf$$.dir/conf$$.file
    515 else
    516   rm -f conf$$.dir
    517   mkdir conf$$.dir 2>/dev/null
    518 fi
    519 if (echo >conf$$.file) 2>/dev/null; then
    520   if ln -s conf$$.file conf$$ 2>/dev/null; then
    521     as_ln_s='ln -s'
    522     # ... but there are two gotchas:
    523     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    524     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    525     # In both cases, we have to default to `cp -p'.
    526     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    527       as_ln_s='cp -p'
    528   elif ln conf$$.file conf$$ 2>/dev/null; then
    529     as_ln_s=ln
    530   else
    531     as_ln_s='cp -p'
    532   fi
    533 else
    534   as_ln_s='cp -p'
    535 fi
    536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    537 rmdir conf$$.dir 2>/dev/null
    538 
    539 if mkdir -p . 2>/dev/null; then
    540   as_mkdir_p=:
    541 else
    542   test -d ./-p && rmdir ./-p
    543   as_mkdir_p=false
    544 fi
    545 
    546 if test -x / >/dev/null 2>&1; then
    547   as_test_x='test -x'
    548 else
    549   if ls -dL / >/dev/null 2>&1; then
    550     as_ls_L_option=L
    551   else
    552     as_ls_L_option=
    553   fi
    554   as_test_x='
    555     eval sh -c '\''
    556       if test -d "$1"; then
    557 	test -d "$1/.";
    558       else
    559 	case $1 in
    560 	-*)set "./$1";;
    561 	esac;
    562 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    563 	???[sx]*):;;*)false;;esac;fi
    564     '\'' sh
    565   '
    566 fi
    567 as_executable_p=$as_test_x
    568 
    569 # Sed expression to map a string onto a valid CPP name.
    570 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    571 
    572 # Sed expression to map a string onto a valid variable name.
    573 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    574 
    575 
    576 
    577 
    578 # Check that we are running under the correct shell.
    579 SHELL=${CONFIG_SHELL-/bin/sh}
    580 
    581 case X$ECHO in
    582 X*--fallback-echo)
    583   # Remove one level of quotation (which was required for Make).
    584   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    585   ;;
    586 esac
    587 
    588 echo=${ECHO-echo}
    589 if test "X$1" = X--no-reexec; then
    590   # Discard the --no-reexec flag, and continue.
    591   shift
    592 elif test "X$1" = X--fallback-echo; then
    593   # Avoid inline document here, it may be left over
    594   :
    595 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    596   # Yippee, $echo works!
    597   :
    598 else
    599   # Restart under the correct shell.
    600   exec $SHELL "$0" --no-reexec ${1+"$@"}
    601 fi
    602 
    603 if test "X$1" = X--fallback-echo; then
    604   # used as fallback echo
    605   shift
    606   cat <<EOF
    607 $*
    608 EOF
    609   exit 0
    610 fi
    611 
    612 # The HP-UX ksh and POSIX shell print the target directory to stdout
    613 # if CDPATH is set.
    614 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    615 
    616 if test -z "$ECHO"; then
    617 if test "X${echo_test_string+set}" != Xset; then
    618 # find a string as large as possible, as long as the shell can cope with it
    619   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    620     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    621     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    622        echo_test_string=`eval $cmd` &&
    623        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    624     then
    625       break
    626     fi
    627   done
    628 fi
    629 
    630 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    631    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    632    test "X$echo_testing_string" = "X$echo_test_string"; then
    633   :
    634 else
    635   # The Solaris, AIX, and Digital Unix default echo programs unquote
    636   # backslashes.  This makes it impossible to quote backslashes using
    637   #   echo "$something" | sed 's/\\/\\\\/g'
    638   #
    639   # So, first we look for a working echo in the user's PATH.
    640 
    641   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    642   for dir in $PATH /usr/ucb; do
    643     IFS="$lt_save_ifs"
    644     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    645        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    646        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    647        test "X$echo_testing_string" = "X$echo_test_string"; then
    648       echo="$dir/echo"
    649       break
    650     fi
    651   done
    652   IFS="$lt_save_ifs"
    653 
    654   if test "X$echo" = Xecho; then
    655     # We didn't find a better echo, so look for alternatives.
    656     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    657        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    658        test "X$echo_testing_string" = "X$echo_test_string"; then
    659       # This shell has a builtin print -r that does the trick.
    660       echo='print -r'
    661     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    662 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    663       # If we have ksh, try running configure again with it.
    664       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    665       export ORIGINAL_CONFIG_SHELL
    666       CONFIG_SHELL=/bin/ksh
    667       export CONFIG_SHELL
    668       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    669     else
    670       # Try using printf.
    671       echo='printf %s\n'
    672       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    673 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    674 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    675 	# Cool, printf works
    676 	:
    677       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    678 	   test "X$echo_testing_string" = 'X\t' &&
    679 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    680 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    681 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    682 	export CONFIG_SHELL
    683 	SHELL="$CONFIG_SHELL"
    684 	export SHELL
    685 	echo="$CONFIG_SHELL $0 --fallback-echo"
    686       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    687 	   test "X$echo_testing_string" = 'X\t' &&
    688 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    689 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    690 	echo="$CONFIG_SHELL $0 --fallback-echo"
    691       else
    692 	# maybe with a smaller string...
    693 	prev=:
    694 
    695 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    696 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    697 	  then
    698 	    break
    699 	  fi
    700 	  prev="$cmd"
    701 	done
    702 
    703 	if test "$prev" != 'sed 50q "$0"'; then
    704 	  echo_test_string=`eval $prev`
    705 	  export echo_test_string
    706 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    707 	else
    708 	  # Oops.  We lost completely, so just stick with echo.
    709 	  echo=echo
    710 	fi
    711       fi
    712     fi
    713   fi
    714 fi
    715 fi
    716 
    717 # Copy echo and quote the copy suitably for passing to libtool from
    718 # the Makefile, instead of quoting the original, which is used later.
    719 ECHO=$echo
    720 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    721    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    722 fi
    723 
    724 
    725 
    726 
    727 tagnames=${tagnames+${tagnames},}CXX
    728 
    729 tagnames=${tagnames+${tagnames},}F77
    730 
    731 exec 7<&0 </dev/null 6>&1
    732 
    733 # Name of the host.
    734 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    735 # so uname gets run too.
    736 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    737 
    738 #
    739 # Initializations.
    740 #
    741 ac_default_prefix=/usr/local
    742 ac_clean_files=
    743 ac_config_libobj_dir=.
    744 LIBOBJS=
    745 cross_compiling=no
    746 subdirs=
    747 MFLAGS=
    748 MAKEFLAGS=
    749 SHELL=${CONFIG_SHELL-/bin/sh}
    750 
    751 # Identity of this package.
    752 PACKAGE_NAME='netpgp'
    753 PACKAGE_TARNAME='netpgp'
    754 PACKAGE_VERSION='20090526'
    755 PACKAGE_STRING='netpgp 20090526'
    756 PACKAGE_BUGREPORT='Alistair Crooks <agc (at] netbsd.org> c0596823'
    757 
    758 ac_unique_file="src/bin/netpgp.c"
    759 # Factoring default headers for most tests.
    760 ac_includes_default="\
    761 #include <stdio.h>
    762 #ifdef HAVE_SYS_TYPES_H
    763 # include <sys/types.h>
    764 #endif
    765 #ifdef HAVE_SYS_STAT_H
    766 # include <sys/stat.h>
    767 #endif
    768 #ifdef STDC_HEADERS
    769 # include <stdlib.h>
    770 # include <stddef.h>
    771 #else
    772 # ifdef HAVE_STDLIB_H
    773 #  include <stdlib.h>
    774 # endif
    775 #endif
    776 #ifdef HAVE_STRING_H
    777 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    778 #  include <memory.h>
    779 # endif
    780 # include <string.h>
    781 #endif
    782 #ifdef HAVE_STRINGS_H
    783 # include <strings.h>
    784 #endif
    785 #ifdef HAVE_INTTYPES_H
    786 # include <inttypes.h>
    787 #endif
    788 #ifdef HAVE_STDINT_H
    789 # include <stdint.h>
    790 #endif
    791 #ifdef HAVE_UNISTD_H
    792 # include <unistd.h>
    793 #endif"
    794 
    795 ac_subst_vars='LTLIBOBJS
    796 LIBOBJS
    797 AUTOM4TE
    798 WARNCFLAGS
    799 LIBTOOL
    800 ac_ct_F77
    801 FFLAGS
    802 F77
    803 CXXCPP
    804 am__fastdepCXX_FALSE
    805 am__fastdepCXX_TRUE
    806 CXXDEPMODE
    807 ac_ct_CXX
    808 CXXFLAGS
    809 CXX
    810 CPP
    811 NMEDIT
    812 DSYMUTIL
    813 RANLIB
    814 AR
    815 ECHO
    816 LN_S
    817 EGREP
    818 GREP
    819 SED
    820 am__fastdepCC_FALSE
    821 am__fastdepCC_TRUE
    822 CCDEPMODE
    823 AMDEPBACKSLASH
    824 AMDEP_FALSE
    825 AMDEP_TRUE
    826 am__quote
    827 am__include
    828 DEPDIR
    829 OBJEXT
    830 EXEEXT
    831 ac_ct_CC
    832 CPPFLAGS
    833 LDFLAGS
    834 CFLAGS
    835 CC
    836 CANONICAL_HOST
    837 host_os
    838 host_vendor
    839 host_cpu
    840 host
    841 build_os
    842 build_vendor
    843 build_cpu
    844 build
    845 MAINT
    846 MAINTAINER_MODE_FALSE
    847 MAINTAINER_MODE_TRUE
    848 am__untar
    849 am__tar
    850 AMTAR
    851 am__leading_dot
    852 SET_MAKE
    853 AWK
    854 mkdir_p
    855 MKDIR_P
    856 INSTALL_STRIP_PROGRAM
    857 STRIP
    858 install_sh
    859 MAKEINFO
    860 AUTOHEADER
    861 AUTOMAKE
    862 AUTOCONF
    863 ACLOCAL
    864 VERSION
    865 PACKAGE
    866 CYGPATH_W
    867 am__isrc
    868 INSTALL_DATA
    869 INSTALL_SCRIPT
    870 INSTALL_PROGRAM
    871 target_alias
    872 host_alias
    873 build_alias
    874 LIBS
    875 ECHO_T
    876 ECHO_N
    877 ECHO_C
    878 DEFS
    879 mandir
    880 localedir
    881 libdir
    882 psdir
    883 pdfdir
    884 dvidir
    885 htmldir
    886 infodir
    887 docdir
    888 oldincludedir
    889 includedir
    890 localstatedir
    891 sharedstatedir
    892 sysconfdir
    893 datadir
    894 datarootdir
    895 libexecdir
    896 sbindir
    897 bindir
    898 program_transform_name
    899 prefix
    900 exec_prefix
    901 PACKAGE_BUGREPORT
    902 PACKAGE_STRING
    903 PACKAGE_VERSION
    904 PACKAGE_TARNAME
    905 PACKAGE_NAME
    906 PATH_SEPARATOR
    907 SHELL'
    908 ac_subst_files=''
    909 ac_user_opts='
    910 enable_option_checking
    911 enable_maintainer_mode
    912 enable_dependency_tracking
    913 enable_shared
    914 enable_static
    915 enable_fast_install
    916 with_gnu_ld
    917 enable_libtool_lock
    918 with_pic
    919 with_tags
    920 '
    921       ac_precious_vars='build_alias
    922 host_alias
    923 target_alias
    924 CC
    925 CFLAGS
    926 LDFLAGS
    927 LIBS
    928 CPPFLAGS
    929 CPP
    930 CXX
    931 CXXFLAGS
    932 CCC
    933 CXXCPP
    934 F77
    935 FFLAGS'
    936 
    937 
    938 # Initialize some variables set by options.
    939 ac_init_help=
    940 ac_init_version=false
    941 ac_unrecognized_opts=
    942 ac_unrecognized_sep=
    943 # The variables have the same names as the options, with
    944 # dashes changed to underlines.
    945 cache_file=/dev/null
    946 exec_prefix=NONE
    947 no_create=
    948 no_recursion=
    949 prefix=NONE
    950 program_prefix=NONE
    951 program_suffix=NONE
    952 program_transform_name=s,x,x,
    953 silent=
    954 site=
    955 srcdir=
    956 verbose=
    957 x_includes=NONE
    958 x_libraries=NONE
    959 
    960 # Installation directory options.
    961 # These are left unexpanded so users can "make install exec_prefix=/foo"
    962 # and all the variables that are supposed to be based on exec_prefix
    963 # by default will actually change.
    964 # Use braces instead of parens because sh, perl, etc. also accept them.
    965 # (The list follows the same order as the GNU Coding Standards.)
    966 bindir='${exec_prefix}/bin'
    967 sbindir='${exec_prefix}/sbin'
    968 libexecdir='${exec_prefix}/libexec'
    969 datarootdir='${prefix}/share'
    970 datadir='${datarootdir}'
    971 sysconfdir='${prefix}/etc'
    972 sharedstatedir='${prefix}/com'
    973 localstatedir='${prefix}/var'
    974 includedir='${prefix}/include'
    975 oldincludedir='/usr/include'
    976 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    977 infodir='${datarootdir}/info'
    978 htmldir='${docdir}'
    979 dvidir='${docdir}'
    980 pdfdir='${docdir}'
    981 psdir='${docdir}'
    982 libdir='${exec_prefix}/lib'
    983 localedir='${datarootdir}/locale'
    984 mandir='${datarootdir}/man'
    985 
    986 ac_prev=
    987 ac_dashdash=
    988 for ac_option
    989 do
    990   # If the previous option needs an argument, assign it.
    991   if test -n "$ac_prev"; then
    992     eval $ac_prev=\$ac_option
    993     ac_prev=
    994     continue
    995   fi
    996 
    997   case $ac_option in
    998   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    999   *)	ac_optarg=yes ;;
   1000   esac
   1001 
   1002   # Accept the important Cygnus configure options, so we can diagnose typos.
   1003 
   1004   case $ac_dashdash$ac_option in
   1005   --)
   1006     ac_dashdash=yes ;;
   1007 
   1008   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1009     ac_prev=bindir ;;
   1010   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1011     bindir=$ac_optarg ;;
   1012 
   1013   -build | --build | --buil | --bui | --bu)
   1014     ac_prev=build_alias ;;
   1015   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1016     build_alias=$ac_optarg ;;
   1017 
   1018   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1019   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1020     ac_prev=cache_file ;;
   1021   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1022   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1023     cache_file=$ac_optarg ;;
   1024 
   1025   --config-cache | -C)
   1026     cache_file=config.cache ;;
   1027 
   1028   -datadir | --datadir | --datadi | --datad)
   1029     ac_prev=datadir ;;
   1030   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1031     datadir=$ac_optarg ;;
   1032 
   1033   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1034   | --dataroo | --dataro | --datar)
   1035     ac_prev=datarootdir ;;
   1036   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1037   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1038     datarootdir=$ac_optarg ;;
   1039 
   1040   -disable-* | --disable-*)
   1041     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1042     # Reject names that are not valid shell variable names.
   1043     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1044       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1045    { (exit 1); exit 1; }; }
   1046     ac_useropt_orig=$ac_useropt
   1047     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1048     case $ac_user_opts in
   1049       *"
   1050 "enable_$ac_useropt"
   1051 "*) ;;
   1052       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1053 	 ac_unrecognized_sep=', ';;
   1054     esac
   1055     eval enable_$ac_useropt=no ;;
   1056 
   1057   -docdir | --docdir | --docdi | --doc | --do)
   1058     ac_prev=docdir ;;
   1059   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1060     docdir=$ac_optarg ;;
   1061 
   1062   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1063     ac_prev=dvidir ;;
   1064   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1065     dvidir=$ac_optarg ;;
   1066 
   1067   -enable-* | --enable-*)
   1068     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1069     # Reject names that are not valid shell variable names.
   1070     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1071       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1072    { (exit 1); exit 1; }; }
   1073     ac_useropt_orig=$ac_useropt
   1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1075     case $ac_user_opts in
   1076       *"
   1077 "enable_$ac_useropt"
   1078 "*) ;;
   1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1080 	 ac_unrecognized_sep=', ';;
   1081     esac
   1082     eval enable_$ac_useropt=\$ac_optarg ;;
   1083 
   1084   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1085   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1086   | --exec | --exe | --ex)
   1087     ac_prev=exec_prefix ;;
   1088   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1089   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1090   | --exec=* | --exe=* | --ex=*)
   1091     exec_prefix=$ac_optarg ;;
   1092 
   1093   -gas | --gas | --ga | --g)
   1094     # Obsolete; use --with-gas.
   1095     with_gas=yes ;;
   1096 
   1097   -help | --help | --hel | --he | -h)
   1098     ac_init_help=long ;;
   1099   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1100     ac_init_help=recursive ;;
   1101   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1102     ac_init_help=short ;;
   1103 
   1104   -host | --host | --hos | --ho)
   1105     ac_prev=host_alias ;;
   1106   -host=* | --host=* | --hos=* | --ho=*)
   1107     host_alias=$ac_optarg ;;
   1108 
   1109   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1110     ac_prev=htmldir ;;
   1111   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1112   | --ht=*)
   1113     htmldir=$ac_optarg ;;
   1114 
   1115   -includedir | --includedir | --includedi | --included | --include \
   1116   | --includ | --inclu | --incl | --inc)
   1117     ac_prev=includedir ;;
   1118   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1119   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1120     includedir=$ac_optarg ;;
   1121 
   1122   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1123     ac_prev=infodir ;;
   1124   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1125     infodir=$ac_optarg ;;
   1126 
   1127   -libdir | --libdir | --libdi | --libd)
   1128     ac_prev=libdir ;;
   1129   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1130     libdir=$ac_optarg ;;
   1131 
   1132   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1133   | --libexe | --libex | --libe)
   1134     ac_prev=libexecdir ;;
   1135   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1136   | --libexe=* | --libex=* | --libe=*)
   1137     libexecdir=$ac_optarg ;;
   1138 
   1139   -localedir | --localedir | --localedi | --localed | --locale)
   1140     ac_prev=localedir ;;
   1141   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1142     localedir=$ac_optarg ;;
   1143 
   1144   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1145   | --localstate | --localstat | --localsta | --localst | --locals)
   1146     ac_prev=localstatedir ;;
   1147   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1148   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1149     localstatedir=$ac_optarg ;;
   1150 
   1151   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1152     ac_prev=mandir ;;
   1153   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1154     mandir=$ac_optarg ;;
   1155 
   1156   -nfp | --nfp | --nf)
   1157     # Obsolete; use --without-fp.
   1158     with_fp=no ;;
   1159 
   1160   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1161   | --no-cr | --no-c | -n)
   1162     no_create=yes ;;
   1163 
   1164   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1165   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1166     no_recursion=yes ;;
   1167 
   1168   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1169   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1170   | --oldin | --oldi | --old | --ol | --o)
   1171     ac_prev=oldincludedir ;;
   1172   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1173   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1174   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1175     oldincludedir=$ac_optarg ;;
   1176 
   1177   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1178     ac_prev=prefix ;;
   1179   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1180     prefix=$ac_optarg ;;
   1181 
   1182   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1183   | --program-pre | --program-pr | --program-p)
   1184     ac_prev=program_prefix ;;
   1185   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1186   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1187     program_prefix=$ac_optarg ;;
   1188 
   1189   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1190   | --program-suf | --program-su | --program-s)
   1191     ac_prev=program_suffix ;;
   1192   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1193   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1194     program_suffix=$ac_optarg ;;
   1195 
   1196   -program-transform-name | --program-transform-name \
   1197   | --program-transform-nam | --program-transform-na \
   1198   | --program-transform-n | --program-transform- \
   1199   | --program-transform | --program-transfor \
   1200   | --program-transfo | --program-transf \
   1201   | --program-trans | --program-tran \
   1202   | --progr-tra | --program-tr | --program-t)
   1203     ac_prev=program_transform_name ;;
   1204   -program-transform-name=* | --program-transform-name=* \
   1205   | --program-transform-nam=* | --program-transform-na=* \
   1206   | --program-transform-n=* | --program-transform-=* \
   1207   | --program-transform=* | --program-transfor=* \
   1208   | --program-transfo=* | --program-transf=* \
   1209   | --program-trans=* | --program-tran=* \
   1210   | --progr-tra=* | --program-tr=* | --program-t=*)
   1211     program_transform_name=$ac_optarg ;;
   1212 
   1213   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1214     ac_prev=pdfdir ;;
   1215   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1216     pdfdir=$ac_optarg ;;
   1217 
   1218   -psdir | --psdir | --psdi | --psd | --ps)
   1219     ac_prev=psdir ;;
   1220   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1221     psdir=$ac_optarg ;;
   1222 
   1223   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1224   | -silent | --silent | --silen | --sile | --sil)
   1225     silent=yes ;;
   1226 
   1227   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1228     ac_prev=sbindir ;;
   1229   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1230   | --sbi=* | --sb=*)
   1231     sbindir=$ac_optarg ;;
   1232 
   1233   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1234   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1235   | --sharedst | --shareds | --shared | --share | --shar \
   1236   | --sha | --sh)
   1237     ac_prev=sharedstatedir ;;
   1238   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1239   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1240   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1241   | --sha=* | --sh=*)
   1242     sharedstatedir=$ac_optarg ;;
   1243 
   1244   -site | --site | --sit)
   1245     ac_prev=site ;;
   1246   -site=* | --site=* | --sit=*)
   1247     site=$ac_optarg ;;
   1248 
   1249   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1250     ac_prev=srcdir ;;
   1251   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1252     srcdir=$ac_optarg ;;
   1253 
   1254   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1255   | --syscon | --sysco | --sysc | --sys | --sy)
   1256     ac_prev=sysconfdir ;;
   1257   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1258   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1259     sysconfdir=$ac_optarg ;;
   1260 
   1261   -target | --target | --targe | --targ | --tar | --ta | --t)
   1262     ac_prev=target_alias ;;
   1263   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1264     target_alias=$ac_optarg ;;
   1265 
   1266   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1267     verbose=yes ;;
   1268 
   1269   -version | --version | --versio | --versi | --vers | -V)
   1270     ac_init_version=: ;;
   1271 
   1272   -with-* | --with-*)
   1273     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1274     # Reject names that are not valid shell variable names.
   1275     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1276       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1277    { (exit 1); exit 1; }; }
   1278     ac_useropt_orig=$ac_useropt
   1279     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1280     case $ac_user_opts in
   1281       *"
   1282 "with_$ac_useropt"
   1283 "*) ;;
   1284       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1285 	 ac_unrecognized_sep=', ';;
   1286     esac
   1287     eval with_$ac_useropt=\$ac_optarg ;;
   1288 
   1289   -without-* | --without-*)
   1290     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1291     # Reject names that are not valid shell variable names.
   1292     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1293       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1294    { (exit 1); exit 1; }; }
   1295     ac_useropt_orig=$ac_useropt
   1296     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1297     case $ac_user_opts in
   1298       *"
   1299 "with_$ac_useropt"
   1300 "*) ;;
   1301       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1302 	 ac_unrecognized_sep=', ';;
   1303     esac
   1304     eval with_$ac_useropt=no ;;
   1305 
   1306   --x)
   1307     # Obsolete; use --with-x.
   1308     with_x=yes ;;
   1309 
   1310   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1311   | --x-incl | --x-inc | --x-in | --x-i)
   1312     ac_prev=x_includes ;;
   1313   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1314   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1315     x_includes=$ac_optarg ;;
   1316 
   1317   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1318   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1319     ac_prev=x_libraries ;;
   1320   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1321   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1322     x_libraries=$ac_optarg ;;
   1323 
   1324   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1325 Try \`$0 --help' for more information." >&2
   1326    { (exit 1); exit 1; }; }
   1327     ;;
   1328 
   1329   *=*)
   1330     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1331     # Reject names that are not valid shell variable names.
   1332     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1333       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1334    { (exit 1); exit 1; }; }
   1335     eval $ac_envvar=\$ac_optarg
   1336     export $ac_envvar ;;
   1337 
   1338   *)
   1339     # FIXME: should be removed in autoconf 3.0.
   1340     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1341     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1342       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1343     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1344     ;;
   1345 
   1346   esac
   1347 done
   1348 
   1349 if test -n "$ac_prev"; then
   1350   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1351   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1352    { (exit 1); exit 1; }; }
   1353 fi
   1354 
   1355 if test -n "$ac_unrecognized_opts"; then
   1356   case $enable_option_checking in
   1357     no) ;;
   1358     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1359    { (exit 1); exit 1; }; } ;;
   1360     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1361   esac
   1362 fi
   1363 
   1364 # Check all directory arguments for consistency.
   1365 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1366 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1367 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1368 		libdir localedir mandir
   1369 do
   1370   eval ac_val=\$$ac_var
   1371   # Remove trailing slashes.
   1372   case $ac_val in
   1373     */ )
   1374       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1375       eval $ac_var=\$ac_val;;
   1376   esac
   1377   # Be sure to have absolute directory names.
   1378   case $ac_val in
   1379     [\\/$]* | ?:[\\/]* )  continue;;
   1380     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1381   esac
   1382   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1383    { (exit 1); exit 1; }; }
   1384 done
   1385 
   1386 # There might be people who depend on the old broken behavior: `$host'
   1387 # used to hold the argument of --host etc.
   1388 # FIXME: To remove some day.
   1389 build=$build_alias
   1390 host=$host_alias
   1391 target=$target_alias
   1392 
   1393 # FIXME: To remove some day.
   1394 if test "x$host_alias" != x; then
   1395   if test "x$build_alias" = x; then
   1396     cross_compiling=maybe
   1397     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1398     If a cross compiler is detected then cross compile mode will be used." >&2
   1399   elif test "x$build_alias" != "x$host_alias"; then
   1400     cross_compiling=yes
   1401   fi
   1402 fi
   1403 
   1404 ac_tool_prefix=
   1405 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1406 
   1407 test "$silent" = yes && exec 6>/dev/null
   1408 
   1409 
   1410 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1411 ac_ls_di=`ls -di .` &&
   1412 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1413   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1414    { (exit 1); exit 1; }; }
   1415 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1416   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1417    { (exit 1); exit 1; }; }
   1418 
   1419 
   1420 # Find the source files, if location was not specified.
   1421 if test -z "$srcdir"; then
   1422   ac_srcdir_defaulted=yes
   1423   # Try the directory containing this script, then the parent directory.
   1424   ac_confdir=`$as_dirname -- "$as_myself" ||
   1425 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1426 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1427 	 X"$as_myself" : 'X\(//\)$' \| \
   1428 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1429 $as_echo X"$as_myself" |
   1430     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1431 	    s//\1/
   1432 	    q
   1433 	  }
   1434 	  /^X\(\/\/\)[^/].*/{
   1435 	    s//\1/
   1436 	    q
   1437 	  }
   1438 	  /^X\(\/\/\)$/{
   1439 	    s//\1/
   1440 	    q
   1441 	  }
   1442 	  /^X\(\/\).*/{
   1443 	    s//\1/
   1444 	    q
   1445 	  }
   1446 	  s/.*/./; q'`
   1447   srcdir=$ac_confdir
   1448   if test ! -r "$srcdir/$ac_unique_file"; then
   1449     srcdir=..
   1450   fi
   1451 else
   1452   ac_srcdir_defaulted=no
   1453 fi
   1454 if test ! -r "$srcdir/$ac_unique_file"; then
   1455   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1456   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1457    { (exit 1); exit 1; }; }
   1458 fi
   1459 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1460 ac_abs_confdir=`(
   1461 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1462    { (exit 1); exit 1; }; }
   1463 	pwd)`
   1464 # When building in place, set srcdir=.
   1465 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1466   srcdir=.
   1467 fi
   1468 # Remove unnecessary trailing slashes from srcdir.
   1469 # Double slashes in file names in object file debugging info
   1470 # mess up M-x gdb in Emacs.
   1471 case $srcdir in
   1472 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1473 esac
   1474 for ac_var in $ac_precious_vars; do
   1475   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1476   eval ac_env_${ac_var}_value=\$${ac_var}
   1477   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1478   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1479 done
   1480 
   1481 #
   1482 # Report the --help message.
   1483 #
   1484 if test "$ac_init_help" = "long"; then
   1485   # Omit some internal or obsolete options to make the list less imposing.
   1486   # This message is too long to be a string in the A/UX 3.1 sh.
   1487   cat <<_ACEOF
   1488 \`configure' configures netpgp 20090526 to adapt to many kinds of systems.
   1489 
   1490 Usage: $0 [OPTION]... [VAR=VALUE]...
   1491 
   1492 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1493 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1494 
   1495 Defaults for the options are specified in brackets.
   1496 
   1497 Configuration:
   1498   -h, --help              display this help and exit
   1499       --help=short        display options specific to this package
   1500       --help=recursive    display the short help of all the included packages
   1501   -V, --version           display version information and exit
   1502   -q, --quiet, --silent   do not print \`checking...' messages
   1503       --cache-file=FILE   cache test results in FILE [disabled]
   1504   -C, --config-cache      alias for \`--cache-file=config.cache'
   1505   -n, --no-create         do not create output files
   1506       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1507 
   1508 Installation directories:
   1509   --prefix=PREFIX         install architecture-independent files in PREFIX
   1510                           [$ac_default_prefix]
   1511   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1512                           [PREFIX]
   1513 
   1514 By default, \`make install' will install all the files in
   1515 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1516 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1517 for instance \`--prefix=\$HOME'.
   1518 
   1519 For better control, use the options below.
   1520 
   1521 Fine tuning of the installation directories:
   1522   --bindir=DIR            user executables [EPREFIX/bin]
   1523   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1524   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1525   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1526   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1527   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1528   --libdir=DIR            object code libraries [EPREFIX/lib]
   1529   --includedir=DIR        C header files [PREFIX/include]
   1530   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1531   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1532   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1533   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1534   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1535   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1536   --docdir=DIR            documentation root [DATAROOTDIR/doc/netpgp]
   1537   --htmldir=DIR           html documentation [DOCDIR]
   1538   --dvidir=DIR            dvi documentation [DOCDIR]
   1539   --pdfdir=DIR            pdf documentation [DOCDIR]
   1540   --psdir=DIR             ps documentation [DOCDIR]
   1541 _ACEOF
   1542 
   1543   cat <<\_ACEOF
   1544 
   1545 Program names:
   1546   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1547   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1548   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1549 
   1550 System types:
   1551   --build=BUILD     configure for building on BUILD [guessed]
   1552   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1553 _ACEOF
   1554 fi
   1555 
   1556 if test -n "$ac_init_help"; then
   1557   case $ac_init_help in
   1558      short | recursive ) echo "Configuration of netpgp 20090526:";;
   1559    esac
   1560   cat <<\_ACEOF
   1561 
   1562 Optional Features:
   1563   --disable-option-checking  ignore unrecognized --enable/--with options
   1564   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1565   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1566   --enable-maintainer-mode  enable make rules and dependencies not useful
   1567 			  (and sometimes confusing) to the casual installer
   1568   --disable-dependency-tracking  speeds up one-time build
   1569   --enable-dependency-tracking   do not reject slow dependency extractors
   1570   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1571   --enable-static[=PKGS]  build static libraries [default=yes]
   1572   --enable-fast-install[=PKGS]
   1573                           optimize for fast installation [default=yes]
   1574   --disable-libtool-lock  avoid locking (might break parallel builds)
   1575 
   1576 Optional Packages:
   1577   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1578   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1579   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1580   --with-pic              try to use only PIC/non-PIC objects [default=use
   1581                           both]
   1582   --with-tags[=TAGS]      include additional configurations [automatic]
   1583 
   1584 Some influential environment variables:
   1585   CC          C compiler command
   1586   CFLAGS      C compiler flags
   1587   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1588               nonstandard directory <lib dir>
   1589   LIBS        libraries to pass to the linker, e.g. -l<library>
   1590   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1591               you have headers in a nonstandard directory <include dir>
   1592   CPP         C preprocessor
   1593   CXX         C++ compiler command
   1594   CXXFLAGS    C++ compiler flags
   1595   CXXCPP      C++ preprocessor
   1596   F77         Fortran 77 compiler command
   1597   FFLAGS      Fortran 77 compiler flags
   1598 
   1599 Use these variables to override the choices made by `configure' or to help
   1600 it to find libraries and programs with nonstandard names/locations.
   1601 
   1602 Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>.
   1603 _ACEOF
   1604 ac_status=$?
   1605 fi
   1606 
   1607 if test "$ac_init_help" = "recursive"; then
   1608   # If there are subdirs, report their specific --help.
   1609   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1610     test -d "$ac_dir" ||
   1611       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1612       continue
   1613     ac_builddir=.
   1614 
   1615 case "$ac_dir" in
   1616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1617 *)
   1618   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1619   # A ".." for each directory in $ac_dir_suffix.
   1620   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1621   case $ac_top_builddir_sub in
   1622   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1623   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1624   esac ;;
   1625 esac
   1626 ac_abs_top_builddir=$ac_pwd
   1627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1628 # for backward compatibility:
   1629 ac_top_builddir=$ac_top_build_prefix
   1630 
   1631 case $srcdir in
   1632   .)  # We are building in place.
   1633     ac_srcdir=.
   1634     ac_top_srcdir=$ac_top_builddir_sub
   1635     ac_abs_top_srcdir=$ac_pwd ;;
   1636   [\\/]* | ?:[\\/]* )  # Absolute name.
   1637     ac_srcdir=$srcdir$ac_dir_suffix;
   1638     ac_top_srcdir=$srcdir
   1639     ac_abs_top_srcdir=$srcdir ;;
   1640   *) # Relative name.
   1641     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1642     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1643     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1644 esac
   1645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1646 
   1647     cd "$ac_dir" || { ac_status=$?; continue; }
   1648     # Check for guested configure.
   1649     if test -f "$ac_srcdir/configure.gnu"; then
   1650       echo &&
   1651       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1652     elif test -f "$ac_srcdir/configure"; then
   1653       echo &&
   1654       $SHELL "$ac_srcdir/configure" --help=recursive
   1655     else
   1656       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1657     fi || ac_status=$?
   1658     cd "$ac_pwd" || { ac_status=$?; break; }
   1659   done
   1660 fi
   1661 
   1662 test -n "$ac_init_help" && exit $ac_status
   1663 if $ac_init_version; then
   1664   cat <<\_ACEOF
   1665 netpgp configure 20090526
   1666 generated by GNU Autoconf 2.63
   1667 
   1668 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1669 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1670 This configure script is free software; the Free Software Foundation
   1671 gives unlimited permission to copy, distribute and modify it.
   1672 _ACEOF
   1673   exit
   1674 fi
   1675 cat >config.log <<_ACEOF
   1676 This file contains any messages produced by compilers while
   1677 running configure, to aid debugging if configure makes a mistake.
   1678 
   1679 It was created by netpgp $as_me 20090526, which was
   1680 generated by GNU Autoconf 2.63.  Invocation command line was
   1681 
   1682   $ $0 $@
   1683 
   1684 _ACEOF
   1685 exec 5>>config.log
   1686 {
   1687 cat <<_ASUNAME
   1688 ## --------- ##
   1689 ## Platform. ##
   1690 ## --------- ##
   1691 
   1692 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1693 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1694 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1695 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1696 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1697 
   1698 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1699 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1700 
   1701 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1702 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1703 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1704 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1705 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1706 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1707 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1708 
   1709 _ASUNAME
   1710 
   1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1712 for as_dir in $PATH
   1713 do
   1714   IFS=$as_save_IFS
   1715   test -z "$as_dir" && as_dir=.
   1716   $as_echo "PATH: $as_dir"
   1717 done
   1718 IFS=$as_save_IFS
   1719 
   1720 } >&5
   1721 
   1722 cat >&5 <<_ACEOF
   1723 
   1724 
   1725 ## ----------- ##
   1726 ## Core tests. ##
   1727 ## ----------- ##
   1728 
   1729 _ACEOF
   1730 
   1731 
   1732 # Keep a trace of the command line.
   1733 # Strip out --no-create and --no-recursion so they do not pile up.
   1734 # Strip out --silent because we don't want to record it for future runs.
   1735 # Also quote any args containing shell meta-characters.
   1736 # Make two passes to allow for proper duplicate-argument suppression.
   1737 ac_configure_args=
   1738 ac_configure_args0=
   1739 ac_configure_args1=
   1740 ac_must_keep_next=false
   1741 for ac_pass in 1 2
   1742 do
   1743   for ac_arg
   1744   do
   1745     case $ac_arg in
   1746     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1747     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1748     | -silent | --silent | --silen | --sile | --sil)
   1749       continue ;;
   1750     *\'*)
   1751       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1752     esac
   1753     case $ac_pass in
   1754     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1755     2)
   1756       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1757       if test $ac_must_keep_next = true; then
   1758 	ac_must_keep_next=false # Got value, back to normal.
   1759       else
   1760 	case $ac_arg in
   1761 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1762 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1763 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1764 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1765 	    case "$ac_configure_args0 " in
   1766 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1767 	    esac
   1768 	    ;;
   1769 	  -* ) ac_must_keep_next=true ;;
   1770 	esac
   1771       fi
   1772       ac_configure_args="$ac_configure_args '$ac_arg'"
   1773       ;;
   1774     esac
   1775   done
   1776 done
   1777 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1778 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1779 
   1780 # When interrupted or exit'd, cleanup temporary files, and complete
   1781 # config.log.  We remove comments because anyway the quotes in there
   1782 # would cause problems or look ugly.
   1783 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1784 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1785 trap 'exit_status=$?
   1786   # Save into config.log some information that might help in debugging.
   1787   {
   1788     echo
   1789 
   1790     cat <<\_ASBOX
   1791 ## ---------------- ##
   1792 ## Cache variables. ##
   1793 ## ---------------- ##
   1794 _ASBOX
   1795     echo
   1796     # The following way of writing the cache mishandles newlines in values,
   1797 (
   1798   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1799     eval ac_val=\$$ac_var
   1800     case $ac_val in #(
   1801     *${as_nl}*)
   1802       case $ac_var in #(
   1803       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1804 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1805       esac
   1806       case $ac_var in #(
   1807       _ | IFS | as_nl) ;; #(
   1808       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1809       *) $as_unset $ac_var ;;
   1810       esac ;;
   1811     esac
   1812   done
   1813   (set) 2>&1 |
   1814     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1815     *${as_nl}ac_space=\ *)
   1816       sed -n \
   1817 	"s/'\''/'\''\\\\'\'''\''/g;
   1818 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1819       ;; #(
   1820     *)
   1821       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1822       ;;
   1823     esac |
   1824     sort
   1825 )
   1826     echo
   1827 
   1828     cat <<\_ASBOX
   1829 ## ----------------- ##
   1830 ## Output variables. ##
   1831 ## ----------------- ##
   1832 _ASBOX
   1833     echo
   1834     for ac_var in $ac_subst_vars
   1835     do
   1836       eval ac_val=\$$ac_var
   1837       case $ac_val in
   1838       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1839       esac
   1840       $as_echo "$ac_var='\''$ac_val'\''"
   1841     done | sort
   1842     echo
   1843 
   1844     if test -n "$ac_subst_files"; then
   1845       cat <<\_ASBOX
   1846 ## ------------------- ##
   1847 ## File substitutions. ##
   1848 ## ------------------- ##
   1849 _ASBOX
   1850       echo
   1851       for ac_var in $ac_subst_files
   1852       do
   1853 	eval ac_val=\$$ac_var
   1854 	case $ac_val in
   1855 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1856 	esac
   1857 	$as_echo "$ac_var='\''$ac_val'\''"
   1858       done | sort
   1859       echo
   1860     fi
   1861 
   1862     if test -s confdefs.h; then
   1863       cat <<\_ASBOX
   1864 ## ----------- ##
   1865 ## confdefs.h. ##
   1866 ## ----------- ##
   1867 _ASBOX
   1868       echo
   1869       cat confdefs.h
   1870       echo
   1871     fi
   1872     test "$ac_signal" != 0 &&
   1873       $as_echo "$as_me: caught signal $ac_signal"
   1874     $as_echo "$as_me: exit $exit_status"
   1875   } >&5
   1876   rm -f core *.core core.conftest.* &&
   1877     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1878     exit $exit_status
   1879 ' 0
   1880 for ac_signal in 1 2 13 15; do
   1881   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1882 done
   1883 ac_signal=0
   1884 
   1885 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1886 rm -f -r conftest* confdefs.h
   1887 
   1888 # Predefined preprocessor variables.
   1889 
   1890 cat >>confdefs.h <<_ACEOF
   1891 #define PACKAGE_NAME "$PACKAGE_NAME"
   1892 _ACEOF
   1893 
   1894 
   1895 cat >>confdefs.h <<_ACEOF
   1896 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1897 _ACEOF
   1898 
   1899 
   1900 cat >>confdefs.h <<_ACEOF
   1901 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1902 _ACEOF
   1903 
   1904 
   1905 cat >>confdefs.h <<_ACEOF
   1906 #define PACKAGE_STRING "$PACKAGE_STRING"
   1907 _ACEOF
   1908 
   1909 
   1910 cat >>confdefs.h <<_ACEOF
   1911 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1912 _ACEOF
   1913 
   1914 
   1915 # Let the site file select an alternate cache file if it wants to.
   1916 # Prefer an explicitly selected file to automatically selected ones.
   1917 ac_site_file1=NONE
   1918 ac_site_file2=NONE
   1919 if test -n "$CONFIG_SITE"; then
   1920   ac_site_file1=$CONFIG_SITE
   1921 elif test "x$prefix" != xNONE; then
   1922   ac_site_file1=$prefix/share/config.site
   1923   ac_site_file2=$prefix/etc/config.site
   1924 else
   1925   ac_site_file1=$ac_default_prefix/share/config.site
   1926   ac_site_file2=$ac_default_prefix/etc/config.site
   1927 fi
   1928 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1929 do
   1930   test "x$ac_site_file" = xNONE && continue
   1931   if test -r "$ac_site_file"; then
   1932     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1933 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1934     sed 's/^/| /' "$ac_site_file" >&5
   1935     . "$ac_site_file"
   1936   fi
   1937 done
   1938 
   1939 if test -r "$cache_file"; then
   1940   # Some versions of bash will fail to source /dev/null (special
   1941   # files actually), so we avoid doing that.
   1942   if test -f "$cache_file"; then
   1943     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1944 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1945     case $cache_file in
   1946       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1947       *)                      . "./$cache_file";;
   1948     esac
   1949   fi
   1950 else
   1951   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1952 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1953   >$cache_file
   1954 fi
   1955 
   1956 # Check that the precious variables saved in the cache have kept the same
   1957 # value.
   1958 ac_cache_corrupted=false
   1959 for ac_var in $ac_precious_vars; do
   1960   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1961   eval ac_new_set=\$ac_env_${ac_var}_set
   1962   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1963   eval ac_new_val=\$ac_env_${ac_var}_value
   1964   case $ac_old_set,$ac_new_set in
   1965     set,)
   1966       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1967 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1968       ac_cache_corrupted=: ;;
   1969     ,set)
   1970       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1971 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1972       ac_cache_corrupted=: ;;
   1973     ,);;
   1974     *)
   1975       if test "x$ac_old_val" != "x$ac_new_val"; then
   1976 	# differences in whitespace do not lead to failure.
   1977 	ac_old_val_w=`echo x $ac_old_val`
   1978 	ac_new_val_w=`echo x $ac_new_val`
   1979 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1980 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1981 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1982 	  ac_cache_corrupted=:
   1983 	else
   1984 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   1985 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   1986 	  eval $ac_var=\$ac_old_val
   1987 	fi
   1988 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   1989 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   1990 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   1991 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   1992       fi;;
   1993   esac
   1994   # Pass precious variables to config.status.
   1995   if test "$ac_new_set" = set; then
   1996     case $ac_new_val in
   1997     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1998     *) ac_arg=$ac_var=$ac_new_val ;;
   1999     esac
   2000     case " $ac_configure_args " in
   2001       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2002       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2003     esac
   2004   fi
   2005 done
   2006 if $ac_cache_corrupted; then
   2007   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2009   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2010 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2011   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2012 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2013    { (exit 1); exit 1; }; }
   2014 fi
   2015 
   2016 
   2017 
   2018 
   2019 
   2020 
   2021 
   2022 
   2023 
   2024 
   2025 
   2026 
   2027 
   2028 
   2029 
   2030 
   2031 
   2032 
   2033 
   2034 
   2035 
   2036 
   2037 
   2038 
   2039 
   2040 ac_ext=c
   2041 ac_cpp='$CPP $CPPFLAGS'
   2042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2045 
   2046 
   2047 
   2048 
   2049 
   2050 ## --------------------- ##
   2051 ## M4sh Initialization.  ##
   2052 ## --------------------- ##
   2053 
   2054 # Be more Bourne compatible
   2055 DUALCASE=1; export DUALCASE # for MKS sh
   2056 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   2057   emulate sh
   2058   NULLCMD=:
   2059   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   2060   # is contrary to our usage.  Disable this feature.
   2061   alias -g '${1+"$@"}'='"$@"'
   2062   setopt NO_GLOB_SUBST
   2063 else
   2064   case `(set -o) 2>/dev/null` in
   2065   *posix*) set -o posix ;;
   2066 esac
   2067 
   2068 fi
   2069 
   2070 
   2071 
   2072 
   2073 # PATH needs CR
   2074 # Avoid depending upon Character Ranges.
   2075 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   2076 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   2077 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   2078 as_cr_digits='0123456789'
   2079 as_cr_alnum=$as_cr_Letters$as_cr_digits
   2080 
   2081 as_nl='
   2082 '
   2083 export as_nl
   2084 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   2085 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2086 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   2087 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   2088 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   2089   as_echo='printf %s\n'
   2090   as_echo_n='printf %s'
   2091 else
   2092   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   2093     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   2094     as_echo_n='/usr/ucb/echo -n'
   2095   else
   2096     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   2097     as_echo_n_body='eval
   2098       arg=$1;
   2099       case $arg in
   2100       *"$as_nl"*)
   2101 	expr "X$arg" : "X\\(.*\\)$as_nl";
   2102 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   2103       esac;
   2104       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   2105     '
   2106     export as_echo_n_body
   2107     as_echo_n='sh -c $as_echo_n_body as_echo'
   2108   fi
   2109   export as_echo_body
   2110   as_echo='sh -c $as_echo_body as_echo'
   2111 fi
   2112 
   2113 # The user is always right.
   2114 if test "${PATH_SEPARATOR+set}" != set; then
   2115   PATH_SEPARATOR=:
   2116   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   2117     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   2118       PATH_SEPARATOR=';'
   2119   }
   2120 fi
   2121 
   2122 # Support unset when possible.
   2123 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   2124   as_unset=unset
   2125 else
   2126   as_unset=false
   2127 fi
   2128 
   2129 
   2130 # IFS
   2131 # We need space, tab and new line, in precisely that order.  Quoting is
   2132 # there to prevent editors from complaining about space-tab.
   2133 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   2134 # splitting by setting IFS to empty value.)
   2135 IFS=" ""	$as_nl"
   2136 
   2137 # Find who we are.  Look in the path if we contain no directory separator.
   2138 case $0 in
   2139   *[\\/]* ) as_myself=$0 ;;
   2140   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2141 for as_dir in $PATH
   2142 do
   2143   IFS=$as_save_IFS
   2144   test -z "$as_dir" && as_dir=.
   2145   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   2146 done
   2147 IFS=$as_save_IFS
   2148 
   2149      ;;
   2150 esac
   2151 # We did not find ourselves, most probably we were run as `sh COMMAND'
   2152 # in which case we are not to be found in the path.
   2153 if test "x$as_myself" = x; then
   2154   as_myself=$0
   2155 fi
   2156 if test ! -f "$as_myself"; then
   2157   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   2158   { (exit 1); exit 1; }
   2159 fi
   2160 
   2161 # Work around bugs in pre-3.0 UWIN ksh.
   2162 for as_var in ENV MAIL MAILPATH
   2163 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   2164 done
   2165 PS1='$ '
   2166 PS2='> '
   2167 PS4='+ '
   2168 
   2169 # NLS nuisances.
   2170 LC_ALL=C
   2171 export LC_ALL
   2172 LANGUAGE=C
   2173 export LANGUAGE
   2174 
   2175 # Required to use basename.
   2176 if expr a : '\(a\)' >/dev/null 2>&1 &&
   2177    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   2178   as_expr=expr
   2179 else
   2180   as_expr=false
   2181 fi
   2182 
   2183 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   2184   as_basename=basename
   2185 else
   2186   as_basename=false
   2187 fi
   2188 
   2189 
   2190 # Name of the executable.
   2191 as_me=`$as_basename -- "$0" ||
   2192 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   2193 	 X"$0" : 'X\(//\)$' \| \
   2194 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   2195 $as_echo X/"$0" |
   2196     sed '/^.*\/\([^/][^/]*\)\/*$/{
   2197 	    s//\1/
   2198 	    q
   2199 	  }
   2200 	  /^X\/\(\/\/\)$/{
   2201 	    s//\1/
   2202 	    q
   2203 	  }
   2204 	  /^X\/\(\/\).*/{
   2205 	    s//\1/
   2206 	    q
   2207 	  }
   2208 	  s/.*/./; q'`
   2209 
   2210 # CDPATH.
   2211 $as_unset CDPATH
   2212 
   2213 
   2214 
   2215 ac_aux_dir=
   2216 for ac_dir in buildaux "$srcdir"/buildaux; do
   2217   if test -f "$ac_dir/install-sh"; then
   2218     ac_aux_dir=$ac_dir
   2219     ac_install_sh="$ac_aux_dir/install-sh -c"
   2220     break
   2221   elif test -f "$ac_dir/install.sh"; then
   2222     ac_aux_dir=$ac_dir
   2223     ac_install_sh="$ac_aux_dir/install.sh -c"
   2224     break
   2225   elif test -f "$ac_dir/shtool"; then
   2226     ac_aux_dir=$ac_dir
   2227     ac_install_sh="$ac_aux_dir/shtool install -c"
   2228     break
   2229   fi
   2230 done
   2231 if test -z "$ac_aux_dir"; then
   2232   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in buildaux \"$srcdir\"/buildaux" >&5
   2233 $as_echo "$as_me: error: cannot find install-sh or install.sh in buildaux \"$srcdir\"/buildaux" >&2;}
   2234    { (exit 1); exit 1; }; }
   2235 fi
   2236 
   2237 # These three variables are undocumented and unsupported,
   2238 # and are intended to be withdrawn in a future Autoconf release.
   2239 # They can cause serious problems if a builder's source tree is in a directory
   2240 # whose full name contains unusual characters.
   2241 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2242 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2243 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2244 
   2245 
   2246 ac_config_headers="$ac_config_headers src/lib/config.h"
   2247 
   2248 
   2249 am__api_version='1.10'
   2250 
   2251 # Find a good install program.  We prefer a C program (faster),
   2252 # so one script is as good as another.  But avoid the broken or
   2253 # incompatible versions:
   2254 # SysV /etc/install, /usr/sbin/install
   2255 # SunOS /usr/etc/install
   2256 # IRIX /sbin/install
   2257 # AIX /bin/install
   2258 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2259 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2260 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2261 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2262 # OS/2's system install, which has a completely different semantic
   2263 # ./install, which can be erroneously created by make from ./install.sh.
   2264 # Reject install programs that cannot install multiple files.
   2265 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2266 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2267 if test -z "$INSTALL"; then
   2268 if test "${ac_cv_path_install+set}" = set; then
   2269   $as_echo_n "(cached) " >&6
   2270 else
   2271   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2272 for as_dir in $PATH
   2273 do
   2274   IFS=$as_save_IFS
   2275   test -z "$as_dir" && as_dir=.
   2276   # Account for people who put trailing slashes in PATH elements.
   2277 case $as_dir/ in
   2278   ./ | .// | /cC/* | \
   2279   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2280   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2281   /usr/ucb/* ) ;;
   2282   *)
   2283     # OSF1 and SCO ODT 3.0 have their own names for install.
   2284     # Don't use installbsd from OSF since it installs stuff as root
   2285     # by default.
   2286     for ac_prog in ginstall scoinst install; do
   2287       for ac_exec_ext in '' $ac_executable_extensions; do
   2288 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2289 	  if test $ac_prog = install &&
   2290 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2291 	    # AIX install.  It has an incompatible calling convention.
   2292 	    :
   2293 	  elif test $ac_prog = install &&
   2294 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2295 	    # program-specific install script used by HP pwplus--don't use.
   2296 	    :
   2297 	  else
   2298 	    rm -rf conftest.one conftest.two conftest.dir
   2299 	    echo one > conftest.one
   2300 	    echo two > conftest.two
   2301 	    mkdir conftest.dir
   2302 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2303 	      test -s conftest.one && test -s conftest.two &&
   2304 	      test -s conftest.dir/conftest.one &&
   2305 	      test -s conftest.dir/conftest.two
   2306 	    then
   2307 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2308 	      break 3
   2309 	    fi
   2310 	  fi
   2311 	fi
   2312       done
   2313     done
   2314     ;;
   2315 esac
   2316 
   2317 done
   2318 IFS=$as_save_IFS
   2319 
   2320 rm -rf conftest.one conftest.two conftest.dir
   2321 
   2322 fi
   2323   if test "${ac_cv_path_install+set}" = set; then
   2324     INSTALL=$ac_cv_path_install
   2325   else
   2326     # As a last resort, use the slow shell script.  Don't cache a
   2327     # value for INSTALL within a source directory, because that will
   2328     # break other packages using the cache if that directory is
   2329     # removed, or if the value is a relative name.
   2330     INSTALL=$ac_install_sh
   2331   fi
   2332 fi
   2333 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2334 $as_echo "$INSTALL" >&6; }
   2335 
   2336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2337 # It thinks the first close brace ends the variable substitution.
   2338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2339 
   2340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2341 
   2342 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2343 
   2344 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2345 $as_echo_n "checking whether build environment is sane... " >&6; }
   2346 # Just in case
   2347 sleep 1
   2348 echo timestamp > conftest.file
   2349 # Do `set' in a subshell so we don't clobber the current shell's
   2350 # arguments.  Must try -L first in case configure is actually a
   2351 # symlink; some systems play weird games with the mod time of symlinks
   2352 # (eg FreeBSD returns the mod time of the symlink's containing
   2353 # directory).
   2354 if (
   2355    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2356    if test "$*" = "X"; then
   2357       # -L didn't work.
   2358       set X `ls -t $srcdir/configure conftest.file`
   2359    fi
   2360    rm -f conftest.file
   2361    if test "$*" != "X $srcdir/configure conftest.file" \
   2362       && test "$*" != "X conftest.file $srcdir/configure"; then
   2363 
   2364       # If neither matched, then we have a broken ls.  This can happen
   2365       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2366       # broken ls alias from the environment.  This has actually
   2367       # happened.  Such a system could not be considered "sane".
   2368       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2369 alias in your environment" >&5
   2370 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2371 alias in your environment" >&2;}
   2372    { (exit 1); exit 1; }; }
   2373    fi
   2374 
   2375    test "$2" = conftest.file
   2376    )
   2377 then
   2378    # Ok.
   2379    :
   2380 else
   2381    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2382 Check your system clock" >&5
   2383 $as_echo "$as_me: error: newly created file is older than distributed files!
   2384 Check your system clock" >&2;}
   2385    { (exit 1); exit 1; }; }
   2386 fi
   2387 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2388 $as_echo "yes" >&6; }
   2389 test "$program_prefix" != NONE &&
   2390   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2391 # Use a double $ so make ignores it.
   2392 test "$program_suffix" != NONE &&
   2393   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2394 # Double any \ or $.
   2395 # By default was `s,x,x', remove it if useless.
   2396 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2397 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2398 
   2399 # expand $ac_aux_dir to an absolute path
   2400 am_aux_dir=`cd $ac_aux_dir && pwd`
   2401 
   2402 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2403 # Use eval to expand $SHELL
   2404 if eval "$MISSING --run true"; then
   2405   am_missing_run="$MISSING --run "
   2406 else
   2407   am_missing_run=
   2408   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2409 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2410 fi
   2411 
   2412 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2413 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2414 if test -z "$MKDIR_P"; then
   2415   if test "${ac_cv_path_mkdir+set}" = set; then
   2416   $as_echo_n "(cached) " >&6
   2417 else
   2418   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2419 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2420 do
   2421   IFS=$as_save_IFS
   2422   test -z "$as_dir" && as_dir=.
   2423   for ac_prog in mkdir gmkdir; do
   2424 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2425 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2426 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2427 	     'mkdir (GNU coreutils) '* | \
   2428 	     'mkdir (coreutils) '* | \
   2429 	     'mkdir (fileutils) '4.1*)
   2430 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2431 	       break 3;;
   2432 	   esac
   2433 	 done
   2434        done
   2435 done
   2436 IFS=$as_save_IFS
   2437 
   2438 fi
   2439 
   2440   if test "${ac_cv_path_mkdir+set}" = set; then
   2441     MKDIR_P="$ac_cv_path_mkdir -p"
   2442   else
   2443     # As a last resort, use the slow shell script.  Don't cache a
   2444     # value for MKDIR_P within a source directory, because that will
   2445     # break other packages using the cache if that directory is
   2446     # removed, or if the value is a relative name.
   2447     test -d ./--version && rmdir ./--version
   2448     MKDIR_P="$ac_install_sh -d"
   2449   fi
   2450 fi
   2451 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2452 $as_echo "$MKDIR_P" >&6; }
   2453 
   2454 mkdir_p="$MKDIR_P"
   2455 case $mkdir_p in
   2456   [\\/$]* | ?:[\\/]*) ;;
   2457   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2458 esac
   2459 
   2460 for ac_prog in gawk mawk nawk awk
   2461 do
   2462   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2463 set dummy $ac_prog; ac_word=$2
   2464 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2465 $as_echo_n "checking for $ac_word... " >&6; }
   2466 if test "${ac_cv_prog_AWK+set}" = set; then
   2467   $as_echo_n "(cached) " >&6
   2468 else
   2469   if test -n "$AWK"; then
   2470   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2471 else
   2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2473 for as_dir in $PATH
   2474 do
   2475   IFS=$as_save_IFS
   2476   test -z "$as_dir" && as_dir=.
   2477   for ac_exec_ext in '' $ac_executable_extensions; do
   2478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2479     ac_cv_prog_AWK="$ac_prog"
   2480     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2481     break 2
   2482   fi
   2483 done
   2484 done
   2485 IFS=$as_save_IFS
   2486 
   2487 fi
   2488 fi
   2489 AWK=$ac_cv_prog_AWK
   2490 if test -n "$AWK"; then
   2491   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2492 $as_echo "$AWK" >&6; }
   2493 else
   2494   { $as_echo "$as_me:$LINENO: result: no" >&5
   2495 $as_echo "no" >&6; }
   2496 fi
   2497 
   2498 
   2499   test -n "$AWK" && break
   2500 done
   2501 
   2502 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2503 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2504 set x ${MAKE-make}
   2505 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2506 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2507   $as_echo_n "(cached) " >&6
   2508 else
   2509   cat >conftest.make <<\_ACEOF
   2510 SHELL = /bin/sh
   2511 all:
   2512 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2513 _ACEOF
   2514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2515 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2516   *@@@%%%=?*=@@@%%%*)
   2517     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2518   *)
   2519     eval ac_cv_prog_make_${ac_make}_set=no;;
   2520 esac
   2521 rm -f conftest.make
   2522 fi
   2523 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2524   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2525 $as_echo "yes" >&6; }
   2526   SET_MAKE=
   2527 else
   2528   { $as_echo "$as_me:$LINENO: result: no" >&5
   2529 $as_echo "no" >&6; }
   2530   SET_MAKE="MAKE=${MAKE-make}"
   2531 fi
   2532 
   2533 rm -rf .tst 2>/dev/null
   2534 mkdir .tst 2>/dev/null
   2535 if test -d .tst; then
   2536   am__leading_dot=.
   2537 else
   2538   am__leading_dot=_
   2539 fi
   2540 rmdir .tst 2>/dev/null
   2541 
   2542 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2543   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2544   # is not polluted with repeated "-I."
   2545   am__isrc=' -I$(srcdir)'
   2546   # test to see if srcdir already configured
   2547   if test -f $srcdir/config.status; then
   2548     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2549 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2550    { (exit 1); exit 1; }; }
   2551   fi
   2552 fi
   2553 
   2554 # test whether we have cygpath
   2555 if test -z "$CYGPATH_W"; then
   2556   if (cygpath --version) >/dev/null 2>/dev/null; then
   2557     CYGPATH_W='cygpath -w'
   2558   else
   2559     CYGPATH_W=echo
   2560   fi
   2561 fi
   2562 
   2563 
   2564 # Define the identity of the package.
   2565  PACKAGE='netpgp'
   2566  VERSION='20090526'
   2567 
   2568 
   2569 cat >>confdefs.h <<_ACEOF
   2570 #define PACKAGE "$PACKAGE"
   2571 _ACEOF
   2572 
   2573 
   2574 cat >>confdefs.h <<_ACEOF
   2575 #define VERSION "$VERSION"
   2576 _ACEOF
   2577 
   2578 # Some tools Automake needs.
   2579 
   2580 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2581 
   2582 
   2583 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2584 
   2585 
   2586 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2587 
   2588 
   2589 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2590 
   2591 
   2592 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2593 
   2594 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2595 
   2596 # Installed binaries are usually stripped using `strip' when the user
   2597 # run `make install-strip'.  However `strip' might not be the right
   2598 # tool to use in cross-compilation environments, therefore Automake
   2599 # will honor the `STRIP' environment variable to overrule this program.
   2600 if test "$cross_compiling" != no; then
   2601   if test -n "$ac_tool_prefix"; then
   2602   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2603 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2604 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2605 $as_echo_n "checking for $ac_word... " >&6; }
   2606 if test "${ac_cv_prog_STRIP+set}" = set; then
   2607   $as_echo_n "(cached) " >&6
   2608 else
   2609   if test -n "$STRIP"; then
   2610   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2611 else
   2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2613 for as_dir in $PATH
   2614 do
   2615   IFS=$as_save_IFS
   2616   test -z "$as_dir" && as_dir=.
   2617   for ac_exec_ext in '' $ac_executable_extensions; do
   2618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2619     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2620     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2621     break 2
   2622   fi
   2623 done
   2624 done
   2625 IFS=$as_save_IFS
   2626 
   2627 fi
   2628 fi
   2629 STRIP=$ac_cv_prog_STRIP
   2630 if test -n "$STRIP"; then
   2631   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2632 $as_echo "$STRIP" >&6; }
   2633 else
   2634   { $as_echo "$as_me:$LINENO: result: no" >&5
   2635 $as_echo "no" >&6; }
   2636 fi
   2637 
   2638 
   2639 fi
   2640 if test -z "$ac_cv_prog_STRIP"; then
   2641   ac_ct_STRIP=$STRIP
   2642   # Extract the first word of "strip", so it can be a program name with args.
   2643 set dummy strip; ac_word=$2
   2644 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2645 $as_echo_n "checking for $ac_word... " >&6; }
   2646 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2647   $as_echo_n "(cached) " >&6
   2648 else
   2649   if test -n "$ac_ct_STRIP"; then
   2650   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2651 else
   2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2653 for as_dir in $PATH
   2654 do
   2655   IFS=$as_save_IFS
   2656   test -z "$as_dir" && as_dir=.
   2657   for ac_exec_ext in '' $ac_executable_extensions; do
   2658   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2659     ac_cv_prog_ac_ct_STRIP="strip"
   2660     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2661     break 2
   2662   fi
   2663 done
   2664 done
   2665 IFS=$as_save_IFS
   2666 
   2667 fi
   2668 fi
   2669 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2670 if test -n "$ac_ct_STRIP"; then
   2671   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2672 $as_echo "$ac_ct_STRIP" >&6; }
   2673 else
   2674   { $as_echo "$as_me:$LINENO: result: no" >&5
   2675 $as_echo "no" >&6; }
   2676 fi
   2677 
   2678   if test "x$ac_ct_STRIP" = x; then
   2679     STRIP=":"
   2680   else
   2681     case $cross_compiling:$ac_tool_warned in
   2682 yes:)
   2683 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2685 ac_tool_warned=yes ;;
   2686 esac
   2687     STRIP=$ac_ct_STRIP
   2688   fi
   2689 else
   2690   STRIP="$ac_cv_prog_STRIP"
   2691 fi
   2692 
   2693 fi
   2694 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2695 
   2696 # We need awk for the "check" target.  The system "awk" is bad on
   2697 # some platforms.
   2698 # Always define AMTAR for backward compatibility.
   2699 
   2700 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2701 
   2702 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2703 
   2704 
   2705 
   2706 
   2707 
   2708 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2709 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2710     # Check whether --enable-maintainer-mode was given.
   2711 if test "${enable_maintainer_mode+set}" = set; then
   2712   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2713 else
   2714   USE_MAINTAINER_MODE=no
   2715 fi
   2716 
   2717   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2718 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2719    if test $USE_MAINTAINER_MODE = yes; then
   2720   MAINTAINER_MODE_TRUE=
   2721   MAINTAINER_MODE_FALSE='#'
   2722 else
   2723   MAINTAINER_MODE_TRUE='#'
   2724   MAINTAINER_MODE_FALSE=
   2725 fi
   2726 
   2727   MAINT=$MAINTAINER_MODE_TRUE
   2728 
   2729 
   2730 
   2731 # Make sure we can run config.sub.
   2732 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2733   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2734 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2735    { (exit 1); exit 1; }; }
   2736 
   2737 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2738 $as_echo_n "checking build system type... " >&6; }
   2739 if test "${ac_cv_build+set}" = set; then
   2740   $as_echo_n "(cached) " >&6
   2741 else
   2742   ac_build_alias=$build_alias
   2743 test "x$ac_build_alias" = x &&
   2744   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2745 test "x$ac_build_alias" = x &&
   2746   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2747 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2748    { (exit 1); exit 1; }; }
   2749 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2750   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2751 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2752    { (exit 1); exit 1; }; }
   2753 
   2754 fi
   2755 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2756 $as_echo "$ac_cv_build" >&6; }
   2757 case $ac_cv_build in
   2758 *-*-*) ;;
   2759 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2760 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2761    { (exit 1); exit 1; }; };;
   2762 esac
   2763 build=$ac_cv_build
   2764 ac_save_IFS=$IFS; IFS='-'
   2765 set x $ac_cv_build
   2766 shift
   2767 build_cpu=$1
   2768 build_vendor=$2
   2769 shift; shift
   2770 # Remember, the first character of IFS is used to create $*,
   2771 # except with old shells:
   2772 build_os=$*
   2773 IFS=$ac_save_IFS
   2774 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2775 
   2776 
   2777 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2778 $as_echo_n "checking host system type... " >&6; }
   2779 if test "${ac_cv_host+set}" = set; then
   2780   $as_echo_n "(cached) " >&6
   2781 else
   2782   if test "x$host_alias" = x; then
   2783   ac_cv_host=$ac_cv_build
   2784 else
   2785   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2786     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2787 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2788    { (exit 1); exit 1; }; }
   2789 fi
   2790 
   2791 fi
   2792 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2793 $as_echo "$ac_cv_host" >&6; }
   2794 case $ac_cv_host in
   2795 *-*-*) ;;
   2796 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2797 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2798    { (exit 1); exit 1; }; };;
   2799 esac
   2800 host=$ac_cv_host
   2801 ac_save_IFS=$IFS; IFS='-'
   2802 set x $ac_cv_host
   2803 shift
   2804 host_cpu=$1
   2805 host_vendor=$2
   2806 shift; shift
   2807 # Remember, the first character of IFS is used to create $*,
   2808 # except with old shells:
   2809 host_os=$*
   2810 IFS=$ac_save_IFS
   2811 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2812 
   2813 
   2814 CANONICAL_HOST=$host
   2815 
   2816 
   2817 # Checks for programs.
   2818 #
   2819 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2820 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2821 set x ${MAKE-make}
   2822 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2823 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2824   $as_echo_n "(cached) " >&6
   2825 else
   2826   cat >conftest.make <<\_ACEOF
   2827 SHELL = /bin/sh
   2828 all:
   2829 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2830 _ACEOF
   2831 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2832 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2833   *@@@%%%=?*=@@@%%%*)
   2834     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2835   *)
   2836     eval ac_cv_prog_make_${ac_make}_set=no;;
   2837 esac
   2838 rm -f conftest.make
   2839 fi
   2840 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2841   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2842 $as_echo "yes" >&6; }
   2843   SET_MAKE=
   2844 else
   2845   { $as_echo "$as_me:$LINENO: result: no" >&5
   2846 $as_echo "no" >&6; }
   2847   SET_MAKE="MAKE=${MAKE-make}"
   2848 fi
   2849 
   2850 for ac_prog in gawk mawk nawk awk
   2851 do
   2852   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2853 set dummy $ac_prog; ac_word=$2
   2854 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2855 $as_echo_n "checking for $ac_word... " >&6; }
   2856 if test "${ac_cv_prog_AWK+set}" = set; then
   2857   $as_echo_n "(cached) " >&6
   2858 else
   2859   if test -n "$AWK"; then
   2860   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2861 else
   2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2863 for as_dir in $PATH
   2864 do
   2865   IFS=$as_save_IFS
   2866   test -z "$as_dir" && as_dir=.
   2867   for ac_exec_ext in '' $ac_executable_extensions; do
   2868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2869     ac_cv_prog_AWK="$ac_prog"
   2870     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2871     break 2
   2872   fi
   2873 done
   2874 done
   2875 IFS=$as_save_IFS
   2876 
   2877 fi
   2878 fi
   2879 AWK=$ac_cv_prog_AWK
   2880 if test -n "$AWK"; then
   2881   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2882 $as_echo "$AWK" >&6; }
   2883 else
   2884   { $as_echo "$as_me:$LINENO: result: no" >&5
   2885 $as_echo "no" >&6; }
   2886 fi
   2887 
   2888 
   2889   test -n "$AWK" && break
   2890 done
   2891 
   2892 ac_ext=c
   2893 ac_cpp='$CPP $CPPFLAGS'
   2894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2897 if test -n "$ac_tool_prefix"; then
   2898   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2899 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2900 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2901 $as_echo_n "checking for $ac_word... " >&6; }
   2902 if test "${ac_cv_prog_CC+set}" = set; then
   2903   $as_echo_n "(cached) " >&6
   2904 else
   2905   if test -n "$CC"; then
   2906   ac_cv_prog_CC="$CC" # Let the user override the test.
   2907 else
   2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2909 for as_dir in $PATH
   2910 do
   2911   IFS=$as_save_IFS
   2912   test -z "$as_dir" && as_dir=.
   2913   for ac_exec_ext in '' $ac_executable_extensions; do
   2914   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2915     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2916     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2917     break 2
   2918   fi
   2919 done
   2920 done
   2921 IFS=$as_save_IFS
   2922 
   2923 fi
   2924 fi
   2925 CC=$ac_cv_prog_CC
   2926 if test -n "$CC"; then
   2927   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2928 $as_echo "$CC" >&6; }
   2929 else
   2930   { $as_echo "$as_me:$LINENO: result: no" >&5
   2931 $as_echo "no" >&6; }
   2932 fi
   2933 
   2934 
   2935 fi
   2936 if test -z "$ac_cv_prog_CC"; then
   2937   ac_ct_CC=$CC
   2938   # Extract the first word of "gcc", so it can be a program name with args.
   2939 set dummy gcc; ac_word=$2
   2940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2941 $as_echo_n "checking for $ac_word... " >&6; }
   2942 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2943   $as_echo_n "(cached) " >&6
   2944 else
   2945   if test -n "$ac_ct_CC"; then
   2946   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2947 else
   2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2949 for as_dir in $PATH
   2950 do
   2951   IFS=$as_save_IFS
   2952   test -z "$as_dir" && as_dir=.
   2953   for ac_exec_ext in '' $ac_executable_extensions; do
   2954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2955     ac_cv_prog_ac_ct_CC="gcc"
   2956     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2957     break 2
   2958   fi
   2959 done
   2960 done
   2961 IFS=$as_save_IFS
   2962 
   2963 fi
   2964 fi
   2965 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2966 if test -n "$ac_ct_CC"; then
   2967   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2968 $as_echo "$ac_ct_CC" >&6; }
   2969 else
   2970   { $as_echo "$as_me:$LINENO: result: no" >&5
   2971 $as_echo "no" >&6; }
   2972 fi
   2973 
   2974   if test "x$ac_ct_CC" = x; then
   2975     CC=""
   2976   else
   2977     case $cross_compiling:$ac_tool_warned in
   2978 yes:)
   2979 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2981 ac_tool_warned=yes ;;
   2982 esac
   2983     CC=$ac_ct_CC
   2984   fi
   2985 else
   2986   CC="$ac_cv_prog_CC"
   2987 fi
   2988 
   2989 if test -z "$CC"; then
   2990           if test -n "$ac_tool_prefix"; then
   2991     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2992 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2993 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2994 $as_echo_n "checking for $ac_word... " >&6; }
   2995 if test "${ac_cv_prog_CC+set}" = set; then
   2996   $as_echo_n "(cached) " >&6
   2997 else
   2998   if test -n "$CC"; then
   2999   ac_cv_prog_CC="$CC" # Let the user override the test.
   3000 else
   3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3002 for as_dir in $PATH
   3003 do
   3004   IFS=$as_save_IFS
   3005   test -z "$as_dir" && as_dir=.
   3006   for ac_exec_ext in '' $ac_executable_extensions; do
   3007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3008     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3009     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3010     break 2
   3011   fi
   3012 done
   3013 done
   3014 IFS=$as_save_IFS
   3015 
   3016 fi
   3017 fi
   3018 CC=$ac_cv_prog_CC
   3019 if test -n "$CC"; then
   3020   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3021 $as_echo "$CC" >&6; }
   3022 else
   3023   { $as_echo "$as_me:$LINENO: result: no" >&5
   3024 $as_echo "no" >&6; }
   3025 fi
   3026 
   3027 
   3028   fi
   3029 fi
   3030 if test -z "$CC"; then
   3031   # Extract the first word of "cc", so it can be a program name with args.
   3032 set dummy cc; ac_word=$2
   3033 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3034 $as_echo_n "checking for $ac_word... " >&6; }
   3035 if test "${ac_cv_prog_CC+set}" = set; then
   3036   $as_echo_n "(cached) " >&6
   3037 else
   3038   if test -n "$CC"; then
   3039   ac_cv_prog_CC="$CC" # Let the user override the test.
   3040 else
   3041   ac_prog_rejected=no
   3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3043 for as_dir in $PATH
   3044 do
   3045   IFS=$as_save_IFS
   3046   test -z "$as_dir" && as_dir=.
   3047   for ac_exec_ext in '' $ac_executable_extensions; do
   3048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3049     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3050        ac_prog_rejected=yes
   3051        continue
   3052      fi
   3053     ac_cv_prog_CC="cc"
   3054     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3055     break 2
   3056   fi
   3057 done
   3058 done
   3059 IFS=$as_save_IFS
   3060 
   3061 if test $ac_prog_rejected = yes; then
   3062   # We found a bogon in the path, so make sure we never use it.
   3063   set dummy $ac_cv_prog_CC
   3064   shift
   3065   if test $# != 0; then
   3066     # We chose a different compiler from the bogus one.
   3067     # However, it has the same basename, so the bogon will be chosen
   3068     # first if we set CC to just the basename; use the full file name.
   3069     shift
   3070     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3071   fi
   3072 fi
   3073 fi
   3074 fi
   3075 CC=$ac_cv_prog_CC
   3076 if test -n "$CC"; then
   3077   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3078 $as_echo "$CC" >&6; }
   3079 else
   3080   { $as_echo "$as_me:$LINENO: result: no" >&5
   3081 $as_echo "no" >&6; }
   3082 fi
   3083 
   3084 
   3085 fi
   3086 if test -z "$CC"; then
   3087   if test -n "$ac_tool_prefix"; then
   3088   for ac_prog in cl.exe
   3089   do
   3090     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3091 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3092 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3093 $as_echo_n "checking for $ac_word... " >&6; }
   3094 if test "${ac_cv_prog_CC+set}" = set; then
   3095   $as_echo_n "(cached) " >&6
   3096 else
   3097   if test -n "$CC"; then
   3098   ac_cv_prog_CC="$CC" # Let the user override the test.
   3099 else
   3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3101 for as_dir in $PATH
   3102 do
   3103   IFS=$as_save_IFS
   3104   test -z "$as_dir" && as_dir=.
   3105   for ac_exec_ext in '' $ac_executable_extensions; do
   3106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3107     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3108     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3109     break 2
   3110   fi
   3111 done
   3112 done
   3113 IFS=$as_save_IFS
   3114 
   3115 fi
   3116 fi
   3117 CC=$ac_cv_prog_CC
   3118 if test -n "$CC"; then
   3119   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3120 $as_echo "$CC" >&6; }
   3121 else
   3122   { $as_echo "$as_me:$LINENO: result: no" >&5
   3123 $as_echo "no" >&6; }
   3124 fi
   3125 
   3126 
   3127     test -n "$CC" && break
   3128   done
   3129 fi
   3130 if test -z "$CC"; then
   3131   ac_ct_CC=$CC
   3132   for ac_prog in cl.exe
   3133 do
   3134   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3135 set dummy $ac_prog; ac_word=$2
   3136 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3137 $as_echo_n "checking for $ac_word... " >&6; }
   3138 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3139   $as_echo_n "(cached) " >&6
   3140 else
   3141   if test -n "$ac_ct_CC"; then
   3142   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3143 else
   3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3145 for as_dir in $PATH
   3146 do
   3147   IFS=$as_save_IFS
   3148   test -z "$as_dir" && as_dir=.
   3149   for ac_exec_ext in '' $ac_executable_extensions; do
   3150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3151     ac_cv_prog_ac_ct_CC="$ac_prog"
   3152     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3153     break 2
   3154   fi
   3155 done
   3156 done
   3157 IFS=$as_save_IFS
   3158 
   3159 fi
   3160 fi
   3161 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3162 if test -n "$ac_ct_CC"; then
   3163   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3164 $as_echo "$ac_ct_CC" >&6; }
   3165 else
   3166   { $as_echo "$as_me:$LINENO: result: no" >&5
   3167 $as_echo "no" >&6; }
   3168 fi
   3169 
   3170 
   3171   test -n "$ac_ct_CC" && break
   3172 done
   3173 
   3174   if test "x$ac_ct_CC" = x; then
   3175     CC=""
   3176   else
   3177     case $cross_compiling:$ac_tool_warned in
   3178 yes:)
   3179 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3181 ac_tool_warned=yes ;;
   3182 esac
   3183     CC=$ac_ct_CC
   3184   fi
   3185 fi
   3186 
   3187 fi
   3188 
   3189 
   3190 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3192 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3193 See \`config.log' for more details." >&5
   3194 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3195 See \`config.log' for more details." >&2;}
   3196    { (exit 1); exit 1; }; }; }
   3197 
   3198 # Provide some information about the compiler.
   3199 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3200 set X $ac_compile
   3201 ac_compiler=$2
   3202 { (ac_try="$ac_compiler --version >&5"
   3203 case "(($ac_try" in
   3204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3205   *) ac_try_echo=$ac_try;;
   3206 esac
   3207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3208 $as_echo "$ac_try_echo") >&5
   3209   (eval "$ac_compiler --version >&5") 2>&5
   3210   ac_status=$?
   3211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3212   (exit $ac_status); }
   3213 { (ac_try="$ac_compiler -v >&5"
   3214 case "(($ac_try" in
   3215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3216   *) ac_try_echo=$ac_try;;
   3217 esac
   3218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3219 $as_echo "$ac_try_echo") >&5
   3220   (eval "$ac_compiler -v >&5") 2>&5
   3221   ac_status=$?
   3222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3223   (exit $ac_status); }
   3224 { (ac_try="$ac_compiler -V >&5"
   3225 case "(($ac_try" in
   3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3227   *) ac_try_echo=$ac_try;;
   3228 esac
   3229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3230 $as_echo "$ac_try_echo") >&5
   3231   (eval "$ac_compiler -V >&5") 2>&5
   3232   ac_status=$?
   3233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3234   (exit $ac_status); }
   3235 
   3236 cat >conftest.$ac_ext <<_ACEOF
   3237 /* confdefs.h.  */
   3238 _ACEOF
   3239 cat confdefs.h >>conftest.$ac_ext
   3240 cat >>conftest.$ac_ext <<_ACEOF
   3241 /* end confdefs.h.  */
   3242 
   3243 int
   3244 main ()
   3245 {
   3246 
   3247   ;
   3248   return 0;
   3249 }
   3250 _ACEOF
   3251 ac_clean_files_save=$ac_clean_files
   3252 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3253 # Try to create an executable without -o first, disregard a.out.
   3254 # It will help us diagnose broken compilers, and finding out an intuition
   3255 # of exeext.
   3256 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3257 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3258 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3259 
   3260 # The possible output files:
   3261 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3262 
   3263 ac_rmfiles=
   3264 for ac_file in $ac_files
   3265 do
   3266   case $ac_file in
   3267     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3268     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3269   esac
   3270 done
   3271 rm -f $ac_rmfiles
   3272 
   3273 if { (ac_try="$ac_link_default"
   3274 case "(($ac_try" in
   3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3276   *) ac_try_echo=$ac_try;;
   3277 esac
   3278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3279 $as_echo "$ac_try_echo") >&5
   3280   (eval "$ac_link_default") 2>&5
   3281   ac_status=$?
   3282   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3283   (exit $ac_status); }; then
   3284   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3285 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3286 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3287 # so that the user can short-circuit this test for compilers unknown to
   3288 # Autoconf.
   3289 for ac_file in $ac_files ''
   3290 do
   3291   test -f "$ac_file" || continue
   3292   case $ac_file in
   3293     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3294 	;;
   3295     [ab].out )
   3296 	# We found the default executable, but exeext='' is most
   3297 	# certainly right.
   3298 	break;;
   3299     *.* )
   3300         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3301 	then :; else
   3302 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3303 	fi
   3304 	# We set ac_cv_exeext here because the later test for it is not
   3305 	# safe: cross compilers may not add the suffix if given an `-o'
   3306 	# argument, so we may need to know it at that point already.
   3307 	# Even if this section looks crufty: it has the advantage of
   3308 	# actually working.
   3309 	break;;
   3310     * )
   3311 	break;;
   3312   esac
   3313 done
   3314 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3315 
   3316 else
   3317   ac_file=''
   3318 fi
   3319 
   3320 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3321 $as_echo "$ac_file" >&6; }
   3322 if test -z "$ac_file"; then
   3323   $as_echo "$as_me: failed program was:" >&5
   3324 sed 's/^/| /' conftest.$ac_ext >&5
   3325 
   3326 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3328 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3329 See \`config.log' for more details." >&5
   3330 $as_echo "$as_me: error: C compiler cannot create executables
   3331 See \`config.log' for more details." >&2;}
   3332    { (exit 77); exit 77; }; }; }
   3333 fi
   3334 
   3335 ac_exeext=$ac_cv_exeext
   3336 
   3337 # Check that the compiler produces executables we can run.  If not, either
   3338 # the compiler is broken, or we cross compile.
   3339 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3340 $as_echo_n "checking whether the C compiler works... " >&6; }
   3341 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3342 # If not cross compiling, check that we can run a simple program.
   3343 if test "$cross_compiling" != yes; then
   3344   if { ac_try='./$ac_file'
   3345   { (case "(($ac_try" in
   3346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3347   *) ac_try_echo=$ac_try;;
   3348 esac
   3349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3350 $as_echo "$ac_try_echo") >&5
   3351   (eval "$ac_try") 2>&5
   3352   ac_status=$?
   3353   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3354   (exit $ac_status); }; }; then
   3355     cross_compiling=no
   3356   else
   3357     if test "$cross_compiling" = maybe; then
   3358 	cross_compiling=yes
   3359     else
   3360 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3362 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3363 If you meant to cross compile, use \`--host'.
   3364 See \`config.log' for more details." >&5
   3365 $as_echo "$as_me: error: cannot run C compiled programs.
   3366 If you meant to cross compile, use \`--host'.
   3367 See \`config.log' for more details." >&2;}
   3368    { (exit 1); exit 1; }; }; }
   3369     fi
   3370   fi
   3371 fi
   3372 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3373 $as_echo "yes" >&6; }
   3374 
   3375 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3376 ac_clean_files=$ac_clean_files_save
   3377 # Check that the compiler produces executables we can run.  If not, either
   3378 # the compiler is broken, or we cross compile.
   3379 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3380 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3381 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3382 $as_echo "$cross_compiling" >&6; }
   3383 
   3384 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3385 $as_echo_n "checking for suffix of executables... " >&6; }
   3386 if { (ac_try="$ac_link"
   3387 case "(($ac_try" in
   3388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3389   *) ac_try_echo=$ac_try;;
   3390 esac
   3391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3392 $as_echo "$ac_try_echo") >&5
   3393   (eval "$ac_link") 2>&5
   3394   ac_status=$?
   3395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3396   (exit $ac_status); }; then
   3397   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3398 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3399 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3400 # `rm'.
   3401 for ac_file in conftest.exe conftest conftest.*; do
   3402   test -f "$ac_file" || continue
   3403   case $ac_file in
   3404     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3405     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3406 	  break;;
   3407     * ) break;;
   3408   esac
   3409 done
   3410 else
   3411   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3413 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3414 See \`config.log' for more details." >&5
   3415 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3416 See \`config.log' for more details." >&2;}
   3417    { (exit 1); exit 1; }; }; }
   3418 fi
   3419 
   3420 rm -f conftest$ac_cv_exeext
   3421 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3422 $as_echo "$ac_cv_exeext" >&6; }
   3423 
   3424 rm -f conftest.$ac_ext
   3425 EXEEXT=$ac_cv_exeext
   3426 ac_exeext=$EXEEXT
   3427 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3428 $as_echo_n "checking for suffix of object files... " >&6; }
   3429 if test "${ac_cv_objext+set}" = set; then
   3430   $as_echo_n "(cached) " >&6
   3431 else
   3432   cat >conftest.$ac_ext <<_ACEOF
   3433 /* confdefs.h.  */
   3434 _ACEOF
   3435 cat confdefs.h >>conftest.$ac_ext
   3436 cat >>conftest.$ac_ext <<_ACEOF
   3437 /* end confdefs.h.  */
   3438 
   3439 int
   3440 main ()
   3441 {
   3442 
   3443   ;
   3444   return 0;
   3445 }
   3446 _ACEOF
   3447 rm -f conftest.o conftest.obj
   3448 if { (ac_try="$ac_compile"
   3449 case "(($ac_try" in
   3450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3451   *) ac_try_echo=$ac_try;;
   3452 esac
   3453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3454 $as_echo "$ac_try_echo") >&5
   3455   (eval "$ac_compile") 2>&5
   3456   ac_status=$?
   3457   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3458   (exit $ac_status); }; then
   3459   for ac_file in conftest.o conftest.obj conftest.*; do
   3460   test -f "$ac_file" || continue;
   3461   case $ac_file in
   3462     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3463     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3464        break;;
   3465   esac
   3466 done
   3467 else
   3468   $as_echo "$as_me: failed program was:" >&5
   3469 sed 's/^/| /' conftest.$ac_ext >&5
   3470 
   3471 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3473 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3474 See \`config.log' for more details." >&5
   3475 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3476 See \`config.log' for more details." >&2;}
   3477    { (exit 1); exit 1; }; }; }
   3478 fi
   3479 
   3480 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3481 fi
   3482 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3483 $as_echo "$ac_cv_objext" >&6; }
   3484 OBJEXT=$ac_cv_objext
   3485 ac_objext=$OBJEXT
   3486 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3487 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3488 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3489   $as_echo_n "(cached) " >&6
   3490 else
   3491   cat >conftest.$ac_ext <<_ACEOF
   3492 /* confdefs.h.  */
   3493 _ACEOF
   3494 cat confdefs.h >>conftest.$ac_ext
   3495 cat >>conftest.$ac_ext <<_ACEOF
   3496 /* end confdefs.h.  */
   3497 
   3498 int
   3499 main ()
   3500 {
   3501 #ifndef __GNUC__
   3502        choke me
   3503 #endif
   3504 
   3505   ;
   3506   return 0;
   3507 }
   3508 _ACEOF
   3509 rm -f conftest.$ac_objext
   3510 if { (ac_try="$ac_compile"
   3511 case "(($ac_try" in
   3512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3513   *) ac_try_echo=$ac_try;;
   3514 esac
   3515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3516 $as_echo "$ac_try_echo") >&5
   3517   (eval "$ac_compile") 2>conftest.er1
   3518   ac_status=$?
   3519   grep -v '^ *+' conftest.er1 >conftest.err
   3520   rm -f conftest.er1
   3521   cat conftest.err >&5
   3522   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3523   (exit $ac_status); } && {
   3524 	 test -z "$ac_c_werror_flag" ||
   3525 	 test ! -s conftest.err
   3526        } && test -s conftest.$ac_objext; then
   3527   ac_compiler_gnu=yes
   3528 else
   3529   $as_echo "$as_me: failed program was:" >&5
   3530 sed 's/^/| /' conftest.$ac_ext >&5
   3531 
   3532 	ac_compiler_gnu=no
   3533 fi
   3534 
   3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3536 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3537 
   3538 fi
   3539 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3540 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3541 if test $ac_compiler_gnu = yes; then
   3542   GCC=yes
   3543 else
   3544   GCC=
   3545 fi
   3546 ac_test_CFLAGS=${CFLAGS+set}
   3547 ac_save_CFLAGS=$CFLAGS
   3548 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3550 if test "${ac_cv_prog_cc_g+set}" = set; then
   3551   $as_echo_n "(cached) " >&6
   3552 else
   3553   ac_save_c_werror_flag=$ac_c_werror_flag
   3554    ac_c_werror_flag=yes
   3555    ac_cv_prog_cc_g=no
   3556    CFLAGS="-g"
   3557    cat >conftest.$ac_ext <<_ACEOF
   3558 /* confdefs.h.  */
   3559 _ACEOF
   3560 cat confdefs.h >>conftest.$ac_ext
   3561 cat >>conftest.$ac_ext <<_ACEOF
   3562 /* end confdefs.h.  */
   3563 
   3564 int
   3565 main ()
   3566 {
   3567 
   3568   ;
   3569   return 0;
   3570 }
   3571 _ACEOF
   3572 rm -f conftest.$ac_objext
   3573 if { (ac_try="$ac_compile"
   3574 case "(($ac_try" in
   3575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3576   *) ac_try_echo=$ac_try;;
   3577 esac
   3578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3579 $as_echo "$ac_try_echo") >&5
   3580   (eval "$ac_compile") 2>conftest.er1
   3581   ac_status=$?
   3582   grep -v '^ *+' conftest.er1 >conftest.err
   3583   rm -f conftest.er1
   3584   cat conftest.err >&5
   3585   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3586   (exit $ac_status); } && {
   3587 	 test -z "$ac_c_werror_flag" ||
   3588 	 test ! -s conftest.err
   3589        } && test -s conftest.$ac_objext; then
   3590   ac_cv_prog_cc_g=yes
   3591 else
   3592   $as_echo "$as_me: failed program was:" >&5
   3593 sed 's/^/| /' conftest.$ac_ext >&5
   3594 
   3595 	CFLAGS=""
   3596       cat >conftest.$ac_ext <<_ACEOF
   3597 /* confdefs.h.  */
   3598 _ACEOF
   3599 cat confdefs.h >>conftest.$ac_ext
   3600 cat >>conftest.$ac_ext <<_ACEOF
   3601 /* end confdefs.h.  */
   3602 
   3603 int
   3604 main ()
   3605 {
   3606 
   3607   ;
   3608   return 0;
   3609 }
   3610 _ACEOF
   3611 rm -f conftest.$ac_objext
   3612 if { (ac_try="$ac_compile"
   3613 case "(($ac_try" in
   3614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3615   *) ac_try_echo=$ac_try;;
   3616 esac
   3617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3618 $as_echo "$ac_try_echo") >&5
   3619   (eval "$ac_compile") 2>conftest.er1
   3620   ac_status=$?
   3621   grep -v '^ *+' conftest.er1 >conftest.err
   3622   rm -f conftest.er1
   3623   cat conftest.err >&5
   3624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3625   (exit $ac_status); } && {
   3626 	 test -z "$ac_c_werror_flag" ||
   3627 	 test ! -s conftest.err
   3628        } && test -s conftest.$ac_objext; then
   3629   :
   3630 else
   3631   $as_echo "$as_me: failed program was:" >&5
   3632 sed 's/^/| /' conftest.$ac_ext >&5
   3633 
   3634 	ac_c_werror_flag=$ac_save_c_werror_flag
   3635 	 CFLAGS="-g"
   3636 	 cat >conftest.$ac_ext <<_ACEOF
   3637 /* confdefs.h.  */
   3638 _ACEOF
   3639 cat confdefs.h >>conftest.$ac_ext
   3640 cat >>conftest.$ac_ext <<_ACEOF
   3641 /* end confdefs.h.  */
   3642 
   3643 int
   3644 main ()
   3645 {
   3646 
   3647   ;
   3648   return 0;
   3649 }
   3650 _ACEOF
   3651 rm -f conftest.$ac_objext
   3652 if { (ac_try="$ac_compile"
   3653 case "(($ac_try" in
   3654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3655   *) ac_try_echo=$ac_try;;
   3656 esac
   3657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3658 $as_echo "$ac_try_echo") >&5
   3659   (eval "$ac_compile") 2>conftest.er1
   3660   ac_status=$?
   3661   grep -v '^ *+' conftest.er1 >conftest.err
   3662   rm -f conftest.er1
   3663   cat conftest.err >&5
   3664   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3665   (exit $ac_status); } && {
   3666 	 test -z "$ac_c_werror_flag" ||
   3667 	 test ! -s conftest.err
   3668        } && test -s conftest.$ac_objext; then
   3669   ac_cv_prog_cc_g=yes
   3670 else
   3671   $as_echo "$as_me: failed program was:" >&5
   3672 sed 's/^/| /' conftest.$ac_ext >&5
   3673 
   3674 
   3675 fi
   3676 
   3677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3678 fi
   3679 
   3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3681 fi
   3682 
   3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3684    ac_c_werror_flag=$ac_save_c_werror_flag
   3685 fi
   3686 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3687 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3688 if test "$ac_test_CFLAGS" = set; then
   3689   CFLAGS=$ac_save_CFLAGS
   3690 elif test $ac_cv_prog_cc_g = yes; then
   3691   if test "$GCC" = yes; then
   3692     CFLAGS="-g -O2"
   3693   else
   3694     CFLAGS="-g"
   3695   fi
   3696 else
   3697   if test "$GCC" = yes; then
   3698     CFLAGS="-O2"
   3699   else
   3700     CFLAGS=
   3701   fi
   3702 fi
   3703 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3704 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3705 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3706   $as_echo_n "(cached) " >&6
   3707 else
   3708   ac_cv_prog_cc_c89=no
   3709 ac_save_CC=$CC
   3710 cat >conftest.$ac_ext <<_ACEOF
   3711 /* confdefs.h.  */
   3712 _ACEOF
   3713 cat confdefs.h >>conftest.$ac_ext
   3714 cat >>conftest.$ac_ext <<_ACEOF
   3715 /* end confdefs.h.  */
   3716 #include <stdarg.h>
   3717 #include <stdio.h>
   3718 #include <sys/types.h>
   3719 #include <sys/stat.h>
   3720 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3721 struct buf { int x; };
   3722 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3723 static char *e (p, i)
   3724      char **p;
   3725      int i;
   3726 {
   3727   return p[i];
   3728 }
   3729 static char *f (char * (*g) (char **, int), char **p, ...)
   3730 {
   3731   char *s;
   3732   va_list v;
   3733   va_start (v,p);
   3734   s = g (p, va_arg (v,int));
   3735   va_end (v);
   3736   return s;
   3737 }
   3738 
   3739 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3740    function prototypes and stuff, but not '\xHH' hex character constants.
   3741    These don't provoke an error unfortunately, instead are silently treated
   3742    as 'x'.  The following induces an error, until -std is added to get
   3743    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3744    array size at least.  It's necessary to write '\x00'==0 to get something
   3745    that's true only with -std.  */
   3746 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3747 
   3748 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3749    inside strings and character constants.  */
   3750 #define FOO(x) 'x'
   3751 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3752 
   3753 int test (int i, double x);
   3754 struct s1 {int (*f) (int a);};
   3755 struct s2 {int (*f) (double a);};
   3756 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3757 int argc;
   3758 char **argv;
   3759 int
   3760 main ()
   3761 {
   3762 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3763   ;
   3764   return 0;
   3765 }
   3766 _ACEOF
   3767 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3768 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3769 do
   3770   CC="$ac_save_CC $ac_arg"
   3771   rm -f conftest.$ac_objext
   3772 if { (ac_try="$ac_compile"
   3773 case "(($ac_try" in
   3774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3775   *) ac_try_echo=$ac_try;;
   3776 esac
   3777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3778 $as_echo "$ac_try_echo") >&5
   3779   (eval "$ac_compile") 2>conftest.er1
   3780   ac_status=$?
   3781   grep -v '^ *+' conftest.er1 >conftest.err
   3782   rm -f conftest.er1
   3783   cat conftest.err >&5
   3784   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3785   (exit $ac_status); } && {
   3786 	 test -z "$ac_c_werror_flag" ||
   3787 	 test ! -s conftest.err
   3788        } && test -s conftest.$ac_objext; then
   3789   ac_cv_prog_cc_c89=$ac_arg
   3790 else
   3791   $as_echo "$as_me: failed program was:" >&5
   3792 sed 's/^/| /' conftest.$ac_ext >&5
   3793 
   3794 
   3795 fi
   3796 
   3797 rm -f core conftest.err conftest.$ac_objext
   3798   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3799 done
   3800 rm -f conftest.$ac_ext
   3801 CC=$ac_save_CC
   3802 
   3803 fi
   3804 # AC_CACHE_VAL
   3805 case "x$ac_cv_prog_cc_c89" in
   3806   x)
   3807     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3808 $as_echo "none needed" >&6; } ;;
   3809   xno)
   3810     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3811 $as_echo "unsupported" >&6; } ;;
   3812   *)
   3813     CC="$CC $ac_cv_prog_cc_c89"
   3814     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3815 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3816 esac
   3817 
   3818 
   3819 ac_ext=c
   3820 ac_cpp='$CPP $CPPFLAGS'
   3821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3824 DEPDIR="${am__leading_dot}deps"
   3825 
   3826 ac_config_commands="$ac_config_commands depfiles"
   3827 
   3828 
   3829 am_make=${MAKE-make}
   3830 cat > confinc << 'END'
   3831 am__doit:
   3832 	@echo done
   3833 .PHONY: am__doit
   3834 END
   3835 # If we don't find an include directive, just comment out the code.
   3836 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3837 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3838 am__include="#"
   3839 am__quote=
   3840 _am_result=none
   3841 # First try GNU make style include.
   3842 echo "include confinc" > confmf
   3843 # We grep out `Entering directory' and `Leaving directory'
   3844 # messages which can occur if `w' ends up in MAKEFLAGS.
   3845 # In particular we don't look at `^make:' because GNU make might
   3846 # be invoked under some other name (usually "gmake"), in which
   3847 # case it prints its new name instead of `make'.
   3848 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3849    am__include=include
   3850    am__quote=
   3851    _am_result=GNU
   3852 fi
   3853 # Now try BSD make style include.
   3854 if test "$am__include" = "#"; then
   3855    echo '.include "confinc"' > confmf
   3856    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3857       am__include=.include
   3858       am__quote="\""
   3859       _am_result=BSD
   3860    fi
   3861 fi
   3862 
   3863 
   3864 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3865 $as_echo "$_am_result" >&6; }
   3866 rm -f confinc confmf
   3867 
   3868 # Check whether --enable-dependency-tracking was given.
   3869 if test "${enable_dependency_tracking+set}" = set; then
   3870   enableval=$enable_dependency_tracking;
   3871 fi
   3872 
   3873 if test "x$enable_dependency_tracking" != xno; then
   3874   am_depcomp="$ac_aux_dir/depcomp"
   3875   AMDEPBACKSLASH='\'
   3876 fi
   3877  if test "x$enable_dependency_tracking" != xno; then
   3878   AMDEP_TRUE=
   3879   AMDEP_FALSE='#'
   3880 else
   3881   AMDEP_TRUE='#'
   3882   AMDEP_FALSE=
   3883 fi
   3884 
   3885 
   3886 
   3887 depcc="$CC"   am_compiler_list=
   3888 
   3889 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3890 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3891 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3892   $as_echo_n "(cached) " >&6
   3893 else
   3894   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3895   # We make a subdir and do the tests there.  Otherwise we can end up
   3896   # making bogus files that we don't know about and never remove.  For
   3897   # instance it was reported that on HP-UX the gcc test will end up
   3898   # making a dummy file named `D' -- because `-MD' means `put the output
   3899   # in D'.
   3900   mkdir conftest.dir
   3901   # Copy depcomp to subdir because otherwise we won't find it if we're
   3902   # using a relative directory.
   3903   cp "$am_depcomp" conftest.dir
   3904   cd conftest.dir
   3905   # We will build objects and dependencies in a subdirectory because
   3906   # it helps to detect inapplicable dependency modes.  For instance
   3907   # both Tru64's cc and ICC support -MD to output dependencies as a
   3908   # side effect of compilation, but ICC will put the dependencies in
   3909   # the current directory while Tru64 will put them in the object
   3910   # directory.
   3911   mkdir sub
   3912 
   3913   am_cv_CC_dependencies_compiler_type=none
   3914   if test "$am_compiler_list" = ""; then
   3915      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3916   fi
   3917   for depmode in $am_compiler_list; do
   3918     # Setup a source with many dependencies, because some compilers
   3919     # like to wrap large dependency lists on column 80 (with \), and
   3920     # we should not choose a depcomp mode which is confused by this.
   3921     #
   3922     # We need to recreate these files for each test, as the compiler may
   3923     # overwrite some of them when testing with obscure command lines.
   3924     # This happens at least with the AIX C compiler.
   3925     : > sub/conftest.c
   3926     for i in 1 2 3 4 5 6; do
   3927       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3928       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3929       # Solaris 8's {/usr,}/bin/sh.
   3930       touch sub/conftst$i.h
   3931     done
   3932     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3933 
   3934     case $depmode in
   3935     nosideeffect)
   3936       # after this tag, mechanisms are not by side-effect, so they'll
   3937       # only be used when explicitly requested
   3938       if test "x$enable_dependency_tracking" = xyes; then
   3939 	continue
   3940       else
   3941 	break
   3942       fi
   3943       ;;
   3944     none) break ;;
   3945     esac
   3946     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3947     # mode.  It turns out that the SunPro C++ compiler does not properly
   3948     # handle `-M -o', and we need to detect this.
   3949     if depmode=$depmode \
   3950        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3951        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3952        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3953          >/dev/null 2>conftest.err &&
   3954        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3955        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3956        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3957        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3958       # icc doesn't choke on unknown options, it will just issue warnings
   3959       # or remarks (even with -Werror).  So we grep stderr for any message
   3960       # that says an option was ignored or not supported.
   3961       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3962       #   icc: Command line warning: ignoring option '-M'; no argument required
   3963       # The diagnosis changed in icc 8.0:
   3964       #   icc: Command line remark: option '-MP' not supported
   3965       if (grep 'ignoring option' conftest.err ||
   3966           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3967         am_cv_CC_dependencies_compiler_type=$depmode
   3968         break
   3969       fi
   3970     fi
   3971   done
   3972 
   3973   cd ..
   3974   rm -rf conftest.dir
   3975 else
   3976   am_cv_CC_dependencies_compiler_type=none
   3977 fi
   3978 
   3979 fi
   3980 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3981 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3982 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3983 
   3984  if
   3985   test "x$enable_dependency_tracking" != xno \
   3986   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3987   am__fastdepCC_TRUE=
   3988   am__fastdepCC_FALSE='#'
   3989 else
   3990   am__fastdepCC_TRUE='#'
   3991   am__fastdepCC_FALSE=
   3992 fi
   3993 
   3994 
   3995 # Find a good install program.  We prefer a C program (faster),
   3996 # so one script is as good as another.  But avoid the broken or
   3997 # incompatible versions:
   3998 # SysV /etc/install, /usr/sbin/install
   3999 # SunOS /usr/etc/install
   4000 # IRIX /sbin/install
   4001 # AIX /bin/install
   4002 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4003 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4004 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4005 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4006 # OS/2's system install, which has a completely different semantic
   4007 # ./install, which can be erroneously created by make from ./install.sh.
   4008 # Reject install programs that cannot install multiple files.
   4009 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   4010 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   4011 if test -z "$INSTALL"; then
   4012 if test "${ac_cv_path_install+set}" = set; then
   4013   $as_echo_n "(cached) " >&6
   4014 else
   4015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4016 for as_dir in $PATH
   4017 do
   4018   IFS=$as_save_IFS
   4019   test -z "$as_dir" && as_dir=.
   4020   # Account for people who put trailing slashes in PATH elements.
   4021 case $as_dir/ in
   4022   ./ | .// | /cC/* | \
   4023   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4024   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   4025   /usr/ucb/* ) ;;
   4026   *)
   4027     # OSF1 and SCO ODT 3.0 have their own names for install.
   4028     # Don't use installbsd from OSF since it installs stuff as root
   4029     # by default.
   4030     for ac_prog in ginstall scoinst install; do
   4031       for ac_exec_ext in '' $ac_executable_extensions; do
   4032 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   4033 	  if test $ac_prog = install &&
   4034 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4035 	    # AIX install.  It has an incompatible calling convention.
   4036 	    :
   4037 	  elif test $ac_prog = install &&
   4038 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4039 	    # program-specific install script used by HP pwplus--don't use.
   4040 	    :
   4041 	  else
   4042 	    rm -rf conftest.one conftest.two conftest.dir
   4043 	    echo one > conftest.one
   4044 	    echo two > conftest.two
   4045 	    mkdir conftest.dir
   4046 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4047 	      test -s conftest.one && test -s conftest.two &&
   4048 	      test -s conftest.dir/conftest.one &&
   4049 	      test -s conftest.dir/conftest.two
   4050 	    then
   4051 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4052 	      break 3
   4053 	    fi
   4054 	  fi
   4055 	fi
   4056       done
   4057     done
   4058     ;;
   4059 esac
   4060 
   4061 done
   4062 IFS=$as_save_IFS
   4063 
   4064 rm -rf conftest.one conftest.two conftest.dir
   4065 
   4066 fi
   4067   if test "${ac_cv_path_install+set}" = set; then
   4068     INSTALL=$ac_cv_path_install
   4069   else
   4070     # As a last resort, use the slow shell script.  Don't cache a
   4071     # value for INSTALL within a source directory, because that will
   4072     # break other packages using the cache if that directory is
   4073     # removed, or if the value is a relative name.
   4074     INSTALL=$ac_install_sh
   4075   fi
   4076 fi
   4077 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   4078 $as_echo "$INSTALL" >&6; }
   4079 
   4080 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4081 # It thinks the first close brace ends the variable substitution.
   4082 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4083 
   4084 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4085 
   4086 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4087 
   4088 # Check whether --enable-shared was given.
   4089 if test "${enable_shared+set}" = set; then
   4090   enableval=$enable_shared; p=${PACKAGE-default}
   4091     case $enableval in
   4092     yes) enable_shared=yes ;;
   4093     no) enable_shared=no ;;
   4094     *)
   4095       enable_shared=no
   4096       # Look at the argument we got.  We use all the common list separators.
   4097       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4098       for pkg in $enableval; do
   4099 	IFS="$lt_save_ifs"
   4100 	if test "X$pkg" = "X$p"; then
   4101 	  enable_shared=yes
   4102 	fi
   4103       done
   4104       IFS="$lt_save_ifs"
   4105       ;;
   4106     esac
   4107 else
   4108   enable_shared=yes
   4109 fi
   4110 
   4111 
   4112 # Check whether --enable-static was given.
   4113 if test "${enable_static+set}" = set; then
   4114   enableval=$enable_static; p=${PACKAGE-default}
   4115     case $enableval in
   4116     yes) enable_static=yes ;;
   4117     no) enable_static=no ;;
   4118     *)
   4119      enable_static=no
   4120       # Look at the argument we got.  We use all the common list separators.
   4121       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4122       for pkg in $enableval; do
   4123 	IFS="$lt_save_ifs"
   4124 	if test "X$pkg" = "X$p"; then
   4125 	  enable_static=yes
   4126 	fi
   4127       done
   4128       IFS="$lt_save_ifs"
   4129       ;;
   4130     esac
   4131 else
   4132   enable_static=yes
   4133 fi
   4134 
   4135 
   4136 # Check whether --enable-fast-install was given.
   4137 if test "${enable_fast_install+set}" = set; then
   4138   enableval=$enable_fast_install; p=${PACKAGE-default}
   4139     case $enableval in
   4140     yes) enable_fast_install=yes ;;
   4141     no) enable_fast_install=no ;;
   4142     *)
   4143       enable_fast_install=no
   4144       # Look at the argument we got.  We use all the common list separators.
   4145       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4146       for pkg in $enableval; do
   4147 	IFS="$lt_save_ifs"
   4148 	if test "X$pkg" = "X$p"; then
   4149 	  enable_fast_install=yes
   4150 	fi
   4151       done
   4152       IFS="$lt_save_ifs"
   4153       ;;
   4154     esac
   4155 else
   4156   enable_fast_install=yes
   4157 fi
   4158 
   4159 
   4160 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4161 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4162 if test "${lt_cv_path_SED+set}" = set; then
   4163   $as_echo_n "(cached) " >&6
   4164 else
   4165   # Loop through the user's path and test for sed and gsed.
   4166 # Then use that list of sed's as ones to test for truncation.
   4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4168 for as_dir in $PATH
   4169 do
   4170   IFS=$as_save_IFS
   4171   test -z "$as_dir" && as_dir=.
   4172   for lt_ac_prog in sed gsed; do
   4173     for ac_exec_ext in '' $ac_executable_extensions; do
   4174       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   4175         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   4176       fi
   4177     done
   4178   done
   4179 done
   4180 IFS=$as_save_IFS
   4181 lt_ac_max=0
   4182 lt_ac_count=0
   4183 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   4184 # along with /bin/sed that truncates output.
   4185 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   4186   test ! -f $lt_ac_sed && continue
   4187   cat /dev/null > conftest.in
   4188   lt_ac_count=0
   4189   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   4190   # Check for GNU sed and select it if it is found.
   4191   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   4192     lt_cv_path_SED=$lt_ac_sed
   4193     break
   4194   fi
   4195   while true; do
   4196     cat conftest.in conftest.in >conftest.tmp
   4197     mv conftest.tmp conftest.in
   4198     cp conftest.in conftest.nl
   4199     echo >>conftest.nl
   4200     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   4201     cmp -s conftest.out conftest.nl || break
   4202     # 10000 chars as input seems more than enough
   4203     test $lt_ac_count -gt 10 && break
   4204     lt_ac_count=`expr $lt_ac_count + 1`
   4205     if test $lt_ac_count -gt $lt_ac_max; then
   4206       lt_ac_max=$lt_ac_count
   4207       lt_cv_path_SED=$lt_ac_sed
   4208     fi
   4209   done
   4210 done
   4211 
   4212 fi
   4213 
   4214 SED=$lt_cv_path_SED
   4215 
   4216 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   4217 $as_echo "$SED" >&6; }
   4218 
   4219 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4220 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4221 if test "${ac_cv_path_GREP+set}" = set; then
   4222   $as_echo_n "(cached) " >&6
   4223 else
   4224   if test -z "$GREP"; then
   4225   ac_path_GREP_found=false
   4226   # Loop through the user's path and test for each of PROGNAME-LIST
   4227   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4228 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4229 do
   4230   IFS=$as_save_IFS
   4231   test -z "$as_dir" && as_dir=.
   4232   for ac_prog in grep ggrep; do
   4233     for ac_exec_ext in '' $ac_executable_extensions; do
   4234       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4235       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4236 # Check for GNU ac_path_GREP and select it if it is found.
   4237   # Check for GNU $ac_path_GREP
   4238 case `"$ac_path_GREP" --version 2>&1` in
   4239 *GNU*)
   4240   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4241 *)
   4242   ac_count=0
   4243   $as_echo_n 0123456789 >"conftest.in"
   4244   while :
   4245   do
   4246     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4247     mv "conftest.tmp" "conftest.in"
   4248     cp "conftest.in" "conftest.nl"
   4249     $as_echo 'GREP' >> "conftest.nl"
   4250     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4251     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4252     ac_count=`expr $ac_count + 1`
   4253     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4254       # Best one so far, save it but keep looking for a better one
   4255       ac_cv_path_GREP="$ac_path_GREP"
   4256       ac_path_GREP_max=$ac_count
   4257     fi
   4258     # 10*(2^10) chars as input seems more than enough
   4259     test $ac_count -gt 10 && break
   4260   done
   4261   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4262 esac
   4263 
   4264       $ac_path_GREP_found && break 3
   4265     done
   4266   done
   4267 done
   4268 IFS=$as_save_IFS
   4269   if test -z "$ac_cv_path_GREP"; then
   4270     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4271 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4272    { (exit 1); exit 1; }; }
   4273   fi
   4274 else
   4275   ac_cv_path_GREP=$GREP
   4276 fi
   4277 
   4278 fi
   4279 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4280 $as_echo "$ac_cv_path_GREP" >&6; }
   4281  GREP="$ac_cv_path_GREP"
   4282 
   4283 
   4284 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4285 $as_echo_n "checking for egrep... " >&6; }
   4286 if test "${ac_cv_path_EGREP+set}" = set; then
   4287   $as_echo_n "(cached) " >&6
   4288 else
   4289   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4290    then ac_cv_path_EGREP="$GREP -E"
   4291    else
   4292      if test -z "$EGREP"; then
   4293   ac_path_EGREP_found=false
   4294   # Loop through the user's path and test for each of PROGNAME-LIST
   4295   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4297 do
   4298   IFS=$as_save_IFS
   4299   test -z "$as_dir" && as_dir=.
   4300   for ac_prog in egrep; do
   4301     for ac_exec_ext in '' $ac_executable_extensions; do
   4302       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4303       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4304 # Check for GNU ac_path_EGREP and select it if it is found.
   4305   # Check for GNU $ac_path_EGREP
   4306 case `"$ac_path_EGREP" --version 2>&1` in
   4307 *GNU*)
   4308   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4309 *)
   4310   ac_count=0
   4311   $as_echo_n 0123456789 >"conftest.in"
   4312   while :
   4313   do
   4314     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4315     mv "conftest.tmp" "conftest.in"
   4316     cp "conftest.in" "conftest.nl"
   4317     $as_echo 'EGREP' >> "conftest.nl"
   4318     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4319     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4320     ac_count=`expr $ac_count + 1`
   4321     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4322       # Best one so far, save it but keep looking for a better one
   4323       ac_cv_path_EGREP="$ac_path_EGREP"
   4324       ac_path_EGREP_max=$ac_count
   4325     fi
   4326     # 10*(2^10) chars as input seems more than enough
   4327     test $ac_count -gt 10 && break
   4328   done
   4329   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4330 esac
   4331 
   4332       $ac_path_EGREP_found && break 3
   4333     done
   4334   done
   4335 done
   4336 IFS=$as_save_IFS
   4337   if test -z "$ac_cv_path_EGREP"; then
   4338     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4339 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4340    { (exit 1); exit 1; }; }
   4341   fi
   4342 else
   4343   ac_cv_path_EGREP=$EGREP
   4344 fi
   4345 
   4346    fi
   4347 fi
   4348 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4349 $as_echo "$ac_cv_path_EGREP" >&6; }
   4350  EGREP="$ac_cv_path_EGREP"
   4351 
   4352 
   4353 
   4354 # Check whether --with-gnu-ld was given.
   4355 if test "${with_gnu_ld+set}" = set; then
   4356   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4357 else
   4358   with_gnu_ld=no
   4359 fi
   4360 
   4361 ac_prog=ld
   4362 if test "$GCC" = yes; then
   4363   # Check if gcc -print-prog-name=ld gives a path.
   4364   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4365 $as_echo_n "checking for ld used by $CC... " >&6; }
   4366   case $host in
   4367   *-*-mingw*)
   4368     # gcc leaves a trailing carriage return which upsets mingw
   4369     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4370   *)
   4371     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4372   esac
   4373   case $ac_prog in
   4374     # Accept absolute paths.
   4375     [\\/]* | ?:[\\/]*)
   4376       re_direlt='/[^/][^/]*/\.\./'
   4377       # Canonicalize the pathname of ld
   4378       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4379       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4380 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4381       done
   4382       test -z "$LD" && LD="$ac_prog"
   4383       ;;
   4384   "")
   4385     # If it fails, then pretend we aren't using GCC.
   4386     ac_prog=ld
   4387     ;;
   4388   *)
   4389     # If it is relative, then search for the first ld in PATH.
   4390     with_gnu_ld=unknown
   4391     ;;
   4392   esac
   4393 elif test "$with_gnu_ld" = yes; then
   4394   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4395 $as_echo_n "checking for GNU ld... " >&6; }
   4396 else
   4397   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4398 $as_echo_n "checking for non-GNU ld... " >&6; }
   4399 fi
   4400 if test "${lt_cv_path_LD+set}" = set; then
   4401   $as_echo_n "(cached) " >&6
   4402 else
   4403   if test -z "$LD"; then
   4404   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4405   for ac_dir in $PATH; do
   4406     IFS="$lt_save_ifs"
   4407     test -z "$ac_dir" && ac_dir=.
   4408     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4409       lt_cv_path_LD="$ac_dir/$ac_prog"
   4410       # Check to see if the program is GNU ld.  I'd rather use --version,
   4411       # but apparently some variants of GNU ld only accept -v.
   4412       # Break only if it was the GNU/non-GNU ld that we prefer.
   4413       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4414       *GNU* | *'with BFD'*)
   4415 	test "$with_gnu_ld" != no && break
   4416 	;;
   4417       *)
   4418 	test "$with_gnu_ld" != yes && break
   4419 	;;
   4420       esac
   4421     fi
   4422   done
   4423   IFS="$lt_save_ifs"
   4424 else
   4425   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4426 fi
   4427 fi
   4428 
   4429 LD="$lt_cv_path_LD"
   4430 if test -n "$LD"; then
   4431   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4432 $as_echo "$LD" >&6; }
   4433 else
   4434   { $as_echo "$as_me:$LINENO: result: no" >&5
   4435 $as_echo "no" >&6; }
   4436 fi
   4437 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4438 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4439    { (exit 1); exit 1; }; }
   4440 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4441 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4442 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4443   $as_echo_n "(cached) " >&6
   4444 else
   4445   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4446 case `$LD -v 2>&1 </dev/null` in
   4447 *GNU* | *'with BFD'*)
   4448   lt_cv_prog_gnu_ld=yes
   4449   ;;
   4450 *)
   4451   lt_cv_prog_gnu_ld=no
   4452   ;;
   4453 esac
   4454 fi
   4455 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4456 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4457 with_gnu_ld=$lt_cv_prog_gnu_ld
   4458 
   4459 
   4460 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4461 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4462 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4463   $as_echo_n "(cached) " >&6
   4464 else
   4465   lt_cv_ld_reload_flag='-r'
   4466 fi
   4467 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4468 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4469 reload_flag=$lt_cv_ld_reload_flag
   4470 case $reload_flag in
   4471 "" | " "*) ;;
   4472 *) reload_flag=" $reload_flag" ;;
   4473 esac
   4474 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4475 case $host_os in
   4476   darwin*)
   4477     if test "$GCC" = yes; then
   4478       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4479     else
   4480       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4481     fi
   4482     ;;
   4483 esac
   4484 
   4485 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4486 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4487 if test "${lt_cv_path_NM+set}" = set; then
   4488   $as_echo_n "(cached) " >&6
   4489 else
   4490   if test -n "$NM"; then
   4491   # Let the user override the test.
   4492   lt_cv_path_NM="$NM"
   4493 else
   4494   lt_nm_to_check="${ac_tool_prefix}nm"
   4495   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4496     lt_nm_to_check="$lt_nm_to_check nm"
   4497   fi
   4498   for lt_tmp_nm in $lt_nm_to_check; do
   4499     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4500     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4501       IFS="$lt_save_ifs"
   4502       test -z "$ac_dir" && ac_dir=.
   4503       tmp_nm="$ac_dir/$lt_tmp_nm"
   4504       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4505 	# Check to see if the nm accepts a BSD-compat flag.
   4506 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4507 	#   nm: unknown option "B" ignored
   4508 	# Tru64's nm complains that /dev/null is an invalid object file
   4509 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4510 	*/dev/null* | *'Invalid file or object type'*)
   4511 	  lt_cv_path_NM="$tmp_nm -B"
   4512 	  break
   4513 	  ;;
   4514 	*)
   4515 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4516 	  */dev/null*)
   4517 	    lt_cv_path_NM="$tmp_nm -p"
   4518 	    break
   4519 	    ;;
   4520 	  *)
   4521 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4522 	    continue # so that we can try to find one that supports BSD flags
   4523 	    ;;
   4524 	  esac
   4525 	  ;;
   4526 	esac
   4527       fi
   4528     done
   4529     IFS="$lt_save_ifs"
   4530   done
   4531   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4532 fi
   4533 fi
   4534 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4535 $as_echo "$lt_cv_path_NM" >&6; }
   4536 NM="$lt_cv_path_NM"
   4537 
   4538 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4539 $as_echo_n "checking whether ln -s works... " >&6; }
   4540 LN_S=$as_ln_s
   4541 if test "$LN_S" = "ln -s"; then
   4542   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4543 $as_echo "yes" >&6; }
   4544 else
   4545   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4546 $as_echo "no, using $LN_S" >&6; }
   4547 fi
   4548 
   4549 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4550 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4551 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4552   $as_echo_n "(cached) " >&6
   4553 else
   4554   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4555 lt_cv_file_magic_test_file=
   4556 lt_cv_deplibs_check_method='unknown'
   4557 # Need to set the preceding variable on all platforms that support
   4558 # interlibrary dependencies.
   4559 # 'none' -- dependencies not supported.
   4560 # `unknown' -- same as none, but documents that we really don't know.
   4561 # 'pass_all' -- all dependencies passed with no checks.
   4562 # 'test_compile' -- check by making test program.
   4563 # 'file_magic [[regex]]' -- check by looking for files in library path
   4564 # which responds to the $file_magic_cmd with a given extended regex.
   4565 # If you have `file' or equivalent on your system and you're not sure
   4566 # whether `pass_all' will *always* work, you probably want this one.
   4567 
   4568 case $host_os in
   4569 aix[4-9]*)
   4570   lt_cv_deplibs_check_method=pass_all
   4571   ;;
   4572 
   4573 beos*)
   4574   lt_cv_deplibs_check_method=pass_all
   4575   ;;
   4576 
   4577 bsdi[45]*)
   4578   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4579   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4580   lt_cv_file_magic_test_file=/shlib/libc.so
   4581   ;;
   4582 
   4583 cygwin*)
   4584   # func_win32_libid is a shell function defined in ltmain.sh
   4585   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4586   lt_cv_file_magic_cmd='func_win32_libid'
   4587   ;;
   4588 
   4589 mingw* | pw32*)
   4590   # Base MSYS/MinGW do not provide the 'file' command needed by
   4591   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4592   # unless we find 'file', for example because we are cross-compiling.
   4593   if ( file / ) >/dev/null 2>&1; then
   4594     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4595     lt_cv_file_magic_cmd='func_win32_libid'
   4596   else
   4597     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4598     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4599   fi
   4600   ;;
   4601 
   4602 darwin* | rhapsody*)
   4603   lt_cv_deplibs_check_method=pass_all
   4604   ;;
   4605 
   4606 freebsd* | dragonfly*)
   4607   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4608     case $host_cpu in
   4609     i*86 )
   4610       # Not sure whether the presence of OpenBSD here was a mistake.
   4611       # Let's accept both of them until this is cleared up.
   4612       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4613       lt_cv_file_magic_cmd=/usr/bin/file
   4614       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4615       ;;
   4616     esac
   4617   else
   4618     lt_cv_deplibs_check_method=pass_all
   4619   fi
   4620   ;;
   4621 
   4622 gnu*)
   4623   lt_cv_deplibs_check_method=pass_all
   4624   ;;
   4625 
   4626 hpux10.20* | hpux11*)
   4627   lt_cv_file_magic_cmd=/usr/bin/file
   4628   case $host_cpu in
   4629   ia64*)
   4630     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4631     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4632     ;;
   4633   hppa*64*)
   4634     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   4635     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4636     ;;
   4637   *)
   4638     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4639     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4640     ;;
   4641   esac
   4642   ;;
   4643 
   4644 interix[3-9]*)
   4645   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4646   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4647   ;;
   4648 
   4649 irix5* | irix6* | nonstopux*)
   4650   case $LD in
   4651   *-32|*"-32 ") libmagic=32-bit;;
   4652   *-n32|*"-n32 ") libmagic=N32;;
   4653   *-64|*"-64 ") libmagic=64-bit;;
   4654   *) libmagic=never-match;;
   4655   esac
   4656   lt_cv_deplibs_check_method=pass_all
   4657   ;;
   4658 
   4659 # This must be Linux ELF.
   4660 linux* | k*bsd*-gnu)
   4661   lt_cv_deplibs_check_method=pass_all
   4662   ;;
   4663 
   4664 netbsd*)
   4665   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4666     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4667   else
   4668     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4669   fi
   4670   ;;
   4671 
   4672 newos6*)
   4673   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4674   lt_cv_file_magic_cmd=/usr/bin/file
   4675   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4676   ;;
   4677 
   4678 nto-qnx*)
   4679   lt_cv_deplibs_check_method=unknown
   4680   ;;
   4681 
   4682 openbsd*)
   4683   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4684     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4685   else
   4686     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4687   fi
   4688   ;;
   4689 
   4690 osf3* | osf4* | osf5*)
   4691   lt_cv_deplibs_check_method=pass_all
   4692   ;;
   4693 
   4694 rdos*)
   4695   lt_cv_deplibs_check_method=pass_all
   4696   ;;
   4697 
   4698 solaris*)
   4699   lt_cv_deplibs_check_method=pass_all
   4700   ;;
   4701 
   4702 sysv4 | sysv4.3*)
   4703   case $host_vendor in
   4704   motorola)
   4705     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]'
   4706     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4707     ;;
   4708   ncr)
   4709     lt_cv_deplibs_check_method=pass_all
   4710     ;;
   4711   sequent)
   4712     lt_cv_file_magic_cmd='/bin/file'
   4713     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4714     ;;
   4715   sni)
   4716     lt_cv_file_magic_cmd='/bin/file'
   4717     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4718     lt_cv_file_magic_test_file=/lib/libc.so
   4719     ;;
   4720   siemens)
   4721     lt_cv_deplibs_check_method=pass_all
   4722     ;;
   4723   pc)
   4724     lt_cv_deplibs_check_method=pass_all
   4725     ;;
   4726   esac
   4727   ;;
   4728 
   4729 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4730   lt_cv_deplibs_check_method=pass_all
   4731   ;;
   4732 esac
   4733 
   4734 fi
   4735 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4736 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4737 file_magic_cmd=$lt_cv_file_magic_cmd
   4738 deplibs_check_method=$lt_cv_deplibs_check_method
   4739 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4740 
   4741 
   4742 
   4743 
   4744 # If no C compiler was specified, use CC.
   4745 LTCC=${LTCC-"$CC"}
   4746 
   4747 # If no C compiler flags were specified, use CFLAGS.
   4748 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4749 
   4750 # Allow CC to be a program name with arguments.
   4751 compiler=$CC
   4752 
   4753 
   4754 # Check whether --enable-libtool-lock was given.
   4755 if test "${enable_libtool_lock+set}" = set; then
   4756   enableval=$enable_libtool_lock;
   4757 fi
   4758 
   4759 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4760 
   4761 # Some flags need to be propagated to the compiler or linker for good
   4762 # libtool support.
   4763 case $host in
   4764 ia64-*-hpux*)
   4765   # Find out which ABI we are using.
   4766   echo 'int i;' > conftest.$ac_ext
   4767   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4768   (eval $ac_compile) 2>&5
   4769   ac_status=$?
   4770   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4771   (exit $ac_status); }; then
   4772     case `/usr/bin/file conftest.$ac_objext` in
   4773     *ELF-32*)
   4774       HPUX_IA64_MODE="32"
   4775       ;;
   4776     *ELF-64*)
   4777       HPUX_IA64_MODE="64"
   4778       ;;
   4779     esac
   4780   fi
   4781   rm -rf conftest*
   4782   ;;
   4783 *-*-irix6*)
   4784   # Find out which ABI we are using.
   4785   echo '#line 4785 "configure"' > conftest.$ac_ext
   4786   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4787   (eval $ac_compile) 2>&5
   4788   ac_status=$?
   4789   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4790   (exit $ac_status); }; then
   4791    if test "$lt_cv_prog_gnu_ld" = yes; then
   4792     case `/usr/bin/file conftest.$ac_objext` in
   4793     *32-bit*)
   4794       LD="${LD-ld} -melf32bsmip"
   4795       ;;
   4796     *N32*)
   4797       LD="${LD-ld} -melf32bmipn32"
   4798       ;;
   4799     *64-bit*)
   4800       LD="${LD-ld} -melf64bmip"
   4801       ;;
   4802     esac
   4803    else
   4804     case `/usr/bin/file conftest.$ac_objext` in
   4805     *32-bit*)
   4806       LD="${LD-ld} -32"
   4807       ;;
   4808     *N32*)
   4809       LD="${LD-ld} -n32"
   4810       ;;
   4811     *64-bit*)
   4812       LD="${LD-ld} -64"
   4813       ;;
   4814     esac
   4815    fi
   4816   fi
   4817   rm -rf conftest*
   4818   ;;
   4819 
   4820 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4821 s390*-*linux*|sparc*-*linux*)
   4822   # Find out which ABI we are using.
   4823   echo 'int i;' > conftest.$ac_ext
   4824   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4825   (eval $ac_compile) 2>&5
   4826   ac_status=$?
   4827   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4828   (exit $ac_status); }; then
   4829     case `/usr/bin/file conftest.o` in
   4830     *32-bit*)
   4831       case $host in
   4832         x86_64-*kfreebsd*-gnu)
   4833           LD="${LD-ld} -m elf_i386_fbsd"
   4834           ;;
   4835         x86_64-*linux*)
   4836           LD="${LD-ld} -m elf_i386"
   4837           ;;
   4838         ppc64-*linux*|powerpc64-*linux*)
   4839           LD="${LD-ld} -m elf32ppclinux"
   4840           ;;
   4841         s390x-*linux*)
   4842           LD="${LD-ld} -m elf_s390"
   4843           ;;
   4844         sparc64-*linux*)
   4845           LD="${LD-ld} -m elf32_sparc"
   4846           ;;
   4847       esac
   4848       ;;
   4849     *64-bit*)
   4850       case $host in
   4851         x86_64-*kfreebsd*-gnu)
   4852           LD="${LD-ld} -m elf_x86_64_fbsd"
   4853           ;;
   4854         x86_64-*linux*)
   4855           LD="${LD-ld} -m elf_x86_64"
   4856           ;;
   4857         ppc*-*linux*|powerpc*-*linux*)
   4858           LD="${LD-ld} -m elf64ppc"
   4859           ;;
   4860         s390*-*linux*)
   4861           LD="${LD-ld} -m elf64_s390"
   4862           ;;
   4863         sparc*-*linux*)
   4864           LD="${LD-ld} -m elf64_sparc"
   4865           ;;
   4866       esac
   4867       ;;
   4868     esac
   4869   fi
   4870   rm -rf conftest*
   4871   ;;
   4872 
   4873 *-*-sco3.2v5*)
   4874   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4875   SAVE_CFLAGS="$CFLAGS"
   4876   CFLAGS="$CFLAGS -belf"
   4877   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4878 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4879 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4880   $as_echo_n "(cached) " >&6
   4881 else
   4882   ac_ext=c
   4883 ac_cpp='$CPP $CPPFLAGS'
   4884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4887 
   4888      cat >conftest.$ac_ext <<_ACEOF
   4889 /* confdefs.h.  */
   4890 _ACEOF
   4891 cat confdefs.h >>conftest.$ac_ext
   4892 cat >>conftest.$ac_ext <<_ACEOF
   4893 /* end confdefs.h.  */
   4894 
   4895 int
   4896 main ()
   4897 {
   4898 
   4899   ;
   4900   return 0;
   4901 }
   4902 _ACEOF
   4903 rm -f conftest.$ac_objext conftest$ac_exeext
   4904 if { (ac_try="$ac_link"
   4905 case "(($ac_try" in
   4906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4907   *) ac_try_echo=$ac_try;;
   4908 esac
   4909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4910 $as_echo "$ac_try_echo") >&5
   4911   (eval "$ac_link") 2>conftest.er1
   4912   ac_status=$?
   4913   grep -v '^ *+' conftest.er1 >conftest.err
   4914   rm -f conftest.er1
   4915   cat conftest.err >&5
   4916   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4917   (exit $ac_status); } && {
   4918 	 test -z "$ac_c_werror_flag" ||
   4919 	 test ! -s conftest.err
   4920        } && test -s conftest$ac_exeext && {
   4921 	 test "$cross_compiling" = yes ||
   4922 	 $as_test_x conftest$ac_exeext
   4923        }; then
   4924   lt_cv_cc_needs_belf=yes
   4925 else
   4926   $as_echo "$as_me: failed program was:" >&5
   4927 sed 's/^/| /' conftest.$ac_ext >&5
   4928 
   4929 	lt_cv_cc_needs_belf=no
   4930 fi
   4931 
   4932 rm -rf conftest.dSYM
   4933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4934       conftest$ac_exeext conftest.$ac_ext
   4935      ac_ext=c
   4936 ac_cpp='$CPP $CPPFLAGS'
   4937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4940 
   4941 fi
   4942 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4943 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4944   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4945     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4946     CFLAGS="$SAVE_CFLAGS"
   4947   fi
   4948   ;;
   4949 sparc*-*solaris*)
   4950   # Find out which ABI we are using.
   4951   echo 'int i;' > conftest.$ac_ext
   4952   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4953   (eval $ac_compile) 2>&5
   4954   ac_status=$?
   4955   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4956   (exit $ac_status); }; then
   4957     case `/usr/bin/file conftest.o` in
   4958     *64-bit*)
   4959       case $lt_cv_prog_gnu_ld in
   4960       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4961       *)
   4962         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4963 	  LD="${LD-ld} -64"
   4964 	fi
   4965 	;;
   4966       esac
   4967       ;;
   4968     esac
   4969   fi
   4970   rm -rf conftest*
   4971   ;;
   4972 
   4973 
   4974 esac
   4975 
   4976 need_locks="$enable_libtool_lock"
   4977 
   4978 
   4979 ac_ext=c
   4980 ac_cpp='$CPP $CPPFLAGS'
   4981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4984 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4985 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4986 # On Suns, sometimes $CPP names a directory.
   4987 if test -n "$CPP" && test -d "$CPP"; then
   4988   CPP=
   4989 fi
   4990 if test -z "$CPP"; then
   4991   if test "${ac_cv_prog_CPP+set}" = set; then
   4992   $as_echo_n "(cached) " >&6
   4993 else
   4994       # Double quotes because CPP needs to be expanded
   4995     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4996     do
   4997       ac_preproc_ok=false
   4998 for ac_c_preproc_warn_flag in '' yes
   4999 do
   5000   # Use a header file that comes with gcc, so configuring glibc
   5001   # with a fresh cross-compiler works.
   5002   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5003   # <limits.h> exists even on freestanding compilers.
   5004   # On the NeXT, cc -E runs the code through the compiler's parser,
   5005   # not just through cpp. "Syntax error" is here to catch this case.
   5006   cat >conftest.$ac_ext <<_ACEOF
   5007 /* confdefs.h.  */
   5008 _ACEOF
   5009 cat confdefs.h >>conftest.$ac_ext
   5010 cat >>conftest.$ac_ext <<_ACEOF
   5011 /* end confdefs.h.  */
   5012 #ifdef __STDC__
   5013 # include <limits.h>
   5014 #else
   5015 # include <assert.h>
   5016 #endif
   5017 		     Syntax error
   5018 _ACEOF
   5019 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5020 case "(($ac_try" in
   5021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5022   *) ac_try_echo=$ac_try;;
   5023 esac
   5024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5025 $as_echo "$ac_try_echo") >&5
   5026   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5027   ac_status=$?
   5028   grep -v '^ *+' conftest.er1 >conftest.err
   5029   rm -f conftest.er1
   5030   cat conftest.err >&5
   5031   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5032   (exit $ac_status); } >/dev/null && {
   5033 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5034 	 test ! -s conftest.err
   5035        }; then
   5036   :
   5037 else
   5038   $as_echo "$as_me: failed program was:" >&5
   5039 sed 's/^/| /' conftest.$ac_ext >&5
   5040 
   5041   # Broken: fails on valid input.
   5042 continue
   5043 fi
   5044 
   5045 rm -f conftest.err conftest.$ac_ext
   5046 
   5047   # OK, works on sane cases.  Now check whether nonexistent headers
   5048   # can be detected and how.
   5049   cat >conftest.$ac_ext <<_ACEOF
   5050 /* confdefs.h.  */
   5051 _ACEOF
   5052 cat confdefs.h >>conftest.$ac_ext
   5053 cat >>conftest.$ac_ext <<_ACEOF
   5054 /* end confdefs.h.  */
   5055 #include <ac_nonexistent.h>
   5056 _ACEOF
   5057 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5058 case "(($ac_try" in
   5059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5060   *) ac_try_echo=$ac_try;;
   5061 esac
   5062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5063 $as_echo "$ac_try_echo") >&5
   5064   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5065   ac_status=$?
   5066   grep -v '^ *+' conftest.er1 >conftest.err
   5067   rm -f conftest.er1
   5068   cat conftest.err >&5
   5069   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5070   (exit $ac_status); } >/dev/null && {
   5071 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5072 	 test ! -s conftest.err
   5073        }; then
   5074   # Broken: success on invalid input.
   5075 continue
   5076 else
   5077   $as_echo "$as_me: failed program was:" >&5
   5078 sed 's/^/| /' conftest.$ac_ext >&5
   5079 
   5080   # Passes both tests.
   5081 ac_preproc_ok=:
   5082 break
   5083 fi
   5084 
   5085 rm -f conftest.err conftest.$ac_ext
   5086 
   5087 done
   5088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5089 rm -f conftest.err conftest.$ac_ext
   5090 if $ac_preproc_ok; then
   5091   break
   5092 fi
   5093 
   5094     done
   5095     ac_cv_prog_CPP=$CPP
   5096 
   5097 fi
   5098   CPP=$ac_cv_prog_CPP
   5099 else
   5100   ac_cv_prog_CPP=$CPP
   5101 fi
   5102 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   5103 $as_echo "$CPP" >&6; }
   5104 ac_preproc_ok=false
   5105 for ac_c_preproc_warn_flag in '' yes
   5106 do
   5107   # Use a header file that comes with gcc, so configuring glibc
   5108   # with a fresh cross-compiler works.
   5109   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5110   # <limits.h> exists even on freestanding compilers.
   5111   # On the NeXT, cc -E runs the code through the compiler's parser,
   5112   # not just through cpp. "Syntax error" is here to catch this case.
   5113   cat >conftest.$ac_ext <<_ACEOF
   5114 /* confdefs.h.  */
   5115 _ACEOF
   5116 cat confdefs.h >>conftest.$ac_ext
   5117 cat >>conftest.$ac_ext <<_ACEOF
   5118 /* end confdefs.h.  */
   5119 #ifdef __STDC__
   5120 # include <limits.h>
   5121 #else
   5122 # include <assert.h>
   5123 #endif
   5124 		     Syntax error
   5125 _ACEOF
   5126 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5127 case "(($ac_try" in
   5128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5129   *) ac_try_echo=$ac_try;;
   5130 esac
   5131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5132 $as_echo "$ac_try_echo") >&5
   5133   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5134   ac_status=$?
   5135   grep -v '^ *+' conftest.er1 >conftest.err
   5136   rm -f conftest.er1
   5137   cat conftest.err >&5
   5138   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5139   (exit $ac_status); } >/dev/null && {
   5140 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5141 	 test ! -s conftest.err
   5142        }; then
   5143   :
   5144 else
   5145   $as_echo "$as_me: failed program was:" >&5
   5146 sed 's/^/| /' conftest.$ac_ext >&5
   5147 
   5148   # Broken: fails on valid input.
   5149 continue
   5150 fi
   5151 
   5152 rm -f conftest.err conftest.$ac_ext
   5153 
   5154   # OK, works on sane cases.  Now check whether nonexistent headers
   5155   # can be detected and how.
   5156   cat >conftest.$ac_ext <<_ACEOF
   5157 /* confdefs.h.  */
   5158 _ACEOF
   5159 cat confdefs.h >>conftest.$ac_ext
   5160 cat >>conftest.$ac_ext <<_ACEOF
   5161 /* end confdefs.h.  */
   5162 #include <ac_nonexistent.h>
   5163 _ACEOF
   5164 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5165 case "(($ac_try" in
   5166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5167   *) ac_try_echo=$ac_try;;
   5168 esac
   5169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5170 $as_echo "$ac_try_echo") >&5
   5171   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5172   ac_status=$?
   5173   grep -v '^ *+' conftest.er1 >conftest.err
   5174   rm -f conftest.er1
   5175   cat conftest.err >&5
   5176   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5177   (exit $ac_status); } >/dev/null && {
   5178 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5179 	 test ! -s conftest.err
   5180        }; then
   5181   # Broken: success on invalid input.
   5182 continue
   5183 else
   5184   $as_echo "$as_me: failed program was:" >&5
   5185 sed 's/^/| /' conftest.$ac_ext >&5
   5186 
   5187   # Passes both tests.
   5188 ac_preproc_ok=:
   5189 break
   5190 fi
   5191 
   5192 rm -f conftest.err conftest.$ac_ext
   5193 
   5194 done
   5195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5196 rm -f conftest.err conftest.$ac_ext
   5197 if $ac_preproc_ok; then
   5198   :
   5199 else
   5200   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   5201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5202 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   5203 See \`config.log' for more details." >&5
   5204 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   5205 See \`config.log' for more details." >&2;}
   5206    { (exit 1); exit 1; }; }; }
   5207 fi
   5208 
   5209 ac_ext=c
   5210 ac_cpp='$CPP $CPPFLAGS'
   5211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5214 
   5215 
   5216 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5217 $as_echo_n "checking for ANSI C header files... " >&6; }
   5218 if test "${ac_cv_header_stdc+set}" = set; then
   5219   $as_echo_n "(cached) " >&6
   5220 else
   5221   cat >conftest.$ac_ext <<_ACEOF
   5222 /* confdefs.h.  */
   5223 _ACEOF
   5224 cat confdefs.h >>conftest.$ac_ext
   5225 cat >>conftest.$ac_ext <<_ACEOF
   5226 /* end confdefs.h.  */
   5227 #include <stdlib.h>
   5228 #include <stdarg.h>
   5229 #include <string.h>
   5230 #include <float.h>
   5231 
   5232 int
   5233 main ()
   5234 {
   5235 
   5236   ;
   5237   return 0;
   5238 }
   5239 _ACEOF
   5240 rm -f conftest.$ac_objext
   5241 if { (ac_try="$ac_compile"
   5242 case "(($ac_try" in
   5243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5244   *) ac_try_echo=$ac_try;;
   5245 esac
   5246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5247 $as_echo "$ac_try_echo") >&5
   5248   (eval "$ac_compile") 2>conftest.er1
   5249   ac_status=$?
   5250   grep -v '^ *+' conftest.er1 >conftest.err
   5251   rm -f conftest.er1
   5252   cat conftest.err >&5
   5253   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5254   (exit $ac_status); } && {
   5255 	 test -z "$ac_c_werror_flag" ||
   5256 	 test ! -s conftest.err
   5257        } && test -s conftest.$ac_objext; then
   5258   ac_cv_header_stdc=yes
   5259 else
   5260   $as_echo "$as_me: failed program was:" >&5
   5261 sed 's/^/| /' conftest.$ac_ext >&5
   5262 
   5263 	ac_cv_header_stdc=no
   5264 fi
   5265 
   5266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5267 
   5268 if test $ac_cv_header_stdc = yes; then
   5269   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5270   cat >conftest.$ac_ext <<_ACEOF
   5271 /* confdefs.h.  */
   5272 _ACEOF
   5273 cat confdefs.h >>conftest.$ac_ext
   5274 cat >>conftest.$ac_ext <<_ACEOF
   5275 /* end confdefs.h.  */
   5276 #include <string.h>
   5277 
   5278 _ACEOF
   5279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5280   $EGREP "memchr" >/dev/null 2>&1; then
   5281   :
   5282 else
   5283   ac_cv_header_stdc=no
   5284 fi
   5285 rm -f conftest*
   5286 
   5287 fi
   5288 
   5289 if test $ac_cv_header_stdc = yes; then
   5290   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5291   cat >conftest.$ac_ext <<_ACEOF
   5292 /* confdefs.h.  */
   5293 _ACEOF
   5294 cat confdefs.h >>conftest.$ac_ext
   5295 cat >>conftest.$ac_ext <<_ACEOF
   5296 /* end confdefs.h.  */
   5297 #include <stdlib.h>
   5298 
   5299 _ACEOF
   5300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5301   $EGREP "free" >/dev/null 2>&1; then
   5302   :
   5303 else
   5304   ac_cv_header_stdc=no
   5305 fi
   5306 rm -f conftest*
   5307 
   5308 fi
   5309 
   5310 if test $ac_cv_header_stdc = yes; then
   5311   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5312   if test "$cross_compiling" = yes; then
   5313   :
   5314 else
   5315   cat >conftest.$ac_ext <<_ACEOF
   5316 /* confdefs.h.  */
   5317 _ACEOF
   5318 cat confdefs.h >>conftest.$ac_ext
   5319 cat >>conftest.$ac_ext <<_ACEOF
   5320 /* end confdefs.h.  */
   5321 #include <ctype.h>
   5322 #include <stdlib.h>
   5323 #if ((' ' & 0x0FF) == 0x020)
   5324 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5325 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5326 #else
   5327 # define ISLOWER(c) \
   5328 		   (('a' <= (c) && (c) <= 'i') \
   5329 		     || ('j' <= (c) && (c) <= 'r') \
   5330 		     || ('s' <= (c) && (c) <= 'z'))
   5331 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5332 #endif
   5333 
   5334 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5335 int
   5336 main ()
   5337 {
   5338   int i;
   5339   for (i = 0; i < 256; i++)
   5340     if (XOR (islower (i), ISLOWER (i))
   5341 	|| toupper (i) != TOUPPER (i))
   5342       return 2;
   5343   return 0;
   5344 }
   5345 _ACEOF
   5346 rm -f conftest$ac_exeext
   5347 if { (ac_try="$ac_link"
   5348 case "(($ac_try" in
   5349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5350   *) ac_try_echo=$ac_try;;
   5351 esac
   5352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5353 $as_echo "$ac_try_echo") >&5
   5354   (eval "$ac_link") 2>&5
   5355   ac_status=$?
   5356   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5357   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5358   { (case "(($ac_try" in
   5359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5360   *) ac_try_echo=$ac_try;;
   5361 esac
   5362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5363 $as_echo "$ac_try_echo") >&5
   5364   (eval "$ac_try") 2>&5
   5365   ac_status=$?
   5366   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5367   (exit $ac_status); }; }; then
   5368   :
   5369 else
   5370   $as_echo "$as_me: program exited with status $ac_status" >&5
   5371 $as_echo "$as_me: failed program was:" >&5
   5372 sed 's/^/| /' conftest.$ac_ext >&5
   5373 
   5374 ( exit $ac_status )
   5375 ac_cv_header_stdc=no
   5376 fi
   5377 rm -rf conftest.dSYM
   5378 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5379 fi
   5380 
   5381 
   5382 fi
   5383 fi
   5384 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5385 $as_echo "$ac_cv_header_stdc" >&6; }
   5386 if test $ac_cv_header_stdc = yes; then
   5387 
   5388 cat >>confdefs.h <<\_ACEOF
   5389 #define STDC_HEADERS 1
   5390 _ACEOF
   5391 
   5392 fi
   5393 
   5394 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5405 		  inttypes.h stdint.h unistd.h
   5406 do
   5407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5408 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5409 $as_echo_n "checking for $ac_header... " >&6; }
   5410 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5411   $as_echo_n "(cached) " >&6
   5412 else
   5413   cat >conftest.$ac_ext <<_ACEOF
   5414 /* confdefs.h.  */
   5415 _ACEOF
   5416 cat confdefs.h >>conftest.$ac_ext
   5417 cat >>conftest.$ac_ext <<_ACEOF
   5418 /* end confdefs.h.  */
   5419 $ac_includes_default
   5420 
   5421 #include <$ac_header>
   5422 _ACEOF
   5423 rm -f conftest.$ac_objext
   5424 if { (ac_try="$ac_compile"
   5425 case "(($ac_try" in
   5426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5427   *) ac_try_echo=$ac_try;;
   5428 esac
   5429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5430 $as_echo "$ac_try_echo") >&5
   5431   (eval "$ac_compile") 2>conftest.er1
   5432   ac_status=$?
   5433   grep -v '^ *+' conftest.er1 >conftest.err
   5434   rm -f conftest.er1
   5435   cat conftest.err >&5
   5436   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5437   (exit $ac_status); } && {
   5438 	 test -z "$ac_c_werror_flag" ||
   5439 	 test ! -s conftest.err
   5440        } && test -s conftest.$ac_objext; then
   5441   eval "$as_ac_Header=yes"
   5442 else
   5443   $as_echo "$as_me: failed program was:" >&5
   5444 sed 's/^/| /' conftest.$ac_ext >&5
   5445 
   5446 	eval "$as_ac_Header=no"
   5447 fi
   5448 
   5449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5450 fi
   5451 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5452 		 $as_echo "$as_val"'`
   5453 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5454 $as_echo "$ac_res" >&6; }
   5455 as_val=`eval 'as_val=${'$as_ac_Header'}
   5456 		 $as_echo "$as_val"'`
   5457    if test "x$as_val" = x""yes; then
   5458   cat >>confdefs.h <<_ACEOF
   5459 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5460 _ACEOF
   5461 
   5462 fi
   5463 
   5464 done
   5465 
   5466 
   5467 
   5468 for ac_header in dlfcn.h
   5469 do
   5470 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5472   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5473 $as_echo_n "checking for $ac_header... " >&6; }
   5474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5475   $as_echo_n "(cached) " >&6
   5476 fi
   5477 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5478 		 $as_echo "$as_val"'`
   5479 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5480 $as_echo "$ac_res" >&6; }
   5481 else
   5482   # Is the header compilable?
   5483 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5484 $as_echo_n "checking $ac_header usability... " >&6; }
   5485 cat >conftest.$ac_ext <<_ACEOF
   5486 /* confdefs.h.  */
   5487 _ACEOF
   5488 cat confdefs.h >>conftest.$ac_ext
   5489 cat >>conftest.$ac_ext <<_ACEOF
   5490 /* end confdefs.h.  */
   5491 $ac_includes_default
   5492 #include <$ac_header>
   5493 _ACEOF
   5494 rm -f conftest.$ac_objext
   5495 if { (ac_try="$ac_compile"
   5496 case "(($ac_try" in
   5497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5498   *) ac_try_echo=$ac_try;;
   5499 esac
   5500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5501 $as_echo "$ac_try_echo") >&5
   5502   (eval "$ac_compile") 2>conftest.er1
   5503   ac_status=$?
   5504   grep -v '^ *+' conftest.er1 >conftest.err
   5505   rm -f conftest.er1
   5506   cat conftest.err >&5
   5507   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5508   (exit $ac_status); } && {
   5509 	 test -z "$ac_c_werror_flag" ||
   5510 	 test ! -s conftest.err
   5511        } && test -s conftest.$ac_objext; then
   5512   ac_header_compiler=yes
   5513 else
   5514   $as_echo "$as_me: failed program was:" >&5
   5515 sed 's/^/| /' conftest.$ac_ext >&5
   5516 
   5517 	ac_header_compiler=no
   5518 fi
   5519 
   5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5521 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5522 $as_echo "$ac_header_compiler" >&6; }
   5523 
   5524 # Is the header present?
   5525 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5526 $as_echo_n "checking $ac_header presence... " >&6; }
   5527 cat >conftest.$ac_ext <<_ACEOF
   5528 /* confdefs.h.  */
   5529 _ACEOF
   5530 cat confdefs.h >>conftest.$ac_ext
   5531 cat >>conftest.$ac_ext <<_ACEOF
   5532 /* end confdefs.h.  */
   5533 #include <$ac_header>
   5534 _ACEOF
   5535 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5536 case "(($ac_try" in
   5537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5538   *) ac_try_echo=$ac_try;;
   5539 esac
   5540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5541 $as_echo "$ac_try_echo") >&5
   5542   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5543   ac_status=$?
   5544   grep -v '^ *+' conftest.er1 >conftest.err
   5545   rm -f conftest.er1
   5546   cat conftest.err >&5
   5547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5548   (exit $ac_status); } >/dev/null && {
   5549 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5550 	 test ! -s conftest.err
   5551        }; then
   5552   ac_header_preproc=yes
   5553 else
   5554   $as_echo "$as_me: failed program was:" >&5
   5555 sed 's/^/| /' conftest.$ac_ext >&5
   5556 
   5557   ac_header_preproc=no
   5558 fi
   5559 
   5560 rm -f conftest.err conftest.$ac_ext
   5561 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5562 $as_echo "$ac_header_preproc" >&6; }
   5563 
   5564 # So?  What about this header?
   5565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5566   yes:no: )
   5567     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5568 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5569     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5570 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5571     ac_header_preproc=yes
   5572     ;;
   5573   no:yes:* )
   5574     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5575 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5576     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5577 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5578     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5579 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5580     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5581 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5582     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5583 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5584     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5585 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5586     ( cat <<\_ASBOX
   5587 ## -------------------------------------------------------- ##
   5588 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   5589 ## -------------------------------------------------------- ##
   5590 _ASBOX
   5591      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5592     ;;
   5593 esac
   5594 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5595 $as_echo_n "checking for $ac_header... " >&6; }
   5596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5597   $as_echo_n "(cached) " >&6
   5598 else
   5599   eval "$as_ac_Header=\$ac_header_preproc"
   5600 fi
   5601 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5602 		 $as_echo "$as_val"'`
   5603 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5604 $as_echo "$ac_res" >&6; }
   5605 
   5606 fi
   5607 as_val=`eval 'as_val=${'$as_ac_Header'}
   5608 		 $as_echo "$as_val"'`
   5609    if test "x$as_val" = x""yes; then
   5610   cat >>confdefs.h <<_ACEOF
   5611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5612 _ACEOF
   5613 
   5614 fi
   5615 
   5616 done
   5617 
   5618 ac_ext=cpp
   5619 ac_cpp='$CXXCPP $CPPFLAGS'
   5620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5623 if test -z "$CXX"; then
   5624   if test -n "$CCC"; then
   5625     CXX=$CCC
   5626   else
   5627     if test -n "$ac_tool_prefix"; then
   5628   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5629   do
   5630     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5632 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5633 $as_echo_n "checking for $ac_word... " >&6; }
   5634 if test "${ac_cv_prog_CXX+set}" = set; then
   5635   $as_echo_n "(cached) " >&6
   5636 else
   5637   if test -n "$CXX"; then
   5638   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5639 else
   5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5641 for as_dir in $PATH
   5642 do
   5643   IFS=$as_save_IFS
   5644   test -z "$as_dir" && as_dir=.
   5645   for ac_exec_ext in '' $ac_executable_extensions; do
   5646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5647     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5648     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5649     break 2
   5650   fi
   5651 done
   5652 done
   5653 IFS=$as_save_IFS
   5654 
   5655 fi
   5656 fi
   5657 CXX=$ac_cv_prog_CXX
   5658 if test -n "$CXX"; then
   5659   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5660 $as_echo "$CXX" >&6; }
   5661 else
   5662   { $as_echo "$as_me:$LINENO: result: no" >&5
   5663 $as_echo "no" >&6; }
   5664 fi
   5665 
   5666 
   5667     test -n "$CXX" && break
   5668   done
   5669 fi
   5670 if test -z "$CXX"; then
   5671   ac_ct_CXX=$CXX
   5672   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5673 do
   5674   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5675 set dummy $ac_prog; ac_word=$2
   5676 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5677 $as_echo_n "checking for $ac_word... " >&6; }
   5678 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5679   $as_echo_n "(cached) " >&6
   5680 else
   5681   if test -n "$ac_ct_CXX"; then
   5682   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5683 else
   5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5685 for as_dir in $PATH
   5686 do
   5687   IFS=$as_save_IFS
   5688   test -z "$as_dir" && as_dir=.
   5689   for ac_exec_ext in '' $ac_executable_extensions; do
   5690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5691     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5692     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5693     break 2
   5694   fi
   5695 done
   5696 done
   5697 IFS=$as_save_IFS
   5698 
   5699 fi
   5700 fi
   5701 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5702 if test -n "$ac_ct_CXX"; then
   5703   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5704 $as_echo "$ac_ct_CXX" >&6; }
   5705 else
   5706   { $as_echo "$as_me:$LINENO: result: no" >&5
   5707 $as_echo "no" >&6; }
   5708 fi
   5709 
   5710 
   5711   test -n "$ac_ct_CXX" && break
   5712 done
   5713 
   5714   if test "x$ac_ct_CXX" = x; then
   5715     CXX="g++"
   5716   else
   5717     case $cross_compiling:$ac_tool_warned in
   5718 yes:)
   5719 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5721 ac_tool_warned=yes ;;
   5722 esac
   5723     CXX=$ac_ct_CXX
   5724   fi
   5725 fi
   5726 
   5727   fi
   5728 fi
   5729 # Provide some information about the compiler.
   5730 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5731 set X $ac_compile
   5732 ac_compiler=$2
   5733 { (ac_try="$ac_compiler --version >&5"
   5734 case "(($ac_try" in
   5735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5736   *) ac_try_echo=$ac_try;;
   5737 esac
   5738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5739 $as_echo "$ac_try_echo") >&5
   5740   (eval "$ac_compiler --version >&5") 2>&5
   5741   ac_status=$?
   5742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5743   (exit $ac_status); }
   5744 { (ac_try="$ac_compiler -v >&5"
   5745 case "(($ac_try" in
   5746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5747   *) ac_try_echo=$ac_try;;
   5748 esac
   5749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5750 $as_echo "$ac_try_echo") >&5
   5751   (eval "$ac_compiler -v >&5") 2>&5
   5752   ac_status=$?
   5753   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5754   (exit $ac_status); }
   5755 { (ac_try="$ac_compiler -V >&5"
   5756 case "(($ac_try" in
   5757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5758   *) ac_try_echo=$ac_try;;
   5759 esac
   5760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5761 $as_echo "$ac_try_echo") >&5
   5762   (eval "$ac_compiler -V >&5") 2>&5
   5763   ac_status=$?
   5764   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5765   (exit $ac_status); }
   5766 
   5767 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5768 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5769 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5770   $as_echo_n "(cached) " >&6
   5771 else
   5772   cat >conftest.$ac_ext <<_ACEOF
   5773 /* confdefs.h.  */
   5774 _ACEOF
   5775 cat confdefs.h >>conftest.$ac_ext
   5776 cat >>conftest.$ac_ext <<_ACEOF
   5777 /* end confdefs.h.  */
   5778 
   5779 int
   5780 main ()
   5781 {
   5782 #ifndef __GNUC__
   5783        choke me
   5784 #endif
   5785 
   5786   ;
   5787   return 0;
   5788 }
   5789 _ACEOF
   5790 rm -f conftest.$ac_objext
   5791 if { (ac_try="$ac_compile"
   5792 case "(($ac_try" in
   5793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5794   *) ac_try_echo=$ac_try;;
   5795 esac
   5796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5797 $as_echo "$ac_try_echo") >&5
   5798   (eval "$ac_compile") 2>conftest.er1
   5799   ac_status=$?
   5800   grep -v '^ *+' conftest.er1 >conftest.err
   5801   rm -f conftest.er1
   5802   cat conftest.err >&5
   5803   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5804   (exit $ac_status); } && {
   5805 	 test -z "$ac_cxx_werror_flag" ||
   5806 	 test ! -s conftest.err
   5807        } && test -s conftest.$ac_objext; then
   5808   ac_compiler_gnu=yes
   5809 else
   5810   $as_echo "$as_me: failed program was:" >&5
   5811 sed 's/^/| /' conftest.$ac_ext >&5
   5812 
   5813 	ac_compiler_gnu=no
   5814 fi
   5815 
   5816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5817 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5818 
   5819 fi
   5820 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5821 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5822 if test $ac_compiler_gnu = yes; then
   5823   GXX=yes
   5824 else
   5825   GXX=
   5826 fi
   5827 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5828 ac_save_CXXFLAGS=$CXXFLAGS
   5829 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5830 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5831 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5832   $as_echo_n "(cached) " >&6
   5833 else
   5834   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5835    ac_cxx_werror_flag=yes
   5836    ac_cv_prog_cxx_g=no
   5837    CXXFLAGS="-g"
   5838    cat >conftest.$ac_ext <<_ACEOF
   5839 /* confdefs.h.  */
   5840 _ACEOF
   5841 cat confdefs.h >>conftest.$ac_ext
   5842 cat >>conftest.$ac_ext <<_ACEOF
   5843 /* end confdefs.h.  */
   5844 
   5845 int
   5846 main ()
   5847 {
   5848 
   5849   ;
   5850   return 0;
   5851 }
   5852 _ACEOF
   5853 rm -f conftest.$ac_objext
   5854 if { (ac_try="$ac_compile"
   5855 case "(($ac_try" in
   5856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5857   *) ac_try_echo=$ac_try;;
   5858 esac
   5859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5860 $as_echo "$ac_try_echo") >&5
   5861   (eval "$ac_compile") 2>conftest.er1
   5862   ac_status=$?
   5863   grep -v '^ *+' conftest.er1 >conftest.err
   5864   rm -f conftest.er1
   5865   cat conftest.err >&5
   5866   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5867   (exit $ac_status); } && {
   5868 	 test -z "$ac_cxx_werror_flag" ||
   5869 	 test ! -s conftest.err
   5870        } && test -s conftest.$ac_objext; then
   5871   ac_cv_prog_cxx_g=yes
   5872 else
   5873   $as_echo "$as_me: failed program was:" >&5
   5874 sed 's/^/| /' conftest.$ac_ext >&5
   5875 
   5876 	CXXFLAGS=""
   5877       cat >conftest.$ac_ext <<_ACEOF
   5878 /* confdefs.h.  */
   5879 _ACEOF
   5880 cat confdefs.h >>conftest.$ac_ext
   5881 cat >>conftest.$ac_ext <<_ACEOF
   5882 /* end confdefs.h.  */
   5883 
   5884 int
   5885 main ()
   5886 {
   5887 
   5888   ;
   5889   return 0;
   5890 }
   5891 _ACEOF
   5892 rm -f conftest.$ac_objext
   5893 if { (ac_try="$ac_compile"
   5894 case "(($ac_try" in
   5895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5896   *) ac_try_echo=$ac_try;;
   5897 esac
   5898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5899 $as_echo "$ac_try_echo") >&5
   5900   (eval "$ac_compile") 2>conftest.er1
   5901   ac_status=$?
   5902   grep -v '^ *+' conftest.er1 >conftest.err
   5903   rm -f conftest.er1
   5904   cat conftest.err >&5
   5905   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5906   (exit $ac_status); } && {
   5907 	 test -z "$ac_cxx_werror_flag" ||
   5908 	 test ! -s conftest.err
   5909        } && test -s conftest.$ac_objext; then
   5910   :
   5911 else
   5912   $as_echo "$as_me: failed program was:" >&5
   5913 sed 's/^/| /' conftest.$ac_ext >&5
   5914 
   5915 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5916 	 CXXFLAGS="-g"
   5917 	 cat >conftest.$ac_ext <<_ACEOF
   5918 /* confdefs.h.  */
   5919 _ACEOF
   5920 cat confdefs.h >>conftest.$ac_ext
   5921 cat >>conftest.$ac_ext <<_ACEOF
   5922 /* end confdefs.h.  */
   5923 
   5924 int
   5925 main ()
   5926 {
   5927 
   5928   ;
   5929   return 0;
   5930 }
   5931 _ACEOF
   5932 rm -f conftest.$ac_objext
   5933 if { (ac_try="$ac_compile"
   5934 case "(($ac_try" in
   5935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5936   *) ac_try_echo=$ac_try;;
   5937 esac
   5938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5939 $as_echo "$ac_try_echo") >&5
   5940   (eval "$ac_compile") 2>conftest.er1
   5941   ac_status=$?
   5942   grep -v '^ *+' conftest.er1 >conftest.err
   5943   rm -f conftest.er1
   5944   cat conftest.err >&5
   5945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5946   (exit $ac_status); } && {
   5947 	 test -z "$ac_cxx_werror_flag" ||
   5948 	 test ! -s conftest.err
   5949        } && test -s conftest.$ac_objext; then
   5950   ac_cv_prog_cxx_g=yes
   5951 else
   5952   $as_echo "$as_me: failed program was:" >&5
   5953 sed 's/^/| /' conftest.$ac_ext >&5
   5954 
   5955 
   5956 fi
   5957 
   5958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5959 fi
   5960 
   5961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5962 fi
   5963 
   5964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5965    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5966 fi
   5967 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5968 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5969 if test "$ac_test_CXXFLAGS" = set; then
   5970   CXXFLAGS=$ac_save_CXXFLAGS
   5971 elif test $ac_cv_prog_cxx_g = yes; then
   5972   if test "$GXX" = yes; then
   5973     CXXFLAGS="-g -O2"
   5974   else
   5975     CXXFLAGS="-g"
   5976   fi
   5977 else
   5978   if test "$GXX" = yes; then
   5979     CXXFLAGS="-O2"
   5980   else
   5981     CXXFLAGS=
   5982   fi
   5983 fi
   5984 ac_ext=cpp
   5985 ac_cpp='$CXXCPP $CPPFLAGS'
   5986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5989 
   5990 depcc="$CXX"  am_compiler_list=
   5991 
   5992 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5993 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5994 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5995   $as_echo_n "(cached) " >&6
   5996 else
   5997   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5998   # We make a subdir and do the tests there.  Otherwise we can end up
   5999   # making bogus files that we don't know about and never remove.  For
   6000   # instance it was reported that on HP-UX the gcc test will end up
   6001   # making a dummy file named `D' -- because `-MD' means `put the output
   6002   # in D'.
   6003   mkdir conftest.dir
   6004   # Copy depcomp to subdir because otherwise we won't find it if we're
   6005   # using a relative directory.
   6006   cp "$am_depcomp" conftest.dir
   6007   cd conftest.dir
   6008   # We will build objects and dependencies in a subdirectory because
   6009   # it helps to detect inapplicable dependency modes.  For instance
   6010   # both Tru64's cc and ICC support -MD to output dependencies as a
   6011   # side effect of compilation, but ICC will put the dependencies in
   6012   # the current directory while Tru64 will put them in the object
   6013   # directory.
   6014   mkdir sub
   6015 
   6016   am_cv_CXX_dependencies_compiler_type=none
   6017   if test "$am_compiler_list" = ""; then
   6018      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6019   fi
   6020   for depmode in $am_compiler_list; do
   6021     # Setup a source with many dependencies, because some compilers
   6022     # like to wrap large dependency lists on column 80 (with \), and
   6023     # we should not choose a depcomp mode which is confused by this.
   6024     #
   6025     # We need to recreate these files for each test, as the compiler may
   6026     # overwrite some of them when testing with obscure command lines.
   6027     # This happens at least with the AIX C compiler.
   6028     : > sub/conftest.c
   6029     for i in 1 2 3 4 5 6; do
   6030       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6031       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   6032       # Solaris 8's {/usr,}/bin/sh.
   6033       touch sub/conftst$i.h
   6034     done
   6035     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6036 
   6037     case $depmode in
   6038     nosideeffect)
   6039       # after this tag, mechanisms are not by side-effect, so they'll
   6040       # only be used when explicitly requested
   6041       if test "x$enable_dependency_tracking" = xyes; then
   6042 	continue
   6043       else
   6044 	break
   6045       fi
   6046       ;;
   6047     none) break ;;
   6048     esac
   6049     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   6050     # mode.  It turns out that the SunPro C++ compiler does not properly
   6051     # handle `-M -o', and we need to detect this.
   6052     if depmode=$depmode \
   6053        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   6054        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6055        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   6056          >/dev/null 2>conftest.err &&
   6057        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6058        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6059        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   6060        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6061       # icc doesn't choke on unknown options, it will just issue warnings
   6062       # or remarks (even with -Werror).  So we grep stderr for any message
   6063       # that says an option was ignored or not supported.
   6064       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6065       #   icc: Command line warning: ignoring option '-M'; no argument required
   6066       # The diagnosis changed in icc 8.0:
   6067       #   icc: Command line remark: option '-MP' not supported
   6068       if (grep 'ignoring option' conftest.err ||
   6069           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6070         am_cv_CXX_dependencies_compiler_type=$depmode
   6071         break
   6072       fi
   6073     fi
   6074   done
   6075 
   6076   cd ..
   6077   rm -rf conftest.dir
   6078 else
   6079   am_cv_CXX_dependencies_compiler_type=none
   6080 fi
   6081 
   6082 fi
   6083 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   6084 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   6085 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   6086 
   6087  if
   6088   test "x$enable_dependency_tracking" != xno \
   6089   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   6090   am__fastdepCXX_TRUE=
   6091   am__fastdepCXX_FALSE='#'
   6092 else
   6093   am__fastdepCXX_TRUE='#'
   6094   am__fastdepCXX_FALSE=
   6095 fi
   6096 
   6097 
   6098 
   6099 
   6100 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   6101     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   6102     (test "X$CXX" != "Xg++"))) ; then
   6103   ac_ext=cpp
   6104 ac_cpp='$CXXCPP $CPPFLAGS'
   6105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6108 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   6109 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   6110 if test -z "$CXXCPP"; then
   6111   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   6112   $as_echo_n "(cached) " >&6
   6113 else
   6114       # Double quotes because CXXCPP needs to be expanded
   6115     for CXXCPP in "$CXX -E" "/lib/cpp"
   6116     do
   6117       ac_preproc_ok=false
   6118 for ac_cxx_preproc_warn_flag in '' yes
   6119 do
   6120   # Use a header file that comes with gcc, so configuring glibc
   6121   # with a fresh cross-compiler works.
   6122   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6123   # <limits.h> exists even on freestanding compilers.
   6124   # On the NeXT, cc -E runs the code through the compiler's parser,
   6125   # not just through cpp. "Syntax error" is here to catch this case.
   6126   cat >conftest.$ac_ext <<_ACEOF
   6127 /* confdefs.h.  */
   6128 _ACEOF
   6129 cat confdefs.h >>conftest.$ac_ext
   6130 cat >>conftest.$ac_ext <<_ACEOF
   6131 /* end confdefs.h.  */
   6132 #ifdef __STDC__
   6133 # include <limits.h>
   6134 #else
   6135 # include <assert.h>
   6136 #endif
   6137 		     Syntax error
   6138 _ACEOF
   6139 if { (ac_try="$ac_cpp conftest.$ac_ext"
   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:$LINENO: $ac_try_echo\""
   6145 $as_echo "$ac_try_echo") >&5
   6146   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6147   ac_status=$?
   6148   grep -v '^ *+' conftest.er1 >conftest.err
   6149   rm -f conftest.er1
   6150   cat conftest.err >&5
   6151   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6152   (exit $ac_status); } >/dev/null && {
   6153 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6154 	 test ! -s conftest.err
   6155        }; then
   6156   :
   6157 else
   6158   $as_echo "$as_me: failed program was:" >&5
   6159 sed 's/^/| /' conftest.$ac_ext >&5
   6160 
   6161   # Broken: fails on valid input.
   6162 continue
   6163 fi
   6164 
   6165 rm -f conftest.err conftest.$ac_ext
   6166 
   6167   # OK, works on sane cases.  Now check whether nonexistent headers
   6168   # can be detected and how.
   6169   cat >conftest.$ac_ext <<_ACEOF
   6170 /* confdefs.h.  */
   6171 _ACEOF
   6172 cat confdefs.h >>conftest.$ac_ext
   6173 cat >>conftest.$ac_ext <<_ACEOF
   6174 /* end confdefs.h.  */
   6175 #include <ac_nonexistent.h>
   6176 _ACEOF
   6177 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6178 case "(($ac_try" in
   6179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6180   *) ac_try_echo=$ac_try;;
   6181 esac
   6182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6183 $as_echo "$ac_try_echo") >&5
   6184   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6185   ac_status=$?
   6186   grep -v '^ *+' conftest.er1 >conftest.err
   6187   rm -f conftest.er1
   6188   cat conftest.err >&5
   6189   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6190   (exit $ac_status); } >/dev/null && {
   6191 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6192 	 test ! -s conftest.err
   6193        }; then
   6194   # Broken: success on invalid input.
   6195 continue
   6196 else
   6197   $as_echo "$as_me: failed program was:" >&5
   6198 sed 's/^/| /' conftest.$ac_ext >&5
   6199 
   6200   # Passes both tests.
   6201 ac_preproc_ok=:
   6202 break
   6203 fi
   6204 
   6205 rm -f conftest.err conftest.$ac_ext
   6206 
   6207 done
   6208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6209 rm -f conftest.err conftest.$ac_ext
   6210 if $ac_preproc_ok; then
   6211   break
   6212 fi
   6213 
   6214     done
   6215     ac_cv_prog_CXXCPP=$CXXCPP
   6216 
   6217 fi
   6218   CXXCPP=$ac_cv_prog_CXXCPP
   6219 else
   6220   ac_cv_prog_CXXCPP=$CXXCPP
   6221 fi
   6222 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6223 $as_echo "$CXXCPP" >&6; }
   6224 ac_preproc_ok=false
   6225 for ac_cxx_preproc_warn_flag in '' yes
   6226 do
   6227   # Use a header file that comes with gcc, so configuring glibc
   6228   # with a fresh cross-compiler works.
   6229   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6230   # <limits.h> exists even on freestanding compilers.
   6231   # On the NeXT, cc -E runs the code through the compiler's parser,
   6232   # not just through cpp. "Syntax error" is here to catch this case.
   6233   cat >conftest.$ac_ext <<_ACEOF
   6234 /* confdefs.h.  */
   6235 _ACEOF
   6236 cat confdefs.h >>conftest.$ac_ext
   6237 cat >>conftest.$ac_ext <<_ACEOF
   6238 /* end confdefs.h.  */
   6239 #ifdef __STDC__
   6240 # include <limits.h>
   6241 #else
   6242 # include <assert.h>
   6243 #endif
   6244 		     Syntax error
   6245 _ACEOF
   6246 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6247 case "(($ac_try" in
   6248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6249   *) ac_try_echo=$ac_try;;
   6250 esac
   6251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6252 $as_echo "$ac_try_echo") >&5
   6253   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6254   ac_status=$?
   6255   grep -v '^ *+' conftest.er1 >conftest.err
   6256   rm -f conftest.er1
   6257   cat conftest.err >&5
   6258   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6259   (exit $ac_status); } >/dev/null && {
   6260 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6261 	 test ! -s conftest.err
   6262        }; then
   6263   :
   6264 else
   6265   $as_echo "$as_me: failed program was:" >&5
   6266 sed 's/^/| /' conftest.$ac_ext >&5
   6267 
   6268   # Broken: fails on valid input.
   6269 continue
   6270 fi
   6271 
   6272 rm -f conftest.err conftest.$ac_ext
   6273 
   6274   # OK, works on sane cases.  Now check whether nonexistent headers
   6275   # can be detected and how.
   6276   cat >conftest.$ac_ext <<_ACEOF
   6277 /* confdefs.h.  */
   6278 _ACEOF
   6279 cat confdefs.h >>conftest.$ac_ext
   6280 cat >>conftest.$ac_ext <<_ACEOF
   6281 /* end confdefs.h.  */
   6282 #include <ac_nonexistent.h>
   6283 _ACEOF
   6284 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6285 case "(($ac_try" in
   6286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6287   *) ac_try_echo=$ac_try;;
   6288 esac
   6289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6290 $as_echo "$ac_try_echo") >&5
   6291   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6292   ac_status=$?
   6293   grep -v '^ *+' conftest.er1 >conftest.err
   6294   rm -f conftest.er1
   6295   cat conftest.err >&5
   6296   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6297   (exit $ac_status); } >/dev/null && {
   6298 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6299 	 test ! -s conftest.err
   6300        }; then
   6301   # Broken: success on invalid input.
   6302 continue
   6303 else
   6304   $as_echo "$as_me: failed program was:" >&5
   6305 sed 's/^/| /' conftest.$ac_ext >&5
   6306 
   6307   # Passes both tests.
   6308 ac_preproc_ok=:
   6309 break
   6310 fi
   6311 
   6312 rm -f conftest.err conftest.$ac_ext
   6313 
   6314 done
   6315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6316 rm -f conftest.err conftest.$ac_ext
   6317 if $ac_preproc_ok; then
   6318   :
   6319 else
   6320   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6322 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6323 See \`config.log' for more details." >&5
   6324 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6325 See \`config.log' for more details." >&2;}
   6326    { (exit 1); exit 1; }; }; }
   6327 fi
   6328 
   6329 ac_ext=cpp
   6330 ac_cpp='$CXXCPP $CPPFLAGS'
   6331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6334 
   6335 fi
   6336 
   6337 
   6338 ac_ext=f
   6339 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6340 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6341 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6342 if test -n "$ac_tool_prefix"; then
   6343   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6344   do
   6345     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6348 $as_echo_n "checking for $ac_word... " >&6; }
   6349 if test "${ac_cv_prog_F77+set}" = set; then
   6350   $as_echo_n "(cached) " >&6
   6351 else
   6352   if test -n "$F77"; then
   6353   ac_cv_prog_F77="$F77" # Let the user override the test.
   6354 else
   6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6356 for as_dir in $PATH
   6357 do
   6358   IFS=$as_save_IFS
   6359   test -z "$as_dir" && as_dir=.
   6360   for ac_exec_ext in '' $ac_executable_extensions; do
   6361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6362     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6363     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6364     break 2
   6365   fi
   6366 done
   6367 done
   6368 IFS=$as_save_IFS
   6369 
   6370 fi
   6371 fi
   6372 F77=$ac_cv_prog_F77
   6373 if test -n "$F77"; then
   6374   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6375 $as_echo "$F77" >&6; }
   6376 else
   6377   { $as_echo "$as_me:$LINENO: result: no" >&5
   6378 $as_echo "no" >&6; }
   6379 fi
   6380 
   6381 
   6382     test -n "$F77" && break
   6383   done
   6384 fi
   6385 if test -z "$F77"; then
   6386   ac_ct_F77=$F77
   6387   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6388 do
   6389   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6390 set dummy $ac_prog; ac_word=$2
   6391 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6392 $as_echo_n "checking for $ac_word... " >&6; }
   6393 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6394   $as_echo_n "(cached) " >&6
   6395 else
   6396   if test -n "$ac_ct_F77"; then
   6397   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6398 else
   6399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6400 for as_dir in $PATH
   6401 do
   6402   IFS=$as_save_IFS
   6403   test -z "$as_dir" && as_dir=.
   6404   for ac_exec_ext in '' $ac_executable_extensions; do
   6405   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6406     ac_cv_prog_ac_ct_F77="$ac_prog"
   6407     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6408     break 2
   6409   fi
   6410 done
   6411 done
   6412 IFS=$as_save_IFS
   6413 
   6414 fi
   6415 fi
   6416 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6417 if test -n "$ac_ct_F77"; then
   6418   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6419 $as_echo "$ac_ct_F77" >&6; }
   6420 else
   6421   { $as_echo "$as_me:$LINENO: result: no" >&5
   6422 $as_echo "no" >&6; }
   6423 fi
   6424 
   6425 
   6426   test -n "$ac_ct_F77" && break
   6427 done
   6428 
   6429   if test "x$ac_ct_F77" = x; then
   6430     F77=""
   6431   else
   6432     case $cross_compiling:$ac_tool_warned in
   6433 yes:)
   6434 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6436 ac_tool_warned=yes ;;
   6437 esac
   6438     F77=$ac_ct_F77
   6439   fi
   6440 fi
   6441 
   6442 
   6443 # Provide some information about the compiler.
   6444 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6445 set X $ac_compile
   6446 ac_compiler=$2
   6447 { (ac_try="$ac_compiler --version >&5"
   6448 case "(($ac_try" in
   6449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6450   *) ac_try_echo=$ac_try;;
   6451 esac
   6452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6453 $as_echo "$ac_try_echo") >&5
   6454   (eval "$ac_compiler --version >&5") 2>&5
   6455   ac_status=$?
   6456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6457   (exit $ac_status); }
   6458 { (ac_try="$ac_compiler -v >&5"
   6459 case "(($ac_try" in
   6460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6461   *) ac_try_echo=$ac_try;;
   6462 esac
   6463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6464 $as_echo "$ac_try_echo") >&5
   6465   (eval "$ac_compiler -v >&5") 2>&5
   6466   ac_status=$?
   6467   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6468   (exit $ac_status); }
   6469 { (ac_try="$ac_compiler -V >&5"
   6470 case "(($ac_try" in
   6471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6472   *) ac_try_echo=$ac_try;;
   6473 esac
   6474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6475 $as_echo "$ac_try_echo") >&5
   6476   (eval "$ac_compiler -V >&5") 2>&5
   6477   ac_status=$?
   6478   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6479   (exit $ac_status); }
   6480 rm -f a.out
   6481 
   6482 # If we don't use `.F' as extension, the preprocessor is not run on the
   6483 # input file.  (Note that this only needs to work for GNU compilers.)
   6484 ac_save_ext=$ac_ext
   6485 ac_ext=F
   6486 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6487 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6488 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6489   $as_echo_n "(cached) " >&6
   6490 else
   6491   cat >conftest.$ac_ext <<_ACEOF
   6492       program main
   6493 #ifndef __GNUC__
   6494        choke me
   6495 #endif
   6496 
   6497       end
   6498 _ACEOF
   6499 rm -f conftest.$ac_objext
   6500 if { (ac_try="$ac_compile"
   6501 case "(($ac_try" in
   6502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6503   *) ac_try_echo=$ac_try;;
   6504 esac
   6505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6506 $as_echo "$ac_try_echo") >&5
   6507   (eval "$ac_compile") 2>conftest.er1
   6508   ac_status=$?
   6509   grep -v '^ *+' conftest.er1 >conftest.err
   6510   rm -f conftest.er1
   6511   cat conftest.err >&5
   6512   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6513   (exit $ac_status); } && {
   6514 	 test -z "$ac_f77_werror_flag" ||
   6515 	 test ! -s conftest.err
   6516        } && test -s conftest.$ac_objext; then
   6517   ac_compiler_gnu=yes
   6518 else
   6519   $as_echo "$as_me: failed program was:" >&5
   6520 sed 's/^/| /' conftest.$ac_ext >&5
   6521 
   6522 	ac_compiler_gnu=no
   6523 fi
   6524 
   6525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6526 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6527 
   6528 fi
   6529 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6530 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6531 ac_ext=$ac_save_ext
   6532 ac_test_FFLAGS=${FFLAGS+set}
   6533 ac_save_FFLAGS=$FFLAGS
   6534 FFLAGS=
   6535 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6536 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6537 if test "${ac_cv_prog_f77_g+set}" = set; then
   6538   $as_echo_n "(cached) " >&6
   6539 else
   6540   FFLAGS=-g
   6541 cat >conftest.$ac_ext <<_ACEOF
   6542       program main
   6543 
   6544       end
   6545 _ACEOF
   6546 rm -f conftest.$ac_objext
   6547 if { (ac_try="$ac_compile"
   6548 case "(($ac_try" in
   6549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6550   *) ac_try_echo=$ac_try;;
   6551 esac
   6552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6553 $as_echo "$ac_try_echo") >&5
   6554   (eval "$ac_compile") 2>conftest.er1
   6555   ac_status=$?
   6556   grep -v '^ *+' conftest.er1 >conftest.err
   6557   rm -f conftest.er1
   6558   cat conftest.err >&5
   6559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6560   (exit $ac_status); } && {
   6561 	 test -z "$ac_f77_werror_flag" ||
   6562 	 test ! -s conftest.err
   6563        } && test -s conftest.$ac_objext; then
   6564   ac_cv_prog_f77_g=yes
   6565 else
   6566   $as_echo "$as_me: failed program was:" >&5
   6567 sed 's/^/| /' conftest.$ac_ext >&5
   6568 
   6569 	ac_cv_prog_f77_g=no
   6570 fi
   6571 
   6572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6573 
   6574 fi
   6575 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6576 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6577 if test "$ac_test_FFLAGS" = set; then
   6578   FFLAGS=$ac_save_FFLAGS
   6579 elif test $ac_cv_prog_f77_g = yes; then
   6580   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6581     FFLAGS="-g -O2"
   6582   else
   6583     FFLAGS="-g"
   6584   fi
   6585 else
   6586   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6587     FFLAGS="-O2"
   6588   else
   6589     FFLAGS=
   6590   fi
   6591 fi
   6592 
   6593 if test $ac_compiler_gnu = yes; then
   6594   G77=yes
   6595 else
   6596   G77=
   6597 fi
   6598 ac_ext=c
   6599 ac_cpp='$CPP $CPPFLAGS'
   6600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6603 
   6604 
   6605 
   6606 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6607 # find the maximum length of command line arguments
   6608 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6609 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6610 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6611   $as_echo_n "(cached) " >&6
   6612 else
   6613     i=0
   6614   teststring="ABCD"
   6615 
   6616   case $build_os in
   6617   msdosdjgpp*)
   6618     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6619     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6620     # during glob expansion).  Even if it were fixed, the result of this
   6621     # check would be larger than it should be.
   6622     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6623     ;;
   6624 
   6625   gnu*)
   6626     # Under GNU Hurd, this test is not required because there is
   6627     # no limit to the length of command line arguments.
   6628     # Libtool will interpret -1 as no limit whatsoever
   6629     lt_cv_sys_max_cmd_len=-1;
   6630     ;;
   6631 
   6632   cygwin* | mingw*)
   6633     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6634     # about 5 minutes as the teststring grows exponentially.
   6635     # Worse, since 9x/ME are not pre-emptively multitasking,
   6636     # you end up with a "frozen" computer, even though with patience
   6637     # the test eventually succeeds (with a max line length of 256k).
   6638     # Instead, let's just punt: use the minimum linelength reported by
   6639     # all of the supported platforms: 8192 (on NT/2K/XP).
   6640     lt_cv_sys_max_cmd_len=8192;
   6641     ;;
   6642 
   6643   amigaos*)
   6644     # On AmigaOS with pdksh, this test takes hours, literally.
   6645     # So we just punt and use a minimum line length of 8192.
   6646     lt_cv_sys_max_cmd_len=8192;
   6647     ;;
   6648 
   6649   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6650     # This has been around since 386BSD, at least.  Likely further.
   6651     if test -x /sbin/sysctl; then
   6652       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6653     elif test -x /usr/sbin/sysctl; then
   6654       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6655     else
   6656       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6657     fi
   6658     # And add a safety zone
   6659     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6660     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6661     ;;
   6662 
   6663   interix*)
   6664     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6665     lt_cv_sys_max_cmd_len=196608
   6666     ;;
   6667 
   6668   osf*)
   6669     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6670     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6671     # nice to cause kernel panics so lets avoid the loop below.
   6672     # First set a reasonable default.
   6673     lt_cv_sys_max_cmd_len=16384
   6674     #
   6675     if test -x /sbin/sysconfig; then
   6676       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6677         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6678       esac
   6679     fi
   6680     ;;
   6681   sco3.2v5*)
   6682     lt_cv_sys_max_cmd_len=102400
   6683     ;;
   6684   sysv5* | sco5v6* | sysv4.2uw2*)
   6685     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6686     if test -n "$kargmax"; then
   6687       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6688     else
   6689       lt_cv_sys_max_cmd_len=32768
   6690     fi
   6691     ;;
   6692   *)
   6693     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6694     if test -n "$lt_cv_sys_max_cmd_len"; then
   6695       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6696       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6697     else
   6698       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6699       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6700 	       = "XX$teststring") >/dev/null 2>&1 &&
   6701 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6702 	      lt_cv_sys_max_cmd_len=$new_result &&
   6703 	      test $i != 17 # 1/2 MB should be enough
   6704       do
   6705         i=`expr $i + 1`
   6706         teststring=$teststring$teststring
   6707       done
   6708       teststring=
   6709       # Add a significant safety factor because C++ compilers can tack on massive
   6710       # amounts of additional arguments before passing them to the linker.
   6711       # It appears as though 1/2 is a usable value.
   6712       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6713     fi
   6714     ;;
   6715   esac
   6716 
   6717 fi
   6718 
   6719 if test -n $lt_cv_sys_max_cmd_len ; then
   6720   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6721 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6722 else
   6723   { $as_echo "$as_me:$LINENO: result: none" >&5
   6724 $as_echo "none" >&6; }
   6725 fi
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6732 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6733 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6734 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6735   $as_echo_n "(cached) " >&6
   6736 else
   6737 
   6738 # These are sane defaults that work on at least a few old systems.
   6739 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6740 
   6741 # Character class describing NM global symbol codes.
   6742 symcode='[BCDEGRST]'
   6743 
   6744 # Regexp to match symbols that can be accessed directly from C.
   6745 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6746 
   6747 # Transform an extracted symbol line into a proper C declaration
   6748 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6749 
   6750 # Transform an extracted symbol line into symbol name and symbol address
   6751 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6752 
   6753 # Define system-specific variables.
   6754 case $host_os in
   6755 aix*)
   6756   symcode='[BCDT]'
   6757   ;;
   6758 cygwin* | mingw* | pw32*)
   6759   symcode='[ABCDGISTW]'
   6760   ;;
   6761 hpux*) # Its linker distinguishes data from code symbols
   6762   if test "$host_cpu" = ia64; then
   6763     symcode='[ABCDEGRST]'
   6764   fi
   6765   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6766   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6767   ;;
   6768 linux* | k*bsd*-gnu)
   6769   if test "$host_cpu" = ia64; then
   6770     symcode='[ABCDGIRSTW]'
   6771     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6772     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6773   fi
   6774   ;;
   6775 irix* | nonstopux*)
   6776   symcode='[BCDEGRST]'
   6777   ;;
   6778 osf*)
   6779   symcode='[BCDEGQRST]'
   6780   ;;
   6781 solaris*)
   6782   symcode='[BDRT]'
   6783   ;;
   6784 sco3.2v5*)
   6785   symcode='[DT]'
   6786   ;;
   6787 sysv4.2uw2*)
   6788   symcode='[DT]'
   6789   ;;
   6790 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6791   symcode='[ABDT]'
   6792   ;;
   6793 sysv4)
   6794   symcode='[DFNSTU]'
   6795   ;;
   6796 esac
   6797 
   6798 # Handle CRLF in mingw tool chain
   6799 opt_cr=
   6800 case $build_os in
   6801 mingw*)
   6802   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6803   ;;
   6804 esac
   6805 
   6806 # If we're using GNU nm, then use its standard symbol codes.
   6807 case `$NM -V 2>&1` in
   6808 *GNU* | *'with BFD'*)
   6809   symcode='[ABCDGIRSTW]' ;;
   6810 esac
   6811 
   6812 # Try without a prefix undercore, then with it.
   6813 for ac_symprfx in "" "_"; do
   6814 
   6815   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6816   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6817 
   6818   # Write the raw and C identifiers.
   6819   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6820 
   6821   # Check to see that the pipe works correctly.
   6822   pipe_works=no
   6823 
   6824   rm -f conftest*
   6825   cat > conftest.$ac_ext <<EOF
   6826 #ifdef __cplusplus
   6827 extern "C" {
   6828 #endif
   6829 char nm_test_var;
   6830 void nm_test_func(){}
   6831 #ifdef __cplusplus
   6832 }
   6833 #endif
   6834 int main(){nm_test_var='a';nm_test_func();return(0);}
   6835 EOF
   6836 
   6837   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6838   (eval $ac_compile) 2>&5
   6839   ac_status=$?
   6840   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6841   (exit $ac_status); }; then
   6842     # Now try to grab the symbols.
   6843     nlist=conftest.nm
   6844     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6845   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6846   ac_status=$?
   6847   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6848   (exit $ac_status); } && test -s "$nlist"; then
   6849       # Try sorting and uniquifying the output.
   6850       if sort "$nlist" | uniq > "$nlist"T; then
   6851 	mv -f "$nlist"T "$nlist"
   6852       else
   6853 	rm -f "$nlist"T
   6854       fi
   6855 
   6856       # Make sure that we snagged all the symbols we need.
   6857       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6858 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6859 	  cat <<EOF > conftest.$ac_ext
   6860 #ifdef __cplusplus
   6861 extern "C" {
   6862 #endif
   6863 
   6864 EOF
   6865 	  # Now generate the symbol file.
   6866 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6867 
   6868 	  cat <<EOF >> conftest.$ac_ext
   6869 #if defined (__STDC__) && __STDC__
   6870 # define lt_ptr_t void *
   6871 #else
   6872 # define lt_ptr_t char *
   6873 # define const
   6874 #endif
   6875 
   6876 /* The mapping between symbol names and symbols. */
   6877 const struct {
   6878   const char *name;
   6879   lt_ptr_t address;
   6880 }
   6881 lt_preloaded_symbols[] =
   6882 {
   6883 EOF
   6884 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6885 	  cat <<\EOF >> conftest.$ac_ext
   6886   {0, (lt_ptr_t) 0}
   6887 };
   6888 
   6889 #ifdef __cplusplus
   6890 }
   6891 #endif
   6892 EOF
   6893 	  # Now try linking the two files.
   6894 	  mv conftest.$ac_objext conftstm.$ac_objext
   6895 	  lt_save_LIBS="$LIBS"
   6896 	  lt_save_CFLAGS="$CFLAGS"
   6897 	  LIBS="conftstm.$ac_objext"
   6898 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6899 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6900   (eval $ac_link) 2>&5
   6901   ac_status=$?
   6902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6903   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6904 	    pipe_works=yes
   6905 	  fi
   6906 	  LIBS="$lt_save_LIBS"
   6907 	  CFLAGS="$lt_save_CFLAGS"
   6908 	else
   6909 	  echo "cannot find nm_test_func in $nlist" >&5
   6910 	fi
   6911       else
   6912 	echo "cannot find nm_test_var in $nlist" >&5
   6913       fi
   6914     else
   6915       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6916     fi
   6917   else
   6918     echo "$progname: failed program was:" >&5
   6919     cat conftest.$ac_ext >&5
   6920   fi
   6921   rm -rf conftest* conftst*
   6922 
   6923   # Do not use the global_symbol_pipe unless it works.
   6924   if test "$pipe_works" = yes; then
   6925     break
   6926   else
   6927     lt_cv_sys_global_symbol_pipe=
   6928   fi
   6929 done
   6930 
   6931 fi
   6932 
   6933 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6934   lt_cv_sys_global_symbol_to_cdecl=
   6935 fi
   6936 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6937   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6938 $as_echo "failed" >&6; }
   6939 else
   6940   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6941 $as_echo "ok" >&6; }
   6942 fi
   6943 
   6944 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6945 $as_echo_n "checking for objdir... " >&6; }
   6946 if test "${lt_cv_objdir+set}" = set; then
   6947   $as_echo_n "(cached) " >&6
   6948 else
   6949   rm -f .libs 2>/dev/null
   6950 mkdir .libs 2>/dev/null
   6951 if test -d .libs; then
   6952   lt_cv_objdir=.libs
   6953 else
   6954   # MS-DOS does not allow filenames that begin with a dot.
   6955   lt_cv_objdir=_libs
   6956 fi
   6957 rmdir .libs 2>/dev/null
   6958 fi
   6959 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6960 $as_echo "$lt_cv_objdir" >&6; }
   6961 objdir=$lt_cv_objdir
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 case $host_os in
   6968 aix3*)
   6969   # AIX sometimes has problems with the GCC collect2 program.  For some
   6970   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6971   # vanish in a puff of smoke.
   6972   if test "X${COLLECT_NAMES+set}" != Xset; then
   6973     COLLECT_NAMES=
   6974     export COLLECT_NAMES
   6975   fi
   6976   ;;
   6977 esac
   6978 
   6979 # Sed substitution that helps us do robust quoting.  It backslashifies
   6980 # metacharacters that are still active within double-quoted strings.
   6981 Xsed='sed -e 1s/^X//'
   6982 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6983 
   6984 # Same as above, but do not quote variable references.
   6985 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6986 
   6987 # Sed substitution to delay expansion of an escaped shell variable in a
   6988 # double_quote_subst'ed string.
   6989 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6990 
   6991 # Sed substitution to avoid accidental globbing in evaled expressions
   6992 no_glob_subst='s/\*/\\\*/g'
   6993 
   6994 # Constants:
   6995 rm="rm -f"
   6996 
   6997 # Global variables:
   6998 default_ofile=libtool
   6999 can_build_shared=yes
   7000 
   7001 # All known linkers require a `.a' archive for static linking (except MSVC,
   7002 # which needs '.lib').
   7003 libext=a
   7004 ltmain="$ac_aux_dir/ltmain.sh"
   7005 ofile="$default_ofile"
   7006 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7007 
   7008 if test -n "$ac_tool_prefix"; then
   7009   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7010 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7011 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7012 $as_echo_n "checking for $ac_word... " >&6; }
   7013 if test "${ac_cv_prog_AR+set}" = set; then
   7014   $as_echo_n "(cached) " >&6
   7015 else
   7016   if test -n "$AR"; then
   7017   ac_cv_prog_AR="$AR" # Let the user override the test.
   7018 else
   7019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7020 for as_dir in $PATH
   7021 do
   7022   IFS=$as_save_IFS
   7023   test -z "$as_dir" && as_dir=.
   7024   for ac_exec_ext in '' $ac_executable_extensions; do
   7025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7026     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7027     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7028     break 2
   7029   fi
   7030 done
   7031 done
   7032 IFS=$as_save_IFS
   7033 
   7034 fi
   7035 fi
   7036 AR=$ac_cv_prog_AR
   7037 if test -n "$AR"; then
   7038   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   7039 $as_echo "$AR" >&6; }
   7040 else
   7041   { $as_echo "$as_me:$LINENO: result: no" >&5
   7042 $as_echo "no" >&6; }
   7043 fi
   7044 
   7045 
   7046 fi
   7047 if test -z "$ac_cv_prog_AR"; then
   7048   ac_ct_AR=$AR
   7049   # Extract the first word of "ar", so it can be a program name with args.
   7050 set dummy ar; ac_word=$2
   7051 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7052 $as_echo_n "checking for $ac_word... " >&6; }
   7053 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   7054   $as_echo_n "(cached) " >&6
   7055 else
   7056   if test -n "$ac_ct_AR"; then
   7057   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7058 else
   7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7060 for as_dir in $PATH
   7061 do
   7062   IFS=$as_save_IFS
   7063   test -z "$as_dir" && as_dir=.
   7064   for ac_exec_ext in '' $ac_executable_extensions; do
   7065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7066     ac_cv_prog_ac_ct_AR="ar"
   7067     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7068     break 2
   7069   fi
   7070 done
   7071 done
   7072 IFS=$as_save_IFS
   7073 
   7074 fi
   7075 fi
   7076 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7077 if test -n "$ac_ct_AR"; then
   7078   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   7079 $as_echo "$ac_ct_AR" >&6; }
   7080 else
   7081   { $as_echo "$as_me:$LINENO: result: no" >&5
   7082 $as_echo "no" >&6; }
   7083 fi
   7084 
   7085   if test "x$ac_ct_AR" = x; then
   7086     AR="false"
   7087   else
   7088     case $cross_compiling:$ac_tool_warned in
   7089 yes:)
   7090 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7092 ac_tool_warned=yes ;;
   7093 esac
   7094     AR=$ac_ct_AR
   7095   fi
   7096 else
   7097   AR="$ac_cv_prog_AR"
   7098 fi
   7099 
   7100 if test -n "$ac_tool_prefix"; then
   7101   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7102 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7104 $as_echo_n "checking for $ac_word... " >&6; }
   7105 if test "${ac_cv_prog_RANLIB+set}" = set; then
   7106   $as_echo_n "(cached) " >&6
   7107 else
   7108   if test -n "$RANLIB"; then
   7109   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7110 else
   7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7112 for as_dir in $PATH
   7113 do
   7114   IFS=$as_save_IFS
   7115   test -z "$as_dir" && as_dir=.
   7116   for ac_exec_ext in '' $ac_executable_extensions; do
   7117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7118     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7119     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7120     break 2
   7121   fi
   7122 done
   7123 done
   7124 IFS=$as_save_IFS
   7125 
   7126 fi
   7127 fi
   7128 RANLIB=$ac_cv_prog_RANLIB
   7129 if test -n "$RANLIB"; then
   7130   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   7131 $as_echo "$RANLIB" >&6; }
   7132 else
   7133   { $as_echo "$as_me:$LINENO: result: no" >&5
   7134 $as_echo "no" >&6; }
   7135 fi
   7136 
   7137 
   7138 fi
   7139 if test -z "$ac_cv_prog_RANLIB"; then
   7140   ac_ct_RANLIB=$RANLIB
   7141   # Extract the first word of "ranlib", so it can be a program name with args.
   7142 set dummy ranlib; ac_word=$2
   7143 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7144 $as_echo_n "checking for $ac_word... " >&6; }
   7145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   7146   $as_echo_n "(cached) " >&6
   7147 else
   7148   if test -n "$ac_ct_RANLIB"; then
   7149   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7150 else
   7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7152 for as_dir in $PATH
   7153 do
   7154   IFS=$as_save_IFS
   7155   test -z "$as_dir" && as_dir=.
   7156   for ac_exec_ext in '' $ac_executable_extensions; do
   7157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7158     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7159     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7160     break 2
   7161   fi
   7162 done
   7163 done
   7164 IFS=$as_save_IFS
   7165 
   7166 fi
   7167 fi
   7168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7169 if test -n "$ac_ct_RANLIB"; then
   7170   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   7171 $as_echo "$ac_ct_RANLIB" >&6; }
   7172 else
   7173   { $as_echo "$as_me:$LINENO: result: no" >&5
   7174 $as_echo "no" >&6; }
   7175 fi
   7176 
   7177   if test "x$ac_ct_RANLIB" = x; then
   7178     RANLIB=":"
   7179   else
   7180     case $cross_compiling:$ac_tool_warned in
   7181 yes:)
   7182 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7184 ac_tool_warned=yes ;;
   7185 esac
   7186     RANLIB=$ac_ct_RANLIB
   7187   fi
   7188 else
   7189   RANLIB="$ac_cv_prog_RANLIB"
   7190 fi
   7191 
   7192 if test -n "$ac_tool_prefix"; then
   7193   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7194 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7195 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7196 $as_echo_n "checking for $ac_word... " >&6; }
   7197 if test "${ac_cv_prog_STRIP+set}" = set; then
   7198   $as_echo_n "(cached) " >&6
   7199 else
   7200   if test -n "$STRIP"; then
   7201   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7202 else
   7203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7204 for as_dir in $PATH
   7205 do
   7206   IFS=$as_save_IFS
   7207   test -z "$as_dir" && as_dir=.
   7208   for ac_exec_ext in '' $ac_executable_extensions; do
   7209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7210     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7211     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7212     break 2
   7213   fi
   7214 done
   7215 done
   7216 IFS=$as_save_IFS
   7217 
   7218 fi
   7219 fi
   7220 STRIP=$ac_cv_prog_STRIP
   7221 if test -n "$STRIP"; then
   7222   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7223 $as_echo "$STRIP" >&6; }
   7224 else
   7225   { $as_echo "$as_me:$LINENO: result: no" >&5
   7226 $as_echo "no" >&6; }
   7227 fi
   7228 
   7229 
   7230 fi
   7231 if test -z "$ac_cv_prog_STRIP"; then
   7232   ac_ct_STRIP=$STRIP
   7233   # Extract the first word of "strip", so it can be a program name with args.
   7234 set dummy strip; ac_word=$2
   7235 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7236 $as_echo_n "checking for $ac_word... " >&6; }
   7237 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7238   $as_echo_n "(cached) " >&6
   7239 else
   7240   if test -n "$ac_ct_STRIP"; then
   7241   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7242 else
   7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7244 for as_dir in $PATH
   7245 do
   7246   IFS=$as_save_IFS
   7247   test -z "$as_dir" && as_dir=.
   7248   for ac_exec_ext in '' $ac_executable_extensions; do
   7249   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7250     ac_cv_prog_ac_ct_STRIP="strip"
   7251     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7252     break 2
   7253   fi
   7254 done
   7255 done
   7256 IFS=$as_save_IFS
   7257 
   7258 fi
   7259 fi
   7260 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7261 if test -n "$ac_ct_STRIP"; then
   7262   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7263 $as_echo "$ac_ct_STRIP" >&6; }
   7264 else
   7265   { $as_echo "$as_me:$LINENO: result: no" >&5
   7266 $as_echo "no" >&6; }
   7267 fi
   7268 
   7269   if test "x$ac_ct_STRIP" = x; then
   7270     STRIP=":"
   7271   else
   7272     case $cross_compiling:$ac_tool_warned in
   7273 yes:)
   7274 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7276 ac_tool_warned=yes ;;
   7277 esac
   7278     STRIP=$ac_ct_STRIP
   7279   fi
   7280 else
   7281   STRIP="$ac_cv_prog_STRIP"
   7282 fi
   7283 
   7284 
   7285 old_CC="$CC"
   7286 old_CFLAGS="$CFLAGS"
   7287 
   7288 # Set sane defaults for various variables
   7289 test -z "$AR" && AR=ar
   7290 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7291 test -z "$AS" && AS=as
   7292 test -z "$CC" && CC=cc
   7293 test -z "$LTCC" && LTCC=$CC
   7294 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7295 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7296 test -z "$LD" && LD=ld
   7297 test -z "$LN_S" && LN_S="ln -s"
   7298 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7299 test -z "$NM" && NM=nm
   7300 test -z "$SED" && SED=sed
   7301 test -z "$OBJDUMP" && OBJDUMP=objdump
   7302 test -z "$RANLIB" && RANLIB=:
   7303 test -z "$STRIP" && STRIP=:
   7304 test -z "$ac_objext" && ac_objext=o
   7305 
   7306 # Determine commands to create old-style static archives.
   7307 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7308 old_postinstall_cmds='chmod 644 $oldlib'
   7309 old_postuninstall_cmds=
   7310 
   7311 if test -n "$RANLIB"; then
   7312   case $host_os in
   7313   openbsd*)
   7314     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7315     ;;
   7316   *)
   7317     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7318     ;;
   7319   esac
   7320   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7321 fi
   7322 
   7323 for cc_temp in $compiler""; do
   7324   case $cc_temp in
   7325     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7326     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7327     \-*) ;;
   7328     *) break;;
   7329   esac
   7330 done
   7331 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7332 
   7333 
   7334 # Only perform the check for file, if the check method requires it
   7335 case $deplibs_check_method in
   7336 file_magic*)
   7337   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7338     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7339 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7340 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7341   $as_echo_n "(cached) " >&6
   7342 else
   7343   case $MAGIC_CMD in
   7344 [\\/*] |  ?:[\\/]*)
   7345   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7346   ;;
   7347 *)
   7348   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7349   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7350   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7351   for ac_dir in $ac_dummy; do
   7352     IFS="$lt_save_ifs"
   7353     test -z "$ac_dir" && ac_dir=.
   7354     if test -f $ac_dir/${ac_tool_prefix}file; then
   7355       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7356       if test -n "$file_magic_test_file"; then
   7357 	case $deplibs_check_method in
   7358 	"file_magic "*)
   7359 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7360 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7361 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7362 	    $EGREP "$file_magic_regex" > /dev/null; then
   7363 	    :
   7364 	  else
   7365 	    cat <<EOF 1>&2
   7366 
   7367 *** Warning: the command libtool uses to detect shared libraries,
   7368 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7369 *** The result is that libtool may fail to recognize shared libraries
   7370 *** as such.  This will affect the creation of libtool libraries that
   7371 *** depend on shared libraries, but programs linked with such libtool
   7372 *** libraries will work regardless of this problem.  Nevertheless, you
   7373 *** may want to report the problem to your system manager and/or to
   7374 *** bug-libtool@gnu.org
   7375 
   7376 EOF
   7377 	  fi ;;
   7378 	esac
   7379       fi
   7380       break
   7381     fi
   7382   done
   7383   IFS="$lt_save_ifs"
   7384   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7385   ;;
   7386 esac
   7387 fi
   7388 
   7389 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7390 if test -n "$MAGIC_CMD"; then
   7391   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7392 $as_echo "$MAGIC_CMD" >&6; }
   7393 else
   7394   { $as_echo "$as_me:$LINENO: result: no" >&5
   7395 $as_echo "no" >&6; }
   7396 fi
   7397 
   7398 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7399   if test -n "$ac_tool_prefix"; then
   7400     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7401 $as_echo_n "checking for file... " >&6; }
   7402 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7403   $as_echo_n "(cached) " >&6
   7404 else
   7405   case $MAGIC_CMD in
   7406 [\\/*] |  ?:[\\/]*)
   7407   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7408   ;;
   7409 *)
   7410   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7411   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7412   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7413   for ac_dir in $ac_dummy; do
   7414     IFS="$lt_save_ifs"
   7415     test -z "$ac_dir" && ac_dir=.
   7416     if test -f $ac_dir/file; then
   7417       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7418       if test -n "$file_magic_test_file"; then
   7419 	case $deplibs_check_method in
   7420 	"file_magic "*)
   7421 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7422 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7423 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7424 	    $EGREP "$file_magic_regex" > /dev/null; then
   7425 	    :
   7426 	  else
   7427 	    cat <<EOF 1>&2
   7428 
   7429 *** Warning: the command libtool uses to detect shared libraries,
   7430 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7431 *** The result is that libtool may fail to recognize shared libraries
   7432 *** as such.  This will affect the creation of libtool libraries that
   7433 *** depend on shared libraries, but programs linked with such libtool
   7434 *** libraries will work regardless of this problem.  Nevertheless, you
   7435 *** may want to report the problem to your system manager and/or to
   7436 *** bug-libtool@gnu.org
   7437 
   7438 EOF
   7439 	  fi ;;
   7440 	esac
   7441       fi
   7442       break
   7443     fi
   7444   done
   7445   IFS="$lt_save_ifs"
   7446   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7447   ;;
   7448 esac
   7449 fi
   7450 
   7451 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7452 if test -n "$MAGIC_CMD"; then
   7453   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7454 $as_echo "$MAGIC_CMD" >&6; }
   7455 else
   7456   { $as_echo "$as_me:$LINENO: result: no" >&5
   7457 $as_echo "no" >&6; }
   7458 fi
   7459 
   7460   else
   7461     MAGIC_CMD=:
   7462   fi
   7463 fi
   7464 
   7465   fi
   7466   ;;
   7467 esac
   7468 
   7469 
   7470   case $host_os in
   7471     rhapsody* | darwin*)
   7472     if test -n "$ac_tool_prefix"; then
   7473   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7474 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7476 $as_echo_n "checking for $ac_word... " >&6; }
   7477 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7478   $as_echo_n "(cached) " >&6
   7479 else
   7480   if test -n "$DSYMUTIL"; then
   7481   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7482 else
   7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7484 for as_dir in $PATH
   7485 do
   7486   IFS=$as_save_IFS
   7487   test -z "$as_dir" && as_dir=.
   7488   for ac_exec_ext in '' $ac_executable_extensions; do
   7489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7490     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7491     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7492     break 2
   7493   fi
   7494 done
   7495 done
   7496 IFS=$as_save_IFS
   7497 
   7498 fi
   7499 fi
   7500 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7501 if test -n "$DSYMUTIL"; then
   7502   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7503 $as_echo "$DSYMUTIL" >&6; }
   7504 else
   7505   { $as_echo "$as_me:$LINENO: result: no" >&5
   7506 $as_echo "no" >&6; }
   7507 fi
   7508 
   7509 
   7510 fi
   7511 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7512   ac_ct_DSYMUTIL=$DSYMUTIL
   7513   # Extract the first word of "dsymutil", so it can be a program name with args.
   7514 set dummy dsymutil; ac_word=$2
   7515 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7516 $as_echo_n "checking for $ac_word... " >&6; }
   7517 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7518   $as_echo_n "(cached) " >&6
   7519 else
   7520   if test -n "$ac_ct_DSYMUTIL"; then
   7521   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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   test -z "$as_dir" && as_dir=.
   7528   for ac_exec_ext in '' $ac_executable_extensions; do
   7529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7530     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7531     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7532     break 2
   7533   fi
   7534 done
   7535 done
   7536 IFS=$as_save_IFS
   7537 
   7538 fi
   7539 fi
   7540 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7541 if test -n "$ac_ct_DSYMUTIL"; then
   7542   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7543 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7544 else
   7545   { $as_echo "$as_me:$LINENO: result: no" >&5
   7546 $as_echo "no" >&6; }
   7547 fi
   7548 
   7549   if test "x$ac_ct_DSYMUTIL" = x; then
   7550     DSYMUTIL=":"
   7551   else
   7552     case $cross_compiling:$ac_tool_warned in
   7553 yes:)
   7554 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7556 ac_tool_warned=yes ;;
   7557 esac
   7558     DSYMUTIL=$ac_ct_DSYMUTIL
   7559   fi
   7560 else
   7561   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7562 fi
   7563 
   7564     if test -n "$ac_tool_prefix"; then
   7565   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7566 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7567 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7568 $as_echo_n "checking for $ac_word... " >&6; }
   7569 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7570   $as_echo_n "(cached) " >&6
   7571 else
   7572   if test -n "$NMEDIT"; then
   7573   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7574 else
   7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7576 for as_dir in $PATH
   7577 do
   7578   IFS=$as_save_IFS
   7579   test -z "$as_dir" && as_dir=.
   7580   for ac_exec_ext in '' $ac_executable_extensions; do
   7581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7582     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7583     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7584     break 2
   7585   fi
   7586 done
   7587 done
   7588 IFS=$as_save_IFS
   7589 
   7590 fi
   7591 fi
   7592 NMEDIT=$ac_cv_prog_NMEDIT
   7593 if test -n "$NMEDIT"; then
   7594   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7595 $as_echo "$NMEDIT" >&6; }
   7596 else
   7597   { $as_echo "$as_me:$LINENO: result: no" >&5
   7598 $as_echo "no" >&6; }
   7599 fi
   7600 
   7601 
   7602 fi
   7603 if test -z "$ac_cv_prog_NMEDIT"; then
   7604   ac_ct_NMEDIT=$NMEDIT
   7605   # Extract the first word of "nmedit", so it can be a program name with args.
   7606 set dummy nmedit; ac_word=$2
   7607 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7608 $as_echo_n "checking for $ac_word... " >&6; }
   7609 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7610   $as_echo_n "(cached) " >&6
   7611 else
   7612   if test -n "$ac_ct_NMEDIT"; then
   7613   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7614 else
   7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7616 for as_dir in $PATH
   7617 do
   7618   IFS=$as_save_IFS
   7619   test -z "$as_dir" && as_dir=.
   7620   for ac_exec_ext in '' $ac_executable_extensions; do
   7621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7622     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7623     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7624     break 2
   7625   fi
   7626 done
   7627 done
   7628 IFS=$as_save_IFS
   7629 
   7630 fi
   7631 fi
   7632 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7633 if test -n "$ac_ct_NMEDIT"; then
   7634   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7635 $as_echo "$ac_ct_NMEDIT" >&6; }
   7636 else
   7637   { $as_echo "$as_me:$LINENO: result: no" >&5
   7638 $as_echo "no" >&6; }
   7639 fi
   7640 
   7641   if test "x$ac_ct_NMEDIT" = x; then
   7642     NMEDIT=":"
   7643   else
   7644     case $cross_compiling:$ac_tool_warned in
   7645 yes:)
   7646 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7648 ac_tool_warned=yes ;;
   7649 esac
   7650     NMEDIT=$ac_ct_NMEDIT
   7651   fi
   7652 else
   7653   NMEDIT="$ac_cv_prog_NMEDIT"
   7654 fi
   7655 
   7656 
   7657     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7658 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7659 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7660   $as_echo_n "(cached) " >&6
   7661 else
   7662   lt_cv_apple_cc_single_mod=no
   7663       if test -z "${LT_MULTI_MODULE}"; then
   7664    # By default we will add the -single_module flag. You can override
   7665    # by either setting the environment variable LT_MULTI_MODULE
   7666    # non-empty at configure time, or by adding -multi_module to the
   7667    # link flags.
   7668    echo "int foo(void){return 1;}" > conftest.c
   7669    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7670      -dynamiclib ${wl}-single_module conftest.c
   7671    if test -f libconftest.dylib; then
   7672      lt_cv_apple_cc_single_mod=yes
   7673      rm -rf libconftest.dylib*
   7674    fi
   7675    rm conftest.c
   7676       fi
   7677 fi
   7678 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7679 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7680     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7681 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7682 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7683   $as_echo_n "(cached) " >&6
   7684 else
   7685   lt_cv_ld_exported_symbols_list=no
   7686       save_LDFLAGS=$LDFLAGS
   7687       echo "_main" > conftest.sym
   7688       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7689       cat >conftest.$ac_ext <<_ACEOF
   7690 /* confdefs.h.  */
   7691 _ACEOF
   7692 cat confdefs.h >>conftest.$ac_ext
   7693 cat >>conftest.$ac_ext <<_ACEOF
   7694 /* end confdefs.h.  */
   7695 
   7696 int
   7697 main ()
   7698 {
   7699 
   7700   ;
   7701   return 0;
   7702 }
   7703 _ACEOF
   7704 rm -f conftest.$ac_objext conftest$ac_exeext
   7705 if { (ac_try="$ac_link"
   7706 case "(($ac_try" in
   7707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7708   *) ac_try_echo=$ac_try;;
   7709 esac
   7710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7711 $as_echo "$ac_try_echo") >&5
   7712   (eval "$ac_link") 2>conftest.er1
   7713   ac_status=$?
   7714   grep -v '^ *+' conftest.er1 >conftest.err
   7715   rm -f conftest.er1
   7716   cat conftest.err >&5
   7717   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7718   (exit $ac_status); } && {
   7719 	 test -z "$ac_c_werror_flag" ||
   7720 	 test ! -s conftest.err
   7721        } && test -s conftest$ac_exeext && {
   7722 	 test "$cross_compiling" = yes ||
   7723 	 $as_test_x conftest$ac_exeext
   7724        }; then
   7725   lt_cv_ld_exported_symbols_list=yes
   7726 else
   7727   $as_echo "$as_me: failed program was:" >&5
   7728 sed 's/^/| /' conftest.$ac_ext >&5
   7729 
   7730 	lt_cv_ld_exported_symbols_list=no
   7731 fi
   7732 
   7733 rm -rf conftest.dSYM
   7734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7735       conftest$ac_exeext conftest.$ac_ext
   7736    LDFLAGS="$save_LDFLAGS"
   7737 
   7738 fi
   7739 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7740 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7741     case $host_os in
   7742     rhapsody* | darwin1.[0123])
   7743       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7744     darwin1.*)
   7745      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7746     darwin*)
   7747       # if running on 10.5 or later, the deployment target defaults
   7748       # to the OS version, if on x86, and 10.4, the deployment
   7749       # target defaults to 10.4. Don't you love it?
   7750       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7751    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7752      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7753    10.[012]*)
   7754      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7755    10.*)
   7756      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7757       esac
   7758     ;;
   7759   esac
   7760     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7761       _lt_dar_single_mod='$single_module'
   7762     fi
   7763     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7764       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7765     else
   7766       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7767     fi
   7768     if test "$DSYMUTIL" != ":"; then
   7769       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7770     else
   7771       _lt_dsymutil=
   7772     fi
   7773     ;;
   7774   esac
   7775 
   7776 
   7777 enable_dlopen=no
   7778 enable_win32_dll=no
   7779 
   7780 # Check whether --enable-libtool-lock was given.
   7781 if test "${enable_libtool_lock+set}" = set; then
   7782   enableval=$enable_libtool_lock;
   7783 fi
   7784 
   7785 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7786 
   7787 
   7788 # Check whether --with-pic was given.
   7789 if test "${with_pic+set}" = set; then
   7790   withval=$with_pic; pic_mode="$withval"
   7791 else
   7792   pic_mode=default
   7793 fi
   7794 
   7795 test -z "$pic_mode" && pic_mode=default
   7796 
   7797 # Use C for the default configuration in the libtool script
   7798 tagname=
   7799 lt_save_CC="$CC"
   7800 ac_ext=c
   7801 ac_cpp='$CPP $CPPFLAGS'
   7802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7805 
   7806 
   7807 # Source file extension for C test sources.
   7808 ac_ext=c
   7809 
   7810 # Object file extension for compiled C test sources.
   7811 objext=o
   7812 objext=$objext
   7813 
   7814 # Code to be used in simple compile tests
   7815 lt_simple_compile_test_code="int some_variable = 0;"
   7816 
   7817 # Code to be used in simple link tests
   7818 lt_simple_link_test_code='int main(){return(0);}'
   7819 
   7820 
   7821 # If no C compiler was specified, use CC.
   7822 LTCC=${LTCC-"$CC"}
   7823 
   7824 # If no C compiler flags were specified, use CFLAGS.
   7825 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7826 
   7827 # Allow CC to be a program name with arguments.
   7828 compiler=$CC
   7829 
   7830 
   7831 # save warnings/boilerplate of simple test code
   7832 ac_outfile=conftest.$ac_objext
   7833 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7834 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7835 _lt_compiler_boilerplate=`cat conftest.err`
   7836 $rm conftest*
   7837 
   7838 ac_outfile=conftest.$ac_objext
   7839 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7840 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7841 _lt_linker_boilerplate=`cat conftest.err`
   7842 $rm -r conftest*
   7843 
   7844 
   7845 
   7846 lt_prog_compiler_no_builtin_flag=
   7847 
   7848 if test "$GCC" = yes; then
   7849   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7850 
   7851 
   7852 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7853 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7854 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7855   $as_echo_n "(cached) " >&6
   7856 else
   7857   lt_cv_prog_compiler_rtti_exceptions=no
   7858   ac_outfile=conftest.$ac_objext
   7859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7860    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7861    # Insert the option either (1) after the last *FLAGS variable, or
   7862    # (2) before a word containing "conftest.", or (3) at the end.
   7863    # Note that $ac_compile itself does not contain backslashes and begins
   7864    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7865    # The option is referenced via a variable to avoid confusing sed.
   7866    lt_compile=`echo "$ac_compile" | $SED \
   7867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7869    -e 's:$: $lt_compiler_flag:'`
   7870    (eval echo "\"\$as_me:7870: $lt_compile\"" >&5)
   7871    (eval "$lt_compile" 2>conftest.err)
   7872    ac_status=$?
   7873    cat conftest.err >&5
   7874    echo "$as_me:7874: \$? = $ac_status" >&5
   7875    if (exit $ac_status) && test -s "$ac_outfile"; then
   7876      # The compiler can only warn and ignore the option if not recognized
   7877      # So say no if there are warnings other than the usual output.
   7878      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7879      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7880      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7881        lt_cv_prog_compiler_rtti_exceptions=yes
   7882      fi
   7883    fi
   7884    $rm conftest*
   7885 
   7886 fi
   7887 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7888 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7889 
   7890 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7891     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7892 else
   7893     :
   7894 fi
   7895 
   7896 fi
   7897 
   7898 lt_prog_compiler_wl=
   7899 lt_prog_compiler_pic=
   7900 lt_prog_compiler_static=
   7901 
   7902 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7903 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7904 
   7905   if test "$GCC" = yes; then
   7906     lt_prog_compiler_wl='-Wl,'
   7907     lt_prog_compiler_static='-static'
   7908 
   7909     case $host_os in
   7910       aix*)
   7911       # All AIX code is PIC.
   7912       if test "$host_cpu" = ia64; then
   7913 	# AIX 5 now supports IA64 processor
   7914 	lt_prog_compiler_static='-Bstatic'
   7915       fi
   7916       ;;
   7917 
   7918     amigaos*)
   7919       # FIXME: we need at least 68020 code to build shared libraries, but
   7920       # adding the `-m68020' flag to GCC prevents building anything better,
   7921       # like `-m68040'.
   7922       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7923       ;;
   7924 
   7925     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7926       # PIC is the default for these OSes.
   7927       ;;
   7928 
   7929     mingw* | cygwin* | pw32* | os2*)
   7930       # This hack is so that the source file can tell whether it is being
   7931       # built for inclusion in a dll (and should export symbols for example).
   7932       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7933       # (--disable-auto-import) libraries
   7934       lt_prog_compiler_pic='-DDLL_EXPORT'
   7935       ;;
   7936 
   7937     darwin* | rhapsody*)
   7938       # PIC is the default on this platform
   7939       # Common symbols not allowed in MH_DYLIB files
   7940       lt_prog_compiler_pic='-fno-common'
   7941       ;;
   7942 
   7943     interix[3-9]*)
   7944       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7945       # Instead, we relocate shared libraries at runtime.
   7946       ;;
   7947 
   7948     msdosdjgpp*)
   7949       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7950       # on systems that don't support them.
   7951       lt_prog_compiler_can_build_shared=no
   7952       enable_shared=no
   7953       ;;
   7954 
   7955     sysv4*MP*)
   7956       if test -d /usr/nec; then
   7957 	lt_prog_compiler_pic=-Kconform_pic
   7958       fi
   7959       ;;
   7960 
   7961     hpux*)
   7962       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7963       # not for PA HP-UX.
   7964       case $host_cpu in
   7965       hppa*64*|ia64*)
   7966 	# +Z the default
   7967 	;;
   7968       *)
   7969 	lt_prog_compiler_pic='-fPIC'
   7970 	;;
   7971       esac
   7972       ;;
   7973 
   7974     *)
   7975       lt_prog_compiler_pic='-fPIC'
   7976       ;;
   7977     esac
   7978   else
   7979     # PORTME Check for flag to pass linker flags through the system compiler.
   7980     case $host_os in
   7981     aix*)
   7982       lt_prog_compiler_wl='-Wl,'
   7983       if test "$host_cpu" = ia64; then
   7984 	# AIX 5 now supports IA64 processor
   7985 	lt_prog_compiler_static='-Bstatic'
   7986       else
   7987 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7988       fi
   7989       ;;
   7990       darwin*)
   7991         # PIC is the default on this platform
   7992         # Common symbols not allowed in MH_DYLIB files
   7993        case $cc_basename in
   7994          xlc*)
   7995          lt_prog_compiler_pic='-qnocommon'
   7996          lt_prog_compiler_wl='-Wl,'
   7997          ;;
   7998        esac
   7999        ;;
   8000 
   8001     mingw* | cygwin* | pw32* | os2*)
   8002       # This hack is so that the source file can tell whether it is being
   8003       # built for inclusion in a dll (and should export symbols for example).
   8004       lt_prog_compiler_pic='-DDLL_EXPORT'
   8005       ;;
   8006 
   8007     hpux9* | hpux10* | hpux11*)
   8008       lt_prog_compiler_wl='-Wl,'
   8009       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8010       # not for PA HP-UX.
   8011       case $host_cpu in
   8012       hppa*64*|ia64*)
   8013 	# +Z the default
   8014 	;;
   8015       *)
   8016 	lt_prog_compiler_pic='+Z'
   8017 	;;
   8018       esac
   8019       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8020       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8021       ;;
   8022 
   8023     irix5* | irix6* | nonstopux*)
   8024       lt_prog_compiler_wl='-Wl,'
   8025       # PIC (with -KPIC) is the default.
   8026       lt_prog_compiler_static='-non_shared'
   8027       ;;
   8028 
   8029     newsos6)
   8030       lt_prog_compiler_pic='-KPIC'
   8031       lt_prog_compiler_static='-Bstatic'
   8032       ;;
   8033 
   8034     linux* | k*bsd*-gnu)
   8035       case $cc_basename in
   8036       icc* | ecc*)
   8037 	lt_prog_compiler_wl='-Wl,'
   8038 	lt_prog_compiler_pic='-KPIC'
   8039 	lt_prog_compiler_static='-static'
   8040         ;;
   8041       pgcc* | pgf77* | pgf90* | pgf95*)
   8042         # Portland Group compilers (*not* the Pentium gcc compiler,
   8043 	# which looks to be a dead project)
   8044 	lt_prog_compiler_wl='-Wl,'
   8045 	lt_prog_compiler_pic='-fpic'
   8046 	lt_prog_compiler_static='-Bstatic'
   8047         ;;
   8048       ccc*)
   8049         lt_prog_compiler_wl='-Wl,'
   8050         # All Alpha code is PIC.
   8051         lt_prog_compiler_static='-non_shared'
   8052         ;;
   8053       *)
   8054         case `$CC -V 2>&1 | sed 5q` in
   8055 	*Sun\ C*)
   8056 	  # Sun C 5.9
   8057 	  lt_prog_compiler_pic='-KPIC'
   8058 	  lt_prog_compiler_static='-Bstatic'
   8059 	  lt_prog_compiler_wl='-Wl,'
   8060 	  ;;
   8061 	*Sun\ F*)
   8062 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8063 	  lt_prog_compiler_pic='-KPIC'
   8064 	  lt_prog_compiler_static='-Bstatic'
   8065 	  lt_prog_compiler_wl=''
   8066 	  ;;
   8067 	esac
   8068 	;;
   8069       esac
   8070       ;;
   8071 
   8072     osf3* | osf4* | osf5*)
   8073       lt_prog_compiler_wl='-Wl,'
   8074       # All OSF/1 code is PIC.
   8075       lt_prog_compiler_static='-non_shared'
   8076       ;;
   8077 
   8078     rdos*)
   8079       lt_prog_compiler_static='-non_shared'
   8080       ;;
   8081 
   8082     solaris*)
   8083       lt_prog_compiler_pic='-KPIC'
   8084       lt_prog_compiler_static='-Bstatic'
   8085       case $cc_basename in
   8086       f77* | f90* | f95*)
   8087 	lt_prog_compiler_wl='-Qoption ld ';;
   8088       *)
   8089 	lt_prog_compiler_wl='-Wl,';;
   8090       esac
   8091       ;;
   8092 
   8093     sunos4*)
   8094       lt_prog_compiler_wl='-Qoption ld '
   8095       lt_prog_compiler_pic='-PIC'
   8096       lt_prog_compiler_static='-Bstatic'
   8097       ;;
   8098 
   8099     sysv4 | sysv4.2uw2* | sysv4.3*)
   8100       lt_prog_compiler_wl='-Wl,'
   8101       lt_prog_compiler_pic='-KPIC'
   8102       lt_prog_compiler_static='-Bstatic'
   8103       ;;
   8104 
   8105     sysv4*MP*)
   8106       if test -d /usr/nec ;then
   8107 	lt_prog_compiler_pic='-Kconform_pic'
   8108 	lt_prog_compiler_static='-Bstatic'
   8109       fi
   8110       ;;
   8111 
   8112     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8113       lt_prog_compiler_wl='-Wl,'
   8114       lt_prog_compiler_pic='-KPIC'
   8115       lt_prog_compiler_static='-Bstatic'
   8116       ;;
   8117 
   8118     unicos*)
   8119       lt_prog_compiler_wl='-Wl,'
   8120       lt_prog_compiler_can_build_shared=no
   8121       ;;
   8122 
   8123     uts4*)
   8124       lt_prog_compiler_pic='-pic'
   8125       lt_prog_compiler_static='-Bstatic'
   8126       ;;
   8127 
   8128     *)
   8129       lt_prog_compiler_can_build_shared=no
   8130       ;;
   8131     esac
   8132   fi
   8133 
   8134 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   8135 $as_echo "$lt_prog_compiler_pic" >&6; }
   8136 
   8137 #
   8138 # Check to make sure the PIC flag actually works.
   8139 #
   8140 if test -n "$lt_prog_compiler_pic"; then
   8141 
   8142 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8143 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8144 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   8145   $as_echo_n "(cached) " >&6
   8146 else
   8147   lt_cv_prog_compiler_pic_works=no
   8148   ac_outfile=conftest.$ac_objext
   8149    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8150    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8151    # Insert the option either (1) after the last *FLAGS variable, or
   8152    # (2) before a word containing "conftest.", or (3) at the end.
   8153    # Note that $ac_compile itself does not contain backslashes and begins
   8154    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8155    # The option is referenced via a variable to avoid confusing sed.
   8156    lt_compile=`echo "$ac_compile" | $SED \
   8157    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8158    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8159    -e 's:$: $lt_compiler_flag:'`
   8160    (eval echo "\"\$as_me:8160: $lt_compile\"" >&5)
   8161    (eval "$lt_compile" 2>conftest.err)
   8162    ac_status=$?
   8163    cat conftest.err >&5
   8164    echo "$as_me:8164: \$? = $ac_status" >&5
   8165    if (exit $ac_status) && test -s "$ac_outfile"; then
   8166      # The compiler can only warn and ignore the option if not recognized
   8167      # So say no if there are warnings other than the usual output.
   8168      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8169      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8170      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8171        lt_cv_prog_compiler_pic_works=yes
   8172      fi
   8173    fi
   8174    $rm conftest*
   8175 
   8176 fi
   8177 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   8178 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8179 
   8180 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8181     case $lt_prog_compiler_pic in
   8182      "" | " "*) ;;
   8183      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8184      esac
   8185 else
   8186     lt_prog_compiler_pic=
   8187      lt_prog_compiler_can_build_shared=no
   8188 fi
   8189 
   8190 fi
   8191 case $host_os in
   8192   # For platforms which do not support PIC, -DPIC is meaningless:
   8193   *djgpp*)
   8194     lt_prog_compiler_pic=
   8195     ;;
   8196   *)
   8197     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8198     ;;
   8199 esac
   8200 
   8201 #
   8202 # Check to make sure the static flag actually works.
   8203 #
   8204 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8205 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8206 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8207 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8208   $as_echo_n "(cached) " >&6
   8209 else
   8210   lt_cv_prog_compiler_static_works=no
   8211    save_LDFLAGS="$LDFLAGS"
   8212    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8213    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8214    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8215      # The linker can only warn and ignore the option if not recognized
   8216      # So say no if there are warnings
   8217      if test -s conftest.err; then
   8218        # Append any errors to the config.log.
   8219        cat conftest.err 1>&5
   8220        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8221        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8222        if diff conftest.exp conftest.er2 >/dev/null; then
   8223          lt_cv_prog_compiler_static_works=yes
   8224        fi
   8225      else
   8226        lt_cv_prog_compiler_static_works=yes
   8227      fi
   8228    fi
   8229    $rm -r conftest*
   8230    LDFLAGS="$save_LDFLAGS"
   8231 
   8232 fi
   8233 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8234 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8235 
   8236 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8237     :
   8238 else
   8239     lt_prog_compiler_static=
   8240 fi
   8241 
   8242 
   8243 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8244 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8245 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8246   $as_echo_n "(cached) " >&6
   8247 else
   8248   lt_cv_prog_compiler_c_o=no
   8249    $rm -r conftest 2>/dev/null
   8250    mkdir conftest
   8251    cd conftest
   8252    mkdir out
   8253    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8254 
   8255    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8256    # Insert the option either (1) after the last *FLAGS variable, or
   8257    # (2) before a word containing "conftest.", or (3) at the end.
   8258    # Note that $ac_compile itself does not contain backslashes and begins
   8259    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8260    lt_compile=`echo "$ac_compile" | $SED \
   8261    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8262    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8263    -e 's:$: $lt_compiler_flag:'`
   8264    (eval echo "\"\$as_me:8264: $lt_compile\"" >&5)
   8265    (eval "$lt_compile" 2>out/conftest.err)
   8266    ac_status=$?
   8267    cat out/conftest.err >&5
   8268    echo "$as_me:8268: \$? = $ac_status" >&5
   8269    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8270    then
   8271      # The compiler can only warn and ignore the option if not recognized
   8272      # So say no if there are warnings
   8273      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8274      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8275      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8276        lt_cv_prog_compiler_c_o=yes
   8277      fi
   8278    fi
   8279    chmod u+w . 2>&5
   8280    $rm conftest*
   8281    # SGI C++ compiler will create directory out/ii_files/ for
   8282    # template instantiation
   8283    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8284    $rm out/* && rmdir out
   8285    cd ..
   8286    rmdir conftest
   8287    $rm conftest*
   8288 
   8289 fi
   8290 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8291 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8292 
   8293 
   8294 hard_links="nottested"
   8295 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8296   # do not overwrite the value of need_locks provided by the user
   8297   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8298 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8299   hard_links=yes
   8300   $rm conftest*
   8301   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8302   touch conftest.a
   8303   ln conftest.a conftest.b 2>&5 || hard_links=no
   8304   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8305   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8306 $as_echo "$hard_links" >&6; }
   8307   if test "$hard_links" = no; then
   8308     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8309 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8310     need_locks=warn
   8311   fi
   8312 else
   8313   need_locks=no
   8314 fi
   8315 
   8316 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8317 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8318 
   8319   runpath_var=
   8320   allow_undefined_flag=
   8321   enable_shared_with_static_runtimes=no
   8322   archive_cmds=
   8323   archive_expsym_cmds=
   8324   old_archive_From_new_cmds=
   8325   old_archive_from_expsyms_cmds=
   8326   export_dynamic_flag_spec=
   8327   whole_archive_flag_spec=
   8328   thread_safe_flag_spec=
   8329   hardcode_libdir_flag_spec=
   8330   hardcode_libdir_flag_spec_ld=
   8331   hardcode_libdir_separator=
   8332   hardcode_direct=no
   8333   hardcode_minus_L=no
   8334   hardcode_shlibpath_var=unsupported
   8335   link_all_deplibs=unknown
   8336   hardcode_automatic=no
   8337   module_cmds=
   8338   module_expsym_cmds=
   8339   always_export_symbols=no
   8340   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8341   # include_expsyms should be a list of space-separated symbols to be *always*
   8342   # included in the symbol list
   8343   include_expsyms=
   8344   # exclude_expsyms can be an extended regexp of symbols to exclude
   8345   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8346   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8347   # as well as any symbol that contains `d'.
   8348   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8349   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8350   # platforms (ab)use it in PIC code, but their linkers get confused if
   8351   # the symbol is explicitly referenced.  Since portable code cannot
   8352   # rely on this symbol name, it's probably fine to never include it in
   8353   # preloaded symbol tables.
   8354   # Exclude shared library initialization/finalization symbols.
   8355   extract_expsyms_cmds=
   8356   # Just being paranoid about ensuring that cc_basename is set.
   8357   for cc_temp in $compiler""; do
   8358   case $cc_temp in
   8359     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8360     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8361     \-*) ;;
   8362     *) break;;
   8363   esac
   8364 done
   8365 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8366 
   8367   case $host_os in
   8368   cygwin* | mingw* | pw32*)
   8369     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8370     # When not using gcc, we currently assume that we are using
   8371     # Microsoft Visual C++.
   8372     if test "$GCC" != yes; then
   8373       with_gnu_ld=no
   8374     fi
   8375     ;;
   8376   interix*)
   8377     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8378     with_gnu_ld=yes
   8379     ;;
   8380   openbsd*)
   8381     with_gnu_ld=no
   8382     ;;
   8383   esac
   8384 
   8385   ld_shlibs=yes
   8386   if test "$with_gnu_ld" = yes; then
   8387     # If archive_cmds runs LD, not CC, wlarc should be empty
   8388     wlarc='${wl}'
   8389 
   8390     # Set some defaults for GNU ld with shared library support. These
   8391     # are reset later if shared libraries are not supported. Putting them
   8392     # here allows them to be overridden if necessary.
   8393     runpath_var=LD_RUN_PATH
   8394     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8395     export_dynamic_flag_spec='${wl}--export-dynamic'
   8396     # ancient GNU ld didn't support --whole-archive et. al.
   8397     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8398 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8399       else
   8400   	whole_archive_flag_spec=
   8401     fi
   8402     supports_anon_versioning=no
   8403     case `$LD -v 2>/dev/null` in
   8404       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8405       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8406       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8407       *\ 2.11.*) ;; # other 2.11 versions
   8408       *) supports_anon_versioning=yes ;;
   8409     esac
   8410 
   8411     # See if GNU ld supports shared libraries.
   8412     case $host_os in
   8413     aix[3-9]*)
   8414       # On AIX/PPC, the GNU linker is very broken
   8415       if test "$host_cpu" != ia64; then
   8416 	ld_shlibs=no
   8417 	cat <<EOF 1>&2
   8418 
   8419 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8420 *** to be unable to reliably create shared libraries on AIX.
   8421 *** Therefore, libtool is disabling shared libraries support.  If you
   8422 *** really care for shared libraries, you may want to modify your PATH
   8423 *** so that a non-GNU linker is found, and then restart.
   8424 
   8425 EOF
   8426       fi
   8427       ;;
   8428 
   8429     amigaos*)
   8430       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)'
   8431       hardcode_libdir_flag_spec='-L$libdir'
   8432       hardcode_minus_L=yes
   8433 
   8434       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8435       # that the semantics of dynamic libraries on AmigaOS, at least up
   8436       # to version 4, is to share data among multiple programs linked
   8437       # with the same dynamic library.  Since this doesn't match the
   8438       # behavior of shared libraries on other platforms, we can't use
   8439       # them.
   8440       ld_shlibs=no
   8441       ;;
   8442 
   8443     beos*)
   8444       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8445 	allow_undefined_flag=unsupported
   8446 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8447 	# support --undefined.  This deserves some investigation.  FIXME
   8448 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8449       else
   8450 	ld_shlibs=no
   8451       fi
   8452       ;;
   8453 
   8454     cygwin* | mingw* | pw32*)
   8455       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8456       # as there is no search path for DLLs.
   8457       hardcode_libdir_flag_spec='-L$libdir'
   8458       allow_undefined_flag=unsupported
   8459       always_export_symbols=no
   8460       enable_shared_with_static_runtimes=yes
   8461       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8462 
   8463       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8464         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8465 	# If the export-symbols file already is a .def file (1st line
   8466 	# is EXPORTS), use it as is; otherwise, prepend...
   8467 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8468 	  cp $export_symbols $output_objdir/$soname.def;
   8469 	else
   8470 	  echo EXPORTS > $output_objdir/$soname.def;
   8471 	  cat $export_symbols >> $output_objdir/$soname.def;
   8472 	fi~
   8473 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8474       else
   8475 	ld_shlibs=no
   8476       fi
   8477       ;;
   8478 
   8479     interix[3-9]*)
   8480       hardcode_direct=no
   8481       hardcode_shlibpath_var=no
   8482       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8483       export_dynamic_flag_spec='${wl}-E'
   8484       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8485       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8486       # default) and relocated if they conflict, which is a slow very memory
   8487       # consuming and fragmenting process.  To avoid this, we pick a random,
   8488       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8489       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8490       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8491       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'
   8492       ;;
   8493 
   8494     gnu* | linux* | k*bsd*-gnu)
   8495       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8496 	tmp_addflag=
   8497 	case $cc_basename,$host_cpu in
   8498 	pgcc*)				# Portland Group C compiler
   8499 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8500 	  tmp_addflag=' $pic_flag'
   8501 	  ;;
   8502 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8503 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8504 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8505 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8506 	  tmp_addflag=' -i_dynamic' ;;
   8507 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8508 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8509 	ifc* | ifort*)			# Intel Fortran compiler
   8510 	  tmp_addflag=' -nofor_main' ;;
   8511 	esac
   8512 	case `$CC -V 2>&1 | sed 5q` in
   8513 	*Sun\ C*)			# Sun C 5.9
   8514 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8515 	  tmp_sharedflag='-G' ;;
   8516 	*Sun\ F*)			# Sun Fortran 8.3
   8517 	  tmp_sharedflag='-G' ;;
   8518 	*)
   8519 	  tmp_sharedflag='-shared' ;;
   8520 	esac
   8521 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8522 
   8523 	if test $supports_anon_versioning = yes; then
   8524 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8525   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8526   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8527 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8528 	fi
   8529       else
   8530 	ld_shlibs=no
   8531       fi
   8532       ;;
   8533 
   8534     netbsd*)
   8535       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8536 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8537 	wlarc=
   8538       else
   8539 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8540 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8541       fi
   8542       ;;
   8543 
   8544     solaris*)
   8545       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8546 	ld_shlibs=no
   8547 	cat <<EOF 1>&2
   8548 
   8549 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8550 *** create shared libraries on Solaris systems.  Therefore, libtool
   8551 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8552 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8553 *** your PATH or compiler configuration so that the native linker is
   8554 *** used, and then restart.
   8555 
   8556 EOF
   8557       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8558 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8559 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8560       else
   8561 	ld_shlibs=no
   8562       fi
   8563       ;;
   8564 
   8565     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8566       case `$LD -v 2>&1` in
   8567         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8568 	ld_shlibs=no
   8569 	cat <<_LT_EOF 1>&2
   8570 
   8571 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8572 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8573 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8574 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8575 *** your PATH or compiler configuration so that the native linker is
   8576 *** used, and then restart.
   8577 
   8578 _LT_EOF
   8579 	;;
   8580 	*)
   8581 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8582 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8583 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8584 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8585 	  else
   8586 	    ld_shlibs=no
   8587 	  fi
   8588 	;;
   8589       esac
   8590       ;;
   8591 
   8592     sunos4*)
   8593       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8594       wlarc=
   8595       hardcode_direct=yes
   8596       hardcode_shlibpath_var=no
   8597       ;;
   8598 
   8599     *)
   8600       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8601 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8602 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8603       else
   8604 	ld_shlibs=no
   8605       fi
   8606       ;;
   8607     esac
   8608 
   8609     if test "$ld_shlibs" = no; then
   8610       runpath_var=
   8611       hardcode_libdir_flag_spec=
   8612       export_dynamic_flag_spec=
   8613       whole_archive_flag_spec=
   8614     fi
   8615   else
   8616     # PORTME fill in a description of your system's linker (not GNU ld)
   8617     case $host_os in
   8618     aix3*)
   8619       allow_undefined_flag=unsupported
   8620       always_export_symbols=yes
   8621       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'
   8622       # Note: this linker hardcodes the directories in LIBPATH if there
   8623       # are no directories specified by -L.
   8624       hardcode_minus_L=yes
   8625       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8626 	# Neither direct hardcoding nor static linking is supported with a
   8627 	# broken collect2.
   8628 	hardcode_direct=unsupported
   8629       fi
   8630       ;;
   8631 
   8632     aix[4-9]*)
   8633       if test "$host_cpu" = ia64; then
   8634 	# On IA64, the linker does run time linking by default, so we don't
   8635 	# have to do anything special.
   8636 	aix_use_runtimelinking=no
   8637 	exp_sym_flag='-Bexport'
   8638 	no_entry_flag=""
   8639       else
   8640 	# If we're using GNU nm, then we don't want the "-C" option.
   8641 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8642 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8643 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   8644 	else
   8645 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   8646 	fi
   8647 	aix_use_runtimelinking=no
   8648 
   8649 	# Test if we are trying to use run time linking or normal
   8650 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8651 	# need to do runtime linking.
   8652 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8653 	  for ld_flag in $LDFLAGS; do
   8654   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8655   	    aix_use_runtimelinking=yes
   8656   	    break
   8657   	  fi
   8658 	  done
   8659 	  ;;
   8660 	esac
   8661 
   8662 	exp_sym_flag='-bexport'
   8663 	no_entry_flag='-bnoentry'
   8664       fi
   8665 
   8666       # When large executables or shared objects are built, AIX ld can
   8667       # have problems creating the table of contents.  If linking a library
   8668       # or program results in "error TOC overflow" add -mminimal-toc to
   8669       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8670       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8671 
   8672       archive_cmds=''
   8673       hardcode_direct=yes
   8674       hardcode_libdir_separator=':'
   8675       link_all_deplibs=yes
   8676 
   8677       if test "$GCC" = yes; then
   8678 	case $host_os in aix4.[012]|aix4.[012].*)
   8679 	# We only want to do this on AIX 4.2 and lower, the check
   8680 	# below for broken collect2 doesn't work under 4.3+
   8681 	  collect2name=`${CC} -print-prog-name=collect2`
   8682 	  if test -f "$collect2name" && \
   8683   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8684 	  then
   8685   	  # We have reworked collect2
   8686   	  :
   8687 	  else
   8688   	  # We have old collect2
   8689   	  hardcode_direct=unsupported
   8690   	  # It fails to find uninstalled libraries when the uninstalled
   8691   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8692   	  # to unsupported forces relinking
   8693   	  hardcode_minus_L=yes
   8694   	  hardcode_libdir_flag_spec='-L$libdir'
   8695   	  hardcode_libdir_separator=
   8696 	  fi
   8697 	  ;;
   8698 	esac
   8699 	shared_flag='-shared'
   8700 	if test "$aix_use_runtimelinking" = yes; then
   8701 	  shared_flag="$shared_flag "'${wl}-G'
   8702 	fi
   8703       else
   8704 	# not using gcc
   8705 	if test "$host_cpu" = ia64; then
   8706   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8707   	# chokes on -Wl,-G. The following line is correct:
   8708 	  shared_flag='-G'
   8709 	else
   8710 	  if test "$aix_use_runtimelinking" = yes; then
   8711 	    shared_flag='${wl}-G'
   8712 	  else
   8713 	    shared_flag='${wl}-bM:SRE'
   8714 	  fi
   8715 	fi
   8716       fi
   8717 
   8718       # It seems that -bexpall does not export symbols beginning with
   8719       # underscore (_), so it is better to generate a list of symbols to export.
   8720       always_export_symbols=yes
   8721       if test "$aix_use_runtimelinking" = yes; then
   8722 	# Warning - without using the other runtime loading flags (-brtl),
   8723 	# -berok will link without error, but may produce a broken library.
   8724 	allow_undefined_flag='-berok'
   8725        # Determine the default libpath from the value encoded in an empty executable.
   8726        cat >conftest.$ac_ext <<_ACEOF
   8727 /* confdefs.h.  */
   8728 _ACEOF
   8729 cat confdefs.h >>conftest.$ac_ext
   8730 cat >>conftest.$ac_ext <<_ACEOF
   8731 /* end confdefs.h.  */
   8732 
   8733 int
   8734 main ()
   8735 {
   8736 
   8737   ;
   8738   return 0;
   8739 }
   8740 _ACEOF
   8741 rm -f conftest.$ac_objext conftest$ac_exeext
   8742 if { (ac_try="$ac_link"
   8743 case "(($ac_try" in
   8744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8745   *) ac_try_echo=$ac_try;;
   8746 esac
   8747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8748 $as_echo "$ac_try_echo") >&5
   8749   (eval "$ac_link") 2>conftest.er1
   8750   ac_status=$?
   8751   grep -v '^ *+' conftest.er1 >conftest.err
   8752   rm -f conftest.er1
   8753   cat conftest.err >&5
   8754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8755   (exit $ac_status); } && {
   8756 	 test -z "$ac_c_werror_flag" ||
   8757 	 test ! -s conftest.err
   8758        } && test -s conftest$ac_exeext && {
   8759 	 test "$cross_compiling" = yes ||
   8760 	 $as_test_x conftest$ac_exeext
   8761        }; then
   8762 
   8763 lt_aix_libpath_sed='
   8764     /Import File Strings/,/^$/ {
   8765 	/^0/ {
   8766 	    s/^0  *\(.*\)$/\1/
   8767 	    p
   8768 	}
   8769     }'
   8770 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8771 # Check for a 64-bit object if we didn't find anything.
   8772 if test -z "$aix_libpath"; then
   8773   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8774 fi
   8775 else
   8776   $as_echo "$as_me: failed program was:" >&5
   8777 sed 's/^/| /' conftest.$ac_ext >&5
   8778 
   8779 
   8780 fi
   8781 
   8782 rm -rf conftest.dSYM
   8783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8784       conftest$ac_exeext conftest.$ac_ext
   8785 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8786 
   8787        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8788 	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8789        else
   8790 	if test "$host_cpu" = ia64; then
   8791 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8792 	  allow_undefined_flag="-z nodefs"
   8793 	  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"
   8794 	else
   8795 	 # Determine the default libpath from the value encoded in an empty executable.
   8796 	 cat >conftest.$ac_ext <<_ACEOF
   8797 /* confdefs.h.  */
   8798 _ACEOF
   8799 cat confdefs.h >>conftest.$ac_ext
   8800 cat >>conftest.$ac_ext <<_ACEOF
   8801 /* end confdefs.h.  */
   8802 
   8803 int
   8804 main ()
   8805 {
   8806 
   8807   ;
   8808   return 0;
   8809 }
   8810 _ACEOF
   8811 rm -f conftest.$ac_objext conftest$ac_exeext
   8812 if { (ac_try="$ac_link"
   8813 case "(($ac_try" in
   8814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8815   *) ac_try_echo=$ac_try;;
   8816 esac
   8817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8818 $as_echo "$ac_try_echo") >&5
   8819   (eval "$ac_link") 2>conftest.er1
   8820   ac_status=$?
   8821   grep -v '^ *+' conftest.er1 >conftest.err
   8822   rm -f conftest.er1
   8823   cat conftest.err >&5
   8824   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8825   (exit $ac_status); } && {
   8826 	 test -z "$ac_c_werror_flag" ||
   8827 	 test ! -s conftest.err
   8828        } && test -s conftest$ac_exeext && {
   8829 	 test "$cross_compiling" = yes ||
   8830 	 $as_test_x conftest$ac_exeext
   8831        }; then
   8832 
   8833 lt_aix_libpath_sed='
   8834     /Import File Strings/,/^$/ {
   8835 	/^0/ {
   8836 	    s/^0  *\(.*\)$/\1/
   8837 	    p
   8838 	}
   8839     }'
   8840 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8841 # Check for a 64-bit object if we didn't find anything.
   8842 if test -z "$aix_libpath"; then
   8843   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8844 fi
   8845 else
   8846   $as_echo "$as_me: failed program was:" >&5
   8847 sed 's/^/| /' conftest.$ac_ext >&5
   8848 
   8849 
   8850 fi
   8851 
   8852 rm -rf conftest.dSYM
   8853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8854       conftest$ac_exeext conftest.$ac_ext
   8855 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8856 
   8857 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8858 	  # Warning - without using the other run time loading flags,
   8859 	  # -berok will link without error, but may produce a broken library.
   8860 	  no_undefined_flag=' ${wl}-bernotok'
   8861 	  allow_undefined_flag=' ${wl}-berok'
   8862 	  # Exported symbols can be pulled into shared objects from archives
   8863 	  whole_archive_flag_spec='$convenience'
   8864 	  archive_cmds_need_lc=yes
   8865 	  # This is similar to how AIX traditionally builds its shared libraries.
   8866 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   8867 	fi
   8868       fi
   8869       ;;
   8870 
   8871     amigaos*)
   8872       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)'
   8873       hardcode_libdir_flag_spec='-L$libdir'
   8874       hardcode_minus_L=yes
   8875       # see comment about different semantics on the GNU ld section
   8876       ld_shlibs=no
   8877       ;;
   8878 
   8879     bsdi[45]*)
   8880       export_dynamic_flag_spec=-rdynamic
   8881       ;;
   8882 
   8883     cygwin* | mingw* | pw32*)
   8884       # When not using gcc, we currently assume that we are using
   8885       # Microsoft Visual C++.
   8886       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8887       # no search path for DLLs.
   8888       hardcode_libdir_flag_spec=' '
   8889       allow_undefined_flag=unsupported
   8890       # Tell ltmain to make .lib files, not .a files.
   8891       libext=lib
   8892       # Tell ltmain to make .dll files, not .so files.
   8893       shrext_cmds=".dll"
   8894       # FIXME: Setting linknames here is a bad hack.
   8895       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8896       # The linker will automatically build a .lib file if we build a DLL.
   8897       old_archive_From_new_cmds='true'
   8898       # FIXME: Should let the user specify the lib program.
   8899       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8900       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8901       enable_shared_with_static_runtimes=yes
   8902       ;;
   8903 
   8904     darwin* | rhapsody*)
   8905       case $host_os in
   8906         rhapsody* | darwin1.[012])
   8907          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8908          ;;
   8909        *) # Darwin 1.3 on
   8910          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8911            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8912          else
   8913            case ${MACOSX_DEPLOYMENT_TARGET} in
   8914              10.[012])
   8915                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8916                ;;
   8917              10.*)
   8918                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8919                ;;
   8920            esac
   8921          fi
   8922          ;;
   8923       esac
   8924       archive_cmds_need_lc=no
   8925       hardcode_direct=no
   8926       hardcode_automatic=yes
   8927       hardcode_shlibpath_var=unsupported
   8928       whole_archive_flag_spec=''
   8929       link_all_deplibs=yes
   8930     if test "$GCC" = yes ; then
   8931     	output_verbose_link_cmd='echo'
   8932         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8933         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8934         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}"
   8935         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}"
   8936     else
   8937       case $cc_basename in
   8938         xlc*)
   8939          output_verbose_link_cmd='echo'
   8940          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8941          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8942           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8943          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8944           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8945           ;;
   8946        *)
   8947          ld_shlibs=no
   8948           ;;
   8949       esac
   8950     fi
   8951       ;;
   8952 
   8953     dgux*)
   8954       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8955       hardcode_libdir_flag_spec='-L$libdir'
   8956       hardcode_shlibpath_var=no
   8957       ;;
   8958 
   8959     freebsd1*)
   8960       ld_shlibs=no
   8961       ;;
   8962 
   8963     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8964     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8965     # does not break anything, and helps significantly (at the cost of a little
   8966     # extra space).
   8967     freebsd2.2*)
   8968       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8969       hardcode_libdir_flag_spec='-R$libdir'
   8970       hardcode_direct=yes
   8971       hardcode_shlibpath_var=no
   8972       ;;
   8973 
   8974     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8975     freebsd2*)
   8976       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8977       hardcode_direct=yes
   8978       hardcode_minus_L=yes
   8979       hardcode_shlibpath_var=no
   8980       ;;
   8981 
   8982     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8983     freebsd* | dragonfly*)
   8984       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8985       hardcode_libdir_flag_spec='-R$libdir'
   8986       hardcode_direct=yes
   8987       hardcode_shlibpath_var=no
   8988       ;;
   8989 
   8990     hpux9*)
   8991       if test "$GCC" = yes; then
   8992 	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   8993       else
   8994 	archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   8995       fi
   8996       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8997       hardcode_libdir_separator=:
   8998       hardcode_direct=yes
   8999 
   9000       # hardcode_minus_L: Not really in the search PATH,
   9001       # but as the default location of the library.
   9002       hardcode_minus_L=yes
   9003       export_dynamic_flag_spec='${wl}-E'
   9004       ;;
   9005 
   9006     hpux10*)
   9007       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9008 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9009       else
   9010 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9011       fi
   9012       if test "$with_gnu_ld" = no; then
   9013 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9014 	hardcode_libdir_separator=:
   9015 
   9016 	hardcode_direct=yes
   9017 	export_dynamic_flag_spec='${wl}-E'
   9018 
   9019 	# hardcode_minus_L: Not really in the search PATH,
   9020 	# but as the default location of the library.
   9021 	hardcode_minus_L=yes
   9022       fi
   9023       ;;
   9024 
   9025     hpux11*)
   9026       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9027 	case $host_cpu in
   9028 	hppa*64*)
   9029 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9030 	  ;;
   9031 	ia64*)
   9032 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9033 	  ;;
   9034 	*)
   9035 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9036 	  ;;
   9037 	esac
   9038       else
   9039 	case $host_cpu in
   9040 	hppa*64*)
   9041 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9042 	  ;;
   9043 	ia64*)
   9044 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9045 	  ;;
   9046 	*)
   9047 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9048 	  ;;
   9049 	esac
   9050       fi
   9051       if test "$with_gnu_ld" = no; then
   9052 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9053 	hardcode_libdir_separator=:
   9054 
   9055 	case $host_cpu in
   9056 	hppa*64*|ia64*)
   9057 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   9058 	  hardcode_direct=no
   9059 	  hardcode_shlibpath_var=no
   9060 	  ;;
   9061 	*)
   9062 	  hardcode_direct=yes
   9063 	  export_dynamic_flag_spec='${wl}-E'
   9064 
   9065 	  # hardcode_minus_L: Not really in the search PATH,
   9066 	  # but as the default location of the library.
   9067 	  hardcode_minus_L=yes
   9068 	  ;;
   9069 	esac
   9070       fi
   9071       ;;
   9072 
   9073     irix5* | irix6* | nonstopux*)
   9074       if test "$GCC" = yes; then
   9075 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9076       else
   9077 	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   9078 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9079       fi
   9080       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9081       hardcode_libdir_separator=:
   9082       link_all_deplibs=yes
   9083       ;;
   9084 
   9085     netbsd*)
   9086       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9087 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9088       else
   9089 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9090       fi
   9091       hardcode_libdir_flag_spec='-R$libdir'
   9092       hardcode_direct=yes
   9093       hardcode_shlibpath_var=no
   9094       ;;
   9095 
   9096     newsos6)
   9097       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9098       hardcode_direct=yes
   9099       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9100       hardcode_libdir_separator=:
   9101       hardcode_shlibpath_var=no
   9102       ;;
   9103 
   9104     openbsd*)
   9105       if test -f /usr/libexec/ld.so; then
   9106 	hardcode_direct=yes
   9107 	hardcode_shlibpath_var=no
   9108 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9109 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9110 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9111 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9112 	  export_dynamic_flag_spec='${wl}-E'
   9113 	else
   9114 	  case $host_os in
   9115 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9116 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9117 	     hardcode_libdir_flag_spec='-R$libdir'
   9118 	     ;;
   9119 	   *)
   9120 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9121 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9122 	     ;;
   9123 	  esac
   9124         fi
   9125       else
   9126 	ld_shlibs=no
   9127       fi
   9128       ;;
   9129 
   9130     os2*)
   9131       hardcode_libdir_flag_spec='-L$libdir'
   9132       hardcode_minus_L=yes
   9133       allow_undefined_flag=unsupported
   9134       archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9135       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9136       ;;
   9137 
   9138     osf3*)
   9139       if test "$GCC" = yes; then
   9140 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9141 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9142       else
   9143 	allow_undefined_flag=' -expect_unresolved \*'
   9144 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   9145       fi
   9146       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9147       hardcode_libdir_separator=:
   9148       ;;
   9149 
   9150     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9151       if test "$GCC" = yes; then
   9152 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9153 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9154 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9155       else
   9156 	allow_undefined_flag=' -expect_unresolved \*'
   9157 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   9158 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   9159 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   9160 
   9161 	# Both c and cxx compiler support -rpath directly
   9162 	hardcode_libdir_flag_spec='-rpath $libdir'
   9163       fi
   9164       hardcode_libdir_separator=:
   9165       ;;
   9166 
   9167     solaris*)
   9168       no_undefined_flag=' -z text'
   9169       if test "$GCC" = yes; then
   9170 	wlarc='${wl}'
   9171 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9172 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   9173 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   9174       else
   9175 	wlarc=''
   9176 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9177 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   9178   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   9179       fi
   9180       hardcode_libdir_flag_spec='-R$libdir'
   9181       hardcode_shlibpath_var=no
   9182       case $host_os in
   9183       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9184       *)
   9185 	# The compiler driver will combine and reorder linker options,
   9186 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9187 	# but is careful enough not to reorder.
   9188  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9189 	if test "$GCC" = yes; then
   9190 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9191 	else
   9192 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9193 	fi
   9194 	;;
   9195       esac
   9196       link_all_deplibs=yes
   9197       ;;
   9198 
   9199     sunos4*)
   9200       if test "x$host_vendor" = xsequent; then
   9201 	# Use $CC to link under sequent, because it throws in some extra .o
   9202 	# files that make .init and .fini sections work.
   9203 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9204       else
   9205 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9206       fi
   9207       hardcode_libdir_flag_spec='-L$libdir'
   9208       hardcode_direct=yes
   9209       hardcode_minus_L=yes
   9210       hardcode_shlibpath_var=no
   9211       ;;
   9212 
   9213     sysv4)
   9214       case $host_vendor in
   9215 	sni)
   9216 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9217 	  hardcode_direct=yes # is this really true???
   9218 	;;
   9219 	siemens)
   9220 	  ## LD is ld it makes a PLAMLIB
   9221 	  ## CC just makes a GrossModule.
   9222 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9223 	  reload_cmds='$CC -r -o $output$reload_objs'
   9224 	  hardcode_direct=no
   9225         ;;
   9226 	motorola)
   9227 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9228 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9229 	;;
   9230       esac
   9231       runpath_var='LD_RUN_PATH'
   9232       hardcode_shlibpath_var=no
   9233       ;;
   9234 
   9235     sysv4.3*)
   9236       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9237       hardcode_shlibpath_var=no
   9238       export_dynamic_flag_spec='-Bexport'
   9239       ;;
   9240 
   9241     sysv4*MP*)
   9242       if test -d /usr/nec; then
   9243 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9244 	hardcode_shlibpath_var=no
   9245 	runpath_var=LD_RUN_PATH
   9246 	hardcode_runpath_var=yes
   9247 	ld_shlibs=yes
   9248       fi
   9249       ;;
   9250 
   9251     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9252       no_undefined_flag='${wl}-z,text'
   9253       archive_cmds_need_lc=no
   9254       hardcode_shlibpath_var=no
   9255       runpath_var='LD_RUN_PATH'
   9256 
   9257       if test "$GCC" = yes; then
   9258 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9259 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9260       else
   9261 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9262 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9263       fi
   9264       ;;
   9265 
   9266     sysv5* | sco3.2v5* | sco5v6*)
   9267       # Note: We can NOT use -z defs as we might desire, because we do not
   9268       # link with -lc, and that would cause any symbols used from libc to
   9269       # always be unresolved, which means just about no library would
   9270       # ever link correctly.  If we're not using GNU ld we use -z text
   9271       # though, which does catch some bad symbols but isn't as heavy-handed
   9272       # as -z defs.
   9273       no_undefined_flag='${wl}-z,text'
   9274       allow_undefined_flag='${wl}-z,nodefs'
   9275       archive_cmds_need_lc=no
   9276       hardcode_shlibpath_var=no
   9277       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9278       hardcode_libdir_separator=':'
   9279       link_all_deplibs=yes
   9280       export_dynamic_flag_spec='${wl}-Bexport'
   9281       runpath_var='LD_RUN_PATH'
   9282 
   9283       if test "$GCC" = yes; then
   9284 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9285 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9286       else
   9287 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9288 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9289       fi
   9290       ;;
   9291 
   9292     uts4*)
   9293       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9294       hardcode_libdir_flag_spec='-L$libdir'
   9295       hardcode_shlibpath_var=no
   9296       ;;
   9297 
   9298     *)
   9299       ld_shlibs=no
   9300       ;;
   9301     esac
   9302   fi
   9303 
   9304 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9305 $as_echo "$ld_shlibs" >&6; }
   9306 test "$ld_shlibs" = no && can_build_shared=no
   9307 
   9308 #
   9309 # Do we need to explicitly link libc?
   9310 #
   9311 case "x$archive_cmds_need_lc" in
   9312 x|xyes)
   9313   # Assume -lc should be added
   9314   archive_cmds_need_lc=yes
   9315 
   9316   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9317     case $archive_cmds in
   9318     *'~'*)
   9319       # FIXME: we may have to deal with multi-command sequences.
   9320       ;;
   9321     '$CC '*)
   9322       # Test whether the compiler implicitly links with -lc since on some
   9323       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9324       # to ld, don't add -lc before -lgcc.
   9325       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9326 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9327       $rm conftest*
   9328       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9329 
   9330       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9331   (eval $ac_compile) 2>&5
   9332   ac_status=$?
   9333   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9334   (exit $ac_status); } 2>conftest.err; then
   9335         soname=conftest
   9336         lib=conftest
   9337         libobjs=conftest.$ac_objext
   9338         deplibs=
   9339         wl=$lt_prog_compiler_wl
   9340 	pic_flag=$lt_prog_compiler_pic
   9341         compiler_flags=-v
   9342         linker_flags=-v
   9343         verstring=
   9344         output_objdir=.
   9345         libname=conftest
   9346         lt_save_allow_undefined_flag=$allow_undefined_flag
   9347         allow_undefined_flag=
   9348         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9349   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9350   ac_status=$?
   9351   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9352   (exit $ac_status); }
   9353         then
   9354 	  archive_cmds_need_lc=no
   9355         else
   9356 	  archive_cmds_need_lc=yes
   9357         fi
   9358         allow_undefined_flag=$lt_save_allow_undefined_flag
   9359       else
   9360         cat conftest.err 1>&5
   9361       fi
   9362       $rm conftest*
   9363       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9364 $as_echo "$archive_cmds_need_lc" >&6; }
   9365       ;;
   9366     esac
   9367   fi
   9368   ;;
   9369 esac
   9370 
   9371 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9372 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9373 library_names_spec=
   9374 libname_spec='lib$name'
   9375 soname_spec=
   9376 shrext_cmds=".so"
   9377 postinstall_cmds=
   9378 postuninstall_cmds=
   9379 finish_cmds=
   9380 finish_eval=
   9381 shlibpath_var=
   9382 shlibpath_overrides_runpath=unknown
   9383 version_type=none
   9384 dynamic_linker="$host_os ld.so"
   9385 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9386 
   9387 if test "$GCC" = yes; then
   9388   case $host_os in
   9389     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9390     *) lt_awk_arg="/^libraries:/" ;;
   9391   esac
   9392   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9393   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9394     # if the path contains ";" then we assume it to be the separator
   9395     # otherwise default to the standard path separator (i.e. ":") - it is
   9396     # assumed that no part of a normal pathname contains ";" but that should
   9397     # okay in the real world where ";" in dirpaths is itself problematic.
   9398     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9399   else
   9400     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9401   fi
   9402   # Ok, now we have the path, separated by spaces, we can step through it
   9403   # and add multilib dir if necessary.
   9404   lt_tmp_lt_search_path_spec=
   9405   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9406   for lt_sys_path in $lt_search_path_spec; do
   9407     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9408       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9409     else
   9410       test -d "$lt_sys_path" && \
   9411 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9412     fi
   9413   done
   9414   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9415 BEGIN {RS=" "; FS="/|\n";} {
   9416   lt_foo="";
   9417   lt_count=0;
   9418   for (lt_i = NF; lt_i > 0; lt_i--) {
   9419     if ($lt_i != "" && $lt_i != ".") {
   9420       if ($lt_i == "..") {
   9421         lt_count++;
   9422       } else {
   9423         if (lt_count == 0) {
   9424           lt_foo="/" $lt_i lt_foo;
   9425         } else {
   9426           lt_count--;
   9427         }
   9428       }
   9429     }
   9430   }
   9431   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9432   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9433 }'`
   9434   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9435 else
   9436   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9437 fi
   9438 need_lib_prefix=unknown
   9439 hardcode_into_libs=no
   9440 
   9441 # when you set need_version to no, make sure it does not cause -set_version
   9442 # flags to be left without arguments
   9443 need_version=unknown
   9444 
   9445 case $host_os in
   9446 aix3*)
   9447   version_type=linux
   9448   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9449   shlibpath_var=LIBPATH
   9450 
   9451   # AIX 3 has no versioning support, so we append a major version to the name.
   9452   soname_spec='${libname}${release}${shared_ext}$major'
   9453   ;;
   9454 
   9455 aix[4-9]*)
   9456   version_type=linux
   9457   need_lib_prefix=no
   9458   need_version=no
   9459   hardcode_into_libs=yes
   9460   if test "$host_cpu" = ia64; then
   9461     # AIX 5 supports IA64
   9462     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9463     shlibpath_var=LD_LIBRARY_PATH
   9464   else
   9465     # With GCC up to 2.95.x, collect2 would create an import file
   9466     # for dependence libraries.  The import file would start with
   9467     # the line `#! .'.  This would cause the generated library to
   9468     # depend on `.', always an invalid library.  This was fixed in
   9469     # development snapshots of GCC prior to 3.0.
   9470     case $host_os in
   9471       aix4 | aix4.[01] | aix4.[01].*)
   9472       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9473 	   echo ' yes '
   9474 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9475 	:
   9476       else
   9477 	can_build_shared=no
   9478       fi
   9479       ;;
   9480     esac
   9481     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9482     # soname into executable. Probably we can add versioning support to
   9483     # collect2, so additional links can be useful in future.
   9484     if test "$aix_use_runtimelinking" = yes; then
   9485       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9486       # instead of lib<name>.a to let people know that these are not
   9487       # typical AIX shared libraries.
   9488       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9489     else
   9490       # We preserve .a as extension for shared libraries through AIX4.2
   9491       # and later when we are not doing run time linking.
   9492       library_names_spec='${libname}${release}.a $libname.a'
   9493       soname_spec='${libname}${release}${shared_ext}$major'
   9494     fi
   9495     shlibpath_var=LIBPATH
   9496   fi
   9497   ;;
   9498 
   9499 amigaos*)
   9500   library_names_spec='$libname.ixlibrary $libname.a'
   9501   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9502   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
   9503   ;;
   9504 
   9505 beos*)
   9506   library_names_spec='${libname}${shared_ext}'
   9507   dynamic_linker="$host_os ld.so"
   9508   shlibpath_var=LIBRARY_PATH
   9509   ;;
   9510 
   9511 bsdi[45]*)
   9512   version_type=linux
   9513   need_version=no
   9514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9515   soname_spec='${libname}${release}${shared_ext}$major'
   9516   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9517   shlibpath_var=LD_LIBRARY_PATH
   9518   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9519   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9520   # the default ld.so.conf also contains /usr/contrib/lib and
   9521   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9522   # libtool to hard-code these into programs
   9523   ;;
   9524 
   9525 cygwin* | mingw* | pw32*)
   9526   version_type=windows
   9527   shrext_cmds=".dll"
   9528   need_version=no
   9529   need_lib_prefix=no
   9530 
   9531   case $GCC,$host_os in
   9532   yes,cygwin* | yes,mingw* | yes,pw32*)
   9533     library_names_spec='$libname.dll.a'
   9534     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9535     postinstall_cmds='base_file=`basename \${file}`~
   9536       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9537       dldir=$destdir/`dirname \$dlpath`~
   9538       test -d \$dldir || mkdir -p \$dldir~
   9539       $install_prog $dir/$dlname \$dldir/$dlname~
   9540       chmod a+x \$dldir/$dlname'
   9541     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9542       dlpath=$dir/\$dldll~
   9543        $rm \$dlpath'
   9544     shlibpath_overrides_runpath=yes
   9545 
   9546     case $host_os in
   9547     cygwin*)
   9548       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9549       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9550       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9551       ;;
   9552     mingw*)
   9553       # MinGW DLLs use traditional 'lib' prefix
   9554       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9555       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9556       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9557         # It is most probably a Windows format PATH printed by
   9558         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9559         # path with ; separators, and with drive letters. We can handle the
   9560         # drive letters (cygwin fileutils understands them), so leave them,
   9561         # especially as we might pass files found there to a mingw objdump,
   9562         # which wouldn't understand a cygwinified path. Ahh.
   9563         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9564       else
   9565         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9566       fi
   9567       ;;
   9568     pw32*)
   9569       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9570       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9571       ;;
   9572     esac
   9573     ;;
   9574 
   9575   *)
   9576     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9577     ;;
   9578   esac
   9579   dynamic_linker='Win32 ld.exe'
   9580   # FIXME: first we should search . and the directory the executable is in
   9581   shlibpath_var=PATH
   9582   ;;
   9583 
   9584 darwin* | rhapsody*)
   9585   dynamic_linker="$host_os dyld"
   9586   version_type=darwin
   9587   need_lib_prefix=no
   9588   need_version=no
   9589   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9590   soname_spec='${libname}${release}${major}$shared_ext'
   9591   shlibpath_overrides_runpath=yes
   9592   shlibpath_var=DYLD_LIBRARY_PATH
   9593   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9594 
   9595   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9596   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9597   ;;
   9598 
   9599 dgux*)
   9600   version_type=linux
   9601   need_lib_prefix=no
   9602   need_version=no
   9603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9604   soname_spec='${libname}${release}${shared_ext}$major'
   9605   shlibpath_var=LD_LIBRARY_PATH
   9606   ;;
   9607 
   9608 freebsd1*)
   9609   dynamic_linker=no
   9610   ;;
   9611 
   9612 freebsd* | dragonfly*)
   9613   # DragonFly does not have aout.  When/if they implement a new
   9614   # versioning mechanism, adjust this.
   9615   if test -x /usr/bin/objformat; then
   9616     objformat=`/usr/bin/objformat`
   9617   else
   9618     case $host_os in
   9619     freebsd[123]*) objformat=aout ;;
   9620     *) objformat=elf ;;
   9621     esac
   9622   fi
   9623   version_type=freebsd-$objformat
   9624   case $version_type in
   9625     freebsd-elf*)
   9626       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9627       need_version=no
   9628       need_lib_prefix=no
   9629       ;;
   9630     freebsd-*)
   9631       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9632       need_version=yes
   9633       ;;
   9634   esac
   9635   shlibpath_var=LD_LIBRARY_PATH
   9636   case $host_os in
   9637   freebsd2*)
   9638     shlibpath_overrides_runpath=yes
   9639     ;;
   9640   freebsd3.[01]* | freebsdelf3.[01]*)
   9641     shlibpath_overrides_runpath=yes
   9642     hardcode_into_libs=yes
   9643     ;;
   9644   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9645   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9646     shlibpath_overrides_runpath=no
   9647     hardcode_into_libs=yes
   9648     ;;
   9649   *) # from 4.6 on, and DragonFly
   9650     shlibpath_overrides_runpath=yes
   9651     hardcode_into_libs=yes
   9652     ;;
   9653   esac
   9654   ;;
   9655 
   9656 gnu*)
   9657   version_type=linux
   9658   need_lib_prefix=no
   9659   need_version=no
   9660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9661   soname_spec='${libname}${release}${shared_ext}$major'
   9662   shlibpath_var=LD_LIBRARY_PATH
   9663   hardcode_into_libs=yes
   9664   ;;
   9665 
   9666 hpux9* | hpux10* | hpux11*)
   9667   # Give a soname corresponding to the major version so that dld.sl refuses to
   9668   # link against other versions.
   9669   version_type=sunos
   9670   need_lib_prefix=no
   9671   need_version=no
   9672   case $host_cpu in
   9673   ia64*)
   9674     shrext_cmds='.so'
   9675     hardcode_into_libs=yes
   9676     dynamic_linker="$host_os dld.so"
   9677     shlibpath_var=LD_LIBRARY_PATH
   9678     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9679     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9680     soname_spec='${libname}${release}${shared_ext}$major'
   9681     if test "X$HPUX_IA64_MODE" = X32; then
   9682       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9683     else
   9684       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9685     fi
   9686     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9687     ;;
   9688    hppa*64*)
   9689      shrext_cmds='.sl'
   9690      hardcode_into_libs=yes
   9691      dynamic_linker="$host_os dld.sl"
   9692      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9693      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9694      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9695      soname_spec='${libname}${release}${shared_ext}$major'
   9696      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9697      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9698      ;;
   9699    *)
   9700     shrext_cmds='.sl'
   9701     dynamic_linker="$host_os dld.sl"
   9702     shlibpath_var=SHLIB_PATH
   9703     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9704     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9705     soname_spec='${libname}${release}${shared_ext}$major'
   9706     ;;
   9707   esac
   9708   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9709   postinstall_cmds='chmod 555 $lib'
   9710   ;;
   9711 
   9712 interix[3-9]*)
   9713   version_type=linux
   9714   need_lib_prefix=no
   9715   need_version=no
   9716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9717   soname_spec='${libname}${release}${shared_ext}$major'
   9718   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9719   shlibpath_var=LD_LIBRARY_PATH
   9720   shlibpath_overrides_runpath=no
   9721   hardcode_into_libs=yes
   9722   ;;
   9723 
   9724 irix5* | irix6* | nonstopux*)
   9725   case $host_os in
   9726     nonstopux*) version_type=nonstopux ;;
   9727     *)
   9728 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9729 		version_type=linux
   9730 	else
   9731 		version_type=irix
   9732 	fi ;;
   9733   esac
   9734   need_lib_prefix=no
   9735   need_version=no
   9736   soname_spec='${libname}${release}${shared_ext}$major'
   9737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9738   case $host_os in
   9739   irix5* | nonstopux*)
   9740     libsuff= shlibsuff=
   9741     ;;
   9742   *)
   9743     case $LD in # libtool.m4 will add one of these switches to LD
   9744     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9745       libsuff= shlibsuff= libmagic=32-bit;;
   9746     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9747       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9748     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9749       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9750     *) libsuff= shlibsuff= libmagic=never-match;;
   9751     esac
   9752     ;;
   9753   esac
   9754   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9755   shlibpath_overrides_runpath=no
   9756   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9757   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9758   hardcode_into_libs=yes
   9759   ;;
   9760 
   9761 # No shared lib support for Linux oldld, aout, or coff.
   9762 linux*oldld* | linux*aout* | linux*coff*)
   9763   dynamic_linker=no
   9764   ;;
   9765 
   9766 # This must be Linux ELF.
   9767 linux* | k*bsd*-gnu)
   9768   version_type=linux
   9769   need_lib_prefix=no
   9770   need_version=no
   9771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9772   soname_spec='${libname}${release}${shared_ext}$major'
   9773   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9774   shlibpath_var=LD_LIBRARY_PATH
   9775   shlibpath_overrides_runpath=no
   9776   # This implies no fast_install, which is unacceptable.
   9777   # Some rework will be needed to allow for fast_install
   9778   # before this can be enabled.
   9779   hardcode_into_libs=yes
   9780 
   9781   # Append ld.so.conf contents to the search path
   9782   if test -f /etc/ld.so.conf; then
   9783     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;/^$/d' | tr '\n' ' '`
   9784     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9785   fi
   9786 
   9787   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9788   # powerpc, because MkLinux only supported shared libraries with the
   9789   # GNU dynamic linker.  Since this was broken with cross compilers,
   9790   # most powerpc-linux boxes support dynamic linking these days and
   9791   # people can always --disable-shared, the test was removed, and we
   9792   # assume the GNU/Linux dynamic linker is in use.
   9793   dynamic_linker='GNU/Linux ld.so'
   9794   ;;
   9795 
   9796 netbsd*)
   9797   version_type=sunos
   9798   need_lib_prefix=no
   9799   need_version=no
   9800   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9801     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9802     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9803     dynamic_linker='NetBSD (a.out) ld.so'
   9804   else
   9805     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9806     soname_spec='${libname}${release}${shared_ext}$major'
   9807     dynamic_linker='NetBSD ld.elf_so'
   9808   fi
   9809   shlibpath_var=LD_LIBRARY_PATH
   9810   shlibpath_overrides_runpath=yes
   9811   hardcode_into_libs=yes
   9812   ;;
   9813 
   9814 newsos6)
   9815   version_type=linux
   9816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9817   shlibpath_var=LD_LIBRARY_PATH
   9818   shlibpath_overrides_runpath=yes
   9819   ;;
   9820 
   9821 nto-qnx*)
   9822   version_type=linux
   9823   need_lib_prefix=no
   9824   need_version=no
   9825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9826   soname_spec='${libname}${release}${shared_ext}$major'
   9827   shlibpath_var=LD_LIBRARY_PATH
   9828   shlibpath_overrides_runpath=yes
   9829   ;;
   9830 
   9831 openbsd*)
   9832   version_type=sunos
   9833   sys_lib_dlsearch_path_spec="/usr/lib"
   9834   need_lib_prefix=no
   9835   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9836   case $host_os in
   9837     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9838     *)                         need_version=no  ;;
   9839   esac
   9840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9841   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9842   shlibpath_var=LD_LIBRARY_PATH
   9843   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9844     case $host_os in
   9845       openbsd2.[89] | openbsd2.[89].*)
   9846 	shlibpath_overrides_runpath=no
   9847 	;;
   9848       *)
   9849 	shlibpath_overrides_runpath=yes
   9850 	;;
   9851       esac
   9852   else
   9853     shlibpath_overrides_runpath=yes
   9854   fi
   9855   ;;
   9856 
   9857 os2*)
   9858   libname_spec='$name'
   9859   shrext_cmds=".dll"
   9860   need_lib_prefix=no
   9861   library_names_spec='$libname${shared_ext} $libname.a'
   9862   dynamic_linker='OS/2 ld.exe'
   9863   shlibpath_var=LIBPATH
   9864   ;;
   9865 
   9866 osf3* | osf4* | osf5*)
   9867   version_type=osf
   9868   need_lib_prefix=no
   9869   need_version=no
   9870   soname_spec='${libname}${release}${shared_ext}$major'
   9871   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9872   shlibpath_var=LD_LIBRARY_PATH
   9873   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9874   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9875   ;;
   9876 
   9877 rdos*)
   9878   dynamic_linker=no
   9879   ;;
   9880 
   9881 solaris*)
   9882   version_type=linux
   9883   need_lib_prefix=no
   9884   need_version=no
   9885   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9886   soname_spec='${libname}${release}${shared_ext}$major'
   9887   shlibpath_var=LD_LIBRARY_PATH
   9888   shlibpath_overrides_runpath=yes
   9889   hardcode_into_libs=yes
   9890   # ldd complains unless libraries are executable
   9891   postinstall_cmds='chmod +x $lib'
   9892   ;;
   9893 
   9894 sunos4*)
   9895   version_type=sunos
   9896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9897   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9898   shlibpath_var=LD_LIBRARY_PATH
   9899   shlibpath_overrides_runpath=yes
   9900   if test "$with_gnu_ld" = yes; then
   9901     need_lib_prefix=no
   9902   fi
   9903   need_version=yes
   9904   ;;
   9905 
   9906 sysv4 | sysv4.3*)
   9907   version_type=linux
   9908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9909   soname_spec='${libname}${release}${shared_ext}$major'
   9910   shlibpath_var=LD_LIBRARY_PATH
   9911   case $host_vendor in
   9912     sni)
   9913       shlibpath_overrides_runpath=no
   9914       need_lib_prefix=no
   9915       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9916       runpath_var=LD_RUN_PATH
   9917       ;;
   9918     siemens)
   9919       need_lib_prefix=no
   9920       ;;
   9921     motorola)
   9922       need_lib_prefix=no
   9923       need_version=no
   9924       shlibpath_overrides_runpath=no
   9925       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9926       ;;
   9927   esac
   9928   ;;
   9929 
   9930 sysv4*MP*)
   9931   if test -d /usr/nec ;then
   9932     version_type=linux
   9933     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9934     soname_spec='$libname${shared_ext}.$major'
   9935     shlibpath_var=LD_LIBRARY_PATH
   9936   fi
   9937   ;;
   9938 
   9939 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9940   version_type=freebsd-elf
   9941   need_lib_prefix=no
   9942   need_version=no
   9943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9944   soname_spec='${libname}${release}${shared_ext}$major'
   9945   shlibpath_var=LD_LIBRARY_PATH
   9946   hardcode_into_libs=yes
   9947   if test "$with_gnu_ld" = yes; then
   9948     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9949     shlibpath_overrides_runpath=no
   9950   else
   9951     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9952     shlibpath_overrides_runpath=yes
   9953     case $host_os in
   9954       sco3.2v5*)
   9955         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9956 	;;
   9957     esac
   9958   fi
   9959   sys_lib_dlsearch_path_spec='/usr/lib'
   9960   ;;
   9961 
   9962 uts4*)
   9963   version_type=linux
   9964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9965   soname_spec='${libname}${release}${shared_ext}$major'
   9966   shlibpath_var=LD_LIBRARY_PATH
   9967   ;;
   9968 
   9969 *)
   9970   dynamic_linker=no
   9971   ;;
   9972 esac
   9973 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9974 $as_echo "$dynamic_linker" >&6; }
   9975 test "$dynamic_linker" = no && can_build_shared=no
   9976 
   9977 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9978   $as_echo_n "(cached) " >&6
   9979 else
   9980   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9981 fi
   9982 
   9983 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9984 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9985   $as_echo_n "(cached) " >&6
   9986 else
   9987   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9988 fi
   9989 
   9990 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9991 
   9992 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9993 if test "$GCC" = yes; then
   9994   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9995 fi
   9996 
   9997 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9998 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9999 hardcode_action=
   10000 if test -n "$hardcode_libdir_flag_spec" || \
   10001    test -n "$runpath_var" || \
   10002    test "X$hardcode_automatic" = "Xyes" ; then
   10003 
   10004   # We can hardcode non-existant directories.
   10005   if test "$hardcode_direct" != no &&
   10006      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10007      # have to relink, otherwise we might link with an installed library
   10008      # when we should be linking with a yet-to-be-installed one
   10009      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10010      test "$hardcode_minus_L" != no; then
   10011     # Linking always hardcodes the temporary library directory.
   10012     hardcode_action=relink
   10013   else
   10014     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10015     hardcode_action=immediate
   10016   fi
   10017 else
   10018   # We cannot hardcode anything, or else we can only hardcode existing
   10019   # directories.
   10020   hardcode_action=unsupported
   10021 fi
   10022 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10023 $as_echo "$hardcode_action" >&6; }
   10024 
   10025 if test "$hardcode_action" = relink; then
   10026   # Fast installation is not supported
   10027   enable_fast_install=no
   10028 elif test "$shlibpath_overrides_runpath" = yes ||
   10029      test "$enable_shared" = no; then
   10030   # Fast installation is not necessary
   10031   enable_fast_install=needless
   10032 fi
   10033 
   10034 striplib=
   10035 old_striplib=
   10036 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   10037 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10038 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   10039   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10040   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10041   { $as_echo "$as_me:$LINENO: result: yes" >&5
   10042 $as_echo "yes" >&6; }
   10043 else
   10044 # FIXME - insert some real tests, host_os isn't really good enough
   10045   case $host_os in
   10046    darwin*)
   10047        if test -n "$STRIP" ; then
   10048          striplib="$STRIP -x"
   10049          old_striplib="$STRIP -S"
   10050          { $as_echo "$as_me:$LINENO: result: yes" >&5
   10051 $as_echo "yes" >&6; }
   10052        else
   10053   { $as_echo "$as_me:$LINENO: result: no" >&5
   10054 $as_echo "no" >&6; }
   10055 fi
   10056        ;;
   10057    *)
   10058   { $as_echo "$as_me:$LINENO: result: no" >&5
   10059 $as_echo "no" >&6; }
   10060     ;;
   10061   esac
   10062 fi
   10063 
   10064 if test "x$enable_dlopen" != xyes; then
   10065   enable_dlopen=unknown
   10066   enable_dlopen_self=unknown
   10067   enable_dlopen_self_static=unknown
   10068 else
   10069   lt_cv_dlopen=no
   10070   lt_cv_dlopen_libs=
   10071 
   10072   case $host_os in
   10073   beos*)
   10074     lt_cv_dlopen="load_add_on"
   10075     lt_cv_dlopen_libs=
   10076     lt_cv_dlopen_self=yes
   10077     ;;
   10078 
   10079   mingw* | pw32*)
   10080     lt_cv_dlopen="LoadLibrary"
   10081     lt_cv_dlopen_libs=
   10082    ;;
   10083 
   10084   cygwin*)
   10085     lt_cv_dlopen="dlopen"
   10086     lt_cv_dlopen_libs=
   10087    ;;
   10088 
   10089   darwin*)
   10090   # if libdl is installed we need to link against it
   10091     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10092 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10093 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10094   $as_echo_n "(cached) " >&6
   10095 else
   10096   ac_check_lib_save_LIBS=$LIBS
   10097 LIBS="-ldl  $LIBS"
   10098 cat >conftest.$ac_ext <<_ACEOF
   10099 /* confdefs.h.  */
   10100 _ACEOF
   10101 cat confdefs.h >>conftest.$ac_ext
   10102 cat >>conftest.$ac_ext <<_ACEOF
   10103 /* end confdefs.h.  */
   10104 
   10105 /* Override any GCC internal prototype to avoid an error.
   10106    Use char because int might match the return type of a GCC
   10107    builtin and then its argument prototype would still apply.  */
   10108 #ifdef __cplusplus
   10109 extern "C"
   10110 #endif
   10111 char dlopen ();
   10112 int
   10113 main ()
   10114 {
   10115 return dlopen ();
   10116   ;
   10117   return 0;
   10118 }
   10119 _ACEOF
   10120 rm -f conftest.$ac_objext conftest$ac_exeext
   10121 if { (ac_try="$ac_link"
   10122 case "(($ac_try" in
   10123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10124   *) ac_try_echo=$ac_try;;
   10125 esac
   10126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10127 $as_echo "$ac_try_echo") >&5
   10128   (eval "$ac_link") 2>conftest.er1
   10129   ac_status=$?
   10130   grep -v '^ *+' conftest.er1 >conftest.err
   10131   rm -f conftest.er1
   10132   cat conftest.err >&5
   10133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10134   (exit $ac_status); } && {
   10135 	 test -z "$ac_c_werror_flag" ||
   10136 	 test ! -s conftest.err
   10137        } && test -s conftest$ac_exeext && {
   10138 	 test "$cross_compiling" = yes ||
   10139 	 $as_test_x conftest$ac_exeext
   10140        }; then
   10141   ac_cv_lib_dl_dlopen=yes
   10142 else
   10143   $as_echo "$as_me: failed program was:" >&5
   10144 sed 's/^/| /' conftest.$ac_ext >&5
   10145 
   10146 	ac_cv_lib_dl_dlopen=no
   10147 fi
   10148 
   10149 rm -rf conftest.dSYM
   10150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10151       conftest$ac_exeext conftest.$ac_ext
   10152 LIBS=$ac_check_lib_save_LIBS
   10153 fi
   10154 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10155 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10156 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10157   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10158 else
   10159 
   10160     lt_cv_dlopen="dyld"
   10161     lt_cv_dlopen_libs=
   10162     lt_cv_dlopen_self=yes
   10163 
   10164 fi
   10165 
   10166    ;;
   10167 
   10168   *)
   10169     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10170 $as_echo_n "checking for shl_load... " >&6; }
   10171 if test "${ac_cv_func_shl_load+set}" = set; then
   10172   $as_echo_n "(cached) " >&6
   10173 else
   10174   cat >conftest.$ac_ext <<_ACEOF
   10175 /* confdefs.h.  */
   10176 _ACEOF
   10177 cat confdefs.h >>conftest.$ac_ext
   10178 cat >>conftest.$ac_ext <<_ACEOF
   10179 /* end confdefs.h.  */
   10180 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10182 #define shl_load innocuous_shl_load
   10183 
   10184 /* System header to define __stub macros and hopefully few prototypes,
   10185     which can conflict with char shl_load (); below.
   10186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10187     <limits.h> exists even on freestanding compilers.  */
   10188 
   10189 #ifdef __STDC__
   10190 # include <limits.h>
   10191 #else
   10192 # include <assert.h>
   10193 #endif
   10194 
   10195 #undef shl_load
   10196 
   10197 /* Override any GCC internal prototype to avoid an error.
   10198    Use char because int might match the return type of a GCC
   10199    builtin and then its argument prototype would still apply.  */
   10200 #ifdef __cplusplus
   10201 extern "C"
   10202 #endif
   10203 char shl_load ();
   10204 /* The GNU C library defines this for functions which it implements
   10205     to always fail with ENOSYS.  Some functions are actually named
   10206     something starting with __ and the normal name is an alias.  */
   10207 #if defined __stub_shl_load || defined __stub___shl_load
   10208 choke me
   10209 #endif
   10210 
   10211 int
   10212 main ()
   10213 {
   10214 return shl_load ();
   10215   ;
   10216   return 0;
   10217 }
   10218 _ACEOF
   10219 rm -f conftest.$ac_objext conftest$ac_exeext
   10220 if { (ac_try="$ac_link"
   10221 case "(($ac_try" in
   10222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10223   *) ac_try_echo=$ac_try;;
   10224 esac
   10225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10226 $as_echo "$ac_try_echo") >&5
   10227   (eval "$ac_link") 2>conftest.er1
   10228   ac_status=$?
   10229   grep -v '^ *+' conftest.er1 >conftest.err
   10230   rm -f conftest.er1
   10231   cat conftest.err >&5
   10232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10233   (exit $ac_status); } && {
   10234 	 test -z "$ac_c_werror_flag" ||
   10235 	 test ! -s conftest.err
   10236        } && test -s conftest$ac_exeext && {
   10237 	 test "$cross_compiling" = yes ||
   10238 	 $as_test_x conftest$ac_exeext
   10239        }; then
   10240   ac_cv_func_shl_load=yes
   10241 else
   10242   $as_echo "$as_me: failed program was:" >&5
   10243 sed 's/^/| /' conftest.$ac_ext >&5
   10244 
   10245 	ac_cv_func_shl_load=no
   10246 fi
   10247 
   10248 rm -rf conftest.dSYM
   10249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10250       conftest$ac_exeext conftest.$ac_ext
   10251 fi
   10252 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10253 $as_echo "$ac_cv_func_shl_load" >&6; }
   10254 if test "x$ac_cv_func_shl_load" = x""yes; then
   10255   lt_cv_dlopen="shl_load"
   10256 else
   10257   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10258 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10259 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10260   $as_echo_n "(cached) " >&6
   10261 else
   10262   ac_check_lib_save_LIBS=$LIBS
   10263 LIBS="-ldld  $LIBS"
   10264 cat >conftest.$ac_ext <<_ACEOF
   10265 /* confdefs.h.  */
   10266 _ACEOF
   10267 cat confdefs.h >>conftest.$ac_ext
   10268 cat >>conftest.$ac_ext <<_ACEOF
   10269 /* end confdefs.h.  */
   10270 
   10271 /* Override any GCC internal prototype to avoid an error.
   10272    Use char because int might match the return type of a GCC
   10273    builtin and then its argument prototype would still apply.  */
   10274 #ifdef __cplusplus
   10275 extern "C"
   10276 #endif
   10277 char shl_load ();
   10278 int
   10279 main ()
   10280 {
   10281 return shl_load ();
   10282   ;
   10283   return 0;
   10284 }
   10285 _ACEOF
   10286 rm -f conftest.$ac_objext conftest$ac_exeext
   10287 if { (ac_try="$ac_link"
   10288 case "(($ac_try" in
   10289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10290   *) ac_try_echo=$ac_try;;
   10291 esac
   10292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10293 $as_echo "$ac_try_echo") >&5
   10294   (eval "$ac_link") 2>conftest.er1
   10295   ac_status=$?
   10296   grep -v '^ *+' conftest.er1 >conftest.err
   10297   rm -f conftest.er1
   10298   cat conftest.err >&5
   10299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10300   (exit $ac_status); } && {
   10301 	 test -z "$ac_c_werror_flag" ||
   10302 	 test ! -s conftest.err
   10303        } && test -s conftest$ac_exeext && {
   10304 	 test "$cross_compiling" = yes ||
   10305 	 $as_test_x conftest$ac_exeext
   10306        }; then
   10307   ac_cv_lib_dld_shl_load=yes
   10308 else
   10309   $as_echo "$as_me: failed program was:" >&5
   10310 sed 's/^/| /' conftest.$ac_ext >&5
   10311 
   10312 	ac_cv_lib_dld_shl_load=no
   10313 fi
   10314 
   10315 rm -rf conftest.dSYM
   10316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10317       conftest$ac_exeext conftest.$ac_ext
   10318 LIBS=$ac_check_lib_save_LIBS
   10319 fi
   10320 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10321 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10322 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10323   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10324 else
   10325   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10326 $as_echo_n "checking for dlopen... " >&6; }
   10327 if test "${ac_cv_func_dlopen+set}" = set; then
   10328   $as_echo_n "(cached) " >&6
   10329 else
   10330   cat >conftest.$ac_ext <<_ACEOF
   10331 /* confdefs.h.  */
   10332 _ACEOF
   10333 cat confdefs.h >>conftest.$ac_ext
   10334 cat >>conftest.$ac_ext <<_ACEOF
   10335 /* end confdefs.h.  */
   10336 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10338 #define dlopen innocuous_dlopen
   10339 
   10340 /* System header to define __stub macros and hopefully few prototypes,
   10341     which can conflict with char dlopen (); below.
   10342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10343     <limits.h> exists even on freestanding compilers.  */
   10344 
   10345 #ifdef __STDC__
   10346 # include <limits.h>
   10347 #else
   10348 # include <assert.h>
   10349 #endif
   10350 
   10351 #undef dlopen
   10352 
   10353 /* Override any GCC internal prototype to avoid an error.
   10354    Use char because int might match the return type of a GCC
   10355    builtin and then its argument prototype would still apply.  */
   10356 #ifdef __cplusplus
   10357 extern "C"
   10358 #endif
   10359 char dlopen ();
   10360 /* The GNU C library defines this for functions which it implements
   10361     to always fail with ENOSYS.  Some functions are actually named
   10362     something starting with __ and the normal name is an alias.  */
   10363 #if defined __stub_dlopen || defined __stub___dlopen
   10364 choke me
   10365 #endif
   10366 
   10367 int
   10368 main ()
   10369 {
   10370 return dlopen ();
   10371   ;
   10372   return 0;
   10373 }
   10374 _ACEOF
   10375 rm -f conftest.$ac_objext conftest$ac_exeext
   10376 if { (ac_try="$ac_link"
   10377 case "(($ac_try" in
   10378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10379   *) ac_try_echo=$ac_try;;
   10380 esac
   10381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10382 $as_echo "$ac_try_echo") >&5
   10383   (eval "$ac_link") 2>conftest.er1
   10384   ac_status=$?
   10385   grep -v '^ *+' conftest.er1 >conftest.err
   10386   rm -f conftest.er1
   10387   cat conftest.err >&5
   10388   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10389   (exit $ac_status); } && {
   10390 	 test -z "$ac_c_werror_flag" ||
   10391 	 test ! -s conftest.err
   10392        } && test -s conftest$ac_exeext && {
   10393 	 test "$cross_compiling" = yes ||
   10394 	 $as_test_x conftest$ac_exeext
   10395        }; then
   10396   ac_cv_func_dlopen=yes
   10397 else
   10398   $as_echo "$as_me: failed program was:" >&5
   10399 sed 's/^/| /' conftest.$ac_ext >&5
   10400 
   10401 	ac_cv_func_dlopen=no
   10402 fi
   10403 
   10404 rm -rf conftest.dSYM
   10405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10406       conftest$ac_exeext conftest.$ac_ext
   10407 fi
   10408 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10409 $as_echo "$ac_cv_func_dlopen" >&6; }
   10410 if test "x$ac_cv_func_dlopen" = x""yes; then
   10411   lt_cv_dlopen="dlopen"
   10412 else
   10413   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10414 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10415 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10416   $as_echo_n "(cached) " >&6
   10417 else
   10418   ac_check_lib_save_LIBS=$LIBS
   10419 LIBS="-ldl  $LIBS"
   10420 cat >conftest.$ac_ext <<_ACEOF
   10421 /* confdefs.h.  */
   10422 _ACEOF
   10423 cat confdefs.h >>conftest.$ac_ext
   10424 cat >>conftest.$ac_ext <<_ACEOF
   10425 /* end confdefs.h.  */
   10426 
   10427 /* Override any GCC internal prototype to avoid an error.
   10428    Use char because int might match the return type of a GCC
   10429    builtin and then its argument prototype would still apply.  */
   10430 #ifdef __cplusplus
   10431 extern "C"
   10432 #endif
   10433 char dlopen ();
   10434 int
   10435 main ()
   10436 {
   10437 return dlopen ();
   10438   ;
   10439   return 0;
   10440 }
   10441 _ACEOF
   10442 rm -f conftest.$ac_objext conftest$ac_exeext
   10443 if { (ac_try="$ac_link"
   10444 case "(($ac_try" in
   10445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10446   *) ac_try_echo=$ac_try;;
   10447 esac
   10448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10449 $as_echo "$ac_try_echo") >&5
   10450   (eval "$ac_link") 2>conftest.er1
   10451   ac_status=$?
   10452   grep -v '^ *+' conftest.er1 >conftest.err
   10453   rm -f conftest.er1
   10454   cat conftest.err >&5
   10455   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10456   (exit $ac_status); } && {
   10457 	 test -z "$ac_c_werror_flag" ||
   10458 	 test ! -s conftest.err
   10459        } && test -s conftest$ac_exeext && {
   10460 	 test "$cross_compiling" = yes ||
   10461 	 $as_test_x conftest$ac_exeext
   10462        }; then
   10463   ac_cv_lib_dl_dlopen=yes
   10464 else
   10465   $as_echo "$as_me: failed program was:" >&5
   10466 sed 's/^/| /' conftest.$ac_ext >&5
   10467 
   10468 	ac_cv_lib_dl_dlopen=no
   10469 fi
   10470 
   10471 rm -rf conftest.dSYM
   10472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10473       conftest$ac_exeext conftest.$ac_ext
   10474 LIBS=$ac_check_lib_save_LIBS
   10475 fi
   10476 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10477 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10478 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10479   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10480 else
   10481   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10482 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10483 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10484   $as_echo_n "(cached) " >&6
   10485 else
   10486   ac_check_lib_save_LIBS=$LIBS
   10487 LIBS="-lsvld  $LIBS"
   10488 cat >conftest.$ac_ext <<_ACEOF
   10489 /* confdefs.h.  */
   10490 _ACEOF
   10491 cat confdefs.h >>conftest.$ac_ext
   10492 cat >>conftest.$ac_ext <<_ACEOF
   10493 /* end confdefs.h.  */
   10494 
   10495 /* Override any GCC internal prototype to avoid an error.
   10496    Use char because int might match the return type of a GCC
   10497    builtin and then its argument prototype would still apply.  */
   10498 #ifdef __cplusplus
   10499 extern "C"
   10500 #endif
   10501 char dlopen ();
   10502 int
   10503 main ()
   10504 {
   10505 return dlopen ();
   10506   ;
   10507   return 0;
   10508 }
   10509 _ACEOF
   10510 rm -f conftest.$ac_objext conftest$ac_exeext
   10511 if { (ac_try="$ac_link"
   10512 case "(($ac_try" in
   10513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10514   *) ac_try_echo=$ac_try;;
   10515 esac
   10516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10517 $as_echo "$ac_try_echo") >&5
   10518   (eval "$ac_link") 2>conftest.er1
   10519   ac_status=$?
   10520   grep -v '^ *+' conftest.er1 >conftest.err
   10521   rm -f conftest.er1
   10522   cat conftest.err >&5
   10523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10524   (exit $ac_status); } && {
   10525 	 test -z "$ac_c_werror_flag" ||
   10526 	 test ! -s conftest.err
   10527        } && test -s conftest$ac_exeext && {
   10528 	 test "$cross_compiling" = yes ||
   10529 	 $as_test_x conftest$ac_exeext
   10530        }; then
   10531   ac_cv_lib_svld_dlopen=yes
   10532 else
   10533   $as_echo "$as_me: failed program was:" >&5
   10534 sed 's/^/| /' conftest.$ac_ext >&5
   10535 
   10536 	ac_cv_lib_svld_dlopen=no
   10537 fi
   10538 
   10539 rm -rf conftest.dSYM
   10540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10541       conftest$ac_exeext conftest.$ac_ext
   10542 LIBS=$ac_check_lib_save_LIBS
   10543 fi
   10544 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10545 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10546 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10547   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10548 else
   10549   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10550 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10551 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10552   $as_echo_n "(cached) " >&6
   10553 else
   10554   ac_check_lib_save_LIBS=$LIBS
   10555 LIBS="-ldld  $LIBS"
   10556 cat >conftest.$ac_ext <<_ACEOF
   10557 /* confdefs.h.  */
   10558 _ACEOF
   10559 cat confdefs.h >>conftest.$ac_ext
   10560 cat >>conftest.$ac_ext <<_ACEOF
   10561 /* end confdefs.h.  */
   10562 
   10563 /* Override any GCC internal prototype to avoid an error.
   10564    Use char because int might match the return type of a GCC
   10565    builtin and then its argument prototype would still apply.  */
   10566 #ifdef __cplusplus
   10567 extern "C"
   10568 #endif
   10569 char dld_link ();
   10570 int
   10571 main ()
   10572 {
   10573 return dld_link ();
   10574   ;
   10575   return 0;
   10576 }
   10577 _ACEOF
   10578 rm -f conftest.$ac_objext conftest$ac_exeext
   10579 if { (ac_try="$ac_link"
   10580 case "(($ac_try" in
   10581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10582   *) ac_try_echo=$ac_try;;
   10583 esac
   10584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10585 $as_echo "$ac_try_echo") >&5
   10586   (eval "$ac_link") 2>conftest.er1
   10587   ac_status=$?
   10588   grep -v '^ *+' conftest.er1 >conftest.err
   10589   rm -f conftest.er1
   10590   cat conftest.err >&5
   10591   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10592   (exit $ac_status); } && {
   10593 	 test -z "$ac_c_werror_flag" ||
   10594 	 test ! -s conftest.err
   10595        } && test -s conftest$ac_exeext && {
   10596 	 test "$cross_compiling" = yes ||
   10597 	 $as_test_x conftest$ac_exeext
   10598        }; then
   10599   ac_cv_lib_dld_dld_link=yes
   10600 else
   10601   $as_echo "$as_me: failed program was:" >&5
   10602 sed 's/^/| /' conftest.$ac_ext >&5
   10603 
   10604 	ac_cv_lib_dld_dld_link=no
   10605 fi
   10606 
   10607 rm -rf conftest.dSYM
   10608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10609       conftest$ac_exeext conftest.$ac_ext
   10610 LIBS=$ac_check_lib_save_LIBS
   10611 fi
   10612 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10613 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10614 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10615   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10616 fi
   10617 
   10618 
   10619 fi
   10620 
   10621 
   10622 fi
   10623 
   10624 
   10625 fi
   10626 
   10627 
   10628 fi
   10629 
   10630 
   10631 fi
   10632 
   10633     ;;
   10634   esac
   10635 
   10636   if test "x$lt_cv_dlopen" != xno; then
   10637     enable_dlopen=yes
   10638   else
   10639     enable_dlopen=no
   10640   fi
   10641 
   10642   case $lt_cv_dlopen in
   10643   dlopen)
   10644     save_CPPFLAGS="$CPPFLAGS"
   10645     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10646 
   10647     save_LDFLAGS="$LDFLAGS"
   10648     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10649 
   10650     save_LIBS="$LIBS"
   10651     LIBS="$lt_cv_dlopen_libs $LIBS"
   10652 
   10653     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10654 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10655 if test "${lt_cv_dlopen_self+set}" = set; then
   10656   $as_echo_n "(cached) " >&6
   10657 else
   10658   	  if test "$cross_compiling" = yes; then :
   10659   lt_cv_dlopen_self=cross
   10660 else
   10661   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10662   lt_status=$lt_dlunknown
   10663   cat > conftest.$ac_ext <<EOF
   10664 #line 10664 "configure"
   10665 #include "confdefs.h"
   10666 
   10667 #if HAVE_DLFCN_H
   10668 #include <dlfcn.h>
   10669 #endif
   10670 
   10671 #include <stdio.h>
   10672 
   10673 #ifdef RTLD_GLOBAL
   10674 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10675 #else
   10676 #  ifdef DL_GLOBAL
   10677 #    define LT_DLGLOBAL		DL_GLOBAL
   10678 #  else
   10679 #    define LT_DLGLOBAL		0
   10680 #  endif
   10681 #endif
   10682 
   10683 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10684    find out it does not work in some platform. */
   10685 #ifndef LT_DLLAZY_OR_NOW
   10686 #  ifdef RTLD_LAZY
   10687 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10688 #  else
   10689 #    ifdef DL_LAZY
   10690 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10691 #    else
   10692 #      ifdef RTLD_NOW
   10693 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10694 #      else
   10695 #        ifdef DL_NOW
   10696 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10697 #        else
   10698 #          define LT_DLLAZY_OR_NOW	0
   10699 #        endif
   10700 #      endif
   10701 #    endif
   10702 #  endif
   10703 #endif
   10704 
   10705 #ifdef __cplusplus
   10706 extern "C" void exit (int);
   10707 #endif
   10708 
   10709 void fnord() { int i=42;}
   10710 int main ()
   10711 {
   10712   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10713   int status = $lt_dlunknown;
   10714 
   10715   if (self)
   10716     {
   10717       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10718       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10719       /* dlclose (self); */
   10720     }
   10721   else
   10722     puts (dlerror ());
   10723 
   10724     exit (status);
   10725 }
   10726 EOF
   10727   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10728   (eval $ac_link) 2>&5
   10729   ac_status=$?
   10730   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10731   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10732     (./conftest; exit; ) >&5 2>/dev/null
   10733     lt_status=$?
   10734     case x$lt_status in
   10735       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10736       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10737       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10738     esac
   10739   else :
   10740     # compilation failed
   10741     lt_cv_dlopen_self=no
   10742   fi
   10743 fi
   10744 rm -fr conftest*
   10745 
   10746 
   10747 fi
   10748 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10749 $as_echo "$lt_cv_dlopen_self" >&6; }
   10750 
   10751     if test "x$lt_cv_dlopen_self" = xyes; then
   10752       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10753       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10754 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10755 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10756   $as_echo_n "(cached) " >&6
   10757 else
   10758   	  if test "$cross_compiling" = yes; then :
   10759   lt_cv_dlopen_self_static=cross
   10760 else
   10761   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10762   lt_status=$lt_dlunknown
   10763   cat > conftest.$ac_ext <<EOF
   10764 #line 10764 "configure"
   10765 #include "confdefs.h"
   10766 
   10767 #if HAVE_DLFCN_H
   10768 #include <dlfcn.h>
   10769 #endif
   10770 
   10771 #include <stdio.h>
   10772 
   10773 #ifdef RTLD_GLOBAL
   10774 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10775 #else
   10776 #  ifdef DL_GLOBAL
   10777 #    define LT_DLGLOBAL		DL_GLOBAL
   10778 #  else
   10779 #    define LT_DLGLOBAL		0
   10780 #  endif
   10781 #endif
   10782 
   10783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10784    find out it does not work in some platform. */
   10785 #ifndef LT_DLLAZY_OR_NOW
   10786 #  ifdef RTLD_LAZY
   10787 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10788 #  else
   10789 #    ifdef DL_LAZY
   10790 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10791 #    else
   10792 #      ifdef RTLD_NOW
   10793 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10794 #      else
   10795 #        ifdef DL_NOW
   10796 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10797 #        else
   10798 #          define LT_DLLAZY_OR_NOW	0
   10799 #        endif
   10800 #      endif
   10801 #    endif
   10802 #  endif
   10803 #endif
   10804 
   10805 #ifdef __cplusplus
   10806 extern "C" void exit (int);
   10807 #endif
   10808 
   10809 void fnord() { int i=42;}
   10810 int main ()
   10811 {
   10812   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10813   int status = $lt_dlunknown;
   10814 
   10815   if (self)
   10816     {
   10817       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10818       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10819       /* dlclose (self); */
   10820     }
   10821   else
   10822     puts (dlerror ());
   10823 
   10824     exit (status);
   10825 }
   10826 EOF
   10827   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10828   (eval $ac_link) 2>&5
   10829   ac_status=$?
   10830   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10831   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10832     (./conftest; exit; ) >&5 2>/dev/null
   10833     lt_status=$?
   10834     case x$lt_status in
   10835       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10836       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10837       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10838     esac
   10839   else :
   10840     # compilation failed
   10841     lt_cv_dlopen_self_static=no
   10842   fi
   10843 fi
   10844 rm -fr conftest*
   10845 
   10846 
   10847 fi
   10848 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10849 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10850     fi
   10851 
   10852     CPPFLAGS="$save_CPPFLAGS"
   10853     LDFLAGS="$save_LDFLAGS"
   10854     LIBS="$save_LIBS"
   10855     ;;
   10856   esac
   10857 
   10858   case $lt_cv_dlopen_self in
   10859   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10860   *) enable_dlopen_self=unknown ;;
   10861   esac
   10862 
   10863   case $lt_cv_dlopen_self_static in
   10864   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10865   *) enable_dlopen_self_static=unknown ;;
   10866   esac
   10867 fi
   10868 
   10869 
   10870 # Report which library types will actually be built
   10871 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10872 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10873 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10874 $as_echo "$can_build_shared" >&6; }
   10875 
   10876 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10877 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10878 test "$can_build_shared" = "no" && enable_shared=no
   10879 
   10880 # On AIX, shared libraries and static libraries use the same namespace, and
   10881 # are all built from PIC.
   10882 case $host_os in
   10883 aix3*)
   10884   test "$enable_shared" = yes && enable_static=no
   10885   if test -n "$RANLIB"; then
   10886     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10887     postinstall_cmds='$RANLIB $lib'
   10888   fi
   10889   ;;
   10890 
   10891 aix[4-9]*)
   10892   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10893     test "$enable_shared" = yes && enable_static=no
   10894   fi
   10895     ;;
   10896 esac
   10897 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10898 $as_echo "$enable_shared" >&6; }
   10899 
   10900 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10901 $as_echo_n "checking whether to build static libraries... " >&6; }
   10902 # Make sure either enable_shared or enable_static is yes.
   10903 test "$enable_shared" = yes || enable_static=yes
   10904 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10905 $as_echo "$enable_static" >&6; }
   10906 
   10907 # The else clause should only fire when bootstrapping the
   10908 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10909 # with your package, and you will get complaints that there are
   10910 # no rules to generate ltmain.sh.
   10911 if test -f "$ltmain"; then
   10912   # See if we are running on zsh, and set the options which allow our commands through
   10913   # without removal of \ escapes.
   10914   if test -n "${ZSH_VERSION+set}" ; then
   10915     setopt NO_GLOB_SUBST
   10916   fi
   10917   # Now quote all the things that may contain metacharacters while being
   10918   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10919   # variables and quote the copies for generation of the libtool script.
   10920   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10921     SED SHELL STRIP \
   10922     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10923     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10924     deplibs_check_method reload_flag reload_cmds need_locks \
   10925     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10926     lt_cv_sys_global_symbol_to_c_name_address \
   10927     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10928     old_postinstall_cmds old_postuninstall_cmds \
   10929     compiler \
   10930     CC \
   10931     LD \
   10932     lt_prog_compiler_wl \
   10933     lt_prog_compiler_pic \
   10934     lt_prog_compiler_static \
   10935     lt_prog_compiler_no_builtin_flag \
   10936     export_dynamic_flag_spec \
   10937     thread_safe_flag_spec \
   10938     whole_archive_flag_spec \
   10939     enable_shared_with_static_runtimes \
   10940     old_archive_cmds \
   10941     old_archive_from_new_cmds \
   10942     predep_objects \
   10943     postdep_objects \
   10944     predeps \
   10945     postdeps \
   10946     compiler_lib_search_path \
   10947     compiler_lib_search_dirs \
   10948     archive_cmds \
   10949     archive_expsym_cmds \
   10950     postinstall_cmds \
   10951     postuninstall_cmds \
   10952     old_archive_from_expsyms_cmds \
   10953     allow_undefined_flag \
   10954     no_undefined_flag \
   10955     export_symbols_cmds \
   10956     hardcode_libdir_flag_spec \
   10957     hardcode_libdir_flag_spec_ld \
   10958     hardcode_libdir_separator \
   10959     hardcode_automatic \
   10960     module_cmds \
   10961     module_expsym_cmds \
   10962     lt_cv_prog_compiler_c_o \
   10963     fix_srcfile_path \
   10964     exclude_expsyms \
   10965     include_expsyms; do
   10966 
   10967     case $var in
   10968     old_archive_cmds | \
   10969     old_archive_from_new_cmds | \
   10970     archive_cmds | \
   10971     archive_expsym_cmds | \
   10972     module_cmds | \
   10973     module_expsym_cmds | \
   10974     old_archive_from_expsyms_cmds | \
   10975     export_symbols_cmds | \
   10976     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10977     postinstall_cmds | postuninstall_cmds | \
   10978     old_postinstall_cmds | old_postuninstall_cmds | \
   10979     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10980       # Double-quote double-evaled strings.
   10981       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10982       ;;
   10983     *)
   10984       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10985       ;;
   10986     esac
   10987   done
   10988 
   10989   case $lt_echo in
   10990   *'\$0 --fallback-echo"')
   10991     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10992     ;;
   10993   esac
   10994 
   10995 cfgfile="${ofile}T"
   10996   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10997   $rm -f "$cfgfile"
   10998   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10999 $as_echo "$as_me: creating $ofile" >&6;}
   11000 
   11001   cat <<__EOF__ >> "$cfgfile"
   11002 #! $SHELL
   11003 
   11004 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   11005 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   11006 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   11007 #
   11008 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   11009 # Free Software Foundation, Inc.
   11010 #
   11011 # This file is part of GNU Libtool:
   11012 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   11013 #
   11014 # This program is free software; you can redistribute it and/or modify
   11015 # it under the terms of the GNU General Public License as published by
   11016 # the Free Software Foundation; either version 2 of the License, or
   11017 # (at your option) any later version.
   11018 #
   11019 # This program is distributed in the hope that it will be useful, but
   11020 # WITHOUT ANY WARRANTY; without even the implied warranty of
   11021 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   11022 # General Public License for more details.
   11023 #
   11024 # You should have received a copy of the GNU General Public License
   11025 # along with this program; if not, write to the Free Software
   11026 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   11027 #
   11028 # As a special exception to the GNU General Public License, if you
   11029 # distribute this file as part of a program that contains a
   11030 # configuration script generated by Autoconf, you may include it under
   11031 # the same distribution terms that you use for the rest of that program.
   11032 
   11033 # A sed program that does not truncate output.
   11034 SED=$lt_SED
   11035 
   11036 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   11037 Xsed="$SED -e 1s/^X//"
   11038 
   11039 # The HP-UX ksh and POSIX shell print the target directory to stdout
   11040 # if CDPATH is set.
   11041 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11042 
   11043 # The names of the tagged configurations supported by this script.
   11044 available_tags=
   11045 
   11046 # ### BEGIN LIBTOOL CONFIG
   11047 
   11048 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   11049 
   11050 # Shell to use when invoking shell scripts.
   11051 SHELL=$lt_SHELL
   11052 
   11053 # Whether or not to build shared libraries.
   11054 build_libtool_libs=$enable_shared
   11055 
   11056 # Whether or not to build static libraries.
   11057 build_old_libs=$enable_static
   11058 
   11059 # Whether or not to add -lc for building shared libraries.
   11060 build_libtool_need_lc=$archive_cmds_need_lc
   11061 
   11062 # Whether or not to disallow shared libs when runtime libs are static
   11063 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   11064 
   11065 # Whether or not to optimize for fast installation.
   11066 fast_install=$enable_fast_install
   11067 
   11068 # The host system.
   11069 host_alias=$host_alias
   11070 host=$host
   11071 host_os=$host_os
   11072 
   11073 # The build system.
   11074 build_alias=$build_alias
   11075 build=$build
   11076 build_os=$build_os
   11077 
   11078 # An echo program that does not interpret backslashes.
   11079 echo=$lt_echo
   11080 
   11081 # The archiver.
   11082 AR=$lt_AR
   11083 AR_FLAGS=$lt_AR_FLAGS
   11084 
   11085 # A C compiler.
   11086 LTCC=$lt_LTCC
   11087 
   11088 # LTCC compiler flags.
   11089 LTCFLAGS=$lt_LTCFLAGS
   11090 
   11091 # A language-specific compiler.
   11092 CC=$lt_compiler
   11093 
   11094 # Is the compiler the GNU C compiler?
   11095 with_gcc=$GCC
   11096 
   11097 # An ERE matcher.
   11098 EGREP=$lt_EGREP
   11099 
   11100 # The linker used to build libraries.
   11101 LD=$lt_LD
   11102 
   11103 # Whether we need hard or soft links.
   11104 LN_S=$lt_LN_S
   11105 
   11106 # A BSD-compatible nm program.
   11107 NM=$lt_NM
   11108 
   11109 # A symbol stripping program
   11110 STRIP=$lt_STRIP
   11111 
   11112 # Used to examine libraries when file_magic_cmd begins "file"
   11113 MAGIC_CMD=$MAGIC_CMD
   11114 
   11115 # Used on cygwin: DLL creation program.
   11116 DLLTOOL="$DLLTOOL"
   11117 
   11118 # Used on cygwin: object dumper.
   11119 OBJDUMP="$OBJDUMP"
   11120 
   11121 # Used on cygwin: assembler.
   11122 AS="$AS"
   11123 
   11124 # The name of the directory that contains temporary libtool files.
   11125 objdir=$objdir
   11126 
   11127 # How to create reloadable object files.
   11128 reload_flag=$lt_reload_flag
   11129 reload_cmds=$lt_reload_cmds
   11130 
   11131 # How to pass a linker flag through the compiler.
   11132 wl=$lt_lt_prog_compiler_wl
   11133 
   11134 # Object file suffix (normally "o").
   11135 objext="$ac_objext"
   11136 
   11137 # Old archive suffix (normally "a").
   11138 libext="$libext"
   11139 
   11140 # Shared library suffix (normally ".so").
   11141 shrext_cmds='$shrext_cmds'
   11142 
   11143 # Executable file suffix (normally "").
   11144 exeext="$exeext"
   11145 
   11146 # Additional compiler flags for building library objects.
   11147 pic_flag=$lt_lt_prog_compiler_pic
   11148 pic_mode=$pic_mode
   11149 
   11150 # What is the maximum length of a command?
   11151 max_cmd_len=$lt_cv_sys_max_cmd_len
   11152 
   11153 # Does compiler simultaneously support -c and -o options?
   11154 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   11155 
   11156 # Must we lock files when doing compilation?
   11157 need_locks=$lt_need_locks
   11158 
   11159 # Do we need the lib prefix for modules?
   11160 need_lib_prefix=$need_lib_prefix
   11161 
   11162 # Do we need a version for libraries?
   11163 need_version=$need_version
   11164 
   11165 # Whether dlopen is supported.
   11166 dlopen_support=$enable_dlopen
   11167 
   11168 # Whether dlopen of programs is supported.
   11169 dlopen_self=$enable_dlopen_self
   11170 
   11171 # Whether dlopen of statically linked programs is supported.
   11172 dlopen_self_static=$enable_dlopen_self_static
   11173 
   11174 # Compiler flag to prevent dynamic linking.
   11175 link_static_flag=$lt_lt_prog_compiler_static
   11176 
   11177 # Compiler flag to turn off builtin functions.
   11178 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   11179 
   11180 # Compiler flag to allow reflexive dlopens.
   11181 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   11182 
   11183 # Compiler flag to generate shared objects directly from archives.
   11184 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   11185 
   11186 # Compiler flag to generate thread-safe objects.
   11187 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   11188 
   11189 # Library versioning type.
   11190 version_type=$version_type
   11191 
   11192 # Format of library name prefix.
   11193 libname_spec=$lt_libname_spec
   11194 
   11195 # List of archive names.  First name is the real one, the rest are links.
   11196 # The last name is the one that the linker finds with -lNAME.
   11197 library_names_spec=$lt_library_names_spec
   11198 
   11199 # The coded name of the library, if different from the real name.
   11200 soname_spec=$lt_soname_spec
   11201 
   11202 # Commands used to build and install an old-style archive.
   11203 RANLIB=$lt_RANLIB
   11204 old_archive_cmds=$lt_old_archive_cmds
   11205 old_postinstall_cmds=$lt_old_postinstall_cmds
   11206 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11207 
   11208 # Create an old-style archive from a shared archive.
   11209 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11210 
   11211 # Create a temporary old-style archive to link instead of a shared archive.
   11212 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11213 
   11214 # Commands used to build and install a shared archive.
   11215 archive_cmds=$lt_archive_cmds
   11216 archive_expsym_cmds=$lt_archive_expsym_cmds
   11217 postinstall_cmds=$lt_postinstall_cmds
   11218 postuninstall_cmds=$lt_postuninstall_cmds
   11219 
   11220 # Commands used to build a loadable module (assumed same as above if empty)
   11221 module_cmds=$lt_module_cmds
   11222 module_expsym_cmds=$lt_module_expsym_cmds
   11223 
   11224 # Commands to strip libraries.
   11225 old_striplib=$lt_old_striplib
   11226 striplib=$lt_striplib
   11227 
   11228 # Dependencies to place before the objects being linked to create a
   11229 # shared library.
   11230 predep_objects=$lt_predep_objects
   11231 
   11232 # Dependencies to place after the objects being linked to create a
   11233 # shared library.
   11234 postdep_objects=$lt_postdep_objects
   11235 
   11236 # Dependencies to place before the objects being linked to create a
   11237 # shared library.
   11238 predeps=$lt_predeps
   11239 
   11240 # Dependencies to place after the objects being linked to create a
   11241 # shared library.
   11242 postdeps=$lt_postdeps
   11243 
   11244 # The directories searched by this compiler when creating a shared
   11245 # library
   11246 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11247 
   11248 # The library search path used internally by the compiler when linking
   11249 # a shared library.
   11250 compiler_lib_search_path=$lt_compiler_lib_search_path
   11251 
   11252 # Method to check whether dependent libraries are shared objects.
   11253 deplibs_check_method=$lt_deplibs_check_method
   11254 
   11255 # Command to use when deplibs_check_method == file_magic.
   11256 file_magic_cmd=$lt_file_magic_cmd
   11257 
   11258 # Flag that allows shared libraries with undefined symbols to be built.
   11259 allow_undefined_flag=$lt_allow_undefined_flag
   11260 
   11261 # Flag that forces no undefined symbols.
   11262 no_undefined_flag=$lt_no_undefined_flag
   11263 
   11264 # Commands used to finish a libtool library installation in a directory.
   11265 finish_cmds=$lt_finish_cmds
   11266 
   11267 # Same as above, but a single script fragment to be evaled but not shown.
   11268 finish_eval=$lt_finish_eval
   11269 
   11270 # Take the output of nm and produce a listing of raw symbols and C names.
   11271 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11272 
   11273 # Transform the output of nm in a proper C declaration
   11274 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11275 
   11276 # Transform the output of nm in a C name address pair
   11277 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11278 
   11279 # This is the shared library runtime path variable.
   11280 runpath_var=$runpath_var
   11281 
   11282 # This is the shared library path variable.
   11283 shlibpath_var=$shlibpath_var
   11284 
   11285 # Is shlibpath searched before the hard-coded library search path?
   11286 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11287 
   11288 # How to hardcode a shared library path into an executable.
   11289 hardcode_action=$hardcode_action
   11290 
   11291 # Whether we should hardcode library paths into libraries.
   11292 hardcode_into_libs=$hardcode_into_libs
   11293 
   11294 # Flag to hardcode \$libdir into a binary during linking.
   11295 # This must work even if \$libdir does not exist.
   11296 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11297 
   11298 # If ld is used when linking, flag to hardcode \$libdir into
   11299 # a binary during linking. This must work even if \$libdir does
   11300 # not exist.
   11301 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11302 
   11303 # Whether we need a single -rpath flag with a separated argument.
   11304 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11305 
   11306 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11307 # resulting binary.
   11308 hardcode_direct=$hardcode_direct
   11309 
   11310 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11311 # resulting binary.
   11312 hardcode_minus_L=$hardcode_minus_L
   11313 
   11314 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11315 # the resulting binary.
   11316 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11317 
   11318 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11319 # and all subsequent libraries and executables linked against it.
   11320 hardcode_automatic=$hardcode_automatic
   11321 
   11322 # Variables whose values should be saved in libtool wrapper scripts and
   11323 # restored at relink time.
   11324 variables_saved_for_relink="$variables_saved_for_relink"
   11325 
   11326 # Whether libtool must link a program against all its dependency libraries.
   11327 link_all_deplibs=$link_all_deplibs
   11328 
   11329 # Compile-time system search path for libraries
   11330 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11331 
   11332 # Run-time system search path for libraries
   11333 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11334 
   11335 # Fix the shell variable \$srcfile for the compiler.
   11336 fix_srcfile_path=$lt_fix_srcfile_path
   11337 
   11338 # Set to yes if exported symbols are required.
   11339 always_export_symbols=$always_export_symbols
   11340 
   11341 # The commands to list exported symbols.
   11342 export_symbols_cmds=$lt_export_symbols_cmds
   11343 
   11344 # The commands to extract the exported symbol list from a shared archive.
   11345 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11346 
   11347 # Symbols that should not be listed in the preloaded symbols.
   11348 exclude_expsyms=$lt_exclude_expsyms
   11349 
   11350 # Symbols that must always be exported.
   11351 include_expsyms=$lt_include_expsyms
   11352 
   11353 # ### END LIBTOOL CONFIG
   11354 
   11355 __EOF__
   11356 
   11357 
   11358   case $host_os in
   11359   aix3*)
   11360     cat <<\EOF >> "$cfgfile"
   11361 
   11362 # AIX sometimes has problems with the GCC collect2 program.  For some
   11363 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11364 # vanish in a puff of smoke.
   11365 if test "X${COLLECT_NAMES+set}" != Xset; then
   11366   COLLECT_NAMES=
   11367   export COLLECT_NAMES
   11368 fi
   11369 EOF
   11370     ;;
   11371   esac
   11372 
   11373   # We use sed instead of cat because bash on DJGPP gets confused if
   11374   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11375   # text mode, it properly converts lines to CR/LF.  This bash problem
   11376   # is reportedly fixed, but why not run on old versions too?
   11377   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11378 
   11379   mv -f "$cfgfile" "$ofile" || \
   11380     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11381   chmod +x "$ofile"
   11382 
   11383 else
   11384   # If there is no Makefile yet, we rely on a make rule to execute
   11385   # `config.status --recheck' to rerun these tests and create the
   11386   # libtool script then.
   11387   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11388   if test -f "$ltmain_in"; then
   11389     test -f Makefile && make "$ltmain"
   11390   fi
   11391 fi
   11392 
   11393 
   11394 ac_ext=c
   11395 ac_cpp='$CPP $CPPFLAGS'
   11396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11399 
   11400 CC="$lt_save_CC"
   11401 
   11402 
   11403 # Check whether --with-tags was given.
   11404 if test "${with_tags+set}" = set; then
   11405   withval=$with_tags; tagnames="$withval"
   11406 fi
   11407 
   11408 
   11409 if test -f "$ltmain" && test -n "$tagnames"; then
   11410   if test ! -f "${ofile}"; then
   11411     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11412 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11413   fi
   11414 
   11415   if test -z "$LTCC"; then
   11416     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11417     if test -z "$LTCC"; then
   11418       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11419 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11420     else
   11421       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11422 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11423     fi
   11424   fi
   11425   if test -z "$LTCFLAGS"; then
   11426     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11427   fi
   11428 
   11429   # Extract list of available tagged configurations in $ofile.
   11430   # Note that this assumes the entire list is on one line.
   11431   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11432 
   11433   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11434   for tagname in $tagnames; do
   11435     IFS="$lt_save_ifs"
   11436     # Check whether tagname contains only valid characters
   11437     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11438     "") ;;
   11439     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11440 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11441    { (exit 1); exit 1; }; }
   11442 	;;
   11443     esac
   11444 
   11445     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11446     then
   11447       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11448 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11449    { (exit 1); exit 1; }; }
   11450     fi
   11451 
   11452     # Update the list of available tags.
   11453     if test -n "$tagname"; then
   11454       echo appending configuration tag \"$tagname\" to $ofile
   11455 
   11456       case $tagname in
   11457       CXX)
   11458 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11459 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11460 	    (test "X$CXX" != "Xg++"))) ; then
   11461 	  ac_ext=cpp
   11462 ac_cpp='$CXXCPP $CPPFLAGS'
   11463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11466 
   11467 
   11468 
   11469 
   11470 archive_cmds_need_lc_CXX=no
   11471 allow_undefined_flag_CXX=
   11472 always_export_symbols_CXX=no
   11473 archive_expsym_cmds_CXX=
   11474 export_dynamic_flag_spec_CXX=
   11475 hardcode_direct_CXX=no
   11476 hardcode_libdir_flag_spec_CXX=
   11477 hardcode_libdir_flag_spec_ld_CXX=
   11478 hardcode_libdir_separator_CXX=
   11479 hardcode_minus_L_CXX=no
   11480 hardcode_shlibpath_var_CXX=unsupported
   11481 hardcode_automatic_CXX=no
   11482 module_cmds_CXX=
   11483 module_expsym_cmds_CXX=
   11484 link_all_deplibs_CXX=unknown
   11485 old_archive_cmds_CXX=$old_archive_cmds
   11486 no_undefined_flag_CXX=
   11487 whole_archive_flag_spec_CXX=
   11488 enable_shared_with_static_runtimes_CXX=no
   11489 
   11490 # Dependencies to place before and after the object being linked:
   11491 predep_objects_CXX=
   11492 postdep_objects_CXX=
   11493 predeps_CXX=
   11494 postdeps_CXX=
   11495 compiler_lib_search_path_CXX=
   11496 compiler_lib_search_dirs_CXX=
   11497 
   11498 # Source file extension for C++ test sources.
   11499 ac_ext=cpp
   11500 
   11501 # Object file extension for compiled C++ test sources.
   11502 objext=o
   11503 objext_CXX=$objext
   11504 
   11505 # Code to be used in simple compile tests
   11506 lt_simple_compile_test_code="int some_variable = 0;"
   11507 
   11508 # Code to be used in simple link tests
   11509 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11510 
   11511 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11512 
   11513 # If no C compiler was specified, use CC.
   11514 LTCC=${LTCC-"$CC"}
   11515 
   11516 # If no C compiler flags were specified, use CFLAGS.
   11517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11518 
   11519 # Allow CC to be a program name with arguments.
   11520 compiler=$CC
   11521 
   11522 
   11523 # save warnings/boilerplate of simple test code
   11524 ac_outfile=conftest.$ac_objext
   11525 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11526 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11527 _lt_compiler_boilerplate=`cat conftest.err`
   11528 $rm conftest*
   11529 
   11530 ac_outfile=conftest.$ac_objext
   11531 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11532 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11533 _lt_linker_boilerplate=`cat conftest.err`
   11534 $rm -r conftest*
   11535 
   11536 
   11537 # Allow CC to be a program name with arguments.
   11538 lt_save_CC=$CC
   11539 lt_save_LD=$LD
   11540 lt_save_GCC=$GCC
   11541 GCC=$GXX
   11542 lt_save_with_gnu_ld=$with_gnu_ld
   11543 lt_save_path_LD=$lt_cv_path_LD
   11544 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11545   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11546 else
   11547   $as_unset lt_cv_prog_gnu_ld
   11548 fi
   11549 if test -n "${lt_cv_path_LDCXX+set}"; then
   11550   lt_cv_path_LD=$lt_cv_path_LDCXX
   11551 else
   11552   $as_unset lt_cv_path_LD
   11553 fi
   11554 test -z "${LDCXX+set}" || LD=$LDCXX
   11555 CC=${CXX-"c++"}
   11556 compiler=$CC
   11557 compiler_CXX=$CC
   11558 for cc_temp in $compiler""; do
   11559   case $cc_temp in
   11560     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11561     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11562     \-*) ;;
   11563     *) break;;
   11564   esac
   11565 done
   11566 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11567 
   11568 
   11569 # We don't want -fno-exception wen compiling C++ code, so set the
   11570 # no_builtin_flag separately
   11571 if test "$GXX" = yes; then
   11572   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11573 else
   11574   lt_prog_compiler_no_builtin_flag_CXX=
   11575 fi
   11576 
   11577 if test "$GXX" = yes; then
   11578   # Set up default GNU C++ configuration
   11579 
   11580 
   11581 # Check whether --with-gnu-ld was given.
   11582 if test "${with_gnu_ld+set}" = set; then
   11583   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11584 else
   11585   with_gnu_ld=no
   11586 fi
   11587 
   11588 ac_prog=ld
   11589 if test "$GCC" = yes; then
   11590   # Check if gcc -print-prog-name=ld gives a path.
   11591   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11592 $as_echo_n "checking for ld used by $CC... " >&6; }
   11593   case $host in
   11594   *-*-mingw*)
   11595     # gcc leaves a trailing carriage return which upsets mingw
   11596     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11597   *)
   11598     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11599   esac
   11600   case $ac_prog in
   11601     # Accept absolute paths.
   11602     [\\/]* | ?:[\\/]*)
   11603       re_direlt='/[^/][^/]*/\.\./'
   11604       # Canonicalize the pathname of ld
   11605       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11606       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11607 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11608       done
   11609       test -z "$LD" && LD="$ac_prog"
   11610       ;;
   11611   "")
   11612     # If it fails, then pretend we aren't using GCC.
   11613     ac_prog=ld
   11614     ;;
   11615   *)
   11616     # If it is relative, then search for the first ld in PATH.
   11617     with_gnu_ld=unknown
   11618     ;;
   11619   esac
   11620 elif test "$with_gnu_ld" = yes; then
   11621   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11622 $as_echo_n "checking for GNU ld... " >&6; }
   11623 else
   11624   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11625 $as_echo_n "checking for non-GNU ld... " >&6; }
   11626 fi
   11627 if test "${lt_cv_path_LD+set}" = set; then
   11628   $as_echo_n "(cached) " >&6
   11629 else
   11630   if test -z "$LD"; then
   11631   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11632   for ac_dir in $PATH; do
   11633     IFS="$lt_save_ifs"
   11634     test -z "$ac_dir" && ac_dir=.
   11635     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11636       lt_cv_path_LD="$ac_dir/$ac_prog"
   11637       # Check to see if the program is GNU ld.  I'd rather use --version,
   11638       # but apparently some variants of GNU ld only accept -v.
   11639       # Break only if it was the GNU/non-GNU ld that we prefer.
   11640       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11641       *GNU* | *'with BFD'*)
   11642 	test "$with_gnu_ld" != no && break
   11643 	;;
   11644       *)
   11645 	test "$with_gnu_ld" != yes && break
   11646 	;;
   11647       esac
   11648     fi
   11649   done
   11650   IFS="$lt_save_ifs"
   11651 else
   11652   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11653 fi
   11654 fi
   11655 
   11656 LD="$lt_cv_path_LD"
   11657 if test -n "$LD"; then
   11658   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11659 $as_echo "$LD" >&6; }
   11660 else
   11661   { $as_echo "$as_me:$LINENO: result: no" >&5
   11662 $as_echo "no" >&6; }
   11663 fi
   11664 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11665 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11666    { (exit 1); exit 1; }; }
   11667 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11668 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11669 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11670   $as_echo_n "(cached) " >&6
   11671 else
   11672   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11673 case `$LD -v 2>&1 </dev/null` in
   11674 *GNU* | *'with BFD'*)
   11675   lt_cv_prog_gnu_ld=yes
   11676   ;;
   11677 *)
   11678   lt_cv_prog_gnu_ld=no
   11679   ;;
   11680 esac
   11681 fi
   11682 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11683 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11684 with_gnu_ld=$lt_cv_prog_gnu_ld
   11685 
   11686 
   11687 
   11688   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11689   # archiving commands below assume that GNU ld is being used.
   11690   if test "$with_gnu_ld" = yes; then
   11691     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11692     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11693 
   11694     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11695     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11696 
   11697     # If archive_cmds runs LD, not CC, wlarc should be empty
   11698     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11699     #     investigate it a little bit more. (MM)
   11700     wlarc='${wl}'
   11701 
   11702     # ancient GNU ld didn't support --whole-archive et. al.
   11703     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11704 	grep 'no-whole-archive' > /dev/null; then
   11705       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11706     else
   11707       whole_archive_flag_spec_CXX=
   11708     fi
   11709   else
   11710     with_gnu_ld=no
   11711     wlarc=
   11712 
   11713     # A generic and very simple default shared library creation
   11714     # command for GNU C++ for the case where it uses the native
   11715     # linker, instead of GNU ld.  If possible, this setting should
   11716     # overridden to take advantage of the native linker features on
   11717     # the platform it is being used on.
   11718     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11719   fi
   11720 
   11721   # Commands to make compiler produce verbose output that lists
   11722   # what "hidden" libraries, object files and flags are used when
   11723   # linking a shared library.
   11724   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11725 
   11726 else
   11727   GXX=no
   11728   with_gnu_ld=no
   11729   wlarc=
   11730 fi
   11731 
   11732 # PORTME: fill in a description of your system's C++ link characteristics
   11733 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11734 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11735 ld_shlibs_CXX=yes
   11736 case $host_os in
   11737   aix3*)
   11738     # FIXME: insert proper C++ library support
   11739     ld_shlibs_CXX=no
   11740     ;;
   11741   aix[4-9]*)
   11742     if test "$host_cpu" = ia64; then
   11743       # On IA64, the linker does run time linking by default, so we don't
   11744       # have to do anything special.
   11745       aix_use_runtimelinking=no
   11746       exp_sym_flag='-Bexport'
   11747       no_entry_flag=""
   11748     else
   11749       aix_use_runtimelinking=no
   11750 
   11751       # Test if we are trying to use run time linking or normal
   11752       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11753       # need to do runtime linking.
   11754       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11755 	for ld_flag in $LDFLAGS; do
   11756 	  case $ld_flag in
   11757 	  *-brtl*)
   11758 	    aix_use_runtimelinking=yes
   11759 	    break
   11760 	    ;;
   11761 	  esac
   11762 	done
   11763 	;;
   11764       esac
   11765 
   11766       exp_sym_flag='-bexport'
   11767       no_entry_flag='-bnoentry'
   11768     fi
   11769 
   11770     # When large executables or shared objects are built, AIX ld can
   11771     # have problems creating the table of contents.  If linking a library
   11772     # or program results in "error TOC overflow" add -mminimal-toc to
   11773     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11774     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11775 
   11776     archive_cmds_CXX=''
   11777     hardcode_direct_CXX=yes
   11778     hardcode_libdir_separator_CXX=':'
   11779     link_all_deplibs_CXX=yes
   11780 
   11781     if test "$GXX" = yes; then
   11782       case $host_os in aix4.[012]|aix4.[012].*)
   11783       # We only want to do this on AIX 4.2 and lower, the check
   11784       # below for broken collect2 doesn't work under 4.3+
   11785 	collect2name=`${CC} -print-prog-name=collect2`
   11786 	if test -f "$collect2name" && \
   11787 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11788 	then
   11789 	  # We have reworked collect2
   11790 	  :
   11791 	else
   11792 	  # We have old collect2
   11793 	  hardcode_direct_CXX=unsupported
   11794 	  # It fails to find uninstalled libraries when the uninstalled
   11795 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11796 	  # to unsupported forces relinking
   11797 	  hardcode_minus_L_CXX=yes
   11798 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11799 	  hardcode_libdir_separator_CXX=
   11800 	fi
   11801 	;;
   11802       esac
   11803       shared_flag='-shared'
   11804       if test "$aix_use_runtimelinking" = yes; then
   11805 	shared_flag="$shared_flag "'${wl}-G'
   11806       fi
   11807     else
   11808       # not using gcc
   11809       if test "$host_cpu" = ia64; then
   11810 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11811 	# chokes on -Wl,-G. The following line is correct:
   11812 	shared_flag='-G'
   11813       else
   11814 	if test "$aix_use_runtimelinking" = yes; then
   11815 	  shared_flag='${wl}-G'
   11816 	else
   11817 	  shared_flag='${wl}-bM:SRE'
   11818 	fi
   11819       fi
   11820     fi
   11821 
   11822     # It seems that -bexpall does not export symbols beginning with
   11823     # underscore (_), so it is better to generate a list of symbols to export.
   11824     always_export_symbols_CXX=yes
   11825     if test "$aix_use_runtimelinking" = yes; then
   11826       # Warning - without using the other runtime loading flags (-brtl),
   11827       # -berok will link without error, but may produce a broken library.
   11828       allow_undefined_flag_CXX='-berok'
   11829       # Determine the default libpath from the value encoded in an empty executable.
   11830       cat >conftest.$ac_ext <<_ACEOF
   11831 /* confdefs.h.  */
   11832 _ACEOF
   11833 cat confdefs.h >>conftest.$ac_ext
   11834 cat >>conftest.$ac_ext <<_ACEOF
   11835 /* end confdefs.h.  */
   11836 
   11837 int
   11838 main ()
   11839 {
   11840 
   11841   ;
   11842   return 0;
   11843 }
   11844 _ACEOF
   11845 rm -f conftest.$ac_objext conftest$ac_exeext
   11846 if { (ac_try="$ac_link"
   11847 case "(($ac_try" in
   11848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11849   *) ac_try_echo=$ac_try;;
   11850 esac
   11851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11852 $as_echo "$ac_try_echo") >&5
   11853   (eval "$ac_link") 2>conftest.er1
   11854   ac_status=$?
   11855   grep -v '^ *+' conftest.er1 >conftest.err
   11856   rm -f conftest.er1
   11857   cat conftest.err >&5
   11858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11859   (exit $ac_status); } && {
   11860 	 test -z "$ac_cxx_werror_flag" ||
   11861 	 test ! -s conftest.err
   11862        } && test -s conftest$ac_exeext && {
   11863 	 test "$cross_compiling" = yes ||
   11864 	 $as_test_x conftest$ac_exeext
   11865        }; then
   11866 
   11867 lt_aix_libpath_sed='
   11868     /Import File Strings/,/^$/ {
   11869 	/^0/ {
   11870 	    s/^0  *\(.*\)$/\1/
   11871 	    p
   11872 	}
   11873     }'
   11874 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11875 # Check for a 64-bit object if we didn't find anything.
   11876 if test -z "$aix_libpath"; then
   11877   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11878 fi
   11879 else
   11880   $as_echo "$as_me: failed program was:" >&5
   11881 sed 's/^/| /' conftest.$ac_ext >&5
   11882 
   11883 
   11884 fi
   11885 
   11886 rm -rf conftest.dSYM
   11887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11888       conftest$ac_exeext conftest.$ac_ext
   11889 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11890 
   11891       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11892 
   11893       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   11894      else
   11895       if test "$host_cpu" = ia64; then
   11896 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11897 	allow_undefined_flag_CXX="-z nodefs"
   11898 	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"
   11899       else
   11900 	# Determine the default libpath from the value encoded in an empty executable.
   11901 	cat >conftest.$ac_ext <<_ACEOF
   11902 /* confdefs.h.  */
   11903 _ACEOF
   11904 cat confdefs.h >>conftest.$ac_ext
   11905 cat >>conftest.$ac_ext <<_ACEOF
   11906 /* end confdefs.h.  */
   11907 
   11908 int
   11909 main ()
   11910 {
   11911 
   11912   ;
   11913   return 0;
   11914 }
   11915 _ACEOF
   11916 rm -f conftest.$ac_objext conftest$ac_exeext
   11917 if { (ac_try="$ac_link"
   11918 case "(($ac_try" in
   11919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11920   *) ac_try_echo=$ac_try;;
   11921 esac
   11922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11923 $as_echo "$ac_try_echo") >&5
   11924   (eval "$ac_link") 2>conftest.er1
   11925   ac_status=$?
   11926   grep -v '^ *+' conftest.er1 >conftest.err
   11927   rm -f conftest.er1
   11928   cat conftest.err >&5
   11929   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11930   (exit $ac_status); } && {
   11931 	 test -z "$ac_cxx_werror_flag" ||
   11932 	 test ! -s conftest.err
   11933        } && test -s conftest$ac_exeext && {
   11934 	 test "$cross_compiling" = yes ||
   11935 	 $as_test_x conftest$ac_exeext
   11936        }; then
   11937 
   11938 lt_aix_libpath_sed='
   11939     /Import File Strings/,/^$/ {
   11940 	/^0/ {
   11941 	    s/^0  *\(.*\)$/\1/
   11942 	    p
   11943 	}
   11944     }'
   11945 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11946 # Check for a 64-bit object if we didn't find anything.
   11947 if test -z "$aix_libpath"; then
   11948   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11949 fi
   11950 else
   11951   $as_echo "$as_me: failed program was:" >&5
   11952 sed 's/^/| /' conftest.$ac_ext >&5
   11953 
   11954 
   11955 fi
   11956 
   11957 rm -rf conftest.dSYM
   11958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11959       conftest$ac_exeext conftest.$ac_ext
   11960 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11961 
   11962 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11963 	# Warning - without using the other run time loading flags,
   11964 	# -berok will link without error, but may produce a broken library.
   11965 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11966 	allow_undefined_flag_CXX=' ${wl}-berok'
   11967 	# Exported symbols can be pulled into shared objects from archives
   11968 	whole_archive_flag_spec_CXX='$convenience'
   11969 	archive_cmds_need_lc_CXX=yes
   11970 	# This is similar to how AIX traditionally builds its shared libraries.
   11971 	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   11972       fi
   11973     fi
   11974     ;;
   11975 
   11976   beos*)
   11977     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11978       allow_undefined_flag_CXX=unsupported
   11979       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11980       # support --undefined.  This deserves some investigation.  FIXME
   11981       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11982     else
   11983       ld_shlibs_CXX=no
   11984     fi
   11985     ;;
   11986 
   11987   chorus*)
   11988     case $cc_basename in
   11989       *)
   11990 	# FIXME: insert proper C++ library support
   11991 	ld_shlibs_CXX=no
   11992 	;;
   11993     esac
   11994     ;;
   11995 
   11996   cygwin* | mingw* | pw32*)
   11997     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11998     # as there is no search path for DLLs.
   11999     hardcode_libdir_flag_spec_CXX='-L$libdir'
   12000     allow_undefined_flag_CXX=unsupported
   12001     always_export_symbols_CXX=no
   12002     enable_shared_with_static_runtimes_CXX=yes
   12003 
   12004     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   12005       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'
   12006       # If the export-symbols file already is a .def file (1st line
   12007       # is EXPORTS), use it as is; otherwise, prepend...
   12008       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   12009 	cp $export_symbols $output_objdir/$soname.def;
   12010       else
   12011 	echo EXPORTS > $output_objdir/$soname.def;
   12012 	cat $export_symbols >> $output_objdir/$soname.def;
   12013       fi~
   12014       $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'
   12015     else
   12016       ld_shlibs_CXX=no
   12017     fi
   12018   ;;
   12019       darwin* | rhapsody*)
   12020       archive_cmds_need_lc_CXX=no
   12021       hardcode_direct_CXX=no
   12022       hardcode_automatic_CXX=yes
   12023       hardcode_shlibpath_var_CXX=unsupported
   12024       whole_archive_flag_spec_CXX=''
   12025       link_all_deplibs_CXX=yes
   12026       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   12027       if test "$GXX" = yes ; then
   12028       output_verbose_link_cmd='echo'
   12029       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}"
   12030       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   12031       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}"
   12032       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}"
   12033       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   12034         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}"
   12035         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}"
   12036       fi
   12037       else
   12038       case $cc_basename in
   12039         xlc*)
   12040          output_verbose_link_cmd='echo'
   12041           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   12042           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   12043           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   12044           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   12045           module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   12046           ;;
   12047        *)
   12048          ld_shlibs_CXX=no
   12049           ;;
   12050       esac
   12051       fi
   12052         ;;
   12053 
   12054   dgux*)
   12055     case $cc_basename in
   12056       ec++*)
   12057 	# FIXME: insert proper C++ library support
   12058 	ld_shlibs_CXX=no
   12059 	;;
   12060       ghcx*)
   12061 	# Green Hills C++ Compiler
   12062 	# FIXME: insert proper C++ library support
   12063 	ld_shlibs_CXX=no
   12064 	;;
   12065       *)
   12066 	# FIXME: insert proper C++ library support
   12067 	ld_shlibs_CXX=no
   12068 	;;
   12069     esac
   12070     ;;
   12071   freebsd[12]*)
   12072     # C++ shared libraries reported to be fairly broken before switch to ELF
   12073     ld_shlibs_CXX=no
   12074     ;;
   12075   freebsd-elf*)
   12076     archive_cmds_need_lc_CXX=no
   12077     ;;
   12078   freebsd* | dragonfly*)
   12079     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   12080     # conventions
   12081     ld_shlibs_CXX=yes
   12082     ;;
   12083   gnu*)
   12084     ;;
   12085   hpux9*)
   12086     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12087     hardcode_libdir_separator_CXX=:
   12088     export_dynamic_flag_spec_CXX='${wl}-E'
   12089     hardcode_direct_CXX=yes
   12090     hardcode_minus_L_CXX=yes # Not in the search PATH,
   12091 				# but as the default
   12092 				# location of the library.
   12093 
   12094     case $cc_basename in
   12095     CC*)
   12096       # FIXME: insert proper C++ library support
   12097       ld_shlibs_CXX=no
   12098       ;;
   12099     aCC*)
   12100       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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   12101       # Commands to make compiler produce verbose output that lists
   12102       # what "hidden" libraries, object files and flags are used when
   12103       # linking a shared library.
   12104       #
   12105       # There doesn't appear to be a way to prevent this compiler from
   12106       # explicitly linking system object files so we need to strip them
   12107       # from the output so that they don't get included in the library
   12108       # dependencies.
   12109       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; echo $list'
   12110       ;;
   12111     *)
   12112       if test "$GXX" = yes; then
   12113         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   12114       else
   12115         # FIXME: insert proper C++ library support
   12116         ld_shlibs_CXX=no
   12117       fi
   12118       ;;
   12119     esac
   12120     ;;
   12121   hpux10*|hpux11*)
   12122     if test $with_gnu_ld = no; then
   12123       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12124       hardcode_libdir_separator_CXX=:
   12125 
   12126       case $host_cpu in
   12127       hppa*64*|ia64*) ;;
   12128       *)
   12129 	export_dynamic_flag_spec_CXX='${wl}-E'
   12130         ;;
   12131       esac
   12132     fi
   12133     case $host_cpu in
   12134     hppa*64*|ia64*)
   12135       hardcode_direct_CXX=no
   12136       hardcode_shlibpath_var_CXX=no
   12137       ;;
   12138     *)
   12139       hardcode_direct_CXX=yes
   12140       hardcode_minus_L_CXX=yes # Not in the search PATH,
   12141 					      # but as the default
   12142 					      # location of the library.
   12143       ;;
   12144     esac
   12145 
   12146     case $cc_basename in
   12147       CC*)
   12148 	# FIXME: insert proper C++ library support
   12149 	ld_shlibs_CXX=no
   12150 	;;
   12151       aCC*)
   12152 	case $host_cpu in
   12153 	hppa*64*)
   12154 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12155 	  ;;
   12156 	ia64*)
   12157 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12158 	  ;;
   12159 	*)
   12160 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12161 	  ;;
   12162 	esac
   12163 	# Commands to make compiler produce verbose output that lists
   12164 	# what "hidden" libraries, object files and flags are used when
   12165 	# linking a shared library.
   12166 	#
   12167 	# There doesn't appear to be a way to prevent this compiler from
   12168 	# explicitly linking system object files so we need to strip them
   12169 	# from the output so that they don't get included in the library
   12170 	# dependencies.
   12171 	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; echo $list'
   12172 	;;
   12173       *)
   12174 	if test "$GXX" = yes; then
   12175 	  if test $with_gnu_ld = no; then
   12176 	    case $host_cpu in
   12177 	    hppa*64*)
   12178 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12179 	      ;;
   12180 	    ia64*)
   12181 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12182 	      ;;
   12183 	    *)
   12184 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12185 	      ;;
   12186 	    esac
   12187 	  fi
   12188 	else
   12189 	  # FIXME: insert proper C++ library support
   12190 	  ld_shlibs_CXX=no
   12191 	fi
   12192 	;;
   12193     esac
   12194     ;;
   12195   interix[3-9]*)
   12196     hardcode_direct_CXX=no
   12197     hardcode_shlibpath_var_CXX=no
   12198     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12199     export_dynamic_flag_spec_CXX='${wl}-E'
   12200     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12201     # Instead, shared libraries are loaded at an image base (0x10000000 by
   12202     # default) and relocated if they conflict, which is a slow very memory
   12203     # consuming and fragmenting process.  To avoid this, we pick a random,
   12204     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12205     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12206     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'
   12207     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'
   12208     ;;
   12209   irix5* | irix6*)
   12210     case $cc_basename in
   12211       CC*)
   12212 	# SGI C++
   12213 	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12214 
   12215 	# Archives containing C++ object files must be created using
   12216 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12217 	# necessary to make sure instantiated templates are included
   12218 	# in the archive.
   12219 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12220 	;;
   12221       *)
   12222 	if test "$GXX" = yes; then
   12223 	  if test "$with_gnu_ld" = no; then
   12224 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12225 	  else
   12226 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
   12227 	  fi
   12228 	fi
   12229 	link_all_deplibs_CXX=yes
   12230 	;;
   12231     esac
   12232     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12233     hardcode_libdir_separator_CXX=:
   12234     ;;
   12235   linux* | k*bsd*-gnu)
   12236     case $cc_basename in
   12237       KCC*)
   12238 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12239 
   12240 	# KCC will only create a shared library if the output file
   12241 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12242 	# to its proper name (with version) after linking.
   12243 	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'
   12244 	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'
   12245 	# Commands to make compiler produce verbose output that lists
   12246 	# what "hidden" libraries, object files and flags are used when
   12247 	# linking a shared library.
   12248 	#
   12249 	# There doesn't appear to be a way to prevent this compiler from
   12250 	# explicitly linking system object files so we need to strip them
   12251 	# from the output so that they don't get included in the library
   12252 	# dependencies.
   12253 	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; echo $list'
   12254 
   12255 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12256 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12257 
   12258 	# Archives containing C++ object files must be created using
   12259 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12260 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12261 	;;
   12262       icpc*)
   12263 	# Intel C++
   12264 	with_gnu_ld=yes
   12265 	# version 8.0 and above of icpc choke on multiply defined symbols
   12266 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12267 	# earlier do not add the objects themselves.
   12268 	case `$CC -V 2>&1` in
   12269 	*"Version 7."*)
   12270   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12271   	  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'
   12272 	  ;;
   12273 	*)  # Version 8.0 or newer
   12274 	  tmp_idyn=
   12275 	  case $host_cpu in
   12276 	    ia64*) tmp_idyn=' -i_dynamic';;
   12277 	  esac
   12278   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12279 	  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'
   12280 	  ;;
   12281 	esac
   12282 	archive_cmds_need_lc_CXX=no
   12283 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12284 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12285 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12286 	;;
   12287       pgCC* | pgcpp*)
   12288         # Portland Group C++ compiler
   12289 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12290   	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'
   12291 
   12292 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12293 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12294 	whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12295         ;;
   12296       cxx*)
   12297 	# Compaq C++
   12298 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12299 	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'
   12300 
   12301 	runpath_var=LD_RUN_PATH
   12302 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12303 	hardcode_libdir_separator_CXX=:
   12304 
   12305 	# Commands to make compiler produce verbose output that lists
   12306 	# what "hidden" libraries, object files and flags are used when
   12307 	# linking a shared library.
   12308 	#
   12309 	# There doesn't appear to be a way to prevent this compiler from
   12310 	# explicitly linking system object files so we need to strip them
   12311 	# from the output so that they don't get included in the library
   12312 	# dependencies.
   12313 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'
   12314 	;;
   12315       *)
   12316 	case `$CC -V 2>&1 | sed 5q` in
   12317 	*Sun\ C*)
   12318 	  # Sun C++ 5.9
   12319 	  no_undefined_flag_CXX=' -zdefs'
   12320 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12321 	  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'
   12322 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12323 	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12324 
   12325 	  # Not sure whether something based on
   12326 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12327 	  # would be better.
   12328 	  output_verbose_link_cmd='echo'
   12329 
   12330 	  # Archives containing C++ object files must be created using
   12331 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12332 	  # necessary to make sure instantiated templates are included
   12333 	  # in the archive.
   12334 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12335 	  ;;
   12336 	esac
   12337 	;;
   12338     esac
   12339     ;;
   12340   lynxos*)
   12341     # FIXME: insert proper C++ library support
   12342     ld_shlibs_CXX=no
   12343     ;;
   12344   m88k*)
   12345     # FIXME: insert proper C++ library support
   12346     ld_shlibs_CXX=no
   12347     ;;
   12348   mvs*)
   12349     case $cc_basename in
   12350       cxx*)
   12351 	# FIXME: insert proper C++ library support
   12352 	ld_shlibs_CXX=no
   12353 	;;
   12354       *)
   12355 	# FIXME: insert proper C++ library support
   12356 	ld_shlibs_CXX=no
   12357 	;;
   12358     esac
   12359     ;;
   12360   netbsd*)
   12361     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12362       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12363       wlarc=
   12364       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12365       hardcode_direct_CXX=yes
   12366       hardcode_shlibpath_var_CXX=no
   12367     fi
   12368     # Workaround some broken pre-1.5 toolchains
   12369     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12370     ;;
   12371   openbsd2*)
   12372     # C++ shared libraries are fairly broken
   12373     ld_shlibs_CXX=no
   12374     ;;
   12375   openbsd*)
   12376     if test -f /usr/libexec/ld.so; then
   12377       hardcode_direct_CXX=yes
   12378       hardcode_shlibpath_var_CXX=no
   12379       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12380       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12381       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12382 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12383 	export_dynamic_flag_spec_CXX='${wl}-E'
   12384 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12385       fi
   12386       output_verbose_link_cmd='echo'
   12387     else
   12388       ld_shlibs_CXX=no
   12389     fi
   12390     ;;
   12391   osf3*)
   12392     case $cc_basename in
   12393       KCC*)
   12394 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12395 
   12396 	# KCC will only create a shared library if the output file
   12397 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12398 	# to its proper name (with version) after linking.
   12399 	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'
   12400 
   12401 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12402 	hardcode_libdir_separator_CXX=:
   12403 
   12404 	# Archives containing C++ object files must be created using
   12405 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12406 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12407 
   12408 	;;
   12409       RCC*)
   12410 	# Rational C++ 2.4.1
   12411 	# FIXME: insert proper C++ library support
   12412 	ld_shlibs_CXX=no
   12413 	;;
   12414       cxx*)
   12415 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12416 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12417 
   12418 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12419 	hardcode_libdir_separator_CXX=:
   12420 
   12421 	# Commands to make compiler produce verbose output that lists
   12422 	# what "hidden" libraries, object files and flags are used when
   12423 	# linking a shared library.
   12424 	#
   12425 	# There doesn't appear to be a way to prevent this compiler from
   12426 	# explicitly linking system object files so we need to strip them
   12427 	# from the output so that they don't get included in the library
   12428 	# dependencies.
   12429 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
   12430 	;;
   12431       *)
   12432 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12433 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12434 	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12435 
   12436 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12437 	  hardcode_libdir_separator_CXX=:
   12438 
   12439 	  # Commands to make compiler produce verbose output that lists
   12440 	  # what "hidden" libraries, object files and flags are used when
   12441 	  # linking a shared library.
   12442 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12443 
   12444 	else
   12445 	  # FIXME: insert proper C++ library support
   12446 	  ld_shlibs_CXX=no
   12447 	fi
   12448 	;;
   12449     esac
   12450     ;;
   12451   osf4* | osf5*)
   12452     case $cc_basename in
   12453       KCC*)
   12454 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12455 
   12456 	# KCC will only create a shared library if the output file
   12457 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12458 	# to its proper name (with version) after linking.
   12459 	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'
   12460 
   12461 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12462 	hardcode_libdir_separator_CXX=:
   12463 
   12464 	# Archives containing C++ object files must be created using
   12465 	# the KAI C++ compiler.
   12466 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12467 	;;
   12468       RCC*)
   12469 	# Rational C++ 2.4.1
   12470 	# FIXME: insert proper C++ library support
   12471 	ld_shlibs_CXX=no
   12472 	;;
   12473       cxx*)
   12474 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12475 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12476 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12477 	  echo "-hidden">> $lib.exp~
   12478 	  $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~
   12479 	  $rm $lib.exp'
   12480 
   12481 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12482 	hardcode_libdir_separator_CXX=:
   12483 
   12484 	# Commands to make compiler produce verbose output that lists
   12485 	# what "hidden" libraries, object files and flags are used when
   12486 	# linking a shared library.
   12487 	#
   12488 	# There doesn't appear to be a way to prevent this compiler from
   12489 	# explicitly linking system object files so we need to strip them
   12490 	# from the output so that they don't get included in the library
   12491 	# dependencies.
   12492 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
   12493 	;;
   12494       *)
   12495 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12496 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12497 	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12498 
   12499 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12500 	  hardcode_libdir_separator_CXX=:
   12501 
   12502 	  # Commands to make compiler produce verbose output that lists
   12503 	  # what "hidden" libraries, object files and flags are used when
   12504 	  # linking a shared library.
   12505 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12506 
   12507 	else
   12508 	  # FIXME: insert proper C++ library support
   12509 	  ld_shlibs_CXX=no
   12510 	fi
   12511 	;;
   12512     esac
   12513     ;;
   12514   psos*)
   12515     # FIXME: insert proper C++ library support
   12516     ld_shlibs_CXX=no
   12517     ;;
   12518   sunos4*)
   12519     case $cc_basename in
   12520       CC*)
   12521 	# Sun C++ 4.x
   12522 	# FIXME: insert proper C++ library support
   12523 	ld_shlibs_CXX=no
   12524 	;;
   12525       lcc*)
   12526 	# Lucid
   12527 	# FIXME: insert proper C++ library support
   12528 	ld_shlibs_CXX=no
   12529 	;;
   12530       *)
   12531 	# FIXME: insert proper C++ library support
   12532 	ld_shlibs_CXX=no
   12533 	;;
   12534     esac
   12535     ;;
   12536   solaris*)
   12537     case $cc_basename in
   12538       CC*)
   12539 	# Sun C++ 4.2, 5.x and Centerline C++
   12540         archive_cmds_need_lc_CXX=yes
   12541 	no_undefined_flag_CXX=' -zdefs'
   12542 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12543 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12544 	$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'
   12545 
   12546 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12547 	hardcode_shlibpath_var_CXX=no
   12548 	case $host_os in
   12549 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12550 	  *)
   12551 	    # The compiler driver will combine and reorder linker options,
   12552 	    # but understands `-z linker_flag'.
   12553 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12554 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12555 	    ;;
   12556 	esac
   12557 	link_all_deplibs_CXX=yes
   12558 
   12559 	output_verbose_link_cmd='echo'
   12560 
   12561 	# Archives containing C++ object files must be created using
   12562 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12563 	# necessary to make sure instantiated templates are included
   12564 	# in the archive.
   12565 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12566 	;;
   12567       gcx*)
   12568 	# Green Hills C++ Compiler
   12569 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12570 
   12571 	# The C++ compiler must be used to create the archive.
   12572 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12573 	;;
   12574       *)
   12575 	# GNU C++ compiler with Solaris linker
   12576 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12577 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12578 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12579 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12580 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12581 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12582 
   12583 	    # Commands to make compiler produce verbose output that lists
   12584 	    # what "hidden" libraries, object files and flags are used when
   12585 	    # linking a shared library.
   12586 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12587 	  else
   12588 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12589 	    # platform.
   12590 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12591 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12592 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12593 
   12594 	    # Commands to make compiler produce verbose output that lists
   12595 	    # what "hidden" libraries, object files and flags are used when
   12596 	    # linking a shared library.
   12597 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12598 	  fi
   12599 
   12600 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12601 	  case $host_os in
   12602 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12603 	  *)
   12604 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12605 	    ;;
   12606 	  esac
   12607 	fi
   12608 	;;
   12609     esac
   12610     ;;
   12611   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12612     no_undefined_flag_CXX='${wl}-z,text'
   12613     archive_cmds_need_lc_CXX=no
   12614     hardcode_shlibpath_var_CXX=no
   12615     runpath_var='LD_RUN_PATH'
   12616 
   12617     case $cc_basename in
   12618       CC*)
   12619 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12620 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12621 	;;
   12622       *)
   12623 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12624 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12625 	;;
   12626     esac
   12627     ;;
   12628   sysv5* | sco3.2v5* | sco5v6*)
   12629     # Note: We can NOT use -z defs as we might desire, because we do not
   12630     # link with -lc, and that would cause any symbols used from libc to
   12631     # always be unresolved, which means just about no library would
   12632     # ever link correctly.  If we're not using GNU ld we use -z text
   12633     # though, which does catch some bad symbols but isn't as heavy-handed
   12634     # as -z defs.
   12635     # For security reasons, it is highly recommended that you always
   12636     # use absolute paths for naming shared libraries, and exclude the
   12637     # DT_RUNPATH tag from executables and libraries.  But doing so
   12638     # requires that you compile everything twice, which is a pain.
   12639     # So that behaviour is only enabled if SCOABSPATH is set to a
   12640     # non-empty value in the environment.  Most likely only useful for
   12641     # creating official distributions of packages.
   12642     # This is a hack until libtool officially supports absolute path
   12643     # names for shared libraries.
   12644     no_undefined_flag_CXX='${wl}-z,text'
   12645     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12646     archive_cmds_need_lc_CXX=no
   12647     hardcode_shlibpath_var_CXX=no
   12648     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12649     hardcode_libdir_separator_CXX=':'
   12650     link_all_deplibs_CXX=yes
   12651     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12652     runpath_var='LD_RUN_PATH'
   12653 
   12654     case $cc_basename in
   12655       CC*)
   12656 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12657 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12658 	;;
   12659       *)
   12660 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12661 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12662 	;;
   12663     esac
   12664     ;;
   12665   tandem*)
   12666     case $cc_basename in
   12667       NCC*)
   12668 	# NonStop-UX NCC 3.20
   12669 	# FIXME: insert proper C++ library support
   12670 	ld_shlibs_CXX=no
   12671 	;;
   12672       *)
   12673 	# FIXME: insert proper C++ library support
   12674 	ld_shlibs_CXX=no
   12675 	;;
   12676     esac
   12677     ;;
   12678   vxworks*)
   12679     # FIXME: insert proper C++ library support
   12680     ld_shlibs_CXX=no
   12681     ;;
   12682   *)
   12683     # FIXME: insert proper C++ library support
   12684     ld_shlibs_CXX=no
   12685     ;;
   12686 esac
   12687 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12688 $as_echo "$ld_shlibs_CXX" >&6; }
   12689 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12690 
   12691 GCC_CXX="$GXX"
   12692 LD_CXX="$LD"
   12693 
   12694 cat > conftest.$ac_ext <<EOF
   12695 class Foo
   12696 {
   12697 public:
   12698   Foo (void) { a = 0; }
   12699 private:
   12700   int a;
   12701 };
   12702 EOF
   12703 
   12704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12705   (eval $ac_compile) 2>&5
   12706   ac_status=$?
   12707   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12708   (exit $ac_status); }; then
   12709   # Parse the compiler output and extract the necessary
   12710   # objects, libraries and library flags.
   12711 
   12712   # Sentinel used to keep track of whether or not we are before
   12713   # the conftest object file.
   12714   pre_test_object_deps_done=no
   12715 
   12716   # The `*' in the case matches for architectures that use `case' in
   12717   # $output_verbose_cmd can trigger glob expansion during the loop
   12718   # eval without this substitution.
   12719   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12720 
   12721   for p in `eval $output_verbose_link_cmd`; do
   12722     case $p in
   12723 
   12724     -L* | -R* | -l*)
   12725        # Some compilers place space between "-{L,R}" and the path.
   12726        # Remove the space.
   12727        if test $p = "-L" \
   12728 	  || test $p = "-R"; then
   12729 	 prev=$p
   12730 	 continue
   12731        else
   12732 	 prev=
   12733        fi
   12734 
   12735        if test "$pre_test_object_deps_done" = no; then
   12736 	 case $p in
   12737 	 -L* | -R*)
   12738 	   # Internal compiler library paths should come after those
   12739 	   # provided the user.  The postdeps already come after the
   12740 	   # user supplied libs so there is no need to process them.
   12741 	   if test -z "$compiler_lib_search_path_CXX"; then
   12742 	     compiler_lib_search_path_CXX="${prev}${p}"
   12743 	   else
   12744 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12745 	   fi
   12746 	   ;;
   12747 	 # The "-l" case would never come before the object being
   12748 	 # linked, so don't bother handling this case.
   12749 	 esac
   12750        else
   12751 	 if test -z "$postdeps_CXX"; then
   12752 	   postdeps_CXX="${prev}${p}"
   12753 	 else
   12754 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12755 	 fi
   12756        fi
   12757        ;;
   12758 
   12759     *.$objext)
   12760        # This assumes that the test object file only shows up
   12761        # once in the compiler output.
   12762        if test "$p" = "conftest.$objext"; then
   12763 	 pre_test_object_deps_done=yes
   12764 	 continue
   12765        fi
   12766 
   12767        if test "$pre_test_object_deps_done" = no; then
   12768 	 if test -z "$predep_objects_CXX"; then
   12769 	   predep_objects_CXX="$p"
   12770 	 else
   12771 	   predep_objects_CXX="$predep_objects_CXX $p"
   12772 	 fi
   12773        else
   12774 	 if test -z "$postdep_objects_CXX"; then
   12775 	   postdep_objects_CXX="$p"
   12776 	 else
   12777 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12778 	 fi
   12779        fi
   12780        ;;
   12781 
   12782     *) ;; # Ignore the rest.
   12783 
   12784     esac
   12785   done
   12786 
   12787   # Clean up.
   12788   rm -f a.out a.exe
   12789 else
   12790   echo "libtool.m4: error: problem compiling CXX test program"
   12791 fi
   12792 
   12793 $rm -f confest.$objext
   12794 
   12795 compiler_lib_search_dirs_CXX=
   12796 if test -n "$compiler_lib_search_path_CXX"; then
   12797   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12798 fi
   12799 
   12800 # PORTME: override above test on systems where it is broken
   12801 case $host_os in
   12802 interix[3-9]*)
   12803   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12804   # hack all around it, let's just trust "g++" to DTRT.
   12805   predep_objects_CXX=
   12806   postdep_objects_CXX=
   12807   postdeps_CXX=
   12808   ;;
   12809 
   12810 linux*)
   12811   case `$CC -V 2>&1 | sed 5q` in
   12812   *Sun\ C*)
   12813     # Sun C++ 5.9
   12814     #
   12815     # The more standards-conforming stlport4 library is
   12816     # incompatible with the Cstd library. Avoid specifying
   12817     # it if it's in CXXFLAGS. Ignore libCrun as
   12818     # -library=stlport4 depends on it.
   12819     case " $CXX $CXXFLAGS " in
   12820     *" -library=stlport4 "*)
   12821       solaris_use_stlport4=yes
   12822       ;;
   12823     esac
   12824     if test "$solaris_use_stlport4" != yes; then
   12825       postdeps_CXX='-library=Cstd -library=Crun'
   12826     fi
   12827     ;;
   12828   esac
   12829   ;;
   12830 
   12831 solaris*)
   12832   case $cc_basename in
   12833   CC*)
   12834     # The more standards-conforming stlport4 library is
   12835     # incompatible with the Cstd library. Avoid specifying
   12836     # it if it's in CXXFLAGS. Ignore libCrun as
   12837     # -library=stlport4 depends on it.
   12838     case " $CXX $CXXFLAGS " in
   12839     *" -library=stlport4 "*)
   12840       solaris_use_stlport4=yes
   12841       ;;
   12842     esac
   12843 
   12844     # Adding this requires a known-good setup of shared libraries for
   12845     # Sun compiler versions before 5.6, else PIC objects from an old
   12846     # archive will be linked into the output, leading to subtle bugs.
   12847     if test "$solaris_use_stlport4" != yes; then
   12848       postdeps_CXX='-library=Cstd -library=Crun'
   12849     fi
   12850     ;;
   12851   esac
   12852   ;;
   12853 esac
   12854 
   12855 case " $postdeps_CXX " in
   12856 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12857 esac
   12858 
   12859 lt_prog_compiler_wl_CXX=
   12860 lt_prog_compiler_pic_CXX=
   12861 lt_prog_compiler_static_CXX=
   12862 
   12863 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12864 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12865 
   12866   # C++ specific cases for pic, static, wl, etc.
   12867   if test "$GXX" = yes; then
   12868     lt_prog_compiler_wl_CXX='-Wl,'
   12869     lt_prog_compiler_static_CXX='-static'
   12870 
   12871     case $host_os in
   12872     aix*)
   12873       # All AIX code is PIC.
   12874       if test "$host_cpu" = ia64; then
   12875 	# AIX 5 now supports IA64 processor
   12876 	lt_prog_compiler_static_CXX='-Bstatic'
   12877       fi
   12878       ;;
   12879     amigaos*)
   12880       # FIXME: we need at least 68020 code to build shared libraries, but
   12881       # adding the `-m68020' flag to GCC prevents building anything better,
   12882       # like `-m68040'.
   12883       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12884       ;;
   12885     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12886       # PIC is the default for these OSes.
   12887       ;;
   12888     mingw* | cygwin* | os2* | pw32*)
   12889       # This hack is so that the source file can tell whether it is being
   12890       # built for inclusion in a dll (and should export symbols for example).
   12891       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12892       # (--disable-auto-import) libraries
   12893       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12894       ;;
   12895     darwin* | rhapsody*)
   12896       # PIC is the default on this platform
   12897       # Common symbols not allowed in MH_DYLIB files
   12898       lt_prog_compiler_pic_CXX='-fno-common'
   12899       ;;
   12900     *djgpp*)
   12901       # DJGPP does not support shared libraries at all
   12902       lt_prog_compiler_pic_CXX=
   12903       ;;
   12904     interix[3-9]*)
   12905       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12906       # Instead, we relocate shared libraries at runtime.
   12907       ;;
   12908     sysv4*MP*)
   12909       if test -d /usr/nec; then
   12910 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12911       fi
   12912       ;;
   12913     hpux*)
   12914       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12915       # not for PA HP-UX.
   12916       case $host_cpu in
   12917       hppa*64*|ia64*)
   12918 	;;
   12919       *)
   12920 	lt_prog_compiler_pic_CXX='-fPIC'
   12921 	;;
   12922       esac
   12923       ;;
   12924     *)
   12925       lt_prog_compiler_pic_CXX='-fPIC'
   12926       ;;
   12927     esac
   12928   else
   12929     case $host_os in
   12930       aix[4-9]*)
   12931 	# All AIX code is PIC.
   12932 	if test "$host_cpu" = ia64; then
   12933 	  # AIX 5 now supports IA64 processor
   12934 	  lt_prog_compiler_static_CXX='-Bstatic'
   12935 	else
   12936 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12937 	fi
   12938 	;;
   12939       chorus*)
   12940 	case $cc_basename in
   12941 	cxch68*)
   12942 	  # Green Hills C++ Compiler
   12943 	  # _LT_AC_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"
   12944 	  ;;
   12945 	esac
   12946 	;;
   12947        darwin*)
   12948          # PIC is the default on this platform
   12949          # Common symbols not allowed in MH_DYLIB files
   12950          case $cc_basename in
   12951            xlc*)
   12952            lt_prog_compiler_pic_CXX='-qnocommon'
   12953            lt_prog_compiler_wl_CXX='-Wl,'
   12954            ;;
   12955          esac
   12956        ;;
   12957       dgux*)
   12958 	case $cc_basename in
   12959 	  ec++*)
   12960 	    lt_prog_compiler_pic_CXX='-KPIC'
   12961 	    ;;
   12962 	  ghcx*)
   12963 	    # Green Hills C++ Compiler
   12964 	    lt_prog_compiler_pic_CXX='-pic'
   12965 	    ;;
   12966 	  *)
   12967 	    ;;
   12968 	esac
   12969 	;;
   12970       freebsd* | dragonfly*)
   12971 	# FreeBSD uses GNU C++
   12972 	;;
   12973       hpux9* | hpux10* | hpux11*)
   12974 	case $cc_basename in
   12975 	  CC*)
   12976 	    lt_prog_compiler_wl_CXX='-Wl,'
   12977 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12978 	    if test "$host_cpu" != ia64; then
   12979 	      lt_prog_compiler_pic_CXX='+Z'
   12980 	    fi
   12981 	    ;;
   12982 	  aCC*)
   12983 	    lt_prog_compiler_wl_CXX='-Wl,'
   12984 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12985 	    case $host_cpu in
   12986 	    hppa*64*|ia64*)
   12987 	      # +Z the default
   12988 	      ;;
   12989 	    *)
   12990 	      lt_prog_compiler_pic_CXX='+Z'
   12991 	      ;;
   12992 	    esac
   12993 	    ;;
   12994 	  *)
   12995 	    ;;
   12996 	esac
   12997 	;;
   12998       interix*)
   12999 	# This is c89, which is MS Visual C++ (no shared libs)
   13000 	# Anyone wants to do a port?
   13001 	;;
   13002       irix5* | irix6* | nonstopux*)
   13003 	case $cc_basename in
   13004 	  CC*)
   13005 	    lt_prog_compiler_wl_CXX='-Wl,'
   13006 	    lt_prog_compiler_static_CXX='-non_shared'
   13007 	    # CC pic flag -KPIC is the default.
   13008 	    ;;
   13009 	  *)
   13010 	    ;;
   13011 	esac
   13012 	;;
   13013       linux* | k*bsd*-gnu)
   13014 	case $cc_basename in
   13015 	  KCC*)
   13016 	    # KAI C++ Compiler
   13017 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13018 	    lt_prog_compiler_pic_CXX='-fPIC'
   13019 	    ;;
   13020 	  icpc* | ecpc*)
   13021 	    # Intel C++
   13022 	    lt_prog_compiler_wl_CXX='-Wl,'
   13023 	    lt_prog_compiler_pic_CXX='-KPIC'
   13024 	    lt_prog_compiler_static_CXX='-static'
   13025 	    ;;
   13026 	  pgCC* | pgcpp*)
   13027 	    # Portland Group C++ compiler.
   13028 	    lt_prog_compiler_wl_CXX='-Wl,'
   13029 	    lt_prog_compiler_pic_CXX='-fpic'
   13030 	    lt_prog_compiler_static_CXX='-Bstatic'
   13031 	    ;;
   13032 	  cxx*)
   13033 	    # Compaq C++
   13034 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13035 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13036 	    lt_prog_compiler_pic_CXX=
   13037 	    lt_prog_compiler_static_CXX='-non_shared'
   13038 	    ;;
   13039 	  *)
   13040 	    case `$CC -V 2>&1 | sed 5q` in
   13041 	    *Sun\ C*)
   13042 	      # Sun C++ 5.9
   13043 	      lt_prog_compiler_pic_CXX='-KPIC'
   13044 	      lt_prog_compiler_static_CXX='-Bstatic'
   13045 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   13046 	      ;;
   13047 	    esac
   13048 	    ;;
   13049 	esac
   13050 	;;
   13051       lynxos*)
   13052 	;;
   13053       m88k*)
   13054 	;;
   13055       mvs*)
   13056 	case $cc_basename in
   13057 	  cxx*)
   13058 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   13059 	    ;;
   13060 	  *)
   13061 	    ;;
   13062 	esac
   13063 	;;
   13064       netbsd*)
   13065 	;;
   13066       osf3* | osf4* | osf5*)
   13067 	case $cc_basename in
   13068 	  KCC*)
   13069 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13070 	    ;;
   13071 	  RCC*)
   13072 	    # Rational C++ 2.4.1
   13073 	    lt_prog_compiler_pic_CXX='-pic'
   13074 	    ;;
   13075 	  cxx*)
   13076 	    # Digital/Compaq C++
   13077 	    lt_prog_compiler_wl_CXX='-Wl,'
   13078 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13079 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13080 	    lt_prog_compiler_pic_CXX=
   13081 	    lt_prog_compiler_static_CXX='-non_shared'
   13082 	    ;;
   13083 	  *)
   13084 	    ;;
   13085 	esac
   13086 	;;
   13087       psos*)
   13088 	;;
   13089       solaris*)
   13090 	case $cc_basename in
   13091 	  CC*)
   13092 	    # Sun C++ 4.2, 5.x and Centerline C++
   13093 	    lt_prog_compiler_pic_CXX='-KPIC'
   13094 	    lt_prog_compiler_static_CXX='-Bstatic'
   13095 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   13096 	    ;;
   13097 	  gcx*)
   13098 	    # Green Hills C++ Compiler
   13099 	    lt_prog_compiler_pic_CXX='-PIC'
   13100 	    ;;
   13101 	  *)
   13102 	    ;;
   13103 	esac
   13104 	;;
   13105       sunos4*)
   13106 	case $cc_basename in
   13107 	  CC*)
   13108 	    # Sun C++ 4.x
   13109 	    lt_prog_compiler_pic_CXX='-pic'
   13110 	    lt_prog_compiler_static_CXX='-Bstatic'
   13111 	    ;;
   13112 	  lcc*)
   13113 	    # Lucid
   13114 	    lt_prog_compiler_pic_CXX='-pic'
   13115 	    ;;
   13116 	  *)
   13117 	    ;;
   13118 	esac
   13119 	;;
   13120       tandem*)
   13121 	case $cc_basename in
   13122 	  NCC*)
   13123 	    # NonStop-UX NCC 3.20
   13124 	    lt_prog_compiler_pic_CXX='-KPIC'
   13125 	    ;;
   13126 	  *)
   13127 	    ;;
   13128 	esac
   13129 	;;
   13130       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13131 	case $cc_basename in
   13132 	  CC*)
   13133 	    lt_prog_compiler_wl_CXX='-Wl,'
   13134 	    lt_prog_compiler_pic_CXX='-KPIC'
   13135 	    lt_prog_compiler_static_CXX='-Bstatic'
   13136 	    ;;
   13137 	esac
   13138 	;;
   13139       vxworks*)
   13140 	;;
   13141       *)
   13142 	lt_prog_compiler_can_build_shared_CXX=no
   13143 	;;
   13144     esac
   13145   fi
   13146 
   13147 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   13148 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   13149 
   13150 #
   13151 # Check to make sure the PIC flag actually works.
   13152 #
   13153 if test -n "$lt_prog_compiler_pic_CXX"; then
   13154 
   13155 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   13156 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   13157 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   13158   $as_echo_n "(cached) " >&6
   13159 else
   13160   lt_cv_prog_compiler_pic_works_CXX=no
   13161   ac_outfile=conftest.$ac_objext
   13162    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13163    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   13164    # Insert the option either (1) after the last *FLAGS variable, or
   13165    # (2) before a word containing "conftest.", or (3) at the end.
   13166    # Note that $ac_compile itself does not contain backslashes and begins
   13167    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13168    # The option is referenced via a variable to avoid confusing sed.
   13169    lt_compile=`echo "$ac_compile" | $SED \
   13170    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13171    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13172    -e 's:$: $lt_compiler_flag:'`
   13173    (eval echo "\"\$as_me:13173: $lt_compile\"" >&5)
   13174    (eval "$lt_compile" 2>conftest.err)
   13175    ac_status=$?
   13176    cat conftest.err >&5
   13177    echo "$as_me:13177: \$? = $ac_status" >&5
   13178    if (exit $ac_status) && test -s "$ac_outfile"; then
   13179      # The compiler can only warn and ignore the option if not recognized
   13180      # So say no if there are warnings other than the usual output.
   13181      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13182      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13183      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13184        lt_cv_prog_compiler_pic_works_CXX=yes
   13185      fi
   13186    fi
   13187    $rm conftest*
   13188 
   13189 fi
   13190 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   13191 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   13192 
   13193 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   13194     case $lt_prog_compiler_pic_CXX in
   13195      "" | " "*) ;;
   13196      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13197      esac
   13198 else
   13199     lt_prog_compiler_pic_CXX=
   13200      lt_prog_compiler_can_build_shared_CXX=no
   13201 fi
   13202 
   13203 fi
   13204 case $host_os in
   13205   # For platforms which do not support PIC, -DPIC is meaningless:
   13206   *djgpp*)
   13207     lt_prog_compiler_pic_CXX=
   13208     ;;
   13209   *)
   13210     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13211     ;;
   13212 esac
   13213 
   13214 #
   13215 # Check to make sure the static flag actually works.
   13216 #
   13217 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13218 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13219 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13220 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13221   $as_echo_n "(cached) " >&6
   13222 else
   13223   lt_cv_prog_compiler_static_works_CXX=no
   13224    save_LDFLAGS="$LDFLAGS"
   13225    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13226    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13227    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13228      # The linker can only warn and ignore the option if not recognized
   13229      # So say no if there are warnings
   13230      if test -s conftest.err; then
   13231        # Append any errors to the config.log.
   13232        cat conftest.err 1>&5
   13233        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13234        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13235        if diff conftest.exp conftest.er2 >/dev/null; then
   13236          lt_cv_prog_compiler_static_works_CXX=yes
   13237        fi
   13238      else
   13239        lt_cv_prog_compiler_static_works_CXX=yes
   13240      fi
   13241    fi
   13242    $rm -r conftest*
   13243    LDFLAGS="$save_LDFLAGS"
   13244 
   13245 fi
   13246 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13247 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13248 
   13249 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13250     :
   13251 else
   13252     lt_prog_compiler_static_CXX=
   13253 fi
   13254 
   13255 
   13256 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13257 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13258 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13259   $as_echo_n "(cached) " >&6
   13260 else
   13261   lt_cv_prog_compiler_c_o_CXX=no
   13262    $rm -r conftest 2>/dev/null
   13263    mkdir conftest
   13264    cd conftest
   13265    mkdir out
   13266    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13267 
   13268    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13269    # Insert the option either (1) after the last *FLAGS variable, or
   13270    # (2) before a word containing "conftest.", or (3) at the end.
   13271    # Note that $ac_compile itself does not contain backslashes and begins
   13272    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13273    lt_compile=`echo "$ac_compile" | $SED \
   13274    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13275    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13276    -e 's:$: $lt_compiler_flag:'`
   13277    (eval echo "\"\$as_me:13277: $lt_compile\"" >&5)
   13278    (eval "$lt_compile" 2>out/conftest.err)
   13279    ac_status=$?
   13280    cat out/conftest.err >&5
   13281    echo "$as_me:13281: \$? = $ac_status" >&5
   13282    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13283    then
   13284      # The compiler can only warn and ignore the option if not recognized
   13285      # So say no if there are warnings
   13286      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13287      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13288      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13289        lt_cv_prog_compiler_c_o_CXX=yes
   13290      fi
   13291    fi
   13292    chmod u+w . 2>&5
   13293    $rm conftest*
   13294    # SGI C++ compiler will create directory out/ii_files/ for
   13295    # template instantiation
   13296    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13297    $rm out/* && rmdir out
   13298    cd ..
   13299    rmdir conftest
   13300    $rm conftest*
   13301 
   13302 fi
   13303 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13304 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13305 
   13306 
   13307 hard_links="nottested"
   13308 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13309   # do not overwrite the value of need_locks provided by the user
   13310   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13311 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13312   hard_links=yes
   13313   $rm conftest*
   13314   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13315   touch conftest.a
   13316   ln conftest.a conftest.b 2>&5 || hard_links=no
   13317   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13318   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13319 $as_echo "$hard_links" >&6; }
   13320   if test "$hard_links" = no; then
   13321     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13322 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13323     need_locks=warn
   13324   fi
   13325 else
   13326   need_locks=no
   13327 fi
   13328 
   13329 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13330 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13331 
   13332   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13333   case $host_os in
   13334   aix[4-9]*)
   13335     # If we're using GNU nm, then we don't want the "-C" option.
   13336     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13337     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13338       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13339     else
   13340       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13341     fi
   13342     ;;
   13343   pw32*)
   13344     export_symbols_cmds_CXX="$ltdll_cmds"
   13345   ;;
   13346   cygwin* | mingw*)
   13347     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   13348   ;;
   13349   *)
   13350     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13351   ;;
   13352   esac
   13353   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13354 
   13355 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13356 $as_echo "$ld_shlibs_CXX" >&6; }
   13357 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13358 
   13359 #
   13360 # Do we need to explicitly link libc?
   13361 #
   13362 case "x$archive_cmds_need_lc_CXX" in
   13363 x|xyes)
   13364   # Assume -lc should be added
   13365   archive_cmds_need_lc_CXX=yes
   13366 
   13367   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13368     case $archive_cmds_CXX in
   13369     *'~'*)
   13370       # FIXME: we may have to deal with multi-command sequences.
   13371       ;;
   13372     '$CC '*)
   13373       # Test whether the compiler implicitly links with -lc since on some
   13374       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13375       # to ld, don't add -lc before -lgcc.
   13376       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13377 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13378       $rm conftest*
   13379       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13380 
   13381       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13382   (eval $ac_compile) 2>&5
   13383   ac_status=$?
   13384   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13385   (exit $ac_status); } 2>conftest.err; then
   13386         soname=conftest
   13387         lib=conftest
   13388         libobjs=conftest.$ac_objext
   13389         deplibs=
   13390         wl=$lt_prog_compiler_wl_CXX
   13391 	pic_flag=$lt_prog_compiler_pic_CXX
   13392         compiler_flags=-v
   13393         linker_flags=-v
   13394         verstring=
   13395         output_objdir=.
   13396         libname=conftest
   13397         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13398         allow_undefined_flag_CXX=
   13399         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13400   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13401   ac_status=$?
   13402   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13403   (exit $ac_status); }
   13404         then
   13405 	  archive_cmds_need_lc_CXX=no
   13406         else
   13407 	  archive_cmds_need_lc_CXX=yes
   13408         fi
   13409         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13410       else
   13411         cat conftest.err 1>&5
   13412       fi
   13413       $rm conftest*
   13414       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13415 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13416       ;;
   13417     esac
   13418   fi
   13419   ;;
   13420 esac
   13421 
   13422 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13423 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13424 library_names_spec=
   13425 libname_spec='lib$name'
   13426 soname_spec=
   13427 shrext_cmds=".so"
   13428 postinstall_cmds=
   13429 postuninstall_cmds=
   13430 finish_cmds=
   13431 finish_eval=
   13432 shlibpath_var=
   13433 shlibpath_overrides_runpath=unknown
   13434 version_type=none
   13435 dynamic_linker="$host_os ld.so"
   13436 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13437 
   13438 need_lib_prefix=unknown
   13439 hardcode_into_libs=no
   13440 
   13441 # when you set need_version to no, make sure it does not cause -set_version
   13442 # flags to be left without arguments
   13443 need_version=unknown
   13444 
   13445 case $host_os in
   13446 aix3*)
   13447   version_type=linux
   13448   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13449   shlibpath_var=LIBPATH
   13450 
   13451   # AIX 3 has no versioning support, so we append a major version to the name.
   13452   soname_spec='${libname}${release}${shared_ext}$major'
   13453   ;;
   13454 
   13455 aix[4-9]*)
   13456   version_type=linux
   13457   need_lib_prefix=no
   13458   need_version=no
   13459   hardcode_into_libs=yes
   13460   if test "$host_cpu" = ia64; then
   13461     # AIX 5 supports IA64
   13462     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13463     shlibpath_var=LD_LIBRARY_PATH
   13464   else
   13465     # With GCC up to 2.95.x, collect2 would create an import file
   13466     # for dependence libraries.  The import file would start with
   13467     # the line `#! .'.  This would cause the generated library to
   13468     # depend on `.', always an invalid library.  This was fixed in
   13469     # development snapshots of GCC prior to 3.0.
   13470     case $host_os in
   13471       aix4 | aix4.[01] | aix4.[01].*)
   13472       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13473 	   echo ' yes '
   13474 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13475 	:
   13476       else
   13477 	can_build_shared=no
   13478       fi
   13479       ;;
   13480     esac
   13481     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13482     # soname into executable. Probably we can add versioning support to
   13483     # collect2, so additional links can be useful in future.
   13484     if test "$aix_use_runtimelinking" = yes; then
   13485       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13486       # instead of lib<name>.a to let people know that these are not
   13487       # typical AIX shared libraries.
   13488       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13489     else
   13490       # We preserve .a as extension for shared libraries through AIX4.2
   13491       # and later when we are not doing run time linking.
   13492       library_names_spec='${libname}${release}.a $libname.a'
   13493       soname_spec='${libname}${release}${shared_ext}$major'
   13494     fi
   13495     shlibpath_var=LIBPATH
   13496   fi
   13497   ;;
   13498 
   13499 amigaos*)
   13500   library_names_spec='$libname.ixlibrary $libname.a'
   13501   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13502   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
   13503   ;;
   13504 
   13505 beos*)
   13506   library_names_spec='${libname}${shared_ext}'
   13507   dynamic_linker="$host_os ld.so"
   13508   shlibpath_var=LIBRARY_PATH
   13509   ;;
   13510 
   13511 bsdi[45]*)
   13512   version_type=linux
   13513   need_version=no
   13514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13515   soname_spec='${libname}${release}${shared_ext}$major'
   13516   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13517   shlibpath_var=LD_LIBRARY_PATH
   13518   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13519   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13520   # the default ld.so.conf also contains /usr/contrib/lib and
   13521   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13522   # libtool to hard-code these into programs
   13523   ;;
   13524 
   13525 cygwin* | mingw* | pw32*)
   13526   version_type=windows
   13527   shrext_cmds=".dll"
   13528   need_version=no
   13529   need_lib_prefix=no
   13530 
   13531   case $GCC,$host_os in
   13532   yes,cygwin* | yes,mingw* | yes,pw32*)
   13533     library_names_spec='$libname.dll.a'
   13534     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13535     postinstall_cmds='base_file=`basename \${file}`~
   13536       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13537       dldir=$destdir/`dirname \$dlpath`~
   13538       test -d \$dldir || mkdir -p \$dldir~
   13539       $install_prog $dir/$dlname \$dldir/$dlname~
   13540       chmod a+x \$dldir/$dlname'
   13541     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13542       dlpath=$dir/\$dldll~
   13543        $rm \$dlpath'
   13544     shlibpath_overrides_runpath=yes
   13545 
   13546     case $host_os in
   13547     cygwin*)
   13548       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13549       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13550       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13551       ;;
   13552     mingw*)
   13553       # MinGW DLLs use traditional 'lib' prefix
   13554       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13555       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13556       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13557         # It is most probably a Windows format PATH printed by
   13558         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13559         # path with ; separators, and with drive letters. We can handle the
   13560         # drive letters (cygwin fileutils understands them), so leave them,
   13561         # especially as we might pass files found there to a mingw objdump,
   13562         # which wouldn't understand a cygwinified path. Ahh.
   13563         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13564       else
   13565         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13566       fi
   13567       ;;
   13568     pw32*)
   13569       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13570       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13571       ;;
   13572     esac
   13573     ;;
   13574 
   13575   *)
   13576     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13577     ;;
   13578   esac
   13579   dynamic_linker='Win32 ld.exe'
   13580   # FIXME: first we should search . and the directory the executable is in
   13581   shlibpath_var=PATH
   13582   ;;
   13583 
   13584 darwin* | rhapsody*)
   13585   dynamic_linker="$host_os dyld"
   13586   version_type=darwin
   13587   need_lib_prefix=no
   13588   need_version=no
   13589   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13590   soname_spec='${libname}${release}${major}$shared_ext'
   13591   shlibpath_overrides_runpath=yes
   13592   shlibpath_var=DYLD_LIBRARY_PATH
   13593   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13594 
   13595   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13596   ;;
   13597 
   13598 dgux*)
   13599   version_type=linux
   13600   need_lib_prefix=no
   13601   need_version=no
   13602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13603   soname_spec='${libname}${release}${shared_ext}$major'
   13604   shlibpath_var=LD_LIBRARY_PATH
   13605   ;;
   13606 
   13607 freebsd1*)
   13608   dynamic_linker=no
   13609   ;;
   13610 
   13611 freebsd* | dragonfly*)
   13612   # DragonFly does not have aout.  When/if they implement a new
   13613   # versioning mechanism, adjust this.
   13614   if test -x /usr/bin/objformat; then
   13615     objformat=`/usr/bin/objformat`
   13616   else
   13617     case $host_os in
   13618     freebsd[123]*) objformat=aout ;;
   13619     *) objformat=elf ;;
   13620     esac
   13621   fi
   13622   version_type=freebsd-$objformat
   13623   case $version_type in
   13624     freebsd-elf*)
   13625       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13626       need_version=no
   13627       need_lib_prefix=no
   13628       ;;
   13629     freebsd-*)
   13630       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13631       need_version=yes
   13632       ;;
   13633   esac
   13634   shlibpath_var=LD_LIBRARY_PATH
   13635   case $host_os in
   13636   freebsd2*)
   13637     shlibpath_overrides_runpath=yes
   13638     ;;
   13639   freebsd3.[01]* | freebsdelf3.[01]*)
   13640     shlibpath_overrides_runpath=yes
   13641     hardcode_into_libs=yes
   13642     ;;
   13643   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13644   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13645     shlibpath_overrides_runpath=no
   13646     hardcode_into_libs=yes
   13647     ;;
   13648   *) # from 4.6 on, and DragonFly
   13649     shlibpath_overrides_runpath=yes
   13650     hardcode_into_libs=yes
   13651     ;;
   13652   esac
   13653   ;;
   13654 
   13655 gnu*)
   13656   version_type=linux
   13657   need_lib_prefix=no
   13658   need_version=no
   13659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13660   soname_spec='${libname}${release}${shared_ext}$major'
   13661   shlibpath_var=LD_LIBRARY_PATH
   13662   hardcode_into_libs=yes
   13663   ;;
   13664 
   13665 hpux9* | hpux10* | hpux11*)
   13666   # Give a soname corresponding to the major version so that dld.sl refuses to
   13667   # link against other versions.
   13668   version_type=sunos
   13669   need_lib_prefix=no
   13670   need_version=no
   13671   case $host_cpu in
   13672   ia64*)
   13673     shrext_cmds='.so'
   13674     hardcode_into_libs=yes
   13675     dynamic_linker="$host_os dld.so"
   13676     shlibpath_var=LD_LIBRARY_PATH
   13677     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13678     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13679     soname_spec='${libname}${release}${shared_ext}$major'
   13680     if test "X$HPUX_IA64_MODE" = X32; then
   13681       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13682     else
   13683       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13684     fi
   13685     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13686     ;;
   13687    hppa*64*)
   13688      shrext_cmds='.sl'
   13689      hardcode_into_libs=yes
   13690      dynamic_linker="$host_os dld.sl"
   13691      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13692      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13693      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13694      soname_spec='${libname}${release}${shared_ext}$major'
   13695      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13696      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13697      ;;
   13698    *)
   13699     shrext_cmds='.sl'
   13700     dynamic_linker="$host_os dld.sl"
   13701     shlibpath_var=SHLIB_PATH
   13702     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13703     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13704     soname_spec='${libname}${release}${shared_ext}$major'
   13705     ;;
   13706   esac
   13707   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13708   postinstall_cmds='chmod 555 $lib'
   13709   ;;
   13710 
   13711 interix[3-9]*)
   13712   version_type=linux
   13713   need_lib_prefix=no
   13714   need_version=no
   13715   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13716   soname_spec='${libname}${release}${shared_ext}$major'
   13717   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13718   shlibpath_var=LD_LIBRARY_PATH
   13719   shlibpath_overrides_runpath=no
   13720   hardcode_into_libs=yes
   13721   ;;
   13722 
   13723 irix5* | irix6* | nonstopux*)
   13724   case $host_os in
   13725     nonstopux*) version_type=nonstopux ;;
   13726     *)
   13727 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13728 		version_type=linux
   13729 	else
   13730 		version_type=irix
   13731 	fi ;;
   13732   esac
   13733   need_lib_prefix=no
   13734   need_version=no
   13735   soname_spec='${libname}${release}${shared_ext}$major'
   13736   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13737   case $host_os in
   13738   irix5* | nonstopux*)
   13739     libsuff= shlibsuff=
   13740     ;;
   13741   *)
   13742     case $LD in # libtool.m4 will add one of these switches to LD
   13743     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13744       libsuff= shlibsuff= libmagic=32-bit;;
   13745     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13746       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13747     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13748       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13749     *) libsuff= shlibsuff= libmagic=never-match;;
   13750     esac
   13751     ;;
   13752   esac
   13753   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13754   shlibpath_overrides_runpath=no
   13755   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13756   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13757   hardcode_into_libs=yes
   13758   ;;
   13759 
   13760 # No shared lib support for Linux oldld, aout, or coff.
   13761 linux*oldld* | linux*aout* | linux*coff*)
   13762   dynamic_linker=no
   13763   ;;
   13764 
   13765 # This must be Linux ELF.
   13766 linux* | k*bsd*-gnu)
   13767   version_type=linux
   13768   need_lib_prefix=no
   13769   need_version=no
   13770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13771   soname_spec='${libname}${release}${shared_ext}$major'
   13772   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13773   shlibpath_var=LD_LIBRARY_PATH
   13774   shlibpath_overrides_runpath=no
   13775   # This implies no fast_install, which is unacceptable.
   13776   # Some rework will be needed to allow for fast_install
   13777   # before this can be enabled.
   13778   hardcode_into_libs=yes
   13779 
   13780   # Append ld.so.conf contents to the search path
   13781   if test -f /etc/ld.so.conf; then
   13782     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;/^$/d' | tr '\n' ' '`
   13783     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13784   fi
   13785 
   13786   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13787   # powerpc, because MkLinux only supported shared libraries with the
   13788   # GNU dynamic linker.  Since this was broken with cross compilers,
   13789   # most powerpc-linux boxes support dynamic linking these days and
   13790   # people can always --disable-shared, the test was removed, and we
   13791   # assume the GNU/Linux dynamic linker is in use.
   13792   dynamic_linker='GNU/Linux ld.so'
   13793   ;;
   13794 
   13795 netbsd*)
   13796   version_type=sunos
   13797   need_lib_prefix=no
   13798   need_version=no
   13799   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13800     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13801     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13802     dynamic_linker='NetBSD (a.out) ld.so'
   13803   else
   13804     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13805     soname_spec='${libname}${release}${shared_ext}$major'
   13806     dynamic_linker='NetBSD ld.elf_so'
   13807   fi
   13808   shlibpath_var=LD_LIBRARY_PATH
   13809   shlibpath_overrides_runpath=yes
   13810   hardcode_into_libs=yes
   13811   ;;
   13812 
   13813 newsos6)
   13814   version_type=linux
   13815   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13816   shlibpath_var=LD_LIBRARY_PATH
   13817   shlibpath_overrides_runpath=yes
   13818   ;;
   13819 
   13820 nto-qnx*)
   13821   version_type=linux
   13822   need_lib_prefix=no
   13823   need_version=no
   13824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13825   soname_spec='${libname}${release}${shared_ext}$major'
   13826   shlibpath_var=LD_LIBRARY_PATH
   13827   shlibpath_overrides_runpath=yes
   13828   ;;
   13829 
   13830 openbsd*)
   13831   version_type=sunos
   13832   sys_lib_dlsearch_path_spec="/usr/lib"
   13833   need_lib_prefix=no
   13834   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13835   case $host_os in
   13836     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13837     *)                         need_version=no  ;;
   13838   esac
   13839   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13840   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13841   shlibpath_var=LD_LIBRARY_PATH
   13842   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13843     case $host_os in
   13844       openbsd2.[89] | openbsd2.[89].*)
   13845 	shlibpath_overrides_runpath=no
   13846 	;;
   13847       *)
   13848 	shlibpath_overrides_runpath=yes
   13849 	;;
   13850       esac
   13851   else
   13852     shlibpath_overrides_runpath=yes
   13853   fi
   13854   ;;
   13855 
   13856 os2*)
   13857   libname_spec='$name'
   13858   shrext_cmds=".dll"
   13859   need_lib_prefix=no
   13860   library_names_spec='$libname${shared_ext} $libname.a'
   13861   dynamic_linker='OS/2 ld.exe'
   13862   shlibpath_var=LIBPATH
   13863   ;;
   13864 
   13865 osf3* | osf4* | osf5*)
   13866   version_type=osf
   13867   need_lib_prefix=no
   13868   need_version=no
   13869   soname_spec='${libname}${release}${shared_ext}$major'
   13870   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13871   shlibpath_var=LD_LIBRARY_PATH
   13872   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13873   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13874   ;;
   13875 
   13876 rdos*)
   13877   dynamic_linker=no
   13878   ;;
   13879 
   13880 solaris*)
   13881   version_type=linux
   13882   need_lib_prefix=no
   13883   need_version=no
   13884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13885   soname_spec='${libname}${release}${shared_ext}$major'
   13886   shlibpath_var=LD_LIBRARY_PATH
   13887   shlibpath_overrides_runpath=yes
   13888   hardcode_into_libs=yes
   13889   # ldd complains unless libraries are executable
   13890   postinstall_cmds='chmod +x $lib'
   13891   ;;
   13892 
   13893 sunos4*)
   13894   version_type=sunos
   13895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13896   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13897   shlibpath_var=LD_LIBRARY_PATH
   13898   shlibpath_overrides_runpath=yes
   13899   if test "$with_gnu_ld" = yes; then
   13900     need_lib_prefix=no
   13901   fi
   13902   need_version=yes
   13903   ;;
   13904 
   13905 sysv4 | sysv4.3*)
   13906   version_type=linux
   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   shlibpath_var=LD_LIBRARY_PATH
   13910   case $host_vendor in
   13911     sni)
   13912       shlibpath_overrides_runpath=no
   13913       need_lib_prefix=no
   13914       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13915       runpath_var=LD_RUN_PATH
   13916       ;;
   13917     siemens)
   13918       need_lib_prefix=no
   13919       ;;
   13920     motorola)
   13921       need_lib_prefix=no
   13922       need_version=no
   13923       shlibpath_overrides_runpath=no
   13924       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13925       ;;
   13926   esac
   13927   ;;
   13928 
   13929 sysv4*MP*)
   13930   if test -d /usr/nec ;then
   13931     version_type=linux
   13932     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13933     soname_spec='$libname${shared_ext}.$major'
   13934     shlibpath_var=LD_LIBRARY_PATH
   13935   fi
   13936   ;;
   13937 
   13938 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13939   version_type=freebsd-elf
   13940   need_lib_prefix=no
   13941   need_version=no
   13942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13943   soname_spec='${libname}${release}${shared_ext}$major'
   13944   shlibpath_var=LD_LIBRARY_PATH
   13945   hardcode_into_libs=yes
   13946   if test "$with_gnu_ld" = yes; then
   13947     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13948     shlibpath_overrides_runpath=no
   13949   else
   13950     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13951     shlibpath_overrides_runpath=yes
   13952     case $host_os in
   13953       sco3.2v5*)
   13954         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13955 	;;
   13956     esac
   13957   fi
   13958   sys_lib_dlsearch_path_spec='/usr/lib'
   13959   ;;
   13960 
   13961 uts4*)
   13962   version_type=linux
   13963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13964   soname_spec='${libname}${release}${shared_ext}$major'
   13965   shlibpath_var=LD_LIBRARY_PATH
   13966   ;;
   13967 
   13968 *)
   13969   dynamic_linker=no
   13970   ;;
   13971 esac
   13972 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13973 $as_echo "$dynamic_linker" >&6; }
   13974 test "$dynamic_linker" = no && can_build_shared=no
   13975 
   13976 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13977   $as_echo_n "(cached) " >&6
   13978 else
   13979   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13980 fi
   13981 
   13982 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13983 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13984   $as_echo_n "(cached) " >&6
   13985 else
   13986   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13987 fi
   13988 
   13989 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13990 
   13991 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13992 if test "$GCC" = yes; then
   13993   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13994 fi
   13995 
   13996 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13997 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13998 hardcode_action_CXX=
   13999 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   14000    test -n "$runpath_var_CXX" || \
   14001    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   14002 
   14003   # We can hardcode non-existant directories.
   14004   if test "$hardcode_direct_CXX" != no &&
   14005      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   14006      # have to relink, otherwise we might link with an installed library
   14007      # when we should be linking with a yet-to-be-installed one
   14008      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   14009      test "$hardcode_minus_L_CXX" != no; then
   14010     # Linking always hardcodes the temporary library directory.
   14011     hardcode_action_CXX=relink
   14012   else
   14013     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   14014     hardcode_action_CXX=immediate
   14015   fi
   14016 else
   14017   # We cannot hardcode anything, or else we can only hardcode existing
   14018   # directories.
   14019   hardcode_action_CXX=unsupported
   14020 fi
   14021 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   14022 $as_echo "$hardcode_action_CXX" >&6; }
   14023 
   14024 if test "$hardcode_action_CXX" = relink; then
   14025   # Fast installation is not supported
   14026   enable_fast_install=no
   14027 elif test "$shlibpath_overrides_runpath" = yes ||
   14028      test "$enable_shared" = no; then
   14029   # Fast installation is not necessary
   14030   enable_fast_install=needless
   14031 fi
   14032 
   14033 
   14034 # The else clause should only fire when bootstrapping the
   14035 # libtool distribution, otherwise you forgot to ship ltmain.sh
   14036 # with your package, and you will get complaints that there are
   14037 # no rules to generate ltmain.sh.
   14038 if test -f "$ltmain"; then
   14039   # See if we are running on zsh, and set the options which allow our commands through
   14040   # without removal of \ escapes.
   14041   if test -n "${ZSH_VERSION+set}" ; then
   14042     setopt NO_GLOB_SUBST
   14043   fi
   14044   # Now quote all the things that may contain metacharacters while being
   14045   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   14046   # variables and quote the copies for generation of the libtool script.
   14047   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   14048     SED SHELL STRIP \
   14049     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   14050     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   14051     deplibs_check_method reload_flag reload_cmds need_locks \
   14052     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   14053     lt_cv_sys_global_symbol_to_c_name_address \
   14054     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   14055     old_postinstall_cmds old_postuninstall_cmds \
   14056     compiler_CXX \
   14057     CC_CXX \
   14058     LD_CXX \
   14059     lt_prog_compiler_wl_CXX \
   14060     lt_prog_compiler_pic_CXX \
   14061     lt_prog_compiler_static_CXX \
   14062     lt_prog_compiler_no_builtin_flag_CXX \
   14063     export_dynamic_flag_spec_CXX \
   14064     thread_safe_flag_spec_CXX \
   14065     whole_archive_flag_spec_CXX \
   14066     enable_shared_with_static_runtimes_CXX \
   14067     old_archive_cmds_CXX \
   14068     old_archive_from_new_cmds_CXX \
   14069     predep_objects_CXX \
   14070     postdep_objects_CXX \
   14071     predeps_CXX \
   14072     postdeps_CXX \
   14073     compiler_lib_search_path_CXX \
   14074     compiler_lib_search_dirs_CXX \
   14075     archive_cmds_CXX \
   14076     archive_expsym_cmds_CXX \
   14077     postinstall_cmds_CXX \
   14078     postuninstall_cmds_CXX \
   14079     old_archive_from_expsyms_cmds_CXX \
   14080     allow_undefined_flag_CXX \
   14081     no_undefined_flag_CXX \
   14082     export_symbols_cmds_CXX \
   14083     hardcode_libdir_flag_spec_CXX \
   14084     hardcode_libdir_flag_spec_ld_CXX \
   14085     hardcode_libdir_separator_CXX \
   14086     hardcode_automatic_CXX \
   14087     module_cmds_CXX \
   14088     module_expsym_cmds_CXX \
   14089     lt_cv_prog_compiler_c_o_CXX \
   14090     fix_srcfile_path_CXX \
   14091     exclude_expsyms_CXX \
   14092     include_expsyms_CXX; do
   14093 
   14094     case $var in
   14095     old_archive_cmds_CXX | \
   14096     old_archive_from_new_cmds_CXX | \
   14097     archive_cmds_CXX | \
   14098     archive_expsym_cmds_CXX | \
   14099     module_cmds_CXX | \
   14100     module_expsym_cmds_CXX | \
   14101     old_archive_from_expsyms_cmds_CXX | \
   14102     export_symbols_cmds_CXX | \
   14103     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   14104     postinstall_cmds | postuninstall_cmds | \
   14105     old_postinstall_cmds | old_postuninstall_cmds | \
   14106     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   14107       # Double-quote double-evaled strings.
   14108       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   14109       ;;
   14110     *)
   14111       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   14112       ;;
   14113     esac
   14114   done
   14115 
   14116   case $lt_echo in
   14117   *'\$0 --fallback-echo"')
   14118     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   14119     ;;
   14120   esac
   14121 
   14122 cfgfile="$ofile"
   14123 
   14124   cat <<__EOF__ >> "$cfgfile"
   14125 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   14126 
   14127 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14128 
   14129 # Shell to use when invoking shell scripts.
   14130 SHELL=$lt_SHELL
   14131 
   14132 # Whether or not to build shared libraries.
   14133 build_libtool_libs=$enable_shared
   14134 
   14135 # Whether or not to build static libraries.
   14136 build_old_libs=$enable_static
   14137 
   14138 # Whether or not to add -lc for building shared libraries.
   14139 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   14140 
   14141 # Whether or not to disallow shared libs when runtime libs are static
   14142 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   14143 
   14144 # Whether or not to optimize for fast installation.
   14145 fast_install=$enable_fast_install
   14146 
   14147 # The host system.
   14148 host_alias=$host_alias
   14149 host=$host
   14150 host_os=$host_os
   14151 
   14152 # The build system.
   14153 build_alias=$build_alias
   14154 build=$build
   14155 build_os=$build_os
   14156 
   14157 # An echo program that does not interpret backslashes.
   14158 echo=$lt_echo
   14159 
   14160 # The archiver.
   14161 AR=$lt_AR
   14162 AR_FLAGS=$lt_AR_FLAGS
   14163 
   14164 # A C compiler.
   14165 LTCC=$lt_LTCC
   14166 
   14167 # LTCC compiler flags.
   14168 LTCFLAGS=$lt_LTCFLAGS
   14169 
   14170 # A language-specific compiler.
   14171 CC=$lt_compiler_CXX
   14172 
   14173 # Is the compiler the GNU C compiler?
   14174 with_gcc=$GCC_CXX
   14175 
   14176 # An ERE matcher.
   14177 EGREP=$lt_EGREP
   14178 
   14179 # The linker used to build libraries.
   14180 LD=$lt_LD_CXX
   14181 
   14182 # Whether we need hard or soft links.
   14183 LN_S=$lt_LN_S
   14184 
   14185 # A BSD-compatible nm program.
   14186 NM=$lt_NM
   14187 
   14188 # A symbol stripping program
   14189 STRIP=$lt_STRIP
   14190 
   14191 # Used to examine libraries when file_magic_cmd begins "file"
   14192 MAGIC_CMD=$MAGIC_CMD
   14193 
   14194 # Used on cygwin: DLL creation program.
   14195 DLLTOOL="$DLLTOOL"
   14196 
   14197 # Used on cygwin: object dumper.
   14198 OBJDUMP="$OBJDUMP"
   14199 
   14200 # Used on cygwin: assembler.
   14201 AS="$AS"
   14202 
   14203 # The name of the directory that contains temporary libtool files.
   14204 objdir=$objdir
   14205 
   14206 # How to create reloadable object files.
   14207 reload_flag=$lt_reload_flag
   14208 reload_cmds=$lt_reload_cmds
   14209 
   14210 # How to pass a linker flag through the compiler.
   14211 wl=$lt_lt_prog_compiler_wl_CXX
   14212 
   14213 # Object file suffix (normally "o").
   14214 objext="$ac_objext"
   14215 
   14216 # Old archive suffix (normally "a").
   14217 libext="$libext"
   14218 
   14219 # Shared library suffix (normally ".so").
   14220 shrext_cmds='$shrext_cmds'
   14221 
   14222 # Executable file suffix (normally "").
   14223 exeext="$exeext"
   14224 
   14225 # Additional compiler flags for building library objects.
   14226 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14227 pic_mode=$pic_mode
   14228 
   14229 # What is the maximum length of a command?
   14230 max_cmd_len=$lt_cv_sys_max_cmd_len
   14231 
   14232 # Does compiler simultaneously support -c and -o options?
   14233 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14234 
   14235 # Must we lock files when doing compilation?
   14236 need_locks=$lt_need_locks
   14237 
   14238 # Do we need the lib prefix for modules?
   14239 need_lib_prefix=$need_lib_prefix
   14240 
   14241 # Do we need a version for libraries?
   14242 need_version=$need_version
   14243 
   14244 # Whether dlopen is supported.
   14245 dlopen_support=$enable_dlopen
   14246 
   14247 # Whether dlopen of programs is supported.
   14248 dlopen_self=$enable_dlopen_self
   14249 
   14250 # Whether dlopen of statically linked programs is supported.
   14251 dlopen_self_static=$enable_dlopen_self_static
   14252 
   14253 # Compiler flag to prevent dynamic linking.
   14254 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14255 
   14256 # Compiler flag to turn off builtin functions.
   14257 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14258 
   14259 # Compiler flag to allow reflexive dlopens.
   14260 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14261 
   14262 # Compiler flag to generate shared objects directly from archives.
   14263 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14264 
   14265 # Compiler flag to generate thread-safe objects.
   14266 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14267 
   14268 # Library versioning type.
   14269 version_type=$version_type
   14270 
   14271 # Format of library name prefix.
   14272 libname_spec=$lt_libname_spec
   14273 
   14274 # List of archive names.  First name is the real one, the rest are links.
   14275 # The last name is the one that the linker finds with -lNAME.
   14276 library_names_spec=$lt_library_names_spec
   14277 
   14278 # The coded name of the library, if different from the real name.
   14279 soname_spec=$lt_soname_spec
   14280 
   14281 # Commands used to build and install an old-style archive.
   14282 RANLIB=$lt_RANLIB
   14283 old_archive_cmds=$lt_old_archive_cmds_CXX
   14284 old_postinstall_cmds=$lt_old_postinstall_cmds
   14285 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14286 
   14287 # Create an old-style archive from a shared archive.
   14288 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14289 
   14290 # Create a temporary old-style archive to link instead of a shared archive.
   14291 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14292 
   14293 # Commands used to build and install a shared archive.
   14294 archive_cmds=$lt_archive_cmds_CXX
   14295 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14296 postinstall_cmds=$lt_postinstall_cmds
   14297 postuninstall_cmds=$lt_postuninstall_cmds
   14298 
   14299 # Commands used to build a loadable module (assumed same as above if empty)
   14300 module_cmds=$lt_module_cmds_CXX
   14301 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14302 
   14303 # Commands to strip libraries.
   14304 old_striplib=$lt_old_striplib
   14305 striplib=$lt_striplib
   14306 
   14307 # Dependencies to place before the objects being linked to create a
   14308 # shared library.
   14309 predep_objects=$lt_predep_objects_CXX
   14310 
   14311 # Dependencies to place after the objects being linked to create a
   14312 # shared library.
   14313 postdep_objects=$lt_postdep_objects_CXX
   14314 
   14315 # Dependencies to place before the objects being linked to create a
   14316 # shared library.
   14317 predeps=$lt_predeps_CXX
   14318 
   14319 # Dependencies to place after the objects being linked to create a
   14320 # shared library.
   14321 postdeps=$lt_postdeps_CXX
   14322 
   14323 # The directories searched by this compiler when creating a shared
   14324 # library
   14325 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14326 
   14327 # The library search path used internally by the compiler when linking
   14328 # a shared library.
   14329 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14330 
   14331 # Method to check whether dependent libraries are shared objects.
   14332 deplibs_check_method=$lt_deplibs_check_method
   14333 
   14334 # Command to use when deplibs_check_method == file_magic.
   14335 file_magic_cmd=$lt_file_magic_cmd
   14336 
   14337 # Flag that allows shared libraries with undefined symbols to be built.
   14338 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14339 
   14340 # Flag that forces no undefined symbols.
   14341 no_undefined_flag=$lt_no_undefined_flag_CXX
   14342 
   14343 # Commands used to finish a libtool library installation in a directory.
   14344 finish_cmds=$lt_finish_cmds
   14345 
   14346 # Same as above, but a single script fragment to be evaled but not shown.
   14347 finish_eval=$lt_finish_eval
   14348 
   14349 # Take the output of nm and produce a listing of raw symbols and C names.
   14350 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14351 
   14352 # Transform the output of nm in a proper C declaration
   14353 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14354 
   14355 # Transform the output of nm in a C name address pair
   14356 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14357 
   14358 # This is the shared library runtime path variable.
   14359 runpath_var=$runpath_var
   14360 
   14361 # This is the shared library path variable.
   14362 shlibpath_var=$shlibpath_var
   14363 
   14364 # Is shlibpath searched before the hard-coded library search path?
   14365 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14366 
   14367 # How to hardcode a shared library path into an executable.
   14368 hardcode_action=$hardcode_action_CXX
   14369 
   14370 # Whether we should hardcode library paths into libraries.
   14371 hardcode_into_libs=$hardcode_into_libs
   14372 
   14373 # Flag to hardcode \$libdir into a binary during linking.
   14374 # This must work even if \$libdir does not exist.
   14375 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14376 
   14377 # If ld is used when linking, flag to hardcode \$libdir into
   14378 # a binary during linking. This must work even if \$libdir does
   14379 # not exist.
   14380 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14381 
   14382 # Whether we need a single -rpath flag with a separated argument.
   14383 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14384 
   14385 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14386 # resulting binary.
   14387 hardcode_direct=$hardcode_direct_CXX
   14388 
   14389 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14390 # resulting binary.
   14391 hardcode_minus_L=$hardcode_minus_L_CXX
   14392 
   14393 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14394 # the resulting binary.
   14395 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14396 
   14397 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14398 # and all subsequent libraries and executables linked against it.
   14399 hardcode_automatic=$hardcode_automatic_CXX
   14400 
   14401 # Variables whose values should be saved in libtool wrapper scripts and
   14402 # restored at relink time.
   14403 variables_saved_for_relink="$variables_saved_for_relink"
   14404 
   14405 # Whether libtool must link a program against all its dependency libraries.
   14406 link_all_deplibs=$link_all_deplibs_CXX
   14407 
   14408 # Compile-time system search path for libraries
   14409 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14410 
   14411 # Run-time system search path for libraries
   14412 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14413 
   14414 # Fix the shell variable \$srcfile for the compiler.
   14415 fix_srcfile_path=$lt_fix_srcfile_path
   14416 
   14417 # Set to yes if exported symbols are required.
   14418 always_export_symbols=$always_export_symbols_CXX
   14419 
   14420 # The commands to list exported symbols.
   14421 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14422 
   14423 # The commands to extract the exported symbol list from a shared archive.
   14424 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14425 
   14426 # Symbols that should not be listed in the preloaded symbols.
   14427 exclude_expsyms=$lt_exclude_expsyms_CXX
   14428 
   14429 # Symbols that must always be exported.
   14430 include_expsyms=$lt_include_expsyms_CXX
   14431 
   14432 # ### END LIBTOOL TAG CONFIG: $tagname
   14433 
   14434 __EOF__
   14435 
   14436 
   14437 else
   14438   # If there is no Makefile yet, we rely on a make rule to execute
   14439   # `config.status --recheck' to rerun these tests and create the
   14440   # libtool script then.
   14441   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14442   if test -f "$ltmain_in"; then
   14443     test -f Makefile && make "$ltmain"
   14444   fi
   14445 fi
   14446 
   14447 
   14448 ac_ext=c
   14449 ac_cpp='$CPP $CPPFLAGS'
   14450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14453 
   14454 CC=$lt_save_CC
   14455 LDCXX=$LD
   14456 LD=$lt_save_LD
   14457 GCC=$lt_save_GCC
   14458 with_gnu_ldcxx=$with_gnu_ld
   14459 with_gnu_ld=$lt_save_with_gnu_ld
   14460 lt_cv_path_LDCXX=$lt_cv_path_LD
   14461 lt_cv_path_LD=$lt_save_path_LD
   14462 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14463 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14464 
   14465 	else
   14466 	  tagname=""
   14467 	fi
   14468 	;;
   14469 
   14470       F77)
   14471 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14472 
   14473 ac_ext=f
   14474 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14475 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14476 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14477 
   14478 
   14479 archive_cmds_need_lc_F77=no
   14480 allow_undefined_flag_F77=
   14481 always_export_symbols_F77=no
   14482 archive_expsym_cmds_F77=
   14483 export_dynamic_flag_spec_F77=
   14484 hardcode_direct_F77=no
   14485 hardcode_libdir_flag_spec_F77=
   14486 hardcode_libdir_flag_spec_ld_F77=
   14487 hardcode_libdir_separator_F77=
   14488 hardcode_minus_L_F77=no
   14489 hardcode_automatic_F77=no
   14490 module_cmds_F77=
   14491 module_expsym_cmds_F77=
   14492 link_all_deplibs_F77=unknown
   14493 old_archive_cmds_F77=$old_archive_cmds
   14494 no_undefined_flag_F77=
   14495 whole_archive_flag_spec_F77=
   14496 enable_shared_with_static_runtimes_F77=no
   14497 
   14498 # Source file extension for f77 test sources.
   14499 ac_ext=f
   14500 
   14501 # Object file extension for compiled f77 test sources.
   14502 objext=o
   14503 objext_F77=$objext
   14504 
   14505 # Code to be used in simple compile tests
   14506 lt_simple_compile_test_code="\
   14507       subroutine t
   14508       return
   14509       end
   14510 "
   14511 
   14512 # Code to be used in simple link tests
   14513 lt_simple_link_test_code="\
   14514       program t
   14515       end
   14516 "
   14517 
   14518 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14519 
   14520 # If no C compiler was specified, use CC.
   14521 LTCC=${LTCC-"$CC"}
   14522 
   14523 # If no C compiler flags were specified, use CFLAGS.
   14524 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14525 
   14526 # Allow CC to be a program name with arguments.
   14527 compiler=$CC
   14528 
   14529 
   14530 # save warnings/boilerplate of simple test code
   14531 ac_outfile=conftest.$ac_objext
   14532 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14533 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14534 _lt_compiler_boilerplate=`cat conftest.err`
   14535 $rm conftest*
   14536 
   14537 ac_outfile=conftest.$ac_objext
   14538 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14539 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14540 _lt_linker_boilerplate=`cat conftest.err`
   14541 $rm -r conftest*
   14542 
   14543 
   14544 # Allow CC to be a program name with arguments.
   14545 lt_save_CC="$CC"
   14546 CC=${F77-"f77"}
   14547 compiler=$CC
   14548 compiler_F77=$CC
   14549 for cc_temp in $compiler""; do
   14550   case $cc_temp in
   14551     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14552     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14553     \-*) ;;
   14554     *) break;;
   14555   esac
   14556 done
   14557 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14558 
   14559 
   14560 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14561 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14562 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14563 $as_echo "$can_build_shared" >&6; }
   14564 
   14565 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14566 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14567 test "$can_build_shared" = "no" && enable_shared=no
   14568 
   14569 # On AIX, shared libraries and static libraries use the same namespace, and
   14570 # are all built from PIC.
   14571 case $host_os in
   14572 aix3*)
   14573   test "$enable_shared" = yes && enable_static=no
   14574   if test -n "$RANLIB"; then
   14575     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14576     postinstall_cmds='$RANLIB $lib'
   14577   fi
   14578   ;;
   14579 aix[4-9]*)
   14580   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14581     test "$enable_shared" = yes && enable_static=no
   14582   fi
   14583   ;;
   14584 esac
   14585 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14586 $as_echo "$enable_shared" >&6; }
   14587 
   14588 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14589 $as_echo_n "checking whether to build static libraries... " >&6; }
   14590 # Make sure either enable_shared or enable_static is yes.
   14591 test "$enable_shared" = yes || enable_static=yes
   14592 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14593 $as_echo "$enable_static" >&6; }
   14594 
   14595 GCC_F77="$G77"
   14596 LD_F77="$LD"
   14597 
   14598 lt_prog_compiler_wl_F77=
   14599 lt_prog_compiler_pic_F77=
   14600 lt_prog_compiler_static_F77=
   14601 
   14602 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14603 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14604 
   14605   if test "$GCC" = yes; then
   14606     lt_prog_compiler_wl_F77='-Wl,'
   14607     lt_prog_compiler_static_F77='-static'
   14608 
   14609     case $host_os in
   14610       aix*)
   14611       # All AIX code is PIC.
   14612       if test "$host_cpu" = ia64; then
   14613 	# AIX 5 now supports IA64 processor
   14614 	lt_prog_compiler_static_F77='-Bstatic'
   14615       fi
   14616       ;;
   14617 
   14618     amigaos*)
   14619       # FIXME: we need at least 68020 code to build shared libraries, but
   14620       # adding the `-m68020' flag to GCC prevents building anything better,
   14621       # like `-m68040'.
   14622       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14623       ;;
   14624 
   14625     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14626       # PIC is the default for these OSes.
   14627       ;;
   14628 
   14629     mingw* | cygwin* | pw32* | os2*)
   14630       # This hack is so that the source file can tell whether it is being
   14631       # built for inclusion in a dll (and should export symbols for example).
   14632       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14633       # (--disable-auto-import) libraries
   14634       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14635       ;;
   14636 
   14637     darwin* | rhapsody*)
   14638       # PIC is the default on this platform
   14639       # Common symbols not allowed in MH_DYLIB files
   14640       lt_prog_compiler_pic_F77='-fno-common'
   14641       ;;
   14642 
   14643     interix[3-9]*)
   14644       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14645       # Instead, we relocate shared libraries at runtime.
   14646       ;;
   14647 
   14648     msdosdjgpp*)
   14649       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14650       # on systems that don't support them.
   14651       lt_prog_compiler_can_build_shared_F77=no
   14652       enable_shared=no
   14653       ;;
   14654 
   14655     sysv4*MP*)
   14656       if test -d /usr/nec; then
   14657 	lt_prog_compiler_pic_F77=-Kconform_pic
   14658       fi
   14659       ;;
   14660 
   14661     hpux*)
   14662       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14663       # not for PA HP-UX.
   14664       case $host_cpu in
   14665       hppa*64*|ia64*)
   14666 	# +Z the default
   14667 	;;
   14668       *)
   14669 	lt_prog_compiler_pic_F77='-fPIC'
   14670 	;;
   14671       esac
   14672       ;;
   14673 
   14674     *)
   14675       lt_prog_compiler_pic_F77='-fPIC'
   14676       ;;
   14677     esac
   14678   else
   14679     # PORTME Check for flag to pass linker flags through the system compiler.
   14680     case $host_os in
   14681     aix*)
   14682       lt_prog_compiler_wl_F77='-Wl,'
   14683       if test "$host_cpu" = ia64; then
   14684 	# AIX 5 now supports IA64 processor
   14685 	lt_prog_compiler_static_F77='-Bstatic'
   14686       else
   14687 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14688       fi
   14689       ;;
   14690       darwin*)
   14691         # PIC is the default on this platform
   14692         # Common symbols not allowed in MH_DYLIB files
   14693        case $cc_basename in
   14694          xlc*)
   14695          lt_prog_compiler_pic_F77='-qnocommon'
   14696          lt_prog_compiler_wl_F77='-Wl,'
   14697          ;;
   14698        esac
   14699        ;;
   14700 
   14701     mingw* | cygwin* | pw32* | os2*)
   14702       # This hack is so that the source file can tell whether it is being
   14703       # built for inclusion in a dll (and should export symbols for example).
   14704       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14705       ;;
   14706 
   14707     hpux9* | hpux10* | hpux11*)
   14708       lt_prog_compiler_wl_F77='-Wl,'
   14709       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14710       # not for PA HP-UX.
   14711       case $host_cpu in
   14712       hppa*64*|ia64*)
   14713 	# +Z the default
   14714 	;;
   14715       *)
   14716 	lt_prog_compiler_pic_F77='+Z'
   14717 	;;
   14718       esac
   14719       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14720       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14721       ;;
   14722 
   14723     irix5* | irix6* | nonstopux*)
   14724       lt_prog_compiler_wl_F77='-Wl,'
   14725       # PIC (with -KPIC) is the default.
   14726       lt_prog_compiler_static_F77='-non_shared'
   14727       ;;
   14728 
   14729     newsos6)
   14730       lt_prog_compiler_pic_F77='-KPIC'
   14731       lt_prog_compiler_static_F77='-Bstatic'
   14732       ;;
   14733 
   14734     linux* | k*bsd*-gnu)
   14735       case $cc_basename in
   14736       icc* | ecc*)
   14737 	lt_prog_compiler_wl_F77='-Wl,'
   14738 	lt_prog_compiler_pic_F77='-KPIC'
   14739 	lt_prog_compiler_static_F77='-static'
   14740         ;;
   14741       pgcc* | pgf77* | pgf90* | pgf95*)
   14742         # Portland Group compilers (*not* the Pentium gcc compiler,
   14743 	# which looks to be a dead project)
   14744 	lt_prog_compiler_wl_F77='-Wl,'
   14745 	lt_prog_compiler_pic_F77='-fpic'
   14746 	lt_prog_compiler_static_F77='-Bstatic'
   14747         ;;
   14748       ccc*)
   14749         lt_prog_compiler_wl_F77='-Wl,'
   14750         # All Alpha code is PIC.
   14751         lt_prog_compiler_static_F77='-non_shared'
   14752         ;;
   14753       *)
   14754         case `$CC -V 2>&1 | sed 5q` in
   14755 	*Sun\ C*)
   14756 	  # Sun C 5.9
   14757 	  lt_prog_compiler_pic_F77='-KPIC'
   14758 	  lt_prog_compiler_static_F77='-Bstatic'
   14759 	  lt_prog_compiler_wl_F77='-Wl,'
   14760 	  ;;
   14761 	*Sun\ F*)
   14762 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14763 	  lt_prog_compiler_pic_F77='-KPIC'
   14764 	  lt_prog_compiler_static_F77='-Bstatic'
   14765 	  lt_prog_compiler_wl_F77=''
   14766 	  ;;
   14767 	esac
   14768 	;;
   14769       esac
   14770       ;;
   14771 
   14772     osf3* | osf4* | osf5*)
   14773       lt_prog_compiler_wl_F77='-Wl,'
   14774       # All OSF/1 code is PIC.
   14775       lt_prog_compiler_static_F77='-non_shared'
   14776       ;;
   14777 
   14778     rdos*)
   14779       lt_prog_compiler_static_F77='-non_shared'
   14780       ;;
   14781 
   14782     solaris*)
   14783       lt_prog_compiler_pic_F77='-KPIC'
   14784       lt_prog_compiler_static_F77='-Bstatic'
   14785       case $cc_basename in
   14786       f77* | f90* | f95*)
   14787 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14788       *)
   14789 	lt_prog_compiler_wl_F77='-Wl,';;
   14790       esac
   14791       ;;
   14792 
   14793     sunos4*)
   14794       lt_prog_compiler_wl_F77='-Qoption ld '
   14795       lt_prog_compiler_pic_F77='-PIC'
   14796       lt_prog_compiler_static_F77='-Bstatic'
   14797       ;;
   14798 
   14799     sysv4 | sysv4.2uw2* | sysv4.3*)
   14800       lt_prog_compiler_wl_F77='-Wl,'
   14801       lt_prog_compiler_pic_F77='-KPIC'
   14802       lt_prog_compiler_static_F77='-Bstatic'
   14803       ;;
   14804 
   14805     sysv4*MP*)
   14806       if test -d /usr/nec ;then
   14807 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14808 	lt_prog_compiler_static_F77='-Bstatic'
   14809       fi
   14810       ;;
   14811 
   14812     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14813       lt_prog_compiler_wl_F77='-Wl,'
   14814       lt_prog_compiler_pic_F77='-KPIC'
   14815       lt_prog_compiler_static_F77='-Bstatic'
   14816       ;;
   14817 
   14818     unicos*)
   14819       lt_prog_compiler_wl_F77='-Wl,'
   14820       lt_prog_compiler_can_build_shared_F77=no
   14821       ;;
   14822 
   14823     uts4*)
   14824       lt_prog_compiler_pic_F77='-pic'
   14825       lt_prog_compiler_static_F77='-Bstatic'
   14826       ;;
   14827 
   14828     *)
   14829       lt_prog_compiler_can_build_shared_F77=no
   14830       ;;
   14831     esac
   14832   fi
   14833 
   14834 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14835 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14836 
   14837 #
   14838 # Check to make sure the PIC flag actually works.
   14839 #
   14840 if test -n "$lt_prog_compiler_pic_F77"; then
   14841 
   14842 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14843 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14844 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14845   $as_echo_n "(cached) " >&6
   14846 else
   14847   lt_cv_prog_compiler_pic_works_F77=no
   14848   ac_outfile=conftest.$ac_objext
   14849    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14850    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14851    # Insert the option either (1) after the last *FLAGS variable, or
   14852    # (2) before a word containing "conftest.", or (3) at the end.
   14853    # Note that $ac_compile itself does not contain backslashes and begins
   14854    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14855    # The option is referenced via a variable to avoid confusing sed.
   14856    lt_compile=`echo "$ac_compile" | $SED \
   14857    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14858    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14859    -e 's:$: $lt_compiler_flag:'`
   14860    (eval echo "\"\$as_me:14860: $lt_compile\"" >&5)
   14861    (eval "$lt_compile" 2>conftest.err)
   14862    ac_status=$?
   14863    cat conftest.err >&5
   14864    echo "$as_me:14864: \$? = $ac_status" >&5
   14865    if (exit $ac_status) && test -s "$ac_outfile"; then
   14866      # The compiler can only warn and ignore the option if not recognized
   14867      # So say no if there are warnings other than the usual output.
   14868      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14869      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14870      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14871        lt_cv_prog_compiler_pic_works_F77=yes
   14872      fi
   14873    fi
   14874    $rm conftest*
   14875 
   14876 fi
   14877 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14878 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14879 
   14880 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14881     case $lt_prog_compiler_pic_F77 in
   14882      "" | " "*) ;;
   14883      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14884      esac
   14885 else
   14886     lt_prog_compiler_pic_F77=
   14887      lt_prog_compiler_can_build_shared_F77=no
   14888 fi
   14889 
   14890 fi
   14891 case $host_os in
   14892   # For platforms which do not support PIC, -DPIC is meaningless:
   14893   *djgpp*)
   14894     lt_prog_compiler_pic_F77=
   14895     ;;
   14896   *)
   14897     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14898     ;;
   14899 esac
   14900 
   14901 #
   14902 # Check to make sure the static flag actually works.
   14903 #
   14904 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14905 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14906 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14907 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14908   $as_echo_n "(cached) " >&6
   14909 else
   14910   lt_cv_prog_compiler_static_works_F77=no
   14911    save_LDFLAGS="$LDFLAGS"
   14912    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14913    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14914    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14915      # The linker can only warn and ignore the option if not recognized
   14916      # So say no if there are warnings
   14917      if test -s conftest.err; then
   14918        # Append any errors to the config.log.
   14919        cat conftest.err 1>&5
   14920        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14921        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14922        if diff conftest.exp conftest.er2 >/dev/null; then
   14923          lt_cv_prog_compiler_static_works_F77=yes
   14924        fi
   14925      else
   14926        lt_cv_prog_compiler_static_works_F77=yes
   14927      fi
   14928    fi
   14929    $rm -r conftest*
   14930    LDFLAGS="$save_LDFLAGS"
   14931 
   14932 fi
   14933 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14934 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14935 
   14936 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14937     :
   14938 else
   14939     lt_prog_compiler_static_F77=
   14940 fi
   14941 
   14942 
   14943 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14944 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14945 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14946   $as_echo_n "(cached) " >&6
   14947 else
   14948   lt_cv_prog_compiler_c_o_F77=no
   14949    $rm -r conftest 2>/dev/null
   14950    mkdir conftest
   14951    cd conftest
   14952    mkdir out
   14953    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14954 
   14955    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14956    # Insert the option either (1) after the last *FLAGS variable, or
   14957    # (2) before a word containing "conftest.", or (3) at the end.
   14958    # Note that $ac_compile itself does not contain backslashes and begins
   14959    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14960    lt_compile=`echo "$ac_compile" | $SED \
   14961    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14962    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14963    -e 's:$: $lt_compiler_flag:'`
   14964    (eval echo "\"\$as_me:14964: $lt_compile\"" >&5)
   14965    (eval "$lt_compile" 2>out/conftest.err)
   14966    ac_status=$?
   14967    cat out/conftest.err >&5
   14968    echo "$as_me:14968: \$? = $ac_status" >&5
   14969    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14970    then
   14971      # The compiler can only warn and ignore the option if not recognized
   14972      # So say no if there are warnings
   14973      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14974      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14975      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14976        lt_cv_prog_compiler_c_o_F77=yes
   14977      fi
   14978    fi
   14979    chmod u+w . 2>&5
   14980    $rm conftest*
   14981    # SGI C++ compiler will create directory out/ii_files/ for
   14982    # template instantiation
   14983    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14984    $rm out/* && rmdir out
   14985    cd ..
   14986    rmdir conftest
   14987    $rm conftest*
   14988 
   14989 fi
   14990 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14991 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14992 
   14993 
   14994 hard_links="nottested"
   14995 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14996   # do not overwrite the value of need_locks provided by the user
   14997   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14998 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14999   hard_links=yes
   15000   $rm conftest*
   15001   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15002   touch conftest.a
   15003   ln conftest.a conftest.b 2>&5 || hard_links=no
   15004   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15005   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   15006 $as_echo "$hard_links" >&6; }
   15007   if test "$hard_links" = no; then
   15008     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   15009 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   15010     need_locks=warn
   15011   fi
   15012 else
   15013   need_locks=no
   15014 fi
   15015 
   15016 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15017 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15018 
   15019   runpath_var=
   15020   allow_undefined_flag_F77=
   15021   enable_shared_with_static_runtimes_F77=no
   15022   archive_cmds_F77=
   15023   archive_expsym_cmds_F77=
   15024   old_archive_From_new_cmds_F77=
   15025   old_archive_from_expsyms_cmds_F77=
   15026   export_dynamic_flag_spec_F77=
   15027   whole_archive_flag_spec_F77=
   15028   thread_safe_flag_spec_F77=
   15029   hardcode_libdir_flag_spec_F77=
   15030   hardcode_libdir_flag_spec_ld_F77=
   15031   hardcode_libdir_separator_F77=
   15032   hardcode_direct_F77=no
   15033   hardcode_minus_L_F77=no
   15034   hardcode_shlibpath_var_F77=unsupported
   15035   link_all_deplibs_F77=unknown
   15036   hardcode_automatic_F77=no
   15037   module_cmds_F77=
   15038   module_expsym_cmds_F77=
   15039   always_export_symbols_F77=no
   15040   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15041   # include_expsyms should be a list of space-separated symbols to be *always*
   15042   # included in the symbol list
   15043   include_expsyms_F77=
   15044   # exclude_expsyms can be an extended regexp of symbols to exclude
   15045   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   15046   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   15047   # as well as any symbol that contains `d'.
   15048   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15049   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15050   # platforms (ab)use it in PIC code, but their linkers get confused if
   15051   # the symbol is explicitly referenced.  Since portable code cannot
   15052   # rely on this symbol name, it's probably fine to never include it in
   15053   # preloaded symbol tables.
   15054   # Exclude shared library initialization/finalization symbols.
   15055   extract_expsyms_cmds=
   15056   # Just being paranoid about ensuring that cc_basename is set.
   15057   for cc_temp in $compiler""; do
   15058   case $cc_temp in
   15059     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   15060     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   15061     \-*) ;;
   15062     *) break;;
   15063   esac
   15064 done
   15065 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   15066 
   15067   case $host_os in
   15068   cygwin* | mingw* | pw32*)
   15069     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15070     # When not using gcc, we currently assume that we are using
   15071     # Microsoft Visual C++.
   15072     if test "$GCC" != yes; then
   15073       with_gnu_ld=no
   15074     fi
   15075     ;;
   15076   interix*)
   15077     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15078     with_gnu_ld=yes
   15079     ;;
   15080   openbsd*)
   15081     with_gnu_ld=no
   15082     ;;
   15083   esac
   15084 
   15085   ld_shlibs_F77=yes
   15086   if test "$with_gnu_ld" = yes; then
   15087     # If archive_cmds runs LD, not CC, wlarc should be empty
   15088     wlarc='${wl}'
   15089 
   15090     # Set some defaults for GNU ld with shared library support. These
   15091     # are reset later if shared libraries are not supported. Putting them
   15092     # here allows them to be overridden if necessary.
   15093     runpath_var=LD_RUN_PATH
   15094     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   15095     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   15096     # ancient GNU ld didn't support --whole-archive et. al.
   15097     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   15098 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   15099       else
   15100   	whole_archive_flag_spec_F77=
   15101     fi
   15102     supports_anon_versioning=no
   15103     case `$LD -v 2>/dev/null` in
   15104       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15105       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15106       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15107       *\ 2.11.*) ;; # other 2.11 versions
   15108       *) supports_anon_versioning=yes ;;
   15109     esac
   15110 
   15111     # See if GNU ld supports shared libraries.
   15112     case $host_os in
   15113     aix[3-9]*)
   15114       # On AIX/PPC, the GNU linker is very broken
   15115       if test "$host_cpu" != ia64; then
   15116 	ld_shlibs_F77=no
   15117 	cat <<EOF 1>&2
   15118 
   15119 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   15120 *** to be unable to reliably create shared libraries on AIX.
   15121 *** Therefore, libtool is disabling shared libraries support.  If you
   15122 *** really care for shared libraries, you may want to modify your PATH
   15123 *** so that a non-GNU linker is found, and then restart.
   15124 
   15125 EOF
   15126       fi
   15127       ;;
   15128 
   15129     amigaos*)
   15130       archive_cmds_F77='$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)'
   15131       hardcode_libdir_flag_spec_F77='-L$libdir'
   15132       hardcode_minus_L_F77=yes
   15133 
   15134       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   15135       # that the semantics of dynamic libraries on AmigaOS, at least up
   15136       # to version 4, is to share data among multiple programs linked
   15137       # with the same dynamic library.  Since this doesn't match the
   15138       # behavior of shared libraries on other platforms, we can't use
   15139       # them.
   15140       ld_shlibs_F77=no
   15141       ;;
   15142 
   15143     beos*)
   15144       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15145 	allow_undefined_flag_F77=unsupported
   15146 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15147 	# support --undefined.  This deserves some investigation.  FIXME
   15148 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15149       else
   15150 	ld_shlibs_F77=no
   15151       fi
   15152       ;;
   15153 
   15154     cygwin* | mingw* | pw32*)
   15155       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   15156       # as there is no search path for DLLs.
   15157       hardcode_libdir_flag_spec_F77='-L$libdir'
   15158       allow_undefined_flag_F77=unsupported
   15159       always_export_symbols_F77=no
   15160       enable_shared_with_static_runtimes_F77=yes
   15161       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15162 
   15163       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   15164         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15165 	# If the export-symbols file already is a .def file (1st line
   15166 	# is EXPORTS), use it as is; otherwise, prepend...
   15167 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15168 	  cp $export_symbols $output_objdir/$soname.def;
   15169 	else
   15170 	  echo EXPORTS > $output_objdir/$soname.def;
   15171 	  cat $export_symbols >> $output_objdir/$soname.def;
   15172 	fi~
   15173 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15174       else
   15175 	ld_shlibs_F77=no
   15176       fi
   15177       ;;
   15178 
   15179     interix[3-9]*)
   15180       hardcode_direct_F77=no
   15181       hardcode_shlibpath_var_F77=no
   15182       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15183       export_dynamic_flag_spec_F77='${wl}-E'
   15184       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15185       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15186       # default) and relocated if they conflict, which is a slow very memory
   15187       # consuming and fragmenting process.  To avoid this, we pick a random,
   15188       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15189       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15190       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15191       archive_expsym_cmds_F77='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'
   15192       ;;
   15193 
   15194     gnu* | linux* | k*bsd*-gnu)
   15195       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15196 	tmp_addflag=
   15197 	case $cc_basename,$host_cpu in
   15198 	pgcc*)				# Portland Group C compiler
   15199 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   15200 	  tmp_addflag=' $pic_flag'
   15201 	  ;;
   15202 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   15203 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   15204 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15205 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15206 	  tmp_addflag=' -i_dynamic' ;;
   15207 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15208 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15209 	ifc* | ifort*)			# Intel Fortran compiler
   15210 	  tmp_addflag=' -nofor_main' ;;
   15211 	esac
   15212 	case `$CC -V 2>&1 | sed 5q` in
   15213 	*Sun\ C*)			# Sun C 5.9
   15214 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   15215 	  tmp_sharedflag='-G' ;;
   15216 	*Sun\ F*)			# Sun Fortran 8.3
   15217 	  tmp_sharedflag='-G' ;;
   15218 	*)
   15219 	  tmp_sharedflag='-shared' ;;
   15220 	esac
   15221 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15222 
   15223 	if test $supports_anon_versioning = yes; then
   15224 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15225   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15226   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15227 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15228 	fi
   15229       else
   15230 	ld_shlibs_F77=no
   15231       fi
   15232       ;;
   15233 
   15234     netbsd*)
   15235       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15236 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15237 	wlarc=
   15238       else
   15239 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15240 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15241       fi
   15242       ;;
   15243 
   15244     solaris*)
   15245       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15246 	ld_shlibs_F77=no
   15247 	cat <<EOF 1>&2
   15248 
   15249 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15250 *** create shared libraries on Solaris systems.  Therefore, libtool
   15251 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15252 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15253 *** your PATH or compiler configuration so that the native linker is
   15254 *** used, and then restart.
   15255 
   15256 EOF
   15257       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15258 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15259 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15260       else
   15261 	ld_shlibs_F77=no
   15262       fi
   15263       ;;
   15264 
   15265     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15266       case `$LD -v 2>&1` in
   15267         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15268 	ld_shlibs_F77=no
   15269 	cat <<_LT_EOF 1>&2
   15270 
   15271 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15272 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15273 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15274 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15275 *** your PATH or compiler configuration so that the native linker is
   15276 *** used, and then restart.
   15277 
   15278 _LT_EOF
   15279 	;;
   15280 	*)
   15281 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15282 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15283 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15284 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15285 	  else
   15286 	    ld_shlibs_F77=no
   15287 	  fi
   15288 	;;
   15289       esac
   15290       ;;
   15291 
   15292     sunos4*)
   15293       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15294       wlarc=
   15295       hardcode_direct_F77=yes
   15296       hardcode_shlibpath_var_F77=no
   15297       ;;
   15298 
   15299     *)
   15300       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15301 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15302 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15303       else
   15304 	ld_shlibs_F77=no
   15305       fi
   15306       ;;
   15307     esac
   15308 
   15309     if test "$ld_shlibs_F77" = no; then
   15310       runpath_var=
   15311       hardcode_libdir_flag_spec_F77=
   15312       export_dynamic_flag_spec_F77=
   15313       whole_archive_flag_spec_F77=
   15314     fi
   15315   else
   15316     # PORTME fill in a description of your system's linker (not GNU ld)
   15317     case $host_os in
   15318     aix3*)
   15319       allow_undefined_flag_F77=unsupported
   15320       always_export_symbols_F77=yes
   15321       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   15322       # Note: this linker hardcodes the directories in LIBPATH if there
   15323       # are no directories specified by -L.
   15324       hardcode_minus_L_F77=yes
   15325       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15326 	# Neither direct hardcoding nor static linking is supported with a
   15327 	# broken collect2.
   15328 	hardcode_direct_F77=unsupported
   15329       fi
   15330       ;;
   15331 
   15332     aix[4-9]*)
   15333       if test "$host_cpu" = ia64; then
   15334 	# On IA64, the linker does run time linking by default, so we don't
   15335 	# have to do anything special.
   15336 	aix_use_runtimelinking=no
   15337 	exp_sym_flag='-Bexport'
   15338 	no_entry_flag=""
   15339       else
   15340 	# If we're using GNU nm, then we don't want the "-C" option.
   15341 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15342 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15343 	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15344 	else
   15345 	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15346 	fi
   15347 	aix_use_runtimelinking=no
   15348 
   15349 	# Test if we are trying to use run time linking or normal
   15350 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15351 	# need to do runtime linking.
   15352 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15353 	  for ld_flag in $LDFLAGS; do
   15354   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15355   	    aix_use_runtimelinking=yes
   15356   	    break
   15357   	  fi
   15358 	  done
   15359 	  ;;
   15360 	esac
   15361 
   15362 	exp_sym_flag='-bexport'
   15363 	no_entry_flag='-bnoentry'
   15364       fi
   15365 
   15366       # When large executables or shared objects are built, AIX ld can
   15367       # have problems creating the table of contents.  If linking a library
   15368       # or program results in "error TOC overflow" add -mminimal-toc to
   15369       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15370       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15371 
   15372       archive_cmds_F77=''
   15373       hardcode_direct_F77=yes
   15374       hardcode_libdir_separator_F77=':'
   15375       link_all_deplibs_F77=yes
   15376 
   15377       if test "$GCC" = yes; then
   15378 	case $host_os in aix4.[012]|aix4.[012].*)
   15379 	# We only want to do this on AIX 4.2 and lower, the check
   15380 	# below for broken collect2 doesn't work under 4.3+
   15381 	  collect2name=`${CC} -print-prog-name=collect2`
   15382 	  if test -f "$collect2name" && \
   15383   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15384 	  then
   15385   	  # We have reworked collect2
   15386   	  :
   15387 	  else
   15388   	  # We have old collect2
   15389   	  hardcode_direct_F77=unsupported
   15390   	  # It fails to find uninstalled libraries when the uninstalled
   15391   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15392   	  # to unsupported forces relinking
   15393   	  hardcode_minus_L_F77=yes
   15394   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15395   	  hardcode_libdir_separator_F77=
   15396 	  fi
   15397 	  ;;
   15398 	esac
   15399 	shared_flag='-shared'
   15400 	if test "$aix_use_runtimelinking" = yes; then
   15401 	  shared_flag="$shared_flag "'${wl}-G'
   15402 	fi
   15403       else
   15404 	# not using gcc
   15405 	if test "$host_cpu" = ia64; then
   15406   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15407   	# chokes on -Wl,-G. The following line is correct:
   15408 	  shared_flag='-G'
   15409 	else
   15410 	  if test "$aix_use_runtimelinking" = yes; then
   15411 	    shared_flag='${wl}-G'
   15412 	  else
   15413 	    shared_flag='${wl}-bM:SRE'
   15414 	  fi
   15415 	fi
   15416       fi
   15417 
   15418       # It seems that -bexpall does not export symbols beginning with
   15419       # underscore (_), so it is better to generate a list of symbols to export.
   15420       always_export_symbols_F77=yes
   15421       if test "$aix_use_runtimelinking" = yes; then
   15422 	# Warning - without using the other runtime loading flags (-brtl),
   15423 	# -berok will link without error, but may produce a broken library.
   15424 	allow_undefined_flag_F77='-berok'
   15425        # Determine the default libpath from the value encoded in an empty executable.
   15426        cat >conftest.$ac_ext <<_ACEOF
   15427       program main
   15428 
   15429       end
   15430 _ACEOF
   15431 rm -f conftest.$ac_objext conftest$ac_exeext
   15432 if { (ac_try="$ac_link"
   15433 case "(($ac_try" in
   15434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15435   *) ac_try_echo=$ac_try;;
   15436 esac
   15437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15438 $as_echo "$ac_try_echo") >&5
   15439   (eval "$ac_link") 2>conftest.er1
   15440   ac_status=$?
   15441   grep -v '^ *+' conftest.er1 >conftest.err
   15442   rm -f conftest.er1
   15443   cat conftest.err >&5
   15444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15445   (exit $ac_status); } && {
   15446 	 test -z "$ac_f77_werror_flag" ||
   15447 	 test ! -s conftest.err
   15448        } && test -s conftest$ac_exeext && {
   15449 	 test "$cross_compiling" = yes ||
   15450 	 $as_test_x conftest$ac_exeext
   15451        }; then
   15452 
   15453 lt_aix_libpath_sed='
   15454     /Import File Strings/,/^$/ {
   15455 	/^0/ {
   15456 	    s/^0  *\(.*\)$/\1/
   15457 	    p
   15458 	}
   15459     }'
   15460 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15461 # Check for a 64-bit object if we didn't find anything.
   15462 if test -z "$aix_libpath"; then
   15463   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15464 fi
   15465 else
   15466   $as_echo "$as_me: failed program was:" >&5
   15467 sed 's/^/| /' conftest.$ac_ext >&5
   15468 
   15469 
   15470 fi
   15471 
   15472 rm -rf conftest.dSYM
   15473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15474       conftest$ac_exeext conftest.$ac_ext
   15475 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15476 
   15477        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15478 	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   15479        else
   15480 	if test "$host_cpu" = ia64; then
   15481 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15482 	  allow_undefined_flag_F77="-z nodefs"
   15483 	  archive_expsym_cmds_F77="\$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"
   15484 	else
   15485 	 # Determine the default libpath from the value encoded in an empty executable.
   15486 	 cat >conftest.$ac_ext <<_ACEOF
   15487       program main
   15488 
   15489       end
   15490 _ACEOF
   15491 rm -f conftest.$ac_objext conftest$ac_exeext
   15492 if { (ac_try="$ac_link"
   15493 case "(($ac_try" in
   15494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15495   *) ac_try_echo=$ac_try;;
   15496 esac
   15497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15498 $as_echo "$ac_try_echo") >&5
   15499   (eval "$ac_link") 2>conftest.er1
   15500   ac_status=$?
   15501   grep -v '^ *+' conftest.er1 >conftest.err
   15502   rm -f conftest.er1
   15503   cat conftest.err >&5
   15504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15505   (exit $ac_status); } && {
   15506 	 test -z "$ac_f77_werror_flag" ||
   15507 	 test ! -s conftest.err
   15508        } && test -s conftest$ac_exeext && {
   15509 	 test "$cross_compiling" = yes ||
   15510 	 $as_test_x conftest$ac_exeext
   15511        }; then
   15512 
   15513 lt_aix_libpath_sed='
   15514     /Import File Strings/,/^$/ {
   15515 	/^0/ {
   15516 	    s/^0  *\(.*\)$/\1/
   15517 	    p
   15518 	}
   15519     }'
   15520 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15521 # Check for a 64-bit object if we didn't find anything.
   15522 if test -z "$aix_libpath"; then
   15523   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15524 fi
   15525 else
   15526   $as_echo "$as_me: failed program was:" >&5
   15527 sed 's/^/| /' conftest.$ac_ext >&5
   15528 
   15529 
   15530 fi
   15531 
   15532 rm -rf conftest.dSYM
   15533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15534       conftest$ac_exeext conftest.$ac_ext
   15535 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15536 
   15537 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15538 	  # Warning - without using the other run time loading flags,
   15539 	  # -berok will link without error, but may produce a broken library.
   15540 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15541 	  allow_undefined_flag_F77=' ${wl}-berok'
   15542 	  # Exported symbols can be pulled into shared objects from archives
   15543 	  whole_archive_flag_spec_F77='$convenience'
   15544 	  archive_cmds_need_lc_F77=yes
   15545 	  # This is similar to how AIX traditionally builds its shared libraries.
   15546 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   15547 	fi
   15548       fi
   15549       ;;
   15550 
   15551     amigaos*)
   15552       archive_cmds_F77='$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)'
   15553       hardcode_libdir_flag_spec_F77='-L$libdir'
   15554       hardcode_minus_L_F77=yes
   15555       # see comment about different semantics on the GNU ld section
   15556       ld_shlibs_F77=no
   15557       ;;
   15558 
   15559     bsdi[45]*)
   15560       export_dynamic_flag_spec_F77=-rdynamic
   15561       ;;
   15562 
   15563     cygwin* | mingw* | pw32*)
   15564       # When not using gcc, we currently assume that we are using
   15565       # Microsoft Visual C++.
   15566       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15567       # no search path for DLLs.
   15568       hardcode_libdir_flag_spec_F77=' '
   15569       allow_undefined_flag_F77=unsupported
   15570       # Tell ltmain to make .lib files, not .a files.
   15571       libext=lib
   15572       # Tell ltmain to make .dll files, not .so files.
   15573       shrext_cmds=".dll"
   15574       # FIXME: Setting linknames here is a bad hack.
   15575       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15576       # The linker will automatically build a .lib file if we build a DLL.
   15577       old_archive_From_new_cmds_F77='true'
   15578       # FIXME: Should let the user specify the lib program.
   15579       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15580       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15581       enable_shared_with_static_runtimes_F77=yes
   15582       ;;
   15583 
   15584     darwin* | rhapsody*)
   15585       case $host_os in
   15586         rhapsody* | darwin1.[012])
   15587          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15588          ;;
   15589        *) # Darwin 1.3 on
   15590          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15591            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15592          else
   15593            case ${MACOSX_DEPLOYMENT_TARGET} in
   15594              10.[012])
   15595                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15596                ;;
   15597              10.*)
   15598                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15599                ;;
   15600            esac
   15601          fi
   15602          ;;
   15603       esac
   15604       archive_cmds_need_lc_F77=no
   15605       hardcode_direct_F77=no
   15606       hardcode_automatic_F77=yes
   15607       hardcode_shlibpath_var_F77=unsupported
   15608       whole_archive_flag_spec_F77=''
   15609       link_all_deplibs_F77=yes
   15610     if test "$GCC" = yes ; then
   15611     	output_verbose_link_cmd='echo'
   15612         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15613         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15614         archive_expsym_cmds_F77="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}"
   15615         module_expsym_cmds_F77="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}"
   15616     else
   15617       case $cc_basename in
   15618         xlc*)
   15619          output_verbose_link_cmd='echo'
   15620          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15621          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15622           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15623          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15624           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15625           ;;
   15626        *)
   15627          ld_shlibs_F77=no
   15628           ;;
   15629       esac
   15630     fi
   15631       ;;
   15632 
   15633     dgux*)
   15634       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15635       hardcode_libdir_flag_spec_F77='-L$libdir'
   15636       hardcode_shlibpath_var_F77=no
   15637       ;;
   15638 
   15639     freebsd1*)
   15640       ld_shlibs_F77=no
   15641       ;;
   15642 
   15643     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15644     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15645     # does not break anything, and helps significantly (at the cost of a little
   15646     # extra space).
   15647     freebsd2.2*)
   15648       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15649       hardcode_libdir_flag_spec_F77='-R$libdir'
   15650       hardcode_direct_F77=yes
   15651       hardcode_shlibpath_var_F77=no
   15652       ;;
   15653 
   15654     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15655     freebsd2*)
   15656       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15657       hardcode_direct_F77=yes
   15658       hardcode_minus_L_F77=yes
   15659       hardcode_shlibpath_var_F77=no
   15660       ;;
   15661 
   15662     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15663     freebsd* | dragonfly*)
   15664       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15665       hardcode_libdir_flag_spec_F77='-R$libdir'
   15666       hardcode_direct_F77=yes
   15667       hardcode_shlibpath_var_F77=no
   15668       ;;
   15669 
   15670     hpux9*)
   15671       if test "$GCC" = yes; then
   15672 	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15673       else
   15674 	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15675       fi
   15676       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15677       hardcode_libdir_separator_F77=:
   15678       hardcode_direct_F77=yes
   15679 
   15680       # hardcode_minus_L: Not really in the search PATH,
   15681       # but as the default location of the library.
   15682       hardcode_minus_L_F77=yes
   15683       export_dynamic_flag_spec_F77='${wl}-E'
   15684       ;;
   15685 
   15686     hpux10*)
   15687       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15688 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15689       else
   15690 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15691       fi
   15692       if test "$with_gnu_ld" = no; then
   15693 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15694 	hardcode_libdir_separator_F77=:
   15695 
   15696 	hardcode_direct_F77=yes
   15697 	export_dynamic_flag_spec_F77='${wl}-E'
   15698 
   15699 	# hardcode_minus_L: Not really in the search PATH,
   15700 	# but as the default location of the library.
   15701 	hardcode_minus_L_F77=yes
   15702       fi
   15703       ;;
   15704 
   15705     hpux11*)
   15706       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15707 	case $host_cpu in
   15708 	hppa*64*)
   15709 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15710 	  ;;
   15711 	ia64*)
   15712 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15713 	  ;;
   15714 	*)
   15715 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15716 	  ;;
   15717 	esac
   15718       else
   15719 	case $host_cpu in
   15720 	hppa*64*)
   15721 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15722 	  ;;
   15723 	ia64*)
   15724 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15725 	  ;;
   15726 	*)
   15727 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15728 	  ;;
   15729 	esac
   15730       fi
   15731       if test "$with_gnu_ld" = no; then
   15732 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15733 	hardcode_libdir_separator_F77=:
   15734 
   15735 	case $host_cpu in
   15736 	hppa*64*|ia64*)
   15737 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15738 	  hardcode_direct_F77=no
   15739 	  hardcode_shlibpath_var_F77=no
   15740 	  ;;
   15741 	*)
   15742 	  hardcode_direct_F77=yes
   15743 	  export_dynamic_flag_spec_F77='${wl}-E'
   15744 
   15745 	  # hardcode_minus_L: Not really in the search PATH,
   15746 	  # but as the default location of the library.
   15747 	  hardcode_minus_L_F77=yes
   15748 	  ;;
   15749 	esac
   15750       fi
   15751       ;;
   15752 
   15753     irix5* | irix6* | nonstopux*)
   15754       if test "$GCC" = yes; then
   15755 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15756       else
   15757 	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15758 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15759       fi
   15760       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15761       hardcode_libdir_separator_F77=:
   15762       link_all_deplibs_F77=yes
   15763       ;;
   15764 
   15765     netbsd*)
   15766       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15767 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15768       else
   15769 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15770       fi
   15771       hardcode_libdir_flag_spec_F77='-R$libdir'
   15772       hardcode_direct_F77=yes
   15773       hardcode_shlibpath_var_F77=no
   15774       ;;
   15775 
   15776     newsos6)
   15777       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15778       hardcode_direct_F77=yes
   15779       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15780       hardcode_libdir_separator_F77=:
   15781       hardcode_shlibpath_var_F77=no
   15782       ;;
   15783 
   15784     openbsd*)
   15785       if test -f /usr/libexec/ld.so; then
   15786 	hardcode_direct_F77=yes
   15787 	hardcode_shlibpath_var_F77=no
   15788 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15789 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15790 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15791 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15792 	  export_dynamic_flag_spec_F77='${wl}-E'
   15793 	else
   15794 	  case $host_os in
   15795 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15796 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15797 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15798 	     ;;
   15799 	   *)
   15800 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15801 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15802 	     ;;
   15803 	  esac
   15804         fi
   15805       else
   15806 	ld_shlibs_F77=no
   15807       fi
   15808       ;;
   15809 
   15810     os2*)
   15811       hardcode_libdir_flag_spec_F77='-L$libdir'
   15812       hardcode_minus_L_F77=yes
   15813       allow_undefined_flag_F77=unsupported
   15814       archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   15815       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15816       ;;
   15817 
   15818     osf3*)
   15819       if test "$GCC" = yes; then
   15820 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15821 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15822       else
   15823 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15824 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15825       fi
   15826       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15827       hardcode_libdir_separator_F77=:
   15828       ;;
   15829 
   15830     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15831       if test "$GCC" = yes; then
   15832 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15833 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15834 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15835       else
   15836 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15837 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15838 	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   15839 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   15840 
   15841 	# Both c and cxx compiler support -rpath directly
   15842 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15843       fi
   15844       hardcode_libdir_separator_F77=:
   15845       ;;
   15846 
   15847     solaris*)
   15848       no_undefined_flag_F77=' -z text'
   15849       if test "$GCC" = yes; then
   15850 	wlarc='${wl}'
   15851 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15852 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15853 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15854       else
   15855 	wlarc=''
   15856 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15857 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15858   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15859       fi
   15860       hardcode_libdir_flag_spec_F77='-R$libdir'
   15861       hardcode_shlibpath_var_F77=no
   15862       case $host_os in
   15863       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15864       *)
   15865 	# The compiler driver will combine and reorder linker options,
   15866 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15867 	# but is careful enough not to reorder.
   15868  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15869 	if test "$GCC" = yes; then
   15870 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15871 	else
   15872 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15873 	fi
   15874 	;;
   15875       esac
   15876       link_all_deplibs_F77=yes
   15877       ;;
   15878 
   15879     sunos4*)
   15880       if test "x$host_vendor" = xsequent; then
   15881 	# Use $CC to link under sequent, because it throws in some extra .o
   15882 	# files that make .init and .fini sections work.
   15883 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15884       else
   15885 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15886       fi
   15887       hardcode_libdir_flag_spec_F77='-L$libdir'
   15888       hardcode_direct_F77=yes
   15889       hardcode_minus_L_F77=yes
   15890       hardcode_shlibpath_var_F77=no
   15891       ;;
   15892 
   15893     sysv4)
   15894       case $host_vendor in
   15895 	sni)
   15896 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15897 	  hardcode_direct_F77=yes # is this really true???
   15898 	;;
   15899 	siemens)
   15900 	  ## LD is ld it makes a PLAMLIB
   15901 	  ## CC just makes a GrossModule.
   15902 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15903 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15904 	  hardcode_direct_F77=no
   15905         ;;
   15906 	motorola)
   15907 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15908 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15909 	;;
   15910       esac
   15911       runpath_var='LD_RUN_PATH'
   15912       hardcode_shlibpath_var_F77=no
   15913       ;;
   15914 
   15915     sysv4.3*)
   15916       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15917       hardcode_shlibpath_var_F77=no
   15918       export_dynamic_flag_spec_F77='-Bexport'
   15919       ;;
   15920 
   15921     sysv4*MP*)
   15922       if test -d /usr/nec; then
   15923 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15924 	hardcode_shlibpath_var_F77=no
   15925 	runpath_var=LD_RUN_PATH
   15926 	hardcode_runpath_var=yes
   15927 	ld_shlibs_F77=yes
   15928       fi
   15929       ;;
   15930 
   15931     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15932       no_undefined_flag_F77='${wl}-z,text'
   15933       archive_cmds_need_lc_F77=no
   15934       hardcode_shlibpath_var_F77=no
   15935       runpath_var='LD_RUN_PATH'
   15936 
   15937       if test "$GCC" = yes; then
   15938 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15939 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15940       else
   15941 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15942 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15943       fi
   15944       ;;
   15945 
   15946     sysv5* | sco3.2v5* | sco5v6*)
   15947       # Note: We can NOT use -z defs as we might desire, because we do not
   15948       # link with -lc, and that would cause any symbols used from libc to
   15949       # always be unresolved, which means just about no library would
   15950       # ever link correctly.  If we're not using GNU ld we use -z text
   15951       # though, which does catch some bad symbols but isn't as heavy-handed
   15952       # as -z defs.
   15953       no_undefined_flag_F77='${wl}-z,text'
   15954       allow_undefined_flag_F77='${wl}-z,nodefs'
   15955       archive_cmds_need_lc_F77=no
   15956       hardcode_shlibpath_var_F77=no
   15957       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15958       hardcode_libdir_separator_F77=':'
   15959       link_all_deplibs_F77=yes
   15960       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15961       runpath_var='LD_RUN_PATH'
   15962 
   15963       if test "$GCC" = yes; then
   15964 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15965 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15966       else
   15967 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15968 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15969       fi
   15970       ;;
   15971 
   15972     uts4*)
   15973       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15974       hardcode_libdir_flag_spec_F77='-L$libdir'
   15975       hardcode_shlibpath_var_F77=no
   15976       ;;
   15977 
   15978     *)
   15979       ld_shlibs_F77=no
   15980       ;;
   15981     esac
   15982   fi
   15983 
   15984 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15985 $as_echo "$ld_shlibs_F77" >&6; }
   15986 test "$ld_shlibs_F77" = no && can_build_shared=no
   15987 
   15988 #
   15989 # Do we need to explicitly link libc?
   15990 #
   15991 case "x$archive_cmds_need_lc_F77" in
   15992 x|xyes)
   15993   # Assume -lc should be added
   15994   archive_cmds_need_lc_F77=yes
   15995 
   15996   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15997     case $archive_cmds_F77 in
   15998     *'~'*)
   15999       # FIXME: we may have to deal with multi-command sequences.
   16000       ;;
   16001     '$CC '*)
   16002       # Test whether the compiler implicitly links with -lc since on some
   16003       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16004       # to ld, don't add -lc before -lgcc.
   16005       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   16006 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16007       $rm conftest*
   16008       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16009 
   16010       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   16011   (eval $ac_compile) 2>&5
   16012   ac_status=$?
   16013   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16014   (exit $ac_status); } 2>conftest.err; then
   16015         soname=conftest
   16016         lib=conftest
   16017         libobjs=conftest.$ac_objext
   16018         deplibs=
   16019         wl=$lt_prog_compiler_wl_F77
   16020 	pic_flag=$lt_prog_compiler_pic_F77
   16021         compiler_flags=-v
   16022         linker_flags=-v
   16023         verstring=
   16024         output_objdir=.
   16025         libname=conftest
   16026         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   16027         allow_undefined_flag_F77=
   16028         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   16029   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16030   ac_status=$?
   16031   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16032   (exit $ac_status); }
   16033         then
   16034 	  archive_cmds_need_lc_F77=no
   16035         else
   16036 	  archive_cmds_need_lc_F77=yes
   16037         fi
   16038         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   16039       else
   16040         cat conftest.err 1>&5
   16041       fi
   16042       $rm conftest*
   16043       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   16044 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   16045       ;;
   16046     esac
   16047   fi
   16048   ;;
   16049 esac
   16050 
   16051 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   16052 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16053 library_names_spec=
   16054 libname_spec='lib$name'
   16055 soname_spec=
   16056 shrext_cmds=".so"
   16057 postinstall_cmds=
   16058 postuninstall_cmds=
   16059 finish_cmds=
   16060 finish_eval=
   16061 shlibpath_var=
   16062 shlibpath_overrides_runpath=unknown
   16063 version_type=none
   16064 dynamic_linker="$host_os ld.so"
   16065 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16066 
   16067 need_lib_prefix=unknown
   16068 hardcode_into_libs=no
   16069 
   16070 # when you set need_version to no, make sure it does not cause -set_version
   16071 # flags to be left without arguments
   16072 need_version=unknown
   16073 
   16074 case $host_os in
   16075 aix3*)
   16076   version_type=linux
   16077   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   16078   shlibpath_var=LIBPATH
   16079 
   16080   # AIX 3 has no versioning support, so we append a major version to the name.
   16081   soname_spec='${libname}${release}${shared_ext}$major'
   16082   ;;
   16083 
   16084 aix[4-9]*)
   16085   version_type=linux
   16086   need_lib_prefix=no
   16087   need_version=no
   16088   hardcode_into_libs=yes
   16089   if test "$host_cpu" = ia64; then
   16090     # AIX 5 supports IA64
   16091     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16092     shlibpath_var=LD_LIBRARY_PATH
   16093   else
   16094     # With GCC up to 2.95.x, collect2 would create an import file
   16095     # for dependence libraries.  The import file would start with
   16096     # the line `#! .'.  This would cause the generated library to
   16097     # depend on `.', always an invalid library.  This was fixed in
   16098     # development snapshots of GCC prior to 3.0.
   16099     case $host_os in
   16100       aix4 | aix4.[01] | aix4.[01].*)
   16101       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16102 	   echo ' yes '
   16103 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   16104 	:
   16105       else
   16106 	can_build_shared=no
   16107       fi
   16108       ;;
   16109     esac
   16110     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16111     # soname into executable. Probably we can add versioning support to
   16112     # collect2, so additional links can be useful in future.
   16113     if test "$aix_use_runtimelinking" = yes; then
   16114       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16115       # instead of lib<name>.a to let people know that these are not
   16116       # typical AIX shared libraries.
   16117       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16118     else
   16119       # We preserve .a as extension for shared libraries through AIX4.2
   16120       # and later when we are not doing run time linking.
   16121       library_names_spec='${libname}${release}.a $libname.a'
   16122       soname_spec='${libname}${release}${shared_ext}$major'
   16123     fi
   16124     shlibpath_var=LIBPATH
   16125   fi
   16126   ;;
   16127 
   16128 amigaos*)
   16129   library_names_spec='$libname.ixlibrary $libname.a'
   16130   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16131   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
   16132   ;;
   16133 
   16134 beos*)
   16135   library_names_spec='${libname}${shared_ext}'
   16136   dynamic_linker="$host_os ld.so"
   16137   shlibpath_var=LIBRARY_PATH
   16138   ;;
   16139 
   16140 bsdi[45]*)
   16141   version_type=linux
   16142   need_version=no
   16143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16144   soname_spec='${libname}${release}${shared_ext}$major'
   16145   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16146   shlibpath_var=LD_LIBRARY_PATH
   16147   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16148   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16149   # the default ld.so.conf also contains /usr/contrib/lib and
   16150   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16151   # libtool to hard-code these into programs
   16152   ;;
   16153 
   16154 cygwin* | mingw* | pw32*)
   16155   version_type=windows
   16156   shrext_cmds=".dll"
   16157   need_version=no
   16158   need_lib_prefix=no
   16159 
   16160   case $GCC,$host_os in
   16161   yes,cygwin* | yes,mingw* | yes,pw32*)
   16162     library_names_spec='$libname.dll.a'
   16163     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16164     postinstall_cmds='base_file=`basename \${file}`~
   16165       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   16166       dldir=$destdir/`dirname \$dlpath`~
   16167       test -d \$dldir || mkdir -p \$dldir~
   16168       $install_prog $dir/$dlname \$dldir/$dlname~
   16169       chmod a+x \$dldir/$dlname'
   16170     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16171       dlpath=$dir/\$dldll~
   16172        $rm \$dlpath'
   16173     shlibpath_overrides_runpath=yes
   16174 
   16175     case $host_os in
   16176     cygwin*)
   16177       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16178       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16179       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   16180       ;;
   16181     mingw*)
   16182       # MinGW DLLs use traditional 'lib' prefix
   16183       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16184       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   16185       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   16186         # It is most probably a Windows format PATH printed by
   16187         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   16188         # path with ; separators, and with drive letters. We can handle the
   16189         # drive letters (cygwin fileutils understands them), so leave them,
   16190         # especially as we might pass files found there to a mingw objdump,
   16191         # which wouldn't understand a cygwinified path. Ahh.
   16192         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16193       else
   16194         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   16195       fi
   16196       ;;
   16197     pw32*)
   16198       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16199       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16200       ;;
   16201     esac
   16202     ;;
   16203 
   16204   *)
   16205     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16206     ;;
   16207   esac
   16208   dynamic_linker='Win32 ld.exe'
   16209   # FIXME: first we should search . and the directory the executable is in
   16210   shlibpath_var=PATH
   16211   ;;
   16212 
   16213 darwin* | rhapsody*)
   16214   dynamic_linker="$host_os dyld"
   16215   version_type=darwin
   16216   need_lib_prefix=no
   16217   need_version=no
   16218   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16219   soname_spec='${libname}${release}${major}$shared_ext'
   16220   shlibpath_overrides_runpath=yes
   16221   shlibpath_var=DYLD_LIBRARY_PATH
   16222   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16223 
   16224   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16225   ;;
   16226 
   16227 dgux*)
   16228   version_type=linux
   16229   need_lib_prefix=no
   16230   need_version=no
   16231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16232   soname_spec='${libname}${release}${shared_ext}$major'
   16233   shlibpath_var=LD_LIBRARY_PATH
   16234   ;;
   16235 
   16236 freebsd1*)
   16237   dynamic_linker=no
   16238   ;;
   16239 
   16240 freebsd* | dragonfly*)
   16241   # DragonFly does not have aout.  When/if they implement a new
   16242   # versioning mechanism, adjust this.
   16243   if test -x /usr/bin/objformat; then
   16244     objformat=`/usr/bin/objformat`
   16245   else
   16246     case $host_os in
   16247     freebsd[123]*) objformat=aout ;;
   16248     *) objformat=elf ;;
   16249     esac
   16250   fi
   16251   version_type=freebsd-$objformat
   16252   case $version_type in
   16253     freebsd-elf*)
   16254       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16255       need_version=no
   16256       need_lib_prefix=no
   16257       ;;
   16258     freebsd-*)
   16259       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16260       need_version=yes
   16261       ;;
   16262   esac
   16263   shlibpath_var=LD_LIBRARY_PATH
   16264   case $host_os in
   16265   freebsd2*)
   16266     shlibpath_overrides_runpath=yes
   16267     ;;
   16268   freebsd3.[01]* | freebsdelf3.[01]*)
   16269     shlibpath_overrides_runpath=yes
   16270     hardcode_into_libs=yes
   16271     ;;
   16272   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16273   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16274     shlibpath_overrides_runpath=no
   16275     hardcode_into_libs=yes
   16276     ;;
   16277   *) # from 4.6 on, and DragonFly
   16278     shlibpath_overrides_runpath=yes
   16279     hardcode_into_libs=yes
   16280     ;;
   16281   esac
   16282   ;;
   16283 
   16284 gnu*)
   16285   version_type=linux
   16286   need_lib_prefix=no
   16287   need_version=no
   16288   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16289   soname_spec='${libname}${release}${shared_ext}$major'
   16290   shlibpath_var=LD_LIBRARY_PATH
   16291   hardcode_into_libs=yes
   16292   ;;
   16293 
   16294 hpux9* | hpux10* | hpux11*)
   16295   # Give a soname corresponding to the major version so that dld.sl refuses to
   16296   # link against other versions.
   16297   version_type=sunos
   16298   need_lib_prefix=no
   16299   need_version=no
   16300   case $host_cpu in
   16301   ia64*)
   16302     shrext_cmds='.so'
   16303     hardcode_into_libs=yes
   16304     dynamic_linker="$host_os dld.so"
   16305     shlibpath_var=LD_LIBRARY_PATH
   16306     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16307     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16308     soname_spec='${libname}${release}${shared_ext}$major'
   16309     if test "X$HPUX_IA64_MODE" = X32; then
   16310       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16311     else
   16312       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16313     fi
   16314     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16315     ;;
   16316    hppa*64*)
   16317      shrext_cmds='.sl'
   16318      hardcode_into_libs=yes
   16319      dynamic_linker="$host_os dld.sl"
   16320      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16321      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16322      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16323      soname_spec='${libname}${release}${shared_ext}$major'
   16324      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16325      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16326      ;;
   16327    *)
   16328     shrext_cmds='.sl'
   16329     dynamic_linker="$host_os dld.sl"
   16330     shlibpath_var=SHLIB_PATH
   16331     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16332     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16333     soname_spec='${libname}${release}${shared_ext}$major'
   16334     ;;
   16335   esac
   16336   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16337   postinstall_cmds='chmod 555 $lib'
   16338   ;;
   16339 
   16340 interix[3-9]*)
   16341   version_type=linux
   16342   need_lib_prefix=no
   16343   need_version=no
   16344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16345   soname_spec='${libname}${release}${shared_ext}$major'
   16346   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16347   shlibpath_var=LD_LIBRARY_PATH
   16348   shlibpath_overrides_runpath=no
   16349   hardcode_into_libs=yes
   16350   ;;
   16351 
   16352 irix5* | irix6* | nonstopux*)
   16353   case $host_os in
   16354     nonstopux*) version_type=nonstopux ;;
   16355     *)
   16356 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16357 		version_type=linux
   16358 	else
   16359 		version_type=irix
   16360 	fi ;;
   16361   esac
   16362   need_lib_prefix=no
   16363   need_version=no
   16364   soname_spec='${libname}${release}${shared_ext}$major'
   16365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16366   case $host_os in
   16367   irix5* | nonstopux*)
   16368     libsuff= shlibsuff=
   16369     ;;
   16370   *)
   16371     case $LD in # libtool.m4 will add one of these switches to LD
   16372     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16373       libsuff= shlibsuff= libmagic=32-bit;;
   16374     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16375       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16376     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16377       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16378     *) libsuff= shlibsuff= libmagic=never-match;;
   16379     esac
   16380     ;;
   16381   esac
   16382   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16383   shlibpath_overrides_runpath=no
   16384   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16385   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16386   hardcode_into_libs=yes
   16387   ;;
   16388 
   16389 # No shared lib support for Linux oldld, aout, or coff.
   16390 linux*oldld* | linux*aout* | linux*coff*)
   16391   dynamic_linker=no
   16392   ;;
   16393 
   16394 # This must be Linux ELF.
   16395 linux* | k*bsd*-gnu)
   16396   version_type=linux
   16397   need_lib_prefix=no
   16398   need_version=no
   16399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16400   soname_spec='${libname}${release}${shared_ext}$major'
   16401   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16402   shlibpath_var=LD_LIBRARY_PATH
   16403   shlibpath_overrides_runpath=no
   16404   # This implies no fast_install, which is unacceptable.
   16405   # Some rework will be needed to allow for fast_install
   16406   # before this can be enabled.
   16407   hardcode_into_libs=yes
   16408 
   16409   # Append ld.so.conf contents to the search path
   16410   if test -f /etc/ld.so.conf; then
   16411     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;/^$/d' | tr '\n' ' '`
   16412     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16413   fi
   16414 
   16415   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16416   # powerpc, because MkLinux only supported shared libraries with the
   16417   # GNU dynamic linker.  Since this was broken with cross compilers,
   16418   # most powerpc-linux boxes support dynamic linking these days and
   16419   # people can always --disable-shared, the test was removed, and we
   16420   # assume the GNU/Linux dynamic linker is in use.
   16421   dynamic_linker='GNU/Linux ld.so'
   16422   ;;
   16423 
   16424 netbsd*)
   16425   version_type=sunos
   16426   need_lib_prefix=no
   16427   need_version=no
   16428   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16429     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16430     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16431     dynamic_linker='NetBSD (a.out) ld.so'
   16432   else
   16433     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16434     soname_spec='${libname}${release}${shared_ext}$major'
   16435     dynamic_linker='NetBSD ld.elf_so'
   16436   fi
   16437   shlibpath_var=LD_LIBRARY_PATH
   16438   shlibpath_overrides_runpath=yes
   16439   hardcode_into_libs=yes
   16440   ;;
   16441 
   16442 newsos6)
   16443   version_type=linux
   16444   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16445   shlibpath_var=LD_LIBRARY_PATH
   16446   shlibpath_overrides_runpath=yes
   16447   ;;
   16448 
   16449 nto-qnx*)
   16450   version_type=linux
   16451   need_lib_prefix=no
   16452   need_version=no
   16453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16454   soname_spec='${libname}${release}${shared_ext}$major'
   16455   shlibpath_var=LD_LIBRARY_PATH
   16456   shlibpath_overrides_runpath=yes
   16457   ;;
   16458 
   16459 openbsd*)
   16460   version_type=sunos
   16461   sys_lib_dlsearch_path_spec="/usr/lib"
   16462   need_lib_prefix=no
   16463   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16464   case $host_os in
   16465     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16466     *)                         need_version=no  ;;
   16467   esac
   16468   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16469   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16470   shlibpath_var=LD_LIBRARY_PATH
   16471   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16472     case $host_os in
   16473       openbsd2.[89] | openbsd2.[89].*)
   16474 	shlibpath_overrides_runpath=no
   16475 	;;
   16476       *)
   16477 	shlibpath_overrides_runpath=yes
   16478 	;;
   16479       esac
   16480   else
   16481     shlibpath_overrides_runpath=yes
   16482   fi
   16483   ;;
   16484 
   16485 os2*)
   16486   libname_spec='$name'
   16487   shrext_cmds=".dll"
   16488   need_lib_prefix=no
   16489   library_names_spec='$libname${shared_ext} $libname.a'
   16490   dynamic_linker='OS/2 ld.exe'
   16491   shlibpath_var=LIBPATH
   16492   ;;
   16493 
   16494 osf3* | osf4* | osf5*)
   16495   version_type=osf
   16496   need_lib_prefix=no
   16497   need_version=no
   16498   soname_spec='${libname}${release}${shared_ext}$major'
   16499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16500   shlibpath_var=LD_LIBRARY_PATH
   16501   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16502   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16503   ;;
   16504 
   16505 rdos*)
   16506   dynamic_linker=no
   16507   ;;
   16508 
   16509 solaris*)
   16510   version_type=linux
   16511   need_lib_prefix=no
   16512   need_version=no
   16513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16514   soname_spec='${libname}${release}${shared_ext}$major'
   16515   shlibpath_var=LD_LIBRARY_PATH
   16516   shlibpath_overrides_runpath=yes
   16517   hardcode_into_libs=yes
   16518   # ldd complains unless libraries are executable
   16519   postinstall_cmds='chmod +x $lib'
   16520   ;;
   16521 
   16522 sunos4*)
   16523   version_type=sunos
   16524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16525   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16526   shlibpath_var=LD_LIBRARY_PATH
   16527   shlibpath_overrides_runpath=yes
   16528   if test "$with_gnu_ld" = yes; then
   16529     need_lib_prefix=no
   16530   fi
   16531   need_version=yes
   16532   ;;
   16533 
   16534 sysv4 | sysv4.3*)
   16535   version_type=linux
   16536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16537   soname_spec='${libname}${release}${shared_ext}$major'
   16538   shlibpath_var=LD_LIBRARY_PATH
   16539   case $host_vendor in
   16540     sni)
   16541       shlibpath_overrides_runpath=no
   16542       need_lib_prefix=no
   16543       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16544       runpath_var=LD_RUN_PATH
   16545       ;;
   16546     siemens)
   16547       need_lib_prefix=no
   16548       ;;
   16549     motorola)
   16550       need_lib_prefix=no
   16551       need_version=no
   16552       shlibpath_overrides_runpath=no
   16553       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16554       ;;
   16555   esac
   16556   ;;
   16557 
   16558 sysv4*MP*)
   16559   if test -d /usr/nec ;then
   16560     version_type=linux
   16561     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16562     soname_spec='$libname${shared_ext}.$major'
   16563     shlibpath_var=LD_LIBRARY_PATH
   16564   fi
   16565   ;;
   16566 
   16567 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16568   version_type=freebsd-elf
   16569   need_lib_prefix=no
   16570   need_version=no
   16571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16572   soname_spec='${libname}${release}${shared_ext}$major'
   16573   shlibpath_var=LD_LIBRARY_PATH
   16574   hardcode_into_libs=yes
   16575   if test "$with_gnu_ld" = yes; then
   16576     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16577     shlibpath_overrides_runpath=no
   16578   else
   16579     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16580     shlibpath_overrides_runpath=yes
   16581     case $host_os in
   16582       sco3.2v5*)
   16583         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16584 	;;
   16585     esac
   16586   fi
   16587   sys_lib_dlsearch_path_spec='/usr/lib'
   16588   ;;
   16589 
   16590 uts4*)
   16591   version_type=linux
   16592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16593   soname_spec='${libname}${release}${shared_ext}$major'
   16594   shlibpath_var=LD_LIBRARY_PATH
   16595   ;;
   16596 
   16597 *)
   16598   dynamic_linker=no
   16599   ;;
   16600 esac
   16601 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16602 $as_echo "$dynamic_linker" >&6; }
   16603 test "$dynamic_linker" = no && can_build_shared=no
   16604 
   16605 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16606   $as_echo_n "(cached) " >&6
   16607 else
   16608   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16609 fi
   16610 
   16611 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16612 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16613   $as_echo_n "(cached) " >&6
   16614 else
   16615   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16616 fi
   16617 
   16618 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16619 
   16620 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16621 if test "$GCC" = yes; then
   16622   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16623 fi
   16624 
   16625 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16626 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16627 hardcode_action_F77=
   16628 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16629    test -n "$runpath_var_F77" || \
   16630    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16631 
   16632   # We can hardcode non-existant directories.
   16633   if test "$hardcode_direct_F77" != no &&
   16634      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16635      # have to relink, otherwise we might link with an installed library
   16636      # when we should be linking with a yet-to-be-installed one
   16637      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16638      test "$hardcode_minus_L_F77" != no; then
   16639     # Linking always hardcodes the temporary library directory.
   16640     hardcode_action_F77=relink
   16641   else
   16642     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16643     hardcode_action_F77=immediate
   16644   fi
   16645 else
   16646   # We cannot hardcode anything, or else we can only hardcode existing
   16647   # directories.
   16648   hardcode_action_F77=unsupported
   16649 fi
   16650 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16651 $as_echo "$hardcode_action_F77" >&6; }
   16652 
   16653 if test "$hardcode_action_F77" = relink; then
   16654   # Fast installation is not supported
   16655   enable_fast_install=no
   16656 elif test "$shlibpath_overrides_runpath" = yes ||
   16657      test "$enable_shared" = no; then
   16658   # Fast installation is not necessary
   16659   enable_fast_install=needless
   16660 fi
   16661 
   16662 
   16663 # The else clause should only fire when bootstrapping the
   16664 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16665 # with your package, and you will get complaints that there are
   16666 # no rules to generate ltmain.sh.
   16667 if test -f "$ltmain"; then
   16668   # See if we are running on zsh, and set the options which allow our commands through
   16669   # without removal of \ escapes.
   16670   if test -n "${ZSH_VERSION+set}" ; then
   16671     setopt NO_GLOB_SUBST
   16672   fi
   16673   # Now quote all the things that may contain metacharacters while being
   16674   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16675   # variables and quote the copies for generation of the libtool script.
   16676   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16677     SED SHELL STRIP \
   16678     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16679     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16680     deplibs_check_method reload_flag reload_cmds need_locks \
   16681     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16682     lt_cv_sys_global_symbol_to_c_name_address \
   16683     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16684     old_postinstall_cmds old_postuninstall_cmds \
   16685     compiler_F77 \
   16686     CC_F77 \
   16687     LD_F77 \
   16688     lt_prog_compiler_wl_F77 \
   16689     lt_prog_compiler_pic_F77 \
   16690     lt_prog_compiler_static_F77 \
   16691     lt_prog_compiler_no_builtin_flag_F77 \
   16692     export_dynamic_flag_spec_F77 \
   16693     thread_safe_flag_spec_F77 \
   16694     whole_archive_flag_spec_F77 \
   16695     enable_shared_with_static_runtimes_F77 \
   16696     old_archive_cmds_F77 \
   16697     old_archive_from_new_cmds_F77 \
   16698     predep_objects_F77 \
   16699     postdep_objects_F77 \
   16700     predeps_F77 \
   16701     postdeps_F77 \
   16702     compiler_lib_search_path_F77 \
   16703     compiler_lib_search_dirs_F77 \
   16704     archive_cmds_F77 \
   16705     archive_expsym_cmds_F77 \
   16706     postinstall_cmds_F77 \
   16707     postuninstall_cmds_F77 \
   16708     old_archive_from_expsyms_cmds_F77 \
   16709     allow_undefined_flag_F77 \
   16710     no_undefined_flag_F77 \
   16711     export_symbols_cmds_F77 \
   16712     hardcode_libdir_flag_spec_F77 \
   16713     hardcode_libdir_flag_spec_ld_F77 \
   16714     hardcode_libdir_separator_F77 \
   16715     hardcode_automatic_F77 \
   16716     module_cmds_F77 \
   16717     module_expsym_cmds_F77 \
   16718     lt_cv_prog_compiler_c_o_F77 \
   16719     fix_srcfile_path_F77 \
   16720     exclude_expsyms_F77 \
   16721     include_expsyms_F77; do
   16722 
   16723     case $var in
   16724     old_archive_cmds_F77 | \
   16725     old_archive_from_new_cmds_F77 | \
   16726     archive_cmds_F77 | \
   16727     archive_expsym_cmds_F77 | \
   16728     module_cmds_F77 | \
   16729     module_expsym_cmds_F77 | \
   16730     old_archive_from_expsyms_cmds_F77 | \
   16731     export_symbols_cmds_F77 | \
   16732     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16733     postinstall_cmds | postuninstall_cmds | \
   16734     old_postinstall_cmds | old_postuninstall_cmds | \
   16735     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16736       # Double-quote double-evaled strings.
   16737       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16738       ;;
   16739     *)
   16740       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16741       ;;
   16742     esac
   16743   done
   16744 
   16745   case $lt_echo in
   16746   *'\$0 --fallback-echo"')
   16747     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16748     ;;
   16749   esac
   16750 
   16751 cfgfile="$ofile"
   16752 
   16753   cat <<__EOF__ >> "$cfgfile"
   16754 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16755 
   16756 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16757 
   16758 # Shell to use when invoking shell scripts.
   16759 SHELL=$lt_SHELL
   16760 
   16761 # Whether or not to build shared libraries.
   16762 build_libtool_libs=$enable_shared
   16763 
   16764 # Whether or not to build static libraries.
   16765 build_old_libs=$enable_static
   16766 
   16767 # Whether or not to add -lc for building shared libraries.
   16768 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16769 
   16770 # Whether or not to disallow shared libs when runtime libs are static
   16771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16772 
   16773 # Whether or not to optimize for fast installation.
   16774 fast_install=$enable_fast_install
   16775 
   16776 # The host system.
   16777 host_alias=$host_alias
   16778 host=$host
   16779 host_os=$host_os
   16780 
   16781 # The build system.
   16782 build_alias=$build_alias
   16783 build=$build
   16784 build_os=$build_os
   16785 
   16786 # An echo program that does not interpret backslashes.
   16787 echo=$lt_echo
   16788 
   16789 # The archiver.
   16790 AR=$lt_AR
   16791 AR_FLAGS=$lt_AR_FLAGS
   16792 
   16793 # A C compiler.
   16794 LTCC=$lt_LTCC
   16795 
   16796 # LTCC compiler flags.
   16797 LTCFLAGS=$lt_LTCFLAGS
   16798 
   16799 # A language-specific compiler.
   16800 CC=$lt_compiler_F77
   16801 
   16802 # Is the compiler the GNU C compiler?
   16803 with_gcc=$GCC_F77
   16804 
   16805 # An ERE matcher.
   16806 EGREP=$lt_EGREP
   16807 
   16808 # The linker used to build libraries.
   16809 LD=$lt_LD_F77
   16810 
   16811 # Whether we need hard or soft links.
   16812 LN_S=$lt_LN_S
   16813 
   16814 # A BSD-compatible nm program.
   16815 NM=$lt_NM
   16816 
   16817 # A symbol stripping program
   16818 STRIP=$lt_STRIP
   16819 
   16820 # Used to examine libraries when file_magic_cmd begins "file"
   16821 MAGIC_CMD=$MAGIC_CMD
   16822 
   16823 # Used on cygwin: DLL creation program.
   16824 DLLTOOL="$DLLTOOL"
   16825 
   16826 # Used on cygwin: object dumper.
   16827 OBJDUMP="$OBJDUMP"
   16828 
   16829 # Used on cygwin: assembler.
   16830 AS="$AS"
   16831 
   16832 # The name of the directory that contains temporary libtool files.
   16833 objdir=$objdir
   16834 
   16835 # How to create reloadable object files.
   16836 reload_flag=$lt_reload_flag
   16837 reload_cmds=$lt_reload_cmds
   16838 
   16839 # How to pass a linker flag through the compiler.
   16840 wl=$lt_lt_prog_compiler_wl_F77
   16841 
   16842 # Object file suffix (normally "o").
   16843 objext="$ac_objext"
   16844 
   16845 # Old archive suffix (normally "a").
   16846 libext="$libext"
   16847 
   16848 # Shared library suffix (normally ".so").
   16849 shrext_cmds='$shrext_cmds'
   16850 
   16851 # Executable file suffix (normally "").
   16852 exeext="$exeext"
   16853 
   16854 # Additional compiler flags for building library objects.
   16855 pic_flag=$lt_lt_prog_compiler_pic_F77
   16856 pic_mode=$pic_mode
   16857 
   16858 # What is the maximum length of a command?
   16859 max_cmd_len=$lt_cv_sys_max_cmd_len
   16860 
   16861 # Does compiler simultaneously support -c and -o options?
   16862 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16863 
   16864 # Must we lock files when doing compilation?
   16865 need_locks=$lt_need_locks
   16866 
   16867 # Do we need the lib prefix for modules?
   16868 need_lib_prefix=$need_lib_prefix
   16869 
   16870 # Do we need a version for libraries?
   16871 need_version=$need_version
   16872 
   16873 # Whether dlopen is supported.
   16874 dlopen_support=$enable_dlopen
   16875 
   16876 # Whether dlopen of programs is supported.
   16877 dlopen_self=$enable_dlopen_self
   16878 
   16879 # Whether dlopen of statically linked programs is supported.
   16880 dlopen_self_static=$enable_dlopen_self_static
   16881 
   16882 # Compiler flag to prevent dynamic linking.
   16883 link_static_flag=$lt_lt_prog_compiler_static_F77
   16884 
   16885 # Compiler flag to turn off builtin functions.
   16886 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16887 
   16888 # Compiler flag to allow reflexive dlopens.
   16889 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16890 
   16891 # Compiler flag to generate shared objects directly from archives.
   16892 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16893 
   16894 # Compiler flag to generate thread-safe objects.
   16895 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16896 
   16897 # Library versioning type.
   16898 version_type=$version_type
   16899 
   16900 # Format of library name prefix.
   16901 libname_spec=$lt_libname_spec
   16902 
   16903 # List of archive names.  First name is the real one, the rest are links.
   16904 # The last name is the one that the linker finds with -lNAME.
   16905 library_names_spec=$lt_library_names_spec
   16906 
   16907 # The coded name of the library, if different from the real name.
   16908 soname_spec=$lt_soname_spec
   16909 
   16910 # Commands used to build and install an old-style archive.
   16911 RANLIB=$lt_RANLIB
   16912 old_archive_cmds=$lt_old_archive_cmds_F77
   16913 old_postinstall_cmds=$lt_old_postinstall_cmds
   16914 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16915 
   16916 # Create an old-style archive from a shared archive.
   16917 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16918 
   16919 # Create a temporary old-style archive to link instead of a shared archive.
   16920 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16921 
   16922 # Commands used to build and install a shared archive.
   16923 archive_cmds=$lt_archive_cmds_F77
   16924 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16925 postinstall_cmds=$lt_postinstall_cmds
   16926 postuninstall_cmds=$lt_postuninstall_cmds
   16927 
   16928 # Commands used to build a loadable module (assumed same as above if empty)
   16929 module_cmds=$lt_module_cmds_F77
   16930 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16931 
   16932 # Commands to strip libraries.
   16933 old_striplib=$lt_old_striplib
   16934 striplib=$lt_striplib
   16935 
   16936 # Dependencies to place before the objects being linked to create a
   16937 # shared library.
   16938 predep_objects=$lt_predep_objects_F77
   16939 
   16940 # Dependencies to place after the objects being linked to create a
   16941 # shared library.
   16942 postdep_objects=$lt_postdep_objects_F77
   16943 
   16944 # Dependencies to place before the objects being linked to create a
   16945 # shared library.
   16946 predeps=$lt_predeps_F77
   16947 
   16948 # Dependencies to place after the objects being linked to create a
   16949 # shared library.
   16950 postdeps=$lt_postdeps_F77
   16951 
   16952 # The directories searched by this compiler when creating a shared
   16953 # library
   16954 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16955 
   16956 # The library search path used internally by the compiler when linking
   16957 # a shared library.
   16958 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16959 
   16960 # Method to check whether dependent libraries are shared objects.
   16961 deplibs_check_method=$lt_deplibs_check_method
   16962 
   16963 # Command to use when deplibs_check_method == file_magic.
   16964 file_magic_cmd=$lt_file_magic_cmd
   16965 
   16966 # Flag that allows shared libraries with undefined symbols to be built.
   16967 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16968 
   16969 # Flag that forces no undefined symbols.
   16970 no_undefined_flag=$lt_no_undefined_flag_F77
   16971 
   16972 # Commands used to finish a libtool library installation in a directory.
   16973 finish_cmds=$lt_finish_cmds
   16974 
   16975 # Same as above, but a single script fragment to be evaled but not shown.
   16976 finish_eval=$lt_finish_eval
   16977 
   16978 # Take the output of nm and produce a listing of raw symbols and C names.
   16979 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16980 
   16981 # Transform the output of nm in a proper C declaration
   16982 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16983 
   16984 # Transform the output of nm in a C name address pair
   16985 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16986 
   16987 # This is the shared library runtime path variable.
   16988 runpath_var=$runpath_var
   16989 
   16990 # This is the shared library path variable.
   16991 shlibpath_var=$shlibpath_var
   16992 
   16993 # Is shlibpath searched before the hard-coded library search path?
   16994 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16995 
   16996 # How to hardcode a shared library path into an executable.
   16997 hardcode_action=$hardcode_action_F77
   16998 
   16999 # Whether we should hardcode library paths into libraries.
   17000 hardcode_into_libs=$hardcode_into_libs
   17001 
   17002 # Flag to hardcode \$libdir into a binary during linking.
   17003 # This must work even if \$libdir does not exist.
   17004 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   17005 
   17006 # If ld is used when linking, flag to hardcode \$libdir into
   17007 # a binary during linking. This must work even if \$libdir does
   17008 # not exist.
   17009 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   17010 
   17011 # Whether we need a single -rpath flag with a separated argument.
   17012 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   17013 
   17014 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   17015 # resulting binary.
   17016 hardcode_direct=$hardcode_direct_F77
   17017 
   17018 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   17019 # resulting binary.
   17020 hardcode_minus_L=$hardcode_minus_L_F77
   17021 
   17022 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   17023 # the resulting binary.
   17024 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   17025 
   17026 # Set to yes if building a shared library automatically hardcodes DIR into the library
   17027 # and all subsequent libraries and executables linked against it.
   17028 hardcode_automatic=$hardcode_automatic_F77
   17029 
   17030 # Variables whose values should be saved in libtool wrapper scripts and
   17031 # restored at relink time.
   17032 variables_saved_for_relink="$variables_saved_for_relink"
   17033 
   17034 # Whether libtool must link a program against all its dependency libraries.
   17035 link_all_deplibs=$link_all_deplibs_F77
   17036 
   17037 # Compile-time system search path for libraries
   17038 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17039 
   17040 # Run-time system search path for libraries
   17041 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   17042 
   17043 # Fix the shell variable \$srcfile for the compiler.
   17044 fix_srcfile_path=$lt_fix_srcfile_path
   17045 
   17046 # Set to yes if exported symbols are required.
   17047 always_export_symbols=$always_export_symbols_F77
   17048 
   17049 # The commands to list exported symbols.
   17050 export_symbols_cmds=$lt_export_symbols_cmds_F77
   17051 
   17052 # The commands to extract the exported symbol list from a shared archive.
   17053 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17054 
   17055 # Symbols that should not be listed in the preloaded symbols.
   17056 exclude_expsyms=$lt_exclude_expsyms_F77
   17057 
   17058 # Symbols that must always be exported.
   17059 include_expsyms=$lt_include_expsyms_F77
   17060 
   17061 # ### END LIBTOOL TAG CONFIG: $tagname
   17062 
   17063 __EOF__
   17064 
   17065 
   17066 else
   17067   # If there is no Makefile yet, we rely on a make rule to execute
   17068   # `config.status --recheck' to rerun these tests and create the
   17069   # libtool script then.
   17070   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   17071   if test -f "$ltmain_in"; then
   17072     test -f Makefile && make "$ltmain"
   17073   fi
   17074 fi
   17075 
   17076 
   17077 ac_ext=c
   17078 ac_cpp='$CPP $CPPFLAGS'
   17079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17082 
   17083 CC="$lt_save_CC"
   17084 
   17085 	else
   17086 	  tagname=""
   17087 	fi
   17088 	;;
   17089 
   17090       GCJ)
   17091 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   17092 
   17093 
   17094 # Source file extension for Java test sources.
   17095 ac_ext=java
   17096 
   17097 # Object file extension for compiled Java test sources.
   17098 objext=o
   17099 objext_GCJ=$objext
   17100 
   17101 # Code to be used in simple compile tests
   17102 lt_simple_compile_test_code="class foo {}"
   17103 
   17104 # Code to be used in simple link tests
   17105 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   17106 
   17107 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   17108 
   17109 # If no C compiler was specified, use CC.
   17110 LTCC=${LTCC-"$CC"}
   17111 
   17112 # If no C compiler flags were specified, use CFLAGS.
   17113 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   17114 
   17115 # Allow CC to be a program name with arguments.
   17116 compiler=$CC
   17117 
   17118 
   17119 # save warnings/boilerplate of simple test code
   17120 ac_outfile=conftest.$ac_objext
   17121 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   17122 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   17123 _lt_compiler_boilerplate=`cat conftest.err`
   17124 $rm conftest*
   17125 
   17126 ac_outfile=conftest.$ac_objext
   17127 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   17128 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   17129 _lt_linker_boilerplate=`cat conftest.err`
   17130 $rm -r conftest*
   17131 
   17132 
   17133 # Allow CC to be a program name with arguments.
   17134 lt_save_CC="$CC"
   17135 CC=${GCJ-"gcj"}
   17136 compiler=$CC
   17137 compiler_GCJ=$CC
   17138 for cc_temp in $compiler""; do
   17139   case $cc_temp in
   17140     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17141     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17142     \-*) ;;
   17143     *) break;;
   17144   esac
   17145 done
   17146 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17147 
   17148 
   17149 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   17150 archive_cmds_need_lc_GCJ=no
   17151 
   17152 old_archive_cmds_GCJ=$old_archive_cmds
   17153 
   17154 
   17155 lt_prog_compiler_no_builtin_flag_GCJ=
   17156 
   17157 if test "$GCC" = yes; then
   17158   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   17159 
   17160 
   17161 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   17162 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   17163 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   17164   $as_echo_n "(cached) " >&6
   17165 else
   17166   lt_cv_prog_compiler_rtti_exceptions=no
   17167   ac_outfile=conftest.$ac_objext
   17168    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17169    lt_compiler_flag="-fno-rtti -fno-exceptions"
   17170    # Insert the option either (1) after the last *FLAGS variable, or
   17171    # (2) before a word containing "conftest.", or (3) at the end.
   17172    # Note that $ac_compile itself does not contain backslashes and begins
   17173    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17174    # The option is referenced via a variable to avoid confusing sed.
   17175    lt_compile=`echo "$ac_compile" | $SED \
   17176    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17177    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17178    -e 's:$: $lt_compiler_flag:'`
   17179    (eval echo "\"\$as_me:17179: $lt_compile\"" >&5)
   17180    (eval "$lt_compile" 2>conftest.err)
   17181    ac_status=$?
   17182    cat conftest.err >&5
   17183    echo "$as_me:17183: \$? = $ac_status" >&5
   17184    if (exit $ac_status) && test -s "$ac_outfile"; then
   17185      # The compiler can only warn and ignore the option if not recognized
   17186      # So say no if there are warnings other than the usual output.
   17187      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17188      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17189      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17190        lt_cv_prog_compiler_rtti_exceptions=yes
   17191      fi
   17192    fi
   17193    $rm conftest*
   17194 
   17195 fi
   17196 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   17197 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   17198 
   17199 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   17200     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   17201 else
   17202     :
   17203 fi
   17204 
   17205 fi
   17206 
   17207 lt_prog_compiler_wl_GCJ=
   17208 lt_prog_compiler_pic_GCJ=
   17209 lt_prog_compiler_static_GCJ=
   17210 
   17211 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17213 
   17214   if test "$GCC" = yes; then
   17215     lt_prog_compiler_wl_GCJ='-Wl,'
   17216     lt_prog_compiler_static_GCJ='-static'
   17217 
   17218     case $host_os in
   17219       aix*)
   17220       # All AIX code is PIC.
   17221       if test "$host_cpu" = ia64; then
   17222 	# AIX 5 now supports IA64 processor
   17223 	lt_prog_compiler_static_GCJ='-Bstatic'
   17224       fi
   17225       ;;
   17226 
   17227     amigaos*)
   17228       # FIXME: we need at least 68020 code to build shared libraries, but
   17229       # adding the `-m68020' flag to GCC prevents building anything better,
   17230       # like `-m68040'.
   17231       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17232       ;;
   17233 
   17234     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17235       # PIC is the default for these OSes.
   17236       ;;
   17237 
   17238     mingw* | cygwin* | pw32* | os2*)
   17239       # This hack is so that the source file can tell whether it is being
   17240       # built for inclusion in a dll (and should export symbols for example).
   17241       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17242       # (--disable-auto-import) libraries
   17243 
   17244       ;;
   17245 
   17246     darwin* | rhapsody*)
   17247       # PIC is the default on this platform
   17248       # Common symbols not allowed in MH_DYLIB files
   17249       lt_prog_compiler_pic_GCJ='-fno-common'
   17250       ;;
   17251 
   17252     interix[3-9]*)
   17253       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17254       # Instead, we relocate shared libraries at runtime.
   17255       ;;
   17256 
   17257     msdosdjgpp*)
   17258       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17259       # on systems that don't support them.
   17260       lt_prog_compiler_can_build_shared_GCJ=no
   17261       enable_shared=no
   17262       ;;
   17263 
   17264     sysv4*MP*)
   17265       if test -d /usr/nec; then
   17266 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17267       fi
   17268       ;;
   17269 
   17270     hpux*)
   17271       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17272       # not for PA HP-UX.
   17273       case $host_cpu in
   17274       hppa*64*|ia64*)
   17275 	# +Z the default
   17276 	;;
   17277       *)
   17278 	lt_prog_compiler_pic_GCJ='-fPIC'
   17279 	;;
   17280       esac
   17281       ;;
   17282 
   17283     *)
   17284       lt_prog_compiler_pic_GCJ='-fPIC'
   17285       ;;
   17286     esac
   17287   else
   17288     # PORTME Check for flag to pass linker flags through the system compiler.
   17289     case $host_os in
   17290     aix*)
   17291       lt_prog_compiler_wl_GCJ='-Wl,'
   17292       if test "$host_cpu" = ia64; then
   17293 	# AIX 5 now supports IA64 processor
   17294 	lt_prog_compiler_static_GCJ='-Bstatic'
   17295       else
   17296 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17297       fi
   17298       ;;
   17299       darwin*)
   17300         # PIC is the default on this platform
   17301         # Common symbols not allowed in MH_DYLIB files
   17302        case $cc_basename in
   17303          xlc*)
   17304          lt_prog_compiler_pic_GCJ='-qnocommon'
   17305          lt_prog_compiler_wl_GCJ='-Wl,'
   17306          ;;
   17307        esac
   17308        ;;
   17309 
   17310     mingw* | cygwin* | pw32* | os2*)
   17311       # This hack is so that the source file can tell whether it is being
   17312       # built for inclusion in a dll (and should export symbols for example).
   17313 
   17314       ;;
   17315 
   17316     hpux9* | hpux10* | hpux11*)
   17317       lt_prog_compiler_wl_GCJ='-Wl,'
   17318       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17319       # not for PA HP-UX.
   17320       case $host_cpu in
   17321       hppa*64*|ia64*)
   17322 	# +Z the default
   17323 	;;
   17324       *)
   17325 	lt_prog_compiler_pic_GCJ='+Z'
   17326 	;;
   17327       esac
   17328       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17329       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17330       ;;
   17331 
   17332     irix5* | irix6* | nonstopux*)
   17333       lt_prog_compiler_wl_GCJ='-Wl,'
   17334       # PIC (with -KPIC) is the default.
   17335       lt_prog_compiler_static_GCJ='-non_shared'
   17336       ;;
   17337 
   17338     newsos6)
   17339       lt_prog_compiler_pic_GCJ='-KPIC'
   17340       lt_prog_compiler_static_GCJ='-Bstatic'
   17341       ;;
   17342 
   17343     linux* | k*bsd*-gnu)
   17344       case $cc_basename in
   17345       icc* | ecc*)
   17346 	lt_prog_compiler_wl_GCJ='-Wl,'
   17347 	lt_prog_compiler_pic_GCJ='-KPIC'
   17348 	lt_prog_compiler_static_GCJ='-static'
   17349         ;;
   17350       pgcc* | pgf77* | pgf90* | pgf95*)
   17351         # Portland Group compilers (*not* the Pentium gcc compiler,
   17352 	# which looks to be a dead project)
   17353 	lt_prog_compiler_wl_GCJ='-Wl,'
   17354 	lt_prog_compiler_pic_GCJ='-fpic'
   17355 	lt_prog_compiler_static_GCJ='-Bstatic'
   17356         ;;
   17357       ccc*)
   17358         lt_prog_compiler_wl_GCJ='-Wl,'
   17359         # All Alpha code is PIC.
   17360         lt_prog_compiler_static_GCJ='-non_shared'
   17361         ;;
   17362       *)
   17363         case `$CC -V 2>&1 | sed 5q` in
   17364 	*Sun\ C*)
   17365 	  # Sun C 5.9
   17366 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17367 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17368 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17369 	  ;;
   17370 	*Sun\ F*)
   17371 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17372 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17373 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17374 	  lt_prog_compiler_wl_GCJ=''
   17375 	  ;;
   17376 	esac
   17377 	;;
   17378       esac
   17379       ;;
   17380 
   17381     osf3* | osf4* | osf5*)
   17382       lt_prog_compiler_wl_GCJ='-Wl,'
   17383       # All OSF/1 code is PIC.
   17384       lt_prog_compiler_static_GCJ='-non_shared'
   17385       ;;
   17386 
   17387     rdos*)
   17388       lt_prog_compiler_static_GCJ='-non_shared'
   17389       ;;
   17390 
   17391     solaris*)
   17392       lt_prog_compiler_pic_GCJ='-KPIC'
   17393       lt_prog_compiler_static_GCJ='-Bstatic'
   17394       case $cc_basename in
   17395       f77* | f90* | f95*)
   17396 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17397       *)
   17398 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17399       esac
   17400       ;;
   17401 
   17402     sunos4*)
   17403       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17404       lt_prog_compiler_pic_GCJ='-PIC'
   17405       lt_prog_compiler_static_GCJ='-Bstatic'
   17406       ;;
   17407 
   17408     sysv4 | sysv4.2uw2* | sysv4.3*)
   17409       lt_prog_compiler_wl_GCJ='-Wl,'
   17410       lt_prog_compiler_pic_GCJ='-KPIC'
   17411       lt_prog_compiler_static_GCJ='-Bstatic'
   17412       ;;
   17413 
   17414     sysv4*MP*)
   17415       if test -d /usr/nec ;then
   17416 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17417 	lt_prog_compiler_static_GCJ='-Bstatic'
   17418       fi
   17419       ;;
   17420 
   17421     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17422       lt_prog_compiler_wl_GCJ='-Wl,'
   17423       lt_prog_compiler_pic_GCJ='-KPIC'
   17424       lt_prog_compiler_static_GCJ='-Bstatic'
   17425       ;;
   17426 
   17427     unicos*)
   17428       lt_prog_compiler_wl_GCJ='-Wl,'
   17429       lt_prog_compiler_can_build_shared_GCJ=no
   17430       ;;
   17431 
   17432     uts4*)
   17433       lt_prog_compiler_pic_GCJ='-pic'
   17434       lt_prog_compiler_static_GCJ='-Bstatic'
   17435       ;;
   17436 
   17437     *)
   17438       lt_prog_compiler_can_build_shared_GCJ=no
   17439       ;;
   17440     esac
   17441   fi
   17442 
   17443 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17444 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17445 
   17446 #
   17447 # Check to make sure the PIC flag actually works.
   17448 #
   17449 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17450 
   17451 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17452 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17453 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17454   $as_echo_n "(cached) " >&6
   17455 else
   17456   lt_cv_prog_compiler_pic_works_GCJ=no
   17457   ac_outfile=conftest.$ac_objext
   17458    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17459    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17460    # Insert the option either (1) after the last *FLAGS variable, or
   17461    # (2) before a word containing "conftest.", or (3) at the end.
   17462    # Note that $ac_compile itself does not contain backslashes and begins
   17463    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17464    # The option is referenced via a variable to avoid confusing sed.
   17465    lt_compile=`echo "$ac_compile" | $SED \
   17466    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17467    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17468    -e 's:$: $lt_compiler_flag:'`
   17469    (eval echo "\"\$as_me:17469: $lt_compile\"" >&5)
   17470    (eval "$lt_compile" 2>conftest.err)
   17471    ac_status=$?
   17472    cat conftest.err >&5
   17473    echo "$as_me:17473: \$? = $ac_status" >&5
   17474    if (exit $ac_status) && test -s "$ac_outfile"; then
   17475      # The compiler can only warn and ignore the option if not recognized
   17476      # So say no if there are warnings other than the usual output.
   17477      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17478      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17479      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17480        lt_cv_prog_compiler_pic_works_GCJ=yes
   17481      fi
   17482    fi
   17483    $rm conftest*
   17484 
   17485 fi
   17486 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17487 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17488 
   17489 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17490     case $lt_prog_compiler_pic_GCJ in
   17491      "" | " "*) ;;
   17492      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17493      esac
   17494 else
   17495     lt_prog_compiler_pic_GCJ=
   17496      lt_prog_compiler_can_build_shared_GCJ=no
   17497 fi
   17498 
   17499 fi
   17500 case $host_os in
   17501   # For platforms which do not support PIC, -DPIC is meaningless:
   17502   *djgpp*)
   17503     lt_prog_compiler_pic_GCJ=
   17504     ;;
   17505   *)
   17506     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17507     ;;
   17508 esac
   17509 
   17510 #
   17511 # Check to make sure the static flag actually works.
   17512 #
   17513 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17514 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17515 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17516 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17517   $as_echo_n "(cached) " >&6
   17518 else
   17519   lt_cv_prog_compiler_static_works_GCJ=no
   17520    save_LDFLAGS="$LDFLAGS"
   17521    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17522    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17523    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17524      # The linker can only warn and ignore the option if not recognized
   17525      # So say no if there are warnings
   17526      if test -s conftest.err; then
   17527        # Append any errors to the config.log.
   17528        cat conftest.err 1>&5
   17529        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17530        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17531        if diff conftest.exp conftest.er2 >/dev/null; then
   17532          lt_cv_prog_compiler_static_works_GCJ=yes
   17533        fi
   17534      else
   17535        lt_cv_prog_compiler_static_works_GCJ=yes
   17536      fi
   17537    fi
   17538    $rm -r conftest*
   17539    LDFLAGS="$save_LDFLAGS"
   17540 
   17541 fi
   17542 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17543 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17544 
   17545 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17546     :
   17547 else
   17548     lt_prog_compiler_static_GCJ=
   17549 fi
   17550 
   17551 
   17552 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17553 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17554 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17555   $as_echo_n "(cached) " >&6
   17556 else
   17557   lt_cv_prog_compiler_c_o_GCJ=no
   17558    $rm -r conftest 2>/dev/null
   17559    mkdir conftest
   17560    cd conftest
   17561    mkdir out
   17562    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17563 
   17564    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17565    # Insert the option either (1) after the last *FLAGS variable, or
   17566    # (2) before a word containing "conftest.", or (3) at the end.
   17567    # Note that $ac_compile itself does not contain backslashes and begins
   17568    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17569    lt_compile=`echo "$ac_compile" | $SED \
   17570    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17571    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17572    -e 's:$: $lt_compiler_flag:'`
   17573    (eval echo "\"\$as_me:17573: $lt_compile\"" >&5)
   17574    (eval "$lt_compile" 2>out/conftest.err)
   17575    ac_status=$?
   17576    cat out/conftest.err >&5
   17577    echo "$as_me:17577: \$? = $ac_status" >&5
   17578    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17579    then
   17580      # The compiler can only warn and ignore the option if not recognized
   17581      # So say no if there are warnings
   17582      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17583      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17584      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17585        lt_cv_prog_compiler_c_o_GCJ=yes
   17586      fi
   17587    fi
   17588    chmod u+w . 2>&5
   17589    $rm conftest*
   17590    # SGI C++ compiler will create directory out/ii_files/ for
   17591    # template instantiation
   17592    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17593    $rm out/* && rmdir out
   17594    cd ..
   17595    rmdir conftest
   17596    $rm conftest*
   17597 
   17598 fi
   17599 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17600 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17601 
   17602 
   17603 hard_links="nottested"
   17604 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17605   # do not overwrite the value of need_locks provided by the user
   17606   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17607 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17608   hard_links=yes
   17609   $rm conftest*
   17610   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17611   touch conftest.a
   17612   ln conftest.a conftest.b 2>&5 || hard_links=no
   17613   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17614   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17615 $as_echo "$hard_links" >&6; }
   17616   if test "$hard_links" = no; then
   17617     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17618 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17619     need_locks=warn
   17620   fi
   17621 else
   17622   need_locks=no
   17623 fi
   17624 
   17625 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17626 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17627 
   17628   runpath_var=
   17629   allow_undefined_flag_GCJ=
   17630   enable_shared_with_static_runtimes_GCJ=no
   17631   archive_cmds_GCJ=
   17632   archive_expsym_cmds_GCJ=
   17633   old_archive_From_new_cmds_GCJ=
   17634   old_archive_from_expsyms_cmds_GCJ=
   17635   export_dynamic_flag_spec_GCJ=
   17636   whole_archive_flag_spec_GCJ=
   17637   thread_safe_flag_spec_GCJ=
   17638   hardcode_libdir_flag_spec_GCJ=
   17639   hardcode_libdir_flag_spec_ld_GCJ=
   17640   hardcode_libdir_separator_GCJ=
   17641   hardcode_direct_GCJ=no
   17642   hardcode_minus_L_GCJ=no
   17643   hardcode_shlibpath_var_GCJ=unsupported
   17644   link_all_deplibs_GCJ=unknown
   17645   hardcode_automatic_GCJ=no
   17646   module_cmds_GCJ=
   17647   module_expsym_cmds_GCJ=
   17648   always_export_symbols_GCJ=no
   17649   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17650   # include_expsyms should be a list of space-separated symbols to be *always*
   17651   # included in the symbol list
   17652   include_expsyms_GCJ=
   17653   # exclude_expsyms can be an extended regexp of symbols to exclude
   17654   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17655   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17656   # as well as any symbol that contains `d'.
   17657   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17658   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17659   # platforms (ab)use it in PIC code, but their linkers get confused if
   17660   # the symbol is explicitly referenced.  Since portable code cannot
   17661   # rely on this symbol name, it's probably fine to never include it in
   17662   # preloaded symbol tables.
   17663   # Exclude shared library initialization/finalization symbols.
   17664   extract_expsyms_cmds=
   17665   # Just being paranoid about ensuring that cc_basename is set.
   17666   for cc_temp in $compiler""; do
   17667   case $cc_temp in
   17668     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17669     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17670     \-*) ;;
   17671     *) break;;
   17672   esac
   17673 done
   17674 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17675 
   17676   case $host_os in
   17677   cygwin* | mingw* | pw32*)
   17678     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17679     # When not using gcc, we currently assume that we are using
   17680     # Microsoft Visual C++.
   17681     if test "$GCC" != yes; then
   17682       with_gnu_ld=no
   17683     fi
   17684     ;;
   17685   interix*)
   17686     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17687     with_gnu_ld=yes
   17688     ;;
   17689   openbsd*)
   17690     with_gnu_ld=no
   17691     ;;
   17692   esac
   17693 
   17694   ld_shlibs_GCJ=yes
   17695   if test "$with_gnu_ld" = yes; then
   17696     # If archive_cmds runs LD, not CC, wlarc should be empty
   17697     wlarc='${wl}'
   17698 
   17699     # Set some defaults for GNU ld with shared library support. These
   17700     # are reset later if shared libraries are not supported. Putting them
   17701     # here allows them to be overridden if necessary.
   17702     runpath_var=LD_RUN_PATH
   17703     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17704     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17705     # ancient GNU ld didn't support --whole-archive et. al.
   17706     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17707 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17708       else
   17709   	whole_archive_flag_spec_GCJ=
   17710     fi
   17711     supports_anon_versioning=no
   17712     case `$LD -v 2>/dev/null` in
   17713       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17714       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17715       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17716       *\ 2.11.*) ;; # other 2.11 versions
   17717       *) supports_anon_versioning=yes ;;
   17718     esac
   17719 
   17720     # See if GNU ld supports shared libraries.
   17721     case $host_os in
   17722     aix[3-9]*)
   17723       # On AIX/PPC, the GNU linker is very broken
   17724       if test "$host_cpu" != ia64; then
   17725 	ld_shlibs_GCJ=no
   17726 	cat <<EOF 1>&2
   17727 
   17728 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17729 *** to be unable to reliably create shared libraries on AIX.
   17730 *** Therefore, libtool is disabling shared libraries support.  If you
   17731 *** really care for shared libraries, you may want to modify your PATH
   17732 *** so that a non-GNU linker is found, and then restart.
   17733 
   17734 EOF
   17735       fi
   17736       ;;
   17737 
   17738     amigaos*)
   17739       archive_cmds_GCJ='$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)'
   17740       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17741       hardcode_minus_L_GCJ=yes
   17742 
   17743       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17744       # that the semantics of dynamic libraries on AmigaOS, at least up
   17745       # to version 4, is to share data among multiple programs linked
   17746       # with the same dynamic library.  Since this doesn't match the
   17747       # behavior of shared libraries on other platforms, we can't use
   17748       # them.
   17749       ld_shlibs_GCJ=no
   17750       ;;
   17751 
   17752     beos*)
   17753       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17754 	allow_undefined_flag_GCJ=unsupported
   17755 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17756 	# support --undefined.  This deserves some investigation.  FIXME
   17757 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17758       else
   17759 	ld_shlibs_GCJ=no
   17760       fi
   17761       ;;
   17762 
   17763     cygwin* | mingw* | pw32*)
   17764       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17765       # as there is no search path for DLLs.
   17766       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17767       allow_undefined_flag_GCJ=unsupported
   17768       always_export_symbols_GCJ=no
   17769       enable_shared_with_static_runtimes_GCJ=yes
   17770       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17771 
   17772       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17773         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17774 	# If the export-symbols file already is a .def file (1st line
   17775 	# is EXPORTS), use it as is; otherwise, prepend...
   17776 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17777 	  cp $export_symbols $output_objdir/$soname.def;
   17778 	else
   17779 	  echo EXPORTS > $output_objdir/$soname.def;
   17780 	  cat $export_symbols >> $output_objdir/$soname.def;
   17781 	fi~
   17782 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17783       else
   17784 	ld_shlibs_GCJ=no
   17785       fi
   17786       ;;
   17787 
   17788     interix[3-9]*)
   17789       hardcode_direct_GCJ=no
   17790       hardcode_shlibpath_var_GCJ=no
   17791       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17792       export_dynamic_flag_spec_GCJ='${wl}-E'
   17793       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17794       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17795       # default) and relocated if they conflict, which is a slow very memory
   17796       # consuming and fragmenting process.  To avoid this, we pick a random,
   17797       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17798       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17799       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   17800       archive_expsym_cmds_GCJ='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'
   17801       ;;
   17802 
   17803     gnu* | linux* | k*bsd*-gnu)
   17804       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17805 	tmp_addflag=
   17806 	case $cc_basename,$host_cpu in
   17807 	pgcc*)				# Portland Group C compiler
   17808 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17809 	  tmp_addflag=' $pic_flag'
   17810 	  ;;
   17811 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17812 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17813 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17814 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17815 	  tmp_addflag=' -i_dynamic' ;;
   17816 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17817 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17818 	ifc* | ifort*)			# Intel Fortran compiler
   17819 	  tmp_addflag=' -nofor_main' ;;
   17820 	esac
   17821 	case `$CC -V 2>&1 | sed 5q` in
   17822 	*Sun\ C*)			# Sun C 5.9
   17823 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17824 	  tmp_sharedflag='-G' ;;
   17825 	*Sun\ F*)			# Sun Fortran 8.3
   17826 	  tmp_sharedflag='-G' ;;
   17827 	*)
   17828 	  tmp_sharedflag='-shared' ;;
   17829 	esac
   17830 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17831 
   17832 	if test $supports_anon_versioning = yes; then
   17833 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17834   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17835   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17836 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17837 	fi
   17838       else
   17839 	ld_shlibs_GCJ=no
   17840       fi
   17841       ;;
   17842 
   17843     netbsd*)
   17844       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17845 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17846 	wlarc=
   17847       else
   17848 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17849 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17850       fi
   17851       ;;
   17852 
   17853     solaris*)
   17854       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17855 	ld_shlibs_GCJ=no
   17856 	cat <<EOF 1>&2
   17857 
   17858 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17859 *** create shared libraries on Solaris systems.  Therefore, libtool
   17860 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17861 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17862 *** your PATH or compiler configuration so that the native linker is
   17863 *** used, and then restart.
   17864 
   17865 EOF
   17866       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17867 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17868 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17869       else
   17870 	ld_shlibs_GCJ=no
   17871       fi
   17872       ;;
   17873 
   17874     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17875       case `$LD -v 2>&1` in
   17876         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17877 	ld_shlibs_GCJ=no
   17878 	cat <<_LT_EOF 1>&2
   17879 
   17880 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17881 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17882 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17883 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17884 *** your PATH or compiler configuration so that the native linker is
   17885 *** used, and then restart.
   17886 
   17887 _LT_EOF
   17888 	;;
   17889 	*)
   17890 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17891 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17892 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17893 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17894 	  else
   17895 	    ld_shlibs_GCJ=no
   17896 	  fi
   17897 	;;
   17898       esac
   17899       ;;
   17900 
   17901     sunos4*)
   17902       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17903       wlarc=
   17904       hardcode_direct_GCJ=yes
   17905       hardcode_shlibpath_var_GCJ=no
   17906       ;;
   17907 
   17908     *)
   17909       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17910 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17911 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17912       else
   17913 	ld_shlibs_GCJ=no
   17914       fi
   17915       ;;
   17916     esac
   17917 
   17918     if test "$ld_shlibs_GCJ" = no; then
   17919       runpath_var=
   17920       hardcode_libdir_flag_spec_GCJ=
   17921       export_dynamic_flag_spec_GCJ=
   17922       whole_archive_flag_spec_GCJ=
   17923     fi
   17924   else
   17925     # PORTME fill in a description of your system's linker (not GNU ld)
   17926     case $host_os in
   17927     aix3*)
   17928       allow_undefined_flag_GCJ=unsupported
   17929       always_export_symbols_GCJ=yes
   17930       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   17931       # Note: this linker hardcodes the directories in LIBPATH if there
   17932       # are no directories specified by -L.
   17933       hardcode_minus_L_GCJ=yes
   17934       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17935 	# Neither direct hardcoding nor static linking is supported with a
   17936 	# broken collect2.
   17937 	hardcode_direct_GCJ=unsupported
   17938       fi
   17939       ;;
   17940 
   17941     aix[4-9]*)
   17942       if test "$host_cpu" = ia64; then
   17943 	# On IA64, the linker does run time linking by default, so we don't
   17944 	# have to do anything special.
   17945 	aix_use_runtimelinking=no
   17946 	exp_sym_flag='-Bexport'
   17947 	no_entry_flag=""
   17948       else
   17949 	# If we're using GNU nm, then we don't want the "-C" option.
   17950 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17951 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17952 	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   17953 	else
   17954 	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   17955 	fi
   17956 	aix_use_runtimelinking=no
   17957 
   17958 	# Test if we are trying to use run time linking or normal
   17959 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17960 	# need to do runtime linking.
   17961 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17962 	  for ld_flag in $LDFLAGS; do
   17963   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17964   	    aix_use_runtimelinking=yes
   17965   	    break
   17966   	  fi
   17967 	  done
   17968 	  ;;
   17969 	esac
   17970 
   17971 	exp_sym_flag='-bexport'
   17972 	no_entry_flag='-bnoentry'
   17973       fi
   17974 
   17975       # When large executables or shared objects are built, AIX ld can
   17976       # have problems creating the table of contents.  If linking a library
   17977       # or program results in "error TOC overflow" add -mminimal-toc to
   17978       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17979       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17980 
   17981       archive_cmds_GCJ=''
   17982       hardcode_direct_GCJ=yes
   17983       hardcode_libdir_separator_GCJ=':'
   17984       link_all_deplibs_GCJ=yes
   17985 
   17986       if test "$GCC" = yes; then
   17987 	case $host_os in aix4.[012]|aix4.[012].*)
   17988 	# We only want to do this on AIX 4.2 and lower, the check
   17989 	# below for broken collect2 doesn't work under 4.3+
   17990 	  collect2name=`${CC} -print-prog-name=collect2`
   17991 	  if test -f "$collect2name" && \
   17992   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17993 	  then
   17994   	  # We have reworked collect2
   17995   	  :
   17996 	  else
   17997   	  # We have old collect2
   17998   	  hardcode_direct_GCJ=unsupported
   17999   	  # It fails to find uninstalled libraries when the uninstalled
   18000   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   18001   	  # to unsupported forces relinking
   18002   	  hardcode_minus_L_GCJ=yes
   18003   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18004   	  hardcode_libdir_separator_GCJ=
   18005 	  fi
   18006 	  ;;
   18007 	esac
   18008 	shared_flag='-shared'
   18009 	if test "$aix_use_runtimelinking" = yes; then
   18010 	  shared_flag="$shared_flag "'${wl}-G'
   18011 	fi
   18012       else
   18013 	# not using gcc
   18014 	if test "$host_cpu" = ia64; then
   18015   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   18016   	# chokes on -Wl,-G. The following line is correct:
   18017 	  shared_flag='-G'
   18018 	else
   18019 	  if test "$aix_use_runtimelinking" = yes; then
   18020 	    shared_flag='${wl}-G'
   18021 	  else
   18022 	    shared_flag='${wl}-bM:SRE'
   18023 	  fi
   18024 	fi
   18025       fi
   18026 
   18027       # It seems that -bexpall does not export symbols beginning with
   18028       # underscore (_), so it is better to generate a list of symbols to export.
   18029       always_export_symbols_GCJ=yes
   18030       if test "$aix_use_runtimelinking" = yes; then
   18031 	# Warning - without using the other runtime loading flags (-brtl),
   18032 	# -berok will link without error, but may produce a broken library.
   18033 	allow_undefined_flag_GCJ='-berok'
   18034        # Determine the default libpath from the value encoded in an empty executable.
   18035        cat >conftest.$ac_ext <<_ACEOF
   18036 /* confdefs.h.  */
   18037 _ACEOF
   18038 cat confdefs.h >>conftest.$ac_ext
   18039 cat >>conftest.$ac_ext <<_ACEOF
   18040 /* end confdefs.h.  */
   18041 
   18042 int
   18043 main ()
   18044 {
   18045 
   18046   ;
   18047   return 0;
   18048 }
   18049 _ACEOF
   18050 rm -f conftest.$ac_objext conftest$ac_exeext
   18051 if { (ac_try="$ac_link"
   18052 case "(($ac_try" in
   18053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18054   *) ac_try_echo=$ac_try;;
   18055 esac
   18056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   18057 $as_echo "$ac_try_echo") >&5
   18058   (eval "$ac_link") 2>conftest.er1
   18059   ac_status=$?
   18060   grep -v '^ *+' conftest.er1 >conftest.err
   18061   rm -f conftest.er1
   18062   cat conftest.err >&5
   18063   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18064   (exit $ac_status); } && {
   18065 	 test -z "$ac_c_werror_flag" ||
   18066 	 test ! -s conftest.err
   18067        } && test -s conftest$ac_exeext && {
   18068 	 test "$cross_compiling" = yes ||
   18069 	 $as_test_x conftest$ac_exeext
   18070        }; then
   18071 
   18072 lt_aix_libpath_sed='
   18073     /Import File Strings/,/^$/ {
   18074 	/^0/ {
   18075 	    s/^0  *\(.*\)$/\1/
   18076 	    p
   18077 	}
   18078     }'
   18079 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   18080 # Check for a 64-bit object if we didn't find anything.
   18081 if test -z "$aix_libpath"; then
   18082   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   18083 fi
   18084 else
   18085   $as_echo "$as_me: failed program was:" >&5
   18086 sed 's/^/| /' conftest.$ac_ext >&5
   18087 
   18088 
   18089 fi
   18090 
   18091 rm -rf conftest.dSYM
   18092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   18093       conftest$ac_exeext conftest.$ac_ext
   18094 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   18095 
   18096        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   18097 	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   18098        else
   18099 	if test "$host_cpu" = ia64; then
   18100 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   18101 	  allow_undefined_flag_GCJ="-z nodefs"
   18102 	  archive_expsym_cmds_GCJ="\$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"
   18103 	else
   18104 	 # Determine the default libpath from the value encoded in an empty executable.
   18105 	 cat >conftest.$ac_ext <<_ACEOF
   18106 /* confdefs.h.  */
   18107 _ACEOF
   18108 cat confdefs.h >>conftest.$ac_ext
   18109 cat >>conftest.$ac_ext <<_ACEOF
   18110 /* end confdefs.h.  */
   18111 
   18112 int
   18113 main ()
   18114 {
   18115 
   18116   ;
   18117   return 0;
   18118 }
   18119 _ACEOF
   18120 rm -f conftest.$ac_objext conftest$ac_exeext
   18121 if { (ac_try="$ac_link"
   18122 case "(($ac_try" in
   18123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18124   *) ac_try_echo=$ac_try;;
   18125 esac
   18126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   18127 $as_echo "$ac_try_echo") >&5
   18128   (eval "$ac_link") 2>conftest.er1
   18129   ac_status=$?
   18130   grep -v '^ *+' conftest.er1 >conftest.err
   18131   rm -f conftest.er1
   18132   cat conftest.err >&5
   18133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18134   (exit $ac_status); } && {
   18135 	 test -z "$ac_c_werror_flag" ||
   18136 	 test ! -s conftest.err
   18137        } && test -s conftest$ac_exeext && {
   18138 	 test "$cross_compiling" = yes ||
   18139 	 $as_test_x conftest$ac_exeext
   18140        }; then
   18141 
   18142 lt_aix_libpath_sed='
   18143     /Import File Strings/,/^$/ {
   18144 	/^0/ {
   18145 	    s/^0  *\(.*\)$/\1/
   18146 	    p
   18147 	}
   18148     }'
   18149 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   18150 # Check for a 64-bit object if we didn't find anything.
   18151 if test -z "$aix_libpath"; then
   18152   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   18153 fi
   18154 else
   18155   $as_echo "$as_me: failed program was:" >&5
   18156 sed 's/^/| /' conftest.$ac_ext >&5
   18157 
   18158 
   18159 fi
   18160 
   18161 rm -rf conftest.dSYM
   18162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   18163       conftest$ac_exeext conftest.$ac_ext
   18164 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   18165 
   18166 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   18167 	  # Warning - without using the other run time loading flags,
   18168 	  # -berok will link without error, but may produce a broken library.
   18169 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   18170 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   18171 	  # Exported symbols can be pulled into shared objects from archives
   18172 	  whole_archive_flag_spec_GCJ='$convenience'
   18173 	  archive_cmds_need_lc_GCJ=yes
   18174 	  # This is similar to how AIX traditionally builds its shared libraries.
   18175 	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   18176 	fi
   18177       fi
   18178       ;;
   18179 
   18180     amigaos*)
   18181       archive_cmds_GCJ='$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)'
   18182       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18183       hardcode_minus_L_GCJ=yes
   18184       # see comment about different semantics on the GNU ld section
   18185       ld_shlibs_GCJ=no
   18186       ;;
   18187 
   18188     bsdi[45]*)
   18189       export_dynamic_flag_spec_GCJ=-rdynamic
   18190       ;;
   18191 
   18192     cygwin* | mingw* | pw32*)
   18193       # When not using gcc, we currently assume that we are using
   18194       # Microsoft Visual C++.
   18195       # hardcode_libdir_flag_spec is actually meaningless, as there is
   18196       # no search path for DLLs.
   18197       hardcode_libdir_flag_spec_GCJ=' '
   18198       allow_undefined_flag_GCJ=unsupported
   18199       # Tell ltmain to make .lib files, not .a files.
   18200       libext=lib
   18201       # Tell ltmain to make .dll files, not .so files.
   18202       shrext_cmds=".dll"
   18203       # FIXME: Setting linknames here is a bad hack.
   18204       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18205       # The linker will automatically build a .lib file if we build a DLL.
   18206       old_archive_From_new_cmds_GCJ='true'
   18207       # FIXME: Should let the user specify the lib program.
   18208       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18209       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18210       enable_shared_with_static_runtimes_GCJ=yes
   18211       ;;
   18212 
   18213     darwin* | rhapsody*)
   18214       case $host_os in
   18215         rhapsody* | darwin1.[012])
   18216          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18217          ;;
   18218        *) # Darwin 1.3 on
   18219          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18220            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18221          else
   18222            case ${MACOSX_DEPLOYMENT_TARGET} in
   18223              10.[012])
   18224                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18225                ;;
   18226              10.*)
   18227                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18228                ;;
   18229            esac
   18230          fi
   18231          ;;
   18232       esac
   18233       archive_cmds_need_lc_GCJ=no
   18234       hardcode_direct_GCJ=no
   18235       hardcode_automatic_GCJ=yes
   18236       hardcode_shlibpath_var_GCJ=unsupported
   18237       whole_archive_flag_spec_GCJ=''
   18238       link_all_deplibs_GCJ=yes
   18239     if test "$GCC" = yes ; then
   18240     	output_verbose_link_cmd='echo'
   18241         archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   18242         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18243         archive_expsym_cmds_GCJ="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}"
   18244         module_expsym_cmds_GCJ="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}"
   18245     else
   18246       case $cc_basename in
   18247         xlc*)
   18248          output_verbose_link_cmd='echo'
   18249          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18250          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18251           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18252          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   18253           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   18254           ;;
   18255        *)
   18256          ld_shlibs_GCJ=no
   18257           ;;
   18258       esac
   18259     fi
   18260       ;;
   18261 
   18262     dgux*)
   18263       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18264       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18265       hardcode_shlibpath_var_GCJ=no
   18266       ;;
   18267 
   18268     freebsd1*)
   18269       ld_shlibs_GCJ=no
   18270       ;;
   18271 
   18272     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18273     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18274     # does not break anything, and helps significantly (at the cost of a little
   18275     # extra space).
   18276     freebsd2.2*)
   18277       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18278       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18279       hardcode_direct_GCJ=yes
   18280       hardcode_shlibpath_var_GCJ=no
   18281       ;;
   18282 
   18283     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18284     freebsd2*)
   18285       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18286       hardcode_direct_GCJ=yes
   18287       hardcode_minus_L_GCJ=yes
   18288       hardcode_shlibpath_var_GCJ=no
   18289       ;;
   18290 
   18291     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18292     freebsd* | dragonfly*)
   18293       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18294       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18295       hardcode_direct_GCJ=yes
   18296       hardcode_shlibpath_var_GCJ=no
   18297       ;;
   18298 
   18299     hpux9*)
   18300       if test "$GCC" = yes; then
   18301 	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   18302       else
   18303 	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   18304       fi
   18305       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18306       hardcode_libdir_separator_GCJ=:
   18307       hardcode_direct_GCJ=yes
   18308 
   18309       # hardcode_minus_L: Not really in the search PATH,
   18310       # but as the default location of the library.
   18311       hardcode_minus_L_GCJ=yes
   18312       export_dynamic_flag_spec_GCJ='${wl}-E'
   18313       ;;
   18314 
   18315     hpux10*)
   18316       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18317 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18318       else
   18319 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18320       fi
   18321       if test "$with_gnu_ld" = no; then
   18322 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18323 	hardcode_libdir_separator_GCJ=:
   18324 
   18325 	hardcode_direct_GCJ=yes
   18326 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18327 
   18328 	# hardcode_minus_L: Not really in the search PATH,
   18329 	# but as the default location of the library.
   18330 	hardcode_minus_L_GCJ=yes
   18331       fi
   18332       ;;
   18333 
   18334     hpux11*)
   18335       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18336 	case $host_cpu in
   18337 	hppa*64*)
   18338 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18339 	  ;;
   18340 	ia64*)
   18341 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18342 	  ;;
   18343 	*)
   18344 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18345 	  ;;
   18346 	esac
   18347       else
   18348 	case $host_cpu in
   18349 	hppa*64*)
   18350 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18351 	  ;;
   18352 	ia64*)
   18353 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18354 	  ;;
   18355 	*)
   18356 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18357 	  ;;
   18358 	esac
   18359       fi
   18360       if test "$with_gnu_ld" = no; then
   18361 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18362 	hardcode_libdir_separator_GCJ=:
   18363 
   18364 	case $host_cpu in
   18365 	hppa*64*|ia64*)
   18366 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18367 	  hardcode_direct_GCJ=no
   18368 	  hardcode_shlibpath_var_GCJ=no
   18369 	  ;;
   18370 	*)
   18371 	  hardcode_direct_GCJ=yes
   18372 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18373 
   18374 	  # hardcode_minus_L: Not really in the search PATH,
   18375 	  # but as the default location of the library.
   18376 	  hardcode_minus_L_GCJ=yes
   18377 	  ;;
   18378 	esac
   18379       fi
   18380       ;;
   18381 
   18382     irix5* | irix6* | nonstopux*)
   18383       if test "$GCC" = yes; then
   18384 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18385       else
   18386 	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18387 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18388       fi
   18389       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18390       hardcode_libdir_separator_GCJ=:
   18391       link_all_deplibs_GCJ=yes
   18392       ;;
   18393 
   18394     netbsd*)
   18395       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18396 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18397       else
   18398 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18399       fi
   18400       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18401       hardcode_direct_GCJ=yes
   18402       hardcode_shlibpath_var_GCJ=no
   18403       ;;
   18404 
   18405     newsos6)
   18406       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18407       hardcode_direct_GCJ=yes
   18408       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18409       hardcode_libdir_separator_GCJ=:
   18410       hardcode_shlibpath_var_GCJ=no
   18411       ;;
   18412 
   18413     openbsd*)
   18414       if test -f /usr/libexec/ld.so; then
   18415 	hardcode_direct_GCJ=yes
   18416 	hardcode_shlibpath_var_GCJ=no
   18417 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18418 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18419 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18420 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18421 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18422 	else
   18423 	  case $host_os in
   18424 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18425 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18426 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18427 	     ;;
   18428 	   *)
   18429 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18430 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18431 	     ;;
   18432 	  esac
   18433         fi
   18434       else
   18435 	ld_shlibs_GCJ=no
   18436       fi
   18437       ;;
   18438 
   18439     os2*)
   18440       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18441       hardcode_minus_L_GCJ=yes
   18442       allow_undefined_flag_GCJ=unsupported
   18443       archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   18444       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18445       ;;
   18446 
   18447     osf3*)
   18448       if test "$GCC" = yes; then
   18449 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18450 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18451       else
   18452 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18453 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18454       fi
   18455       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18456       hardcode_libdir_separator_GCJ=:
   18457       ;;
   18458 
   18459     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18460       if test "$GCC" = yes; then
   18461 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18462 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18463 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18464       else
   18465 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18466 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18467 	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   18468 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   18469 
   18470 	# Both c and cxx compiler support -rpath directly
   18471 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18472       fi
   18473       hardcode_libdir_separator_GCJ=:
   18474       ;;
   18475 
   18476     solaris*)
   18477       no_undefined_flag_GCJ=' -z text'
   18478       if test "$GCC" = yes; then
   18479 	wlarc='${wl}'
   18480 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18481 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18482 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18483       else
   18484 	wlarc=''
   18485 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18486 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18487   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18488       fi
   18489       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18490       hardcode_shlibpath_var_GCJ=no
   18491       case $host_os in
   18492       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18493       *)
   18494 	# The compiler driver will combine and reorder linker options,
   18495 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18496 	# but is careful enough not to reorder.
   18497  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18498 	if test "$GCC" = yes; then
   18499 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18500 	else
   18501 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18502 	fi
   18503 	;;
   18504       esac
   18505       link_all_deplibs_GCJ=yes
   18506       ;;
   18507 
   18508     sunos4*)
   18509       if test "x$host_vendor" = xsequent; then
   18510 	# Use $CC to link under sequent, because it throws in some extra .o
   18511 	# files that make .init and .fini sections work.
   18512 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18513       else
   18514 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18515       fi
   18516       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18517       hardcode_direct_GCJ=yes
   18518       hardcode_minus_L_GCJ=yes
   18519       hardcode_shlibpath_var_GCJ=no
   18520       ;;
   18521 
   18522     sysv4)
   18523       case $host_vendor in
   18524 	sni)
   18525 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18526 	  hardcode_direct_GCJ=yes # is this really true???
   18527 	;;
   18528 	siemens)
   18529 	  ## LD is ld it makes a PLAMLIB
   18530 	  ## CC just makes a GrossModule.
   18531 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18532 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18533 	  hardcode_direct_GCJ=no
   18534         ;;
   18535 	motorola)
   18536 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18537 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18538 	;;
   18539       esac
   18540       runpath_var='LD_RUN_PATH'
   18541       hardcode_shlibpath_var_GCJ=no
   18542       ;;
   18543 
   18544     sysv4.3*)
   18545       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18546       hardcode_shlibpath_var_GCJ=no
   18547       export_dynamic_flag_spec_GCJ='-Bexport'
   18548       ;;
   18549 
   18550     sysv4*MP*)
   18551       if test -d /usr/nec; then
   18552 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18553 	hardcode_shlibpath_var_GCJ=no
   18554 	runpath_var=LD_RUN_PATH
   18555 	hardcode_runpath_var=yes
   18556 	ld_shlibs_GCJ=yes
   18557       fi
   18558       ;;
   18559 
   18560     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18561       no_undefined_flag_GCJ='${wl}-z,text'
   18562       archive_cmds_need_lc_GCJ=no
   18563       hardcode_shlibpath_var_GCJ=no
   18564       runpath_var='LD_RUN_PATH'
   18565 
   18566       if test "$GCC" = yes; then
   18567 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18568 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18569       else
   18570 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18571 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18572       fi
   18573       ;;
   18574 
   18575     sysv5* | sco3.2v5* | sco5v6*)
   18576       # Note: We can NOT use -z defs as we might desire, because we do not
   18577       # link with -lc, and that would cause any symbols used from libc to
   18578       # always be unresolved, which means just about no library would
   18579       # ever link correctly.  If we're not using GNU ld we use -z text
   18580       # though, which does catch some bad symbols but isn't as heavy-handed
   18581       # as -z defs.
   18582       no_undefined_flag_GCJ='${wl}-z,text'
   18583       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18584       archive_cmds_need_lc_GCJ=no
   18585       hardcode_shlibpath_var_GCJ=no
   18586       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18587       hardcode_libdir_separator_GCJ=':'
   18588       link_all_deplibs_GCJ=yes
   18589       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18590       runpath_var='LD_RUN_PATH'
   18591 
   18592       if test "$GCC" = yes; then
   18593 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18594 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18595       else
   18596 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18597 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18598       fi
   18599       ;;
   18600 
   18601     uts4*)
   18602       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18603       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18604       hardcode_shlibpath_var_GCJ=no
   18605       ;;
   18606 
   18607     *)
   18608       ld_shlibs_GCJ=no
   18609       ;;
   18610     esac
   18611   fi
   18612 
   18613 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18614 $as_echo "$ld_shlibs_GCJ" >&6; }
   18615 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18616 
   18617 #
   18618 # Do we need to explicitly link libc?
   18619 #
   18620 case "x$archive_cmds_need_lc_GCJ" in
   18621 x|xyes)
   18622   # Assume -lc should be added
   18623   archive_cmds_need_lc_GCJ=yes
   18624 
   18625   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18626     case $archive_cmds_GCJ in
   18627     *'~'*)
   18628       # FIXME: we may have to deal with multi-command sequences.
   18629       ;;
   18630     '$CC '*)
   18631       # Test whether the compiler implicitly links with -lc since on some
   18632       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18633       # to ld, don't add -lc before -lgcc.
   18634       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18635 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18636       $rm conftest*
   18637       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18638 
   18639       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18640   (eval $ac_compile) 2>&5
   18641   ac_status=$?
   18642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18643   (exit $ac_status); } 2>conftest.err; then
   18644         soname=conftest
   18645         lib=conftest
   18646         libobjs=conftest.$ac_objext
   18647         deplibs=
   18648         wl=$lt_prog_compiler_wl_GCJ
   18649 	pic_flag=$lt_prog_compiler_pic_GCJ
   18650         compiler_flags=-v
   18651         linker_flags=-v
   18652         verstring=
   18653         output_objdir=.
   18654         libname=conftest
   18655         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18656         allow_undefined_flag_GCJ=
   18657         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18658   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18659   ac_status=$?
   18660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18661   (exit $ac_status); }
   18662         then
   18663 	  archive_cmds_need_lc_GCJ=no
   18664         else
   18665 	  archive_cmds_need_lc_GCJ=yes
   18666         fi
   18667         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18668       else
   18669         cat conftest.err 1>&5
   18670       fi
   18671       $rm conftest*
   18672       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18673 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18674       ;;
   18675     esac
   18676   fi
   18677   ;;
   18678 esac
   18679 
   18680 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18681 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18682 library_names_spec=
   18683 libname_spec='lib$name'
   18684 soname_spec=
   18685 shrext_cmds=".so"
   18686 postinstall_cmds=
   18687 postuninstall_cmds=
   18688 finish_cmds=
   18689 finish_eval=
   18690 shlibpath_var=
   18691 shlibpath_overrides_runpath=unknown
   18692 version_type=none
   18693 dynamic_linker="$host_os ld.so"
   18694 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18695 
   18696 need_lib_prefix=unknown
   18697 hardcode_into_libs=no
   18698 
   18699 # when you set need_version to no, make sure it does not cause -set_version
   18700 # flags to be left without arguments
   18701 need_version=unknown
   18702 
   18703 case $host_os in
   18704 aix3*)
   18705   version_type=linux
   18706   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18707   shlibpath_var=LIBPATH
   18708 
   18709   # AIX 3 has no versioning support, so we append a major version to the name.
   18710   soname_spec='${libname}${release}${shared_ext}$major'
   18711   ;;
   18712 
   18713 aix[4-9]*)
   18714   version_type=linux
   18715   need_lib_prefix=no
   18716   need_version=no
   18717   hardcode_into_libs=yes
   18718   if test "$host_cpu" = ia64; then
   18719     # AIX 5 supports IA64
   18720     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18721     shlibpath_var=LD_LIBRARY_PATH
   18722   else
   18723     # With GCC up to 2.95.x, collect2 would create an import file
   18724     # for dependence libraries.  The import file would start with
   18725     # the line `#! .'.  This would cause the generated library to
   18726     # depend on `.', always an invalid library.  This was fixed in
   18727     # development snapshots of GCC prior to 3.0.
   18728     case $host_os in
   18729       aix4 | aix4.[01] | aix4.[01].*)
   18730       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18731 	   echo ' yes '
   18732 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18733 	:
   18734       else
   18735 	can_build_shared=no
   18736       fi
   18737       ;;
   18738     esac
   18739     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18740     # soname into executable. Probably we can add versioning support to
   18741     # collect2, so additional links can be useful in future.
   18742     if test "$aix_use_runtimelinking" = yes; then
   18743       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18744       # instead of lib<name>.a to let people know that these are not
   18745       # typical AIX shared libraries.
   18746       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18747     else
   18748       # We preserve .a as extension for shared libraries through AIX4.2
   18749       # and later when we are not doing run time linking.
   18750       library_names_spec='${libname}${release}.a $libname.a'
   18751       soname_spec='${libname}${release}${shared_ext}$major'
   18752     fi
   18753     shlibpath_var=LIBPATH
   18754   fi
   18755   ;;
   18756 
   18757 amigaos*)
   18758   library_names_spec='$libname.ixlibrary $libname.a'
   18759   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18760   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
   18761   ;;
   18762 
   18763 beos*)
   18764   library_names_spec='${libname}${shared_ext}'
   18765   dynamic_linker="$host_os ld.so"
   18766   shlibpath_var=LIBRARY_PATH
   18767   ;;
   18768 
   18769 bsdi[45]*)
   18770   version_type=linux
   18771   need_version=no
   18772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18773   soname_spec='${libname}${release}${shared_ext}$major'
   18774   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18775   shlibpath_var=LD_LIBRARY_PATH
   18776   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18777   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18778   # the default ld.so.conf also contains /usr/contrib/lib and
   18779   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18780   # libtool to hard-code these into programs
   18781   ;;
   18782 
   18783 cygwin* | mingw* | pw32*)
   18784   version_type=windows
   18785   shrext_cmds=".dll"
   18786   need_version=no
   18787   need_lib_prefix=no
   18788 
   18789   case $GCC,$host_os in
   18790   yes,cygwin* | yes,mingw* | yes,pw32*)
   18791     library_names_spec='$libname.dll.a'
   18792     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18793     postinstall_cmds='base_file=`basename \${file}`~
   18794       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18795       dldir=$destdir/`dirname \$dlpath`~
   18796       test -d \$dldir || mkdir -p \$dldir~
   18797       $install_prog $dir/$dlname \$dldir/$dlname~
   18798       chmod a+x \$dldir/$dlname'
   18799     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18800       dlpath=$dir/\$dldll~
   18801        $rm \$dlpath'
   18802     shlibpath_overrides_runpath=yes
   18803 
   18804     case $host_os in
   18805     cygwin*)
   18806       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18807       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18808       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18809       ;;
   18810     mingw*)
   18811       # MinGW DLLs use traditional 'lib' prefix
   18812       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18813       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18814       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18815         # It is most probably a Windows format PATH printed by
   18816         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18817         # path with ; separators, and with drive letters. We can handle the
   18818         # drive letters (cygwin fileutils understands them), so leave them,
   18819         # especially as we might pass files found there to a mingw objdump,
   18820         # which wouldn't understand a cygwinified path. Ahh.
   18821         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18822       else
   18823         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18824       fi
   18825       ;;
   18826     pw32*)
   18827       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18828       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18829       ;;
   18830     esac
   18831     ;;
   18832 
   18833   *)
   18834     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18835     ;;
   18836   esac
   18837   dynamic_linker='Win32 ld.exe'
   18838   # FIXME: first we should search . and the directory the executable is in
   18839   shlibpath_var=PATH
   18840   ;;
   18841 
   18842 darwin* | rhapsody*)
   18843   dynamic_linker="$host_os dyld"
   18844   version_type=darwin
   18845   need_lib_prefix=no
   18846   need_version=no
   18847   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18848   soname_spec='${libname}${release}${major}$shared_ext'
   18849   shlibpath_overrides_runpath=yes
   18850   shlibpath_var=DYLD_LIBRARY_PATH
   18851   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18852 
   18853   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18854   ;;
   18855 
   18856 dgux*)
   18857   version_type=linux
   18858   need_lib_prefix=no
   18859   need_version=no
   18860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18861   soname_spec='${libname}${release}${shared_ext}$major'
   18862   shlibpath_var=LD_LIBRARY_PATH
   18863   ;;
   18864 
   18865 freebsd1*)
   18866   dynamic_linker=no
   18867   ;;
   18868 
   18869 freebsd* | dragonfly*)
   18870   # DragonFly does not have aout.  When/if they implement a new
   18871   # versioning mechanism, adjust this.
   18872   if test -x /usr/bin/objformat; then
   18873     objformat=`/usr/bin/objformat`
   18874   else
   18875     case $host_os in
   18876     freebsd[123]*) objformat=aout ;;
   18877     *) objformat=elf ;;
   18878     esac
   18879   fi
   18880   version_type=freebsd-$objformat
   18881   case $version_type in
   18882     freebsd-elf*)
   18883       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18884       need_version=no
   18885       need_lib_prefix=no
   18886       ;;
   18887     freebsd-*)
   18888       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18889       need_version=yes
   18890       ;;
   18891   esac
   18892   shlibpath_var=LD_LIBRARY_PATH
   18893   case $host_os in
   18894   freebsd2*)
   18895     shlibpath_overrides_runpath=yes
   18896     ;;
   18897   freebsd3.[01]* | freebsdelf3.[01]*)
   18898     shlibpath_overrides_runpath=yes
   18899     hardcode_into_libs=yes
   18900     ;;
   18901   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18902   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18903     shlibpath_overrides_runpath=no
   18904     hardcode_into_libs=yes
   18905     ;;
   18906   *) # from 4.6 on, and DragonFly
   18907     shlibpath_overrides_runpath=yes
   18908     hardcode_into_libs=yes
   18909     ;;
   18910   esac
   18911   ;;
   18912 
   18913 gnu*)
   18914   version_type=linux
   18915   need_lib_prefix=no
   18916   need_version=no
   18917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18918   soname_spec='${libname}${release}${shared_ext}$major'
   18919   shlibpath_var=LD_LIBRARY_PATH
   18920   hardcode_into_libs=yes
   18921   ;;
   18922 
   18923 hpux9* | hpux10* | hpux11*)
   18924   # Give a soname corresponding to the major version so that dld.sl refuses to
   18925   # link against other versions.
   18926   version_type=sunos
   18927   need_lib_prefix=no
   18928   need_version=no
   18929   case $host_cpu in
   18930   ia64*)
   18931     shrext_cmds='.so'
   18932     hardcode_into_libs=yes
   18933     dynamic_linker="$host_os dld.so"
   18934     shlibpath_var=LD_LIBRARY_PATH
   18935     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18936     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18937     soname_spec='${libname}${release}${shared_ext}$major'
   18938     if test "X$HPUX_IA64_MODE" = X32; then
   18939       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18940     else
   18941       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18942     fi
   18943     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18944     ;;
   18945    hppa*64*)
   18946      shrext_cmds='.sl'
   18947      hardcode_into_libs=yes
   18948      dynamic_linker="$host_os dld.sl"
   18949      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18950      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18951      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18952      soname_spec='${libname}${release}${shared_ext}$major'
   18953      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18954      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18955      ;;
   18956    *)
   18957     shrext_cmds='.sl'
   18958     dynamic_linker="$host_os dld.sl"
   18959     shlibpath_var=SHLIB_PATH
   18960     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18961     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18962     soname_spec='${libname}${release}${shared_ext}$major'
   18963     ;;
   18964   esac
   18965   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18966   postinstall_cmds='chmod 555 $lib'
   18967   ;;
   18968 
   18969 interix[3-9]*)
   18970   version_type=linux
   18971   need_lib_prefix=no
   18972   need_version=no
   18973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18974   soname_spec='${libname}${release}${shared_ext}$major'
   18975   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18976   shlibpath_var=LD_LIBRARY_PATH
   18977   shlibpath_overrides_runpath=no
   18978   hardcode_into_libs=yes
   18979   ;;
   18980 
   18981 irix5* | irix6* | nonstopux*)
   18982   case $host_os in
   18983     nonstopux*) version_type=nonstopux ;;
   18984     *)
   18985 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18986 		version_type=linux
   18987 	else
   18988 		version_type=irix
   18989 	fi ;;
   18990   esac
   18991   need_lib_prefix=no
   18992   need_version=no
   18993   soname_spec='${libname}${release}${shared_ext}$major'
   18994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18995   case $host_os in
   18996   irix5* | nonstopux*)
   18997     libsuff= shlibsuff=
   18998     ;;
   18999   *)
   19000     case $LD in # libtool.m4 will add one of these switches to LD
   19001     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   19002       libsuff= shlibsuff= libmagic=32-bit;;
   19003     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   19004       libsuff=32 shlibsuff=N32 libmagic=N32;;
   19005     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   19006       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   19007     *) libsuff= shlibsuff= libmagic=never-match;;
   19008     esac
   19009     ;;
   19010   esac
   19011   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   19012   shlibpath_overrides_runpath=no
   19013   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   19014   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   19015   hardcode_into_libs=yes
   19016   ;;
   19017 
   19018 # No shared lib support for Linux oldld, aout, or coff.
   19019 linux*oldld* | linux*aout* | linux*coff*)
   19020   dynamic_linker=no
   19021   ;;
   19022 
   19023 # This must be Linux ELF.
   19024 linux* | k*bsd*-gnu)
   19025   version_type=linux
   19026   need_lib_prefix=no
   19027   need_version=no
   19028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19029   soname_spec='${libname}${release}${shared_ext}$major'
   19030   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   19031   shlibpath_var=LD_LIBRARY_PATH
   19032   shlibpath_overrides_runpath=no
   19033   # This implies no fast_install, which is unacceptable.
   19034   # Some rework will be needed to allow for fast_install
   19035   # before this can be enabled.
   19036   hardcode_into_libs=yes
   19037 
   19038   # Append ld.so.conf contents to the search path
   19039   if test -f /etc/ld.so.conf; then
   19040     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;/^$/d' | tr '\n' ' '`
   19041     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   19042   fi
   19043 
   19044   # We used to test for /lib/ld.so.1 and disable shared libraries on
   19045   # powerpc, because MkLinux only supported shared libraries with the
   19046   # GNU dynamic linker.  Since this was broken with cross compilers,
   19047   # most powerpc-linux boxes support dynamic linking these days and
   19048   # people can always --disable-shared, the test was removed, and we
   19049   # assume the GNU/Linux dynamic linker is in use.
   19050   dynamic_linker='GNU/Linux ld.so'
   19051   ;;
   19052 
   19053 netbsd*)
   19054   version_type=sunos
   19055   need_lib_prefix=no
   19056   need_version=no
   19057   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   19058     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   19059     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   19060     dynamic_linker='NetBSD (a.out) ld.so'
   19061   else
   19062     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   19063     soname_spec='${libname}${release}${shared_ext}$major'
   19064     dynamic_linker='NetBSD ld.elf_so'
   19065   fi
   19066   shlibpath_var=LD_LIBRARY_PATH
   19067   shlibpath_overrides_runpath=yes
   19068   hardcode_into_libs=yes
   19069   ;;
   19070 
   19071 newsos6)
   19072   version_type=linux
   19073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19074   shlibpath_var=LD_LIBRARY_PATH
   19075   shlibpath_overrides_runpath=yes
   19076   ;;
   19077 
   19078 nto-qnx*)
   19079   version_type=linux
   19080   need_lib_prefix=no
   19081   need_version=no
   19082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19083   soname_spec='${libname}${release}${shared_ext}$major'
   19084   shlibpath_var=LD_LIBRARY_PATH
   19085   shlibpath_overrides_runpath=yes
   19086   ;;
   19087 
   19088 openbsd*)
   19089   version_type=sunos
   19090   sys_lib_dlsearch_path_spec="/usr/lib"
   19091   need_lib_prefix=no
   19092   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   19093   case $host_os in
   19094     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   19095     *)                         need_version=no  ;;
   19096   esac
   19097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   19098   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   19099   shlibpath_var=LD_LIBRARY_PATH
   19100   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   19101     case $host_os in
   19102       openbsd2.[89] | openbsd2.[89].*)
   19103 	shlibpath_overrides_runpath=no
   19104 	;;
   19105       *)
   19106 	shlibpath_overrides_runpath=yes
   19107 	;;
   19108       esac
   19109   else
   19110     shlibpath_overrides_runpath=yes
   19111   fi
   19112   ;;
   19113 
   19114 os2*)
   19115   libname_spec='$name'
   19116   shrext_cmds=".dll"
   19117   need_lib_prefix=no
   19118   library_names_spec='$libname${shared_ext} $libname.a'
   19119   dynamic_linker='OS/2 ld.exe'
   19120   shlibpath_var=LIBPATH
   19121   ;;
   19122 
   19123 osf3* | osf4* | osf5*)
   19124   version_type=osf
   19125   need_lib_prefix=no
   19126   need_version=no
   19127   soname_spec='${libname}${release}${shared_ext}$major'
   19128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19129   shlibpath_var=LD_LIBRARY_PATH
   19130   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   19131   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   19132   ;;
   19133 
   19134 rdos*)
   19135   dynamic_linker=no
   19136   ;;
   19137 
   19138 solaris*)
   19139   version_type=linux
   19140   need_lib_prefix=no
   19141   need_version=no
   19142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19143   soname_spec='${libname}${release}${shared_ext}$major'
   19144   shlibpath_var=LD_LIBRARY_PATH
   19145   shlibpath_overrides_runpath=yes
   19146   hardcode_into_libs=yes
   19147   # ldd complains unless libraries are executable
   19148   postinstall_cmds='chmod +x $lib'
   19149   ;;
   19150 
   19151 sunos4*)
   19152   version_type=sunos
   19153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   19154   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   19155   shlibpath_var=LD_LIBRARY_PATH
   19156   shlibpath_overrides_runpath=yes
   19157   if test "$with_gnu_ld" = yes; then
   19158     need_lib_prefix=no
   19159   fi
   19160   need_version=yes
   19161   ;;
   19162 
   19163 sysv4 | sysv4.3*)
   19164   version_type=linux
   19165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19166   soname_spec='${libname}${release}${shared_ext}$major'
   19167   shlibpath_var=LD_LIBRARY_PATH
   19168   case $host_vendor in
   19169     sni)
   19170       shlibpath_overrides_runpath=no
   19171       need_lib_prefix=no
   19172       export_dynamic_flag_spec='${wl}-Blargedynsym'
   19173       runpath_var=LD_RUN_PATH
   19174       ;;
   19175     siemens)
   19176       need_lib_prefix=no
   19177       ;;
   19178     motorola)
   19179       need_lib_prefix=no
   19180       need_version=no
   19181       shlibpath_overrides_runpath=no
   19182       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   19183       ;;
   19184   esac
   19185   ;;
   19186 
   19187 sysv4*MP*)
   19188   if test -d /usr/nec ;then
   19189     version_type=linux
   19190     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   19191     soname_spec='$libname${shared_ext}.$major'
   19192     shlibpath_var=LD_LIBRARY_PATH
   19193   fi
   19194   ;;
   19195 
   19196 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19197   version_type=freebsd-elf
   19198   need_lib_prefix=no
   19199   need_version=no
   19200   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   19201   soname_spec='${libname}${release}${shared_ext}$major'
   19202   shlibpath_var=LD_LIBRARY_PATH
   19203   hardcode_into_libs=yes
   19204   if test "$with_gnu_ld" = yes; then
   19205     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19206     shlibpath_overrides_runpath=no
   19207   else
   19208     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19209     shlibpath_overrides_runpath=yes
   19210     case $host_os in
   19211       sco3.2v5*)
   19212         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19213 	;;
   19214     esac
   19215   fi
   19216   sys_lib_dlsearch_path_spec='/usr/lib'
   19217   ;;
   19218 
   19219 uts4*)
   19220   version_type=linux
   19221   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19222   soname_spec='${libname}${release}${shared_ext}$major'
   19223   shlibpath_var=LD_LIBRARY_PATH
   19224   ;;
   19225 
   19226 *)
   19227   dynamic_linker=no
   19228   ;;
   19229 esac
   19230 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19231 $as_echo "$dynamic_linker" >&6; }
   19232 test "$dynamic_linker" = no && can_build_shared=no
   19233 
   19234 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19235   $as_echo_n "(cached) " >&6
   19236 else
   19237   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19238 fi
   19239 
   19240 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19241 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19242   $as_echo_n "(cached) " >&6
   19243 else
   19244   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19245 fi
   19246 
   19247 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19248 
   19249 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19250 if test "$GCC" = yes; then
   19251   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19252 fi
   19253 
   19254 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19255 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19256 hardcode_action_GCJ=
   19257 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19258    test -n "$runpath_var_GCJ" || \
   19259    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19260 
   19261   # We can hardcode non-existant directories.
   19262   if test "$hardcode_direct_GCJ" != no &&
   19263      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19264      # have to relink, otherwise we might link with an installed library
   19265      # when we should be linking with a yet-to-be-installed one
   19266      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19267      test "$hardcode_minus_L_GCJ" != no; then
   19268     # Linking always hardcodes the temporary library directory.
   19269     hardcode_action_GCJ=relink
   19270   else
   19271     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19272     hardcode_action_GCJ=immediate
   19273   fi
   19274 else
   19275   # We cannot hardcode anything, or else we can only hardcode existing
   19276   # directories.
   19277   hardcode_action_GCJ=unsupported
   19278 fi
   19279 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19280 $as_echo "$hardcode_action_GCJ" >&6; }
   19281 
   19282 if test "$hardcode_action_GCJ" = relink; then
   19283   # Fast installation is not supported
   19284   enable_fast_install=no
   19285 elif test "$shlibpath_overrides_runpath" = yes ||
   19286      test "$enable_shared" = no; then
   19287   # Fast installation is not necessary
   19288   enable_fast_install=needless
   19289 fi
   19290 
   19291 
   19292 # The else clause should only fire when bootstrapping the
   19293 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19294 # with your package, and you will get complaints that there are
   19295 # no rules to generate ltmain.sh.
   19296 if test -f "$ltmain"; then
   19297   # See if we are running on zsh, and set the options which allow our commands through
   19298   # without removal of \ escapes.
   19299   if test -n "${ZSH_VERSION+set}" ; then
   19300     setopt NO_GLOB_SUBST
   19301   fi
   19302   # Now quote all the things that may contain metacharacters while being
   19303   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19304   # variables and quote the copies for generation of the libtool script.
   19305   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19306     SED SHELL STRIP \
   19307     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19308     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19309     deplibs_check_method reload_flag reload_cmds need_locks \
   19310     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19311     lt_cv_sys_global_symbol_to_c_name_address \
   19312     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19313     old_postinstall_cmds old_postuninstall_cmds \
   19314     compiler_GCJ \
   19315     CC_GCJ \
   19316     LD_GCJ \
   19317     lt_prog_compiler_wl_GCJ \
   19318     lt_prog_compiler_pic_GCJ \
   19319     lt_prog_compiler_static_GCJ \
   19320     lt_prog_compiler_no_builtin_flag_GCJ \
   19321     export_dynamic_flag_spec_GCJ \
   19322     thread_safe_flag_spec_GCJ \
   19323     whole_archive_flag_spec_GCJ \
   19324     enable_shared_with_static_runtimes_GCJ \
   19325     old_archive_cmds_GCJ \
   19326     old_archive_from_new_cmds_GCJ \
   19327     predep_objects_GCJ \
   19328     postdep_objects_GCJ \
   19329     predeps_GCJ \
   19330     postdeps_GCJ \
   19331     compiler_lib_search_path_GCJ \
   19332     compiler_lib_search_dirs_GCJ \
   19333     archive_cmds_GCJ \
   19334     archive_expsym_cmds_GCJ \
   19335     postinstall_cmds_GCJ \
   19336     postuninstall_cmds_GCJ \
   19337     old_archive_from_expsyms_cmds_GCJ \
   19338     allow_undefined_flag_GCJ \
   19339     no_undefined_flag_GCJ \
   19340     export_symbols_cmds_GCJ \
   19341     hardcode_libdir_flag_spec_GCJ \
   19342     hardcode_libdir_flag_spec_ld_GCJ \
   19343     hardcode_libdir_separator_GCJ \
   19344     hardcode_automatic_GCJ \
   19345     module_cmds_GCJ \
   19346     module_expsym_cmds_GCJ \
   19347     lt_cv_prog_compiler_c_o_GCJ \
   19348     fix_srcfile_path_GCJ \
   19349     exclude_expsyms_GCJ \
   19350     include_expsyms_GCJ; do
   19351 
   19352     case $var in
   19353     old_archive_cmds_GCJ | \
   19354     old_archive_from_new_cmds_GCJ | \
   19355     archive_cmds_GCJ | \
   19356     archive_expsym_cmds_GCJ | \
   19357     module_cmds_GCJ | \
   19358     module_expsym_cmds_GCJ | \
   19359     old_archive_from_expsyms_cmds_GCJ | \
   19360     export_symbols_cmds_GCJ | \
   19361     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19362     postinstall_cmds | postuninstall_cmds | \
   19363     old_postinstall_cmds | old_postuninstall_cmds | \
   19364     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19365       # Double-quote double-evaled strings.
   19366       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19367       ;;
   19368     *)
   19369       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19370       ;;
   19371     esac
   19372   done
   19373 
   19374   case $lt_echo in
   19375   *'\$0 --fallback-echo"')
   19376     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19377     ;;
   19378   esac
   19379 
   19380 cfgfile="$ofile"
   19381 
   19382   cat <<__EOF__ >> "$cfgfile"
   19383 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19384 
   19385 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19386 
   19387 # Shell to use when invoking shell scripts.
   19388 SHELL=$lt_SHELL
   19389 
   19390 # Whether or not to build shared libraries.
   19391 build_libtool_libs=$enable_shared
   19392 
   19393 # Whether or not to build static libraries.
   19394 build_old_libs=$enable_static
   19395 
   19396 # Whether or not to add -lc for building shared libraries.
   19397 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19398 
   19399 # Whether or not to disallow shared libs when runtime libs are static
   19400 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19401 
   19402 # Whether or not to optimize for fast installation.
   19403 fast_install=$enable_fast_install
   19404 
   19405 # The host system.
   19406 host_alias=$host_alias
   19407 host=$host
   19408 host_os=$host_os
   19409 
   19410 # The build system.
   19411 build_alias=$build_alias
   19412 build=$build
   19413 build_os=$build_os
   19414 
   19415 # An echo program that does not interpret backslashes.
   19416 echo=$lt_echo
   19417 
   19418 # The archiver.
   19419 AR=$lt_AR
   19420 AR_FLAGS=$lt_AR_FLAGS
   19421 
   19422 # A C compiler.
   19423 LTCC=$lt_LTCC
   19424 
   19425 # LTCC compiler flags.
   19426 LTCFLAGS=$lt_LTCFLAGS
   19427 
   19428 # A language-specific compiler.
   19429 CC=$lt_compiler_GCJ
   19430 
   19431 # Is the compiler the GNU C compiler?
   19432 with_gcc=$GCC_GCJ
   19433 
   19434 # An ERE matcher.
   19435 EGREP=$lt_EGREP
   19436 
   19437 # The linker used to build libraries.
   19438 LD=$lt_LD_GCJ
   19439 
   19440 # Whether we need hard or soft links.
   19441 LN_S=$lt_LN_S
   19442 
   19443 # A BSD-compatible nm program.
   19444 NM=$lt_NM
   19445 
   19446 # A symbol stripping program
   19447 STRIP=$lt_STRIP
   19448 
   19449 # Used to examine libraries when file_magic_cmd begins "file"
   19450 MAGIC_CMD=$MAGIC_CMD
   19451 
   19452 # Used on cygwin: DLL creation program.
   19453 DLLTOOL="$DLLTOOL"
   19454 
   19455 # Used on cygwin: object dumper.
   19456 OBJDUMP="$OBJDUMP"
   19457 
   19458 # Used on cygwin: assembler.
   19459 AS="$AS"
   19460 
   19461 # The name of the directory that contains temporary libtool files.
   19462 objdir=$objdir
   19463 
   19464 # How to create reloadable object files.
   19465 reload_flag=$lt_reload_flag
   19466 reload_cmds=$lt_reload_cmds
   19467 
   19468 # How to pass a linker flag through the compiler.
   19469 wl=$lt_lt_prog_compiler_wl_GCJ
   19470 
   19471 # Object file suffix (normally "o").
   19472 objext="$ac_objext"
   19473 
   19474 # Old archive suffix (normally "a").
   19475 libext="$libext"
   19476 
   19477 # Shared library suffix (normally ".so").
   19478 shrext_cmds='$shrext_cmds'
   19479 
   19480 # Executable file suffix (normally "").
   19481 exeext="$exeext"
   19482 
   19483 # Additional compiler flags for building library objects.
   19484 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19485 pic_mode=$pic_mode
   19486 
   19487 # What is the maximum length of a command?
   19488 max_cmd_len=$lt_cv_sys_max_cmd_len
   19489 
   19490 # Does compiler simultaneously support -c and -o options?
   19491 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19492 
   19493 # Must we lock files when doing compilation?
   19494 need_locks=$lt_need_locks
   19495 
   19496 # Do we need the lib prefix for modules?
   19497 need_lib_prefix=$need_lib_prefix
   19498 
   19499 # Do we need a version for libraries?
   19500 need_version=$need_version
   19501 
   19502 # Whether dlopen is supported.
   19503 dlopen_support=$enable_dlopen
   19504 
   19505 # Whether dlopen of programs is supported.
   19506 dlopen_self=$enable_dlopen_self
   19507 
   19508 # Whether dlopen of statically linked programs is supported.
   19509 dlopen_self_static=$enable_dlopen_self_static
   19510 
   19511 # Compiler flag to prevent dynamic linking.
   19512 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19513 
   19514 # Compiler flag to turn off builtin functions.
   19515 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19516 
   19517 # Compiler flag to allow reflexive dlopens.
   19518 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19519 
   19520 # Compiler flag to generate shared objects directly from archives.
   19521 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19522 
   19523 # Compiler flag to generate thread-safe objects.
   19524 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19525 
   19526 # Library versioning type.
   19527 version_type=$version_type
   19528 
   19529 # Format of library name prefix.
   19530 libname_spec=$lt_libname_spec
   19531 
   19532 # List of archive names.  First name is the real one, the rest are links.
   19533 # The last name is the one that the linker finds with -lNAME.
   19534 library_names_spec=$lt_library_names_spec
   19535 
   19536 # The coded name of the library, if different from the real name.
   19537 soname_spec=$lt_soname_spec
   19538 
   19539 # Commands used to build and install an old-style archive.
   19540 RANLIB=$lt_RANLIB
   19541 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19542 old_postinstall_cmds=$lt_old_postinstall_cmds
   19543 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19544 
   19545 # Create an old-style archive from a shared archive.
   19546 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19547 
   19548 # Create a temporary old-style archive to link instead of a shared archive.
   19549 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19550 
   19551 # Commands used to build and install a shared archive.
   19552 archive_cmds=$lt_archive_cmds_GCJ
   19553 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19554 postinstall_cmds=$lt_postinstall_cmds
   19555 postuninstall_cmds=$lt_postuninstall_cmds
   19556 
   19557 # Commands used to build a loadable module (assumed same as above if empty)
   19558 module_cmds=$lt_module_cmds_GCJ
   19559 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19560 
   19561 # Commands to strip libraries.
   19562 old_striplib=$lt_old_striplib
   19563 striplib=$lt_striplib
   19564 
   19565 # Dependencies to place before the objects being linked to create a
   19566 # shared library.
   19567 predep_objects=$lt_predep_objects_GCJ
   19568 
   19569 # Dependencies to place after the objects being linked to create a
   19570 # shared library.
   19571 postdep_objects=$lt_postdep_objects_GCJ
   19572 
   19573 # Dependencies to place before the objects being linked to create a
   19574 # shared library.
   19575 predeps=$lt_predeps_GCJ
   19576 
   19577 # Dependencies to place after the objects being linked to create a
   19578 # shared library.
   19579 postdeps=$lt_postdeps_GCJ
   19580 
   19581 # The directories searched by this compiler when creating a shared
   19582 # library
   19583 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19584 
   19585 # The library search path used internally by the compiler when linking
   19586 # a shared library.
   19587 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19588 
   19589 # Method to check whether dependent libraries are shared objects.
   19590 deplibs_check_method=$lt_deplibs_check_method
   19591 
   19592 # Command to use when deplibs_check_method == file_magic.
   19593 file_magic_cmd=$lt_file_magic_cmd
   19594 
   19595 # Flag that allows shared libraries with undefined symbols to be built.
   19596 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19597 
   19598 # Flag that forces no undefined symbols.
   19599 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19600 
   19601 # Commands used to finish a libtool library installation in a directory.
   19602 finish_cmds=$lt_finish_cmds
   19603 
   19604 # Same as above, but a single script fragment to be evaled but not shown.
   19605 finish_eval=$lt_finish_eval
   19606 
   19607 # Take the output of nm and produce a listing of raw symbols and C names.
   19608 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19609 
   19610 # Transform the output of nm in a proper C declaration
   19611 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19612 
   19613 # Transform the output of nm in a C name address pair
   19614 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19615 
   19616 # This is the shared library runtime path variable.
   19617 runpath_var=$runpath_var
   19618 
   19619 # This is the shared library path variable.
   19620 shlibpath_var=$shlibpath_var
   19621 
   19622 # Is shlibpath searched before the hard-coded library search path?
   19623 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19624 
   19625 # How to hardcode a shared library path into an executable.
   19626 hardcode_action=$hardcode_action_GCJ
   19627 
   19628 # Whether we should hardcode library paths into libraries.
   19629 hardcode_into_libs=$hardcode_into_libs
   19630 
   19631 # Flag to hardcode \$libdir into a binary during linking.
   19632 # This must work even if \$libdir does not exist.
   19633 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19634 
   19635 # If ld is used when linking, flag to hardcode \$libdir into
   19636 # a binary during linking. This must work even if \$libdir does
   19637 # not exist.
   19638 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19639 
   19640 # Whether we need a single -rpath flag with a separated argument.
   19641 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19642 
   19643 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19644 # resulting binary.
   19645 hardcode_direct=$hardcode_direct_GCJ
   19646 
   19647 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19648 # resulting binary.
   19649 hardcode_minus_L=$hardcode_minus_L_GCJ
   19650 
   19651 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19652 # the resulting binary.
   19653 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19654 
   19655 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19656 # and all subsequent libraries and executables linked against it.
   19657 hardcode_automatic=$hardcode_automatic_GCJ
   19658 
   19659 # Variables whose values should be saved in libtool wrapper scripts and
   19660 # restored at relink time.
   19661 variables_saved_for_relink="$variables_saved_for_relink"
   19662 
   19663 # Whether libtool must link a program against all its dependency libraries.
   19664 link_all_deplibs=$link_all_deplibs_GCJ
   19665 
   19666 # Compile-time system search path for libraries
   19667 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19668 
   19669 # Run-time system search path for libraries
   19670 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19671 
   19672 # Fix the shell variable \$srcfile for the compiler.
   19673 fix_srcfile_path=$lt_fix_srcfile_path
   19674 
   19675 # Set to yes if exported symbols are required.
   19676 always_export_symbols=$always_export_symbols_GCJ
   19677 
   19678 # The commands to list exported symbols.
   19679 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19680 
   19681 # The commands to extract the exported symbol list from a shared archive.
   19682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19683 
   19684 # Symbols that should not be listed in the preloaded symbols.
   19685 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19686 
   19687 # Symbols that must always be exported.
   19688 include_expsyms=$lt_include_expsyms_GCJ
   19689 
   19690 # ### END LIBTOOL TAG CONFIG: $tagname
   19691 
   19692 __EOF__
   19693 
   19694 
   19695 else
   19696   # If there is no Makefile yet, we rely on a make rule to execute
   19697   # `config.status --recheck' to rerun these tests and create the
   19698   # libtool script then.
   19699   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19700   if test -f "$ltmain_in"; then
   19701     test -f Makefile && make "$ltmain"
   19702   fi
   19703 fi
   19704 
   19705 
   19706 ac_ext=c
   19707 ac_cpp='$CPP $CPPFLAGS'
   19708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19711 
   19712 CC="$lt_save_CC"
   19713 
   19714 	else
   19715 	  tagname=""
   19716 	fi
   19717 	;;
   19718 
   19719       RC)
   19720 
   19721 
   19722 # Source file extension for RC test sources.
   19723 ac_ext=rc
   19724 
   19725 # Object file extension for compiled RC test sources.
   19726 objext=o
   19727 objext_RC=$objext
   19728 
   19729 # Code to be used in simple compile tests
   19730 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19731 
   19732 # Code to be used in simple link tests
   19733 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19734 
   19735 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19736 
   19737 # If no C compiler was specified, use CC.
   19738 LTCC=${LTCC-"$CC"}
   19739 
   19740 # If no C compiler flags were specified, use CFLAGS.
   19741 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19742 
   19743 # Allow CC to be a program name with arguments.
   19744 compiler=$CC
   19745 
   19746 
   19747 # save warnings/boilerplate of simple test code
   19748 ac_outfile=conftest.$ac_objext
   19749 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19750 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19751 _lt_compiler_boilerplate=`cat conftest.err`
   19752 $rm conftest*
   19753 
   19754 ac_outfile=conftest.$ac_objext
   19755 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19756 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19757 _lt_linker_boilerplate=`cat conftest.err`
   19758 $rm -r conftest*
   19759 
   19760 
   19761 # Allow CC to be a program name with arguments.
   19762 lt_save_CC="$CC"
   19763 CC=${RC-"windres"}
   19764 compiler=$CC
   19765 compiler_RC=$CC
   19766 for cc_temp in $compiler""; do
   19767   case $cc_temp in
   19768     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19769     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19770     \-*) ;;
   19771     *) break;;
   19772   esac
   19773 done
   19774 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19775 
   19776 lt_cv_prog_compiler_c_o_RC=yes
   19777 
   19778 # The else clause should only fire when bootstrapping the
   19779 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19780 # with your package, and you will get complaints that there are
   19781 # no rules to generate ltmain.sh.
   19782 if test -f "$ltmain"; then
   19783   # See if we are running on zsh, and set the options which allow our commands through
   19784   # without removal of \ escapes.
   19785   if test -n "${ZSH_VERSION+set}" ; then
   19786     setopt NO_GLOB_SUBST
   19787   fi
   19788   # Now quote all the things that may contain metacharacters while being
   19789   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19790   # variables and quote the copies for generation of the libtool script.
   19791   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19792     SED SHELL STRIP \
   19793     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19794     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19795     deplibs_check_method reload_flag reload_cmds need_locks \
   19796     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19797     lt_cv_sys_global_symbol_to_c_name_address \
   19798     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19799     old_postinstall_cmds old_postuninstall_cmds \
   19800     compiler_RC \
   19801     CC_RC \
   19802     LD_RC \
   19803     lt_prog_compiler_wl_RC \
   19804     lt_prog_compiler_pic_RC \
   19805     lt_prog_compiler_static_RC \
   19806     lt_prog_compiler_no_builtin_flag_RC \
   19807     export_dynamic_flag_spec_RC \
   19808     thread_safe_flag_spec_RC \
   19809     whole_archive_flag_spec_RC \
   19810     enable_shared_with_static_runtimes_RC \
   19811     old_archive_cmds_RC \
   19812     old_archive_from_new_cmds_RC \
   19813     predep_objects_RC \
   19814     postdep_objects_RC \
   19815     predeps_RC \
   19816     postdeps_RC \
   19817     compiler_lib_search_path_RC \
   19818     compiler_lib_search_dirs_RC \
   19819     archive_cmds_RC \
   19820     archive_expsym_cmds_RC \
   19821     postinstall_cmds_RC \
   19822     postuninstall_cmds_RC \
   19823     old_archive_from_expsyms_cmds_RC \
   19824     allow_undefined_flag_RC \
   19825     no_undefined_flag_RC \
   19826     export_symbols_cmds_RC \
   19827     hardcode_libdir_flag_spec_RC \
   19828     hardcode_libdir_flag_spec_ld_RC \
   19829     hardcode_libdir_separator_RC \
   19830     hardcode_automatic_RC \
   19831     module_cmds_RC \
   19832     module_expsym_cmds_RC \
   19833     lt_cv_prog_compiler_c_o_RC \
   19834     fix_srcfile_path_RC \
   19835     exclude_expsyms_RC \
   19836     include_expsyms_RC; do
   19837 
   19838     case $var in
   19839     old_archive_cmds_RC | \
   19840     old_archive_from_new_cmds_RC | \
   19841     archive_cmds_RC | \
   19842     archive_expsym_cmds_RC | \
   19843     module_cmds_RC | \
   19844     module_expsym_cmds_RC | \
   19845     old_archive_from_expsyms_cmds_RC | \
   19846     export_symbols_cmds_RC | \
   19847     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19848     postinstall_cmds | postuninstall_cmds | \
   19849     old_postinstall_cmds | old_postuninstall_cmds | \
   19850     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19851       # Double-quote double-evaled strings.
   19852       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19853       ;;
   19854     *)
   19855       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19856       ;;
   19857     esac
   19858   done
   19859 
   19860   case $lt_echo in
   19861   *'\$0 --fallback-echo"')
   19862     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19863     ;;
   19864   esac
   19865 
   19866 cfgfile="$ofile"
   19867 
   19868   cat <<__EOF__ >> "$cfgfile"
   19869 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19870 
   19871 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19872 
   19873 # Shell to use when invoking shell scripts.
   19874 SHELL=$lt_SHELL
   19875 
   19876 # Whether or not to build shared libraries.
   19877 build_libtool_libs=$enable_shared
   19878 
   19879 # Whether or not to build static libraries.
   19880 build_old_libs=$enable_static
   19881 
   19882 # Whether or not to add -lc for building shared libraries.
   19883 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19884 
   19885 # Whether or not to disallow shared libs when runtime libs are static
   19886 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19887 
   19888 # Whether or not to optimize for fast installation.
   19889 fast_install=$enable_fast_install
   19890 
   19891 # The host system.
   19892 host_alias=$host_alias
   19893 host=$host
   19894 host_os=$host_os
   19895 
   19896 # The build system.
   19897 build_alias=$build_alias
   19898 build=$build
   19899 build_os=$build_os
   19900 
   19901 # An echo program that does not interpret backslashes.
   19902 echo=$lt_echo
   19903 
   19904 # The archiver.
   19905 AR=$lt_AR
   19906 AR_FLAGS=$lt_AR_FLAGS
   19907 
   19908 # A C compiler.
   19909 LTCC=$lt_LTCC
   19910 
   19911 # LTCC compiler flags.
   19912 LTCFLAGS=$lt_LTCFLAGS
   19913 
   19914 # A language-specific compiler.
   19915 CC=$lt_compiler_RC
   19916 
   19917 # Is the compiler the GNU C compiler?
   19918 with_gcc=$GCC_RC
   19919 
   19920 # An ERE matcher.
   19921 EGREP=$lt_EGREP
   19922 
   19923 # The linker used to build libraries.
   19924 LD=$lt_LD_RC
   19925 
   19926 # Whether we need hard or soft links.
   19927 LN_S=$lt_LN_S
   19928 
   19929 # A BSD-compatible nm program.
   19930 NM=$lt_NM
   19931 
   19932 # A symbol stripping program
   19933 STRIP=$lt_STRIP
   19934 
   19935 # Used to examine libraries when file_magic_cmd begins "file"
   19936 MAGIC_CMD=$MAGIC_CMD
   19937 
   19938 # Used on cygwin: DLL creation program.
   19939 DLLTOOL="$DLLTOOL"
   19940 
   19941 # Used on cygwin: object dumper.
   19942 OBJDUMP="$OBJDUMP"
   19943 
   19944 # Used on cygwin: assembler.
   19945 AS="$AS"
   19946 
   19947 # The name of the directory that contains temporary libtool files.
   19948 objdir=$objdir
   19949 
   19950 # How to create reloadable object files.
   19951 reload_flag=$lt_reload_flag
   19952 reload_cmds=$lt_reload_cmds
   19953 
   19954 # How to pass a linker flag through the compiler.
   19955 wl=$lt_lt_prog_compiler_wl_RC
   19956 
   19957 # Object file suffix (normally "o").
   19958 objext="$ac_objext"
   19959 
   19960 # Old archive suffix (normally "a").
   19961 libext="$libext"
   19962 
   19963 # Shared library suffix (normally ".so").
   19964 shrext_cmds='$shrext_cmds'
   19965 
   19966 # Executable file suffix (normally "").
   19967 exeext="$exeext"
   19968 
   19969 # Additional compiler flags for building library objects.
   19970 pic_flag=$lt_lt_prog_compiler_pic_RC
   19971 pic_mode=$pic_mode
   19972 
   19973 # What is the maximum length of a command?
   19974 max_cmd_len=$lt_cv_sys_max_cmd_len
   19975 
   19976 # Does compiler simultaneously support -c and -o options?
   19977 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19978 
   19979 # Must we lock files when doing compilation?
   19980 need_locks=$lt_need_locks
   19981 
   19982 # Do we need the lib prefix for modules?
   19983 need_lib_prefix=$need_lib_prefix
   19984 
   19985 # Do we need a version for libraries?
   19986 need_version=$need_version
   19987 
   19988 # Whether dlopen is supported.
   19989 dlopen_support=$enable_dlopen
   19990 
   19991 # Whether dlopen of programs is supported.
   19992 dlopen_self=$enable_dlopen_self
   19993 
   19994 # Whether dlopen of statically linked programs is supported.
   19995 dlopen_self_static=$enable_dlopen_self_static
   19996 
   19997 # Compiler flag to prevent dynamic linking.
   19998 link_static_flag=$lt_lt_prog_compiler_static_RC
   19999 
   20000 # Compiler flag to turn off builtin functions.
   20001 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   20002 
   20003 # Compiler flag to allow reflexive dlopens.
   20004 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   20005 
   20006 # Compiler flag to generate shared objects directly from archives.
   20007 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   20008 
   20009 # Compiler flag to generate thread-safe objects.
   20010 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   20011 
   20012 # Library versioning type.
   20013 version_type=$version_type
   20014 
   20015 # Format of library name prefix.
   20016 libname_spec=$lt_libname_spec
   20017 
   20018 # List of archive names.  First name is the real one, the rest are links.
   20019 # The last name is the one that the linker finds with -lNAME.
   20020 library_names_spec=$lt_library_names_spec
   20021 
   20022 # The coded name of the library, if different from the real name.
   20023 soname_spec=$lt_soname_spec
   20024 
   20025 # Commands used to build and install an old-style archive.
   20026 RANLIB=$lt_RANLIB
   20027 old_archive_cmds=$lt_old_archive_cmds_RC
   20028 old_postinstall_cmds=$lt_old_postinstall_cmds
   20029 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20030 
   20031 # Create an old-style archive from a shared archive.
   20032 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   20033 
   20034 # Create a temporary old-style archive to link instead of a shared archive.
   20035 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   20036 
   20037 # Commands used to build and install a shared archive.
   20038 archive_cmds=$lt_archive_cmds_RC
   20039 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   20040 postinstall_cmds=$lt_postinstall_cmds
   20041 postuninstall_cmds=$lt_postuninstall_cmds
   20042 
   20043 # Commands used to build a loadable module (assumed same as above if empty)
   20044 module_cmds=$lt_module_cmds_RC
   20045 module_expsym_cmds=$lt_module_expsym_cmds_RC
   20046 
   20047 # Commands to strip libraries.
   20048 old_striplib=$lt_old_striplib
   20049 striplib=$lt_striplib
   20050 
   20051 # Dependencies to place before the objects being linked to create a
   20052 # shared library.
   20053 predep_objects=$lt_predep_objects_RC
   20054 
   20055 # Dependencies to place after the objects being linked to create a
   20056 # shared library.
   20057 postdep_objects=$lt_postdep_objects_RC
   20058 
   20059 # Dependencies to place before the objects being linked to create a
   20060 # shared library.
   20061 predeps=$lt_predeps_RC
   20062 
   20063 # Dependencies to place after the objects being linked to create a
   20064 # shared library.
   20065 postdeps=$lt_postdeps_RC
   20066 
   20067 # The directories searched by this compiler when creating a shared
   20068 # library
   20069 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   20070 
   20071 # The library search path used internally by the compiler when linking
   20072 # a shared library.
   20073 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   20074 
   20075 # Method to check whether dependent libraries are shared objects.
   20076 deplibs_check_method=$lt_deplibs_check_method
   20077 
   20078 # Command to use when deplibs_check_method == file_magic.
   20079 file_magic_cmd=$lt_file_magic_cmd
   20080 
   20081 # Flag that allows shared libraries with undefined symbols to be built.
   20082 allow_undefined_flag=$lt_allow_undefined_flag_RC
   20083 
   20084 # Flag that forces no undefined symbols.
   20085 no_undefined_flag=$lt_no_undefined_flag_RC
   20086 
   20087 # Commands used to finish a libtool library installation in a directory.
   20088 finish_cmds=$lt_finish_cmds
   20089 
   20090 # Same as above, but a single script fragment to be evaled but not shown.
   20091 finish_eval=$lt_finish_eval
   20092 
   20093 # Take the output of nm and produce a listing of raw symbols and C names.
   20094 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20095 
   20096 # Transform the output of nm in a proper C declaration
   20097 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20098 
   20099 # Transform the output of nm in a C name address pair
   20100 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20101 
   20102 # This is the shared library runtime path variable.
   20103 runpath_var=$runpath_var
   20104 
   20105 # This is the shared library path variable.
   20106 shlibpath_var=$shlibpath_var
   20107 
   20108 # Is shlibpath searched before the hard-coded library search path?
   20109 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20110 
   20111 # How to hardcode a shared library path into an executable.
   20112 hardcode_action=$hardcode_action_RC
   20113 
   20114 # Whether we should hardcode library paths into libraries.
   20115 hardcode_into_libs=$hardcode_into_libs
   20116 
   20117 # Flag to hardcode \$libdir into a binary during linking.
   20118 # This must work even if \$libdir does not exist.
   20119 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   20120 
   20121 # If ld is used when linking, flag to hardcode \$libdir into
   20122 # a binary during linking. This must work even if \$libdir does
   20123 # not exist.
   20124 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   20125 
   20126 # Whether we need a single -rpath flag with a separated argument.
   20127 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   20128 
   20129 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   20130 # resulting binary.
   20131 hardcode_direct=$hardcode_direct_RC
   20132 
   20133 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   20134 # resulting binary.
   20135 hardcode_minus_L=$hardcode_minus_L_RC
   20136 
   20137 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   20138 # the resulting binary.
   20139 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   20140 
   20141 # Set to yes if building a shared library automatically hardcodes DIR into the library
   20142 # and all subsequent libraries and executables linked against it.
   20143 hardcode_automatic=$hardcode_automatic_RC
   20144 
   20145 # Variables whose values should be saved in libtool wrapper scripts and
   20146 # restored at relink time.
   20147 variables_saved_for_relink="$variables_saved_for_relink"
   20148 
   20149 # Whether libtool must link a program against all its dependency libraries.
   20150 link_all_deplibs=$link_all_deplibs_RC
   20151 
   20152 # Compile-time system search path for libraries
   20153 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20154 
   20155 # Run-time system search path for libraries
   20156 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20157 
   20158 # Fix the shell variable \$srcfile for the compiler.
   20159 fix_srcfile_path=$lt_fix_srcfile_path
   20160 
   20161 # Set to yes if exported symbols are required.
   20162 always_export_symbols=$always_export_symbols_RC
   20163 
   20164 # The commands to list exported symbols.
   20165 export_symbols_cmds=$lt_export_symbols_cmds_RC
   20166 
   20167 # The commands to extract the exported symbol list from a shared archive.
   20168 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20169 
   20170 # Symbols that should not be listed in the preloaded symbols.
   20171 exclude_expsyms=$lt_exclude_expsyms_RC
   20172 
   20173 # Symbols that must always be exported.
   20174 include_expsyms=$lt_include_expsyms_RC
   20175 
   20176 # ### END LIBTOOL TAG CONFIG: $tagname
   20177 
   20178 __EOF__
   20179 
   20180 
   20181 else
   20182   # If there is no Makefile yet, we rely on a make rule to execute
   20183   # `config.status --recheck' to rerun these tests and create the
   20184   # libtool script then.
   20185   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   20186   if test -f "$ltmain_in"; then
   20187     test -f Makefile && make "$ltmain"
   20188   fi
   20189 fi
   20190 
   20191 
   20192 ac_ext=c
   20193 ac_cpp='$CPP $CPPFLAGS'
   20194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20197 
   20198 CC="$lt_save_CC"
   20199 
   20200 	;;
   20201 
   20202       *)
   20203 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20204 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20205    { (exit 1); exit 1; }; }
   20206 	;;
   20207       esac
   20208 
   20209       # Append the new tag name to the list of available tags.
   20210       if test -n "$tagname" ; then
   20211       available_tags="$available_tags $tagname"
   20212     fi
   20213     fi
   20214   done
   20215   IFS="$lt_save_ifs"
   20216 
   20217   # Now substitute the updated list of available tags.
   20218   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20219     mv "${ofile}T" "$ofile"
   20220     chmod +x "$ofile"
   20221   else
   20222     rm -f "${ofile}T"
   20223     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20224 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20225    { (exit 1); exit 1; }; }
   20226   fi
   20227 fi
   20228 
   20229 
   20230 
   20231 # This can be used to rebuild libtool when needed
   20232 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20233 
   20234 # Always use our own libtool.
   20235 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20236 
   20237 # Prevent multiple expansion
   20238 
   20239 
   20240 
   20241 
   20242 
   20243 
   20244 
   20245 
   20246 
   20247 
   20248 
   20249 
   20250 
   20251 
   20252 
   20253 
   20254 
   20255 
   20256 
   20257 
   20258 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   20259 $as_echo_n "checking whether ln -s works... " >&6; }
   20260 LN_S=$as_ln_s
   20261 if test "$LN_S" = "ln -s"; then
   20262   { $as_echo "$as_me:$LINENO: result: yes" >&5
   20263 $as_echo "yes" >&6; }
   20264 else
   20265   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   20266 $as_echo "no, using $LN_S" >&6; }
   20267 fi
   20268 
   20269 
   20270 # Compiler characteristics
   20271 #
   20272 { $as_echo "$as_me:$LINENO: checking if using gcc" >&5
   20273 $as_echo_n "checking if using gcc... " >&6; }
   20274 if test "$GCC" = "yes"; then
   20275   WARNCFLAGS="-Werror -Wall -Wpointer-arith"
   20276        { $as_echo "$as_me:$LINENO: result: yes; adding to CFLAGS: \"$WARNCFLAGS\"" >&5
   20277 $as_echo "yes; adding to CFLAGS: \"$WARNCFLAGS\"" >&6; }
   20278 else
   20279   WARNCFLAGS=""
   20280        { $as_echo "$as_me:$LINENO: result: no" >&5
   20281 $as_echo "no" >&6; }
   20282 fi
   20283 
   20284 
   20285 
   20286 # Checks for header files.
   20287 #
   20288 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20289 $as_echo_n "checking for ANSI C header files... " >&6; }
   20290 if test "${ac_cv_header_stdc+set}" = set; then
   20291   $as_echo_n "(cached) " >&6
   20292 else
   20293   cat >conftest.$ac_ext <<_ACEOF
   20294 /* confdefs.h.  */
   20295 _ACEOF
   20296 cat confdefs.h >>conftest.$ac_ext
   20297 cat >>conftest.$ac_ext <<_ACEOF
   20298 /* end confdefs.h.  */
   20299 #include <stdlib.h>
   20300 #include <stdarg.h>
   20301 #include <string.h>
   20302 #include <float.h>
   20303 
   20304 int
   20305 main ()
   20306 {
   20307 
   20308   ;
   20309   return 0;
   20310 }
   20311 _ACEOF
   20312 rm -f conftest.$ac_objext
   20313 if { (ac_try="$ac_compile"
   20314 case "(($ac_try" in
   20315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20316   *) ac_try_echo=$ac_try;;
   20317 esac
   20318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20319 $as_echo "$ac_try_echo") >&5
   20320   (eval "$ac_compile") 2>conftest.er1
   20321   ac_status=$?
   20322   grep -v '^ *+' conftest.er1 >conftest.err
   20323   rm -f conftest.er1
   20324   cat conftest.err >&5
   20325   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20326   (exit $ac_status); } && {
   20327 	 test -z "$ac_c_werror_flag" ||
   20328 	 test ! -s conftest.err
   20329        } && test -s conftest.$ac_objext; then
   20330   ac_cv_header_stdc=yes
   20331 else
   20332   $as_echo "$as_me: failed program was:" >&5
   20333 sed 's/^/| /' conftest.$ac_ext >&5
   20334 
   20335 	ac_cv_header_stdc=no
   20336 fi
   20337 
   20338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20339 
   20340 if test $ac_cv_header_stdc = yes; then
   20341   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20342   cat >conftest.$ac_ext <<_ACEOF
   20343 /* confdefs.h.  */
   20344 _ACEOF
   20345 cat confdefs.h >>conftest.$ac_ext
   20346 cat >>conftest.$ac_ext <<_ACEOF
   20347 /* end confdefs.h.  */
   20348 #include <string.h>
   20349 
   20350 _ACEOF
   20351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20352   $EGREP "memchr" >/dev/null 2>&1; then
   20353   :
   20354 else
   20355   ac_cv_header_stdc=no
   20356 fi
   20357 rm -f conftest*
   20358 
   20359 fi
   20360 
   20361 if test $ac_cv_header_stdc = yes; then
   20362   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20363   cat >conftest.$ac_ext <<_ACEOF
   20364 /* confdefs.h.  */
   20365 _ACEOF
   20366 cat confdefs.h >>conftest.$ac_ext
   20367 cat >>conftest.$ac_ext <<_ACEOF
   20368 /* end confdefs.h.  */
   20369 #include <stdlib.h>
   20370 
   20371 _ACEOF
   20372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20373   $EGREP "free" >/dev/null 2>&1; then
   20374   :
   20375 else
   20376   ac_cv_header_stdc=no
   20377 fi
   20378 rm -f conftest*
   20379 
   20380 fi
   20381 
   20382 if test $ac_cv_header_stdc = yes; then
   20383   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20384   if test "$cross_compiling" = yes; then
   20385   :
   20386 else
   20387   cat >conftest.$ac_ext <<_ACEOF
   20388 /* confdefs.h.  */
   20389 _ACEOF
   20390 cat confdefs.h >>conftest.$ac_ext
   20391 cat >>conftest.$ac_ext <<_ACEOF
   20392 /* end confdefs.h.  */
   20393 #include <ctype.h>
   20394 #include <stdlib.h>
   20395 #if ((' ' & 0x0FF) == 0x020)
   20396 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20397 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20398 #else
   20399 # define ISLOWER(c) \
   20400 		   (('a' <= (c) && (c) <= 'i') \
   20401 		     || ('j' <= (c) && (c) <= 'r') \
   20402 		     || ('s' <= (c) && (c) <= 'z'))
   20403 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20404 #endif
   20405 
   20406 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20407 int
   20408 main ()
   20409 {
   20410   int i;
   20411   for (i = 0; i < 256; i++)
   20412     if (XOR (islower (i), ISLOWER (i))
   20413 	|| toupper (i) != TOUPPER (i))
   20414       return 2;
   20415   return 0;
   20416 }
   20417 _ACEOF
   20418 rm -f conftest$ac_exeext
   20419 if { (ac_try="$ac_link"
   20420 case "(($ac_try" in
   20421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20422   *) ac_try_echo=$ac_try;;
   20423 esac
   20424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20425 $as_echo "$ac_try_echo") >&5
   20426   (eval "$ac_link") 2>&5
   20427   ac_status=$?
   20428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20429   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20430   { (case "(($ac_try" in
   20431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20432   *) ac_try_echo=$ac_try;;
   20433 esac
   20434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20435 $as_echo "$ac_try_echo") >&5
   20436   (eval "$ac_try") 2>&5
   20437   ac_status=$?
   20438   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20439   (exit $ac_status); }; }; then
   20440   :
   20441 else
   20442   $as_echo "$as_me: program exited with status $ac_status" >&5
   20443 $as_echo "$as_me: failed program was:" >&5
   20444 sed 's/^/| /' conftest.$ac_ext >&5
   20445 
   20446 ( exit $ac_status )
   20447 ac_cv_header_stdc=no
   20448 fi
   20449 rm -rf conftest.dSYM
   20450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20451 fi
   20452 
   20453 
   20454 fi
   20455 fi
   20456 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20457 $as_echo "$ac_cv_header_stdc" >&6; }
   20458 if test $ac_cv_header_stdc = yes; then
   20459 
   20460 cat >>confdefs.h <<\_ACEOF
   20461 #define STDC_HEADERS 1
   20462 _ACEOF
   20463 
   20464 fi
   20465 
   20466 
   20467 for ac_header in CommonCrypto/CommonDigest.h
   20468 do
   20469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20471   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20472 $as_echo_n "checking for $ac_header... " >&6; }
   20473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20474   $as_echo_n "(cached) " >&6
   20475 fi
   20476 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20477 		 $as_echo "$as_val"'`
   20478 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20479 $as_echo "$ac_res" >&6; }
   20480 else
   20481   # Is the header compilable?
   20482 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20483 $as_echo_n "checking $ac_header usability... " >&6; }
   20484 cat >conftest.$ac_ext <<_ACEOF
   20485 /* confdefs.h.  */
   20486 _ACEOF
   20487 cat confdefs.h >>conftest.$ac_ext
   20488 cat >>conftest.$ac_ext <<_ACEOF
   20489 /* end confdefs.h.  */
   20490 $ac_includes_default
   20491 #include <$ac_header>
   20492 _ACEOF
   20493 rm -f conftest.$ac_objext
   20494 if { (ac_try="$ac_compile"
   20495 case "(($ac_try" in
   20496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20497   *) ac_try_echo=$ac_try;;
   20498 esac
   20499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20500 $as_echo "$ac_try_echo") >&5
   20501   (eval "$ac_compile") 2>conftest.er1
   20502   ac_status=$?
   20503   grep -v '^ *+' conftest.er1 >conftest.err
   20504   rm -f conftest.er1
   20505   cat conftest.err >&5
   20506   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20507   (exit $ac_status); } && {
   20508 	 test -z "$ac_c_werror_flag" ||
   20509 	 test ! -s conftest.err
   20510        } && test -s conftest.$ac_objext; then
   20511   ac_header_compiler=yes
   20512 else
   20513   $as_echo "$as_me: failed program was:" >&5
   20514 sed 's/^/| /' conftest.$ac_ext >&5
   20515 
   20516 	ac_header_compiler=no
   20517 fi
   20518 
   20519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20520 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20521 $as_echo "$ac_header_compiler" >&6; }
   20522 
   20523 # Is the header present?
   20524 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20525 $as_echo_n "checking $ac_header presence... " >&6; }
   20526 cat >conftest.$ac_ext <<_ACEOF
   20527 /* confdefs.h.  */
   20528 _ACEOF
   20529 cat confdefs.h >>conftest.$ac_ext
   20530 cat >>conftest.$ac_ext <<_ACEOF
   20531 /* end confdefs.h.  */
   20532 #include <$ac_header>
   20533 _ACEOF
   20534 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20535 case "(($ac_try" in
   20536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20537   *) ac_try_echo=$ac_try;;
   20538 esac
   20539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20540 $as_echo "$ac_try_echo") >&5
   20541   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20542   ac_status=$?
   20543   grep -v '^ *+' conftest.er1 >conftest.err
   20544   rm -f conftest.er1
   20545   cat conftest.err >&5
   20546   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20547   (exit $ac_status); } >/dev/null && {
   20548 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20549 	 test ! -s conftest.err
   20550        }; then
   20551   ac_header_preproc=yes
   20552 else
   20553   $as_echo "$as_me: failed program was:" >&5
   20554 sed 's/^/| /' conftest.$ac_ext >&5
   20555 
   20556   ac_header_preproc=no
   20557 fi
   20558 
   20559 rm -f conftest.err conftest.$ac_ext
   20560 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20561 $as_echo "$ac_header_preproc" >&6; }
   20562 
   20563 # So?  What about this header?
   20564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20565   yes:no: )
   20566     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20567 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20568     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20569 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20570     ac_header_preproc=yes
   20571     ;;
   20572   no:yes:* )
   20573     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20574 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20575     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20576 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20577     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20578 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20579     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20580 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20581     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20582 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20583     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20584 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20585     ( cat <<\_ASBOX
   20586 ## -------------------------------------------------------- ##
   20587 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   20588 ## -------------------------------------------------------- ##
   20589 _ASBOX
   20590      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20591     ;;
   20592 esac
   20593 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20594 $as_echo_n "checking for $ac_header... " >&6; }
   20595 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20596   $as_echo_n "(cached) " >&6
   20597 else
   20598   eval "$as_ac_Header=\$ac_header_preproc"
   20599 fi
   20600 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20601 		 $as_echo "$as_val"'`
   20602 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20603 $as_echo "$ac_res" >&6; }
   20604 
   20605 fi
   20606 as_val=`eval 'as_val=${'$as_ac_Header'}
   20607 		 $as_echo "$as_val"'`
   20608    if test "x$as_val" = x""yes; then
   20609   cat >>confdefs.h <<_ACEOF
   20610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20611 _ACEOF
   20612 
   20613 fi
   20614 
   20615 done
   20616 
   20617 
   20618 
   20619 
   20620 
   20621 
   20622 
   20623 
   20624 
   20625 for ac_header in dmalloc.h direct.h errno.h fcntl.h \
   20626                  inttypes.h limits.h malloc.h zlib.h
   20627 do
   20628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20630   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20631 $as_echo_n "checking for $ac_header... " >&6; }
   20632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20633   $as_echo_n "(cached) " >&6
   20634 fi
   20635 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20636 		 $as_echo "$as_val"'`
   20637 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20638 $as_echo "$ac_res" >&6; }
   20639 else
   20640   # Is the header compilable?
   20641 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20642 $as_echo_n "checking $ac_header usability... " >&6; }
   20643 cat >conftest.$ac_ext <<_ACEOF
   20644 /* confdefs.h.  */
   20645 _ACEOF
   20646 cat confdefs.h >>conftest.$ac_ext
   20647 cat >>conftest.$ac_ext <<_ACEOF
   20648 /* end confdefs.h.  */
   20649 $ac_includes_default
   20650 #include <$ac_header>
   20651 _ACEOF
   20652 rm -f conftest.$ac_objext
   20653 if { (ac_try="$ac_compile"
   20654 case "(($ac_try" in
   20655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20656   *) ac_try_echo=$ac_try;;
   20657 esac
   20658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20659 $as_echo "$ac_try_echo") >&5
   20660   (eval "$ac_compile") 2>conftest.er1
   20661   ac_status=$?
   20662   grep -v '^ *+' conftest.er1 >conftest.err
   20663   rm -f conftest.er1
   20664   cat conftest.err >&5
   20665   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20666   (exit $ac_status); } && {
   20667 	 test -z "$ac_c_werror_flag" ||
   20668 	 test ! -s conftest.err
   20669        } && test -s conftest.$ac_objext; then
   20670   ac_header_compiler=yes
   20671 else
   20672   $as_echo "$as_me: failed program was:" >&5
   20673 sed 's/^/| /' conftest.$ac_ext >&5
   20674 
   20675 	ac_header_compiler=no
   20676 fi
   20677 
   20678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20679 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20680 $as_echo "$ac_header_compiler" >&6; }
   20681 
   20682 # Is the header present?
   20683 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20684 $as_echo_n "checking $ac_header presence... " >&6; }
   20685 cat >conftest.$ac_ext <<_ACEOF
   20686 /* confdefs.h.  */
   20687 _ACEOF
   20688 cat confdefs.h >>conftest.$ac_ext
   20689 cat >>conftest.$ac_ext <<_ACEOF
   20690 /* end confdefs.h.  */
   20691 #include <$ac_header>
   20692 _ACEOF
   20693 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20694 case "(($ac_try" in
   20695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20696   *) ac_try_echo=$ac_try;;
   20697 esac
   20698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20699 $as_echo "$ac_try_echo") >&5
   20700   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20701   ac_status=$?
   20702   grep -v '^ *+' conftest.er1 >conftest.err
   20703   rm -f conftest.er1
   20704   cat conftest.err >&5
   20705   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20706   (exit $ac_status); } >/dev/null && {
   20707 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20708 	 test ! -s conftest.err
   20709        }; then
   20710   ac_header_preproc=yes
   20711 else
   20712   $as_echo "$as_me: failed program was:" >&5
   20713 sed 's/^/| /' conftest.$ac_ext >&5
   20714 
   20715   ac_header_preproc=no
   20716 fi
   20717 
   20718 rm -f conftest.err conftest.$ac_ext
   20719 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20720 $as_echo "$ac_header_preproc" >&6; }
   20721 
   20722 # So?  What about this header?
   20723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20724   yes:no: )
   20725     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20726 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20727     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20728 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20729     ac_header_preproc=yes
   20730     ;;
   20731   no:yes:* )
   20732     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20733 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20734     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20735 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20736     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20737 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20738     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20739 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20740     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20741 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20742     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20743 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20744     ( cat <<\_ASBOX
   20745 ## -------------------------------------------------------- ##
   20746 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   20747 ## -------------------------------------------------------- ##
   20748 _ASBOX
   20749      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20750     ;;
   20751 esac
   20752 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20753 $as_echo_n "checking for $ac_header... " >&6; }
   20754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20755   $as_echo_n "(cached) " >&6
   20756 else
   20757   eval "$as_ac_Header=\$ac_header_preproc"
   20758 fi
   20759 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20760 		 $as_echo "$as_val"'`
   20761 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20762 $as_echo "$ac_res" >&6; }
   20763 
   20764 fi
   20765 as_val=`eval 'as_val=${'$as_ac_Header'}
   20766 		 $as_echo "$as_val"'`
   20767    if test "x$as_val" = x""yes; then
   20768   cat >>confdefs.h <<_ACEOF
   20769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20770 _ACEOF
   20771 
   20772 fi
   20773 
   20774 done
   20775 
   20776 
   20777 
   20778 
   20779 
   20780 
   20781 
   20782 
   20783 
   20784 
   20785 
   20786 
   20787 
   20788 
   20789 for ac_header in openssl/aes.h openssl/bn.h openssl/cast.h openssl/des.h \
   20790                   openssl/dsa.h openssl/err.h openssl/idea.h openssl/md5.h \
   20791                   openssl/rand.h openssl/rsa.h openssl/sha.h openssl/err.h \
   20792                   openssl/sha.h
   20793 do
   20794 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20795 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20796   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20797 $as_echo_n "checking for $ac_header... " >&6; }
   20798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20799   $as_echo_n "(cached) " >&6
   20800 fi
   20801 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20802 		 $as_echo "$as_val"'`
   20803 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20804 $as_echo "$ac_res" >&6; }
   20805 else
   20806   # Is the header compilable?
   20807 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20808 $as_echo_n "checking $ac_header usability... " >&6; }
   20809 cat >conftest.$ac_ext <<_ACEOF
   20810 /* confdefs.h.  */
   20811 _ACEOF
   20812 cat confdefs.h >>conftest.$ac_ext
   20813 cat >>conftest.$ac_ext <<_ACEOF
   20814 /* end confdefs.h.  */
   20815 $ac_includes_default
   20816 #include <$ac_header>
   20817 _ACEOF
   20818 rm -f conftest.$ac_objext
   20819 if { (ac_try="$ac_compile"
   20820 case "(($ac_try" in
   20821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20822   *) ac_try_echo=$ac_try;;
   20823 esac
   20824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20825 $as_echo "$ac_try_echo") >&5
   20826   (eval "$ac_compile") 2>conftest.er1
   20827   ac_status=$?
   20828   grep -v '^ *+' conftest.er1 >conftest.err
   20829   rm -f conftest.er1
   20830   cat conftest.err >&5
   20831   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20832   (exit $ac_status); } && {
   20833 	 test -z "$ac_c_werror_flag" ||
   20834 	 test ! -s conftest.err
   20835        } && test -s conftest.$ac_objext; then
   20836   ac_header_compiler=yes
   20837 else
   20838   $as_echo "$as_me: failed program was:" >&5
   20839 sed 's/^/| /' conftest.$ac_ext >&5
   20840 
   20841 	ac_header_compiler=no
   20842 fi
   20843 
   20844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20845 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20846 $as_echo "$ac_header_compiler" >&6; }
   20847 
   20848 # Is the header present?
   20849 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20850 $as_echo_n "checking $ac_header presence... " >&6; }
   20851 cat >conftest.$ac_ext <<_ACEOF
   20852 /* confdefs.h.  */
   20853 _ACEOF
   20854 cat confdefs.h >>conftest.$ac_ext
   20855 cat >>conftest.$ac_ext <<_ACEOF
   20856 /* end confdefs.h.  */
   20857 #include <$ac_header>
   20858 _ACEOF
   20859 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20860 case "(($ac_try" in
   20861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20862   *) ac_try_echo=$ac_try;;
   20863 esac
   20864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20865 $as_echo "$ac_try_echo") >&5
   20866   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20867   ac_status=$?
   20868   grep -v '^ *+' conftest.er1 >conftest.err
   20869   rm -f conftest.er1
   20870   cat conftest.err >&5
   20871   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20872   (exit $ac_status); } >/dev/null && {
   20873 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20874 	 test ! -s conftest.err
   20875        }; then
   20876   ac_header_preproc=yes
   20877 else
   20878   $as_echo "$as_me: failed program was:" >&5
   20879 sed 's/^/| /' conftest.$ac_ext >&5
   20880 
   20881   ac_header_preproc=no
   20882 fi
   20883 
   20884 rm -f conftest.err conftest.$ac_ext
   20885 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20886 $as_echo "$ac_header_preproc" >&6; }
   20887 
   20888 # So?  What about this header?
   20889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20890   yes:no: )
   20891     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20892 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20893     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20894 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20895     ac_header_preproc=yes
   20896     ;;
   20897   no:yes:* )
   20898     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20899 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20900     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20901 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20902     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20903 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20904     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20905 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20906     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20907 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20908     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20909 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20910     ( cat <<\_ASBOX
   20911 ## -------------------------------------------------------- ##
   20912 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   20913 ## -------------------------------------------------------- ##
   20914 _ASBOX
   20915      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20916     ;;
   20917 esac
   20918 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20919 $as_echo_n "checking for $ac_header... " >&6; }
   20920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20921   $as_echo_n "(cached) " >&6
   20922 else
   20923   eval "$as_ac_Header=\$ac_header_preproc"
   20924 fi
   20925 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20926 		 $as_echo "$as_val"'`
   20927 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20928 $as_echo "$ac_res" >&6; }
   20929 
   20930 fi
   20931 as_val=`eval 'as_val=${'$as_ac_Header'}
   20932 		 $as_echo "$as_val"'`
   20933    if test "x$as_val" = x""yes; then
   20934   cat >>confdefs.h <<_ACEOF
   20935 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20936 _ACEOF
   20937 
   20938 fi
   20939 
   20940 done
   20941 
   20942 
   20943 
   20944 
   20945 
   20946 
   20947 
   20948 for ac_header in sys/cdefs.h sys/file.h sys/mman.h sys/param.h \
   20949                   sys/resource.h sys/uio.h
   20950 do
   20951 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20953   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20954 $as_echo_n "checking for $ac_header... " >&6; }
   20955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20956   $as_echo_n "(cached) " >&6
   20957 fi
   20958 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20959 		 $as_echo "$as_val"'`
   20960 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20961 $as_echo "$ac_res" >&6; }
   20962 else
   20963   # Is the header compilable?
   20964 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20965 $as_echo_n "checking $ac_header usability... " >&6; }
   20966 cat >conftest.$ac_ext <<_ACEOF
   20967 /* confdefs.h.  */
   20968 _ACEOF
   20969 cat confdefs.h >>conftest.$ac_ext
   20970 cat >>conftest.$ac_ext <<_ACEOF
   20971 /* end confdefs.h.  */
   20972 $ac_includes_default
   20973 #include <$ac_header>
   20974 _ACEOF
   20975 rm -f conftest.$ac_objext
   20976 if { (ac_try="$ac_compile"
   20977 case "(($ac_try" in
   20978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20979   *) ac_try_echo=$ac_try;;
   20980 esac
   20981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20982 $as_echo "$ac_try_echo") >&5
   20983   (eval "$ac_compile") 2>conftest.er1
   20984   ac_status=$?
   20985   grep -v '^ *+' conftest.er1 >conftest.err
   20986   rm -f conftest.er1
   20987   cat conftest.err >&5
   20988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20989   (exit $ac_status); } && {
   20990 	 test -z "$ac_c_werror_flag" ||
   20991 	 test ! -s conftest.err
   20992        } && test -s conftest.$ac_objext; then
   20993   ac_header_compiler=yes
   20994 else
   20995   $as_echo "$as_me: failed program was:" >&5
   20996 sed 's/^/| /' conftest.$ac_ext >&5
   20997 
   20998 	ac_header_compiler=no
   20999 fi
   21000 
   21001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21002 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21003 $as_echo "$ac_header_compiler" >&6; }
   21004 
   21005 # Is the header present?
   21006 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   21007 $as_echo_n "checking $ac_header presence... " >&6; }
   21008 cat >conftest.$ac_ext <<_ACEOF
   21009 /* confdefs.h.  */
   21010 _ACEOF
   21011 cat confdefs.h >>conftest.$ac_ext
   21012 cat >>conftest.$ac_ext <<_ACEOF
   21013 /* end confdefs.h.  */
   21014 #include <$ac_header>
   21015 _ACEOF
   21016 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21017 case "(($ac_try" in
   21018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21019   *) ac_try_echo=$ac_try;;
   21020 esac
   21021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21022 $as_echo "$ac_try_echo") >&5
   21023   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21024   ac_status=$?
   21025   grep -v '^ *+' conftest.er1 >conftest.err
   21026   rm -f conftest.er1
   21027   cat conftest.err >&5
   21028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21029   (exit $ac_status); } >/dev/null && {
   21030 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21031 	 test ! -s conftest.err
   21032        }; then
   21033   ac_header_preproc=yes
   21034 else
   21035   $as_echo "$as_me: failed program was:" >&5
   21036 sed 's/^/| /' conftest.$ac_ext >&5
   21037 
   21038   ac_header_preproc=no
   21039 fi
   21040 
   21041 rm -f conftest.err conftest.$ac_ext
   21042 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21043 $as_echo "$ac_header_preproc" >&6; }
   21044 
   21045 # So?  What about this header?
   21046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21047   yes:no: )
   21048     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   21049 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21050     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   21051 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   21052     ac_header_preproc=yes
   21053     ;;
   21054   no:yes:* )
   21055     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   21056 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   21057     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   21058 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   21059     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   21060 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   21061     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   21062 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   21063     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   21064 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   21065     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   21066 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   21067     ( cat <<\_ASBOX
   21068 ## -------------------------------------------------------- ##
   21069 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   21070 ## -------------------------------------------------------- ##
   21071 _ASBOX
   21072      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21073     ;;
   21074 esac
   21075 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   21076 $as_echo_n "checking for $ac_header... " >&6; }
   21077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21078   $as_echo_n "(cached) " >&6
   21079 else
   21080   eval "$as_ac_Header=\$ac_header_preproc"
   21081 fi
   21082 ac_res=`eval 'as_val=${'$as_ac_Header'}
   21083 		 $as_echo "$as_val"'`
   21084 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21085 $as_echo "$ac_res" >&6; }
   21086 
   21087 fi
   21088 as_val=`eval 'as_val=${'$as_ac_Header'}
   21089 		 $as_echo "$as_val"'`
   21090    if test "x$as_val" = x""yes; then
   21091   cat >>confdefs.h <<_ACEOF
   21092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   21093 _ACEOF
   21094 
   21095 fi
   21096 
   21097 done
   21098 
   21099 
   21100 
   21101 for ac_header in bzlib.h
   21102 do
   21103 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   21104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21105   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   21106 $as_echo_n "checking for $ac_header... " >&6; }
   21107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21108   $as_echo_n "(cached) " >&6
   21109 fi
   21110 ac_res=`eval 'as_val=${'$as_ac_Header'}
   21111 		 $as_echo "$as_val"'`
   21112 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21113 $as_echo "$ac_res" >&6; }
   21114 else
   21115   # Is the header compilable?
   21116 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   21117 $as_echo_n "checking $ac_header usability... " >&6; }
   21118 cat >conftest.$ac_ext <<_ACEOF
   21119 /* confdefs.h.  */
   21120 _ACEOF
   21121 cat confdefs.h >>conftest.$ac_ext
   21122 cat >>conftest.$ac_ext <<_ACEOF
   21123 /* end confdefs.h.  */
   21124 $ac_includes_default
   21125 #include <$ac_header>
   21126 _ACEOF
   21127 rm -f conftest.$ac_objext
   21128 if { (ac_try="$ac_compile"
   21129 case "(($ac_try" in
   21130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21131   *) ac_try_echo=$ac_try;;
   21132 esac
   21133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21134 $as_echo "$ac_try_echo") >&5
   21135   (eval "$ac_compile") 2>conftest.er1
   21136   ac_status=$?
   21137   grep -v '^ *+' conftest.er1 >conftest.err
   21138   rm -f conftest.er1
   21139   cat conftest.err >&5
   21140   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21141   (exit $ac_status); } && {
   21142 	 test -z "$ac_c_werror_flag" ||
   21143 	 test ! -s conftest.err
   21144        } && test -s conftest.$ac_objext; then
   21145   ac_header_compiler=yes
   21146 else
   21147   $as_echo "$as_me: failed program was:" >&5
   21148 sed 's/^/| /' conftest.$ac_ext >&5
   21149 
   21150 	ac_header_compiler=no
   21151 fi
   21152 
   21153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21154 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21155 $as_echo "$ac_header_compiler" >&6; }
   21156 
   21157 # Is the header present?
   21158 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   21159 $as_echo_n "checking $ac_header presence... " >&6; }
   21160 cat >conftest.$ac_ext <<_ACEOF
   21161 /* confdefs.h.  */
   21162 _ACEOF
   21163 cat confdefs.h >>conftest.$ac_ext
   21164 cat >>conftest.$ac_ext <<_ACEOF
   21165 /* end confdefs.h.  */
   21166 #include <$ac_header>
   21167 _ACEOF
   21168 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21169 case "(($ac_try" in
   21170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21171   *) ac_try_echo=$ac_try;;
   21172 esac
   21173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21174 $as_echo "$ac_try_echo") >&5
   21175   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21176   ac_status=$?
   21177   grep -v '^ *+' conftest.er1 >conftest.err
   21178   rm -f conftest.er1
   21179   cat conftest.err >&5
   21180   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21181   (exit $ac_status); } >/dev/null && {
   21182 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21183 	 test ! -s conftest.err
   21184        }; then
   21185   ac_header_preproc=yes
   21186 else
   21187   $as_echo "$as_me: failed program was:" >&5
   21188 sed 's/^/| /' conftest.$ac_ext >&5
   21189 
   21190   ac_header_preproc=no
   21191 fi
   21192 
   21193 rm -f conftest.err conftest.$ac_ext
   21194 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21195 $as_echo "$ac_header_preproc" >&6; }
   21196 
   21197 # So?  What about this header?
   21198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21199   yes:no: )
   21200     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   21201 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21202     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   21203 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   21204     ac_header_preproc=yes
   21205     ;;
   21206   no:yes:* )
   21207     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   21208 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   21209     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   21210 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   21211     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   21212 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   21213     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   21214 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   21215     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   21216 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   21217     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   21218 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   21219     ( cat <<\_ASBOX
   21220 ## -------------------------------------------------------- ##
   21221 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   21222 ## -------------------------------------------------------- ##
   21223 _ASBOX
   21224      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21225     ;;
   21226 esac
   21227 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   21228 $as_echo_n "checking for $ac_header... " >&6; }
   21229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21230   $as_echo_n "(cached) " >&6
   21231 else
   21232   eval "$as_ac_Header=\$ac_header_preproc"
   21233 fi
   21234 ac_res=`eval 'as_val=${'$as_ac_Header'}
   21235 		 $as_echo "$as_val"'`
   21236 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21237 $as_echo "$ac_res" >&6; }
   21238 
   21239 fi
   21240 as_val=`eval 'as_val=${'$as_ac_Header'}
   21241 		 $as_echo "$as_val"'`
   21242    if test "x$as_val" = x""yes; then
   21243   cat >>confdefs.h <<_ACEOF
   21244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   21245 _ACEOF
   21246 
   21247 else
   21248   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21250 { { $as_echo "$as_me:$LINENO: error: missing <bzlib.h>; is bzip2 installed?
   21251 See \`config.log' for more details." >&5
   21252 $as_echo "$as_me: error: missing <bzlib.h>; is bzip2 installed?
   21253 See \`config.log' for more details." >&2;}
   21254    { (exit 1); exit 1; }; }; }
   21255 fi
   21256 
   21257 done
   21258 
   21259 
   21260 # Checks for typedefs, structures, and compiler characteristics.
   21261 #
   21262 
   21263   { $as_echo "$as_me:$LINENO: checking for long long int" >&5
   21264 $as_echo_n "checking for long long int... " >&6; }
   21265 if test "${ac_cv_type_long_long_int+set}" = set; then
   21266   $as_echo_n "(cached) " >&6
   21267 else
   21268   cat >conftest.$ac_ext <<_ACEOF
   21269 
   21270   /* confdefs.h.  */
   21271 _ACEOF
   21272 cat confdefs.h >>conftest.$ac_ext
   21273 cat >>conftest.$ac_ext <<_ACEOF
   21274 /* end confdefs.h.  */
   21275 /* For now, do not test the preprocessor; as of 2007 there are too many
   21276 	 implementations with broken preprocessors.  Perhaps this can
   21277 	 be revisited in 2012.  In the meantime, code should not expect
   21278 	 #if to work with literals wider than 32 bits.  */
   21279       /* Test literals.  */
   21280       long long int ll = 9223372036854775807ll;
   21281       long long int nll = -9223372036854775807LL;
   21282       unsigned long long int ull = 18446744073709551615ULL;
   21283       /* Test constant expressions.   */
   21284       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
   21285 		     ? 1 : -1)];
   21286       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
   21287 		     ? 1 : -1)];
   21288       int i = 63;
   21289 int
   21290 main ()
   21291 {
   21292 /* Test availability of runtime routines for shift and division.  */
   21293       long long int llmax = 9223372036854775807ll;
   21294       unsigned long long int ullmax = 18446744073709551615ull;
   21295       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
   21296 	      | (llmax / ll) | (llmax % ll)
   21297 	      | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
   21298 	      | (ullmax / ull) | (ullmax % ull));
   21299   ;
   21300   return 0;
   21301 }
   21302 
   21303 _ACEOF
   21304 rm -f conftest.$ac_objext conftest$ac_exeext
   21305 if { (ac_try="$ac_link"
   21306 case "(($ac_try" in
   21307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21308   *) ac_try_echo=$ac_try;;
   21309 esac
   21310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21311 $as_echo "$ac_try_echo") >&5
   21312   (eval "$ac_link") 2>conftest.er1
   21313   ac_status=$?
   21314   grep -v '^ *+' conftest.er1 >conftest.err
   21315   rm -f conftest.er1
   21316   cat conftest.err >&5
   21317   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21318   (exit $ac_status); } && {
   21319 	 test -z "$ac_c_werror_flag" ||
   21320 	 test ! -s conftest.err
   21321        } && test -s conftest$ac_exeext && {
   21322 	 test "$cross_compiling" = yes ||
   21323 	 $as_test_x conftest$ac_exeext
   21324        }; then
   21325   			if test "$cross_compiling" = yes; then
   21326   ac_cv_type_long_long_int=yes
   21327 else
   21328   cat >conftest.$ac_ext <<_ACEOF
   21329 /* confdefs.h.  */
   21330 _ACEOF
   21331 cat confdefs.h >>conftest.$ac_ext
   21332 cat >>conftest.$ac_ext <<_ACEOF
   21333 /* end confdefs.h.  */
   21334 #include <limits.h>
   21335 	       #ifndef LLONG_MAX
   21336 	       # define HALF \
   21337 			(1LL << (sizeof (long long int) * CHAR_BIT - 2))
   21338 	       # define LLONG_MAX (HALF - 1 + HALF)
   21339 	       #endif
   21340 int
   21341 main ()
   21342 {
   21343 long long int n = 1;
   21344 	       int i;
   21345 	       for (i = 0; ; i++)
   21346 		 {
   21347 		   long long int m = n << i;
   21348 		   if (m >> i != n)
   21349 		     return 1;
   21350 		   if (LLONG_MAX / 2 < m)
   21351 		     break;
   21352 		 }
   21353 	       return 0;
   21354   ;
   21355   return 0;
   21356 }
   21357 _ACEOF
   21358 rm -f conftest$ac_exeext
   21359 if { (ac_try="$ac_link"
   21360 case "(($ac_try" in
   21361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21362   *) ac_try_echo=$ac_try;;
   21363 esac
   21364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21365 $as_echo "$ac_try_echo") >&5
   21366   (eval "$ac_link") 2>&5
   21367   ac_status=$?
   21368   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21369   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21370   { (case "(($ac_try" in
   21371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21372   *) ac_try_echo=$ac_try;;
   21373 esac
   21374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21375 $as_echo "$ac_try_echo") >&5
   21376   (eval "$ac_try") 2>&5
   21377   ac_status=$?
   21378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21379   (exit $ac_status); }; }; then
   21380   ac_cv_type_long_long_int=yes
   21381 else
   21382   $as_echo "$as_me: program exited with status $ac_status" >&5
   21383 $as_echo "$as_me: failed program was:" >&5
   21384 sed 's/^/| /' conftest.$ac_ext >&5
   21385 
   21386 ( exit $ac_status )
   21387 ac_cv_type_long_long_int=no
   21388 fi
   21389 rm -rf conftest.dSYM
   21390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21391 fi
   21392 
   21393 
   21394 else
   21395   $as_echo "$as_me: failed program was:" >&5
   21396 sed 's/^/| /' conftest.$ac_ext >&5
   21397 
   21398 	ac_cv_type_long_long_int=no
   21399 fi
   21400 
   21401 rm -rf conftest.dSYM
   21402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21403       conftest$ac_exeext conftest.$ac_ext
   21404 fi
   21405 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
   21406 $as_echo "$ac_cv_type_long_long_int" >&6; }
   21407   if test $ac_cv_type_long_long_int = yes; then
   21408 
   21409 cat >>confdefs.h <<\_ACEOF
   21410 #define HAVE_LONG_LONG_INT 1
   21411 _ACEOF
   21412 
   21413   fi
   21414 
   21415 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
   21416 $as_echo_n "checking for size_t... " >&6; }
   21417 if test "${ac_cv_type_size_t+set}" = set; then
   21418   $as_echo_n "(cached) " >&6
   21419 else
   21420   ac_cv_type_size_t=no
   21421 cat >conftest.$ac_ext <<_ACEOF
   21422 /* confdefs.h.  */
   21423 _ACEOF
   21424 cat confdefs.h >>conftest.$ac_ext
   21425 cat >>conftest.$ac_ext <<_ACEOF
   21426 /* end confdefs.h.  */
   21427 $ac_includes_default
   21428 int
   21429 main ()
   21430 {
   21431 if (sizeof (size_t))
   21432        return 0;
   21433   ;
   21434   return 0;
   21435 }
   21436 _ACEOF
   21437 rm -f conftest.$ac_objext
   21438 if { (ac_try="$ac_compile"
   21439 case "(($ac_try" in
   21440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21441   *) ac_try_echo=$ac_try;;
   21442 esac
   21443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21444 $as_echo "$ac_try_echo") >&5
   21445   (eval "$ac_compile") 2>conftest.er1
   21446   ac_status=$?
   21447   grep -v '^ *+' conftest.er1 >conftest.err
   21448   rm -f conftest.er1
   21449   cat conftest.err >&5
   21450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21451   (exit $ac_status); } && {
   21452 	 test -z "$ac_c_werror_flag" ||
   21453 	 test ! -s conftest.err
   21454        } && test -s conftest.$ac_objext; then
   21455   cat >conftest.$ac_ext <<_ACEOF
   21456 /* confdefs.h.  */
   21457 _ACEOF
   21458 cat confdefs.h >>conftest.$ac_ext
   21459 cat >>conftest.$ac_ext <<_ACEOF
   21460 /* end confdefs.h.  */
   21461 $ac_includes_default
   21462 int
   21463 main ()
   21464 {
   21465 if (sizeof ((size_t)))
   21466 	  return 0;
   21467   ;
   21468   return 0;
   21469 }
   21470 _ACEOF
   21471 rm -f conftest.$ac_objext
   21472 if { (ac_try="$ac_compile"
   21473 case "(($ac_try" in
   21474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21475   *) ac_try_echo=$ac_try;;
   21476 esac
   21477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21478 $as_echo "$ac_try_echo") >&5
   21479   (eval "$ac_compile") 2>conftest.er1
   21480   ac_status=$?
   21481   grep -v '^ *+' conftest.er1 >conftest.err
   21482   rm -f conftest.er1
   21483   cat conftest.err >&5
   21484   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21485   (exit $ac_status); } && {
   21486 	 test -z "$ac_c_werror_flag" ||
   21487 	 test ! -s conftest.err
   21488        } && test -s conftest.$ac_objext; then
   21489   :
   21490 else
   21491   $as_echo "$as_me: failed program was:" >&5
   21492 sed 's/^/| /' conftest.$ac_ext >&5
   21493 
   21494 	ac_cv_type_size_t=yes
   21495 fi
   21496 
   21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21498 else
   21499   $as_echo "$as_me: failed program was:" >&5
   21500 sed 's/^/| /' conftest.$ac_ext >&5
   21501 
   21502 
   21503 fi
   21504 
   21505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21506 fi
   21507 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   21508 $as_echo "$ac_cv_type_size_t" >&6; }
   21509 if test "x$ac_cv_type_size_t" = x""yes; then
   21510   :
   21511 else
   21512 
   21513 cat >>confdefs.h <<_ACEOF
   21514 #define size_t unsigned int
   21515 _ACEOF
   21516 
   21517 fi
   21518 
   21519 
   21520   { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
   21521 $as_echo_n "checking for uint16_t... " >&6; }
   21522 if test "${ac_cv_c_uint16_t+set}" = set; then
   21523   $as_echo_n "(cached) " >&6
   21524 else
   21525   ac_cv_c_uint16_t=no
   21526      for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
   21527 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   21528        cat >conftest.$ac_ext <<_ACEOF
   21529 /* confdefs.h.  */
   21530 _ACEOF
   21531 cat confdefs.h >>conftest.$ac_ext
   21532 cat >>conftest.$ac_ext <<_ACEOF
   21533 /* end confdefs.h.  */
   21534 $ac_includes_default
   21535 int
   21536 main ()
   21537 {
   21538 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
   21539 test_array [0] = 0
   21540 
   21541   ;
   21542   return 0;
   21543 }
   21544 _ACEOF
   21545 rm -f conftest.$ac_objext
   21546 if { (ac_try="$ac_compile"
   21547 case "(($ac_try" in
   21548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21549   *) ac_try_echo=$ac_try;;
   21550 esac
   21551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21552 $as_echo "$ac_try_echo") >&5
   21553   (eval "$ac_compile") 2>conftest.er1
   21554   ac_status=$?
   21555   grep -v '^ *+' conftest.er1 >conftest.err
   21556   rm -f conftest.er1
   21557   cat conftest.err >&5
   21558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21559   (exit $ac_status); } && {
   21560 	 test -z "$ac_c_werror_flag" ||
   21561 	 test ! -s conftest.err
   21562        } && test -s conftest.$ac_objext; then
   21563   case $ac_type in
   21564   uint16_t) ac_cv_c_uint16_t=yes ;;
   21565   *) ac_cv_c_uint16_t=$ac_type ;;
   21566 esac
   21567 
   21568 else
   21569   $as_echo "$as_me: failed program was:" >&5
   21570 sed 's/^/| /' conftest.$ac_ext >&5
   21571 
   21572 
   21573 fi
   21574 
   21575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21576        test "$ac_cv_c_uint16_t" != no && break
   21577      done
   21578 fi
   21579 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
   21580 $as_echo "$ac_cv_c_uint16_t" >&6; }
   21581   case $ac_cv_c_uint16_t in #(
   21582   no|yes) ;; #(
   21583   *)
   21584 
   21585 
   21586 cat >>confdefs.h <<_ACEOF
   21587 #define uint16_t $ac_cv_c_uint16_t
   21588 _ACEOF
   21589 ;;
   21590   esac
   21591 
   21592 
   21593   { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
   21594 $as_echo_n "checking for uint32_t... " >&6; }
   21595 if test "${ac_cv_c_uint32_t+set}" = set; then
   21596   $as_echo_n "(cached) " >&6
   21597 else
   21598   ac_cv_c_uint32_t=no
   21599      for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
   21600 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   21601        cat >conftest.$ac_ext <<_ACEOF
   21602 /* confdefs.h.  */
   21603 _ACEOF
   21604 cat confdefs.h >>conftest.$ac_ext
   21605 cat >>conftest.$ac_ext <<_ACEOF
   21606 /* end confdefs.h.  */
   21607 $ac_includes_default
   21608 int
   21609 main ()
   21610 {
   21611 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
   21612 test_array [0] = 0
   21613 
   21614   ;
   21615   return 0;
   21616 }
   21617 _ACEOF
   21618 rm -f conftest.$ac_objext
   21619 if { (ac_try="$ac_compile"
   21620 case "(($ac_try" in
   21621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21622   *) ac_try_echo=$ac_try;;
   21623 esac
   21624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21625 $as_echo "$ac_try_echo") >&5
   21626   (eval "$ac_compile") 2>conftest.er1
   21627   ac_status=$?
   21628   grep -v '^ *+' conftest.er1 >conftest.err
   21629   rm -f conftest.er1
   21630   cat conftest.err >&5
   21631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21632   (exit $ac_status); } && {
   21633 	 test -z "$ac_c_werror_flag" ||
   21634 	 test ! -s conftest.err
   21635        } && test -s conftest.$ac_objext; then
   21636   case $ac_type in
   21637   uint32_t) ac_cv_c_uint32_t=yes ;;
   21638   *) ac_cv_c_uint32_t=$ac_type ;;
   21639 esac
   21640 
   21641 else
   21642   $as_echo "$as_me: failed program was:" >&5
   21643 sed 's/^/| /' conftest.$ac_ext >&5
   21644 
   21645 
   21646 fi
   21647 
   21648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21649        test "$ac_cv_c_uint32_t" != no && break
   21650      done
   21651 fi
   21652 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
   21653 $as_echo "$ac_cv_c_uint32_t" >&6; }
   21654   case $ac_cv_c_uint32_t in #(
   21655   no|yes) ;; #(
   21656   *)
   21657 
   21658 cat >>confdefs.h <<\_ACEOF
   21659 #define _UINT32_T 1
   21660 _ACEOF
   21661 
   21662 
   21663 cat >>confdefs.h <<_ACEOF
   21664 #define uint32_t $ac_cv_c_uint32_t
   21665 _ACEOF
   21666 ;;
   21667   esac
   21668 
   21669 
   21670   { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
   21671 $as_echo_n "checking for uint64_t... " >&6; }
   21672 if test "${ac_cv_c_uint64_t+set}" = set; then
   21673   $as_echo_n "(cached) " >&6
   21674 else
   21675   ac_cv_c_uint64_t=no
   21676      for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
   21677 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   21678        cat >conftest.$ac_ext <<_ACEOF
   21679 /* confdefs.h.  */
   21680 _ACEOF
   21681 cat confdefs.h >>conftest.$ac_ext
   21682 cat >>conftest.$ac_ext <<_ACEOF
   21683 /* end confdefs.h.  */
   21684 $ac_includes_default
   21685 int
   21686 main ()
   21687 {
   21688 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
   21689 test_array [0] = 0
   21690 
   21691   ;
   21692   return 0;
   21693 }
   21694 _ACEOF
   21695 rm -f conftest.$ac_objext
   21696 if { (ac_try="$ac_compile"
   21697 case "(($ac_try" in
   21698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21699   *) ac_try_echo=$ac_try;;
   21700 esac
   21701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21702 $as_echo "$ac_try_echo") >&5
   21703   (eval "$ac_compile") 2>conftest.er1
   21704   ac_status=$?
   21705   grep -v '^ *+' conftest.er1 >conftest.err
   21706   rm -f conftest.er1
   21707   cat conftest.err >&5
   21708   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21709   (exit $ac_status); } && {
   21710 	 test -z "$ac_c_werror_flag" ||
   21711 	 test ! -s conftest.err
   21712        } && test -s conftest.$ac_objext; then
   21713   case $ac_type in
   21714   uint64_t) ac_cv_c_uint64_t=yes ;;
   21715   *) ac_cv_c_uint64_t=$ac_type ;;
   21716 esac
   21717 
   21718 else
   21719   $as_echo "$as_me: failed program was:" >&5
   21720 sed 's/^/| /' conftest.$ac_ext >&5
   21721 
   21722 
   21723 fi
   21724 
   21725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21726        test "$ac_cv_c_uint64_t" != no && break
   21727      done
   21728 fi
   21729 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
   21730 $as_echo "$ac_cv_c_uint64_t" >&6; }
   21731   case $ac_cv_c_uint64_t in #(
   21732   no|yes) ;; #(
   21733   *)
   21734 
   21735 cat >>confdefs.h <<\_ACEOF
   21736 #define _UINT64_T 1
   21737 _ACEOF
   21738 
   21739 
   21740 cat >>confdefs.h <<_ACEOF
   21741 #define uint64_t $ac_cv_c_uint64_t
   21742 _ACEOF
   21743 ;;
   21744   esac
   21745 
   21746 
   21747   { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
   21748 $as_echo_n "checking for uint8_t... " >&6; }
   21749 if test "${ac_cv_c_uint8_t+set}" = set; then
   21750   $as_echo_n "(cached) " >&6
   21751 else
   21752   ac_cv_c_uint8_t=no
   21753      for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
   21754 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   21755        cat >conftest.$ac_ext <<_ACEOF
   21756 /* confdefs.h.  */
   21757 _ACEOF
   21758 cat confdefs.h >>conftest.$ac_ext
   21759 cat >>conftest.$ac_ext <<_ACEOF
   21760 /* end confdefs.h.  */
   21761 $ac_includes_default
   21762 int
   21763 main ()
   21764 {
   21765 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
   21766 test_array [0] = 0
   21767 
   21768   ;
   21769   return 0;
   21770 }
   21771 _ACEOF
   21772 rm -f conftest.$ac_objext
   21773 if { (ac_try="$ac_compile"
   21774 case "(($ac_try" in
   21775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21776   *) ac_try_echo=$ac_try;;
   21777 esac
   21778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21779 $as_echo "$ac_try_echo") >&5
   21780   (eval "$ac_compile") 2>conftest.er1
   21781   ac_status=$?
   21782   grep -v '^ *+' conftest.er1 >conftest.err
   21783   rm -f conftest.er1
   21784   cat conftest.err >&5
   21785   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21786   (exit $ac_status); } && {
   21787 	 test -z "$ac_c_werror_flag" ||
   21788 	 test ! -s conftest.err
   21789        } && test -s conftest.$ac_objext; then
   21790   case $ac_type in
   21791   uint8_t) ac_cv_c_uint8_t=yes ;;
   21792   *) ac_cv_c_uint8_t=$ac_type ;;
   21793 esac
   21794 
   21795 else
   21796   $as_echo "$as_me: failed program was:" >&5
   21797 sed 's/^/| /' conftest.$ac_ext >&5
   21798 
   21799 
   21800 fi
   21801 
   21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21803        test "$ac_cv_c_uint8_t" != no && break
   21804      done
   21805 fi
   21806 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
   21807 $as_echo "$ac_cv_c_uint8_t" >&6; }
   21808   case $ac_cv_c_uint8_t in #(
   21809   no|yes) ;; #(
   21810   *)
   21811 
   21812 cat >>confdefs.h <<\_ACEOF
   21813 #define _UINT8_T 1
   21814 _ACEOF
   21815 
   21816 
   21817 cat >>confdefs.h <<_ACEOF
   21818 #define uint8_t $ac_cv_c_uint8_t
   21819 _ACEOF
   21820 ;;
   21821   esac
   21822 
   21823 
   21824 { $as_echo "$as_me:$LINENO: checking for SHA256_CTX" >&5
   21825 $as_echo_n "checking for SHA256_CTX... " >&6; }
   21826 if test "${ac_cv_type_SHA256_CTX+set}" = set; then
   21827   $as_echo_n "(cached) " >&6
   21828 else
   21829   ac_cv_type_SHA256_CTX=no
   21830 cat >conftest.$ac_ext <<_ACEOF
   21831 /* confdefs.h.  */
   21832 _ACEOF
   21833 cat confdefs.h >>conftest.$ac_ext
   21834 cat >>conftest.$ac_ext <<_ACEOF
   21835 /* end confdefs.h.  */
   21836 
   21837 #if defined(HAVE_SYS_TYPES_H)
   21838 #include <sys/types.h>
   21839 #endif
   21840 #if defined(HAVE_OPENSSL_SHA_H)
   21841 #include <openssl/sha.h>
   21842 #endif
   21843 #if defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
   21844 #define COMMON_DIGEST_FOR_OPENSSL 1
   21845 #include <CommonCrypto/CommonDigest.h>
   21846 #endif
   21847 
   21848 
   21849 int
   21850 main ()
   21851 {
   21852 if (sizeof (SHA256_CTX))
   21853        return 0;
   21854   ;
   21855   return 0;
   21856 }
   21857 _ACEOF
   21858 rm -f conftest.$ac_objext
   21859 if { (ac_try="$ac_compile"
   21860 case "(($ac_try" in
   21861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21862   *) ac_try_echo=$ac_try;;
   21863 esac
   21864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21865 $as_echo "$ac_try_echo") >&5
   21866   (eval "$ac_compile") 2>conftest.er1
   21867   ac_status=$?
   21868   grep -v '^ *+' conftest.er1 >conftest.err
   21869   rm -f conftest.er1
   21870   cat conftest.err >&5
   21871   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21872   (exit $ac_status); } && {
   21873 	 test -z "$ac_c_werror_flag" ||
   21874 	 test ! -s conftest.err
   21875        } && test -s conftest.$ac_objext; then
   21876   cat >conftest.$ac_ext <<_ACEOF
   21877 /* confdefs.h.  */
   21878 _ACEOF
   21879 cat confdefs.h >>conftest.$ac_ext
   21880 cat >>conftest.$ac_ext <<_ACEOF
   21881 /* end confdefs.h.  */
   21882 
   21883 #if defined(HAVE_SYS_TYPES_H)
   21884 #include <sys/types.h>
   21885 #endif
   21886 #if defined(HAVE_OPENSSL_SHA_H)
   21887 #include <openssl/sha.h>
   21888 #endif
   21889 #if defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
   21890 #define COMMON_DIGEST_FOR_OPENSSL 1
   21891 #include <CommonCrypto/CommonDigest.h>
   21892 #endif
   21893 
   21894 
   21895 int
   21896 main ()
   21897 {
   21898 if (sizeof ((SHA256_CTX)))
   21899 	  return 0;
   21900   ;
   21901   return 0;
   21902 }
   21903 _ACEOF
   21904 rm -f conftest.$ac_objext
   21905 if { (ac_try="$ac_compile"
   21906 case "(($ac_try" in
   21907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21908   *) ac_try_echo=$ac_try;;
   21909 esac
   21910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21911 $as_echo "$ac_try_echo") >&5
   21912   (eval "$ac_compile") 2>conftest.er1
   21913   ac_status=$?
   21914   grep -v '^ *+' conftest.er1 >conftest.err
   21915   rm -f conftest.er1
   21916   cat conftest.err >&5
   21917   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21918   (exit $ac_status); } && {
   21919 	 test -z "$ac_c_werror_flag" ||
   21920 	 test ! -s conftest.err
   21921        } && test -s conftest.$ac_objext; then
   21922   :
   21923 else
   21924   $as_echo "$as_me: failed program was:" >&5
   21925 sed 's/^/| /' conftest.$ac_ext >&5
   21926 
   21927 	ac_cv_type_SHA256_CTX=yes
   21928 fi
   21929 
   21930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21931 else
   21932   $as_echo "$as_me: failed program was:" >&5
   21933 sed 's/^/| /' conftest.$ac_ext >&5
   21934 
   21935 
   21936 fi
   21937 
   21938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21939 fi
   21940 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_SHA256_CTX" >&5
   21941 $as_echo "$ac_cv_type_SHA256_CTX" >&6; }
   21942 if test "x$ac_cv_type_SHA256_CTX" = x""yes; then
   21943 
   21944 cat >>confdefs.h <<_ACEOF
   21945 #define HAVE_SHA256_CTX 1
   21946 _ACEOF
   21947 
   21948 
   21949 else
   21950   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21952 { { $as_echo "$as_me:$LINENO: error: missing SHA256_CTX; is openssl 0.9.8 or newer installed?
   21953 See \`config.log' for more details." >&5
   21954 $as_echo "$as_me: error: missing SHA256_CTX; is openssl 0.9.8 or newer installed?
   21955 See \`config.log' for more details." >&2;}
   21956    { (exit 1); exit 1; }; }; }
   21957 fi
   21958 
   21959 
   21960 # Checks for library functions.
   21961 #
   21962 { $as_echo "$as_me:$LINENO: checking for library containing gzopen" >&5
   21963 $as_echo_n "checking for library containing gzopen... " >&6; }
   21964 if test "${ac_cv_search_gzopen+set}" = set; then
   21965   $as_echo_n "(cached) " >&6
   21966 else
   21967   ac_func_search_save_LIBS=$LIBS
   21968 cat >conftest.$ac_ext <<_ACEOF
   21969 /* confdefs.h.  */
   21970 _ACEOF
   21971 cat confdefs.h >>conftest.$ac_ext
   21972 cat >>conftest.$ac_ext <<_ACEOF
   21973 /* end confdefs.h.  */
   21974 
   21975 /* Override any GCC internal prototype to avoid an error.
   21976    Use char because int might match the return type of a GCC
   21977    builtin and then its argument prototype would still apply.  */
   21978 #ifdef __cplusplus
   21979 extern "C"
   21980 #endif
   21981 char gzopen ();
   21982 int
   21983 main ()
   21984 {
   21985 return gzopen ();
   21986   ;
   21987   return 0;
   21988 }
   21989 _ACEOF
   21990 for ac_lib in '' z; do
   21991   if test -z "$ac_lib"; then
   21992     ac_res="none required"
   21993   else
   21994     ac_res=-l$ac_lib
   21995     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21996   fi
   21997   rm -f conftest.$ac_objext conftest$ac_exeext
   21998 if { (ac_try="$ac_link"
   21999 case "(($ac_try" in
   22000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22001   *) ac_try_echo=$ac_try;;
   22002 esac
   22003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22004 $as_echo "$ac_try_echo") >&5
   22005   (eval "$ac_link") 2>conftest.er1
   22006   ac_status=$?
   22007   grep -v '^ *+' conftest.er1 >conftest.err
   22008   rm -f conftest.er1
   22009   cat conftest.err >&5
   22010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22011   (exit $ac_status); } && {
   22012 	 test -z "$ac_c_werror_flag" ||
   22013 	 test ! -s conftest.err
   22014        } && test -s conftest$ac_exeext && {
   22015 	 test "$cross_compiling" = yes ||
   22016 	 $as_test_x conftest$ac_exeext
   22017        }; then
   22018   ac_cv_search_gzopen=$ac_res
   22019 else
   22020   $as_echo "$as_me: failed program was:" >&5
   22021 sed 's/^/| /' conftest.$ac_ext >&5
   22022 
   22023 
   22024 fi
   22025 
   22026 rm -rf conftest.dSYM
   22027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22028       conftest$ac_exeext
   22029   if test "${ac_cv_search_gzopen+set}" = set; then
   22030   break
   22031 fi
   22032 done
   22033 if test "${ac_cv_search_gzopen+set}" = set; then
   22034   :
   22035 else
   22036   ac_cv_search_gzopen=no
   22037 fi
   22038 rm conftest.$ac_ext
   22039 LIBS=$ac_func_search_save_LIBS
   22040 fi
   22041 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gzopen" >&5
   22042 $as_echo "$ac_cv_search_gzopen" >&6; }
   22043 ac_res=$ac_cv_search_gzopen
   22044 if test "$ac_res" != no; then
   22045   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22046 
   22047 fi
   22048 
   22049 { $as_echo "$as_me:$LINENO: checking for library containing BZ2_bzDecompress" >&5
   22050 $as_echo_n "checking for library containing BZ2_bzDecompress... " >&6; }
   22051 if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
   22052   $as_echo_n "(cached) " >&6
   22053 else
   22054   ac_func_search_save_LIBS=$LIBS
   22055 cat >conftest.$ac_ext <<_ACEOF
   22056 /* confdefs.h.  */
   22057 _ACEOF
   22058 cat confdefs.h >>conftest.$ac_ext
   22059 cat >>conftest.$ac_ext <<_ACEOF
   22060 /* end confdefs.h.  */
   22061 
   22062 /* Override any GCC internal prototype to avoid an error.
   22063    Use char because int might match the return type of a GCC
   22064    builtin and then its argument prototype would still apply.  */
   22065 #ifdef __cplusplus
   22066 extern "C"
   22067 #endif
   22068 char BZ2_bzDecompress ();
   22069 int
   22070 main ()
   22071 {
   22072 return BZ2_bzDecompress ();
   22073   ;
   22074   return 0;
   22075 }
   22076 _ACEOF
   22077 for ac_lib in '' bz2; do
   22078   if test -z "$ac_lib"; then
   22079     ac_res="none required"
   22080   else
   22081     ac_res=-l$ac_lib
   22082     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22083   fi
   22084   rm -f conftest.$ac_objext conftest$ac_exeext
   22085 if { (ac_try="$ac_link"
   22086 case "(($ac_try" in
   22087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22088   *) ac_try_echo=$ac_try;;
   22089 esac
   22090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22091 $as_echo "$ac_try_echo") >&5
   22092   (eval "$ac_link") 2>conftest.er1
   22093   ac_status=$?
   22094   grep -v '^ *+' conftest.er1 >conftest.err
   22095   rm -f conftest.er1
   22096   cat conftest.err >&5
   22097   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22098   (exit $ac_status); } && {
   22099 	 test -z "$ac_c_werror_flag" ||
   22100 	 test ! -s conftest.err
   22101        } && test -s conftest$ac_exeext && {
   22102 	 test "$cross_compiling" = yes ||
   22103 	 $as_test_x conftest$ac_exeext
   22104        }; then
   22105   ac_cv_search_BZ2_bzDecompress=$ac_res
   22106 else
   22107   $as_echo "$as_me: failed program was:" >&5
   22108 sed 's/^/| /' conftest.$ac_ext >&5
   22109 
   22110 
   22111 fi
   22112 
   22113 rm -rf conftest.dSYM
   22114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22115       conftest$ac_exeext
   22116   if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
   22117   break
   22118 fi
   22119 done
   22120 if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
   22121   :
   22122 else
   22123   ac_cv_search_BZ2_bzDecompress=no
   22124 fi
   22125 rm conftest.$ac_ext
   22126 LIBS=$ac_func_search_save_LIBS
   22127 fi
   22128 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_BZ2_bzDecompress" >&5
   22129 $as_echo "$ac_cv_search_BZ2_bzDecompress" >&6; }
   22130 ac_res=$ac_cv_search_BZ2_bzDecompress
   22131 if test "$ac_res" != no; then
   22132   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22133 
   22134 fi
   22135 
   22136 { $as_echo "$as_me:$LINENO: checking for library containing RSA_public_encrypt" >&5
   22137 $as_echo_n "checking for library containing RSA_public_encrypt... " >&6; }
   22138 if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
   22139   $as_echo_n "(cached) " >&6
   22140 else
   22141   ac_func_search_save_LIBS=$LIBS
   22142 cat >conftest.$ac_ext <<_ACEOF
   22143 /* confdefs.h.  */
   22144 _ACEOF
   22145 cat confdefs.h >>conftest.$ac_ext
   22146 cat >>conftest.$ac_ext <<_ACEOF
   22147 /* end confdefs.h.  */
   22148 
   22149 /* Override any GCC internal prototype to avoid an error.
   22150    Use char because int might match the return type of a GCC
   22151    builtin and then its argument prototype would still apply.  */
   22152 #ifdef __cplusplus
   22153 extern "C"
   22154 #endif
   22155 char RSA_public_encrypt ();
   22156 int
   22157 main ()
   22158 {
   22159 return RSA_public_encrypt ();
   22160   ;
   22161   return 0;
   22162 }
   22163 _ACEOF
   22164 for ac_lib in '' crypto; do
   22165   if test -z "$ac_lib"; then
   22166     ac_res="none required"
   22167   else
   22168     ac_res=-l$ac_lib
   22169     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22170   fi
   22171   rm -f conftest.$ac_objext conftest$ac_exeext
   22172 if { (ac_try="$ac_link"
   22173 case "(($ac_try" in
   22174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22175   *) ac_try_echo=$ac_try;;
   22176 esac
   22177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22178 $as_echo "$ac_try_echo") >&5
   22179   (eval "$ac_link") 2>conftest.er1
   22180   ac_status=$?
   22181   grep -v '^ *+' conftest.er1 >conftest.err
   22182   rm -f conftest.er1
   22183   cat conftest.err >&5
   22184   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22185   (exit $ac_status); } && {
   22186 	 test -z "$ac_c_werror_flag" ||
   22187 	 test ! -s conftest.err
   22188        } && test -s conftest$ac_exeext && {
   22189 	 test "$cross_compiling" = yes ||
   22190 	 $as_test_x conftest$ac_exeext
   22191        }; then
   22192   ac_cv_search_RSA_public_encrypt=$ac_res
   22193 else
   22194   $as_echo "$as_me: failed program was:" >&5
   22195 sed 's/^/| /' conftest.$ac_ext >&5
   22196 
   22197 
   22198 fi
   22199 
   22200 rm -rf conftest.dSYM
   22201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22202       conftest$ac_exeext
   22203   if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
   22204   break
   22205 fi
   22206 done
   22207 if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
   22208   :
   22209 else
   22210   ac_cv_search_RSA_public_encrypt=no
   22211 fi
   22212 rm conftest.$ac_ext
   22213 LIBS=$ac_func_search_save_LIBS
   22214 fi
   22215 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_RSA_public_encrypt" >&5
   22216 $as_echo "$ac_cv_search_RSA_public_encrypt" >&6; }
   22217 ac_res=$ac_cv_search_RSA_public_encrypt
   22218 if test "$ac_res" != no; then
   22219   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22220 
   22221 fi
   22222 
   22223 
   22224 # Initialize the testsuite
   22225 #
   22226 ac_config_commands="$ac_config_commands tests/atconfig"
   22227 
   22228 
   22229 
   22230 AUTOM4TE=${AUTOM4TE-"${am_missing_run}autom4te"}
   22231 
   22232 
   22233 # Generate the Makefiles
   22234 #
   22235 ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile src/lib/Makefile src/bin/Makefile tests/Makefile tests/atlocal"
   22236 
   22237 cat >confcache <<\_ACEOF
   22238 # This file is a shell script that caches the results of configure
   22239 # tests run on this system so they can be shared between configure
   22240 # scripts and configure runs, see configure's option --config-cache.
   22241 # It is not useful on other systems.  If it contains results you don't
   22242 # want to keep, you may remove or edit it.
   22243 #
   22244 # config.status only pays attention to the cache file if you give it
   22245 # the --recheck option to rerun configure.
   22246 #
   22247 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22248 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22249 # following values.
   22250 
   22251 _ACEOF
   22252 
   22253 # The following way of writing the cache mishandles newlines in values,
   22254 # but we know of no workaround that is simple, portable, and efficient.
   22255 # So, we kill variables containing newlines.
   22256 # Ultrix sh set writes to stderr and can't be redirected directly,
   22257 # and sets the high bit in the cache file unless we assign to the vars.
   22258 (
   22259   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22260     eval ac_val=\$$ac_var
   22261     case $ac_val in #(
   22262     *${as_nl}*)
   22263       case $ac_var in #(
   22264       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22265 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22266       esac
   22267       case $ac_var in #(
   22268       _ | IFS | as_nl) ;; #(
   22269       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22270       *) $as_unset $ac_var ;;
   22271       esac ;;
   22272     esac
   22273   done
   22274 
   22275   (set) 2>&1 |
   22276     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22277     *${as_nl}ac_space=\ *)
   22278       # `set' does not quote correctly, so add quotes (double-quote
   22279       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22280       sed -n \
   22281 	"s/'/'\\\\''/g;
   22282 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22283       ;; #(
   22284     *)
   22285       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22286       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22287       ;;
   22288     esac |
   22289     sort
   22290 ) |
   22291   sed '
   22292      /^ac_cv_env_/b end
   22293      t clear
   22294      :clear
   22295      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22296      t end
   22297      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22298      :end' >>confcache
   22299 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22300   if test -w "$cache_file"; then
   22301     test "x$cache_file" != "x/dev/null" &&
   22302       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22303 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22304     cat confcache >$cache_file
   22305   else
   22306     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22307 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22308   fi
   22309 fi
   22310 rm -f confcache
   22311 
   22312 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22313 # Let make expand exec_prefix.
   22314 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22315 
   22316 DEFS=-DHAVE_CONFIG_H
   22317 
   22318 ac_libobjs=
   22319 ac_ltlibobjs=
   22320 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22321   # 1. Remove the extension, and $U if already installed.
   22322   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22323   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22324   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22325   #    will be set to the directory where LIBOBJS objects are built.
   22326   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22327   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22328 done
   22329 LIBOBJS=$ac_libobjs
   22330 
   22331 LTLIBOBJS=$ac_ltlibobjs
   22332 
   22333 
   22334 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22335   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22336 Usually this means the macro was only invoked conditionally." >&5
   22337 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22338 Usually this means the macro was only invoked conditionally." >&2;}
   22339    { (exit 1); exit 1; }; }
   22340 fi
   22341 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22342   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22343 Usually this means the macro was only invoked conditionally." >&5
   22344 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22345 Usually this means the macro was only invoked conditionally." >&2;}
   22346    { (exit 1); exit 1; }; }
   22347 fi
   22348 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22349   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22350 Usually this means the macro was only invoked conditionally." >&5
   22351 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22352 Usually this means the macro was only invoked conditionally." >&2;}
   22353    { (exit 1); exit 1; }; }
   22354 fi
   22355 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22356   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22357 Usually this means the macro was only invoked conditionally." >&5
   22358 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22359 Usually this means the macro was only invoked conditionally." >&2;}
   22360    { (exit 1); exit 1; }; }
   22361 fi
   22362 
   22363 : ${CONFIG_STATUS=./config.status}
   22364 ac_write_fail=0
   22365 ac_clean_files_save=$ac_clean_files
   22366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22367 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22368 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22369 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22370 #! $SHELL
   22371 # Generated by $as_me.
   22372 # Run this file to recreate the current configuration.
   22373 # Compiler output produced by configure, useful for debugging
   22374 # configure, is in config.log if it exists.
   22375 
   22376 debug=false
   22377 ac_cs_recheck=false
   22378 ac_cs_silent=false
   22379 SHELL=\${CONFIG_SHELL-$SHELL}
   22380 _ACEOF
   22381 
   22382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22383 ## --------------------- ##
   22384 ## M4sh Initialization.  ##
   22385 ## --------------------- ##
   22386 
   22387 # Be more Bourne compatible
   22388 DUALCASE=1; export DUALCASE # for MKS sh
   22389 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22390   emulate sh
   22391   NULLCMD=:
   22392   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22393   # is contrary to our usage.  Disable this feature.
   22394   alias -g '${1+"$@"}'='"$@"'
   22395   setopt NO_GLOB_SUBST
   22396 else
   22397   case `(set -o) 2>/dev/null` in
   22398   *posix*) set -o posix ;;
   22399 esac
   22400 
   22401 fi
   22402 
   22403 
   22404 
   22405 
   22406 # PATH needs CR
   22407 # Avoid depending upon Character Ranges.
   22408 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22409 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22410 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22411 as_cr_digits='0123456789'
   22412 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22413 
   22414 as_nl='
   22415 '
   22416 export as_nl
   22417 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22418 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22420 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22421 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22422   as_echo='printf %s\n'
   22423   as_echo_n='printf %s'
   22424 else
   22425   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22426     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22427     as_echo_n='/usr/ucb/echo -n'
   22428   else
   22429     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22430     as_echo_n_body='eval
   22431       arg=$1;
   22432       case $arg in
   22433       *"$as_nl"*)
   22434 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22435 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22436       esac;
   22437       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22438     '
   22439     export as_echo_n_body
   22440     as_echo_n='sh -c $as_echo_n_body as_echo'
   22441   fi
   22442   export as_echo_body
   22443   as_echo='sh -c $as_echo_body as_echo'
   22444 fi
   22445 
   22446 # The user is always right.
   22447 if test "${PATH_SEPARATOR+set}" != set; then
   22448   PATH_SEPARATOR=:
   22449   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22450     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22451       PATH_SEPARATOR=';'
   22452   }
   22453 fi
   22454 
   22455 # Support unset when possible.
   22456 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22457   as_unset=unset
   22458 else
   22459   as_unset=false
   22460 fi
   22461 
   22462 
   22463 # IFS
   22464 # We need space, tab and new line, in precisely that order.  Quoting is
   22465 # there to prevent editors from complaining about space-tab.
   22466 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22467 # splitting by setting IFS to empty value.)
   22468 IFS=" ""	$as_nl"
   22469 
   22470 # Find who we are.  Look in the path if we contain no directory separator.
   22471 case $0 in
   22472   *[\\/]* ) as_myself=$0 ;;
   22473   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22474 for as_dir in $PATH
   22475 do
   22476   IFS=$as_save_IFS
   22477   test -z "$as_dir" && as_dir=.
   22478   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22479 done
   22480 IFS=$as_save_IFS
   22481 
   22482      ;;
   22483 esac
   22484 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22485 # in which case we are not to be found in the path.
   22486 if test "x$as_myself" = x; then
   22487   as_myself=$0
   22488 fi
   22489 if test ! -f "$as_myself"; then
   22490   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22491   { (exit 1); exit 1; }
   22492 fi
   22493 
   22494 # Work around bugs in pre-3.0 UWIN ksh.
   22495 for as_var in ENV MAIL MAILPATH
   22496 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22497 done
   22498 PS1='$ '
   22499 PS2='> '
   22500 PS4='+ '
   22501 
   22502 # NLS nuisances.
   22503 LC_ALL=C
   22504 export LC_ALL
   22505 LANGUAGE=C
   22506 export LANGUAGE
   22507 
   22508 # Required to use basename.
   22509 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22510    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22511   as_expr=expr
   22512 else
   22513   as_expr=false
   22514 fi
   22515 
   22516 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22517   as_basename=basename
   22518 else
   22519   as_basename=false
   22520 fi
   22521 
   22522 
   22523 # Name of the executable.
   22524 as_me=`$as_basename -- "$0" ||
   22525 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22526 	 X"$0" : 'X\(//\)$' \| \
   22527 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22528 $as_echo X/"$0" |
   22529     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22530 	    s//\1/
   22531 	    q
   22532 	  }
   22533 	  /^X\/\(\/\/\)$/{
   22534 	    s//\1/
   22535 	    q
   22536 	  }
   22537 	  /^X\/\(\/\).*/{
   22538 	    s//\1/
   22539 	    q
   22540 	  }
   22541 	  s/.*/./; q'`
   22542 
   22543 # CDPATH.
   22544 $as_unset CDPATH
   22545 
   22546 
   22547 
   22548   as_lineno_1=$LINENO
   22549   as_lineno_2=$LINENO
   22550   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22551   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22552 
   22553   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22554   # uniformly replaced by the line number.  The first 'sed' inserts a
   22555   # line-number line after each line using $LINENO; the second 'sed'
   22556   # does the real work.  The second script uses 'N' to pair each
   22557   # line-number line with the line containing $LINENO, and appends
   22558   # trailing '-' during substitution so that $LINENO is not a special
   22559   # case at line end.
   22560   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22561   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22562   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22563   sed -n '
   22564     p
   22565     /[$]LINENO/=
   22566   ' <$as_myself |
   22567     sed '
   22568       s/[$]LINENO.*/&-/
   22569       t lineno
   22570       b
   22571       :lineno
   22572       N
   22573       :loop
   22574       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22575       t loop
   22576       s/-\n.*//
   22577     ' >$as_me.lineno &&
   22578   chmod +x "$as_me.lineno" ||
   22579     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22580    { (exit 1); exit 1; }; }
   22581 
   22582   # Don't try to exec as it changes $[0], causing all sort of problems
   22583   # (the dirname of $[0] is not the place where we might find the
   22584   # original and so on.  Autoconf is especially sensitive to this).
   22585   . "./$as_me.lineno"
   22586   # Exit status is that of the last command.
   22587   exit
   22588 }
   22589 
   22590 
   22591 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22592   as_dirname=dirname
   22593 else
   22594   as_dirname=false
   22595 fi
   22596 
   22597 ECHO_C= ECHO_N= ECHO_T=
   22598 case `echo -n x` in
   22599 -n*)
   22600   case `echo 'x\c'` in
   22601   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22602   *)   ECHO_C='\c';;
   22603   esac;;
   22604 *)
   22605   ECHO_N='-n';;
   22606 esac
   22607 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22608    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22609   as_expr=expr
   22610 else
   22611   as_expr=false
   22612 fi
   22613 
   22614 rm -f conf$$ conf$$.exe conf$$.file
   22615 if test -d conf$$.dir; then
   22616   rm -f conf$$.dir/conf$$.file
   22617 else
   22618   rm -f conf$$.dir
   22619   mkdir conf$$.dir 2>/dev/null
   22620 fi
   22621 if (echo >conf$$.file) 2>/dev/null; then
   22622   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22623     as_ln_s='ln -s'
   22624     # ... but there are two gotchas:
   22625     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22626     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22627     # In both cases, we have to default to `cp -p'.
   22628     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22629       as_ln_s='cp -p'
   22630   elif ln conf$$.file conf$$ 2>/dev/null; then
   22631     as_ln_s=ln
   22632   else
   22633     as_ln_s='cp -p'
   22634   fi
   22635 else
   22636   as_ln_s='cp -p'
   22637 fi
   22638 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22639 rmdir conf$$.dir 2>/dev/null
   22640 
   22641 if mkdir -p . 2>/dev/null; then
   22642   as_mkdir_p=:
   22643 else
   22644   test -d ./-p && rmdir ./-p
   22645   as_mkdir_p=false
   22646 fi
   22647 
   22648 if test -x / >/dev/null 2>&1; then
   22649   as_test_x='test -x'
   22650 else
   22651   if ls -dL / >/dev/null 2>&1; then
   22652     as_ls_L_option=L
   22653   else
   22654     as_ls_L_option=
   22655   fi
   22656   as_test_x='
   22657     eval sh -c '\''
   22658       if test -d "$1"; then
   22659 	test -d "$1/.";
   22660       else
   22661 	case $1 in
   22662 	-*)set "./$1";;
   22663 	esac;
   22664 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22665 	???[sx]*):;;*)false;;esac;fi
   22666     '\'' sh
   22667   '
   22668 fi
   22669 as_executable_p=$as_test_x
   22670 
   22671 # Sed expression to map a string onto a valid CPP name.
   22672 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22673 
   22674 # Sed expression to map a string onto a valid variable name.
   22675 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22676 
   22677 
   22678 exec 6>&1
   22679 
   22680 # Save the log message, to keep $[0] and so on meaningful, and to
   22681 # report actual input values of CONFIG_FILES etc. instead of their
   22682 # values after options handling.
   22683 ac_log="
   22684 This file was extended by netpgp $as_me 20090526, which was
   22685 generated by GNU Autoconf 2.63.  Invocation command line was
   22686 
   22687   CONFIG_FILES    = $CONFIG_FILES
   22688   CONFIG_HEADERS  = $CONFIG_HEADERS
   22689   CONFIG_LINKS    = $CONFIG_LINKS
   22690   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22691   $ $0 $@
   22692 
   22693 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22694 "
   22695 
   22696 _ACEOF
   22697 
   22698 case $ac_config_files in *"
   22699 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22700 esac
   22701 
   22702 case $ac_config_headers in *"
   22703 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22704 esac
   22705 
   22706 
   22707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22708 # Files that config.status was made for.
   22709 config_files="$ac_config_files"
   22710 config_headers="$ac_config_headers"
   22711 config_commands="$ac_config_commands"
   22712 
   22713 _ACEOF
   22714 
   22715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22716 ac_cs_usage="\
   22717 \`$as_me' instantiates files from templates according to the
   22718 current configuration.
   22719 
   22720 Usage: $0 [OPTION]... [FILE]...
   22721 
   22722   -h, --help       print this help, then exit
   22723   -V, --version    print version number and configuration settings, then exit
   22724   -q, --quiet, --silent
   22725                    do not print progress messages
   22726   -d, --debug      don't remove temporary files
   22727       --recheck    update $as_me by reconfiguring in the same conditions
   22728       --file=FILE[:TEMPLATE]
   22729                    instantiate the configuration file FILE
   22730       --header=FILE[:TEMPLATE]
   22731                    instantiate the configuration header FILE
   22732 
   22733 Configuration files:
   22734 $config_files
   22735 
   22736 Configuration headers:
   22737 $config_headers
   22738 
   22739 Configuration commands:
   22740 $config_commands
   22741 
   22742 Report bugs to <bug-autoconf (at] gnu.org>."
   22743 
   22744 _ACEOF
   22745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22746 ac_cs_version="\\
   22747 netpgp config.status 20090526
   22748 configured by $0, generated by GNU Autoconf 2.63,
   22749   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22750 
   22751 Copyright (C) 2008 Free Software Foundation, Inc.
   22752 This config.status script is free software; the Free Software Foundation
   22753 gives unlimited permission to copy, distribute and modify it."
   22754 
   22755 ac_pwd='$ac_pwd'
   22756 srcdir='$srcdir'
   22757 INSTALL='$INSTALL'
   22758 MKDIR_P='$MKDIR_P'
   22759 AWK='$AWK'
   22760 test -n "\$AWK" || AWK=awk
   22761 _ACEOF
   22762 
   22763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22764 # The default lists apply if the user does not specify any file.
   22765 ac_need_defaults=:
   22766 while test $# != 0
   22767 do
   22768   case $1 in
   22769   --*=*)
   22770     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22771     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22772     ac_shift=:
   22773     ;;
   22774   *)
   22775     ac_option=$1
   22776     ac_optarg=$2
   22777     ac_shift=shift
   22778     ;;
   22779   esac
   22780 
   22781   case $ac_option in
   22782   # Handling of the options.
   22783   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22784     ac_cs_recheck=: ;;
   22785   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22786     $as_echo "$ac_cs_version"; exit ;;
   22787   --debug | --debu | --deb | --de | --d | -d )
   22788     debug=: ;;
   22789   --file | --fil | --fi | --f )
   22790     $ac_shift
   22791     case $ac_optarg in
   22792     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22793     esac
   22794     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22795     ac_need_defaults=false;;
   22796   --header | --heade | --head | --hea )
   22797     $ac_shift
   22798     case $ac_optarg in
   22799     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22800     esac
   22801     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22802     ac_need_defaults=false;;
   22803   --he | --h)
   22804     # Conflict between --help and --header
   22805     { $as_echo "$as_me: error: ambiguous option: $1
   22806 Try \`$0 --help' for more information." >&2
   22807    { (exit 1); exit 1; }; };;
   22808   --help | --hel | -h )
   22809     $as_echo "$ac_cs_usage"; exit ;;
   22810   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22811   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22812     ac_cs_silent=: ;;
   22813 
   22814   # This is an error.
   22815   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22816 Try \`$0 --help' for more information." >&2
   22817    { (exit 1); exit 1; }; } ;;
   22818 
   22819   *) ac_config_targets="$ac_config_targets $1"
   22820      ac_need_defaults=false ;;
   22821 
   22822   esac
   22823   shift
   22824 done
   22825 
   22826 ac_configure_extra_args=
   22827 
   22828 if $ac_cs_silent; then
   22829   exec 6>/dev/null
   22830   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22831 fi
   22832 
   22833 _ACEOF
   22834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22835 if \$ac_cs_recheck; then
   22836   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22837   shift
   22838   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22839   CONFIG_SHELL='$SHELL'
   22840   export CONFIG_SHELL
   22841   exec "\$@"
   22842 fi
   22843 
   22844 _ACEOF
   22845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22846 exec 5>>config.log
   22847 {
   22848   echo
   22849   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22850 ## Running $as_me. ##
   22851 _ASBOX
   22852   $as_echo "$ac_log"
   22853 } >&5
   22854 
   22855 _ACEOF
   22856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22857 #
   22858 # INIT-COMMANDS
   22859 #
   22860 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22861 
   22862 _ACEOF
   22863 
   22864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22865 
   22866 # Handling of arguments.
   22867 for ac_config_target in $ac_config_targets
   22868 do
   22869   case $ac_config_target in
   22870     "src/lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/lib/config.h" ;;
   22871     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22872     "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
   22873     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22874     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   22875     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22876     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
   22877     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
   22878     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   22879     "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
   22880 
   22881   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22882 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22883    { (exit 1); exit 1; }; };;
   22884   esac
   22885 done
   22886 
   22887 
   22888 # If the user did not use the arguments to specify the items to instantiate,
   22889 # then the envvar interface is used.  Set only those that are not.
   22890 # We use the long form for the default assignment because of an extremely
   22891 # bizarre bug on SunOS 4.1.3.
   22892 if $ac_need_defaults; then
   22893   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22894   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22895   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22896 fi
   22897 
   22898 # Have a temporary directory for convenience.  Make it in the build tree
   22899 # simply because there is no reason against having it here, and in addition,
   22900 # creating and moving files from /tmp can sometimes cause problems.
   22901 # Hook for its removal unless debugging.
   22902 # Note that there is a small window in which the directory will not be cleaned:
   22903 # after its creation but before its name has been assigned to `$tmp'.
   22904 $debug ||
   22905 {
   22906   tmp=
   22907   trap 'exit_status=$?
   22908   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22909 ' 0
   22910   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22911 }
   22912 # Create a (secure) tmp directory for tmp files.
   22913 
   22914 {
   22915   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22916   test -n "$tmp" && test -d "$tmp"
   22917 }  ||
   22918 {
   22919   tmp=./conf$$-$RANDOM
   22920   (umask 077 && mkdir "$tmp")
   22921 } ||
   22922 {
   22923    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22924    { (exit 1); exit 1; }
   22925 }
   22926 
   22927 # Set up the scripts for CONFIG_FILES section.
   22928 # No need to generate them if there are no CONFIG_FILES.
   22929 # This happens for instance with `./config.status config.h'.
   22930 if test -n "$CONFIG_FILES"; then
   22931 
   22932 
   22933 ac_cr='
'
   22935 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22936 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22937   ac_cs_awk_cr='\\r'
   22938 else
   22939   ac_cs_awk_cr=$ac_cr
   22940 fi
   22941 
   22942 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22943 _ACEOF
   22944 
   22945 
   22946 {
   22947   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22948   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22949   echo "_ACEOF"
   22950 } >conf$$subs.sh ||
   22951   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22952 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22953    { (exit 1); exit 1; }; }
   22954 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22955 ac_delim='%!_!# '
   22956 for ac_last_try in false false false false false :; do
   22957   . ./conf$$subs.sh ||
   22958     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22959 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22960    { (exit 1); exit 1; }; }
   22961 
   22962   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22963   if test $ac_delim_n = $ac_delim_num; then
   22964     break
   22965   elif $ac_last_try; then
   22966     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22967 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22968    { (exit 1); exit 1; }; }
   22969   else
   22970     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22971   fi
   22972 done
   22973 rm -f conf$$subs.sh
   22974 
   22975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22976 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22977 _ACEOF
   22978 sed -n '
   22979 h
   22980 s/^/S["/; s/!.*/"]=/
   22981 p
   22982 g
   22983 s/^[^!]*!//
   22984 :repl
   22985 t repl
   22986 s/'"$ac_delim"'$//
   22987 t delim
   22988 :nl
   22989 h
   22990 s/\(.\{148\}\).*/\1/
   22991 t more1
   22992 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22993 p
   22994 n
   22995 b repl
   22996 :more1
   22997 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22998 p
   22999 g
   23000 s/.\{148\}//
   23001 t nl
   23002 :delim
   23003 h
   23004 s/\(.\{148\}\).*/\1/
   23005 t more2
   23006 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23007 p
   23008 b
   23009 :more2
   23010 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23011 p
   23012 g
   23013 s/.\{148\}//
   23014 t delim
   23015 ' <conf$$subs.awk | sed '
   23016 /^[^""]/{
   23017   N
   23018   s/\n//
   23019 }
   23020 ' >>$CONFIG_STATUS || ac_write_fail=1
   23021 rm -f conf$$subs.awk
   23022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23023 _ACAWK
   23024 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   23025   for (key in S) S_is_set[key] = 1
   23026   FS = ""
   23027 
   23028 }
   23029 {
   23030   line = $ 0
   23031   nfields = split(line, field, "@")
   23032   substed = 0
   23033   len = length(field[1])
   23034   for (i = 2; i < nfields; i++) {
   23035     key = field[i]
   23036     keylen = length(key)
   23037     if (S_is_set[key]) {
   23038       value = S[key]
   23039       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23040       len += length(value) + length(field[++i])
   23041       substed = 1
   23042     } else
   23043       len += 1 + keylen
   23044   }
   23045 
   23046   print line
   23047 }
   23048 
   23049 _ACAWK
   23050 _ACEOF
   23051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23052 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23053   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23054 else
   23055   cat
   23056 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   23057   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   23058 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   23059    { (exit 1); exit 1; }; }
   23060 _ACEOF
   23061 
   23062 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23063 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23064 # trailing colons and then remove the whole line if VPATH becomes empty
   23065 # (actually we leave an empty line to preserve line numbers).
   23066 if test "x$srcdir" = x.; then
   23067   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23068 s/:*\$(srcdir):*/:/
   23069 s/:*\${srcdir}:*/:/
   23070 s/:*@srcdir@:*/:/
   23071 s/^\([^=]*=[	 ]*\):*/\1/
   23072 s/:*$//
   23073 s/^[^=]*=[	 ]*$//
   23074 }'
   23075 fi
   23076 
   23077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23078 fi # test -n "$CONFIG_FILES"
   23079 
   23080 # Set up the scripts for CONFIG_HEADERS section.
   23081 # No need to generate them if there are no CONFIG_HEADERS.
   23082 # This happens for instance with `./config.status Makefile'.
   23083 if test -n "$CONFIG_HEADERS"; then
   23084 cat >"$tmp/defines.awk" <<\_ACAWK ||
   23085 BEGIN {
   23086 _ACEOF
   23087 
   23088 # Transform confdefs.h into an awk script `defines.awk', embedded as
   23089 # here-document in config.status, that substitutes the proper values into
   23090 # config.h.in to produce config.h.
   23091 
   23092 # Create a delimiter string that does not exist in confdefs.h, to ease
   23093 # handling of long lines.
   23094 ac_delim='%!_!# '
   23095 for ac_last_try in false false :; do
   23096   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   23097   if test -z "$ac_t"; then
   23098     break
   23099   elif $ac_last_try; then
   23100     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   23101 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   23102    { (exit 1); exit 1; }; }
   23103   else
   23104     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23105   fi
   23106 done
   23107 
   23108 # For the awk script, D is an array of macro values keyed by name,
   23109 # likewise P contains macro parameters if any.  Preserve backslash
   23110 # newline sequences.
   23111 
   23112 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23113 sed -n '
   23114 s/.\{148\}/&'"$ac_delim"'/g
   23115 t rset
   23116 :rset
   23117 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23118 t def
   23119 d
   23120 :def
   23121 s/\\$//
   23122 t bsnl
   23123 s/["\\]/\\&/g
   23124 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23125 D["\1"]=" \3"/p
   23126 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23127 d
   23128 :bsnl
   23129 s/["\\]/\\&/g
   23130 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23131 D["\1"]=" \3\\\\\\n"\\/p
   23132 t cont
   23133 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23134 t cont
   23135 d
   23136 :cont
   23137 n
   23138 s/.\{148\}/&'"$ac_delim"'/g
   23139 t clear
   23140 :clear
   23141 s/\\$//
   23142 t bsnlc
   23143 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23144 d
   23145 :bsnlc
   23146 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23147 b cont
   23148 ' <confdefs.h | sed '
   23149 s/'"$ac_delim"'/"\\\
   23150 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23151 
   23152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23153   for (key in D) D_is_set[key] = 1
   23154   FS = ""
   23155 }
   23156 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23157   line = \$ 0
   23158   split(line, arg, " ")
   23159   if (arg[1] == "#") {
   23160     defundef = arg[2]
   23161     mac1 = arg[3]
   23162   } else {
   23163     defundef = substr(arg[1], 2)
   23164     mac1 = arg[2]
   23165   }
   23166   split(mac1, mac2, "(") #)
   23167   macro = mac2[1]
   23168   prefix = substr(line, 1, index(line, defundef) - 1)
   23169   if (D_is_set[macro]) {
   23170     # Preserve the white space surrounding the "#".
   23171     print prefix "define", macro P[macro] D[macro]
   23172     next
   23173   } else {
   23174     # Replace #undef with comments.  This is necessary, for example,
   23175     # in the case of _POSIX_SOURCE, which is predefined and required
   23176     # on some systems where configure will not decide to define it.
   23177     if (defundef == "undef") {
   23178       print "/*", prefix defundef, macro, "*/"
   23179       next
   23180     }
   23181   }
   23182 }
   23183 { print }
   23184 _ACAWK
   23185 _ACEOF
   23186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23187   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23188 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23189    { (exit 1); exit 1; }; }
   23190 fi # test -n "$CONFIG_HEADERS"
   23191 
   23192 
   23193 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23194 shift
   23195 for ac_tag
   23196 do
   23197   case $ac_tag in
   23198   :[FHLC]) ac_mode=$ac_tag; continue;;
   23199   esac
   23200   case $ac_mode$ac_tag in
   23201   :[FHL]*:*);;
   23202   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23203 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23204    { (exit 1); exit 1; }; };;
   23205   :[FH]-) ac_tag=-:-;;
   23206   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23207   esac
   23208   ac_save_IFS=$IFS
   23209   IFS=:
   23210   set x $ac_tag
   23211   IFS=$ac_save_IFS
   23212   shift
   23213   ac_file=$1
   23214   shift
   23215 
   23216   case $ac_mode in
   23217   :L) ac_source=$1;;
   23218   :[FH])
   23219     ac_file_inputs=
   23220     for ac_f
   23221     do
   23222       case $ac_f in
   23223       -) ac_f="$tmp/stdin";;
   23224       *) # Look for the file first in the build tree, then in the source tree
   23225 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23226 	 # because $ac_f cannot contain `:'.
   23227 	 test -f "$ac_f" ||
   23228 	   case $ac_f in
   23229 	   [\\/$]*) false;;
   23230 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23231 	   esac ||
   23232 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23233 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23234    { (exit 1); exit 1; }; };;
   23235       esac
   23236       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23237       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23238     done
   23239 
   23240     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23241     # use $as_me), people would be surprised to read:
   23242     #    /* config.h.  Generated by config.status.  */
   23243     configure_input='Generated from '`
   23244 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23245 	`' by configure.'
   23246     if test x"$ac_file" != x-; then
   23247       configure_input="$ac_file.  $configure_input"
   23248       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23249 $as_echo "$as_me: creating $ac_file" >&6;}
   23250     fi
   23251     # Neutralize special characters interpreted by sed in replacement strings.
   23252     case $configure_input in #(
   23253     *\&* | *\|* | *\\* )
   23254        ac_sed_conf_input=`$as_echo "$configure_input" |
   23255        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23256     *) ac_sed_conf_input=$configure_input;;
   23257     esac
   23258 
   23259     case $ac_tag in
   23260     *:-:* | *:-) cat >"$tmp/stdin" \
   23261       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23262 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23263    { (exit 1); exit 1; }; } ;;
   23264     esac
   23265     ;;
   23266   esac
   23267 
   23268   ac_dir=`$as_dirname -- "$ac_file" ||
   23269 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23270 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23271 	 X"$ac_file" : 'X\(//\)$' \| \
   23272 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23273 $as_echo X"$ac_file" |
   23274     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23275 	    s//\1/
   23276 	    q
   23277 	  }
   23278 	  /^X\(\/\/\)[^/].*/{
   23279 	    s//\1/
   23280 	    q
   23281 	  }
   23282 	  /^X\(\/\/\)$/{
   23283 	    s//\1/
   23284 	    q
   23285 	  }
   23286 	  /^X\(\/\).*/{
   23287 	    s//\1/
   23288 	    q
   23289 	  }
   23290 	  s/.*/./; q'`
   23291   { as_dir="$ac_dir"
   23292   case $as_dir in #(
   23293   -*) as_dir=./$as_dir;;
   23294   esac
   23295   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23296     as_dirs=
   23297     while :; do
   23298       case $as_dir in #(
   23299       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23300       *) as_qdir=$as_dir;;
   23301       esac
   23302       as_dirs="'$as_qdir' $as_dirs"
   23303       as_dir=`$as_dirname -- "$as_dir" ||
   23304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23305 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23306 	 X"$as_dir" : 'X\(//\)$' \| \
   23307 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23308 $as_echo X"$as_dir" |
   23309     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23310 	    s//\1/
   23311 	    q
   23312 	  }
   23313 	  /^X\(\/\/\)[^/].*/{
   23314 	    s//\1/
   23315 	    q
   23316 	  }
   23317 	  /^X\(\/\/\)$/{
   23318 	    s//\1/
   23319 	    q
   23320 	  }
   23321 	  /^X\(\/\).*/{
   23322 	    s//\1/
   23323 	    q
   23324 	  }
   23325 	  s/.*/./; q'`
   23326       test -d "$as_dir" && break
   23327     done
   23328     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23329   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23330 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23331    { (exit 1); exit 1; }; }; }
   23332   ac_builddir=.
   23333 
   23334 case "$ac_dir" in
   23335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23336 *)
   23337   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23338   # A ".." for each directory in $ac_dir_suffix.
   23339   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23340   case $ac_top_builddir_sub in
   23341   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23342   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23343   esac ;;
   23344 esac
   23345 ac_abs_top_builddir=$ac_pwd
   23346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23347 # for backward compatibility:
   23348 ac_top_builddir=$ac_top_build_prefix
   23349 
   23350 case $srcdir in
   23351   .)  # We are building in place.
   23352     ac_srcdir=.
   23353     ac_top_srcdir=$ac_top_builddir_sub
   23354     ac_abs_top_srcdir=$ac_pwd ;;
   23355   [\\/]* | ?:[\\/]* )  # Absolute name.
   23356     ac_srcdir=$srcdir$ac_dir_suffix;
   23357     ac_top_srcdir=$srcdir
   23358     ac_abs_top_srcdir=$srcdir ;;
   23359   *) # Relative name.
   23360     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23361     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23362     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23363 esac
   23364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23365 
   23366 
   23367   case $ac_mode in
   23368   :F)
   23369   #
   23370   # CONFIG_FILE
   23371   #
   23372 
   23373   case $INSTALL in
   23374   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23375   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23376   esac
   23377   ac_MKDIR_P=$MKDIR_P
   23378   case $MKDIR_P in
   23379   [\\/$]* | ?:[\\/]* ) ;;
   23380   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23381   esac
   23382 _ACEOF
   23383 
   23384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23385 # If the template does not know about datarootdir, expand it.
   23386 # FIXME: This hack should be removed a few years after 2.60.
   23387 ac_datarootdir_hack=; ac_datarootdir_seen=
   23388 
   23389 ac_sed_dataroot='
   23390 /datarootdir/ {
   23391   p
   23392   q
   23393 }
   23394 /@datadir@/p
   23395 /@docdir@/p
   23396 /@infodir@/p
   23397 /@localedir@/p
   23398 /@mandir@/p
   23399 '
   23400 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23401 *datarootdir*) ac_datarootdir_seen=yes;;
   23402 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23403   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23404 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23405 _ACEOF
   23406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23407   ac_datarootdir_hack='
   23408   s&@datadir@&$datadir&g
   23409   s&@docdir@&$docdir&g
   23410   s&@infodir@&$infodir&g
   23411   s&@localedir@&$localedir&g
   23412   s&@mandir@&$mandir&g
   23413     s&\\\${datarootdir}&$datarootdir&g' ;;
   23414 esac
   23415 _ACEOF
   23416 
   23417 # Neutralize VPATH when `$srcdir' = `.'.
   23418 # Shell code in configure.ac might set extrasub.
   23419 # FIXME: do we really want to maintain this feature?
   23420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23421 ac_sed_extra="$ac_vpsub
   23422 $extrasub
   23423 _ACEOF
   23424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23425 :t
   23426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23427 s|@configure_input@|$ac_sed_conf_input|;t t
   23428 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23429 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23430 s&@srcdir@&$ac_srcdir&;t t
   23431 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23432 s&@top_srcdir@&$ac_top_srcdir&;t t
   23433 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23434 s&@builddir@&$ac_builddir&;t t
   23435 s&@abs_builddir@&$ac_abs_builddir&;t t
   23436 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23437 s&@INSTALL@&$ac_INSTALL&;t t
   23438 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23439 $ac_datarootdir_hack
   23440 "
   23441 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23442   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23443 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23444    { (exit 1); exit 1; }; }
   23445 
   23446 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23447   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23448   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23449   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23450 which seems to be undefined.  Please make sure it is defined." >&5
   23451 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23452 which seems to be undefined.  Please make sure it is defined." >&2;}
   23453 
   23454   rm -f "$tmp/stdin"
   23455   case $ac_file in
   23456   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23457   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23458   esac \
   23459   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23460 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23461    { (exit 1); exit 1; }; }
   23462  ;;
   23463   :H)
   23464   #
   23465   # CONFIG_HEADER
   23466   #
   23467   if test x"$ac_file" != x-; then
   23468     {
   23469       $as_echo "/* $configure_input  */" \
   23470       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23471     } >"$tmp/config.h" \
   23472       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23473 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23474    { (exit 1); exit 1; }; }
   23475     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23476       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23477 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23478     else
   23479       rm -f "$ac_file"
   23480       mv "$tmp/config.h" "$ac_file" \
   23481 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23482 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23483    { (exit 1); exit 1; }; }
   23484     fi
   23485   else
   23486     $as_echo "/* $configure_input  */" \
   23487       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23488       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23489 $as_echo "$as_me: error: could not create -" >&2;}
   23490    { (exit 1); exit 1; }; }
   23491   fi
   23492 # Compute "$ac_file"'s index in $config_headers.
   23493 _am_arg="$ac_file"
   23494 _am_stamp_count=1
   23495 for _am_header in $config_headers :; do
   23496   case $_am_header in
   23497     $_am_arg | $_am_arg:* )
   23498       break ;;
   23499     * )
   23500       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23501   esac
   23502 done
   23503 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23504 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23505 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23506 	 X"$_am_arg" : 'X\(//\)$' \| \
   23507 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23508 $as_echo X"$_am_arg" |
   23509     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23510 	    s//\1/
   23511 	    q
   23512 	  }
   23513 	  /^X\(\/\/\)[^/].*/{
   23514 	    s//\1/
   23515 	    q
   23516 	  }
   23517 	  /^X\(\/\/\)$/{
   23518 	    s//\1/
   23519 	    q
   23520 	  }
   23521 	  /^X\(\/\).*/{
   23522 	    s//\1/
   23523 	    q
   23524 	  }
   23525 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23526  ;;
   23527 
   23528   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23529 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23530  ;;
   23531   esac
   23532 
   23533 
   23534   case $ac_file$ac_mode in
   23535     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23536   # Strip MF so we end up with the name of the file.
   23537   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23538   # Check whether this is an Automake generated Makefile or not.
   23539   # We used to match only the files named `Makefile.in', but
   23540   # some people rename them; so instead we look at the file content.
   23541   # Grep'ing the first line is not enough: some people post-process
   23542   # each Makefile.in and add a new line on top of each file to say so.
   23543   # Grep'ing the whole file is not good either: AIX grep has a line
   23544   # limit of 2048, but all sed's we know have understand at least 4000.
   23545   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23546     dirpart=`$as_dirname -- "$mf" ||
   23547 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23548 	 X"$mf" : 'X\(//\)[^/]' \| \
   23549 	 X"$mf" : 'X\(//\)$' \| \
   23550 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23551 $as_echo X"$mf" |
   23552     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23553 	    s//\1/
   23554 	    q
   23555 	  }
   23556 	  /^X\(\/\/\)[^/].*/{
   23557 	    s//\1/
   23558 	    q
   23559 	  }
   23560 	  /^X\(\/\/\)$/{
   23561 	    s//\1/
   23562 	    q
   23563 	  }
   23564 	  /^X\(\/\).*/{
   23565 	    s//\1/
   23566 	    q
   23567 	  }
   23568 	  s/.*/./; q'`
   23569   else
   23570     continue
   23571   fi
   23572   # Extract the definition of DEPDIR, am__include, and am__quote
   23573   # from the Makefile without running `make'.
   23574   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23575   test -z "$DEPDIR" && continue
   23576   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23577   test -z "am__include" && continue
   23578   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23579   # When using ansi2knr, U may be empty or an underscore; expand it
   23580   U=`sed -n 's/^U = //p' < "$mf"`
   23581   # Find all dependency output files, they are included files with
   23582   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23583   # simplest approach to changing $(DEPDIR) to its actual value in the
   23584   # expansion.
   23585   for file in `sed -n "
   23586     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23587        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23588     # Make sure the directory exists.
   23589     test -f "$dirpart/$file" && continue
   23590     fdir=`$as_dirname -- "$file" ||
   23591 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23592 	 X"$file" : 'X\(//\)[^/]' \| \
   23593 	 X"$file" : 'X\(//\)$' \| \
   23594 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23595 $as_echo X"$file" |
   23596     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23597 	    s//\1/
   23598 	    q
   23599 	  }
   23600 	  /^X\(\/\/\)[^/].*/{
   23601 	    s//\1/
   23602 	    q
   23603 	  }
   23604 	  /^X\(\/\/\)$/{
   23605 	    s//\1/
   23606 	    q
   23607 	  }
   23608 	  /^X\(\/\).*/{
   23609 	    s//\1/
   23610 	    q
   23611 	  }
   23612 	  s/.*/./; q'`
   23613     { as_dir=$dirpart/$fdir
   23614   case $as_dir in #(
   23615   -*) as_dir=./$as_dir;;
   23616   esac
   23617   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23618     as_dirs=
   23619     while :; do
   23620       case $as_dir in #(
   23621       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23622       *) as_qdir=$as_dir;;
   23623       esac
   23624       as_dirs="'$as_qdir' $as_dirs"
   23625       as_dir=`$as_dirname -- "$as_dir" ||
   23626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23627 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23628 	 X"$as_dir" : 'X\(//\)$' \| \
   23629 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23630 $as_echo X"$as_dir" |
   23631     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23632 	    s//\1/
   23633 	    q
   23634 	  }
   23635 	  /^X\(\/\/\)[^/].*/{
   23636 	    s//\1/
   23637 	    q
   23638 	  }
   23639 	  /^X\(\/\/\)$/{
   23640 	    s//\1/
   23641 	    q
   23642 	  }
   23643 	  /^X\(\/\).*/{
   23644 	    s//\1/
   23645 	    q
   23646 	  }
   23647 	  s/.*/./; q'`
   23648       test -d "$as_dir" && break
   23649     done
   23650     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23651   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23652 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23653    { (exit 1); exit 1; }; }; }
   23654     # echo "creating $dirpart/$file"
   23655     echo '# dummy' > "$dirpart/$file"
   23656   done
   23657 done
   23658  ;;
   23659     "tests/atconfig":C) cat >tests/atconfig <<ATEOF
   23660 # Configurable variable values for building test suites.
   23661 # Generated by $0.
   23662 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
   23663 
   23664 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
   23665 at_testdir='tests'
   23666 abs_builddir='$ac_abs_builddir'
   23667 at_srcdir='$ac_srcdir'
   23668 abs_srcdir='$ac_abs_srcdir'
   23669 at_top_srcdir='$ac_top_srcdir'
   23670 abs_top_srcdir='$ac_abs_top_srcdir'
   23671 at_top_build_prefix='$ac_top_build_prefix'
   23672 abs_top_builddir='$ac_abs_top_builddir'
   23673 
   23674 # Backward compatibility with Autotest <= 2.59b:
   23675 at_top_builddir=\$at_top_build_prefix
   23676 
   23677 AUTOTEST_PATH='tests'
   23678 
   23679 SHELL=\${CONFIG_SHELL-'$SHELL'}
   23680 ATEOF
   23681  ;;
   23682 
   23683   esac
   23684 done # for ac_tag
   23685 
   23686 
   23687 { (exit 0); exit 0; }
   23688 _ACEOF
   23689 chmod +x $CONFIG_STATUS
   23690 ac_clean_files=$ac_clean_files_save
   23691 
   23692 test $ac_write_fail = 0 ||
   23693   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23694 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23695    { (exit 1); exit 1; }; }
   23696 
   23697 
   23698 # configure is writing to config.log, and then calls config.status.
   23699 # config.status does its own redirection, appending to config.log.
   23700 # Unfortunately, on DOS this fails, as config.log is still kept open
   23701 # by configure, so config.status won't be able to write to it; its
   23702 # output is simply discarded.  So we exec the FD to /dev/null,
   23703 # effectively closing config.log, so it can be properly (re)opened and
   23704 # appended to by config.status.  When coming back to configure, we
   23705 # need to make the FD available again.
   23706 if test "$no_create" != yes; then
   23707   ac_cs_success=:
   23708   ac_config_status_args=
   23709   test "$silent" = yes &&
   23710     ac_config_status_args="$ac_config_status_args --quiet"
   23711   exec 5>/dev/null
   23712   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23713   exec 5>>config.log
   23714   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23715   # would make configure fail if this is the last instruction.
   23716   $ac_cs_success || { (exit 1); exit 1; }
   23717 fi
   23718 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23719   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23720 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23721 fi
   23722 
   23723 
   23724 # Display feature results
   23725 #
   23726 { $as_echo "$as_me:$LINENO:  === Configuration results ===" >&5
   23727 $as_echo "$as_me:  === Configuration results ===" >&6;}
   23728 { $as_echo "$as_me:$LINENO: Version:             $PACKAGE_VERSION" >&5
   23729 $as_echo "$as_me: Version:             $PACKAGE_VERSION" >&6;}
   23730 { $as_echo "$as_me:$LINENO: C compiler:          $CC" >&5
   23731 $as_echo "$as_me: C compiler:          $CC" >&6;}
   23732 { $as_echo "$as_me:$LINENO: Warning CFLAGS:      $WARNCFLAGS" >&5
   23733 $as_echo "$as_me: Warning CFLAGS:      $WARNCFLAGS" >&6;}
   23734 { $as_echo "$as_me:$LINENO: =============================" >&5
   23735 $as_echo "$as_me: =============================" >&6;}
   23736