Home | History | Annotate | Line # | Download | only in dist
configure revision 1.34
      1 #! /bin/sh
      2 # From configure.ac Revision: 1.1 .
      3 # Guess values for system-dependent variables and create Makefiles.
      4 # Generated by GNU Autoconf 2.63 for netpgp 20101103.
      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='20101103'
    755 PACKAGE_STRING='netpgp 20101103'
    756 PACKAGE_BUGREPORT='Alistair Crooks <agc (at] netbsd.org> c0596823'
    757 
    758 ac_unique_file="src/netpgp/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 OPENSSL_LDFLAGS
    799 OPENSSL_LIBS
    800 OPENSSL_INCLUDES
    801 PKG_CONFIG
    802 WARNCFLAGS
    803 LIBTOOL
    804 ac_ct_F77
    805 FFLAGS
    806 F77
    807 CXXCPP
    808 am__fastdepCXX_FALSE
    809 am__fastdepCXX_TRUE
    810 CXXDEPMODE
    811 ac_ct_CXX
    812 CXXFLAGS
    813 CXX
    814 CPP
    815 RANLIB
    816 AR
    817 ECHO
    818 LN_S
    819 EGREP
    820 GREP
    821 SED
    822 am__fastdepCC_FALSE
    823 am__fastdepCC_TRUE
    824 CCDEPMODE
    825 AMDEPBACKSLASH
    826 AMDEP_FALSE
    827 AMDEP_TRUE
    828 am__quote
    829 am__include
    830 DEPDIR
    831 OBJEXT
    832 EXEEXT
    833 ac_ct_CC
    834 CPPFLAGS
    835 LDFLAGS
    836 CFLAGS
    837 CC
    838 CANONICAL_HOST
    839 host_os
    840 host_vendor
    841 host_cpu
    842 host
    843 build_os
    844 build_vendor
    845 build_cpu
    846 build
    847 MAINT
    848 MAINTAINER_MODE_FALSE
    849 MAINTAINER_MODE_TRUE
    850 am__untar
    851 am__tar
    852 AMTAR
    853 am__leading_dot
    854 SET_MAKE
    855 AWK
    856 mkdir_p
    857 MKDIR_P
    858 INSTALL_STRIP_PROGRAM
    859 STRIP
    860 install_sh
    861 MAKEINFO
    862 AUTOHEADER
    863 AUTOMAKE
    864 AUTOCONF
    865 ACLOCAL
    866 VERSION
    867 PACKAGE
    868 CYGPATH_W
    869 am__isrc
    870 INSTALL_DATA
    871 INSTALL_SCRIPT
    872 INSTALL_PROGRAM
    873 target_alias
    874 host_alias
    875 build_alias
    876 LIBS
    877 ECHO_T
    878 ECHO_N
    879 ECHO_C
    880 DEFS
    881 mandir
    882 localedir
    883 libdir
    884 psdir
    885 pdfdir
    886 dvidir
    887 htmldir
    888 infodir
    889 docdir
    890 oldincludedir
    891 includedir
    892 localstatedir
    893 sharedstatedir
    894 sysconfdir
    895 datadir
    896 datarootdir
    897 libexecdir
    898 sbindir
    899 bindir
    900 program_transform_name
    901 prefix
    902 exec_prefix
    903 PACKAGE_BUGREPORT
    904 PACKAGE_STRING
    905 PACKAGE_VERSION
    906 PACKAGE_TARNAME
    907 PACKAGE_NAME
    908 PATH_SEPARATOR
    909 SHELL'
    910 ac_subst_files=''
    911 ac_user_opts='
    912 enable_option_checking
    913 enable_maintainer_mode
    914 enable_dependency_tracking
    915 enable_shared
    916 enable_static
    917 enable_fast_install
    918 with_gnu_ld
    919 enable_libtool_lock
    920 with_pic
    921 with_tags
    922 with_openssl
    923 '
    924       ac_precious_vars='build_alias
    925 host_alias
    926 target_alias
    927 CC
    928 CFLAGS
    929 LDFLAGS
    930 LIBS
    931 CPPFLAGS
    932 CPP
    933 CXX
    934 CXXFLAGS
    935 CCC
    936 CXXCPP
    937 F77
    938 FFLAGS'
    939 
    940 
    941 # Initialize some variables set by options.
    942 ac_init_help=
    943 ac_init_version=false
    944 ac_unrecognized_opts=
    945 ac_unrecognized_sep=
    946 # The variables have the same names as the options, with
    947 # dashes changed to underlines.
    948 cache_file=/dev/null
    949 exec_prefix=NONE
    950 no_create=
    951 no_recursion=
    952 prefix=NONE
    953 program_prefix=NONE
    954 program_suffix=NONE
    955 program_transform_name=s,x,x,
    956 silent=
    957 site=
    958 srcdir=
    959 verbose=
    960 x_includes=NONE
    961 x_libraries=NONE
    962 
    963 # Installation directory options.
    964 # These are left unexpanded so users can "make install exec_prefix=/foo"
    965 # and all the variables that are supposed to be based on exec_prefix
    966 # by default will actually change.
    967 # Use braces instead of parens because sh, perl, etc. also accept them.
    968 # (The list follows the same order as the GNU Coding Standards.)
    969 bindir='${exec_prefix}/bin'
    970 sbindir='${exec_prefix}/sbin'
    971 libexecdir='${exec_prefix}/libexec'
    972 datarootdir='${prefix}/share'
    973 datadir='${datarootdir}'
    974 sysconfdir='${prefix}/etc'
    975 sharedstatedir='${prefix}/com'
    976 localstatedir='${prefix}/var'
    977 includedir='${prefix}/include'
    978 oldincludedir='/usr/include'
    979 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    980 infodir='${datarootdir}/info'
    981 htmldir='${docdir}'
    982 dvidir='${docdir}'
    983 pdfdir='${docdir}'
    984 psdir='${docdir}'
    985 libdir='${exec_prefix}/lib'
    986 localedir='${datarootdir}/locale'
    987 mandir='${datarootdir}/man'
    988 
    989 ac_prev=
    990 ac_dashdash=
    991 for ac_option
    992 do
    993   # If the previous option needs an argument, assign it.
    994   if test -n "$ac_prev"; then
    995     eval $ac_prev=\$ac_option
    996     ac_prev=
    997     continue
    998   fi
    999 
   1000   case $ac_option in
   1001   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1002   *)	ac_optarg=yes ;;
   1003   esac
   1004 
   1005   # Accept the important Cygnus configure options, so we can diagnose typos.
   1006 
   1007   case $ac_dashdash$ac_option in
   1008   --)
   1009     ac_dashdash=yes ;;
   1010 
   1011   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1012     ac_prev=bindir ;;
   1013   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1014     bindir=$ac_optarg ;;
   1015 
   1016   -build | --build | --buil | --bui | --bu)
   1017     ac_prev=build_alias ;;
   1018   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1019     build_alias=$ac_optarg ;;
   1020 
   1021   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1022   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1023     ac_prev=cache_file ;;
   1024   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1025   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1026     cache_file=$ac_optarg ;;
   1027 
   1028   --config-cache | -C)
   1029     cache_file=config.cache ;;
   1030 
   1031   -datadir | --datadir | --datadi | --datad)
   1032     ac_prev=datadir ;;
   1033   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1034     datadir=$ac_optarg ;;
   1035 
   1036   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1037   | --dataroo | --dataro | --datar)
   1038     ac_prev=datarootdir ;;
   1039   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1040   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1041     datarootdir=$ac_optarg ;;
   1042 
   1043   -disable-* | --disable-*)
   1044     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1045     # Reject names that are not valid shell variable names.
   1046     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1047       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1048    { (exit 1); exit 1; }; }
   1049     ac_useropt_orig=$ac_useropt
   1050     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1051     case $ac_user_opts in
   1052       *"
   1053 "enable_$ac_useropt"
   1054 "*) ;;
   1055       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1056 	 ac_unrecognized_sep=', ';;
   1057     esac
   1058     eval enable_$ac_useropt=no ;;
   1059 
   1060   -docdir | --docdir | --docdi | --doc | --do)
   1061     ac_prev=docdir ;;
   1062   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1063     docdir=$ac_optarg ;;
   1064 
   1065   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1066     ac_prev=dvidir ;;
   1067   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1068     dvidir=$ac_optarg ;;
   1069 
   1070   -enable-* | --enable-*)
   1071     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1072     # Reject names that are not valid shell variable names.
   1073     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1074       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1075    { (exit 1); exit 1; }; }
   1076     ac_useropt_orig=$ac_useropt
   1077     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1078     case $ac_user_opts in
   1079       *"
   1080 "enable_$ac_useropt"
   1081 "*) ;;
   1082       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1083 	 ac_unrecognized_sep=', ';;
   1084     esac
   1085     eval enable_$ac_useropt=\$ac_optarg ;;
   1086 
   1087   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1088   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1089   | --exec | --exe | --ex)
   1090     ac_prev=exec_prefix ;;
   1091   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1092   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1093   | --exec=* | --exe=* | --ex=*)
   1094     exec_prefix=$ac_optarg ;;
   1095 
   1096   -gas | --gas | --ga | --g)
   1097     # Obsolete; use --with-gas.
   1098     with_gas=yes ;;
   1099 
   1100   -help | --help | --hel | --he | -h)
   1101     ac_init_help=long ;;
   1102   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1103     ac_init_help=recursive ;;
   1104   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1105     ac_init_help=short ;;
   1106 
   1107   -host | --host | --hos | --ho)
   1108     ac_prev=host_alias ;;
   1109   -host=* | --host=* | --hos=* | --ho=*)
   1110     host_alias=$ac_optarg ;;
   1111 
   1112   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1113     ac_prev=htmldir ;;
   1114   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1115   | --ht=*)
   1116     htmldir=$ac_optarg ;;
   1117 
   1118   -includedir | --includedir | --includedi | --included | --include \
   1119   | --includ | --inclu | --incl | --inc)
   1120     ac_prev=includedir ;;
   1121   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1122   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1123     includedir=$ac_optarg ;;
   1124 
   1125   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1126     ac_prev=infodir ;;
   1127   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1128     infodir=$ac_optarg ;;
   1129 
   1130   -libdir | --libdir | --libdi | --libd)
   1131     ac_prev=libdir ;;
   1132   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1133     libdir=$ac_optarg ;;
   1134 
   1135   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1136   | --libexe | --libex | --libe)
   1137     ac_prev=libexecdir ;;
   1138   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1139   | --libexe=* | --libex=* | --libe=*)
   1140     libexecdir=$ac_optarg ;;
   1141 
   1142   -localedir | --localedir | --localedi | --localed | --locale)
   1143     ac_prev=localedir ;;
   1144   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1145     localedir=$ac_optarg ;;
   1146 
   1147   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1148   | --localstate | --localstat | --localsta | --localst | --locals)
   1149     ac_prev=localstatedir ;;
   1150   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1151   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1152     localstatedir=$ac_optarg ;;
   1153 
   1154   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1155     ac_prev=mandir ;;
   1156   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1157     mandir=$ac_optarg ;;
   1158 
   1159   -nfp | --nfp | --nf)
   1160     # Obsolete; use --without-fp.
   1161     with_fp=no ;;
   1162 
   1163   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1164   | --no-cr | --no-c | -n)
   1165     no_create=yes ;;
   1166 
   1167   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1168   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1169     no_recursion=yes ;;
   1170 
   1171   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1172   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1173   | --oldin | --oldi | --old | --ol | --o)
   1174     ac_prev=oldincludedir ;;
   1175   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1176   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1177   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1178     oldincludedir=$ac_optarg ;;
   1179 
   1180   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1181     ac_prev=prefix ;;
   1182   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1183     prefix=$ac_optarg ;;
   1184 
   1185   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1186   | --program-pre | --program-pr | --program-p)
   1187     ac_prev=program_prefix ;;
   1188   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1189   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1190     program_prefix=$ac_optarg ;;
   1191 
   1192   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1193   | --program-suf | --program-su | --program-s)
   1194     ac_prev=program_suffix ;;
   1195   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1196   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1197     program_suffix=$ac_optarg ;;
   1198 
   1199   -program-transform-name | --program-transform-name \
   1200   | --program-transform-nam | --program-transform-na \
   1201   | --program-transform-n | --program-transform- \
   1202   | --program-transform | --program-transfor \
   1203   | --program-transfo | --program-transf \
   1204   | --program-trans | --program-tran \
   1205   | --progr-tra | --program-tr | --program-t)
   1206     ac_prev=program_transform_name ;;
   1207   -program-transform-name=* | --program-transform-name=* \
   1208   | --program-transform-nam=* | --program-transform-na=* \
   1209   | --program-transform-n=* | --program-transform-=* \
   1210   | --program-transform=* | --program-transfor=* \
   1211   | --program-transfo=* | --program-transf=* \
   1212   | --program-trans=* | --program-tran=* \
   1213   | --progr-tra=* | --program-tr=* | --program-t=*)
   1214     program_transform_name=$ac_optarg ;;
   1215 
   1216   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1217     ac_prev=pdfdir ;;
   1218   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1219     pdfdir=$ac_optarg ;;
   1220 
   1221   -psdir | --psdir | --psdi | --psd | --ps)
   1222     ac_prev=psdir ;;
   1223   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1224     psdir=$ac_optarg ;;
   1225 
   1226   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1227   | -silent | --silent | --silen | --sile | --sil)
   1228     silent=yes ;;
   1229 
   1230   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1231     ac_prev=sbindir ;;
   1232   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1233   | --sbi=* | --sb=*)
   1234     sbindir=$ac_optarg ;;
   1235 
   1236   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1237   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1238   | --sharedst | --shareds | --shared | --share | --shar \
   1239   | --sha | --sh)
   1240     ac_prev=sharedstatedir ;;
   1241   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1242   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1243   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1244   | --sha=* | --sh=*)
   1245     sharedstatedir=$ac_optarg ;;
   1246 
   1247   -site | --site | --sit)
   1248     ac_prev=site ;;
   1249   -site=* | --site=* | --sit=*)
   1250     site=$ac_optarg ;;
   1251 
   1252   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1253     ac_prev=srcdir ;;
   1254   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1255     srcdir=$ac_optarg ;;
   1256 
   1257   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1258   | --syscon | --sysco | --sysc | --sys | --sy)
   1259     ac_prev=sysconfdir ;;
   1260   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1261   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1262     sysconfdir=$ac_optarg ;;
   1263 
   1264   -target | --target | --targe | --targ | --tar | --ta | --t)
   1265     ac_prev=target_alias ;;
   1266   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1267     target_alias=$ac_optarg ;;
   1268 
   1269   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1270     verbose=yes ;;
   1271 
   1272   -version | --version | --versio | --versi | --vers | -V)
   1273     ac_init_version=: ;;
   1274 
   1275   -with-* | --with-*)
   1276     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1277     # Reject names that are not valid shell variable names.
   1278     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1279       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1280    { (exit 1); exit 1; }; }
   1281     ac_useropt_orig=$ac_useropt
   1282     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1283     case $ac_user_opts in
   1284       *"
   1285 "with_$ac_useropt"
   1286 "*) ;;
   1287       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1288 	 ac_unrecognized_sep=', ';;
   1289     esac
   1290     eval with_$ac_useropt=\$ac_optarg ;;
   1291 
   1292   -without-* | --without-*)
   1293     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1294     # Reject names that are not valid shell variable names.
   1295     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1296       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1297    { (exit 1); exit 1; }; }
   1298     ac_useropt_orig=$ac_useropt
   1299     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1300     case $ac_user_opts in
   1301       *"
   1302 "with_$ac_useropt"
   1303 "*) ;;
   1304       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1305 	 ac_unrecognized_sep=', ';;
   1306     esac
   1307     eval with_$ac_useropt=no ;;
   1308 
   1309   --x)
   1310     # Obsolete; use --with-x.
   1311     with_x=yes ;;
   1312 
   1313   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1314   | --x-incl | --x-inc | --x-in | --x-i)
   1315     ac_prev=x_includes ;;
   1316   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1317   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1318     x_includes=$ac_optarg ;;
   1319 
   1320   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1321   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1322     ac_prev=x_libraries ;;
   1323   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1324   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1325     x_libraries=$ac_optarg ;;
   1326 
   1327   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1328 Try \`$0 --help' for more information." >&2
   1329    { (exit 1); exit 1; }; }
   1330     ;;
   1331 
   1332   *=*)
   1333     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1334     # Reject names that are not valid shell variable names.
   1335     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1336       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1337    { (exit 1); exit 1; }; }
   1338     eval $ac_envvar=\$ac_optarg
   1339     export $ac_envvar ;;
   1340 
   1341   *)
   1342     # FIXME: should be removed in autoconf 3.0.
   1343     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1344     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1345       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1346     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1347     ;;
   1348 
   1349   esac
   1350 done
   1351 
   1352 if test -n "$ac_prev"; then
   1353   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1354   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1355    { (exit 1); exit 1; }; }
   1356 fi
   1357 
   1358 if test -n "$ac_unrecognized_opts"; then
   1359   case $enable_option_checking in
   1360     no) ;;
   1361     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1362    { (exit 1); exit 1; }; } ;;
   1363     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1364   esac
   1365 fi
   1366 
   1367 # Check all directory arguments for consistency.
   1368 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1369 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1370 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1371 		libdir localedir mandir
   1372 do
   1373   eval ac_val=\$$ac_var
   1374   # Remove trailing slashes.
   1375   case $ac_val in
   1376     */ )
   1377       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1378       eval $ac_var=\$ac_val;;
   1379   esac
   1380   # Be sure to have absolute directory names.
   1381   case $ac_val in
   1382     [\\/$]* | ?:[\\/]* )  continue;;
   1383     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1384   esac
   1385   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1386    { (exit 1); exit 1; }; }
   1387 done
   1388 
   1389 # There might be people who depend on the old broken behavior: `$host'
   1390 # used to hold the argument of --host etc.
   1391 # FIXME: To remove some day.
   1392 build=$build_alias
   1393 host=$host_alias
   1394 target=$target_alias
   1395 
   1396 # FIXME: To remove some day.
   1397 if test "x$host_alias" != x; then
   1398   if test "x$build_alias" = x; then
   1399     cross_compiling=maybe
   1400     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1401     If a cross compiler is detected then cross compile mode will be used." >&2
   1402   elif test "x$build_alias" != "x$host_alias"; then
   1403     cross_compiling=yes
   1404   fi
   1405 fi
   1406 
   1407 ac_tool_prefix=
   1408 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1409 
   1410 test "$silent" = yes && exec 6>/dev/null
   1411 
   1412 
   1413 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1414 ac_ls_di=`ls -di .` &&
   1415 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1416   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1417    { (exit 1); exit 1; }; }
   1418 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1419   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1420    { (exit 1); exit 1; }; }
   1421 
   1422 
   1423 # Find the source files, if location was not specified.
   1424 if test -z "$srcdir"; then
   1425   ac_srcdir_defaulted=yes
   1426   # Try the directory containing this script, then the parent directory.
   1427   ac_confdir=`$as_dirname -- "$as_myself" ||
   1428 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1429 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1430 	 X"$as_myself" : 'X\(//\)$' \| \
   1431 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1432 $as_echo X"$as_myself" |
   1433     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1434 	    s//\1/
   1435 	    q
   1436 	  }
   1437 	  /^X\(\/\/\)[^/].*/{
   1438 	    s//\1/
   1439 	    q
   1440 	  }
   1441 	  /^X\(\/\/\)$/{
   1442 	    s//\1/
   1443 	    q
   1444 	  }
   1445 	  /^X\(\/\).*/{
   1446 	    s//\1/
   1447 	    q
   1448 	  }
   1449 	  s/.*/./; q'`
   1450   srcdir=$ac_confdir
   1451   if test ! -r "$srcdir/$ac_unique_file"; then
   1452     srcdir=..
   1453   fi
   1454 else
   1455   ac_srcdir_defaulted=no
   1456 fi
   1457 if test ! -r "$srcdir/$ac_unique_file"; then
   1458   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1459   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1460    { (exit 1); exit 1; }; }
   1461 fi
   1462 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1463 ac_abs_confdir=`(
   1464 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1465    { (exit 1); exit 1; }; }
   1466 	pwd)`
   1467 # When building in place, set srcdir=.
   1468 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1469   srcdir=.
   1470 fi
   1471 # Remove unnecessary trailing slashes from srcdir.
   1472 # Double slashes in file names in object file debugging info
   1473 # mess up M-x gdb in Emacs.
   1474 case $srcdir in
   1475 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1476 esac
   1477 for ac_var in $ac_precious_vars; do
   1478   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1479   eval ac_env_${ac_var}_value=\$${ac_var}
   1480   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1481   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1482 done
   1483 
   1484 #
   1485 # Report the --help message.
   1486 #
   1487 if test "$ac_init_help" = "long"; then
   1488   # Omit some internal or obsolete options to make the list less imposing.
   1489   # This message is too long to be a string in the A/UX 3.1 sh.
   1490   cat <<_ACEOF
   1491 \`configure' configures netpgp 20101103 to adapt to many kinds of systems.
   1492 
   1493 Usage: $0 [OPTION]... [VAR=VALUE]...
   1494 
   1495 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1496 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1497 
   1498 Defaults for the options are specified in brackets.
   1499 
   1500 Configuration:
   1501   -h, --help              display this help and exit
   1502       --help=short        display options specific to this package
   1503       --help=recursive    display the short help of all the included packages
   1504   -V, --version           display version information and exit
   1505   -q, --quiet, --silent   do not print \`checking...' messages
   1506       --cache-file=FILE   cache test results in FILE [disabled]
   1507   -C, --config-cache      alias for \`--cache-file=config.cache'
   1508   -n, --no-create         do not create output files
   1509       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1510 
   1511 Installation directories:
   1512   --prefix=PREFIX         install architecture-independent files in PREFIX
   1513                           [$ac_default_prefix]
   1514   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1515                           [PREFIX]
   1516 
   1517 By default, \`make install' will install all the files in
   1518 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1519 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1520 for instance \`--prefix=\$HOME'.
   1521 
   1522 For better control, use the options below.
   1523 
   1524 Fine tuning of the installation directories:
   1525   --bindir=DIR            user executables [EPREFIX/bin]
   1526   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1527   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1528   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1529   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1530   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1531   --libdir=DIR            object code libraries [EPREFIX/lib]
   1532   --includedir=DIR        C header files [PREFIX/include]
   1533   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1534   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1535   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1536   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1537   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1538   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1539   --docdir=DIR            documentation root [DATAROOTDIR/doc/netpgp]
   1540   --htmldir=DIR           html documentation [DOCDIR]
   1541   --dvidir=DIR            dvi documentation [DOCDIR]
   1542   --pdfdir=DIR            pdf documentation [DOCDIR]
   1543   --psdir=DIR             ps documentation [DOCDIR]
   1544 _ACEOF
   1545 
   1546   cat <<\_ACEOF
   1547 
   1548 Program names:
   1549   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1550   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1551   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1552 
   1553 System types:
   1554   --build=BUILD     configure for building on BUILD [guessed]
   1555   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1556 _ACEOF
   1557 fi
   1558 
   1559 if test -n "$ac_init_help"; then
   1560   case $ac_init_help in
   1561      short | recursive ) echo "Configuration of netpgp 20101103:";;
   1562    esac
   1563   cat <<\_ACEOF
   1564 
   1565 Optional Features:
   1566   --disable-option-checking  ignore unrecognized --enable/--with options
   1567   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1568   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1569   --enable-maintainer-mode  enable make rules and dependencies not useful
   1570 			  (and sometimes confusing) to the casual installer
   1571   --disable-dependency-tracking  speeds up one-time build
   1572   --enable-dependency-tracking   do not reject slow dependency extractors
   1573   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1574   --enable-static[=PKGS]  build static libraries [default=yes]
   1575   --enable-fast-install[=PKGS]
   1576                           optimize for fast installation [default=yes]
   1577   --disable-libtool-lock  avoid locking (might break parallel builds)
   1578 
   1579 Optional Packages:
   1580   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1581   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1582   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1583   --with-pic              try to use only PIC/non-PIC objects [default=use
   1584                           both]
   1585   --with-tags[=TAGS]      include additional configurations [automatic]
   1586   --with-openssl=DIR      root of the OpenSSL directory
   1587 
   1588 Some influential environment variables:
   1589   CC          C compiler command
   1590   CFLAGS      C compiler flags
   1591   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1592               nonstandard directory <lib dir>
   1593   LIBS        libraries to pass to the linker, e.g. -l<library>
   1594   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1595               you have headers in a nonstandard directory <include dir>
   1596   CPP         C preprocessor
   1597   CXX         C++ compiler command
   1598   CXXFLAGS    C++ compiler flags
   1599   CXXCPP      C++ preprocessor
   1600   F77         Fortran 77 compiler command
   1601   FFLAGS      Fortran 77 compiler flags
   1602 
   1603 Use these variables to override the choices made by `configure' or to help
   1604 it to find libraries and programs with nonstandard names/locations.
   1605 
   1606 Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>.
   1607 _ACEOF
   1608 ac_status=$?
   1609 fi
   1610 
   1611 if test "$ac_init_help" = "recursive"; then
   1612   # If there are subdirs, report their specific --help.
   1613   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1614     test -d "$ac_dir" ||
   1615       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1616       continue
   1617     ac_builddir=.
   1618 
   1619 case "$ac_dir" in
   1620 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1621 *)
   1622   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1623   # A ".." for each directory in $ac_dir_suffix.
   1624   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1625   case $ac_top_builddir_sub in
   1626   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1627   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1628   esac ;;
   1629 esac
   1630 ac_abs_top_builddir=$ac_pwd
   1631 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1632 # for backward compatibility:
   1633 ac_top_builddir=$ac_top_build_prefix
   1634 
   1635 case $srcdir in
   1636   .)  # We are building in place.
   1637     ac_srcdir=.
   1638     ac_top_srcdir=$ac_top_builddir_sub
   1639     ac_abs_top_srcdir=$ac_pwd ;;
   1640   [\\/]* | ?:[\\/]* )  # Absolute name.
   1641     ac_srcdir=$srcdir$ac_dir_suffix;
   1642     ac_top_srcdir=$srcdir
   1643     ac_abs_top_srcdir=$srcdir ;;
   1644   *) # Relative name.
   1645     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1646     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1647     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1648 esac
   1649 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1650 
   1651     cd "$ac_dir" || { ac_status=$?; continue; }
   1652     # Check for guested configure.
   1653     if test -f "$ac_srcdir/configure.gnu"; then
   1654       echo &&
   1655       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1656     elif test -f "$ac_srcdir/configure"; then
   1657       echo &&
   1658       $SHELL "$ac_srcdir/configure" --help=recursive
   1659     else
   1660       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1661     fi || ac_status=$?
   1662     cd "$ac_pwd" || { ac_status=$?; break; }
   1663   done
   1664 fi
   1665 
   1666 test -n "$ac_init_help" && exit $ac_status
   1667 if $ac_init_version; then
   1668   cat <<\_ACEOF
   1669 netpgp configure 20101103
   1670 generated by GNU Autoconf 2.63
   1671 
   1672 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1673 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1674 This configure script is free software; the Free Software Foundation
   1675 gives unlimited permission to copy, distribute and modify it.
   1676 _ACEOF
   1677   exit
   1678 fi
   1679 cat >config.log <<_ACEOF
   1680 This file contains any messages produced by compilers while
   1681 running configure, to aid debugging if configure makes a mistake.
   1682 
   1683 It was created by netpgp $as_me 20101103, which was
   1684 generated by GNU Autoconf 2.63.  Invocation command line was
   1685 
   1686   $ $0 $@
   1687 
   1688 _ACEOF
   1689 exec 5>>config.log
   1690 {
   1691 cat <<_ASUNAME
   1692 ## --------- ##
   1693 ## Platform. ##
   1694 ## --------- ##
   1695 
   1696 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1697 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1698 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1699 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1700 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1701 
   1702 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1703 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1704 
   1705 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1706 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1707 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1708 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1709 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1710 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1711 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1712 
   1713 _ASUNAME
   1714 
   1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1716 for as_dir in $PATH
   1717 do
   1718   IFS=$as_save_IFS
   1719   test -z "$as_dir" && as_dir=.
   1720   $as_echo "PATH: $as_dir"
   1721 done
   1722 IFS=$as_save_IFS
   1723 
   1724 } >&5
   1725 
   1726 cat >&5 <<_ACEOF
   1727 
   1728 
   1729 ## ----------- ##
   1730 ## Core tests. ##
   1731 ## ----------- ##
   1732 
   1733 _ACEOF
   1734 
   1735 
   1736 # Keep a trace of the command line.
   1737 # Strip out --no-create and --no-recursion so they do not pile up.
   1738 # Strip out --silent because we don't want to record it for future runs.
   1739 # Also quote any args containing shell meta-characters.
   1740 # Make two passes to allow for proper duplicate-argument suppression.
   1741 ac_configure_args=
   1742 ac_configure_args0=
   1743 ac_configure_args1=
   1744 ac_must_keep_next=false
   1745 for ac_pass in 1 2
   1746 do
   1747   for ac_arg
   1748   do
   1749     case $ac_arg in
   1750     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1751     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1752     | -silent | --silent | --silen | --sile | --sil)
   1753       continue ;;
   1754     *\'*)
   1755       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1756     esac
   1757     case $ac_pass in
   1758     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1759     2)
   1760       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1761       if test $ac_must_keep_next = true; then
   1762 	ac_must_keep_next=false # Got value, back to normal.
   1763       else
   1764 	case $ac_arg in
   1765 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1766 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1767 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1768 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1769 	    case "$ac_configure_args0 " in
   1770 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1771 	    esac
   1772 	    ;;
   1773 	  -* ) ac_must_keep_next=true ;;
   1774 	esac
   1775       fi
   1776       ac_configure_args="$ac_configure_args '$ac_arg'"
   1777       ;;
   1778     esac
   1779   done
   1780 done
   1781 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1782 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1783 
   1784 # When interrupted or exit'd, cleanup temporary files, and complete
   1785 # config.log.  We remove comments because anyway the quotes in there
   1786 # would cause problems or look ugly.
   1787 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1788 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1789 trap 'exit_status=$?
   1790   # Save into config.log some information that might help in debugging.
   1791   {
   1792     echo
   1793 
   1794     cat <<\_ASBOX
   1795 ## ---------------- ##
   1796 ## Cache variables. ##
   1797 ## ---------------- ##
   1798 _ASBOX
   1799     echo
   1800     # The following way of writing the cache mishandles newlines in values,
   1801 (
   1802   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1803     eval ac_val=\$$ac_var
   1804     case $ac_val in #(
   1805     *${as_nl}*)
   1806       case $ac_var in #(
   1807       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1808 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1809       esac
   1810       case $ac_var in #(
   1811       _ | IFS | as_nl) ;; #(
   1812       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1813       *) $as_unset $ac_var ;;
   1814       esac ;;
   1815     esac
   1816   done
   1817   (set) 2>&1 |
   1818     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1819     *${as_nl}ac_space=\ *)
   1820       sed -n \
   1821 	"s/'\''/'\''\\\\'\'''\''/g;
   1822 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1823       ;; #(
   1824     *)
   1825       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1826       ;;
   1827     esac |
   1828     sort
   1829 )
   1830     echo
   1831 
   1832     cat <<\_ASBOX
   1833 ## ----------------- ##
   1834 ## Output variables. ##
   1835 ## ----------------- ##
   1836 _ASBOX
   1837     echo
   1838     for ac_var in $ac_subst_vars
   1839     do
   1840       eval ac_val=\$$ac_var
   1841       case $ac_val in
   1842       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1843       esac
   1844       $as_echo "$ac_var='\''$ac_val'\''"
   1845     done | sort
   1846     echo
   1847 
   1848     if test -n "$ac_subst_files"; then
   1849       cat <<\_ASBOX
   1850 ## ------------------- ##
   1851 ## File substitutions. ##
   1852 ## ------------------- ##
   1853 _ASBOX
   1854       echo
   1855       for ac_var in $ac_subst_files
   1856       do
   1857 	eval ac_val=\$$ac_var
   1858 	case $ac_val in
   1859 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1860 	esac
   1861 	$as_echo "$ac_var='\''$ac_val'\''"
   1862       done | sort
   1863       echo
   1864     fi
   1865 
   1866     if test -s confdefs.h; then
   1867       cat <<\_ASBOX
   1868 ## ----------- ##
   1869 ## confdefs.h. ##
   1870 ## ----------- ##
   1871 _ASBOX
   1872       echo
   1873       cat confdefs.h
   1874       echo
   1875     fi
   1876     test "$ac_signal" != 0 &&
   1877       $as_echo "$as_me: caught signal $ac_signal"
   1878     $as_echo "$as_me: exit $exit_status"
   1879   } >&5
   1880   rm -f core *.core core.conftest.* &&
   1881     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1882     exit $exit_status
   1883 ' 0
   1884 for ac_signal in 1 2 13 15; do
   1885   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1886 done
   1887 ac_signal=0
   1888 
   1889 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1890 rm -f -r conftest* confdefs.h
   1891 
   1892 # Predefined preprocessor variables.
   1893 
   1894 cat >>confdefs.h <<_ACEOF
   1895 #define PACKAGE_NAME "$PACKAGE_NAME"
   1896 _ACEOF
   1897 
   1898 
   1899 cat >>confdefs.h <<_ACEOF
   1900 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1901 _ACEOF
   1902 
   1903 
   1904 cat >>confdefs.h <<_ACEOF
   1905 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1906 _ACEOF
   1907 
   1908 
   1909 cat >>confdefs.h <<_ACEOF
   1910 #define PACKAGE_STRING "$PACKAGE_STRING"
   1911 _ACEOF
   1912 
   1913 
   1914 cat >>confdefs.h <<_ACEOF
   1915 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1916 _ACEOF
   1917 
   1918 
   1919 # Let the site file select an alternate cache file if it wants to.
   1920 # Prefer an explicitly selected file to automatically selected ones.
   1921 ac_site_file1=NONE
   1922 ac_site_file2=NONE
   1923 if test -n "$CONFIG_SITE"; then
   1924   ac_site_file1=$CONFIG_SITE
   1925 elif test "x$prefix" != xNONE; then
   1926   ac_site_file1=$prefix/share/config.site
   1927   ac_site_file2=$prefix/etc/config.site
   1928 else
   1929   ac_site_file1=$ac_default_prefix/share/config.site
   1930   ac_site_file2=$ac_default_prefix/etc/config.site
   1931 fi
   1932 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1933 do
   1934   test "x$ac_site_file" = xNONE && continue
   1935   if test -r "$ac_site_file"; then
   1936     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1937 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1938     sed 's/^/| /' "$ac_site_file" >&5
   1939     . "$ac_site_file"
   1940   fi
   1941 done
   1942 
   1943 if test -r "$cache_file"; then
   1944   # Some versions of bash will fail to source /dev/null (special
   1945   # files actually), so we avoid doing that.
   1946   if test -f "$cache_file"; then
   1947     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1948 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1949     case $cache_file in
   1950       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1951       *)                      . "./$cache_file";;
   1952     esac
   1953   fi
   1954 else
   1955   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1956 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1957   >$cache_file
   1958 fi
   1959 
   1960 # Check that the precious variables saved in the cache have kept the same
   1961 # value.
   1962 ac_cache_corrupted=false
   1963 for ac_var in $ac_precious_vars; do
   1964   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1965   eval ac_new_set=\$ac_env_${ac_var}_set
   1966   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1967   eval ac_new_val=\$ac_env_${ac_var}_value
   1968   case $ac_old_set,$ac_new_set in
   1969     set,)
   1970       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1971 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1972       ac_cache_corrupted=: ;;
   1973     ,set)
   1974       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1975 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1976       ac_cache_corrupted=: ;;
   1977     ,);;
   1978     *)
   1979       if test "x$ac_old_val" != "x$ac_new_val"; then
   1980 	# differences in whitespace do not lead to failure.
   1981 	ac_old_val_w=`echo x $ac_old_val`
   1982 	ac_new_val_w=`echo x $ac_new_val`
   1983 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1984 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1985 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1986 	  ac_cache_corrupted=:
   1987 	else
   1988 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   1989 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   1990 	  eval $ac_var=\$ac_old_val
   1991 	fi
   1992 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   1993 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   1994 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   1995 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   1996       fi;;
   1997   esac
   1998   # Pass precious variables to config.status.
   1999   if test "$ac_new_set" = set; then
   2000     case $ac_new_val in
   2001     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2002     *) ac_arg=$ac_var=$ac_new_val ;;
   2003     esac
   2004     case " $ac_configure_args " in
   2005       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2006       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2007     esac
   2008   fi
   2009 done
   2010 if $ac_cache_corrupted; then
   2011   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2013   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2014 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2015   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2016 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2017    { (exit 1); exit 1; }; }
   2018 fi
   2019 
   2020 
   2021 
   2022 
   2023 
   2024 
   2025 
   2026 
   2027 
   2028 
   2029 
   2030 
   2031 
   2032 
   2033 
   2034 
   2035 
   2036 
   2037 
   2038 
   2039 
   2040 
   2041 
   2042 
   2043 
   2044 ac_ext=c
   2045 ac_cpp='$CPP $CPPFLAGS'
   2046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 ## --------------------- ##
   2055 ## M4sh Initialization.  ##
   2056 ## --------------------- ##
   2057 
   2058 # Be more Bourne compatible
   2059 DUALCASE=1; export DUALCASE # for MKS sh
   2060 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   2061   emulate sh
   2062   NULLCMD=:
   2063   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   2064   # is contrary to our usage.  Disable this feature.
   2065   alias -g '${1+"$@"}'='"$@"'
   2066   setopt NO_GLOB_SUBST
   2067 else
   2068   case `(set -o) 2>/dev/null` in
   2069   *posix*) set -o posix ;;
   2070 esac
   2071 
   2072 fi
   2073 
   2074 
   2075 
   2076 
   2077 # PATH needs CR
   2078 # Avoid depending upon Character Ranges.
   2079 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   2080 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   2081 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   2082 as_cr_digits='0123456789'
   2083 as_cr_alnum=$as_cr_Letters$as_cr_digits
   2084 
   2085 as_nl='
   2086 '
   2087 export as_nl
   2088 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   2089 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2090 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   2091 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   2092 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   2093   as_echo='printf %s\n'
   2094   as_echo_n='printf %s'
   2095 else
   2096   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   2097     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   2098     as_echo_n='/usr/ucb/echo -n'
   2099   else
   2100     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   2101     as_echo_n_body='eval
   2102       arg=$1;
   2103       case $arg in
   2104       *"$as_nl"*)
   2105 	expr "X$arg" : "X\\(.*\\)$as_nl";
   2106 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   2107       esac;
   2108       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   2109     '
   2110     export as_echo_n_body
   2111     as_echo_n='sh -c $as_echo_n_body as_echo'
   2112   fi
   2113   export as_echo_body
   2114   as_echo='sh -c $as_echo_body as_echo'
   2115 fi
   2116 
   2117 # The user is always right.
   2118 if test "${PATH_SEPARATOR+set}" != set; then
   2119   PATH_SEPARATOR=:
   2120   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   2121     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   2122       PATH_SEPARATOR=';'
   2123   }
   2124 fi
   2125 
   2126 # Support unset when possible.
   2127 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   2128   as_unset=unset
   2129 else
   2130   as_unset=false
   2131 fi
   2132 
   2133 
   2134 # IFS
   2135 # We need space, tab and new line, in precisely that order.  Quoting is
   2136 # there to prevent editors from complaining about space-tab.
   2137 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   2138 # splitting by setting IFS to empty value.)
   2139 IFS=" ""	$as_nl"
   2140 
   2141 # Find who we are.  Look in the path if we contain no directory separator.
   2142 case $0 in
   2143   *[\\/]* ) as_myself=$0 ;;
   2144   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2145 for as_dir in $PATH
   2146 do
   2147   IFS=$as_save_IFS
   2148   test -z "$as_dir" && as_dir=.
   2149   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   2150 done
   2151 IFS=$as_save_IFS
   2152 
   2153      ;;
   2154 esac
   2155 # We did not find ourselves, most probably we were run as `sh COMMAND'
   2156 # in which case we are not to be found in the path.
   2157 if test "x$as_myself" = x; then
   2158   as_myself=$0
   2159 fi
   2160 if test ! -f "$as_myself"; then
   2161   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   2162   { (exit 1); exit 1; }
   2163 fi
   2164 
   2165 # Work around bugs in pre-3.0 UWIN ksh.
   2166 for as_var in ENV MAIL MAILPATH
   2167 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   2168 done
   2169 PS1='$ '
   2170 PS2='> '
   2171 PS4='+ '
   2172 
   2173 # NLS nuisances.
   2174 LC_ALL=C
   2175 export LC_ALL
   2176 LANGUAGE=C
   2177 export LANGUAGE
   2178 
   2179 # Required to use basename.
   2180 if expr a : '\(a\)' >/dev/null 2>&1 &&
   2181    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   2182   as_expr=expr
   2183 else
   2184   as_expr=false
   2185 fi
   2186 
   2187 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   2188   as_basename=basename
   2189 else
   2190   as_basename=false
   2191 fi
   2192 
   2193 
   2194 # Name of the executable.
   2195 as_me=`$as_basename -- "$0" ||
   2196 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   2197 	 X"$0" : 'X\(//\)$' \| \
   2198 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   2199 $as_echo X/"$0" |
   2200     sed '/^.*\/\([^/][^/]*\)\/*$/{
   2201 	    s//\1/
   2202 	    q
   2203 	  }
   2204 	  /^X\/\(\/\/\)$/{
   2205 	    s//\1/
   2206 	    q
   2207 	  }
   2208 	  /^X\/\(\/\).*/{
   2209 	    s//\1/
   2210 	    q
   2211 	  }
   2212 	  s/.*/./; q'`
   2213 
   2214 # CDPATH.
   2215 $as_unset CDPATH
   2216 
   2217 
   2218 
   2219 ac_aux_dir=
   2220 for ac_dir in buildaux "$srcdir"/buildaux; do
   2221   if 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/install.sh"; then
   2226     ac_aux_dir=$ac_dir
   2227     ac_install_sh="$ac_aux_dir/install.sh -c"
   2228     break
   2229   elif test -f "$ac_dir/shtool"; then
   2230     ac_aux_dir=$ac_dir
   2231     ac_install_sh="$ac_aux_dir/shtool install -c"
   2232     break
   2233   fi
   2234 done
   2235 if test -z "$ac_aux_dir"; then
   2236   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in buildaux \"$srcdir\"/buildaux" >&5
   2237 $as_echo "$as_me: error: cannot find install-sh or install.sh in buildaux \"$srcdir\"/buildaux" >&2;}
   2238    { (exit 1); exit 1; }; }
   2239 fi
   2240 
   2241 # These three variables are undocumented and unsupported,
   2242 # and are intended to be withdrawn in a future Autoconf release.
   2243 # They can cause serious problems if a builder's source tree is in a directory
   2244 # whose full name contains unusual characters.
   2245 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2246 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2247 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2248 
   2249 
   2250 ac_config_headers="$ac_config_headers src/lib/config.h"
   2251 
   2252 
   2253 am__api_version='1.10'
   2254 
   2255 # Find a good install program.  We prefer a C program (faster),
   2256 # so one script is as good as another.  But avoid the broken or
   2257 # incompatible versions:
   2258 # SysV /etc/install, /usr/sbin/install
   2259 # SunOS /usr/etc/install
   2260 # IRIX /sbin/install
   2261 # AIX /bin/install
   2262 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2263 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2264 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2265 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2266 # OS/2's system install, which has a completely different semantic
   2267 # ./install, which can be erroneously created by make from ./install.sh.
   2268 # Reject install programs that cannot install multiple files.
   2269 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2270 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2271 if test -z "$INSTALL"; then
   2272 if test "${ac_cv_path_install+set}" = set; then
   2273   $as_echo_n "(cached) " >&6
   2274 else
   2275   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2276 for as_dir in $PATH
   2277 do
   2278   IFS=$as_save_IFS
   2279   test -z "$as_dir" && as_dir=.
   2280   # Account for people who put trailing slashes in PATH elements.
   2281 case $as_dir/ in
   2282   ./ | .// | /cC/* | \
   2283   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2284   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2285   /usr/ucb/* ) ;;
   2286   *)
   2287     # OSF1 and SCO ODT 3.0 have their own names for install.
   2288     # Don't use installbsd from OSF since it installs stuff as root
   2289     # by default.
   2290     for ac_prog in ginstall scoinst install; do
   2291       for ac_exec_ext in '' $ac_executable_extensions; do
   2292 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2293 	  if test $ac_prog = install &&
   2294 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2295 	    # AIX install.  It has an incompatible calling convention.
   2296 	    :
   2297 	  elif test $ac_prog = install &&
   2298 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2299 	    # program-specific install script used by HP pwplus--don't use.
   2300 	    :
   2301 	  else
   2302 	    rm -rf conftest.one conftest.two conftest.dir
   2303 	    echo one > conftest.one
   2304 	    echo two > conftest.two
   2305 	    mkdir conftest.dir
   2306 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2307 	      test -s conftest.one && test -s conftest.two &&
   2308 	      test -s conftest.dir/conftest.one &&
   2309 	      test -s conftest.dir/conftest.two
   2310 	    then
   2311 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2312 	      break 3
   2313 	    fi
   2314 	  fi
   2315 	fi
   2316       done
   2317     done
   2318     ;;
   2319 esac
   2320 
   2321 done
   2322 IFS=$as_save_IFS
   2323 
   2324 rm -rf conftest.one conftest.two conftest.dir
   2325 
   2326 fi
   2327   if test "${ac_cv_path_install+set}" = set; then
   2328     INSTALL=$ac_cv_path_install
   2329   else
   2330     # As a last resort, use the slow shell script.  Don't cache a
   2331     # value for INSTALL within a source directory, because that will
   2332     # break other packages using the cache if that directory is
   2333     # removed, or if the value is a relative name.
   2334     INSTALL=$ac_install_sh
   2335   fi
   2336 fi
   2337 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2338 $as_echo "$INSTALL" >&6; }
   2339 
   2340 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2341 # It thinks the first close brace ends the variable substitution.
   2342 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2343 
   2344 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2345 
   2346 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2347 
   2348 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2349 $as_echo_n "checking whether build environment is sane... " >&6; }
   2350 # Just in case
   2351 sleep 1
   2352 echo timestamp > conftest.file
   2353 # Do `set' in a subshell so we don't clobber the current shell's
   2354 # arguments.  Must try -L first in case configure is actually a
   2355 # symlink; some systems play weird games with the mod time of symlinks
   2356 # (eg FreeBSD returns the mod time of the symlink's containing
   2357 # directory).
   2358 if (
   2359    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2360    if test "$*" = "X"; then
   2361       # -L didn't work.
   2362       set X `ls -t $srcdir/configure conftest.file`
   2363    fi
   2364    rm -f conftest.file
   2365    if test "$*" != "X $srcdir/configure conftest.file" \
   2366       && test "$*" != "X conftest.file $srcdir/configure"; then
   2367 
   2368       # If neither matched, then we have a broken ls.  This can happen
   2369       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2370       # broken ls alias from the environment.  This has actually
   2371       # happened.  Such a system could not be considered "sane".
   2372       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2373 alias in your environment" >&5
   2374 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2375 alias in your environment" >&2;}
   2376    { (exit 1); exit 1; }; }
   2377    fi
   2378 
   2379    test "$2" = conftest.file
   2380    )
   2381 then
   2382    # Ok.
   2383    :
   2384 else
   2385    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2386 Check your system clock" >&5
   2387 $as_echo "$as_me: error: newly created file is older than distributed files!
   2388 Check your system clock" >&2;}
   2389    { (exit 1); exit 1; }; }
   2390 fi
   2391 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2392 $as_echo "yes" >&6; }
   2393 test "$program_prefix" != NONE &&
   2394   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2395 # Use a double $ so make ignores it.
   2396 test "$program_suffix" != NONE &&
   2397   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2398 # Double any \ or $.
   2399 # By default was `s,x,x', remove it if useless.
   2400 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2401 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2402 
   2403 # expand $ac_aux_dir to an absolute path
   2404 am_aux_dir=`cd $ac_aux_dir && pwd`
   2405 
   2406 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2407 # Use eval to expand $SHELL
   2408 if eval "$MISSING --run true"; then
   2409   am_missing_run="$MISSING --run "
   2410 else
   2411   am_missing_run=
   2412   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2413 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2414 fi
   2415 
   2416 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2417 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2418 if test -z "$MKDIR_P"; then
   2419   if test "${ac_cv_path_mkdir+set}" = set; then
   2420   $as_echo_n "(cached) " >&6
   2421 else
   2422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2423 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2424 do
   2425   IFS=$as_save_IFS
   2426   test -z "$as_dir" && as_dir=.
   2427   for ac_prog in mkdir gmkdir; do
   2428 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2429 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2430 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2431 	     'mkdir (GNU coreutils) '* | \
   2432 	     'mkdir (coreutils) '* | \
   2433 	     'mkdir (fileutils) '4.1*)
   2434 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2435 	       break 3;;
   2436 	   esac
   2437 	 done
   2438        done
   2439 done
   2440 IFS=$as_save_IFS
   2441 
   2442 fi
   2443 
   2444   if test "${ac_cv_path_mkdir+set}" = set; then
   2445     MKDIR_P="$ac_cv_path_mkdir -p"
   2446   else
   2447     # As a last resort, use the slow shell script.  Don't cache a
   2448     # value for MKDIR_P within a source directory, because that will
   2449     # break other packages using the cache if that directory is
   2450     # removed, or if the value is a relative name.
   2451     test -d ./--version && rmdir ./--version
   2452     MKDIR_P="$ac_install_sh -d"
   2453   fi
   2454 fi
   2455 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2456 $as_echo "$MKDIR_P" >&6; }
   2457 
   2458 mkdir_p="$MKDIR_P"
   2459 case $mkdir_p in
   2460   [\\/$]* | ?:[\\/]*) ;;
   2461   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2462 esac
   2463 
   2464 for ac_prog in gawk mawk nawk awk
   2465 do
   2466   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2467 set dummy $ac_prog; ac_word=$2
   2468 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2469 $as_echo_n "checking for $ac_word... " >&6; }
   2470 if test "${ac_cv_prog_AWK+set}" = set; then
   2471   $as_echo_n "(cached) " >&6
   2472 else
   2473   if test -n "$AWK"; then
   2474   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2475 else
   2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2477 for as_dir in $PATH
   2478 do
   2479   IFS=$as_save_IFS
   2480   test -z "$as_dir" && as_dir=.
   2481   for ac_exec_ext in '' $ac_executable_extensions; do
   2482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2483     ac_cv_prog_AWK="$ac_prog"
   2484     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2485     break 2
   2486   fi
   2487 done
   2488 done
   2489 IFS=$as_save_IFS
   2490 
   2491 fi
   2492 fi
   2493 AWK=$ac_cv_prog_AWK
   2494 if test -n "$AWK"; then
   2495   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2496 $as_echo "$AWK" >&6; }
   2497 else
   2498   { $as_echo "$as_me:$LINENO: result: no" >&5
   2499 $as_echo "no" >&6; }
   2500 fi
   2501 
   2502 
   2503   test -n "$AWK" && break
   2504 done
   2505 
   2506 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2507 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2508 set x ${MAKE-make}
   2509 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2510 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2511   $as_echo_n "(cached) " >&6
   2512 else
   2513   cat >conftest.make <<\_ACEOF
   2514 SHELL = /bin/sh
   2515 all:
   2516 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2517 _ACEOF
   2518 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2519 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2520   *@@@%%%=?*=@@@%%%*)
   2521     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2522   *)
   2523     eval ac_cv_prog_make_${ac_make}_set=no;;
   2524 esac
   2525 rm -f conftest.make
   2526 fi
   2527 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2528   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2529 $as_echo "yes" >&6; }
   2530   SET_MAKE=
   2531 else
   2532   { $as_echo "$as_me:$LINENO: result: no" >&5
   2533 $as_echo "no" >&6; }
   2534   SET_MAKE="MAKE=${MAKE-make}"
   2535 fi
   2536 
   2537 rm -rf .tst 2>/dev/null
   2538 mkdir .tst 2>/dev/null
   2539 if test -d .tst; then
   2540   am__leading_dot=.
   2541 else
   2542   am__leading_dot=_
   2543 fi
   2544 rmdir .tst 2>/dev/null
   2545 
   2546 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2547   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2548   # is not polluted with repeated "-I."
   2549   am__isrc=' -I$(srcdir)'
   2550   # test to see if srcdir already configured
   2551   if test -f $srcdir/config.status; then
   2552     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2553 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2554    { (exit 1); exit 1; }; }
   2555   fi
   2556 fi
   2557 
   2558 # test whether we have cygpath
   2559 if test -z "$CYGPATH_W"; then
   2560   if (cygpath --version) >/dev/null 2>/dev/null; then
   2561     CYGPATH_W='cygpath -w'
   2562   else
   2563     CYGPATH_W=echo
   2564   fi
   2565 fi
   2566 
   2567 
   2568 # Define the identity of the package.
   2569  PACKAGE='netpgp'
   2570  VERSION='20101103'
   2571 
   2572 
   2573 cat >>confdefs.h <<_ACEOF
   2574 #define PACKAGE "$PACKAGE"
   2575 _ACEOF
   2576 
   2577 
   2578 cat >>confdefs.h <<_ACEOF
   2579 #define VERSION "$VERSION"
   2580 _ACEOF
   2581 
   2582 # Some tools Automake needs.
   2583 
   2584 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2585 
   2586 
   2587 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2588 
   2589 
   2590 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2591 
   2592 
   2593 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2594 
   2595 
   2596 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2597 
   2598 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2599 
   2600 # Installed binaries are usually stripped using `strip' when the user
   2601 # run `make install-strip'.  However `strip' might not be the right
   2602 # tool to use in cross-compilation environments, therefore Automake
   2603 # will honor the `STRIP' environment variable to overrule this program.
   2604 if test "$cross_compiling" != no; then
   2605   if test -n "$ac_tool_prefix"; then
   2606   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2607 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2608 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2609 $as_echo_n "checking for $ac_word... " >&6; }
   2610 if test "${ac_cv_prog_STRIP+set}" = set; then
   2611   $as_echo_n "(cached) " >&6
   2612 else
   2613   if test -n "$STRIP"; then
   2614   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2615 else
   2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2617 for as_dir in $PATH
   2618 do
   2619   IFS=$as_save_IFS
   2620   test -z "$as_dir" && as_dir=.
   2621   for ac_exec_ext in '' $ac_executable_extensions; do
   2622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2623     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2624     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2625     break 2
   2626   fi
   2627 done
   2628 done
   2629 IFS=$as_save_IFS
   2630 
   2631 fi
   2632 fi
   2633 STRIP=$ac_cv_prog_STRIP
   2634 if test -n "$STRIP"; then
   2635   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2636 $as_echo "$STRIP" >&6; }
   2637 else
   2638   { $as_echo "$as_me:$LINENO: result: no" >&5
   2639 $as_echo "no" >&6; }
   2640 fi
   2641 
   2642 
   2643 fi
   2644 if test -z "$ac_cv_prog_STRIP"; then
   2645   ac_ct_STRIP=$STRIP
   2646   # Extract the first word of "strip", so it can be a program name with args.
   2647 set dummy strip; ac_word=$2
   2648 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2649 $as_echo_n "checking for $ac_word... " >&6; }
   2650 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2651   $as_echo_n "(cached) " >&6
   2652 else
   2653   if test -n "$ac_ct_STRIP"; then
   2654   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2655 else
   2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2657 for as_dir in $PATH
   2658 do
   2659   IFS=$as_save_IFS
   2660   test -z "$as_dir" && as_dir=.
   2661   for ac_exec_ext in '' $ac_executable_extensions; do
   2662   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2663     ac_cv_prog_ac_ct_STRIP="strip"
   2664     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2665     break 2
   2666   fi
   2667 done
   2668 done
   2669 IFS=$as_save_IFS
   2670 
   2671 fi
   2672 fi
   2673 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2674 if test -n "$ac_ct_STRIP"; then
   2675   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2676 $as_echo "$ac_ct_STRIP" >&6; }
   2677 else
   2678   { $as_echo "$as_me:$LINENO: result: no" >&5
   2679 $as_echo "no" >&6; }
   2680 fi
   2681 
   2682   if test "x$ac_ct_STRIP" = x; then
   2683     STRIP=":"
   2684   else
   2685     case $cross_compiling:$ac_tool_warned in
   2686 yes:)
   2687 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2689 ac_tool_warned=yes ;;
   2690 esac
   2691     STRIP=$ac_ct_STRIP
   2692   fi
   2693 else
   2694   STRIP="$ac_cv_prog_STRIP"
   2695 fi
   2696 
   2697 fi
   2698 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2699 
   2700 # We need awk for the "check" target.  The system "awk" is bad on
   2701 # some platforms.
   2702 # Always define AMTAR for backward compatibility.
   2703 
   2704 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2705 
   2706 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2707 
   2708 
   2709 
   2710 
   2711 
   2712 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2713 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2714     # Check whether --enable-maintainer-mode was given.
   2715 if test "${enable_maintainer_mode+set}" = set; then
   2716   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2717 else
   2718   USE_MAINTAINER_MODE=no
   2719 fi
   2720 
   2721   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2722 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2723    if test $USE_MAINTAINER_MODE = yes; then
   2724   MAINTAINER_MODE_TRUE=
   2725   MAINTAINER_MODE_FALSE='#'
   2726 else
   2727   MAINTAINER_MODE_TRUE='#'
   2728   MAINTAINER_MODE_FALSE=
   2729 fi
   2730 
   2731   MAINT=$MAINTAINER_MODE_TRUE
   2732 
   2733 
   2734 
   2735 # Make sure we can run config.sub.
   2736 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2737   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2738 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2739    { (exit 1); exit 1; }; }
   2740 
   2741 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2742 $as_echo_n "checking build system type... " >&6; }
   2743 if test "${ac_cv_build+set}" = set; then
   2744   $as_echo_n "(cached) " >&6
   2745 else
   2746   ac_build_alias=$build_alias
   2747 test "x$ac_build_alias" = x &&
   2748   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2749 test "x$ac_build_alias" = x &&
   2750   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2751 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2752    { (exit 1); exit 1; }; }
   2753 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2754   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2755 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2756    { (exit 1); exit 1; }; }
   2757 
   2758 fi
   2759 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2760 $as_echo "$ac_cv_build" >&6; }
   2761 case $ac_cv_build in
   2762 *-*-*) ;;
   2763 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2764 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2765    { (exit 1); exit 1; }; };;
   2766 esac
   2767 build=$ac_cv_build
   2768 ac_save_IFS=$IFS; IFS='-'
   2769 set x $ac_cv_build
   2770 shift
   2771 build_cpu=$1
   2772 build_vendor=$2
   2773 shift; shift
   2774 # Remember, the first character of IFS is used to create $*,
   2775 # except with old shells:
   2776 build_os=$*
   2777 IFS=$ac_save_IFS
   2778 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2779 
   2780 
   2781 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2782 $as_echo_n "checking host system type... " >&6; }
   2783 if test "${ac_cv_host+set}" = set; then
   2784   $as_echo_n "(cached) " >&6
   2785 else
   2786   if test "x$host_alias" = x; then
   2787   ac_cv_host=$ac_cv_build
   2788 else
   2789   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2790     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2791 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2792    { (exit 1); exit 1; }; }
   2793 fi
   2794 
   2795 fi
   2796 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2797 $as_echo "$ac_cv_host" >&6; }
   2798 case $ac_cv_host in
   2799 *-*-*) ;;
   2800 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2801 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2802    { (exit 1); exit 1; }; };;
   2803 esac
   2804 host=$ac_cv_host
   2805 ac_save_IFS=$IFS; IFS='-'
   2806 set x $ac_cv_host
   2807 shift
   2808 host_cpu=$1
   2809 host_vendor=$2
   2810 shift; shift
   2811 # Remember, the first character of IFS is used to create $*,
   2812 # except with old shells:
   2813 host_os=$*
   2814 IFS=$ac_save_IFS
   2815 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2816 
   2817 
   2818 CANONICAL_HOST=$host
   2819 
   2820 
   2821 # Checks for programs.
   2822 #
   2823 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2824 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2825 set x ${MAKE-make}
   2826 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2827 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2828   $as_echo_n "(cached) " >&6
   2829 else
   2830   cat >conftest.make <<\_ACEOF
   2831 SHELL = /bin/sh
   2832 all:
   2833 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2834 _ACEOF
   2835 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2836 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2837   *@@@%%%=?*=@@@%%%*)
   2838     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2839   *)
   2840     eval ac_cv_prog_make_${ac_make}_set=no;;
   2841 esac
   2842 rm -f conftest.make
   2843 fi
   2844 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2845   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2846 $as_echo "yes" >&6; }
   2847   SET_MAKE=
   2848 else
   2849   { $as_echo "$as_me:$LINENO: result: no" >&5
   2850 $as_echo "no" >&6; }
   2851   SET_MAKE="MAKE=${MAKE-make}"
   2852 fi
   2853 
   2854 for ac_prog in gawk mawk nawk awk
   2855 do
   2856   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2857 set dummy $ac_prog; ac_word=$2
   2858 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2859 $as_echo_n "checking for $ac_word... " >&6; }
   2860 if test "${ac_cv_prog_AWK+set}" = set; then
   2861   $as_echo_n "(cached) " >&6
   2862 else
   2863   if test -n "$AWK"; then
   2864   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2865 else
   2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2867 for as_dir in $PATH
   2868 do
   2869   IFS=$as_save_IFS
   2870   test -z "$as_dir" && as_dir=.
   2871   for ac_exec_ext in '' $ac_executable_extensions; do
   2872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2873     ac_cv_prog_AWK="$ac_prog"
   2874     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2875     break 2
   2876   fi
   2877 done
   2878 done
   2879 IFS=$as_save_IFS
   2880 
   2881 fi
   2882 fi
   2883 AWK=$ac_cv_prog_AWK
   2884 if test -n "$AWK"; then
   2885   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2886 $as_echo "$AWK" >&6; }
   2887 else
   2888   { $as_echo "$as_me:$LINENO: result: no" >&5
   2889 $as_echo "no" >&6; }
   2890 fi
   2891 
   2892 
   2893   test -n "$AWK" && break
   2894 done
   2895 
   2896 ac_ext=c
   2897 ac_cpp='$CPP $CPPFLAGS'
   2898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2901 if test -n "$ac_tool_prefix"; then
   2902   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2903 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2904 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2905 $as_echo_n "checking for $ac_word... " >&6; }
   2906 if test "${ac_cv_prog_CC+set}" = set; then
   2907   $as_echo_n "(cached) " >&6
   2908 else
   2909   if test -n "$CC"; then
   2910   ac_cv_prog_CC="$CC" # Let the user override the test.
   2911 else
   2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2913 for as_dir in $PATH
   2914 do
   2915   IFS=$as_save_IFS
   2916   test -z "$as_dir" && as_dir=.
   2917   for ac_exec_ext in '' $ac_executable_extensions; do
   2918   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2919     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2920     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2921     break 2
   2922   fi
   2923 done
   2924 done
   2925 IFS=$as_save_IFS
   2926 
   2927 fi
   2928 fi
   2929 CC=$ac_cv_prog_CC
   2930 if test -n "$CC"; then
   2931   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2932 $as_echo "$CC" >&6; }
   2933 else
   2934   { $as_echo "$as_me:$LINENO: result: no" >&5
   2935 $as_echo "no" >&6; }
   2936 fi
   2937 
   2938 
   2939 fi
   2940 if test -z "$ac_cv_prog_CC"; then
   2941   ac_ct_CC=$CC
   2942   # Extract the first word of "gcc", so it can be a program name with args.
   2943 set dummy gcc; ac_word=$2
   2944 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2945 $as_echo_n "checking for $ac_word... " >&6; }
   2946 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2947   $as_echo_n "(cached) " >&6
   2948 else
   2949   if test -n "$ac_ct_CC"; then
   2950   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2951 else
   2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2953 for as_dir in $PATH
   2954 do
   2955   IFS=$as_save_IFS
   2956   test -z "$as_dir" && as_dir=.
   2957   for ac_exec_ext in '' $ac_executable_extensions; do
   2958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2959     ac_cv_prog_ac_ct_CC="gcc"
   2960     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2961     break 2
   2962   fi
   2963 done
   2964 done
   2965 IFS=$as_save_IFS
   2966 
   2967 fi
   2968 fi
   2969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2970 if test -n "$ac_ct_CC"; then
   2971   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2972 $as_echo "$ac_ct_CC" >&6; }
   2973 else
   2974   { $as_echo "$as_me:$LINENO: result: no" >&5
   2975 $as_echo "no" >&6; }
   2976 fi
   2977 
   2978   if test "x$ac_ct_CC" = x; then
   2979     CC=""
   2980   else
   2981     case $cross_compiling:$ac_tool_warned in
   2982 yes:)
   2983 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2985 ac_tool_warned=yes ;;
   2986 esac
   2987     CC=$ac_ct_CC
   2988   fi
   2989 else
   2990   CC="$ac_cv_prog_CC"
   2991 fi
   2992 
   2993 if test -z "$CC"; then
   2994           if test -n "$ac_tool_prefix"; then
   2995     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2996 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2998 $as_echo_n "checking for $ac_word... " >&6; }
   2999 if test "${ac_cv_prog_CC+set}" = set; then
   3000   $as_echo_n "(cached) " >&6
   3001 else
   3002   if test -n "$CC"; then
   3003   ac_cv_prog_CC="$CC" # Let the user override the test.
   3004 else
   3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3006 for as_dir in $PATH
   3007 do
   3008   IFS=$as_save_IFS
   3009   test -z "$as_dir" && as_dir=.
   3010   for ac_exec_ext in '' $ac_executable_extensions; do
   3011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3012     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3013     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3014     break 2
   3015   fi
   3016 done
   3017 done
   3018 IFS=$as_save_IFS
   3019 
   3020 fi
   3021 fi
   3022 CC=$ac_cv_prog_CC
   3023 if test -n "$CC"; then
   3024   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3025 $as_echo "$CC" >&6; }
   3026 else
   3027   { $as_echo "$as_me:$LINENO: result: no" >&5
   3028 $as_echo "no" >&6; }
   3029 fi
   3030 
   3031 
   3032   fi
   3033 fi
   3034 if test -z "$CC"; then
   3035   # Extract the first word of "cc", so it can be a program name with args.
   3036 set dummy cc; ac_word=$2
   3037 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3038 $as_echo_n "checking for $ac_word... " >&6; }
   3039 if test "${ac_cv_prog_CC+set}" = set; then
   3040   $as_echo_n "(cached) " >&6
   3041 else
   3042   if test -n "$CC"; then
   3043   ac_cv_prog_CC="$CC" # Let the user override the test.
   3044 else
   3045   ac_prog_rejected=no
   3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3047 for as_dir in $PATH
   3048 do
   3049   IFS=$as_save_IFS
   3050   test -z "$as_dir" && as_dir=.
   3051   for ac_exec_ext in '' $ac_executable_extensions; do
   3052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3053     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3054        ac_prog_rejected=yes
   3055        continue
   3056      fi
   3057     ac_cv_prog_CC="cc"
   3058     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3059     break 2
   3060   fi
   3061 done
   3062 done
   3063 IFS=$as_save_IFS
   3064 
   3065 if test $ac_prog_rejected = yes; then
   3066   # We found a bogon in the path, so make sure we never use it.
   3067   set dummy $ac_cv_prog_CC
   3068   shift
   3069   if test $# != 0; then
   3070     # We chose a different compiler from the bogus one.
   3071     # However, it has the same basename, so the bogon will be chosen
   3072     # first if we set CC to just the basename; use the full file name.
   3073     shift
   3074     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3075   fi
   3076 fi
   3077 fi
   3078 fi
   3079 CC=$ac_cv_prog_CC
   3080 if test -n "$CC"; then
   3081   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3082 $as_echo "$CC" >&6; }
   3083 else
   3084   { $as_echo "$as_me:$LINENO: result: no" >&5
   3085 $as_echo "no" >&6; }
   3086 fi
   3087 
   3088 
   3089 fi
   3090 if test -z "$CC"; then
   3091   if test -n "$ac_tool_prefix"; then
   3092   for ac_prog in cl.exe
   3093   do
   3094     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3095 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3096 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3097 $as_echo_n "checking for $ac_word... " >&6; }
   3098 if test "${ac_cv_prog_CC+set}" = set; then
   3099   $as_echo_n "(cached) " >&6
   3100 else
   3101   if test -n "$CC"; then
   3102   ac_cv_prog_CC="$CC" # Let the user override the test.
   3103 else
   3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3105 for as_dir in $PATH
   3106 do
   3107   IFS=$as_save_IFS
   3108   test -z "$as_dir" && as_dir=.
   3109   for ac_exec_ext in '' $ac_executable_extensions; do
   3110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3111     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3112     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3113     break 2
   3114   fi
   3115 done
   3116 done
   3117 IFS=$as_save_IFS
   3118 
   3119 fi
   3120 fi
   3121 CC=$ac_cv_prog_CC
   3122 if test -n "$CC"; then
   3123   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3124 $as_echo "$CC" >&6; }
   3125 else
   3126   { $as_echo "$as_me:$LINENO: result: no" >&5
   3127 $as_echo "no" >&6; }
   3128 fi
   3129 
   3130 
   3131     test -n "$CC" && break
   3132   done
   3133 fi
   3134 if test -z "$CC"; then
   3135   ac_ct_CC=$CC
   3136   for ac_prog in cl.exe
   3137 do
   3138   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3139 set dummy $ac_prog; ac_word=$2
   3140 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3141 $as_echo_n "checking for $ac_word... " >&6; }
   3142 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3143   $as_echo_n "(cached) " >&6
   3144 else
   3145   if test -n "$ac_ct_CC"; then
   3146   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3147 else
   3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3149 for as_dir in $PATH
   3150 do
   3151   IFS=$as_save_IFS
   3152   test -z "$as_dir" && as_dir=.
   3153   for ac_exec_ext in '' $ac_executable_extensions; do
   3154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3155     ac_cv_prog_ac_ct_CC="$ac_prog"
   3156     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3157     break 2
   3158   fi
   3159 done
   3160 done
   3161 IFS=$as_save_IFS
   3162 
   3163 fi
   3164 fi
   3165 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3166 if test -n "$ac_ct_CC"; then
   3167   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3168 $as_echo "$ac_ct_CC" >&6; }
   3169 else
   3170   { $as_echo "$as_me:$LINENO: result: no" >&5
   3171 $as_echo "no" >&6; }
   3172 fi
   3173 
   3174 
   3175   test -n "$ac_ct_CC" && break
   3176 done
   3177 
   3178   if test "x$ac_ct_CC" = x; then
   3179     CC=""
   3180   else
   3181     case $cross_compiling:$ac_tool_warned in
   3182 yes:)
   3183 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3185 ac_tool_warned=yes ;;
   3186 esac
   3187     CC=$ac_ct_CC
   3188   fi
   3189 fi
   3190 
   3191 fi
   3192 
   3193 
   3194 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3196 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3197 See \`config.log' for more details." >&5
   3198 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3199 See \`config.log' for more details." >&2;}
   3200    { (exit 1); exit 1; }; }; }
   3201 
   3202 # Provide some information about the compiler.
   3203 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3204 set X $ac_compile
   3205 ac_compiler=$2
   3206 { (ac_try="$ac_compiler --version >&5"
   3207 case "(($ac_try" in
   3208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3209   *) ac_try_echo=$ac_try;;
   3210 esac
   3211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3212 $as_echo "$ac_try_echo") >&5
   3213   (eval "$ac_compiler --version >&5") 2>&5
   3214   ac_status=$?
   3215   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3216   (exit $ac_status); }
   3217 { (ac_try="$ac_compiler -v >&5"
   3218 case "(($ac_try" in
   3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3220   *) ac_try_echo=$ac_try;;
   3221 esac
   3222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3223 $as_echo "$ac_try_echo") >&5
   3224   (eval "$ac_compiler -v >&5") 2>&5
   3225   ac_status=$?
   3226   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3227   (exit $ac_status); }
   3228 { (ac_try="$ac_compiler -V >&5"
   3229 case "(($ac_try" in
   3230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3231   *) ac_try_echo=$ac_try;;
   3232 esac
   3233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3234 $as_echo "$ac_try_echo") >&5
   3235   (eval "$ac_compiler -V >&5") 2>&5
   3236   ac_status=$?
   3237   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3238   (exit $ac_status); }
   3239 
   3240 cat >conftest.$ac_ext <<_ACEOF
   3241 /* confdefs.h.  */
   3242 _ACEOF
   3243 cat confdefs.h >>conftest.$ac_ext
   3244 cat >>conftest.$ac_ext <<_ACEOF
   3245 /* end confdefs.h.  */
   3246 
   3247 int
   3248 main ()
   3249 {
   3250 
   3251   ;
   3252   return 0;
   3253 }
   3254 _ACEOF
   3255 ac_clean_files_save=$ac_clean_files
   3256 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3257 # Try to create an executable without -o first, disregard a.out.
   3258 # It will help us diagnose broken compilers, and finding out an intuition
   3259 # of exeext.
   3260 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3261 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3262 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3263 
   3264 # The possible output files:
   3265 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3266 
   3267 ac_rmfiles=
   3268 for ac_file in $ac_files
   3269 do
   3270   case $ac_file in
   3271     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3272     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3273   esac
   3274 done
   3275 rm -f $ac_rmfiles
   3276 
   3277 if { (ac_try="$ac_link_default"
   3278 case "(($ac_try" in
   3279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3280   *) ac_try_echo=$ac_try;;
   3281 esac
   3282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3283 $as_echo "$ac_try_echo") >&5
   3284   (eval "$ac_link_default") 2>&5
   3285   ac_status=$?
   3286   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3287   (exit $ac_status); }; then
   3288   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3289 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3290 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3291 # so that the user can short-circuit this test for compilers unknown to
   3292 # Autoconf.
   3293 for ac_file in $ac_files ''
   3294 do
   3295   test -f "$ac_file" || continue
   3296   case $ac_file in
   3297     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3298 	;;
   3299     [ab].out )
   3300 	# We found the default executable, but exeext='' is most
   3301 	# certainly right.
   3302 	break;;
   3303     *.* )
   3304         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3305 	then :; else
   3306 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3307 	fi
   3308 	# We set ac_cv_exeext here because the later test for it is not
   3309 	# safe: cross compilers may not add the suffix if given an `-o'
   3310 	# argument, so we may need to know it at that point already.
   3311 	# Even if this section looks crufty: it has the advantage of
   3312 	# actually working.
   3313 	break;;
   3314     * )
   3315 	break;;
   3316   esac
   3317 done
   3318 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3319 
   3320 else
   3321   ac_file=''
   3322 fi
   3323 
   3324 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3325 $as_echo "$ac_file" >&6; }
   3326 if test -z "$ac_file"; then
   3327   $as_echo "$as_me: failed program was:" >&5
   3328 sed 's/^/| /' conftest.$ac_ext >&5
   3329 
   3330 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3332 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3333 See \`config.log' for more details." >&5
   3334 $as_echo "$as_me: error: C compiler cannot create executables
   3335 See \`config.log' for more details." >&2;}
   3336    { (exit 77); exit 77; }; }; }
   3337 fi
   3338 
   3339 ac_exeext=$ac_cv_exeext
   3340 
   3341 # Check that the compiler produces executables we can run.  If not, either
   3342 # the compiler is broken, or we cross compile.
   3343 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3344 $as_echo_n "checking whether the C compiler works... " >&6; }
   3345 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3346 # If not cross compiling, check that we can run a simple program.
   3347 if test "$cross_compiling" != yes; then
   3348   if { ac_try='./$ac_file'
   3349   { (case "(($ac_try" in
   3350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3351   *) ac_try_echo=$ac_try;;
   3352 esac
   3353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3354 $as_echo "$ac_try_echo") >&5
   3355   (eval "$ac_try") 2>&5
   3356   ac_status=$?
   3357   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3358   (exit $ac_status); }; }; then
   3359     cross_compiling=no
   3360   else
   3361     if test "$cross_compiling" = maybe; then
   3362 	cross_compiling=yes
   3363     else
   3364 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3366 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3367 If you meant to cross compile, use \`--host'.
   3368 See \`config.log' for more details." >&5
   3369 $as_echo "$as_me: error: cannot run C compiled programs.
   3370 If you meant to cross compile, use \`--host'.
   3371 See \`config.log' for more details." >&2;}
   3372    { (exit 1); exit 1; }; }; }
   3373     fi
   3374   fi
   3375 fi
   3376 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3377 $as_echo "yes" >&6; }
   3378 
   3379 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3380 ac_clean_files=$ac_clean_files_save
   3381 # Check that the compiler produces executables we can run.  If not, either
   3382 # the compiler is broken, or we cross compile.
   3383 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3384 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3385 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3386 $as_echo "$cross_compiling" >&6; }
   3387 
   3388 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3389 $as_echo_n "checking for suffix of executables... " >&6; }
   3390 if { (ac_try="$ac_link"
   3391 case "(($ac_try" in
   3392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3393   *) ac_try_echo=$ac_try;;
   3394 esac
   3395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3396 $as_echo "$ac_try_echo") >&5
   3397   (eval "$ac_link") 2>&5
   3398   ac_status=$?
   3399   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3400   (exit $ac_status); }; then
   3401   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3402 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3403 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3404 # `rm'.
   3405 for ac_file in conftest.exe conftest conftest.*; do
   3406   test -f "$ac_file" || continue
   3407   case $ac_file in
   3408     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3409     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3410 	  break;;
   3411     * ) break;;
   3412   esac
   3413 done
   3414 else
   3415   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3417 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3418 See \`config.log' for more details." >&5
   3419 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3420 See \`config.log' for more details." >&2;}
   3421    { (exit 1); exit 1; }; }; }
   3422 fi
   3423 
   3424 rm -f conftest$ac_cv_exeext
   3425 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3426 $as_echo "$ac_cv_exeext" >&6; }
   3427 
   3428 rm -f conftest.$ac_ext
   3429 EXEEXT=$ac_cv_exeext
   3430 ac_exeext=$EXEEXT
   3431 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3432 $as_echo_n "checking for suffix of object files... " >&6; }
   3433 if test "${ac_cv_objext+set}" = set; then
   3434   $as_echo_n "(cached) " >&6
   3435 else
   3436   cat >conftest.$ac_ext <<_ACEOF
   3437 /* confdefs.h.  */
   3438 _ACEOF
   3439 cat confdefs.h >>conftest.$ac_ext
   3440 cat >>conftest.$ac_ext <<_ACEOF
   3441 /* end confdefs.h.  */
   3442 
   3443 int
   3444 main ()
   3445 {
   3446 
   3447   ;
   3448   return 0;
   3449 }
   3450 _ACEOF
   3451 rm -f conftest.o conftest.obj
   3452 if { (ac_try="$ac_compile"
   3453 case "(($ac_try" in
   3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3455   *) ac_try_echo=$ac_try;;
   3456 esac
   3457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3458 $as_echo "$ac_try_echo") >&5
   3459   (eval "$ac_compile") 2>&5
   3460   ac_status=$?
   3461   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3462   (exit $ac_status); }; then
   3463   for ac_file in conftest.o conftest.obj conftest.*; do
   3464   test -f "$ac_file" || continue;
   3465   case $ac_file in
   3466     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3467     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3468        break;;
   3469   esac
   3470 done
   3471 else
   3472   $as_echo "$as_me: failed program was:" >&5
   3473 sed 's/^/| /' conftest.$ac_ext >&5
   3474 
   3475 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3477 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3478 See \`config.log' for more details." >&5
   3479 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3480 See \`config.log' for more details." >&2;}
   3481    { (exit 1); exit 1; }; }; }
   3482 fi
   3483 
   3484 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3485 fi
   3486 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3487 $as_echo "$ac_cv_objext" >&6; }
   3488 OBJEXT=$ac_cv_objext
   3489 ac_objext=$OBJEXT
   3490 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3491 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3492 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3493   $as_echo_n "(cached) " >&6
   3494 else
   3495   cat >conftest.$ac_ext <<_ACEOF
   3496 /* confdefs.h.  */
   3497 _ACEOF
   3498 cat confdefs.h >>conftest.$ac_ext
   3499 cat >>conftest.$ac_ext <<_ACEOF
   3500 /* end confdefs.h.  */
   3501 
   3502 int
   3503 main ()
   3504 {
   3505 #ifndef __GNUC__
   3506        choke me
   3507 #endif
   3508 
   3509   ;
   3510   return 0;
   3511 }
   3512 _ACEOF
   3513 rm -f conftest.$ac_objext
   3514 if { (ac_try="$ac_compile"
   3515 case "(($ac_try" in
   3516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3517   *) ac_try_echo=$ac_try;;
   3518 esac
   3519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3520 $as_echo "$ac_try_echo") >&5
   3521   (eval "$ac_compile") 2>conftest.er1
   3522   ac_status=$?
   3523   grep -v '^ *+' conftest.er1 >conftest.err
   3524   rm -f conftest.er1
   3525   cat conftest.err >&5
   3526   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3527   (exit $ac_status); } && {
   3528 	 test -z "$ac_c_werror_flag" ||
   3529 	 test ! -s conftest.err
   3530        } && test -s conftest.$ac_objext; then
   3531   ac_compiler_gnu=yes
   3532 else
   3533   $as_echo "$as_me: failed program was:" >&5
   3534 sed 's/^/| /' conftest.$ac_ext >&5
   3535 
   3536 	ac_compiler_gnu=no
   3537 fi
   3538 
   3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3540 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3541 
   3542 fi
   3543 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3544 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3545 if test $ac_compiler_gnu = yes; then
   3546   GCC=yes
   3547 else
   3548   GCC=
   3549 fi
   3550 ac_test_CFLAGS=${CFLAGS+set}
   3551 ac_save_CFLAGS=$CFLAGS
   3552 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3553 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3554 if test "${ac_cv_prog_cc_g+set}" = set; then
   3555   $as_echo_n "(cached) " >&6
   3556 else
   3557   ac_save_c_werror_flag=$ac_c_werror_flag
   3558    ac_c_werror_flag=yes
   3559    ac_cv_prog_cc_g=no
   3560    CFLAGS="-g"
   3561    cat >conftest.$ac_ext <<_ACEOF
   3562 /* confdefs.h.  */
   3563 _ACEOF
   3564 cat confdefs.h >>conftest.$ac_ext
   3565 cat >>conftest.$ac_ext <<_ACEOF
   3566 /* end confdefs.h.  */
   3567 
   3568 int
   3569 main ()
   3570 {
   3571 
   3572   ;
   3573   return 0;
   3574 }
   3575 _ACEOF
   3576 rm -f conftest.$ac_objext
   3577 if { (ac_try="$ac_compile"
   3578 case "(($ac_try" in
   3579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3580   *) ac_try_echo=$ac_try;;
   3581 esac
   3582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3583 $as_echo "$ac_try_echo") >&5
   3584   (eval "$ac_compile") 2>conftest.er1
   3585   ac_status=$?
   3586   grep -v '^ *+' conftest.er1 >conftest.err
   3587   rm -f conftest.er1
   3588   cat conftest.err >&5
   3589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3590   (exit $ac_status); } && {
   3591 	 test -z "$ac_c_werror_flag" ||
   3592 	 test ! -s conftest.err
   3593        } && test -s conftest.$ac_objext; then
   3594   ac_cv_prog_cc_g=yes
   3595 else
   3596   $as_echo "$as_me: failed program was:" >&5
   3597 sed 's/^/| /' conftest.$ac_ext >&5
   3598 
   3599 	CFLAGS=""
   3600       cat >conftest.$ac_ext <<_ACEOF
   3601 /* confdefs.h.  */
   3602 _ACEOF
   3603 cat confdefs.h >>conftest.$ac_ext
   3604 cat >>conftest.$ac_ext <<_ACEOF
   3605 /* end confdefs.h.  */
   3606 
   3607 int
   3608 main ()
   3609 {
   3610 
   3611   ;
   3612   return 0;
   3613 }
   3614 _ACEOF
   3615 rm -f conftest.$ac_objext
   3616 if { (ac_try="$ac_compile"
   3617 case "(($ac_try" in
   3618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3619   *) ac_try_echo=$ac_try;;
   3620 esac
   3621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3622 $as_echo "$ac_try_echo") >&5
   3623   (eval "$ac_compile") 2>conftest.er1
   3624   ac_status=$?
   3625   grep -v '^ *+' conftest.er1 >conftest.err
   3626   rm -f conftest.er1
   3627   cat conftest.err >&5
   3628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3629   (exit $ac_status); } && {
   3630 	 test -z "$ac_c_werror_flag" ||
   3631 	 test ! -s conftest.err
   3632        } && test -s conftest.$ac_objext; then
   3633   :
   3634 else
   3635   $as_echo "$as_me: failed program was:" >&5
   3636 sed 's/^/| /' conftest.$ac_ext >&5
   3637 
   3638 	ac_c_werror_flag=$ac_save_c_werror_flag
   3639 	 CFLAGS="-g"
   3640 	 cat >conftest.$ac_ext <<_ACEOF
   3641 /* confdefs.h.  */
   3642 _ACEOF
   3643 cat confdefs.h >>conftest.$ac_ext
   3644 cat >>conftest.$ac_ext <<_ACEOF
   3645 /* end confdefs.h.  */
   3646 
   3647 int
   3648 main ()
   3649 {
   3650 
   3651   ;
   3652   return 0;
   3653 }
   3654 _ACEOF
   3655 rm -f conftest.$ac_objext
   3656 if { (ac_try="$ac_compile"
   3657 case "(($ac_try" in
   3658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3659   *) ac_try_echo=$ac_try;;
   3660 esac
   3661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3662 $as_echo "$ac_try_echo") >&5
   3663   (eval "$ac_compile") 2>conftest.er1
   3664   ac_status=$?
   3665   grep -v '^ *+' conftest.er1 >conftest.err
   3666   rm -f conftest.er1
   3667   cat conftest.err >&5
   3668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3669   (exit $ac_status); } && {
   3670 	 test -z "$ac_c_werror_flag" ||
   3671 	 test ! -s conftest.err
   3672        } && test -s conftest.$ac_objext; then
   3673   ac_cv_prog_cc_g=yes
   3674 else
   3675   $as_echo "$as_me: failed program was:" >&5
   3676 sed 's/^/| /' conftest.$ac_ext >&5
   3677 
   3678 
   3679 fi
   3680 
   3681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3682 fi
   3683 
   3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3685 fi
   3686 
   3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3688    ac_c_werror_flag=$ac_save_c_werror_flag
   3689 fi
   3690 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3691 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3692 if test "$ac_test_CFLAGS" = set; then
   3693   CFLAGS=$ac_save_CFLAGS
   3694 elif test $ac_cv_prog_cc_g = yes; then
   3695   if test "$GCC" = yes; then
   3696     CFLAGS="-g -O2"
   3697   else
   3698     CFLAGS="-g"
   3699   fi
   3700 else
   3701   if test "$GCC" = yes; then
   3702     CFLAGS="-O2"
   3703   else
   3704     CFLAGS=
   3705   fi
   3706 fi
   3707 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3708 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3709 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3710   $as_echo_n "(cached) " >&6
   3711 else
   3712   ac_cv_prog_cc_c89=no
   3713 ac_save_CC=$CC
   3714 cat >conftest.$ac_ext <<_ACEOF
   3715 /* confdefs.h.  */
   3716 _ACEOF
   3717 cat confdefs.h >>conftest.$ac_ext
   3718 cat >>conftest.$ac_ext <<_ACEOF
   3719 /* end confdefs.h.  */
   3720 #include <stdarg.h>
   3721 #include <stdio.h>
   3722 #include <sys/types.h>
   3723 #include <sys/stat.h>
   3724 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3725 struct buf { int x; };
   3726 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3727 static char *e (p, i)
   3728      char **p;
   3729      int i;
   3730 {
   3731   return p[i];
   3732 }
   3733 static char *f (char * (*g) (char **, int), char **p, ...)
   3734 {
   3735   char *s;
   3736   va_list v;
   3737   va_start (v,p);
   3738   s = g (p, va_arg (v,int));
   3739   va_end (v);
   3740   return s;
   3741 }
   3742 
   3743 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3744    function prototypes and stuff, but not '\xHH' hex character constants.
   3745    These don't provoke an error unfortunately, instead are silently treated
   3746    as 'x'.  The following induces an error, until -std is added to get
   3747    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3748    array size at least.  It's necessary to write '\x00'==0 to get something
   3749    that's true only with -std.  */
   3750 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3751 
   3752 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3753    inside strings and character constants.  */
   3754 #define FOO(x) 'x'
   3755 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3756 
   3757 int test (int i, double x);
   3758 struct s1 {int (*f) (int a);};
   3759 struct s2 {int (*f) (double a);};
   3760 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3761 int argc;
   3762 char **argv;
   3763 int
   3764 main ()
   3765 {
   3766 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3767   ;
   3768   return 0;
   3769 }
   3770 _ACEOF
   3771 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3772 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3773 do
   3774   CC="$ac_save_CC $ac_arg"
   3775   rm -f conftest.$ac_objext
   3776 if { (ac_try="$ac_compile"
   3777 case "(($ac_try" in
   3778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3779   *) ac_try_echo=$ac_try;;
   3780 esac
   3781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3782 $as_echo "$ac_try_echo") >&5
   3783   (eval "$ac_compile") 2>conftest.er1
   3784   ac_status=$?
   3785   grep -v '^ *+' conftest.er1 >conftest.err
   3786   rm -f conftest.er1
   3787   cat conftest.err >&5
   3788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3789   (exit $ac_status); } && {
   3790 	 test -z "$ac_c_werror_flag" ||
   3791 	 test ! -s conftest.err
   3792        } && test -s conftest.$ac_objext; then
   3793   ac_cv_prog_cc_c89=$ac_arg
   3794 else
   3795   $as_echo "$as_me: failed program was:" >&5
   3796 sed 's/^/| /' conftest.$ac_ext >&5
   3797 
   3798 
   3799 fi
   3800 
   3801 rm -f core conftest.err conftest.$ac_objext
   3802   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3803 done
   3804 rm -f conftest.$ac_ext
   3805 CC=$ac_save_CC
   3806 
   3807 fi
   3808 # AC_CACHE_VAL
   3809 case "x$ac_cv_prog_cc_c89" in
   3810   x)
   3811     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3812 $as_echo "none needed" >&6; } ;;
   3813   xno)
   3814     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3815 $as_echo "unsupported" >&6; } ;;
   3816   *)
   3817     CC="$CC $ac_cv_prog_cc_c89"
   3818     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3819 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3820 esac
   3821 
   3822 
   3823 ac_ext=c
   3824 ac_cpp='$CPP $CPPFLAGS'
   3825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3828 DEPDIR="${am__leading_dot}deps"
   3829 
   3830 ac_config_commands="$ac_config_commands depfiles"
   3831 
   3832 
   3833 am_make=${MAKE-make}
   3834 cat > confinc << 'END'
   3835 am__doit:
   3836 	@echo done
   3837 .PHONY: am__doit
   3838 END
   3839 # If we don't find an include directive, just comment out the code.
   3840 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3841 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3842 am__include="#"
   3843 am__quote=
   3844 _am_result=none
   3845 # First try GNU make style include.
   3846 echo "include confinc" > confmf
   3847 # We grep out `Entering directory' and `Leaving directory'
   3848 # messages which can occur if `w' ends up in MAKEFLAGS.
   3849 # In particular we don't look at `^make:' because GNU make might
   3850 # be invoked under some other name (usually "gmake"), in which
   3851 # case it prints its new name instead of `make'.
   3852 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3853    am__include=include
   3854    am__quote=
   3855    _am_result=GNU
   3856 fi
   3857 # Now try BSD make style include.
   3858 if test "$am__include" = "#"; then
   3859    echo '.include "confinc"' > confmf
   3860    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3861       am__include=.include
   3862       am__quote="\""
   3863       _am_result=BSD
   3864    fi
   3865 fi
   3866 
   3867 
   3868 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3869 $as_echo "$_am_result" >&6; }
   3870 rm -f confinc confmf
   3871 
   3872 # Check whether --enable-dependency-tracking was given.
   3873 if test "${enable_dependency_tracking+set}" = set; then
   3874   enableval=$enable_dependency_tracking;
   3875 fi
   3876 
   3877 if test "x$enable_dependency_tracking" != xno; then
   3878   am_depcomp="$ac_aux_dir/depcomp"
   3879   AMDEPBACKSLASH='\'
   3880 fi
   3881  if test "x$enable_dependency_tracking" != xno; then
   3882   AMDEP_TRUE=
   3883   AMDEP_FALSE='#'
   3884 else
   3885   AMDEP_TRUE='#'
   3886   AMDEP_FALSE=
   3887 fi
   3888 
   3889 
   3890 
   3891 depcc="$CC"   am_compiler_list=
   3892 
   3893 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3894 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3895 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3896   $as_echo_n "(cached) " >&6
   3897 else
   3898   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3899   # We make a subdir and do the tests there.  Otherwise we can end up
   3900   # making bogus files that we don't know about and never remove.  For
   3901   # instance it was reported that on HP-UX the gcc test will end up
   3902   # making a dummy file named `D' -- because `-MD' means `put the output
   3903   # in D'.
   3904   mkdir conftest.dir
   3905   # Copy depcomp to subdir because otherwise we won't find it if we're
   3906   # using a relative directory.
   3907   cp "$am_depcomp" conftest.dir
   3908   cd conftest.dir
   3909   # We will build objects and dependencies in a subdirectory because
   3910   # it helps to detect inapplicable dependency modes.  For instance
   3911   # both Tru64's cc and ICC support -MD to output dependencies as a
   3912   # side effect of compilation, but ICC will put the dependencies in
   3913   # the current directory while Tru64 will put them in the object
   3914   # directory.
   3915   mkdir sub
   3916 
   3917   am_cv_CC_dependencies_compiler_type=none
   3918   if test "$am_compiler_list" = ""; then
   3919      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3920   fi
   3921   for depmode in $am_compiler_list; do
   3922     # Setup a source with many dependencies, because some compilers
   3923     # like to wrap large dependency lists on column 80 (with \), and
   3924     # we should not choose a depcomp mode which is confused by this.
   3925     #
   3926     # We need to recreate these files for each test, as the compiler may
   3927     # overwrite some of them when testing with obscure command lines.
   3928     # This happens at least with the AIX C compiler.
   3929     : > sub/conftest.c
   3930     for i in 1 2 3 4 5 6; do
   3931       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3932       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3933       # Solaris 8's {/usr,}/bin/sh.
   3934       touch sub/conftst$i.h
   3935     done
   3936     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3937 
   3938     case $depmode in
   3939     nosideeffect)
   3940       # after this tag, mechanisms are not by side-effect, so they'll
   3941       # only be used when explicitly requested
   3942       if test "x$enable_dependency_tracking" = xyes; then
   3943 	continue
   3944       else
   3945 	break
   3946       fi
   3947       ;;
   3948     none) break ;;
   3949     esac
   3950     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3951     # mode.  It turns out that the SunPro C++ compiler does not properly
   3952     # handle `-M -o', and we need to detect this.
   3953     if depmode=$depmode \
   3954        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3955        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3956        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3957          >/dev/null 2>conftest.err &&
   3958        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3959        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3960        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3961        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3962       # icc doesn't choke on unknown options, it will just issue warnings
   3963       # or remarks (even with -Werror).  So we grep stderr for any message
   3964       # that says an option was ignored or not supported.
   3965       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3966       #   icc: Command line warning: ignoring option '-M'; no argument required
   3967       # The diagnosis changed in icc 8.0:
   3968       #   icc: Command line remark: option '-MP' not supported
   3969       if (grep 'ignoring option' conftest.err ||
   3970           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3971         am_cv_CC_dependencies_compiler_type=$depmode
   3972         break
   3973       fi
   3974     fi
   3975   done
   3976 
   3977   cd ..
   3978   rm -rf conftest.dir
   3979 else
   3980   am_cv_CC_dependencies_compiler_type=none
   3981 fi
   3982 
   3983 fi
   3984 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3985 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3986 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3987 
   3988  if
   3989   test "x$enable_dependency_tracking" != xno \
   3990   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3991   am__fastdepCC_TRUE=
   3992   am__fastdepCC_FALSE='#'
   3993 else
   3994   am__fastdepCC_TRUE='#'
   3995   am__fastdepCC_FALSE=
   3996 fi
   3997 
   3998 
   3999 # Find a good install program.  We prefer a C program (faster),
   4000 # so one script is as good as another.  But avoid the broken or
   4001 # incompatible versions:
   4002 # SysV /etc/install, /usr/sbin/install
   4003 # SunOS /usr/etc/install
   4004 # IRIX /sbin/install
   4005 # AIX /bin/install
   4006 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4007 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4008 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4009 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4010 # OS/2's system install, which has a completely different semantic
   4011 # ./install, which can be erroneously created by make from ./install.sh.
   4012 # Reject install programs that cannot install multiple files.
   4013 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   4014 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   4015 if test -z "$INSTALL"; then
   4016 if test "${ac_cv_path_install+set}" = set; then
   4017   $as_echo_n "(cached) " >&6
   4018 else
   4019   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4020 for as_dir in $PATH
   4021 do
   4022   IFS=$as_save_IFS
   4023   test -z "$as_dir" && as_dir=.
   4024   # Account for people who put trailing slashes in PATH elements.
   4025 case $as_dir/ in
   4026   ./ | .// | /cC/* | \
   4027   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4028   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   4029   /usr/ucb/* ) ;;
   4030   *)
   4031     # OSF1 and SCO ODT 3.0 have their own names for install.
   4032     # Don't use installbsd from OSF since it installs stuff as root
   4033     # by default.
   4034     for ac_prog in ginstall scoinst install; do
   4035       for ac_exec_ext in '' $ac_executable_extensions; do
   4036 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   4037 	  if test $ac_prog = install &&
   4038 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4039 	    # AIX install.  It has an incompatible calling convention.
   4040 	    :
   4041 	  elif test $ac_prog = install &&
   4042 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4043 	    # program-specific install script used by HP pwplus--don't use.
   4044 	    :
   4045 	  else
   4046 	    rm -rf conftest.one conftest.two conftest.dir
   4047 	    echo one > conftest.one
   4048 	    echo two > conftest.two
   4049 	    mkdir conftest.dir
   4050 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4051 	      test -s conftest.one && test -s conftest.two &&
   4052 	      test -s conftest.dir/conftest.one &&
   4053 	      test -s conftest.dir/conftest.two
   4054 	    then
   4055 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4056 	      break 3
   4057 	    fi
   4058 	  fi
   4059 	fi
   4060       done
   4061     done
   4062     ;;
   4063 esac
   4064 
   4065 done
   4066 IFS=$as_save_IFS
   4067 
   4068 rm -rf conftest.one conftest.two conftest.dir
   4069 
   4070 fi
   4071   if test "${ac_cv_path_install+set}" = set; then
   4072     INSTALL=$ac_cv_path_install
   4073   else
   4074     # As a last resort, use the slow shell script.  Don't cache a
   4075     # value for INSTALL within a source directory, because that will
   4076     # break other packages using the cache if that directory is
   4077     # removed, or if the value is a relative name.
   4078     INSTALL=$ac_install_sh
   4079   fi
   4080 fi
   4081 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   4082 $as_echo "$INSTALL" >&6; }
   4083 
   4084 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4085 # It thinks the first close brace ends the variable substitution.
   4086 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4087 
   4088 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4089 
   4090 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4091 
   4092 # Check whether --enable-shared was given.
   4093 if test "${enable_shared+set}" = set; then
   4094   enableval=$enable_shared; p=${PACKAGE-default}
   4095     case $enableval in
   4096     yes) enable_shared=yes ;;
   4097     no) enable_shared=no ;;
   4098     *)
   4099       enable_shared=no
   4100       # Look at the argument we got.  We use all the common list separators.
   4101       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4102       for pkg in $enableval; do
   4103 	IFS="$lt_save_ifs"
   4104 	if test "X$pkg" = "X$p"; then
   4105 	  enable_shared=yes
   4106 	fi
   4107       done
   4108       IFS="$lt_save_ifs"
   4109       ;;
   4110     esac
   4111 else
   4112   enable_shared=yes
   4113 fi
   4114 
   4115 
   4116 # Check whether --enable-static was given.
   4117 if test "${enable_static+set}" = set; then
   4118   enableval=$enable_static; p=${PACKAGE-default}
   4119     case $enableval in
   4120     yes) enable_static=yes ;;
   4121     no) enable_static=no ;;
   4122     *)
   4123      enable_static=no
   4124       # Look at the argument we got.  We use all the common list separators.
   4125       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4126       for pkg in $enableval; do
   4127 	IFS="$lt_save_ifs"
   4128 	if test "X$pkg" = "X$p"; then
   4129 	  enable_static=yes
   4130 	fi
   4131       done
   4132       IFS="$lt_save_ifs"
   4133       ;;
   4134     esac
   4135 else
   4136   enable_static=yes
   4137 fi
   4138 
   4139 
   4140 # Check whether --enable-fast-install was given.
   4141 if test "${enable_fast_install+set}" = set; then
   4142   enableval=$enable_fast_install; p=${PACKAGE-default}
   4143     case $enableval in
   4144     yes) enable_fast_install=yes ;;
   4145     no) enable_fast_install=no ;;
   4146     *)
   4147       enable_fast_install=no
   4148       # Look at the argument we got.  We use all the common list separators.
   4149       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4150       for pkg in $enableval; do
   4151 	IFS="$lt_save_ifs"
   4152 	if test "X$pkg" = "X$p"; then
   4153 	  enable_fast_install=yes
   4154 	fi
   4155       done
   4156       IFS="$lt_save_ifs"
   4157       ;;
   4158     esac
   4159 else
   4160   enable_fast_install=yes
   4161 fi
   4162 
   4163 
   4164 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4165 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4166 if test "${lt_cv_path_SED+set}" = set; then
   4167   $as_echo_n "(cached) " >&6
   4168 else
   4169   # Loop through the user's path and test for sed and gsed.
   4170 # Then use that list of sed's as ones to test for truncation.
   4171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4172 for as_dir in $PATH
   4173 do
   4174   IFS=$as_save_IFS
   4175   test -z "$as_dir" && as_dir=.
   4176   for lt_ac_prog in sed gsed; do
   4177     for ac_exec_ext in '' $ac_executable_extensions; do
   4178       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   4179         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   4180       fi
   4181     done
   4182   done
   4183 done
   4184 IFS=$as_save_IFS
   4185 lt_ac_max=0
   4186 lt_ac_count=0
   4187 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   4188 # along with /bin/sed that truncates output.
   4189 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   4190   test ! -f $lt_ac_sed && continue
   4191   cat /dev/null > conftest.in
   4192   lt_ac_count=0
   4193   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   4194   # Check for GNU sed and select it if it is found.
   4195   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   4196     lt_cv_path_SED=$lt_ac_sed
   4197     break
   4198   fi
   4199   while true; do
   4200     cat conftest.in conftest.in >conftest.tmp
   4201     mv conftest.tmp conftest.in
   4202     cp conftest.in conftest.nl
   4203     echo >>conftest.nl
   4204     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   4205     cmp -s conftest.out conftest.nl || break
   4206     # 10000 chars as input seems more than enough
   4207     test $lt_ac_count -gt 10 && break
   4208     lt_ac_count=`expr $lt_ac_count + 1`
   4209     if test $lt_ac_count -gt $lt_ac_max; then
   4210       lt_ac_max=$lt_ac_count
   4211       lt_cv_path_SED=$lt_ac_sed
   4212     fi
   4213   done
   4214 done
   4215 
   4216 fi
   4217 
   4218 SED=$lt_cv_path_SED
   4219 
   4220 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   4221 $as_echo "$SED" >&6; }
   4222 
   4223 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4224 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4225 if test "${ac_cv_path_GREP+set}" = set; then
   4226   $as_echo_n "(cached) " >&6
   4227 else
   4228   if test -z "$GREP"; then
   4229   ac_path_GREP_found=false
   4230   # Loop through the user's path and test for each of PROGNAME-LIST
   4231   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4232 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4233 do
   4234   IFS=$as_save_IFS
   4235   test -z "$as_dir" && as_dir=.
   4236   for ac_prog in grep ggrep; do
   4237     for ac_exec_ext in '' $ac_executable_extensions; do
   4238       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4239       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4240 # Check for GNU ac_path_GREP and select it if it is found.
   4241   # Check for GNU $ac_path_GREP
   4242 case `"$ac_path_GREP" --version 2>&1` in
   4243 *GNU*)
   4244   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4245 *)
   4246   ac_count=0
   4247   $as_echo_n 0123456789 >"conftest.in"
   4248   while :
   4249   do
   4250     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4251     mv "conftest.tmp" "conftest.in"
   4252     cp "conftest.in" "conftest.nl"
   4253     $as_echo 'GREP' >> "conftest.nl"
   4254     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4255     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4256     ac_count=`expr $ac_count + 1`
   4257     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4258       # Best one so far, save it but keep looking for a better one
   4259       ac_cv_path_GREP="$ac_path_GREP"
   4260       ac_path_GREP_max=$ac_count
   4261     fi
   4262     # 10*(2^10) chars as input seems more than enough
   4263     test $ac_count -gt 10 && break
   4264   done
   4265   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4266 esac
   4267 
   4268       $ac_path_GREP_found && break 3
   4269     done
   4270   done
   4271 done
   4272 IFS=$as_save_IFS
   4273   if test -z "$ac_cv_path_GREP"; then
   4274     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4275 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4276    { (exit 1); exit 1; }; }
   4277   fi
   4278 else
   4279   ac_cv_path_GREP=$GREP
   4280 fi
   4281 
   4282 fi
   4283 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4284 $as_echo "$ac_cv_path_GREP" >&6; }
   4285  GREP="$ac_cv_path_GREP"
   4286 
   4287 
   4288 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4289 $as_echo_n "checking for egrep... " >&6; }
   4290 if test "${ac_cv_path_EGREP+set}" = set; then
   4291   $as_echo_n "(cached) " >&6
   4292 else
   4293   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4294    then ac_cv_path_EGREP="$GREP -E"
   4295    else
   4296      if test -z "$EGREP"; then
   4297   ac_path_EGREP_found=false
   4298   # Loop through the user's path and test for each of PROGNAME-LIST
   4299   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4300 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4301 do
   4302   IFS=$as_save_IFS
   4303   test -z "$as_dir" && as_dir=.
   4304   for ac_prog in egrep; do
   4305     for ac_exec_ext in '' $ac_executable_extensions; do
   4306       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4307       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4308 # Check for GNU ac_path_EGREP and select it if it is found.
   4309   # Check for GNU $ac_path_EGREP
   4310 case `"$ac_path_EGREP" --version 2>&1` in
   4311 *GNU*)
   4312   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4313 *)
   4314   ac_count=0
   4315   $as_echo_n 0123456789 >"conftest.in"
   4316   while :
   4317   do
   4318     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4319     mv "conftest.tmp" "conftest.in"
   4320     cp "conftest.in" "conftest.nl"
   4321     $as_echo 'EGREP' >> "conftest.nl"
   4322     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4323     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4324     ac_count=`expr $ac_count + 1`
   4325     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4326       # Best one so far, save it but keep looking for a better one
   4327       ac_cv_path_EGREP="$ac_path_EGREP"
   4328       ac_path_EGREP_max=$ac_count
   4329     fi
   4330     # 10*(2^10) chars as input seems more than enough
   4331     test $ac_count -gt 10 && break
   4332   done
   4333   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4334 esac
   4335 
   4336       $ac_path_EGREP_found && break 3
   4337     done
   4338   done
   4339 done
   4340 IFS=$as_save_IFS
   4341   if test -z "$ac_cv_path_EGREP"; then
   4342     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4343 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4344    { (exit 1); exit 1; }; }
   4345   fi
   4346 else
   4347   ac_cv_path_EGREP=$EGREP
   4348 fi
   4349 
   4350    fi
   4351 fi
   4352 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4353 $as_echo "$ac_cv_path_EGREP" >&6; }
   4354  EGREP="$ac_cv_path_EGREP"
   4355 
   4356 
   4357 
   4358 # Check whether --with-gnu-ld was given.
   4359 if test "${with_gnu_ld+set}" = set; then
   4360   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4361 else
   4362   with_gnu_ld=no
   4363 fi
   4364 
   4365 ac_prog=ld
   4366 if test "$GCC" = yes; then
   4367   # Check if gcc -print-prog-name=ld gives a path.
   4368   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4369 $as_echo_n "checking for ld used by $CC... " >&6; }
   4370   case $host in
   4371   *-*-mingw*)
   4372     # gcc leaves a trailing carriage return which upsets mingw
   4373     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4374   *)
   4375     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4376   esac
   4377   case $ac_prog in
   4378     # Accept absolute paths.
   4379     [\\/]* | ?:[\\/]*)
   4380       re_direlt='/[^/][^/]*/\.\./'
   4381       # Canonicalize the pathname of ld
   4382       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4383       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4384 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4385       done
   4386       test -z "$LD" && LD="$ac_prog"
   4387       ;;
   4388   "")
   4389     # If it fails, then pretend we aren't using GCC.
   4390     ac_prog=ld
   4391     ;;
   4392   *)
   4393     # If it is relative, then search for the first ld in PATH.
   4394     with_gnu_ld=unknown
   4395     ;;
   4396   esac
   4397 elif test "$with_gnu_ld" = yes; then
   4398   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4399 $as_echo_n "checking for GNU ld... " >&6; }
   4400 else
   4401   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4402 $as_echo_n "checking for non-GNU ld... " >&6; }
   4403 fi
   4404 if test "${lt_cv_path_LD+set}" = set; then
   4405   $as_echo_n "(cached) " >&6
   4406 else
   4407   if test -z "$LD"; then
   4408   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4409   for ac_dir in $PATH; do
   4410     IFS="$lt_save_ifs"
   4411     test -z "$ac_dir" && ac_dir=.
   4412     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4413       lt_cv_path_LD="$ac_dir/$ac_prog"
   4414       # Check to see if the program is GNU ld.  I'd rather use --version,
   4415       # but apparently some variants of GNU ld only accept -v.
   4416       # Break only if it was the GNU/non-GNU ld that we prefer.
   4417       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4418       *GNU* | *'with BFD'*)
   4419 	test "$with_gnu_ld" != no && break
   4420 	;;
   4421       *)
   4422 	test "$with_gnu_ld" != yes && break
   4423 	;;
   4424       esac
   4425     fi
   4426   done
   4427   IFS="$lt_save_ifs"
   4428 else
   4429   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4430 fi
   4431 fi
   4432 
   4433 LD="$lt_cv_path_LD"
   4434 if test -n "$LD"; then
   4435   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4436 $as_echo "$LD" >&6; }
   4437 else
   4438   { $as_echo "$as_me:$LINENO: result: no" >&5
   4439 $as_echo "no" >&6; }
   4440 fi
   4441 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4442 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4443    { (exit 1); exit 1; }; }
   4444 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4445 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4446 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4447   $as_echo_n "(cached) " >&6
   4448 else
   4449   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4450 case `$LD -v 2>&1 </dev/null` in
   4451 *GNU* | *'with BFD'*)
   4452   lt_cv_prog_gnu_ld=yes
   4453   ;;
   4454 *)
   4455   lt_cv_prog_gnu_ld=no
   4456   ;;
   4457 esac
   4458 fi
   4459 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4460 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4461 with_gnu_ld=$lt_cv_prog_gnu_ld
   4462 
   4463 
   4464 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4465 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4466 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4467   $as_echo_n "(cached) " >&6
   4468 else
   4469   lt_cv_ld_reload_flag='-r'
   4470 fi
   4471 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4472 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4473 reload_flag=$lt_cv_ld_reload_flag
   4474 case $reload_flag in
   4475 "" | " "*) ;;
   4476 *) reload_flag=" $reload_flag" ;;
   4477 esac
   4478 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4479 case $host_os in
   4480   darwin*)
   4481     if test "$GCC" = yes; then
   4482       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4483     else
   4484       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4485     fi
   4486     ;;
   4487 esac
   4488 
   4489 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4490 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4491 if test "${lt_cv_path_NM+set}" = set; then
   4492   $as_echo_n "(cached) " >&6
   4493 else
   4494   if test -n "$NM"; then
   4495   # Let the user override the test.
   4496   lt_cv_path_NM="$NM"
   4497 else
   4498   lt_nm_to_check="${ac_tool_prefix}nm"
   4499   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4500     lt_nm_to_check="$lt_nm_to_check nm"
   4501   fi
   4502   for lt_tmp_nm in $lt_nm_to_check; do
   4503     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4504     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4505       IFS="$lt_save_ifs"
   4506       test -z "$ac_dir" && ac_dir=.
   4507       tmp_nm="$ac_dir/$lt_tmp_nm"
   4508       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4509 	# Check to see if the nm accepts a BSD-compat flag.
   4510 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4511 	#   nm: unknown option "B" ignored
   4512 	# Tru64's nm complains that /dev/null is an invalid object file
   4513 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4514 	*/dev/null* | *'Invalid file or object type'*)
   4515 	  lt_cv_path_NM="$tmp_nm -B"
   4516 	  break
   4517 	  ;;
   4518 	*)
   4519 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4520 	  */dev/null*)
   4521 	    lt_cv_path_NM="$tmp_nm -p"
   4522 	    break
   4523 	    ;;
   4524 	  *)
   4525 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4526 	    continue # so that we can try to find one that supports BSD flags
   4527 	    ;;
   4528 	  esac
   4529 	  ;;
   4530 	esac
   4531       fi
   4532     done
   4533     IFS="$lt_save_ifs"
   4534   done
   4535   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4536 fi
   4537 fi
   4538 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4539 $as_echo "$lt_cv_path_NM" >&6; }
   4540 NM="$lt_cv_path_NM"
   4541 
   4542 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4543 $as_echo_n "checking whether ln -s works... " >&6; }
   4544 LN_S=$as_ln_s
   4545 if test "$LN_S" = "ln -s"; then
   4546   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4547 $as_echo "yes" >&6; }
   4548 else
   4549   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4550 $as_echo "no, using $LN_S" >&6; }
   4551 fi
   4552 
   4553 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4554 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4555 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4556   $as_echo_n "(cached) " >&6
   4557 else
   4558   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4559 lt_cv_file_magic_test_file=
   4560 lt_cv_deplibs_check_method='unknown'
   4561 # Need to set the preceding variable on all platforms that support
   4562 # interlibrary dependencies.
   4563 # 'none' -- dependencies not supported.
   4564 # `unknown' -- same as none, but documents that we really don't know.
   4565 # 'pass_all' -- all dependencies passed with no checks.
   4566 # 'test_compile' -- check by making test program.
   4567 # 'file_magic [[regex]]' -- check by looking for files in library path
   4568 # which responds to the $file_magic_cmd with a given extended regex.
   4569 # If you have `file' or equivalent on your system and you're not sure
   4570 # whether `pass_all' will *always* work, you probably want this one.
   4571 
   4572 case $host_os in
   4573 aix4* | aix5*)
   4574   lt_cv_deplibs_check_method=pass_all
   4575   ;;
   4576 
   4577 beos*)
   4578   lt_cv_deplibs_check_method=pass_all
   4579   ;;
   4580 
   4581 bsdi[45]*)
   4582   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4583   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4584   lt_cv_file_magic_test_file=/shlib/libc.so
   4585   ;;
   4586 
   4587 cygwin*)
   4588   # func_win32_libid is a shell function defined in ltmain.sh
   4589   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4590   lt_cv_file_magic_cmd='func_win32_libid'
   4591   ;;
   4592 
   4593 mingw* | pw32*)
   4594   # Base MSYS/MinGW do not provide the 'file' command needed by
   4595   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4596   # unless we find 'file', for example because we are cross-compiling.
   4597   if ( file / ) >/dev/null 2>&1; then
   4598     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4599     lt_cv_file_magic_cmd='func_win32_libid'
   4600   else
   4601     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4602     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4603   fi
   4604   ;;
   4605 
   4606 darwin* | rhapsody*)
   4607   lt_cv_deplibs_check_method=pass_all
   4608   ;;
   4609 
   4610 freebsd* | dragonfly*)
   4611   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4612     case $host_cpu in
   4613     i*86 )
   4614       # Not sure whether the presence of OpenBSD here was a mistake.
   4615       # Let's accept both of them until this is cleared up.
   4616       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4617       lt_cv_file_magic_cmd=/usr/bin/file
   4618       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4619       ;;
   4620     esac
   4621   else
   4622     lt_cv_deplibs_check_method=pass_all
   4623   fi
   4624   ;;
   4625 
   4626 gnu*)
   4627   lt_cv_deplibs_check_method=pass_all
   4628   ;;
   4629 
   4630 hpux10.20* | hpux11*)
   4631   lt_cv_file_magic_cmd=/usr/bin/file
   4632   case $host_cpu in
   4633   ia64*)
   4634     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4635     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4636     ;;
   4637   hppa*64*)
   4638     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]'
   4639     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4640     ;;
   4641   *)
   4642     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4643     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4644     ;;
   4645   esac
   4646   ;;
   4647 
   4648 interix[3-9]*)
   4649   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4650   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4651   ;;
   4652 
   4653 irix5* | irix6* | nonstopux*)
   4654   case $LD in
   4655   *-32|*"-32 ") libmagic=32-bit;;
   4656   *-n32|*"-n32 ") libmagic=N32;;
   4657   *-64|*"-64 ") libmagic=64-bit;;
   4658   *) libmagic=never-match;;
   4659   esac
   4660   lt_cv_deplibs_check_method=pass_all
   4661   ;;
   4662 
   4663 # This must be Linux ELF.
   4664 linux* | k*bsd*-gnu)
   4665   lt_cv_deplibs_check_method=pass_all
   4666   ;;
   4667 
   4668 netbsd*)
   4669   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4670     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4671   else
   4672     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4673   fi
   4674   ;;
   4675 
   4676 newos6*)
   4677   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4678   lt_cv_file_magic_cmd=/usr/bin/file
   4679   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4680   ;;
   4681 
   4682 nto-qnx*)
   4683   lt_cv_deplibs_check_method=unknown
   4684   ;;
   4685 
   4686 openbsd*)
   4687   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4688     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4689   else
   4690     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4691   fi
   4692   ;;
   4693 
   4694 osf3* | osf4* | osf5*)
   4695   lt_cv_deplibs_check_method=pass_all
   4696   ;;
   4697 
   4698 rdos*)
   4699   lt_cv_deplibs_check_method=pass_all
   4700   ;;
   4701 
   4702 solaris*)
   4703   lt_cv_deplibs_check_method=pass_all
   4704   ;;
   4705 
   4706 sysv4 | sysv4.3*)
   4707   case $host_vendor in
   4708   motorola)
   4709     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]'
   4710     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4711     ;;
   4712   ncr)
   4713     lt_cv_deplibs_check_method=pass_all
   4714     ;;
   4715   sequent)
   4716     lt_cv_file_magic_cmd='/bin/file'
   4717     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4718     ;;
   4719   sni)
   4720     lt_cv_file_magic_cmd='/bin/file'
   4721     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4722     lt_cv_file_magic_test_file=/lib/libc.so
   4723     ;;
   4724   siemens)
   4725     lt_cv_deplibs_check_method=pass_all
   4726     ;;
   4727   pc)
   4728     lt_cv_deplibs_check_method=pass_all
   4729     ;;
   4730   esac
   4731   ;;
   4732 
   4733 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4734   lt_cv_deplibs_check_method=pass_all
   4735   ;;
   4736 esac
   4737 
   4738 fi
   4739 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4740 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4741 file_magic_cmd=$lt_cv_file_magic_cmd
   4742 deplibs_check_method=$lt_cv_deplibs_check_method
   4743 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4744 
   4745 
   4746 
   4747 
   4748 # If no C compiler was specified, use CC.
   4749 LTCC=${LTCC-"$CC"}
   4750 
   4751 # If no C compiler flags were specified, use CFLAGS.
   4752 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4753 
   4754 # Allow CC to be a program name with arguments.
   4755 compiler=$CC
   4756 
   4757 
   4758 # Check whether --enable-libtool-lock was given.
   4759 if test "${enable_libtool_lock+set}" = set; then
   4760   enableval=$enable_libtool_lock;
   4761 fi
   4762 
   4763 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4764 
   4765 # Some flags need to be propagated to the compiler or linker for good
   4766 # libtool support.
   4767 case $host in
   4768 ia64-*-hpux*)
   4769   # Find out which ABI we are using.
   4770   echo 'int i;' > conftest.$ac_ext
   4771   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4772   (eval $ac_compile) 2>&5
   4773   ac_status=$?
   4774   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4775   (exit $ac_status); }; then
   4776     case `/usr/bin/file conftest.$ac_objext` in
   4777     *ELF-32*)
   4778       HPUX_IA64_MODE="32"
   4779       ;;
   4780     *ELF-64*)
   4781       HPUX_IA64_MODE="64"
   4782       ;;
   4783     esac
   4784   fi
   4785   rm -rf conftest*
   4786   ;;
   4787 *-*-irix6*)
   4788   # Find out which ABI we are using.
   4789   echo '#line 4789 "configure"' > conftest.$ac_ext
   4790   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4791   (eval $ac_compile) 2>&5
   4792   ac_status=$?
   4793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4794   (exit $ac_status); }; then
   4795    if test "$lt_cv_prog_gnu_ld" = yes; then
   4796     case `/usr/bin/file conftest.$ac_objext` in
   4797     *32-bit*)
   4798       LD="${LD-ld} -melf32bsmip"
   4799       ;;
   4800     *N32*)
   4801       LD="${LD-ld} -melf32bmipn32"
   4802       ;;
   4803     *64-bit*)
   4804       LD="${LD-ld} -melf64bmip"
   4805       ;;
   4806     esac
   4807    else
   4808     case `/usr/bin/file conftest.$ac_objext` in
   4809     *32-bit*)
   4810       LD="${LD-ld} -32"
   4811       ;;
   4812     *N32*)
   4813       LD="${LD-ld} -n32"
   4814       ;;
   4815     *64-bit*)
   4816       LD="${LD-ld} -64"
   4817       ;;
   4818     esac
   4819    fi
   4820   fi
   4821   rm -rf conftest*
   4822   ;;
   4823 
   4824 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4825 s390*-*linux*|sparc*-*linux*)
   4826   # Find out which ABI we are using.
   4827   echo 'int i;' > conftest.$ac_ext
   4828   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4829   (eval $ac_compile) 2>&5
   4830   ac_status=$?
   4831   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4832   (exit $ac_status); }; then
   4833     case `/usr/bin/file conftest.o` in
   4834     *32-bit*)
   4835       case $host in
   4836         x86_64-*kfreebsd*-gnu)
   4837           LD="${LD-ld} -m elf_i386_fbsd"
   4838           ;;
   4839         x86_64-*linux*)
   4840           LD="${LD-ld} -m elf_i386"
   4841           ;;
   4842         ppc64-*linux*|powerpc64-*linux*)
   4843           LD="${LD-ld} -m elf32ppclinux"
   4844           ;;
   4845         s390x-*linux*)
   4846           LD="${LD-ld} -m elf_s390"
   4847           ;;
   4848         sparc64-*linux*)
   4849           LD="${LD-ld} -m elf32_sparc"
   4850           ;;
   4851       esac
   4852       ;;
   4853     *64-bit*)
   4854       case $host in
   4855         x86_64-*kfreebsd*-gnu)
   4856           LD="${LD-ld} -m elf_x86_64_fbsd"
   4857           ;;
   4858         x86_64-*linux*)
   4859           LD="${LD-ld} -m elf_x86_64"
   4860           ;;
   4861         ppc*-*linux*|powerpc*-*linux*)
   4862           LD="${LD-ld} -m elf64ppc"
   4863           ;;
   4864         s390*-*linux*)
   4865           LD="${LD-ld} -m elf64_s390"
   4866           ;;
   4867         sparc*-*linux*)
   4868           LD="${LD-ld} -m elf64_sparc"
   4869           ;;
   4870       esac
   4871       ;;
   4872     esac
   4873   fi
   4874   rm -rf conftest*
   4875   ;;
   4876 
   4877 *-*-sco3.2v5*)
   4878   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4879   SAVE_CFLAGS="$CFLAGS"
   4880   CFLAGS="$CFLAGS -belf"
   4881   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4882 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4883 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4884   $as_echo_n "(cached) " >&6
   4885 else
   4886   ac_ext=c
   4887 ac_cpp='$CPP $CPPFLAGS'
   4888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4891 
   4892      cat >conftest.$ac_ext <<_ACEOF
   4893 /* confdefs.h.  */
   4894 _ACEOF
   4895 cat confdefs.h >>conftest.$ac_ext
   4896 cat >>conftest.$ac_ext <<_ACEOF
   4897 /* end confdefs.h.  */
   4898 
   4899 int
   4900 main ()
   4901 {
   4902 
   4903   ;
   4904   return 0;
   4905 }
   4906 _ACEOF
   4907 rm -f conftest.$ac_objext conftest$ac_exeext
   4908 if { (ac_try="$ac_link"
   4909 case "(($ac_try" in
   4910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4911   *) ac_try_echo=$ac_try;;
   4912 esac
   4913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4914 $as_echo "$ac_try_echo") >&5
   4915   (eval "$ac_link") 2>conftest.er1
   4916   ac_status=$?
   4917   grep -v '^ *+' conftest.er1 >conftest.err
   4918   rm -f conftest.er1
   4919   cat conftest.err >&5
   4920   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4921   (exit $ac_status); } && {
   4922 	 test -z "$ac_c_werror_flag" ||
   4923 	 test ! -s conftest.err
   4924        } && test -s conftest$ac_exeext && {
   4925 	 test "$cross_compiling" = yes ||
   4926 	 $as_test_x conftest$ac_exeext
   4927        }; then
   4928   lt_cv_cc_needs_belf=yes
   4929 else
   4930   $as_echo "$as_me: failed program was:" >&5
   4931 sed 's/^/| /' conftest.$ac_ext >&5
   4932 
   4933 	lt_cv_cc_needs_belf=no
   4934 fi
   4935 
   4936 rm -rf conftest.dSYM
   4937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4938       conftest$ac_exeext conftest.$ac_ext
   4939      ac_ext=c
   4940 ac_cpp='$CPP $CPPFLAGS'
   4941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4944 
   4945 fi
   4946 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4947 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4948   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4949     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4950     CFLAGS="$SAVE_CFLAGS"
   4951   fi
   4952   ;;
   4953 sparc*-*solaris*)
   4954   # Find out which ABI we are using.
   4955   echo 'int i;' > conftest.$ac_ext
   4956   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4957   (eval $ac_compile) 2>&5
   4958   ac_status=$?
   4959   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4960   (exit $ac_status); }; then
   4961     case `/usr/bin/file conftest.o` in
   4962     *64-bit*)
   4963       case $lt_cv_prog_gnu_ld in
   4964       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4965       *)    LD="${LD-ld} -64" ;;
   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 
   6608 # find the maximum length of command line arguments
   6609 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6610 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6611 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6612   $as_echo_n "(cached) " >&6
   6613 else
   6614     i=0
   6615   teststring="ABCD"
   6616 
   6617   case $build_os in
   6618   msdosdjgpp*)
   6619     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6620     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6621     # during glob expansion).  Even if it were fixed, the result of this
   6622     # check would be larger than it should be.
   6623     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6624     ;;
   6625 
   6626   gnu*)
   6627     # Under GNU Hurd, this test is not required because there is
   6628     # no limit to the length of command line arguments.
   6629     # Libtool will interpret -1 as no limit whatsoever
   6630     lt_cv_sys_max_cmd_len=-1;
   6631     ;;
   6632 
   6633   cygwin* | mingw*)
   6634     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6635     # about 5 minutes as the teststring grows exponentially.
   6636     # Worse, since 9x/ME are not pre-emptively multitasking,
   6637     # you end up with a "frozen" computer, even though with patience
   6638     # the test eventually succeeds (with a max line length of 256k).
   6639     # Instead, let's just punt: use the minimum linelength reported by
   6640     # all of the supported platforms: 8192 (on NT/2K/XP).
   6641     lt_cv_sys_max_cmd_len=8192;
   6642     ;;
   6643 
   6644   amigaos*)
   6645     # On AmigaOS with pdksh, this test takes hours, literally.
   6646     # So we just punt and use a minimum line length of 8192.
   6647     lt_cv_sys_max_cmd_len=8192;
   6648     ;;
   6649 
   6650   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6651     # This has been around since 386BSD, at least.  Likely further.
   6652     if test -x /sbin/sysctl; then
   6653       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6654     elif test -x /usr/sbin/sysctl; then
   6655       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6656     else
   6657       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6658     fi
   6659     # And add a safety zone
   6660     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6661     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6662     ;;
   6663 
   6664   interix*)
   6665     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6666     lt_cv_sys_max_cmd_len=196608
   6667     ;;
   6668 
   6669   osf*)
   6670     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6671     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6672     # nice to cause kernel panics so lets avoid the loop below.
   6673     # First set a reasonable default.
   6674     lt_cv_sys_max_cmd_len=16384
   6675     #
   6676     if test -x /sbin/sysconfig; then
   6677       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6678         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6679       esac
   6680     fi
   6681     ;;
   6682   sco3.2v5*)
   6683     lt_cv_sys_max_cmd_len=102400
   6684     ;;
   6685   sysv5* | sco5v6* | sysv4.2uw2*)
   6686     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6687     if test -n "$kargmax"; then
   6688       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6689     else
   6690       lt_cv_sys_max_cmd_len=32768
   6691     fi
   6692     ;;
   6693   *)
   6694     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6695     if test -n "$lt_cv_sys_max_cmd_len"; then
   6696       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6697       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6698     else
   6699       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6700       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6701 	       = "XX$teststring") >/dev/null 2>&1 &&
   6702 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6703 	      lt_cv_sys_max_cmd_len=$new_result &&
   6704 	      test $i != 17 # 1/2 MB should be enough
   6705       do
   6706         i=`expr $i + 1`
   6707         teststring=$teststring$teststring
   6708       done
   6709       teststring=
   6710       # Add a significant safety factor because C++ compilers can tack on massive
   6711       # amounts of additional arguments before passing them to the linker.
   6712       # It appears as though 1/2 is a usable value.
   6713       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6714     fi
   6715     ;;
   6716   esac
   6717 
   6718 fi
   6719 
   6720 if test -n $lt_cv_sys_max_cmd_len ; then
   6721   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6722 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6723 else
   6724   { $as_echo "$as_me:$LINENO: result: none" >&5
   6725 $as_echo "none" >&6; }
   6726 fi
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6733 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6734 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6735 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6736   $as_echo_n "(cached) " >&6
   6737 else
   6738 
   6739 # These are sane defaults that work on at least a few old systems.
   6740 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6741 
   6742 # Character class describing NM global symbol codes.
   6743 symcode='[BCDEGRST]'
   6744 
   6745 # Regexp to match symbols that can be accessed directly from C.
   6746 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6747 
   6748 # Transform an extracted symbol line into a proper C declaration
   6749 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6750 
   6751 # Transform an extracted symbol line into symbol name and symbol address
   6752 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'"
   6753 
   6754 # Define system-specific variables.
   6755 case $host_os in
   6756 aix*)
   6757   symcode='[BCDT]'
   6758   ;;
   6759 cygwin* | mingw* | pw32*)
   6760   symcode='[ABCDGISTW]'
   6761   ;;
   6762 hpux*) # Its linker distinguishes data from code symbols
   6763   if test "$host_cpu" = ia64; then
   6764     symcode='[ABCDEGRST]'
   6765   fi
   6766   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6767   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'"
   6768   ;;
   6769 linux* | k*bsd*-gnu)
   6770   if test "$host_cpu" = ia64; then
   6771     symcode='[ABCDGIRSTW]'
   6772     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6773     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'"
   6774   fi
   6775   ;;
   6776 irix* | nonstopux*)
   6777   symcode='[BCDEGRST]'
   6778   ;;
   6779 osf*)
   6780   symcode='[BCDEGQRST]'
   6781   ;;
   6782 solaris*)
   6783   symcode='[BDRT]'
   6784   ;;
   6785 sco3.2v5*)
   6786   symcode='[DT]'
   6787   ;;
   6788 sysv4.2uw2*)
   6789   symcode='[DT]'
   6790   ;;
   6791 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6792   symcode='[ABDT]'
   6793   ;;
   6794 sysv4)
   6795   symcode='[DFNSTU]'
   6796   ;;
   6797 esac
   6798 
   6799 # Handle CRLF in mingw tool chain
   6800 opt_cr=
   6801 case $build_os in
   6802 mingw*)
   6803   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6804   ;;
   6805 esac
   6806 
   6807 # If we're using GNU nm, then use its standard symbol codes.
   6808 case `$NM -V 2>&1` in
   6809 *GNU* | *'with BFD'*)
   6810   symcode='[ABCDGIRSTW]' ;;
   6811 esac
   6812 
   6813 # Try without a prefix undercore, then with it.
   6814 for ac_symprfx in "" "_"; do
   6815 
   6816   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6817   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6818 
   6819   # Write the raw and C identifiers.
   6820   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6821 
   6822   # Check to see that the pipe works correctly.
   6823   pipe_works=no
   6824 
   6825   rm -f conftest*
   6826   cat > conftest.$ac_ext <<EOF
   6827 #ifdef __cplusplus
   6828 extern "C" {
   6829 #endif
   6830 char nm_test_var;
   6831 void nm_test_func(){}
   6832 #ifdef __cplusplus
   6833 }
   6834 #endif
   6835 int main(){nm_test_var='a';nm_test_func();return(0);}
   6836 EOF
   6837 
   6838   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6839   (eval $ac_compile) 2>&5
   6840   ac_status=$?
   6841   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6842   (exit $ac_status); }; then
   6843     # Now try to grab the symbols.
   6844     nlist=conftest.nm
   6845     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6846   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6847   ac_status=$?
   6848   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6849   (exit $ac_status); } && test -s "$nlist"; then
   6850       # Try sorting and uniquifying the output.
   6851       if sort "$nlist" | uniq > "$nlist"T; then
   6852 	mv -f "$nlist"T "$nlist"
   6853       else
   6854 	rm -f "$nlist"T
   6855       fi
   6856 
   6857       # Make sure that we snagged all the symbols we need.
   6858       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6859 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6860 	  cat <<EOF > conftest.$ac_ext
   6861 #ifdef __cplusplus
   6862 extern "C" {
   6863 #endif
   6864 
   6865 EOF
   6866 	  # Now generate the symbol file.
   6867 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6868 
   6869 	  cat <<EOF >> conftest.$ac_ext
   6870 #if defined (__STDC__) && __STDC__
   6871 # define lt_ptr_t void *
   6872 #else
   6873 # define lt_ptr_t char *
   6874 # define const
   6875 #endif
   6876 
   6877 /* The mapping between symbol names and symbols. */
   6878 const struct {
   6879   const char *name;
   6880   lt_ptr_t address;
   6881 }
   6882 lt_preloaded_symbols[] =
   6883 {
   6884 EOF
   6885 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6886 	  cat <<\EOF >> conftest.$ac_ext
   6887   {0, (lt_ptr_t) 0}
   6888 };
   6889 
   6890 #ifdef __cplusplus
   6891 }
   6892 #endif
   6893 EOF
   6894 	  # Now try linking the two files.
   6895 	  mv conftest.$ac_objext conftstm.$ac_objext
   6896 	  lt_save_LIBS="$LIBS"
   6897 	  lt_save_CFLAGS="$CFLAGS"
   6898 	  LIBS="conftstm.$ac_objext"
   6899 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6900 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6901   (eval $ac_link) 2>&5
   6902   ac_status=$?
   6903   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6904   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6905 	    pipe_works=yes
   6906 	  fi
   6907 	  LIBS="$lt_save_LIBS"
   6908 	  CFLAGS="$lt_save_CFLAGS"
   6909 	else
   6910 	  echo "cannot find nm_test_func in $nlist" >&5
   6911 	fi
   6912       else
   6913 	echo "cannot find nm_test_var in $nlist" >&5
   6914       fi
   6915     else
   6916       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6917     fi
   6918   else
   6919     echo "$progname: failed program was:" >&5
   6920     cat conftest.$ac_ext >&5
   6921   fi
   6922   rm -f conftest* conftst*
   6923 
   6924   # Do not use the global_symbol_pipe unless it works.
   6925   if test "$pipe_works" = yes; then
   6926     break
   6927   else
   6928     lt_cv_sys_global_symbol_pipe=
   6929   fi
   6930 done
   6931 
   6932 fi
   6933 
   6934 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6935   lt_cv_sys_global_symbol_to_cdecl=
   6936 fi
   6937 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6938   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6939 $as_echo "failed" >&6; }
   6940 else
   6941   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6942 $as_echo "ok" >&6; }
   6943 fi
   6944 
   6945 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6946 $as_echo_n "checking for objdir... " >&6; }
   6947 if test "${lt_cv_objdir+set}" = set; then
   6948   $as_echo_n "(cached) " >&6
   6949 else
   6950   rm -f .libs 2>/dev/null
   6951 mkdir .libs 2>/dev/null
   6952 if test -d .libs; then
   6953   lt_cv_objdir=.libs
   6954 else
   6955   # MS-DOS does not allow filenames that begin with a dot.
   6956   lt_cv_objdir=_libs
   6957 fi
   6958 rmdir .libs 2>/dev/null
   6959 fi
   6960 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6961 $as_echo "$lt_cv_objdir" >&6; }
   6962 objdir=$lt_cv_objdir
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 case $host_os in
   6969 aix3*)
   6970   # AIX sometimes has problems with the GCC collect2 program.  For some
   6971   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6972   # vanish in a puff of smoke.
   6973   if test "X${COLLECT_NAMES+set}" != Xset; then
   6974     COLLECT_NAMES=
   6975     export COLLECT_NAMES
   6976   fi
   6977   ;;
   6978 esac
   6979 
   6980 # Sed substitution that helps us do robust quoting.  It backslashifies
   6981 # metacharacters that are still active within double-quoted strings.
   6982 Xsed='sed -e 1s/^X//'
   6983 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6984 
   6985 # Same as above, but do not quote variable references.
   6986 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6987 
   6988 # Sed substitution to delay expansion of an escaped shell variable in a
   6989 # double_quote_subst'ed string.
   6990 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6991 
   6992 # Sed substitution to avoid accidental globbing in evaled expressions
   6993 no_glob_subst='s/\*/\\\*/g'
   6994 
   6995 # Constants:
   6996 rm="rm -f"
   6997 
   6998 # Global variables:
   6999 default_ofile=libtool
   7000 can_build_shared=yes
   7001 
   7002 # All known linkers require a `.a' archive for static linking (except MSVC,
   7003 # which needs '.lib').
   7004 libext=a
   7005 ltmain="$ac_aux_dir/ltmain.sh"
   7006 ofile="$default_ofile"
   7007 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7008 
   7009 if test -n "$ac_tool_prefix"; then
   7010   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7011 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7013 $as_echo_n "checking for $ac_word... " >&6; }
   7014 if test "${ac_cv_prog_AR+set}" = set; then
   7015   $as_echo_n "(cached) " >&6
   7016 else
   7017   if test -n "$AR"; then
   7018   ac_cv_prog_AR="$AR" # Let the user override the test.
   7019 else
   7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7021 for as_dir in $PATH
   7022 do
   7023   IFS=$as_save_IFS
   7024   test -z "$as_dir" && as_dir=.
   7025   for ac_exec_ext in '' $ac_executable_extensions; do
   7026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7027     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7028     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7029     break 2
   7030   fi
   7031 done
   7032 done
   7033 IFS=$as_save_IFS
   7034 
   7035 fi
   7036 fi
   7037 AR=$ac_cv_prog_AR
   7038 if test -n "$AR"; then
   7039   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   7040 $as_echo "$AR" >&6; }
   7041 else
   7042   { $as_echo "$as_me:$LINENO: result: no" >&5
   7043 $as_echo "no" >&6; }
   7044 fi
   7045 
   7046 
   7047 fi
   7048 if test -z "$ac_cv_prog_AR"; then
   7049   ac_ct_AR=$AR
   7050   # Extract the first word of "ar", so it can be a program name with args.
   7051 set dummy ar; ac_word=$2
   7052 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7053 $as_echo_n "checking for $ac_word... " >&6; }
   7054 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   7055   $as_echo_n "(cached) " >&6
   7056 else
   7057   if test -n "$ac_ct_AR"; then
   7058   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7059 else
   7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7061 for as_dir in $PATH
   7062 do
   7063   IFS=$as_save_IFS
   7064   test -z "$as_dir" && as_dir=.
   7065   for ac_exec_ext in '' $ac_executable_extensions; do
   7066   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7067     ac_cv_prog_ac_ct_AR="ar"
   7068     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7069     break 2
   7070   fi
   7071 done
   7072 done
   7073 IFS=$as_save_IFS
   7074 
   7075 fi
   7076 fi
   7077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7078 if test -n "$ac_ct_AR"; then
   7079   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   7080 $as_echo "$ac_ct_AR" >&6; }
   7081 else
   7082   { $as_echo "$as_me:$LINENO: result: no" >&5
   7083 $as_echo "no" >&6; }
   7084 fi
   7085 
   7086   if test "x$ac_ct_AR" = x; then
   7087     AR="false"
   7088   else
   7089     case $cross_compiling:$ac_tool_warned in
   7090 yes:)
   7091 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7093 ac_tool_warned=yes ;;
   7094 esac
   7095     AR=$ac_ct_AR
   7096   fi
   7097 else
   7098   AR="$ac_cv_prog_AR"
   7099 fi
   7100 
   7101 if test -n "$ac_tool_prefix"; then
   7102   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7103 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7104 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7105 $as_echo_n "checking for $ac_word... " >&6; }
   7106 if test "${ac_cv_prog_RANLIB+set}" = set; then
   7107   $as_echo_n "(cached) " >&6
   7108 else
   7109   if test -n "$RANLIB"; then
   7110   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7111 else
   7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7113 for as_dir in $PATH
   7114 do
   7115   IFS=$as_save_IFS
   7116   test -z "$as_dir" && as_dir=.
   7117   for ac_exec_ext in '' $ac_executable_extensions; do
   7118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7119     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7120     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7121     break 2
   7122   fi
   7123 done
   7124 done
   7125 IFS=$as_save_IFS
   7126 
   7127 fi
   7128 fi
   7129 RANLIB=$ac_cv_prog_RANLIB
   7130 if test -n "$RANLIB"; then
   7131   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   7132 $as_echo "$RANLIB" >&6; }
   7133 else
   7134   { $as_echo "$as_me:$LINENO: result: no" >&5
   7135 $as_echo "no" >&6; }
   7136 fi
   7137 
   7138 
   7139 fi
   7140 if test -z "$ac_cv_prog_RANLIB"; then
   7141   ac_ct_RANLIB=$RANLIB
   7142   # Extract the first word of "ranlib", so it can be a program name with args.
   7143 set dummy ranlib; ac_word=$2
   7144 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7145 $as_echo_n "checking for $ac_word... " >&6; }
   7146 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   7147   $as_echo_n "(cached) " >&6
   7148 else
   7149   if test -n "$ac_ct_RANLIB"; then
   7150   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7151 else
   7152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7153 for as_dir in $PATH
   7154 do
   7155   IFS=$as_save_IFS
   7156   test -z "$as_dir" && as_dir=.
   7157   for ac_exec_ext in '' $ac_executable_extensions; do
   7158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7159     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7160     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7161     break 2
   7162   fi
   7163 done
   7164 done
   7165 IFS=$as_save_IFS
   7166 
   7167 fi
   7168 fi
   7169 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7170 if test -n "$ac_ct_RANLIB"; then
   7171   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   7172 $as_echo "$ac_ct_RANLIB" >&6; }
   7173 else
   7174   { $as_echo "$as_me:$LINENO: result: no" >&5
   7175 $as_echo "no" >&6; }
   7176 fi
   7177 
   7178   if test "x$ac_ct_RANLIB" = x; then
   7179     RANLIB=":"
   7180   else
   7181     case $cross_compiling:$ac_tool_warned in
   7182 yes:)
   7183 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7185 ac_tool_warned=yes ;;
   7186 esac
   7187     RANLIB=$ac_ct_RANLIB
   7188   fi
   7189 else
   7190   RANLIB="$ac_cv_prog_RANLIB"
   7191 fi
   7192 
   7193 if test -n "$ac_tool_prefix"; then
   7194   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7195 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7196 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7197 $as_echo_n "checking for $ac_word... " >&6; }
   7198 if test "${ac_cv_prog_STRIP+set}" = set; then
   7199   $as_echo_n "(cached) " >&6
   7200 else
   7201   if test -n "$STRIP"; then
   7202   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7203 else
   7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7205 for as_dir in $PATH
   7206 do
   7207   IFS=$as_save_IFS
   7208   test -z "$as_dir" && as_dir=.
   7209   for ac_exec_ext in '' $ac_executable_extensions; do
   7210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7211     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7212     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7213     break 2
   7214   fi
   7215 done
   7216 done
   7217 IFS=$as_save_IFS
   7218 
   7219 fi
   7220 fi
   7221 STRIP=$ac_cv_prog_STRIP
   7222 if test -n "$STRIP"; then
   7223   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7224 $as_echo "$STRIP" >&6; }
   7225 else
   7226   { $as_echo "$as_me:$LINENO: result: no" >&5
   7227 $as_echo "no" >&6; }
   7228 fi
   7229 
   7230 
   7231 fi
   7232 if test -z "$ac_cv_prog_STRIP"; then
   7233   ac_ct_STRIP=$STRIP
   7234   # Extract the first word of "strip", so it can be a program name with args.
   7235 set dummy strip; ac_word=$2
   7236 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7237 $as_echo_n "checking for $ac_word... " >&6; }
   7238 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7239   $as_echo_n "(cached) " >&6
   7240 else
   7241   if test -n "$ac_ct_STRIP"; then
   7242   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7243 else
   7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7245 for as_dir in $PATH
   7246 do
   7247   IFS=$as_save_IFS
   7248   test -z "$as_dir" && as_dir=.
   7249   for ac_exec_ext in '' $ac_executable_extensions; do
   7250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7251     ac_cv_prog_ac_ct_STRIP="strip"
   7252     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7253     break 2
   7254   fi
   7255 done
   7256 done
   7257 IFS=$as_save_IFS
   7258 
   7259 fi
   7260 fi
   7261 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7262 if test -n "$ac_ct_STRIP"; then
   7263   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7264 $as_echo "$ac_ct_STRIP" >&6; }
   7265 else
   7266   { $as_echo "$as_me:$LINENO: result: no" >&5
   7267 $as_echo "no" >&6; }
   7268 fi
   7269 
   7270   if test "x$ac_ct_STRIP" = x; then
   7271     STRIP=":"
   7272   else
   7273     case $cross_compiling:$ac_tool_warned in
   7274 yes:)
   7275 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7277 ac_tool_warned=yes ;;
   7278 esac
   7279     STRIP=$ac_ct_STRIP
   7280   fi
   7281 else
   7282   STRIP="$ac_cv_prog_STRIP"
   7283 fi
   7284 
   7285 
   7286 old_CC="$CC"
   7287 old_CFLAGS="$CFLAGS"
   7288 
   7289 # Set sane defaults for various variables
   7290 test -z "$AR" && AR=ar
   7291 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7292 test -z "$AS" && AS=as
   7293 test -z "$CC" && CC=cc
   7294 test -z "$LTCC" && LTCC=$CC
   7295 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7296 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7297 test -z "$LD" && LD=ld
   7298 test -z "$LN_S" && LN_S="ln -s"
   7299 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7300 test -z "$NM" && NM=nm
   7301 test -z "$SED" && SED=sed
   7302 test -z "$OBJDUMP" && OBJDUMP=objdump
   7303 test -z "$RANLIB" && RANLIB=:
   7304 test -z "$STRIP" && STRIP=:
   7305 test -z "$ac_objext" && ac_objext=o
   7306 
   7307 # Determine commands to create old-style static archives.
   7308 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7309 old_postinstall_cmds='chmod 644 $oldlib'
   7310 old_postuninstall_cmds=
   7311 
   7312 if test -n "$RANLIB"; then
   7313   case $host_os in
   7314   openbsd*)
   7315     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7316     ;;
   7317   *)
   7318     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7319     ;;
   7320   esac
   7321   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7322 fi
   7323 
   7324 for cc_temp in $compiler""; do
   7325   case $cc_temp in
   7326     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7327     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7328     \-*) ;;
   7329     *) break;;
   7330   esac
   7331 done
   7332 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7333 
   7334 
   7335 # Only perform the check for file, if the check method requires it
   7336 case $deplibs_check_method in
   7337 file_magic*)
   7338   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7339     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7340 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7341 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7342   $as_echo_n "(cached) " >&6
   7343 else
   7344   case $MAGIC_CMD in
   7345 [\\/*] |  ?:[\\/]*)
   7346   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7347   ;;
   7348 *)
   7349   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7350   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7351   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7352   for ac_dir in $ac_dummy; do
   7353     IFS="$lt_save_ifs"
   7354     test -z "$ac_dir" && ac_dir=.
   7355     if test -f $ac_dir/${ac_tool_prefix}file; then
   7356       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7357       if test -n "$file_magic_test_file"; then
   7358 	case $deplibs_check_method in
   7359 	"file_magic "*)
   7360 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7361 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7362 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7363 	    $EGREP "$file_magic_regex" > /dev/null; then
   7364 	    :
   7365 	  else
   7366 	    cat <<EOF 1>&2
   7367 
   7368 *** Warning: the command libtool uses to detect shared libraries,
   7369 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7370 *** The result is that libtool may fail to recognize shared libraries
   7371 *** as such.  This will affect the creation of libtool libraries that
   7372 *** depend on shared libraries, but programs linked with such libtool
   7373 *** libraries will work regardless of this problem.  Nevertheless, you
   7374 *** may want to report the problem to your system manager and/or to
   7375 *** bug-libtool@gnu.org
   7376 
   7377 EOF
   7378 	  fi ;;
   7379 	esac
   7380       fi
   7381       break
   7382     fi
   7383   done
   7384   IFS="$lt_save_ifs"
   7385   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7386   ;;
   7387 esac
   7388 fi
   7389 
   7390 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7391 if test -n "$MAGIC_CMD"; then
   7392   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7393 $as_echo "$MAGIC_CMD" >&6; }
   7394 else
   7395   { $as_echo "$as_me:$LINENO: result: no" >&5
   7396 $as_echo "no" >&6; }
   7397 fi
   7398 
   7399 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7400   if test -n "$ac_tool_prefix"; then
   7401     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7402 $as_echo_n "checking for file... " >&6; }
   7403 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7404   $as_echo_n "(cached) " >&6
   7405 else
   7406   case $MAGIC_CMD in
   7407 [\\/*] |  ?:[\\/]*)
   7408   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7409   ;;
   7410 *)
   7411   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7412   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7413   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7414   for ac_dir in $ac_dummy; do
   7415     IFS="$lt_save_ifs"
   7416     test -z "$ac_dir" && ac_dir=.
   7417     if test -f $ac_dir/file; then
   7418       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7419       if test -n "$file_magic_test_file"; then
   7420 	case $deplibs_check_method in
   7421 	"file_magic "*)
   7422 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7423 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7424 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7425 	    $EGREP "$file_magic_regex" > /dev/null; then
   7426 	    :
   7427 	  else
   7428 	    cat <<EOF 1>&2
   7429 
   7430 *** Warning: the command libtool uses to detect shared libraries,
   7431 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7432 *** The result is that libtool may fail to recognize shared libraries
   7433 *** as such.  This will affect the creation of libtool libraries that
   7434 *** depend on shared libraries, but programs linked with such libtool
   7435 *** libraries will work regardless of this problem.  Nevertheless, you
   7436 *** may want to report the problem to your system manager and/or to
   7437 *** bug-libtool@gnu.org
   7438 
   7439 EOF
   7440 	  fi ;;
   7441 	esac
   7442       fi
   7443       break
   7444     fi
   7445   done
   7446   IFS="$lt_save_ifs"
   7447   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7448   ;;
   7449 esac
   7450 fi
   7451 
   7452 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7453 if test -n "$MAGIC_CMD"; then
   7454   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7455 $as_echo "$MAGIC_CMD" >&6; }
   7456 else
   7457   { $as_echo "$as_me:$LINENO: result: no" >&5
   7458 $as_echo "no" >&6; }
   7459 fi
   7460 
   7461   else
   7462     MAGIC_CMD=:
   7463   fi
   7464 fi
   7465 
   7466   fi
   7467   ;;
   7468 esac
   7469 
   7470 enable_dlopen=no
   7471 enable_win32_dll=no
   7472 
   7473 # Check whether --enable-libtool-lock was given.
   7474 if test "${enable_libtool_lock+set}" = set; then
   7475   enableval=$enable_libtool_lock;
   7476 fi
   7477 
   7478 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7479 
   7480 
   7481 # Check whether --with-pic was given.
   7482 if test "${with_pic+set}" = set; then
   7483   withval=$with_pic; pic_mode="$withval"
   7484 else
   7485   pic_mode=default
   7486 fi
   7487 
   7488 test -z "$pic_mode" && pic_mode=default
   7489 
   7490 # Use C for the default configuration in the libtool script
   7491 tagname=
   7492 lt_save_CC="$CC"
   7493 ac_ext=c
   7494 ac_cpp='$CPP $CPPFLAGS'
   7495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7498 
   7499 
   7500 # Source file extension for C test sources.
   7501 ac_ext=c
   7502 
   7503 # Object file extension for compiled C test sources.
   7504 objext=o
   7505 objext=$objext
   7506 
   7507 # Code to be used in simple compile tests
   7508 lt_simple_compile_test_code="int some_variable = 0;"
   7509 
   7510 # Code to be used in simple link tests
   7511 lt_simple_link_test_code='int main(){return(0);}'
   7512 
   7513 
   7514 # If no C compiler was specified, use CC.
   7515 LTCC=${LTCC-"$CC"}
   7516 
   7517 # If no C compiler flags were specified, use CFLAGS.
   7518 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7519 
   7520 # Allow CC to be a program name with arguments.
   7521 compiler=$CC
   7522 
   7523 
   7524 # save warnings/boilerplate of simple test code
   7525 ac_outfile=conftest.$ac_objext
   7526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7528 _lt_compiler_boilerplate=`cat conftest.err`
   7529 $rm conftest*
   7530 
   7531 ac_outfile=conftest.$ac_objext
   7532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7534 _lt_linker_boilerplate=`cat conftest.err`
   7535 $rm conftest*
   7536 
   7537 
   7538 
   7539 lt_prog_compiler_no_builtin_flag=
   7540 
   7541 if test "$GCC" = yes; then
   7542   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7543 
   7544 
   7545 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7546 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7547 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7548   $as_echo_n "(cached) " >&6
   7549 else
   7550   lt_cv_prog_compiler_rtti_exceptions=no
   7551   ac_outfile=conftest.$ac_objext
   7552    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7553    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7554    # Insert the option either (1) after the last *FLAGS variable, or
   7555    # (2) before a word containing "conftest.", or (3) at the end.
   7556    # Note that $ac_compile itself does not contain backslashes and begins
   7557    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7558    # The option is referenced via a variable to avoid confusing sed.
   7559    lt_compile=`echo "$ac_compile" | $SED \
   7560    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7561    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7562    -e 's:$: $lt_compiler_flag:'`
   7563    (eval echo "\"\$as_me:7563: $lt_compile\"" >&5)
   7564    (eval "$lt_compile" 2>conftest.err)
   7565    ac_status=$?
   7566    cat conftest.err >&5
   7567    echo "$as_me:7567: \$? = $ac_status" >&5
   7568    if (exit $ac_status) && test -s "$ac_outfile"; then
   7569      # The compiler can only warn and ignore the option if not recognized
   7570      # So say no if there are warnings other than the usual output.
   7571      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7572      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7573      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7574        lt_cv_prog_compiler_rtti_exceptions=yes
   7575      fi
   7576    fi
   7577    $rm conftest*
   7578 
   7579 fi
   7580 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7581 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7582 
   7583 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7584     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7585 else
   7586     :
   7587 fi
   7588 
   7589 fi
   7590 
   7591 lt_prog_compiler_wl=
   7592 lt_prog_compiler_pic=
   7593 lt_prog_compiler_static=
   7594 
   7595 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7596 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7597 
   7598   if test "$GCC" = yes; then
   7599     lt_prog_compiler_wl='-Wl,'
   7600     lt_prog_compiler_static='-static'
   7601 
   7602     case $host_os in
   7603       aix*)
   7604       # All AIX code is PIC.
   7605       if test "$host_cpu" = ia64; then
   7606 	# AIX 5 now supports IA64 processor
   7607 	lt_prog_compiler_static='-Bstatic'
   7608       fi
   7609       ;;
   7610 
   7611     amigaos*)
   7612       # FIXME: we need at least 68020 code to build shared libraries, but
   7613       # adding the `-m68020' flag to GCC prevents building anything better,
   7614       # like `-m68040'.
   7615       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7616       ;;
   7617 
   7618     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7619       # PIC is the default for these OSes.
   7620       ;;
   7621 
   7622     mingw* | cygwin* | pw32* | os2*)
   7623       # This hack is so that the source file can tell whether it is being
   7624       # built for inclusion in a dll (and should export symbols for example).
   7625       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7626       # (--disable-auto-import) libraries
   7627       lt_prog_compiler_pic='-DDLL_EXPORT'
   7628       ;;
   7629 
   7630     darwin* | rhapsody*)
   7631       # PIC is the default on this platform
   7632       # Common symbols not allowed in MH_DYLIB files
   7633       lt_prog_compiler_pic='-fno-common'
   7634       ;;
   7635 
   7636     interix[3-9]*)
   7637       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7638       # Instead, we relocate shared libraries at runtime.
   7639       ;;
   7640 
   7641     msdosdjgpp*)
   7642       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7643       # on systems that don't support them.
   7644       lt_prog_compiler_can_build_shared=no
   7645       enable_shared=no
   7646       ;;
   7647 
   7648     sysv4*MP*)
   7649       if test -d /usr/nec; then
   7650 	lt_prog_compiler_pic=-Kconform_pic
   7651       fi
   7652       ;;
   7653 
   7654     hpux*)
   7655       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7656       # not for PA HP-UX.
   7657       case $host_cpu in
   7658       hppa*64*|ia64*)
   7659 	# +Z the default
   7660 	;;
   7661       *)
   7662 	lt_prog_compiler_pic='-fPIC'
   7663 	;;
   7664       esac
   7665       ;;
   7666 
   7667     *)
   7668       lt_prog_compiler_pic='-fPIC'
   7669       ;;
   7670     esac
   7671   else
   7672     # PORTME Check for flag to pass linker flags through the system compiler.
   7673     case $host_os in
   7674     aix*)
   7675       lt_prog_compiler_wl='-Wl,'
   7676       if test "$host_cpu" = ia64; then
   7677 	# AIX 5 now supports IA64 processor
   7678 	lt_prog_compiler_static='-Bstatic'
   7679       else
   7680 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7681       fi
   7682       ;;
   7683       darwin*)
   7684         # PIC is the default on this platform
   7685         # Common symbols not allowed in MH_DYLIB files
   7686        case $cc_basename in
   7687          xlc*)
   7688          lt_prog_compiler_pic='-qnocommon'
   7689          lt_prog_compiler_wl='-Wl,'
   7690          ;;
   7691        esac
   7692        ;;
   7693 
   7694     mingw* | cygwin* | pw32* | os2*)
   7695       # This hack is so that the source file can tell whether it is being
   7696       # built for inclusion in a dll (and should export symbols for example).
   7697       lt_prog_compiler_pic='-DDLL_EXPORT'
   7698       ;;
   7699 
   7700     hpux9* | hpux10* | hpux11*)
   7701       lt_prog_compiler_wl='-Wl,'
   7702       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7703       # not for PA HP-UX.
   7704       case $host_cpu in
   7705       hppa*64*|ia64*)
   7706 	# +Z the default
   7707 	;;
   7708       *)
   7709 	lt_prog_compiler_pic='+Z'
   7710 	;;
   7711       esac
   7712       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7713       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7714       ;;
   7715 
   7716     irix5* | irix6* | nonstopux*)
   7717       lt_prog_compiler_wl='-Wl,'
   7718       # PIC (with -KPIC) is the default.
   7719       lt_prog_compiler_static='-non_shared'
   7720       ;;
   7721 
   7722     newsos6)
   7723       lt_prog_compiler_pic='-KPIC'
   7724       lt_prog_compiler_static='-Bstatic'
   7725       ;;
   7726 
   7727     linux* | k*bsd*-gnu)
   7728       case $cc_basename in
   7729       icc* | ecc*)
   7730 	lt_prog_compiler_wl='-Wl,'
   7731 	lt_prog_compiler_pic='-KPIC'
   7732 	lt_prog_compiler_static='-static'
   7733         ;;
   7734       pgcc* | pgf77* | pgf90* | pgf95*)
   7735         # Portland Group compilers (*not* the Pentium gcc compiler,
   7736 	# which looks to be a dead project)
   7737 	lt_prog_compiler_wl='-Wl,'
   7738 	lt_prog_compiler_pic='-fpic'
   7739 	lt_prog_compiler_static='-Bstatic'
   7740         ;;
   7741       ccc*)
   7742         lt_prog_compiler_wl='-Wl,'
   7743         # All Alpha code is PIC.
   7744         lt_prog_compiler_static='-non_shared'
   7745         ;;
   7746       *)
   7747         case `$CC -V 2>&1 | sed 5q` in
   7748 	*Sun\ C*)
   7749 	  # Sun C 5.9
   7750 	  lt_prog_compiler_pic='-KPIC'
   7751 	  lt_prog_compiler_static='-Bstatic'
   7752 	  lt_prog_compiler_wl='-Wl,'
   7753 	  ;;
   7754 	*Sun\ F*)
   7755 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7756 	  lt_prog_compiler_pic='-KPIC'
   7757 	  lt_prog_compiler_static='-Bstatic'
   7758 	  lt_prog_compiler_wl=''
   7759 	  ;;
   7760 	esac
   7761 	;;
   7762       esac
   7763       ;;
   7764 
   7765     osf3* | osf4* | osf5*)
   7766       lt_prog_compiler_wl='-Wl,'
   7767       # All OSF/1 code is PIC.
   7768       lt_prog_compiler_static='-non_shared'
   7769       ;;
   7770 
   7771     rdos*)
   7772       lt_prog_compiler_static='-non_shared'
   7773       ;;
   7774 
   7775     solaris*)
   7776       lt_prog_compiler_pic='-KPIC'
   7777       lt_prog_compiler_static='-Bstatic'
   7778       case $cc_basename in
   7779       f77* | f90* | f95*)
   7780 	lt_prog_compiler_wl='-Qoption ld ';;
   7781       *)
   7782 	lt_prog_compiler_wl='-Wl,';;
   7783       esac
   7784       ;;
   7785 
   7786     sunos4*)
   7787       lt_prog_compiler_wl='-Qoption ld '
   7788       lt_prog_compiler_pic='-PIC'
   7789       lt_prog_compiler_static='-Bstatic'
   7790       ;;
   7791 
   7792     sysv4 | sysv4.2uw2* | sysv4.3*)
   7793       lt_prog_compiler_wl='-Wl,'
   7794       lt_prog_compiler_pic='-KPIC'
   7795       lt_prog_compiler_static='-Bstatic'
   7796       ;;
   7797 
   7798     sysv4*MP*)
   7799       if test -d /usr/nec ;then
   7800 	lt_prog_compiler_pic='-Kconform_pic'
   7801 	lt_prog_compiler_static='-Bstatic'
   7802       fi
   7803       ;;
   7804 
   7805     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7806       lt_prog_compiler_wl='-Wl,'
   7807       lt_prog_compiler_pic='-KPIC'
   7808       lt_prog_compiler_static='-Bstatic'
   7809       ;;
   7810 
   7811     unicos*)
   7812       lt_prog_compiler_wl='-Wl,'
   7813       lt_prog_compiler_can_build_shared=no
   7814       ;;
   7815 
   7816     uts4*)
   7817       lt_prog_compiler_pic='-pic'
   7818       lt_prog_compiler_static='-Bstatic'
   7819       ;;
   7820 
   7821     *)
   7822       lt_prog_compiler_can_build_shared=no
   7823       ;;
   7824     esac
   7825   fi
   7826 
   7827 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7828 $as_echo "$lt_prog_compiler_pic" >&6; }
   7829 
   7830 #
   7831 # Check to make sure the PIC flag actually works.
   7832 #
   7833 if test -n "$lt_prog_compiler_pic"; then
   7834 
   7835 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7836 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7837 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7838   $as_echo_n "(cached) " >&6
   7839 else
   7840   lt_prog_compiler_pic_works=no
   7841   ac_outfile=conftest.$ac_objext
   7842    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7843    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7844    # Insert the option either (1) after the last *FLAGS variable, or
   7845    # (2) before a word containing "conftest.", or (3) at the end.
   7846    # Note that $ac_compile itself does not contain backslashes and begins
   7847    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7848    # The option is referenced via a variable to avoid confusing sed.
   7849    lt_compile=`echo "$ac_compile" | $SED \
   7850    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7851    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7852    -e 's:$: $lt_compiler_flag:'`
   7853    (eval echo "\"\$as_me:7853: $lt_compile\"" >&5)
   7854    (eval "$lt_compile" 2>conftest.err)
   7855    ac_status=$?
   7856    cat conftest.err >&5
   7857    echo "$as_me:7857: \$? = $ac_status" >&5
   7858    if (exit $ac_status) && test -s "$ac_outfile"; then
   7859      # The compiler can only warn and ignore the option if not recognized
   7860      # So say no if there are warnings other than the usual output.
   7861      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7862      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7863      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7864        lt_prog_compiler_pic_works=yes
   7865      fi
   7866    fi
   7867    $rm conftest*
   7868 
   7869 fi
   7870 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7871 $as_echo "$lt_prog_compiler_pic_works" >&6; }
   7872 
   7873 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7874     case $lt_prog_compiler_pic in
   7875      "" | " "*) ;;
   7876      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7877      esac
   7878 else
   7879     lt_prog_compiler_pic=
   7880      lt_prog_compiler_can_build_shared=no
   7881 fi
   7882 
   7883 fi
   7884 case $host_os in
   7885   # For platforms which do not support PIC, -DPIC is meaningless:
   7886   *djgpp*)
   7887     lt_prog_compiler_pic=
   7888     ;;
   7889   *)
   7890     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7891     ;;
   7892 esac
   7893 
   7894 #
   7895 # Check to make sure the static flag actually works.
   7896 #
   7897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7898 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7900 if test "${lt_prog_compiler_static_works+set}" = set; then
   7901   $as_echo_n "(cached) " >&6
   7902 else
   7903   lt_prog_compiler_static_works=no
   7904    save_LDFLAGS="$LDFLAGS"
   7905    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7906    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7907    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7908      # The linker can only warn and ignore the option if not recognized
   7909      # So say no if there are warnings
   7910      if test -s conftest.err; then
   7911        # Append any errors to the config.log.
   7912        cat conftest.err 1>&5
   7913        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7914        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7915        if diff conftest.exp conftest.er2 >/dev/null; then
   7916          lt_prog_compiler_static_works=yes
   7917        fi
   7918      else
   7919        lt_prog_compiler_static_works=yes
   7920      fi
   7921    fi
   7922    $rm conftest*
   7923    LDFLAGS="$save_LDFLAGS"
   7924 
   7925 fi
   7926 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7927 $as_echo "$lt_prog_compiler_static_works" >&6; }
   7928 
   7929 if test x"$lt_prog_compiler_static_works" = xyes; then
   7930     :
   7931 else
   7932     lt_prog_compiler_static=
   7933 fi
   7934 
   7935 
   7936 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7937 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7938 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7939   $as_echo_n "(cached) " >&6
   7940 else
   7941   lt_cv_prog_compiler_c_o=no
   7942    $rm -r conftest 2>/dev/null
   7943    mkdir conftest
   7944    cd conftest
   7945    mkdir out
   7946    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7947 
   7948    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7949    # Insert the option either (1) after the last *FLAGS variable, or
   7950    # (2) before a word containing "conftest.", or (3) at the end.
   7951    # Note that $ac_compile itself does not contain backslashes and begins
   7952    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7953    lt_compile=`echo "$ac_compile" | $SED \
   7954    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7955    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7956    -e 's:$: $lt_compiler_flag:'`
   7957    (eval echo "\"\$as_me:7957: $lt_compile\"" >&5)
   7958    (eval "$lt_compile" 2>out/conftest.err)
   7959    ac_status=$?
   7960    cat out/conftest.err >&5
   7961    echo "$as_me:7961: \$? = $ac_status" >&5
   7962    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7963    then
   7964      # The compiler can only warn and ignore the option if not recognized
   7965      # So say no if there are warnings
   7966      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7967      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7968      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7969        lt_cv_prog_compiler_c_o=yes
   7970      fi
   7971    fi
   7972    chmod u+w . 2>&5
   7973    $rm conftest*
   7974    # SGI C++ compiler will create directory out/ii_files/ for
   7975    # template instantiation
   7976    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7977    $rm out/* && rmdir out
   7978    cd ..
   7979    rmdir conftest
   7980    $rm conftest*
   7981 
   7982 fi
   7983 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7984 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7985 
   7986 
   7987 hard_links="nottested"
   7988 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7989   # do not overwrite the value of need_locks provided by the user
   7990   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7991 $as_echo_n "checking if we can lock with hard links... " >&6; }
   7992   hard_links=yes
   7993   $rm conftest*
   7994   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7995   touch conftest.a
   7996   ln conftest.a conftest.b 2>&5 || hard_links=no
   7997   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7998   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   7999 $as_echo "$hard_links" >&6; }
   8000   if test "$hard_links" = no; then
   8001     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8002 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8003     need_locks=warn
   8004   fi
   8005 else
   8006   need_locks=no
   8007 fi
   8008 
   8009 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8010 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8011 
   8012   runpath_var=
   8013   allow_undefined_flag=
   8014   enable_shared_with_static_runtimes=no
   8015   archive_cmds=
   8016   archive_expsym_cmds=
   8017   old_archive_From_new_cmds=
   8018   old_archive_from_expsyms_cmds=
   8019   export_dynamic_flag_spec=
   8020   whole_archive_flag_spec=
   8021   thread_safe_flag_spec=
   8022   hardcode_libdir_flag_spec=
   8023   hardcode_libdir_flag_spec_ld=
   8024   hardcode_libdir_separator=
   8025   hardcode_direct=no
   8026   hardcode_minus_L=no
   8027   hardcode_shlibpath_var=unsupported
   8028   link_all_deplibs=unknown
   8029   hardcode_automatic=no
   8030   module_cmds=
   8031   module_expsym_cmds=
   8032   always_export_symbols=no
   8033   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8034   # include_expsyms should be a list of space-separated symbols to be *always*
   8035   # included in the symbol list
   8036   include_expsyms=
   8037   # exclude_expsyms can be an extended regexp of symbols to exclude
   8038   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8039   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8040   # as well as any symbol that contains `d'.
   8041   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   8042   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8043   # platforms (ab)use it in PIC code, but their linkers get confused if
   8044   # the symbol is explicitly referenced.  Since portable code cannot
   8045   # rely on this symbol name, it's probably fine to never include it in
   8046   # preloaded symbol tables.
   8047   extract_expsyms_cmds=
   8048   # Just being paranoid about ensuring that cc_basename is set.
   8049   for cc_temp in $compiler""; do
   8050   case $cc_temp in
   8051     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8052     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8053     \-*) ;;
   8054     *) break;;
   8055   esac
   8056 done
   8057 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8058 
   8059   case $host_os in
   8060   cygwin* | mingw* | pw32*)
   8061     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8062     # When not using gcc, we currently assume that we are using
   8063     # Microsoft Visual C++.
   8064     if test "$GCC" != yes; then
   8065       with_gnu_ld=no
   8066     fi
   8067     ;;
   8068   interix*)
   8069     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8070     with_gnu_ld=yes
   8071     ;;
   8072   openbsd*)
   8073     with_gnu_ld=no
   8074     ;;
   8075   esac
   8076 
   8077   ld_shlibs=yes
   8078   if test "$with_gnu_ld" = yes; then
   8079     # If archive_cmds runs LD, not CC, wlarc should be empty
   8080     wlarc='${wl}'
   8081 
   8082     # Set some defaults for GNU ld with shared library support. These
   8083     # are reset later if shared libraries are not supported. Putting them
   8084     # here allows them to be overridden if necessary.
   8085     runpath_var=LD_RUN_PATH
   8086     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8087     export_dynamic_flag_spec='${wl}--export-dynamic'
   8088     # ancient GNU ld didn't support --whole-archive et. al.
   8089     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8090 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8091       else
   8092   	whole_archive_flag_spec=
   8093     fi
   8094     supports_anon_versioning=no
   8095     case `$LD -v 2>/dev/null` in
   8096       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8097       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8098       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8099       *\ 2.11.*) ;; # other 2.11 versions
   8100       *) supports_anon_versioning=yes ;;
   8101     esac
   8102 
   8103     # See if GNU ld supports shared libraries.
   8104     case $host_os in
   8105     aix3* | aix4* | aix5*)
   8106       # On AIX/PPC, the GNU linker is very broken
   8107       if test "$host_cpu" != ia64; then
   8108 	ld_shlibs=no
   8109 	cat <<EOF 1>&2
   8110 
   8111 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8112 *** to be unable to reliably create shared libraries on AIX.
   8113 *** Therefore, libtool is disabling shared libraries support.  If you
   8114 *** really care for shared libraries, you may want to modify your PATH
   8115 *** so that a non-GNU linker is found, and then restart.
   8116 
   8117 EOF
   8118       fi
   8119       ;;
   8120 
   8121     amigaos*)
   8122       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)'
   8123       hardcode_libdir_flag_spec='-L$libdir'
   8124       hardcode_minus_L=yes
   8125 
   8126       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8127       # that the semantics of dynamic libraries on AmigaOS, at least up
   8128       # to version 4, is to share data among multiple programs linked
   8129       # with the same dynamic library.  Since this doesn't match the
   8130       # behavior of shared libraries on other platforms, we can't use
   8131       # them.
   8132       ld_shlibs=no
   8133       ;;
   8134 
   8135     beos*)
   8136       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8137 	allow_undefined_flag=unsupported
   8138 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8139 	# support --undefined.  This deserves some investigation.  FIXME
   8140 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8141       else
   8142 	ld_shlibs=no
   8143       fi
   8144       ;;
   8145 
   8146     cygwin* | mingw* | pw32*)
   8147       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8148       # as there is no search path for DLLs.
   8149       hardcode_libdir_flag_spec='-L$libdir'
   8150       allow_undefined_flag=unsupported
   8151       always_export_symbols=no
   8152       enable_shared_with_static_runtimes=yes
   8153       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8154 
   8155       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8156         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8157 	# If the export-symbols file already is a .def file (1st line
   8158 	# is EXPORTS), use it as is; otherwise, prepend...
   8159 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8160 	  cp $export_symbols $output_objdir/$soname.def;
   8161 	else
   8162 	  echo EXPORTS > $output_objdir/$soname.def;
   8163 	  cat $export_symbols >> $output_objdir/$soname.def;
   8164 	fi~
   8165 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8166       else
   8167 	ld_shlibs=no
   8168       fi
   8169       ;;
   8170 
   8171     interix[3-9]*)
   8172       hardcode_direct=no
   8173       hardcode_shlibpath_var=no
   8174       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8175       export_dynamic_flag_spec='${wl}-E'
   8176       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8177       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8178       # default) and relocated if they conflict, which is a slow very memory
   8179       # consuming and fragmenting process.  To avoid this, we pick a random,
   8180       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8181       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8182       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8183       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'
   8184       ;;
   8185 
   8186     gnu* | linux* | k*bsd*-gnu)
   8187       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8188 	tmp_addflag=
   8189 	case $cc_basename,$host_cpu in
   8190 	pgcc*)				# Portland Group C compiler
   8191 	  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'
   8192 	  tmp_addflag=' $pic_flag'
   8193 	  ;;
   8194 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8195 	  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'
   8196 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8197 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8198 	  tmp_addflag=' -i_dynamic' ;;
   8199 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8200 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8201 	ifc* | ifort*)			# Intel Fortran compiler
   8202 	  tmp_addflag=' -nofor_main' ;;
   8203 	esac
   8204 	case `$CC -V 2>&1 | sed 5q` in
   8205 	*Sun\ C*)			# Sun C 5.9
   8206 	  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'
   8207 	  tmp_sharedflag='-G' ;;
   8208 	*Sun\ F*)			# Sun Fortran 8.3
   8209 	  tmp_sharedflag='-G' ;;
   8210 	*)
   8211 	  tmp_sharedflag='-shared' ;;
   8212 	esac
   8213 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8214 
   8215 	if test $supports_anon_versioning = yes; then
   8216 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8217   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8218   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8219 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8220 	fi
   8221       else
   8222 	ld_shlibs=no
   8223       fi
   8224       ;;
   8225 
   8226     netbsd*)
   8227       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8228 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8229 	wlarc=
   8230       else
   8231 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8232 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8233       fi
   8234       ;;
   8235 
   8236     solaris*)
   8237       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8238 	ld_shlibs=no
   8239 	cat <<EOF 1>&2
   8240 
   8241 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8242 *** create shared libraries on Solaris systems.  Therefore, libtool
   8243 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8244 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8245 *** your PATH or compiler configuration so that the native linker is
   8246 *** used, and then restart.
   8247 
   8248 EOF
   8249       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8250 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8251 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8252       else
   8253 	ld_shlibs=no
   8254       fi
   8255       ;;
   8256 
   8257     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8258       case `$LD -v 2>&1` in
   8259         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8260 	ld_shlibs=no
   8261 	cat <<_LT_EOF 1>&2
   8262 
   8263 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8264 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8265 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8266 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8267 *** your PATH or compiler configuration so that the native linker is
   8268 *** used, and then restart.
   8269 
   8270 _LT_EOF
   8271 	;;
   8272 	*)
   8273 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8274 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8275 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8276 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8277 	  else
   8278 	    ld_shlibs=no
   8279 	  fi
   8280 	;;
   8281       esac
   8282       ;;
   8283 
   8284     sunos4*)
   8285       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8286       wlarc=
   8287       hardcode_direct=yes
   8288       hardcode_shlibpath_var=no
   8289       ;;
   8290 
   8291     *)
   8292       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8293 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8294 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8295       else
   8296 	ld_shlibs=no
   8297       fi
   8298       ;;
   8299     esac
   8300 
   8301     if test "$ld_shlibs" = no; then
   8302       runpath_var=
   8303       hardcode_libdir_flag_spec=
   8304       export_dynamic_flag_spec=
   8305       whole_archive_flag_spec=
   8306     fi
   8307   else
   8308     # PORTME fill in a description of your system's linker (not GNU ld)
   8309     case $host_os in
   8310     aix3*)
   8311       allow_undefined_flag=unsupported
   8312       always_export_symbols=yes
   8313       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'
   8314       # Note: this linker hardcodes the directories in LIBPATH if there
   8315       # are no directories specified by -L.
   8316       hardcode_minus_L=yes
   8317       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8318 	# Neither direct hardcoding nor static linking is supported with a
   8319 	# broken collect2.
   8320 	hardcode_direct=unsupported
   8321       fi
   8322       ;;
   8323 
   8324     aix4* | aix5*)
   8325       if test "$host_cpu" = ia64; then
   8326 	# On IA64, the linker does run time linking by default, so we don't
   8327 	# have to do anything special.
   8328 	aix_use_runtimelinking=no
   8329 	exp_sym_flag='-Bexport'
   8330 	no_entry_flag=""
   8331       else
   8332 	# If we're using GNU nm, then we don't want the "-C" option.
   8333 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8334 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8335 	  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'
   8336 	else
   8337 	  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'
   8338 	fi
   8339 	aix_use_runtimelinking=no
   8340 
   8341 	# Test if we are trying to use run time linking or normal
   8342 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8343 	# need to do runtime linking.
   8344 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   8345 	  for ld_flag in $LDFLAGS; do
   8346   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8347   	    aix_use_runtimelinking=yes
   8348   	    break
   8349   	  fi
   8350 	  done
   8351 	  ;;
   8352 	esac
   8353 
   8354 	exp_sym_flag='-bexport'
   8355 	no_entry_flag='-bnoentry'
   8356       fi
   8357 
   8358       # When large executables or shared objects are built, AIX ld can
   8359       # have problems creating the table of contents.  If linking a library
   8360       # or program results in "error TOC overflow" add -mminimal-toc to
   8361       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8362       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8363 
   8364       archive_cmds=''
   8365       hardcode_direct=yes
   8366       hardcode_libdir_separator=':'
   8367       link_all_deplibs=yes
   8368 
   8369       if test "$GCC" = yes; then
   8370 	case $host_os in aix4.[012]|aix4.[012].*)
   8371 	# We only want to do this on AIX 4.2 and lower, the check
   8372 	# below for broken collect2 doesn't work under 4.3+
   8373 	  collect2name=`${CC} -print-prog-name=collect2`
   8374 	  if test -f "$collect2name" && \
   8375   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8376 	  then
   8377   	  # We have reworked collect2
   8378   	  :
   8379 	  else
   8380   	  # We have old collect2
   8381   	  hardcode_direct=unsupported
   8382   	  # It fails to find uninstalled libraries when the uninstalled
   8383   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8384   	  # to unsupported forces relinking
   8385   	  hardcode_minus_L=yes
   8386   	  hardcode_libdir_flag_spec='-L$libdir'
   8387   	  hardcode_libdir_separator=
   8388 	  fi
   8389 	  ;;
   8390 	esac
   8391 	shared_flag='-shared'
   8392 	if test "$aix_use_runtimelinking" = yes; then
   8393 	  shared_flag="$shared_flag "'${wl}-G'
   8394 	fi
   8395       else
   8396 	# not using gcc
   8397 	if test "$host_cpu" = ia64; then
   8398   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8399   	# chokes on -Wl,-G. The following line is correct:
   8400 	  shared_flag='-G'
   8401 	else
   8402 	  if test "$aix_use_runtimelinking" = yes; then
   8403 	    shared_flag='${wl}-G'
   8404 	  else
   8405 	    shared_flag='${wl}-bM:SRE'
   8406 	  fi
   8407 	fi
   8408       fi
   8409 
   8410       # It seems that -bexpall does not export symbols beginning with
   8411       # underscore (_), so it is better to generate a list of symbols to export.
   8412       always_export_symbols=yes
   8413       if test "$aix_use_runtimelinking" = yes; then
   8414 	# Warning - without using the other runtime loading flags (-brtl),
   8415 	# -berok will link without error, but may produce a broken library.
   8416 	allow_undefined_flag='-berok'
   8417        # Determine the default libpath from the value encoded in an empty executable.
   8418        cat >conftest.$ac_ext <<_ACEOF
   8419 /* confdefs.h.  */
   8420 _ACEOF
   8421 cat confdefs.h >>conftest.$ac_ext
   8422 cat >>conftest.$ac_ext <<_ACEOF
   8423 /* end confdefs.h.  */
   8424 
   8425 int
   8426 main ()
   8427 {
   8428 
   8429   ;
   8430   return 0;
   8431 }
   8432 _ACEOF
   8433 rm -f conftest.$ac_objext conftest$ac_exeext
   8434 if { (ac_try="$ac_link"
   8435 case "(($ac_try" in
   8436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8437   *) ac_try_echo=$ac_try;;
   8438 esac
   8439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8440 $as_echo "$ac_try_echo") >&5
   8441   (eval "$ac_link") 2>conftest.er1
   8442   ac_status=$?
   8443   grep -v '^ *+' conftest.er1 >conftest.err
   8444   rm -f conftest.er1
   8445   cat conftest.err >&5
   8446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8447   (exit $ac_status); } && {
   8448 	 test -z "$ac_c_werror_flag" ||
   8449 	 test ! -s conftest.err
   8450        } && test -s conftest$ac_exeext && {
   8451 	 test "$cross_compiling" = yes ||
   8452 	 $as_test_x conftest$ac_exeext
   8453        }; then
   8454 
   8455 lt_aix_libpath_sed='
   8456     /Import File Strings/,/^$/ {
   8457 	/^0/ {
   8458 	    s/^0  *\(.*\)$/\1/
   8459 	    p
   8460 	}
   8461     }'
   8462 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8463 # Check for a 64-bit object if we didn't find anything.
   8464 if test -z "$aix_libpath"; then
   8465   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8466 fi
   8467 else
   8468   $as_echo "$as_me: failed program was:" >&5
   8469 sed 's/^/| /' conftest.$ac_ext >&5
   8470 
   8471 
   8472 fi
   8473 
   8474 rm -rf conftest.dSYM
   8475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8476       conftest$ac_exeext conftest.$ac_ext
   8477 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8478 
   8479        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8480 	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"
   8481        else
   8482 	if test "$host_cpu" = ia64; then
   8483 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8484 	  allow_undefined_flag="-z nodefs"
   8485 	  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"
   8486 	else
   8487 	 # Determine the default libpath from the value encoded in an empty executable.
   8488 	 cat >conftest.$ac_ext <<_ACEOF
   8489 /* confdefs.h.  */
   8490 _ACEOF
   8491 cat confdefs.h >>conftest.$ac_ext
   8492 cat >>conftest.$ac_ext <<_ACEOF
   8493 /* end confdefs.h.  */
   8494 
   8495 int
   8496 main ()
   8497 {
   8498 
   8499   ;
   8500   return 0;
   8501 }
   8502 _ACEOF
   8503 rm -f conftest.$ac_objext conftest$ac_exeext
   8504 if { (ac_try="$ac_link"
   8505 case "(($ac_try" in
   8506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8507   *) ac_try_echo=$ac_try;;
   8508 esac
   8509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8510 $as_echo "$ac_try_echo") >&5
   8511   (eval "$ac_link") 2>conftest.er1
   8512   ac_status=$?
   8513   grep -v '^ *+' conftest.er1 >conftest.err
   8514   rm -f conftest.er1
   8515   cat conftest.err >&5
   8516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8517   (exit $ac_status); } && {
   8518 	 test -z "$ac_c_werror_flag" ||
   8519 	 test ! -s conftest.err
   8520        } && test -s conftest$ac_exeext && {
   8521 	 test "$cross_compiling" = yes ||
   8522 	 $as_test_x conftest$ac_exeext
   8523        }; then
   8524 
   8525 lt_aix_libpath_sed='
   8526     /Import File Strings/,/^$/ {
   8527 	/^0/ {
   8528 	    s/^0  *\(.*\)$/\1/
   8529 	    p
   8530 	}
   8531     }'
   8532 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8533 # Check for a 64-bit object if we didn't find anything.
   8534 if test -z "$aix_libpath"; then
   8535   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8536 fi
   8537 else
   8538   $as_echo "$as_me: failed program was:" >&5
   8539 sed 's/^/| /' conftest.$ac_ext >&5
   8540 
   8541 
   8542 fi
   8543 
   8544 rm -rf conftest.dSYM
   8545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8546       conftest$ac_exeext conftest.$ac_ext
   8547 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8548 
   8549 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8550 	  # Warning - without using the other run time loading flags,
   8551 	  # -berok will link without error, but may produce a broken library.
   8552 	  no_undefined_flag=' ${wl}-bernotok'
   8553 	  allow_undefined_flag=' ${wl}-berok'
   8554 	  # Exported symbols can be pulled into shared objects from archives
   8555 	  whole_archive_flag_spec='$convenience'
   8556 	  archive_cmds_need_lc=yes
   8557 	  # This is similar to how AIX traditionally builds its shared libraries.
   8558 	  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'
   8559 	fi
   8560       fi
   8561       ;;
   8562 
   8563     amigaos*)
   8564       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)'
   8565       hardcode_libdir_flag_spec='-L$libdir'
   8566       hardcode_minus_L=yes
   8567       # see comment about different semantics on the GNU ld section
   8568       ld_shlibs=no
   8569       ;;
   8570 
   8571     bsdi[45]*)
   8572       export_dynamic_flag_spec=-rdynamic
   8573       ;;
   8574 
   8575     cygwin* | mingw* | pw32*)
   8576       # When not using gcc, we currently assume that we are using
   8577       # Microsoft Visual C++.
   8578       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8579       # no search path for DLLs.
   8580       hardcode_libdir_flag_spec=' '
   8581       allow_undefined_flag=unsupported
   8582       # Tell ltmain to make .lib files, not .a files.
   8583       libext=lib
   8584       # Tell ltmain to make .dll files, not .so files.
   8585       shrext_cmds=".dll"
   8586       # FIXME: Setting linknames here is a bad hack.
   8587       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8588       # The linker will automatically build a .lib file if we build a DLL.
   8589       old_archive_From_new_cmds='true'
   8590       # FIXME: Should let the user specify the lib program.
   8591       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8592       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8593       enable_shared_with_static_runtimes=yes
   8594       ;;
   8595 
   8596     darwin* | rhapsody*)
   8597       case $host_os in
   8598         rhapsody* | darwin1.[012])
   8599          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8600          ;;
   8601        *) # Darwin 1.3 on
   8602          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8603            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8604          else
   8605            case ${MACOSX_DEPLOYMENT_TARGET} in
   8606              10.[012])
   8607                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8608                ;;
   8609              10.*)
   8610                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8611                ;;
   8612            esac
   8613          fi
   8614          ;;
   8615       esac
   8616       archive_cmds_need_lc=no
   8617       hardcode_direct=no
   8618       hardcode_automatic=yes
   8619       hardcode_shlibpath_var=unsupported
   8620       whole_archive_flag_spec=''
   8621       link_all_deplibs=yes
   8622     if test "$GCC" = yes ; then
   8623     	output_verbose_link_cmd='echo'
   8624         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8625       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8626       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8627       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8628       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}'
   8629     else
   8630       case $cc_basename in
   8631         xlc*)
   8632          output_verbose_link_cmd='echo'
   8633          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8634          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8635           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8636          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}'
   8637           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}'
   8638           ;;
   8639        *)
   8640          ld_shlibs=no
   8641           ;;
   8642       esac
   8643     fi
   8644       ;;
   8645 
   8646     dgux*)
   8647       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8648       hardcode_libdir_flag_spec='-L$libdir'
   8649       hardcode_shlibpath_var=no
   8650       ;;
   8651 
   8652     freebsd1*)
   8653       ld_shlibs=no
   8654       ;;
   8655 
   8656     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8657     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8658     # does not break anything, and helps significantly (at the cost of a little
   8659     # extra space).
   8660     freebsd2.2*)
   8661       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8662       hardcode_libdir_flag_spec='-R$libdir'
   8663       hardcode_direct=yes
   8664       hardcode_shlibpath_var=no
   8665       ;;
   8666 
   8667     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8668     freebsd2*)
   8669       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8670       hardcode_direct=yes
   8671       hardcode_minus_L=yes
   8672       hardcode_shlibpath_var=no
   8673       ;;
   8674 
   8675     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8676     freebsd* | dragonfly*)
   8677       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8678       hardcode_libdir_flag_spec='-R$libdir'
   8679       hardcode_direct=yes
   8680       hardcode_shlibpath_var=no
   8681       ;;
   8682 
   8683     hpux9*)
   8684       if test "$GCC" = yes; then
   8685 	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'
   8686       else
   8687 	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'
   8688       fi
   8689       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8690       hardcode_libdir_separator=:
   8691       hardcode_direct=yes
   8692 
   8693       # hardcode_minus_L: Not really in the search PATH,
   8694       # but as the default location of the library.
   8695       hardcode_minus_L=yes
   8696       export_dynamic_flag_spec='${wl}-E'
   8697       ;;
   8698 
   8699     hpux10*)
   8700       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8701 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8702       else
   8703 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8704       fi
   8705       if test "$with_gnu_ld" = no; then
   8706 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8707 	hardcode_libdir_separator=:
   8708 
   8709 	hardcode_direct=yes
   8710 	export_dynamic_flag_spec='${wl}-E'
   8711 
   8712 	# hardcode_minus_L: Not really in the search PATH,
   8713 	# but as the default location of the library.
   8714 	hardcode_minus_L=yes
   8715       fi
   8716       ;;
   8717 
   8718     hpux11*)
   8719       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8720 	case $host_cpu in
   8721 	hppa*64*)
   8722 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8723 	  ;;
   8724 	ia64*)
   8725 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8726 	  ;;
   8727 	*)
   8728 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8729 	  ;;
   8730 	esac
   8731       else
   8732 	case $host_cpu in
   8733 	hppa*64*)
   8734 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8735 	  ;;
   8736 	ia64*)
   8737 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8738 	  ;;
   8739 	*)
   8740 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8741 	  ;;
   8742 	esac
   8743       fi
   8744       if test "$with_gnu_ld" = no; then
   8745 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8746 	hardcode_libdir_separator=:
   8747 
   8748 	case $host_cpu in
   8749 	hppa*64*|ia64*)
   8750 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8751 	  hardcode_direct=no
   8752 	  hardcode_shlibpath_var=no
   8753 	  ;;
   8754 	*)
   8755 	  hardcode_direct=yes
   8756 	  export_dynamic_flag_spec='${wl}-E'
   8757 
   8758 	  # hardcode_minus_L: Not really in the search PATH,
   8759 	  # but as the default location of the library.
   8760 	  hardcode_minus_L=yes
   8761 	  ;;
   8762 	esac
   8763       fi
   8764       ;;
   8765 
   8766     irix5* | irix6* | nonstopux*)
   8767       if test "$GCC" = yes; then
   8768 	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'
   8769       else
   8770 	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'
   8771 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8772       fi
   8773       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8774       hardcode_libdir_separator=:
   8775       link_all_deplibs=yes
   8776       ;;
   8777 
   8778     netbsd*)
   8779       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8780 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8781       else
   8782 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8783       fi
   8784       hardcode_libdir_flag_spec='-R$libdir'
   8785       hardcode_direct=yes
   8786       hardcode_shlibpath_var=no
   8787       ;;
   8788 
   8789     newsos6)
   8790       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8791       hardcode_direct=yes
   8792       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8793       hardcode_libdir_separator=:
   8794       hardcode_shlibpath_var=no
   8795       ;;
   8796 
   8797     openbsd*)
   8798       if test -f /usr/libexec/ld.so; then
   8799 	hardcode_direct=yes
   8800 	hardcode_shlibpath_var=no
   8801 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8802 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8803 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8804 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8805 	  export_dynamic_flag_spec='${wl}-E'
   8806 	else
   8807 	  case $host_os in
   8808 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8809 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8810 	     hardcode_libdir_flag_spec='-R$libdir'
   8811 	     ;;
   8812 	   *)
   8813 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8814 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8815 	     ;;
   8816 	  esac
   8817         fi
   8818       else
   8819 	ld_shlibs=no
   8820       fi
   8821       ;;
   8822 
   8823     os2*)
   8824       hardcode_libdir_flag_spec='-L$libdir'
   8825       hardcode_minus_L=yes
   8826       allow_undefined_flag=unsupported
   8827       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'
   8828       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8829       ;;
   8830 
   8831     osf3*)
   8832       if test "$GCC" = yes; then
   8833 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8834 	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'
   8835       else
   8836 	allow_undefined_flag=' -expect_unresolved \*'
   8837 	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'
   8838       fi
   8839       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8840       hardcode_libdir_separator=:
   8841       ;;
   8842 
   8843     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8844       if test "$GCC" = yes; then
   8845 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8846 	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'
   8847 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8848       else
   8849 	allow_undefined_flag=' -expect_unresolved \*'
   8850 	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'
   8851 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8852 	$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'
   8853 
   8854 	# Both c and cxx compiler support -rpath directly
   8855 	hardcode_libdir_flag_spec='-rpath $libdir'
   8856       fi
   8857       hardcode_libdir_separator=:
   8858       ;;
   8859 
   8860     solaris*)
   8861       no_undefined_flag=' -z text'
   8862       if test "$GCC" = yes; then
   8863 	wlarc='${wl}'
   8864 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8865 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8866 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8867       else
   8868 	wlarc=''
   8869 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8870 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8871   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8872       fi
   8873       hardcode_libdir_flag_spec='-R$libdir'
   8874       hardcode_shlibpath_var=no
   8875       case $host_os in
   8876       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8877       *)
   8878 	# The compiler driver will combine and reorder linker options,
   8879 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8880 	# but is careful enough not to reorder.
   8881  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8882 	if test "$GCC" = yes; then
   8883 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8884 	else
   8885 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8886 	fi
   8887 	;;
   8888       esac
   8889       link_all_deplibs=yes
   8890       ;;
   8891 
   8892     sunos4*)
   8893       if test "x$host_vendor" = xsequent; then
   8894 	# Use $CC to link under sequent, because it throws in some extra .o
   8895 	# files that make .init and .fini sections work.
   8896 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8897       else
   8898 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8899       fi
   8900       hardcode_libdir_flag_spec='-L$libdir'
   8901       hardcode_direct=yes
   8902       hardcode_minus_L=yes
   8903       hardcode_shlibpath_var=no
   8904       ;;
   8905 
   8906     sysv4)
   8907       case $host_vendor in
   8908 	sni)
   8909 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8910 	  hardcode_direct=yes # is this really true???
   8911 	;;
   8912 	siemens)
   8913 	  ## LD is ld it makes a PLAMLIB
   8914 	  ## CC just makes a GrossModule.
   8915 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8916 	  reload_cmds='$CC -r -o $output$reload_objs'
   8917 	  hardcode_direct=no
   8918         ;;
   8919 	motorola)
   8920 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8921 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8922 	;;
   8923       esac
   8924       runpath_var='LD_RUN_PATH'
   8925       hardcode_shlibpath_var=no
   8926       ;;
   8927 
   8928     sysv4.3*)
   8929       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8930       hardcode_shlibpath_var=no
   8931       export_dynamic_flag_spec='-Bexport'
   8932       ;;
   8933 
   8934     sysv4*MP*)
   8935       if test -d /usr/nec; then
   8936 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8937 	hardcode_shlibpath_var=no
   8938 	runpath_var=LD_RUN_PATH
   8939 	hardcode_runpath_var=yes
   8940 	ld_shlibs=yes
   8941       fi
   8942       ;;
   8943 
   8944     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8945       no_undefined_flag='${wl}-z,text'
   8946       archive_cmds_need_lc=no
   8947       hardcode_shlibpath_var=no
   8948       runpath_var='LD_RUN_PATH'
   8949 
   8950       if test "$GCC" = yes; then
   8951 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8952 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8953       else
   8954 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8955 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8956       fi
   8957       ;;
   8958 
   8959     sysv5* | sco3.2v5* | sco5v6*)
   8960       # Note: We can NOT use -z defs as we might desire, because we do not
   8961       # link with -lc, and that would cause any symbols used from libc to
   8962       # always be unresolved, which means just about no library would
   8963       # ever link correctly.  If we're not using GNU ld we use -z text
   8964       # though, which does catch some bad symbols but isn't as heavy-handed
   8965       # as -z defs.
   8966       no_undefined_flag='${wl}-z,text'
   8967       allow_undefined_flag='${wl}-z,nodefs'
   8968       archive_cmds_need_lc=no
   8969       hardcode_shlibpath_var=no
   8970       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8971       hardcode_libdir_separator=':'
   8972       link_all_deplibs=yes
   8973       export_dynamic_flag_spec='${wl}-Bexport'
   8974       runpath_var='LD_RUN_PATH'
   8975 
   8976       if test "$GCC" = yes; then
   8977 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8978 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8979       else
   8980 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8981 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8982       fi
   8983       ;;
   8984 
   8985     uts4*)
   8986       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8987       hardcode_libdir_flag_spec='-L$libdir'
   8988       hardcode_shlibpath_var=no
   8989       ;;
   8990 
   8991     *)
   8992       ld_shlibs=no
   8993       ;;
   8994     esac
   8995   fi
   8996 
   8997 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8998 $as_echo "$ld_shlibs" >&6; }
   8999 test "$ld_shlibs" = no && can_build_shared=no
   9000 
   9001 #
   9002 # Do we need to explicitly link libc?
   9003 #
   9004 case "x$archive_cmds_need_lc" in
   9005 x|xyes)
   9006   # Assume -lc should be added
   9007   archive_cmds_need_lc=yes
   9008 
   9009   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9010     case $archive_cmds in
   9011     *'~'*)
   9012       # FIXME: we may have to deal with multi-command sequences.
   9013       ;;
   9014     '$CC '*)
   9015       # Test whether the compiler implicitly links with -lc since on some
   9016       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9017       # to ld, don't add -lc before -lgcc.
   9018       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9019 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9020       $rm conftest*
   9021       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9022 
   9023       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9024   (eval $ac_compile) 2>&5
   9025   ac_status=$?
   9026   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9027   (exit $ac_status); } 2>conftest.err; then
   9028         soname=conftest
   9029         lib=conftest
   9030         libobjs=conftest.$ac_objext
   9031         deplibs=
   9032         wl=$lt_prog_compiler_wl
   9033 	pic_flag=$lt_prog_compiler_pic
   9034         compiler_flags=-v
   9035         linker_flags=-v
   9036         verstring=
   9037         output_objdir=.
   9038         libname=conftest
   9039         lt_save_allow_undefined_flag=$allow_undefined_flag
   9040         allow_undefined_flag=
   9041         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9042   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9043   ac_status=$?
   9044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9045   (exit $ac_status); }
   9046         then
   9047 	  archive_cmds_need_lc=no
   9048         else
   9049 	  archive_cmds_need_lc=yes
   9050         fi
   9051         allow_undefined_flag=$lt_save_allow_undefined_flag
   9052       else
   9053         cat conftest.err 1>&5
   9054       fi
   9055       $rm conftest*
   9056       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9057 $as_echo "$archive_cmds_need_lc" >&6; }
   9058       ;;
   9059     esac
   9060   fi
   9061   ;;
   9062 esac
   9063 
   9064 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9065 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9066 library_names_spec=
   9067 libname_spec='lib$name'
   9068 soname_spec=
   9069 shrext_cmds=".so"
   9070 postinstall_cmds=
   9071 postuninstall_cmds=
   9072 finish_cmds=
   9073 finish_eval=
   9074 shlibpath_var=
   9075 shlibpath_overrides_runpath=unknown
   9076 version_type=none
   9077 dynamic_linker="$host_os ld.so"
   9078 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9079 
   9080 if test "$GCC" = yes; then
   9081   case $host_os in
   9082     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9083     *) lt_awk_arg="/^libraries:/" ;;
   9084   esac
   9085   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9086   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9087     # if the path contains ";" then we assume it to be the separator
   9088     # otherwise default to the standard path separator (i.e. ":") - it is
   9089     # assumed that no part of a normal pathname contains ";" but that should
   9090     # okay in the real world where ";" in dirpaths is itself problematic.
   9091     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9092   else
   9093     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9094   fi
   9095   # Ok, now we have the path, separated by spaces, we can step through it
   9096   # and add multilib dir if necessary.
   9097   lt_tmp_lt_search_path_spec=
   9098   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9099   for lt_sys_path in $lt_search_path_spec; do
   9100     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9101       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9102     else
   9103       test -d "$lt_sys_path" && \
   9104 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9105     fi
   9106   done
   9107   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9108 BEGIN {RS=" "; FS="/|\n";} {
   9109   lt_foo="";
   9110   lt_count=0;
   9111   for (lt_i = NF; lt_i > 0; lt_i--) {
   9112     if ($lt_i != "" && $lt_i != ".") {
   9113       if ($lt_i == "..") {
   9114         lt_count++;
   9115       } else {
   9116         if (lt_count == 0) {
   9117           lt_foo="/" $lt_i lt_foo;
   9118         } else {
   9119           lt_count--;
   9120         }
   9121       }
   9122     }
   9123   }
   9124   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9125   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9126 }'`
   9127   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9128 else
   9129   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9130 fi
   9131 need_lib_prefix=unknown
   9132 hardcode_into_libs=no
   9133 
   9134 # when you set need_version to no, make sure it does not cause -set_version
   9135 # flags to be left without arguments
   9136 need_version=unknown
   9137 
   9138 case $host_os in
   9139 aix3*)
   9140   version_type=linux
   9141   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9142   shlibpath_var=LIBPATH
   9143 
   9144   # AIX 3 has no versioning support, so we append a major version to the name.
   9145   soname_spec='${libname}${release}${shared_ext}$major'
   9146   ;;
   9147 
   9148 aix4* | aix5*)
   9149   version_type=linux
   9150   need_lib_prefix=no
   9151   need_version=no
   9152   hardcode_into_libs=yes
   9153   if test "$host_cpu" = ia64; then
   9154     # AIX 5 supports IA64
   9155     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9156     shlibpath_var=LD_LIBRARY_PATH
   9157   else
   9158     # With GCC up to 2.95.x, collect2 would create an import file
   9159     # for dependence libraries.  The import file would start with
   9160     # the line `#! .'.  This would cause the generated library to
   9161     # depend on `.', always an invalid library.  This was fixed in
   9162     # development snapshots of GCC prior to 3.0.
   9163     case $host_os in
   9164       aix4 | aix4.[01] | aix4.[01].*)
   9165       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9166 	   echo ' yes '
   9167 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9168 	:
   9169       else
   9170 	can_build_shared=no
   9171       fi
   9172       ;;
   9173     esac
   9174     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9175     # soname into executable. Probably we can add versioning support to
   9176     # collect2, so additional links can be useful in future.
   9177     if test "$aix_use_runtimelinking" = yes; then
   9178       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9179       # instead of lib<name>.a to let people know that these are not
   9180       # typical AIX shared libraries.
   9181       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9182     else
   9183       # We preserve .a as extension for shared libraries through AIX4.2
   9184       # and later when we are not doing run time linking.
   9185       library_names_spec='${libname}${release}.a $libname.a'
   9186       soname_spec='${libname}${release}${shared_ext}$major'
   9187     fi
   9188     shlibpath_var=LIBPATH
   9189   fi
   9190   ;;
   9191 
   9192 amigaos*)
   9193   library_names_spec='$libname.ixlibrary $libname.a'
   9194   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9195   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'
   9196   ;;
   9197 
   9198 beos*)
   9199   library_names_spec='${libname}${shared_ext}'
   9200   dynamic_linker="$host_os ld.so"
   9201   shlibpath_var=LIBRARY_PATH
   9202   ;;
   9203 
   9204 bsdi[45]*)
   9205   version_type=linux
   9206   need_version=no
   9207   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9208   soname_spec='${libname}${release}${shared_ext}$major'
   9209   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9210   shlibpath_var=LD_LIBRARY_PATH
   9211   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9212   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9213   # the default ld.so.conf also contains /usr/contrib/lib and
   9214   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9215   # libtool to hard-code these into programs
   9216   ;;
   9217 
   9218 cygwin* | mingw* | pw32*)
   9219   version_type=windows
   9220   shrext_cmds=".dll"
   9221   need_version=no
   9222   need_lib_prefix=no
   9223 
   9224   case $GCC,$host_os in
   9225   yes,cygwin* | yes,mingw* | yes,pw32*)
   9226     library_names_spec='$libname.dll.a'
   9227     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9228     postinstall_cmds='base_file=`basename \${file}`~
   9229       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9230       dldir=$destdir/`dirname \$dlpath`~
   9231       test -d \$dldir || mkdir -p \$dldir~
   9232       $install_prog $dir/$dlname \$dldir/$dlname~
   9233       chmod a+x \$dldir/$dlname'
   9234     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9235       dlpath=$dir/\$dldll~
   9236        $rm \$dlpath'
   9237     shlibpath_overrides_runpath=yes
   9238 
   9239     case $host_os in
   9240     cygwin*)
   9241       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9242       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9243       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9244       ;;
   9245     mingw*)
   9246       # MinGW DLLs use traditional 'lib' prefix
   9247       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9248       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9249       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9250         # It is most probably a Windows format PATH printed by
   9251         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9252         # path with ; separators, and with drive letters. We can handle the
   9253         # drive letters (cygwin fileutils understands them), so leave them,
   9254         # especially as we might pass files found there to a mingw objdump,
   9255         # which wouldn't understand a cygwinified path. Ahh.
   9256         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9257       else
   9258         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9259       fi
   9260       ;;
   9261     pw32*)
   9262       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9263       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9264       ;;
   9265     esac
   9266     ;;
   9267 
   9268   *)
   9269     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9270     ;;
   9271   esac
   9272   dynamic_linker='Win32 ld.exe'
   9273   # FIXME: first we should search . and the directory the executable is in
   9274   shlibpath_var=PATH
   9275   ;;
   9276 
   9277 darwin* | rhapsody*)
   9278   dynamic_linker="$host_os dyld"
   9279   version_type=darwin
   9280   need_lib_prefix=no
   9281   need_version=no
   9282   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9283   soname_spec='${libname}${release}${major}$shared_ext'
   9284   shlibpath_overrides_runpath=yes
   9285   shlibpath_var=DYLD_LIBRARY_PATH
   9286   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9287 
   9288   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9289   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9290   ;;
   9291 
   9292 dgux*)
   9293   version_type=linux
   9294   need_lib_prefix=no
   9295   need_version=no
   9296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9297   soname_spec='${libname}${release}${shared_ext}$major'
   9298   shlibpath_var=LD_LIBRARY_PATH
   9299   ;;
   9300 
   9301 freebsd1*)
   9302   dynamic_linker=no
   9303   ;;
   9304 
   9305 freebsd* | dragonfly*)
   9306   # DragonFly does not have aout.  When/if they implement a new
   9307   # versioning mechanism, adjust this.
   9308   if test -x /usr/bin/objformat; then
   9309     objformat=`/usr/bin/objformat`
   9310   else
   9311     case $host_os in
   9312     freebsd[123]*) objformat=aout ;;
   9313     *) objformat=elf ;;
   9314     esac
   9315   fi
   9316   version_type=freebsd-$objformat
   9317   case $version_type in
   9318     freebsd-elf*)
   9319       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9320       need_version=no
   9321       need_lib_prefix=no
   9322       ;;
   9323     freebsd-*)
   9324       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9325       need_version=yes
   9326       ;;
   9327   esac
   9328   shlibpath_var=LD_LIBRARY_PATH
   9329   case $host_os in
   9330   freebsd2*)
   9331     shlibpath_overrides_runpath=yes
   9332     ;;
   9333   freebsd3.[01]* | freebsdelf3.[01]*)
   9334     shlibpath_overrides_runpath=yes
   9335     hardcode_into_libs=yes
   9336     ;;
   9337   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9338   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9339     shlibpath_overrides_runpath=no
   9340     hardcode_into_libs=yes
   9341     ;;
   9342   *) # from 4.6 on, and DragonFly
   9343     shlibpath_overrides_runpath=yes
   9344     hardcode_into_libs=yes
   9345     ;;
   9346   esac
   9347   ;;
   9348 
   9349 gnu*)
   9350   version_type=linux
   9351   need_lib_prefix=no
   9352   need_version=no
   9353   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9354   soname_spec='${libname}${release}${shared_ext}$major'
   9355   shlibpath_var=LD_LIBRARY_PATH
   9356   hardcode_into_libs=yes
   9357   ;;
   9358 
   9359 hpux9* | hpux10* | hpux11*)
   9360   # Give a soname corresponding to the major version so that dld.sl refuses to
   9361   # link against other versions.
   9362   version_type=sunos
   9363   need_lib_prefix=no
   9364   need_version=no
   9365   case $host_cpu in
   9366   ia64*)
   9367     shrext_cmds='.so'
   9368     hardcode_into_libs=yes
   9369     dynamic_linker="$host_os dld.so"
   9370     shlibpath_var=LD_LIBRARY_PATH
   9371     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9372     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9373     soname_spec='${libname}${release}${shared_ext}$major'
   9374     if test "X$HPUX_IA64_MODE" = X32; then
   9375       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9376     else
   9377       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9378     fi
   9379     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9380     ;;
   9381    hppa*64*)
   9382      shrext_cmds='.sl'
   9383      hardcode_into_libs=yes
   9384      dynamic_linker="$host_os dld.sl"
   9385      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9386      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9387      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9388      soname_spec='${libname}${release}${shared_ext}$major'
   9389      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9390      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9391      ;;
   9392    *)
   9393     shrext_cmds='.sl'
   9394     dynamic_linker="$host_os dld.sl"
   9395     shlibpath_var=SHLIB_PATH
   9396     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9397     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9398     soname_spec='${libname}${release}${shared_ext}$major'
   9399     ;;
   9400   esac
   9401   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9402   postinstall_cmds='chmod 555 $lib'
   9403   ;;
   9404 
   9405 interix[3-9]*)
   9406   version_type=linux
   9407   need_lib_prefix=no
   9408   need_version=no
   9409   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9410   soname_spec='${libname}${release}${shared_ext}$major'
   9411   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9412   shlibpath_var=LD_LIBRARY_PATH
   9413   shlibpath_overrides_runpath=no
   9414   hardcode_into_libs=yes
   9415   ;;
   9416 
   9417 irix5* | irix6* | nonstopux*)
   9418   case $host_os in
   9419     nonstopux*) version_type=nonstopux ;;
   9420     *)
   9421 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9422 		version_type=linux
   9423 	else
   9424 		version_type=irix
   9425 	fi ;;
   9426   esac
   9427   need_lib_prefix=no
   9428   need_version=no
   9429   soname_spec='${libname}${release}${shared_ext}$major'
   9430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9431   case $host_os in
   9432   irix5* | nonstopux*)
   9433     libsuff= shlibsuff=
   9434     ;;
   9435   *)
   9436     case $LD in # libtool.m4 will add one of these switches to LD
   9437     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9438       libsuff= shlibsuff= libmagic=32-bit;;
   9439     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9440       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9441     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9442       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9443     *) libsuff= shlibsuff= libmagic=never-match;;
   9444     esac
   9445     ;;
   9446   esac
   9447   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9448   shlibpath_overrides_runpath=no
   9449   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9450   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9451   hardcode_into_libs=yes
   9452   ;;
   9453 
   9454 # No shared lib support for Linux oldld, aout, or coff.
   9455 linux*oldld* | linux*aout* | linux*coff*)
   9456   dynamic_linker=no
   9457   ;;
   9458 
   9459 # This must be Linux ELF.
   9460 linux* | k*bsd*-gnu)
   9461   version_type=linux
   9462   need_lib_prefix=no
   9463   need_version=no
   9464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9465   soname_spec='${libname}${release}${shared_ext}$major'
   9466   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9467   shlibpath_var=LD_LIBRARY_PATH
   9468   shlibpath_overrides_runpath=no
   9469   # This implies no fast_install, which is unacceptable.
   9470   # Some rework will be needed to allow for fast_install
   9471   # before this can be enabled.
   9472   hardcode_into_libs=yes
   9473 
   9474   # Append ld.so.conf contents to the search path
   9475   if test -f /etc/ld.so.conf; then
   9476     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' ' '`
   9477     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9478   fi
   9479 
   9480   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9481   # powerpc, because MkLinux only supported shared libraries with the
   9482   # GNU dynamic linker.  Since this was broken with cross compilers,
   9483   # most powerpc-linux boxes support dynamic linking these days and
   9484   # people can always --disable-shared, the test was removed, and we
   9485   # assume the GNU/Linux dynamic linker is in use.
   9486   dynamic_linker='GNU/Linux ld.so'
   9487   ;;
   9488 
   9489 netbsd*)
   9490   version_type=sunos
   9491   need_lib_prefix=no
   9492   need_version=no
   9493   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9494     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9495     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9496     dynamic_linker='NetBSD (a.out) ld.so'
   9497   else
   9498     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9499     soname_spec='${libname}${release}${shared_ext}$major'
   9500     dynamic_linker='NetBSD ld.elf_so'
   9501   fi
   9502   shlibpath_var=LD_LIBRARY_PATH
   9503   shlibpath_overrides_runpath=yes
   9504   hardcode_into_libs=yes
   9505   ;;
   9506 
   9507 newsos6)
   9508   version_type=linux
   9509   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9510   shlibpath_var=LD_LIBRARY_PATH
   9511   shlibpath_overrides_runpath=yes
   9512   ;;
   9513 
   9514 nto-qnx*)
   9515   version_type=linux
   9516   need_lib_prefix=no
   9517   need_version=no
   9518   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9519   soname_spec='${libname}${release}${shared_ext}$major'
   9520   shlibpath_var=LD_LIBRARY_PATH
   9521   shlibpath_overrides_runpath=yes
   9522   ;;
   9523 
   9524 openbsd*)
   9525   version_type=sunos
   9526   sys_lib_dlsearch_path_spec="/usr/lib"
   9527   need_lib_prefix=no
   9528   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9529   case $host_os in
   9530     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9531     *)                         need_version=no  ;;
   9532   esac
   9533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9534   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9535   shlibpath_var=LD_LIBRARY_PATH
   9536   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9537     case $host_os in
   9538       openbsd2.[89] | openbsd2.[89].*)
   9539 	shlibpath_overrides_runpath=no
   9540 	;;
   9541       *)
   9542 	shlibpath_overrides_runpath=yes
   9543 	;;
   9544       esac
   9545   else
   9546     shlibpath_overrides_runpath=yes
   9547   fi
   9548   ;;
   9549 
   9550 os2*)
   9551   libname_spec='$name'
   9552   shrext_cmds=".dll"
   9553   need_lib_prefix=no
   9554   library_names_spec='$libname${shared_ext} $libname.a'
   9555   dynamic_linker='OS/2 ld.exe'
   9556   shlibpath_var=LIBPATH
   9557   ;;
   9558 
   9559 osf3* | osf4* | osf5*)
   9560   version_type=osf
   9561   need_lib_prefix=no
   9562   need_version=no
   9563   soname_spec='${libname}${release}${shared_ext}$major'
   9564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9565   shlibpath_var=LD_LIBRARY_PATH
   9566   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9567   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9568   ;;
   9569 
   9570 rdos*)
   9571   dynamic_linker=no
   9572   ;;
   9573 
   9574 solaris*)
   9575   version_type=linux
   9576   need_lib_prefix=no
   9577   need_version=no
   9578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9579   soname_spec='${libname}${release}${shared_ext}$major'
   9580   shlibpath_var=LD_LIBRARY_PATH
   9581   shlibpath_overrides_runpath=yes
   9582   hardcode_into_libs=yes
   9583   # ldd complains unless libraries are executable
   9584   postinstall_cmds='chmod +x $lib'
   9585   ;;
   9586 
   9587 sunos4*)
   9588   version_type=sunos
   9589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9590   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9591   shlibpath_var=LD_LIBRARY_PATH
   9592   shlibpath_overrides_runpath=yes
   9593   if test "$with_gnu_ld" = yes; then
   9594     need_lib_prefix=no
   9595   fi
   9596   need_version=yes
   9597   ;;
   9598 
   9599 sysv4 | sysv4.3*)
   9600   version_type=linux
   9601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9602   soname_spec='${libname}${release}${shared_ext}$major'
   9603   shlibpath_var=LD_LIBRARY_PATH
   9604   case $host_vendor in
   9605     sni)
   9606       shlibpath_overrides_runpath=no
   9607       need_lib_prefix=no
   9608       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9609       runpath_var=LD_RUN_PATH
   9610       ;;
   9611     siemens)
   9612       need_lib_prefix=no
   9613       ;;
   9614     motorola)
   9615       need_lib_prefix=no
   9616       need_version=no
   9617       shlibpath_overrides_runpath=no
   9618       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9619       ;;
   9620   esac
   9621   ;;
   9622 
   9623 sysv4*MP*)
   9624   if test -d /usr/nec ;then
   9625     version_type=linux
   9626     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9627     soname_spec='$libname${shared_ext}.$major'
   9628     shlibpath_var=LD_LIBRARY_PATH
   9629   fi
   9630   ;;
   9631 
   9632 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9633   version_type=freebsd-elf
   9634   need_lib_prefix=no
   9635   need_version=no
   9636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9637   soname_spec='${libname}${release}${shared_ext}$major'
   9638   shlibpath_var=LD_LIBRARY_PATH
   9639   hardcode_into_libs=yes
   9640   if test "$with_gnu_ld" = yes; then
   9641     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9642     shlibpath_overrides_runpath=no
   9643   else
   9644     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9645     shlibpath_overrides_runpath=yes
   9646     case $host_os in
   9647       sco3.2v5*)
   9648         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9649 	;;
   9650     esac
   9651   fi
   9652   sys_lib_dlsearch_path_spec='/usr/lib'
   9653   ;;
   9654 
   9655 uts4*)
   9656   version_type=linux
   9657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9658   soname_spec='${libname}${release}${shared_ext}$major'
   9659   shlibpath_var=LD_LIBRARY_PATH
   9660   ;;
   9661 
   9662 *)
   9663   dynamic_linker=no
   9664   ;;
   9665 esac
   9666 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9667 $as_echo "$dynamic_linker" >&6; }
   9668 test "$dynamic_linker" = no && can_build_shared=no
   9669 
   9670 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9671 if test "$GCC" = yes; then
   9672   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9673 fi
   9674 
   9675 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9676 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9677 hardcode_action=
   9678 if test -n "$hardcode_libdir_flag_spec" || \
   9679    test -n "$runpath_var" || \
   9680    test "X$hardcode_automatic" = "Xyes" ; then
   9681 
   9682   # We can hardcode non-existant directories.
   9683   if test "$hardcode_direct" != no &&
   9684      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9685      # have to relink, otherwise we might link with an installed library
   9686      # when we should be linking with a yet-to-be-installed one
   9687      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9688      test "$hardcode_minus_L" != no; then
   9689     # Linking always hardcodes the temporary library directory.
   9690     hardcode_action=relink
   9691   else
   9692     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9693     hardcode_action=immediate
   9694   fi
   9695 else
   9696   # We cannot hardcode anything, or else we can only hardcode existing
   9697   # directories.
   9698   hardcode_action=unsupported
   9699 fi
   9700 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9701 $as_echo "$hardcode_action" >&6; }
   9702 
   9703 if test "$hardcode_action" = relink; then
   9704   # Fast installation is not supported
   9705   enable_fast_install=no
   9706 elif test "$shlibpath_overrides_runpath" = yes ||
   9707      test "$enable_shared" = no; then
   9708   # Fast installation is not necessary
   9709   enable_fast_install=needless
   9710 fi
   9711 
   9712 striplib=
   9713 old_striplib=
   9714 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9715 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9716 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9717   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9718   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9719   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9720 $as_echo "yes" >&6; }
   9721 else
   9722 # FIXME - insert some real tests, host_os isn't really good enough
   9723   case $host_os in
   9724    darwin*)
   9725        if test -n "$STRIP" ; then
   9726          striplib="$STRIP -x"
   9727          old_striplib="$STRIP -S"
   9728          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9729 $as_echo "yes" >&6; }
   9730        else
   9731   { $as_echo "$as_me:$LINENO: result: no" >&5
   9732 $as_echo "no" >&6; }
   9733 fi
   9734        ;;
   9735    *)
   9736   { $as_echo "$as_me:$LINENO: result: no" >&5
   9737 $as_echo "no" >&6; }
   9738     ;;
   9739   esac
   9740 fi
   9741 
   9742 if test "x$enable_dlopen" != xyes; then
   9743   enable_dlopen=unknown
   9744   enable_dlopen_self=unknown
   9745   enable_dlopen_self_static=unknown
   9746 else
   9747   lt_cv_dlopen=no
   9748   lt_cv_dlopen_libs=
   9749 
   9750   case $host_os in
   9751   beos*)
   9752     lt_cv_dlopen="load_add_on"
   9753     lt_cv_dlopen_libs=
   9754     lt_cv_dlopen_self=yes
   9755     ;;
   9756 
   9757   mingw* | pw32*)
   9758     lt_cv_dlopen="LoadLibrary"
   9759     lt_cv_dlopen_libs=
   9760    ;;
   9761 
   9762   cygwin*)
   9763     lt_cv_dlopen="dlopen"
   9764     lt_cv_dlopen_libs=
   9765    ;;
   9766 
   9767   darwin*)
   9768   # if libdl is installed we need to link against it
   9769     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9770 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9771 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9772   $as_echo_n "(cached) " >&6
   9773 else
   9774   ac_check_lib_save_LIBS=$LIBS
   9775 LIBS="-ldl  $LIBS"
   9776 cat >conftest.$ac_ext <<_ACEOF
   9777 /* confdefs.h.  */
   9778 _ACEOF
   9779 cat confdefs.h >>conftest.$ac_ext
   9780 cat >>conftest.$ac_ext <<_ACEOF
   9781 /* end confdefs.h.  */
   9782 
   9783 /* Override any GCC internal prototype to avoid an error.
   9784    Use char because int might match the return type of a GCC
   9785    builtin and then its argument prototype would still apply.  */
   9786 #ifdef __cplusplus
   9787 extern "C"
   9788 #endif
   9789 char dlopen ();
   9790 int
   9791 main ()
   9792 {
   9793 return dlopen ();
   9794   ;
   9795   return 0;
   9796 }
   9797 _ACEOF
   9798 rm -f conftest.$ac_objext conftest$ac_exeext
   9799 if { (ac_try="$ac_link"
   9800 case "(($ac_try" in
   9801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9802   *) ac_try_echo=$ac_try;;
   9803 esac
   9804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9805 $as_echo "$ac_try_echo") >&5
   9806   (eval "$ac_link") 2>conftest.er1
   9807   ac_status=$?
   9808   grep -v '^ *+' conftest.er1 >conftest.err
   9809   rm -f conftest.er1
   9810   cat conftest.err >&5
   9811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9812   (exit $ac_status); } && {
   9813 	 test -z "$ac_c_werror_flag" ||
   9814 	 test ! -s conftest.err
   9815        } && test -s conftest$ac_exeext && {
   9816 	 test "$cross_compiling" = yes ||
   9817 	 $as_test_x conftest$ac_exeext
   9818        }; then
   9819   ac_cv_lib_dl_dlopen=yes
   9820 else
   9821   $as_echo "$as_me: failed program was:" >&5
   9822 sed 's/^/| /' conftest.$ac_ext >&5
   9823 
   9824 	ac_cv_lib_dl_dlopen=no
   9825 fi
   9826 
   9827 rm -rf conftest.dSYM
   9828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9829       conftest$ac_exeext conftest.$ac_ext
   9830 LIBS=$ac_check_lib_save_LIBS
   9831 fi
   9832 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9833 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9834 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9835   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9836 else
   9837 
   9838     lt_cv_dlopen="dyld"
   9839     lt_cv_dlopen_libs=
   9840     lt_cv_dlopen_self=yes
   9841 
   9842 fi
   9843 
   9844    ;;
   9845 
   9846   *)
   9847     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9848 $as_echo_n "checking for shl_load... " >&6; }
   9849 if test "${ac_cv_func_shl_load+set}" = set; then
   9850   $as_echo_n "(cached) " >&6
   9851 else
   9852   cat >conftest.$ac_ext <<_ACEOF
   9853 /* confdefs.h.  */
   9854 _ACEOF
   9855 cat confdefs.h >>conftest.$ac_ext
   9856 cat >>conftest.$ac_ext <<_ACEOF
   9857 /* end confdefs.h.  */
   9858 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9860 #define shl_load innocuous_shl_load
   9861 
   9862 /* System header to define __stub macros and hopefully few prototypes,
   9863     which can conflict with char shl_load (); below.
   9864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9865     <limits.h> exists even on freestanding compilers.  */
   9866 
   9867 #ifdef __STDC__
   9868 # include <limits.h>
   9869 #else
   9870 # include <assert.h>
   9871 #endif
   9872 
   9873 #undef shl_load
   9874 
   9875 /* Override any GCC internal prototype to avoid an error.
   9876    Use char because int might match the return type of a GCC
   9877    builtin and then its argument prototype would still apply.  */
   9878 #ifdef __cplusplus
   9879 extern "C"
   9880 #endif
   9881 char shl_load ();
   9882 /* The GNU C library defines this for functions which it implements
   9883     to always fail with ENOSYS.  Some functions are actually named
   9884     something starting with __ and the normal name is an alias.  */
   9885 #if defined __stub_shl_load || defined __stub___shl_load
   9886 choke me
   9887 #endif
   9888 
   9889 int
   9890 main ()
   9891 {
   9892 return shl_load ();
   9893   ;
   9894   return 0;
   9895 }
   9896 _ACEOF
   9897 rm -f conftest.$ac_objext conftest$ac_exeext
   9898 if { (ac_try="$ac_link"
   9899 case "(($ac_try" in
   9900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9901   *) ac_try_echo=$ac_try;;
   9902 esac
   9903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9904 $as_echo "$ac_try_echo") >&5
   9905   (eval "$ac_link") 2>conftest.er1
   9906   ac_status=$?
   9907   grep -v '^ *+' conftest.er1 >conftest.err
   9908   rm -f conftest.er1
   9909   cat conftest.err >&5
   9910   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9911   (exit $ac_status); } && {
   9912 	 test -z "$ac_c_werror_flag" ||
   9913 	 test ! -s conftest.err
   9914        } && test -s conftest$ac_exeext && {
   9915 	 test "$cross_compiling" = yes ||
   9916 	 $as_test_x conftest$ac_exeext
   9917        }; then
   9918   ac_cv_func_shl_load=yes
   9919 else
   9920   $as_echo "$as_me: failed program was:" >&5
   9921 sed 's/^/| /' conftest.$ac_ext >&5
   9922 
   9923 	ac_cv_func_shl_load=no
   9924 fi
   9925 
   9926 rm -rf conftest.dSYM
   9927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9928       conftest$ac_exeext conftest.$ac_ext
   9929 fi
   9930 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9931 $as_echo "$ac_cv_func_shl_load" >&6; }
   9932 if test "x$ac_cv_func_shl_load" = x""yes; then
   9933   lt_cv_dlopen="shl_load"
   9934 else
   9935   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9936 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   9937 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9938   $as_echo_n "(cached) " >&6
   9939 else
   9940   ac_check_lib_save_LIBS=$LIBS
   9941 LIBS="-ldld  $LIBS"
   9942 cat >conftest.$ac_ext <<_ACEOF
   9943 /* confdefs.h.  */
   9944 _ACEOF
   9945 cat confdefs.h >>conftest.$ac_ext
   9946 cat >>conftest.$ac_ext <<_ACEOF
   9947 /* end confdefs.h.  */
   9948 
   9949 /* Override any GCC internal prototype to avoid an error.
   9950    Use char because int might match the return type of a GCC
   9951    builtin and then its argument prototype would still apply.  */
   9952 #ifdef __cplusplus
   9953 extern "C"
   9954 #endif
   9955 char shl_load ();
   9956 int
   9957 main ()
   9958 {
   9959 return shl_load ();
   9960   ;
   9961   return 0;
   9962 }
   9963 _ACEOF
   9964 rm -f conftest.$ac_objext conftest$ac_exeext
   9965 if { (ac_try="$ac_link"
   9966 case "(($ac_try" in
   9967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9968   *) ac_try_echo=$ac_try;;
   9969 esac
   9970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9971 $as_echo "$ac_try_echo") >&5
   9972   (eval "$ac_link") 2>conftest.er1
   9973   ac_status=$?
   9974   grep -v '^ *+' conftest.er1 >conftest.err
   9975   rm -f conftest.er1
   9976   cat conftest.err >&5
   9977   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9978   (exit $ac_status); } && {
   9979 	 test -z "$ac_c_werror_flag" ||
   9980 	 test ! -s conftest.err
   9981        } && test -s conftest$ac_exeext && {
   9982 	 test "$cross_compiling" = yes ||
   9983 	 $as_test_x conftest$ac_exeext
   9984        }; then
   9985   ac_cv_lib_dld_shl_load=yes
   9986 else
   9987   $as_echo "$as_me: failed program was:" >&5
   9988 sed 's/^/| /' conftest.$ac_ext >&5
   9989 
   9990 	ac_cv_lib_dld_shl_load=no
   9991 fi
   9992 
   9993 rm -rf conftest.dSYM
   9994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9995       conftest$ac_exeext conftest.$ac_ext
   9996 LIBS=$ac_check_lib_save_LIBS
   9997 fi
   9998 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9999 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10000 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10001   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   10002 else
   10003   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10004 $as_echo_n "checking for dlopen... " >&6; }
   10005 if test "${ac_cv_func_dlopen+set}" = set; then
   10006   $as_echo_n "(cached) " >&6
   10007 else
   10008   cat >conftest.$ac_ext <<_ACEOF
   10009 /* confdefs.h.  */
   10010 _ACEOF
   10011 cat confdefs.h >>conftest.$ac_ext
   10012 cat >>conftest.$ac_ext <<_ACEOF
   10013 /* end confdefs.h.  */
   10014 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10016 #define dlopen innocuous_dlopen
   10017 
   10018 /* System header to define __stub macros and hopefully few prototypes,
   10019     which can conflict with char dlopen (); below.
   10020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10021     <limits.h> exists even on freestanding compilers.  */
   10022 
   10023 #ifdef __STDC__
   10024 # include <limits.h>
   10025 #else
   10026 # include <assert.h>
   10027 #endif
   10028 
   10029 #undef dlopen
   10030 
   10031 /* Override any GCC internal prototype to avoid an error.
   10032    Use char because int might match the return type of a GCC
   10033    builtin and then its argument prototype would still apply.  */
   10034 #ifdef __cplusplus
   10035 extern "C"
   10036 #endif
   10037 char dlopen ();
   10038 /* The GNU C library defines this for functions which it implements
   10039     to always fail with ENOSYS.  Some functions are actually named
   10040     something starting with __ and the normal name is an alias.  */
   10041 #if defined __stub_dlopen || defined __stub___dlopen
   10042 choke me
   10043 #endif
   10044 
   10045 int
   10046 main ()
   10047 {
   10048 return dlopen ();
   10049   ;
   10050   return 0;
   10051 }
   10052 _ACEOF
   10053 rm -f conftest.$ac_objext conftest$ac_exeext
   10054 if { (ac_try="$ac_link"
   10055 case "(($ac_try" in
   10056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10057   *) ac_try_echo=$ac_try;;
   10058 esac
   10059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10060 $as_echo "$ac_try_echo") >&5
   10061   (eval "$ac_link") 2>conftest.er1
   10062   ac_status=$?
   10063   grep -v '^ *+' conftest.er1 >conftest.err
   10064   rm -f conftest.er1
   10065   cat conftest.err >&5
   10066   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10067   (exit $ac_status); } && {
   10068 	 test -z "$ac_c_werror_flag" ||
   10069 	 test ! -s conftest.err
   10070        } && test -s conftest$ac_exeext && {
   10071 	 test "$cross_compiling" = yes ||
   10072 	 $as_test_x conftest$ac_exeext
   10073        }; then
   10074   ac_cv_func_dlopen=yes
   10075 else
   10076   $as_echo "$as_me: failed program was:" >&5
   10077 sed 's/^/| /' conftest.$ac_ext >&5
   10078 
   10079 	ac_cv_func_dlopen=no
   10080 fi
   10081 
   10082 rm -rf conftest.dSYM
   10083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10084       conftest$ac_exeext conftest.$ac_ext
   10085 fi
   10086 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10087 $as_echo "$ac_cv_func_dlopen" >&6; }
   10088 if test "x$ac_cv_func_dlopen" = x""yes; then
   10089   lt_cv_dlopen="dlopen"
   10090 else
   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   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10160 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10161 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10162   $as_echo_n "(cached) " >&6
   10163 else
   10164   ac_check_lib_save_LIBS=$LIBS
   10165 LIBS="-lsvld  $LIBS"
   10166 cat >conftest.$ac_ext <<_ACEOF
   10167 /* confdefs.h.  */
   10168 _ACEOF
   10169 cat confdefs.h >>conftest.$ac_ext
   10170 cat >>conftest.$ac_ext <<_ACEOF
   10171 /* end confdefs.h.  */
   10172 
   10173 /* Override any GCC internal prototype to avoid an error.
   10174    Use char because int might match the return type of a GCC
   10175    builtin and then its argument prototype would still apply.  */
   10176 #ifdef __cplusplus
   10177 extern "C"
   10178 #endif
   10179 char dlopen ();
   10180 int
   10181 main ()
   10182 {
   10183 return dlopen ();
   10184   ;
   10185   return 0;
   10186 }
   10187 _ACEOF
   10188 rm -f conftest.$ac_objext conftest$ac_exeext
   10189 if { (ac_try="$ac_link"
   10190 case "(($ac_try" in
   10191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10192   *) ac_try_echo=$ac_try;;
   10193 esac
   10194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10195 $as_echo "$ac_try_echo") >&5
   10196   (eval "$ac_link") 2>conftest.er1
   10197   ac_status=$?
   10198   grep -v '^ *+' conftest.er1 >conftest.err
   10199   rm -f conftest.er1
   10200   cat conftest.err >&5
   10201   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10202   (exit $ac_status); } && {
   10203 	 test -z "$ac_c_werror_flag" ||
   10204 	 test ! -s conftest.err
   10205        } && test -s conftest$ac_exeext && {
   10206 	 test "$cross_compiling" = yes ||
   10207 	 $as_test_x conftest$ac_exeext
   10208        }; then
   10209   ac_cv_lib_svld_dlopen=yes
   10210 else
   10211   $as_echo "$as_me: failed program was:" >&5
   10212 sed 's/^/| /' conftest.$ac_ext >&5
   10213 
   10214 	ac_cv_lib_svld_dlopen=no
   10215 fi
   10216 
   10217 rm -rf conftest.dSYM
   10218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10219       conftest$ac_exeext conftest.$ac_ext
   10220 LIBS=$ac_check_lib_save_LIBS
   10221 fi
   10222 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10223 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10224 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10225   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10226 else
   10227   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10228 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10229 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10230   $as_echo_n "(cached) " >&6
   10231 else
   10232   ac_check_lib_save_LIBS=$LIBS
   10233 LIBS="-ldld  $LIBS"
   10234 cat >conftest.$ac_ext <<_ACEOF
   10235 /* confdefs.h.  */
   10236 _ACEOF
   10237 cat confdefs.h >>conftest.$ac_ext
   10238 cat >>conftest.$ac_ext <<_ACEOF
   10239 /* end confdefs.h.  */
   10240 
   10241 /* Override any GCC internal prototype to avoid an error.
   10242    Use char because int might match the return type of a GCC
   10243    builtin and then its argument prototype would still apply.  */
   10244 #ifdef __cplusplus
   10245 extern "C"
   10246 #endif
   10247 char dld_link ();
   10248 int
   10249 main ()
   10250 {
   10251 return dld_link ();
   10252   ;
   10253   return 0;
   10254 }
   10255 _ACEOF
   10256 rm -f conftest.$ac_objext conftest$ac_exeext
   10257 if { (ac_try="$ac_link"
   10258 case "(($ac_try" in
   10259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10260   *) ac_try_echo=$ac_try;;
   10261 esac
   10262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10263 $as_echo "$ac_try_echo") >&5
   10264   (eval "$ac_link") 2>conftest.er1
   10265   ac_status=$?
   10266   grep -v '^ *+' conftest.er1 >conftest.err
   10267   rm -f conftest.er1
   10268   cat conftest.err >&5
   10269   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10270   (exit $ac_status); } && {
   10271 	 test -z "$ac_c_werror_flag" ||
   10272 	 test ! -s conftest.err
   10273        } && test -s conftest$ac_exeext && {
   10274 	 test "$cross_compiling" = yes ||
   10275 	 $as_test_x conftest$ac_exeext
   10276        }; then
   10277   ac_cv_lib_dld_dld_link=yes
   10278 else
   10279   $as_echo "$as_me: failed program was:" >&5
   10280 sed 's/^/| /' conftest.$ac_ext >&5
   10281 
   10282 	ac_cv_lib_dld_dld_link=no
   10283 fi
   10284 
   10285 rm -rf conftest.dSYM
   10286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10287       conftest$ac_exeext conftest.$ac_ext
   10288 LIBS=$ac_check_lib_save_LIBS
   10289 fi
   10290 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10291 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10292 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10293   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   10294 fi
   10295 
   10296 
   10297 fi
   10298 
   10299 
   10300 fi
   10301 
   10302 
   10303 fi
   10304 
   10305 
   10306 fi
   10307 
   10308 
   10309 fi
   10310 
   10311     ;;
   10312   esac
   10313 
   10314   if test "x$lt_cv_dlopen" != xno; then
   10315     enable_dlopen=yes
   10316   else
   10317     enable_dlopen=no
   10318   fi
   10319 
   10320   case $lt_cv_dlopen in
   10321   dlopen)
   10322     save_CPPFLAGS="$CPPFLAGS"
   10323     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10324 
   10325     save_LDFLAGS="$LDFLAGS"
   10326     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10327 
   10328     save_LIBS="$LIBS"
   10329     LIBS="$lt_cv_dlopen_libs $LIBS"
   10330 
   10331     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10332 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10333 if test "${lt_cv_dlopen_self+set}" = set; then
   10334   $as_echo_n "(cached) " >&6
   10335 else
   10336   	  if test "$cross_compiling" = yes; then :
   10337   lt_cv_dlopen_self=cross
   10338 else
   10339   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10340   lt_status=$lt_dlunknown
   10341   cat > conftest.$ac_ext <<EOF
   10342 #line 10342 "configure"
   10343 #include "confdefs.h"
   10344 
   10345 #if HAVE_DLFCN_H
   10346 #include <dlfcn.h>
   10347 #endif
   10348 
   10349 #include <stdio.h>
   10350 
   10351 #ifdef RTLD_GLOBAL
   10352 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10353 #else
   10354 #  ifdef DL_GLOBAL
   10355 #    define LT_DLGLOBAL		DL_GLOBAL
   10356 #  else
   10357 #    define LT_DLGLOBAL		0
   10358 #  endif
   10359 #endif
   10360 
   10361 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10362    find out it does not work in some platform. */
   10363 #ifndef LT_DLLAZY_OR_NOW
   10364 #  ifdef RTLD_LAZY
   10365 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10366 #  else
   10367 #    ifdef DL_LAZY
   10368 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10369 #    else
   10370 #      ifdef RTLD_NOW
   10371 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10372 #      else
   10373 #        ifdef DL_NOW
   10374 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10375 #        else
   10376 #          define LT_DLLAZY_OR_NOW	0
   10377 #        endif
   10378 #      endif
   10379 #    endif
   10380 #  endif
   10381 #endif
   10382 
   10383 #ifdef __cplusplus
   10384 extern "C" void exit (int);
   10385 #endif
   10386 
   10387 void fnord() { int i=42;}
   10388 int main ()
   10389 {
   10390   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10391   int status = $lt_dlunknown;
   10392 
   10393   if (self)
   10394     {
   10395       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10396       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10397       /* dlclose (self); */
   10398     }
   10399   else
   10400     puts (dlerror ());
   10401 
   10402     exit (status);
   10403 }
   10404 EOF
   10405   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10406   (eval $ac_link) 2>&5
   10407   ac_status=$?
   10408   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10409   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10410     (./conftest; exit; ) >&5 2>/dev/null
   10411     lt_status=$?
   10412     case x$lt_status in
   10413       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10414       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10415       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10416     esac
   10417   else :
   10418     # compilation failed
   10419     lt_cv_dlopen_self=no
   10420   fi
   10421 fi
   10422 rm -fr conftest*
   10423 
   10424 
   10425 fi
   10426 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10427 $as_echo "$lt_cv_dlopen_self" >&6; }
   10428 
   10429     if test "x$lt_cv_dlopen_self" = xyes; then
   10430       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10431       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10432 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10433 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10434   $as_echo_n "(cached) " >&6
   10435 else
   10436   	  if test "$cross_compiling" = yes; then :
   10437   lt_cv_dlopen_self_static=cross
   10438 else
   10439   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10440   lt_status=$lt_dlunknown
   10441   cat > conftest.$ac_ext <<EOF
   10442 #line 10442 "configure"
   10443 #include "confdefs.h"
   10444 
   10445 #if HAVE_DLFCN_H
   10446 #include <dlfcn.h>
   10447 #endif
   10448 
   10449 #include <stdio.h>
   10450 
   10451 #ifdef RTLD_GLOBAL
   10452 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10453 #else
   10454 #  ifdef DL_GLOBAL
   10455 #    define LT_DLGLOBAL		DL_GLOBAL
   10456 #  else
   10457 #    define LT_DLGLOBAL		0
   10458 #  endif
   10459 #endif
   10460 
   10461 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10462    find out it does not work in some platform. */
   10463 #ifndef LT_DLLAZY_OR_NOW
   10464 #  ifdef RTLD_LAZY
   10465 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10466 #  else
   10467 #    ifdef DL_LAZY
   10468 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10469 #    else
   10470 #      ifdef RTLD_NOW
   10471 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10472 #      else
   10473 #        ifdef DL_NOW
   10474 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10475 #        else
   10476 #          define LT_DLLAZY_OR_NOW	0
   10477 #        endif
   10478 #      endif
   10479 #    endif
   10480 #  endif
   10481 #endif
   10482 
   10483 #ifdef __cplusplus
   10484 extern "C" void exit (int);
   10485 #endif
   10486 
   10487 void fnord() { int i=42;}
   10488 int main ()
   10489 {
   10490   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10491   int status = $lt_dlunknown;
   10492 
   10493   if (self)
   10494     {
   10495       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10496       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10497       /* dlclose (self); */
   10498     }
   10499   else
   10500     puts (dlerror ());
   10501 
   10502     exit (status);
   10503 }
   10504 EOF
   10505   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10506   (eval $ac_link) 2>&5
   10507   ac_status=$?
   10508   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10509   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10510     (./conftest; exit; ) >&5 2>/dev/null
   10511     lt_status=$?
   10512     case x$lt_status in
   10513       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10514       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10515       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10516     esac
   10517   else :
   10518     # compilation failed
   10519     lt_cv_dlopen_self_static=no
   10520   fi
   10521 fi
   10522 rm -fr conftest*
   10523 
   10524 
   10525 fi
   10526 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10527 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10528     fi
   10529 
   10530     CPPFLAGS="$save_CPPFLAGS"
   10531     LDFLAGS="$save_LDFLAGS"
   10532     LIBS="$save_LIBS"
   10533     ;;
   10534   esac
   10535 
   10536   case $lt_cv_dlopen_self in
   10537   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10538   *) enable_dlopen_self=unknown ;;
   10539   esac
   10540 
   10541   case $lt_cv_dlopen_self_static in
   10542   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10543   *) enable_dlopen_self_static=unknown ;;
   10544   esac
   10545 fi
   10546 
   10547 
   10548 # Report which library types will actually be built
   10549 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10550 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10551 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10552 $as_echo "$can_build_shared" >&6; }
   10553 
   10554 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10555 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10556 test "$can_build_shared" = "no" && enable_shared=no
   10557 
   10558 # On AIX, shared libraries and static libraries use the same namespace, and
   10559 # are all built from PIC.
   10560 case $host_os in
   10561 aix3*)
   10562   test "$enable_shared" = yes && enable_static=no
   10563   if test -n "$RANLIB"; then
   10564     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10565     postinstall_cmds='$RANLIB $lib'
   10566   fi
   10567   ;;
   10568 
   10569 aix4* | aix5*)
   10570   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10571     test "$enable_shared" = yes && enable_static=no
   10572   fi
   10573     ;;
   10574 esac
   10575 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10576 $as_echo "$enable_shared" >&6; }
   10577 
   10578 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10579 $as_echo_n "checking whether to build static libraries... " >&6; }
   10580 # Make sure either enable_shared or enable_static is yes.
   10581 test "$enable_shared" = yes || enable_static=yes
   10582 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10583 $as_echo "$enable_static" >&6; }
   10584 
   10585 # The else clause should only fire when bootstrapping the
   10586 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10587 # with your package, and you will get complaints that there are
   10588 # no rules to generate ltmain.sh.
   10589 if test -f "$ltmain"; then
   10590   # See if we are running on zsh, and set the options which allow our commands through
   10591   # without removal of \ escapes.
   10592   if test -n "${ZSH_VERSION+set}" ; then
   10593     setopt NO_GLOB_SUBST
   10594   fi
   10595   # Now quote all the things that may contain metacharacters while being
   10596   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10597   # variables and quote the copies for generation of the libtool script.
   10598   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10599     SED SHELL STRIP \
   10600     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10601     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10602     deplibs_check_method reload_flag reload_cmds need_locks \
   10603     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10604     lt_cv_sys_global_symbol_to_c_name_address \
   10605     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10606     old_postinstall_cmds old_postuninstall_cmds \
   10607     compiler \
   10608     CC \
   10609     LD \
   10610     lt_prog_compiler_wl \
   10611     lt_prog_compiler_pic \
   10612     lt_prog_compiler_static \
   10613     lt_prog_compiler_no_builtin_flag \
   10614     export_dynamic_flag_spec \
   10615     thread_safe_flag_spec \
   10616     whole_archive_flag_spec \
   10617     enable_shared_with_static_runtimes \
   10618     old_archive_cmds \
   10619     old_archive_from_new_cmds \
   10620     predep_objects \
   10621     postdep_objects \
   10622     predeps \
   10623     postdeps \
   10624     compiler_lib_search_path \
   10625     archive_cmds \
   10626     archive_expsym_cmds \
   10627     postinstall_cmds \
   10628     postuninstall_cmds \
   10629     old_archive_from_expsyms_cmds \
   10630     allow_undefined_flag \
   10631     no_undefined_flag \
   10632     export_symbols_cmds \
   10633     hardcode_libdir_flag_spec \
   10634     hardcode_libdir_flag_spec_ld \
   10635     hardcode_libdir_separator \
   10636     hardcode_automatic \
   10637     module_cmds \
   10638     module_expsym_cmds \
   10639     lt_cv_prog_compiler_c_o \
   10640     fix_srcfile_path \
   10641     exclude_expsyms \
   10642     include_expsyms; do
   10643 
   10644     case $var in
   10645     old_archive_cmds | \
   10646     old_archive_from_new_cmds | \
   10647     archive_cmds | \
   10648     archive_expsym_cmds | \
   10649     module_cmds | \
   10650     module_expsym_cmds | \
   10651     old_archive_from_expsyms_cmds | \
   10652     export_symbols_cmds | \
   10653     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10654     postinstall_cmds | postuninstall_cmds | \
   10655     old_postinstall_cmds | old_postuninstall_cmds | \
   10656     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10657       # Double-quote double-evaled strings.
   10658       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10659       ;;
   10660     *)
   10661       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10662       ;;
   10663     esac
   10664   done
   10665 
   10666   case $lt_echo in
   10667   *'\$0 --fallback-echo"')
   10668     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10669     ;;
   10670   esac
   10671 
   10672 cfgfile="${ofile}T"
   10673   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10674   $rm -f "$cfgfile"
   10675   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10676 $as_echo "$as_me: creating $ofile" >&6;}
   10677 
   10678   cat <<__EOF__ >> "$cfgfile"
   10679 #! $SHELL
   10680 
   10681 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10682 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10683 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10684 #
   10685 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
   10686 # Free Software Foundation, Inc.
   10687 #
   10688 # This file is part of GNU Libtool:
   10689 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10690 #
   10691 # This program is free software; you can redistribute it and/or modify
   10692 # it under the terms of the GNU General Public License as published by
   10693 # the Free Software Foundation; either version 2 of the License, or
   10694 # (at your option) any later version.
   10695 #
   10696 # This program is distributed in the hope that it will be useful, but
   10697 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10698 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10699 # General Public License for more details.
   10700 #
   10701 # You should have received a copy of the GNU General Public License
   10702 # along with this program; if not, write to the Free Software
   10703 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10704 #
   10705 # As a special exception to the GNU General Public License, if you
   10706 # distribute this file as part of a program that contains a
   10707 # configuration script generated by Autoconf, you may include it under
   10708 # the same distribution terms that you use for the rest of that program.
   10709 
   10710 # A sed program that does not truncate output.
   10711 SED=$lt_SED
   10712 
   10713 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10714 Xsed="$SED -e 1s/^X//"
   10715 
   10716 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10717 # if CDPATH is set.
   10718 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10719 
   10720 # The names of the tagged configurations supported by this script.
   10721 available_tags=
   10722 
   10723 # ### BEGIN LIBTOOL CONFIG
   10724 
   10725 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10726 
   10727 # Shell to use when invoking shell scripts.
   10728 SHELL=$lt_SHELL
   10729 
   10730 # Whether or not to build shared libraries.
   10731 build_libtool_libs=$enable_shared
   10732 
   10733 # Whether or not to build static libraries.
   10734 build_old_libs=$enable_static
   10735 
   10736 # Whether or not to add -lc for building shared libraries.
   10737 build_libtool_need_lc=$archive_cmds_need_lc
   10738 
   10739 # Whether or not to disallow shared libs when runtime libs are static
   10740 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10741 
   10742 # Whether or not to optimize for fast installation.
   10743 fast_install=$enable_fast_install
   10744 
   10745 # The host system.
   10746 host_alias=$host_alias
   10747 host=$host
   10748 host_os=$host_os
   10749 
   10750 # The build system.
   10751 build_alias=$build_alias
   10752 build=$build
   10753 build_os=$build_os
   10754 
   10755 # An echo program that does not interpret backslashes.
   10756 echo=$lt_echo
   10757 
   10758 # The archiver.
   10759 AR=$lt_AR
   10760 AR_FLAGS=$lt_AR_FLAGS
   10761 
   10762 # A C compiler.
   10763 LTCC=$lt_LTCC
   10764 
   10765 # LTCC compiler flags.
   10766 LTCFLAGS=$lt_LTCFLAGS
   10767 
   10768 # A language-specific compiler.
   10769 CC=$lt_compiler
   10770 
   10771 # Is the compiler the GNU C compiler?
   10772 with_gcc=$GCC
   10773 
   10774 # An ERE matcher.
   10775 EGREP=$lt_EGREP
   10776 
   10777 # The linker used to build libraries.
   10778 LD=$lt_LD
   10779 
   10780 # Whether we need hard or soft links.
   10781 LN_S=$lt_LN_S
   10782 
   10783 # A BSD-compatible nm program.
   10784 NM=$lt_NM
   10785 
   10786 # A symbol stripping program
   10787 STRIP=$lt_STRIP
   10788 
   10789 # Used to examine libraries when file_magic_cmd begins "file"
   10790 MAGIC_CMD=$MAGIC_CMD
   10791 
   10792 # Used on cygwin: DLL creation program.
   10793 DLLTOOL="$DLLTOOL"
   10794 
   10795 # Used on cygwin: object dumper.
   10796 OBJDUMP="$OBJDUMP"
   10797 
   10798 # Used on cygwin: assembler.
   10799 AS="$AS"
   10800 
   10801 # The name of the directory that contains temporary libtool files.
   10802 objdir=$objdir
   10803 
   10804 # How to create reloadable object files.
   10805 reload_flag=$lt_reload_flag
   10806 reload_cmds=$lt_reload_cmds
   10807 
   10808 # How to pass a linker flag through the compiler.
   10809 wl=$lt_lt_prog_compiler_wl
   10810 
   10811 # Object file suffix (normally "o").
   10812 objext="$ac_objext"
   10813 
   10814 # Old archive suffix (normally "a").
   10815 libext="$libext"
   10816 
   10817 # Shared library suffix (normally ".so").
   10818 shrext_cmds='$shrext_cmds'
   10819 
   10820 # Executable file suffix (normally "").
   10821 exeext="$exeext"
   10822 
   10823 # Additional compiler flags for building library objects.
   10824 pic_flag=$lt_lt_prog_compiler_pic
   10825 pic_mode=$pic_mode
   10826 
   10827 # What is the maximum length of a command?
   10828 max_cmd_len=$lt_cv_sys_max_cmd_len
   10829 
   10830 # Does compiler simultaneously support -c and -o options?
   10831 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10832 
   10833 # Must we lock files when doing compilation?
   10834 need_locks=$lt_need_locks
   10835 
   10836 # Do we need the lib prefix for modules?
   10837 need_lib_prefix=$need_lib_prefix
   10838 
   10839 # Do we need a version for libraries?
   10840 need_version=$need_version
   10841 
   10842 # Whether dlopen is supported.
   10843 dlopen_support=$enable_dlopen
   10844 
   10845 # Whether dlopen of programs is supported.
   10846 dlopen_self=$enable_dlopen_self
   10847 
   10848 # Whether dlopen of statically linked programs is supported.
   10849 dlopen_self_static=$enable_dlopen_self_static
   10850 
   10851 # Compiler flag to prevent dynamic linking.
   10852 link_static_flag=$lt_lt_prog_compiler_static
   10853 
   10854 # Compiler flag to turn off builtin functions.
   10855 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10856 
   10857 # Compiler flag to allow reflexive dlopens.
   10858 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10859 
   10860 # Compiler flag to generate shared objects directly from archives.
   10861 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10862 
   10863 # Compiler flag to generate thread-safe objects.
   10864 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10865 
   10866 # Library versioning type.
   10867 version_type=$version_type
   10868 
   10869 # Format of library name prefix.
   10870 libname_spec=$lt_libname_spec
   10871 
   10872 # List of archive names.  First name is the real one, the rest are links.
   10873 # The last name is the one that the linker finds with -lNAME.
   10874 library_names_spec=$lt_library_names_spec
   10875 
   10876 # The coded name of the library, if different from the real name.
   10877 soname_spec=$lt_soname_spec
   10878 
   10879 # Commands used to build and install an old-style archive.
   10880 RANLIB=$lt_RANLIB
   10881 old_archive_cmds=$lt_old_archive_cmds
   10882 old_postinstall_cmds=$lt_old_postinstall_cmds
   10883 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10884 
   10885 # Create an old-style archive from a shared archive.
   10886 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10887 
   10888 # Create a temporary old-style archive to link instead of a shared archive.
   10889 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10890 
   10891 # Commands used to build and install a shared archive.
   10892 archive_cmds=$lt_archive_cmds
   10893 archive_expsym_cmds=$lt_archive_expsym_cmds
   10894 postinstall_cmds=$lt_postinstall_cmds
   10895 postuninstall_cmds=$lt_postuninstall_cmds
   10896 
   10897 # Commands used to build a loadable module (assumed same as above if empty)
   10898 module_cmds=$lt_module_cmds
   10899 module_expsym_cmds=$lt_module_expsym_cmds
   10900 
   10901 # Commands to strip libraries.
   10902 old_striplib=$lt_old_striplib
   10903 striplib=$lt_striplib
   10904 
   10905 # Dependencies to place before the objects being linked to create a
   10906 # shared library.
   10907 predep_objects=$lt_predep_objects
   10908 
   10909 # Dependencies to place after the objects being linked to create a
   10910 # shared library.
   10911 postdep_objects=$lt_postdep_objects
   10912 
   10913 # Dependencies to place before the objects being linked to create a
   10914 # shared library.
   10915 predeps=$lt_predeps
   10916 
   10917 # Dependencies to place after the objects being linked to create a
   10918 # shared library.
   10919 postdeps=$lt_postdeps
   10920 
   10921 # The library search path used internally by the compiler when linking
   10922 # a shared library.
   10923 compiler_lib_search_path=$lt_compiler_lib_search_path
   10924 
   10925 # Method to check whether dependent libraries are shared objects.
   10926 deplibs_check_method=$lt_deplibs_check_method
   10927 
   10928 # Command to use when deplibs_check_method == file_magic.
   10929 file_magic_cmd=$lt_file_magic_cmd
   10930 
   10931 # Flag that allows shared libraries with undefined symbols to be built.
   10932 allow_undefined_flag=$lt_allow_undefined_flag
   10933 
   10934 # Flag that forces no undefined symbols.
   10935 no_undefined_flag=$lt_no_undefined_flag
   10936 
   10937 # Commands used to finish a libtool library installation in a directory.
   10938 finish_cmds=$lt_finish_cmds
   10939 
   10940 # Same as above, but a single script fragment to be evaled but not shown.
   10941 finish_eval=$lt_finish_eval
   10942 
   10943 # Take the output of nm and produce a listing of raw symbols and C names.
   10944 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10945 
   10946 # Transform the output of nm in a proper C declaration
   10947 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10948 
   10949 # Transform the output of nm in a C name address pair
   10950 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10951 
   10952 # This is the shared library runtime path variable.
   10953 runpath_var=$runpath_var
   10954 
   10955 # This is the shared library path variable.
   10956 shlibpath_var=$shlibpath_var
   10957 
   10958 # Is shlibpath searched before the hard-coded library search path?
   10959 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10960 
   10961 # How to hardcode a shared library path into an executable.
   10962 hardcode_action=$hardcode_action
   10963 
   10964 # Whether we should hardcode library paths into libraries.
   10965 hardcode_into_libs=$hardcode_into_libs
   10966 
   10967 # Flag to hardcode \$libdir into a binary during linking.
   10968 # This must work even if \$libdir does not exist.
   10969 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10970 
   10971 # If ld is used when linking, flag to hardcode \$libdir into
   10972 # a binary during linking. This must work even if \$libdir does
   10973 # not exist.
   10974 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10975 
   10976 # Whether we need a single -rpath flag with a separated argument.
   10977 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10978 
   10979 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10980 # resulting binary.
   10981 hardcode_direct=$hardcode_direct
   10982 
   10983 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10984 # resulting binary.
   10985 hardcode_minus_L=$hardcode_minus_L
   10986 
   10987 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10988 # the resulting binary.
   10989 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10990 
   10991 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10992 # and all subsequent libraries and executables linked against it.
   10993 hardcode_automatic=$hardcode_automatic
   10994 
   10995 # Variables whose values should be saved in libtool wrapper scripts and
   10996 # restored at relink time.
   10997 variables_saved_for_relink="$variables_saved_for_relink"
   10998 
   10999 # Whether libtool must link a program against all its dependency libraries.
   11000 link_all_deplibs=$link_all_deplibs
   11001 
   11002 # Compile-time system search path for libraries
   11003 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11004 
   11005 # Run-time system search path for libraries
   11006 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11007 
   11008 # Fix the shell variable \$srcfile for the compiler.
   11009 fix_srcfile_path=$lt_fix_srcfile_path
   11010 
   11011 # Set to yes if exported symbols are required.
   11012 always_export_symbols=$always_export_symbols
   11013 
   11014 # The commands to list exported symbols.
   11015 export_symbols_cmds=$lt_export_symbols_cmds
   11016 
   11017 # The commands to extract the exported symbol list from a shared archive.
   11018 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11019 
   11020 # Symbols that should not be listed in the preloaded symbols.
   11021 exclude_expsyms=$lt_exclude_expsyms
   11022 
   11023 # Symbols that must always be exported.
   11024 include_expsyms=$lt_include_expsyms
   11025 
   11026 # ### END LIBTOOL CONFIG
   11027 
   11028 __EOF__
   11029 
   11030 
   11031   case $host_os in
   11032   aix3*)
   11033     cat <<\EOF >> "$cfgfile"
   11034 
   11035 # AIX sometimes has problems with the GCC collect2 program.  For some
   11036 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11037 # vanish in a puff of smoke.
   11038 if test "X${COLLECT_NAMES+set}" != Xset; then
   11039   COLLECT_NAMES=
   11040   export COLLECT_NAMES
   11041 fi
   11042 EOF
   11043     ;;
   11044   esac
   11045 
   11046   # We use sed instead of cat because bash on DJGPP gets confused if
   11047   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11048   # text mode, it properly converts lines to CR/LF.  This bash problem
   11049   # is reportedly fixed, but why not run on old versions too?
   11050   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11051 
   11052   mv -f "$cfgfile" "$ofile" || \
   11053     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11054   chmod +x "$ofile"
   11055 
   11056 else
   11057   # If there is no Makefile yet, we rely on a make rule to execute
   11058   # `config.status --recheck' to rerun these tests and create the
   11059   # libtool script then.
   11060   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11061   if test -f "$ltmain_in"; then
   11062     test -f Makefile && make "$ltmain"
   11063   fi
   11064 fi
   11065 
   11066 
   11067 ac_ext=c
   11068 ac_cpp='$CPP $CPPFLAGS'
   11069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11072 
   11073 CC="$lt_save_CC"
   11074 
   11075 
   11076 # Check whether --with-tags was given.
   11077 if test "${with_tags+set}" = set; then
   11078   withval=$with_tags; tagnames="$withval"
   11079 fi
   11080 
   11081 
   11082 if test -f "$ltmain" && test -n "$tagnames"; then
   11083   if test ! -f "${ofile}"; then
   11084     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11085 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11086   fi
   11087 
   11088   if test -z "$LTCC"; then
   11089     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11090     if test -z "$LTCC"; then
   11091       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11092 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11093     else
   11094       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11095 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11096     fi
   11097   fi
   11098   if test -z "$LTCFLAGS"; then
   11099     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11100   fi
   11101 
   11102   # Extract list of available tagged configurations in $ofile.
   11103   # Note that this assumes the entire list is on one line.
   11104   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11105 
   11106   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11107   for tagname in $tagnames; do
   11108     IFS="$lt_save_ifs"
   11109     # Check whether tagname contains only valid characters
   11110     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11111     "") ;;
   11112     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11113 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11114    { (exit 1); exit 1; }; }
   11115 	;;
   11116     esac
   11117 
   11118     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11119     then
   11120       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11121 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11122    { (exit 1); exit 1; }; }
   11123     fi
   11124 
   11125     # Update the list of available tags.
   11126     if test -n "$tagname"; then
   11127       echo appending configuration tag \"$tagname\" to $ofile
   11128 
   11129       case $tagname in
   11130       CXX)
   11131 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11132 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11133 	    (test "X$CXX" != "Xg++"))) ; then
   11134 	  ac_ext=cpp
   11135 ac_cpp='$CXXCPP $CPPFLAGS'
   11136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11139 
   11140 
   11141 
   11142 
   11143 archive_cmds_need_lc_CXX=no
   11144 allow_undefined_flag_CXX=
   11145 always_export_symbols_CXX=no
   11146 archive_expsym_cmds_CXX=
   11147 export_dynamic_flag_spec_CXX=
   11148 hardcode_direct_CXX=no
   11149 hardcode_libdir_flag_spec_CXX=
   11150 hardcode_libdir_flag_spec_ld_CXX=
   11151 hardcode_libdir_separator_CXX=
   11152 hardcode_minus_L_CXX=no
   11153 hardcode_shlibpath_var_CXX=unsupported
   11154 hardcode_automatic_CXX=no
   11155 module_cmds_CXX=
   11156 module_expsym_cmds_CXX=
   11157 link_all_deplibs_CXX=unknown
   11158 old_archive_cmds_CXX=$old_archive_cmds
   11159 no_undefined_flag_CXX=
   11160 whole_archive_flag_spec_CXX=
   11161 enable_shared_with_static_runtimes_CXX=no
   11162 
   11163 # Dependencies to place before and after the object being linked:
   11164 predep_objects_CXX=
   11165 postdep_objects_CXX=
   11166 predeps_CXX=
   11167 postdeps_CXX=
   11168 compiler_lib_search_path_CXX=
   11169 
   11170 # Source file extension for C++ test sources.
   11171 ac_ext=cpp
   11172 
   11173 # Object file extension for compiled C++ test sources.
   11174 objext=o
   11175 objext_CXX=$objext
   11176 
   11177 # Code to be used in simple compile tests
   11178 lt_simple_compile_test_code="int some_variable = 0;"
   11179 
   11180 # Code to be used in simple link tests
   11181 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11182 
   11183 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11184 
   11185 # If no C compiler was specified, use CC.
   11186 LTCC=${LTCC-"$CC"}
   11187 
   11188 # If no C compiler flags were specified, use CFLAGS.
   11189 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11190 
   11191 # Allow CC to be a program name with arguments.
   11192 compiler=$CC
   11193 
   11194 
   11195 # save warnings/boilerplate of simple test code
   11196 ac_outfile=conftest.$ac_objext
   11197 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11198 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11199 _lt_compiler_boilerplate=`cat conftest.err`
   11200 $rm conftest*
   11201 
   11202 ac_outfile=conftest.$ac_objext
   11203 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11204 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11205 _lt_linker_boilerplate=`cat conftest.err`
   11206 $rm conftest*
   11207 
   11208 
   11209 # Allow CC to be a program name with arguments.
   11210 lt_save_CC=$CC
   11211 lt_save_LD=$LD
   11212 lt_save_GCC=$GCC
   11213 GCC=$GXX
   11214 lt_save_with_gnu_ld=$with_gnu_ld
   11215 lt_save_path_LD=$lt_cv_path_LD
   11216 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11217   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11218 else
   11219   $as_unset lt_cv_prog_gnu_ld
   11220 fi
   11221 if test -n "${lt_cv_path_LDCXX+set}"; then
   11222   lt_cv_path_LD=$lt_cv_path_LDCXX
   11223 else
   11224   $as_unset lt_cv_path_LD
   11225 fi
   11226 test -z "${LDCXX+set}" || LD=$LDCXX
   11227 CC=${CXX-"c++"}
   11228 compiler=$CC
   11229 compiler_CXX=$CC
   11230 for cc_temp in $compiler""; do
   11231   case $cc_temp in
   11232     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11233     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11234     \-*) ;;
   11235     *) break;;
   11236   esac
   11237 done
   11238 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11239 
   11240 
   11241 # We don't want -fno-exception wen compiling C++ code, so set the
   11242 # no_builtin_flag separately
   11243 if test "$GXX" = yes; then
   11244   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11245 else
   11246   lt_prog_compiler_no_builtin_flag_CXX=
   11247 fi
   11248 
   11249 if test "$GXX" = yes; then
   11250   # Set up default GNU C++ configuration
   11251 
   11252 
   11253 # Check whether --with-gnu-ld was given.
   11254 if test "${with_gnu_ld+set}" = set; then
   11255   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11256 else
   11257   with_gnu_ld=no
   11258 fi
   11259 
   11260 ac_prog=ld
   11261 if test "$GCC" = yes; then
   11262   # Check if gcc -print-prog-name=ld gives a path.
   11263   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11264 $as_echo_n "checking for ld used by $CC... " >&6; }
   11265   case $host in
   11266   *-*-mingw*)
   11267     # gcc leaves a trailing carriage return which upsets mingw
   11268     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11269   *)
   11270     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11271   esac
   11272   case $ac_prog in
   11273     # Accept absolute paths.
   11274     [\\/]* | ?:[\\/]*)
   11275       re_direlt='/[^/][^/]*/\.\./'
   11276       # Canonicalize the pathname of ld
   11277       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11278       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11279 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11280       done
   11281       test -z "$LD" && LD="$ac_prog"
   11282       ;;
   11283   "")
   11284     # If it fails, then pretend we aren't using GCC.
   11285     ac_prog=ld
   11286     ;;
   11287   *)
   11288     # If it is relative, then search for the first ld in PATH.
   11289     with_gnu_ld=unknown
   11290     ;;
   11291   esac
   11292 elif test "$with_gnu_ld" = yes; then
   11293   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11294 $as_echo_n "checking for GNU ld... " >&6; }
   11295 else
   11296   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11297 $as_echo_n "checking for non-GNU ld... " >&6; }
   11298 fi
   11299 if test "${lt_cv_path_LD+set}" = set; then
   11300   $as_echo_n "(cached) " >&6
   11301 else
   11302   if test -z "$LD"; then
   11303   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11304   for ac_dir in $PATH; do
   11305     IFS="$lt_save_ifs"
   11306     test -z "$ac_dir" && ac_dir=.
   11307     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11308       lt_cv_path_LD="$ac_dir/$ac_prog"
   11309       # Check to see if the program is GNU ld.  I'd rather use --version,
   11310       # but apparently some variants of GNU ld only accept -v.
   11311       # Break only if it was the GNU/non-GNU ld that we prefer.
   11312       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11313       *GNU* | *'with BFD'*)
   11314 	test "$with_gnu_ld" != no && break
   11315 	;;
   11316       *)
   11317 	test "$with_gnu_ld" != yes && break
   11318 	;;
   11319       esac
   11320     fi
   11321   done
   11322   IFS="$lt_save_ifs"
   11323 else
   11324   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11325 fi
   11326 fi
   11327 
   11328 LD="$lt_cv_path_LD"
   11329 if test -n "$LD"; then
   11330   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11331 $as_echo "$LD" >&6; }
   11332 else
   11333   { $as_echo "$as_me:$LINENO: result: no" >&5
   11334 $as_echo "no" >&6; }
   11335 fi
   11336 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11337 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11338    { (exit 1); exit 1; }; }
   11339 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11340 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11341 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11342   $as_echo_n "(cached) " >&6
   11343 else
   11344   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11345 case `$LD -v 2>&1 </dev/null` in
   11346 *GNU* | *'with BFD'*)
   11347   lt_cv_prog_gnu_ld=yes
   11348   ;;
   11349 *)
   11350   lt_cv_prog_gnu_ld=no
   11351   ;;
   11352 esac
   11353 fi
   11354 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11355 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11356 with_gnu_ld=$lt_cv_prog_gnu_ld
   11357 
   11358 
   11359 
   11360   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11361   # archiving commands below assume that GNU ld is being used.
   11362   if test "$with_gnu_ld" = yes; then
   11363     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11364     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'
   11365 
   11366     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11367     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11368 
   11369     # If archive_cmds runs LD, not CC, wlarc should be empty
   11370     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11371     #     investigate it a little bit more. (MM)
   11372     wlarc='${wl}'
   11373 
   11374     # ancient GNU ld didn't support --whole-archive et. al.
   11375     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11376 	grep 'no-whole-archive' > /dev/null; then
   11377       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11378     else
   11379       whole_archive_flag_spec_CXX=
   11380     fi
   11381   else
   11382     with_gnu_ld=no
   11383     wlarc=
   11384 
   11385     # A generic and very simple default shared library creation
   11386     # command for GNU C++ for the case where it uses the native
   11387     # linker, instead of GNU ld.  If possible, this setting should
   11388     # overridden to take advantage of the native linker features on
   11389     # the platform it is being used on.
   11390     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11391   fi
   11392 
   11393   # Commands to make compiler produce verbose output that lists
   11394   # what "hidden" libraries, object files and flags are used when
   11395   # linking a shared library.
   11396   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11397 
   11398 else
   11399   GXX=no
   11400   with_gnu_ld=no
   11401   wlarc=
   11402 fi
   11403 
   11404 # PORTME: fill in a description of your system's C++ link characteristics
   11405 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11406 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11407 ld_shlibs_CXX=yes
   11408 case $host_os in
   11409   aix3*)
   11410     # FIXME: insert proper C++ library support
   11411     ld_shlibs_CXX=no
   11412     ;;
   11413   aix4* | aix5*)
   11414     if test "$host_cpu" = ia64; then
   11415       # On IA64, the linker does run time linking by default, so we don't
   11416       # have to do anything special.
   11417       aix_use_runtimelinking=no
   11418       exp_sym_flag='-Bexport'
   11419       no_entry_flag=""
   11420     else
   11421       aix_use_runtimelinking=no
   11422 
   11423       # Test if we are trying to use run time linking or normal
   11424       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11425       # need to do runtime linking.
   11426       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   11427 	for ld_flag in $LDFLAGS; do
   11428 	  case $ld_flag in
   11429 	  *-brtl*)
   11430 	    aix_use_runtimelinking=yes
   11431 	    break
   11432 	    ;;
   11433 	  esac
   11434 	done
   11435 	;;
   11436       esac
   11437 
   11438       exp_sym_flag='-bexport'
   11439       no_entry_flag='-bnoentry'
   11440     fi
   11441 
   11442     # When large executables or shared objects are built, AIX ld can
   11443     # have problems creating the table of contents.  If linking a library
   11444     # or program results in "error TOC overflow" add -mminimal-toc to
   11445     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11446     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11447 
   11448     archive_cmds_CXX=''
   11449     hardcode_direct_CXX=yes
   11450     hardcode_libdir_separator_CXX=':'
   11451     link_all_deplibs_CXX=yes
   11452 
   11453     if test "$GXX" = yes; then
   11454       case $host_os in aix4.[012]|aix4.[012].*)
   11455       # We only want to do this on AIX 4.2 and lower, the check
   11456       # below for broken collect2 doesn't work under 4.3+
   11457 	collect2name=`${CC} -print-prog-name=collect2`
   11458 	if test -f "$collect2name" && \
   11459 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11460 	then
   11461 	  # We have reworked collect2
   11462 	  :
   11463 	else
   11464 	  # We have old collect2
   11465 	  hardcode_direct_CXX=unsupported
   11466 	  # It fails to find uninstalled libraries when the uninstalled
   11467 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11468 	  # to unsupported forces relinking
   11469 	  hardcode_minus_L_CXX=yes
   11470 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11471 	  hardcode_libdir_separator_CXX=
   11472 	fi
   11473 	;;
   11474       esac
   11475       shared_flag='-shared'
   11476       if test "$aix_use_runtimelinking" = yes; then
   11477 	shared_flag="$shared_flag "'${wl}-G'
   11478       fi
   11479     else
   11480       # not using gcc
   11481       if test "$host_cpu" = ia64; then
   11482 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11483 	# chokes on -Wl,-G. The following line is correct:
   11484 	shared_flag='-G'
   11485       else
   11486 	if test "$aix_use_runtimelinking" = yes; then
   11487 	  shared_flag='${wl}-G'
   11488 	else
   11489 	  shared_flag='${wl}-bM:SRE'
   11490 	fi
   11491       fi
   11492     fi
   11493 
   11494     # It seems that -bexpall does not export symbols beginning with
   11495     # underscore (_), so it is better to generate a list of symbols to export.
   11496     always_export_symbols_CXX=yes
   11497     if test "$aix_use_runtimelinking" = yes; then
   11498       # Warning - without using the other runtime loading flags (-brtl),
   11499       # -berok will link without error, but may produce a broken library.
   11500       allow_undefined_flag_CXX='-berok'
   11501       # Determine the default libpath from the value encoded in an empty executable.
   11502       cat >conftest.$ac_ext <<_ACEOF
   11503 /* confdefs.h.  */
   11504 _ACEOF
   11505 cat confdefs.h >>conftest.$ac_ext
   11506 cat >>conftest.$ac_ext <<_ACEOF
   11507 /* end confdefs.h.  */
   11508 
   11509 int
   11510 main ()
   11511 {
   11512 
   11513   ;
   11514   return 0;
   11515 }
   11516 _ACEOF
   11517 rm -f conftest.$ac_objext conftest$ac_exeext
   11518 if { (ac_try="$ac_link"
   11519 case "(($ac_try" in
   11520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11521   *) ac_try_echo=$ac_try;;
   11522 esac
   11523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11524 $as_echo "$ac_try_echo") >&5
   11525   (eval "$ac_link") 2>conftest.er1
   11526   ac_status=$?
   11527   grep -v '^ *+' conftest.er1 >conftest.err
   11528   rm -f conftest.er1
   11529   cat conftest.err >&5
   11530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11531   (exit $ac_status); } && {
   11532 	 test -z "$ac_cxx_werror_flag" ||
   11533 	 test ! -s conftest.err
   11534        } && test -s conftest$ac_exeext && {
   11535 	 test "$cross_compiling" = yes ||
   11536 	 $as_test_x conftest$ac_exeext
   11537        }; then
   11538 
   11539 lt_aix_libpath_sed='
   11540     /Import File Strings/,/^$/ {
   11541 	/^0/ {
   11542 	    s/^0  *\(.*\)$/\1/
   11543 	    p
   11544 	}
   11545     }'
   11546 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11547 # Check for a 64-bit object if we didn't find anything.
   11548 if test -z "$aix_libpath"; then
   11549   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11550 fi
   11551 else
   11552   $as_echo "$as_me: failed program was:" >&5
   11553 sed 's/^/| /' conftest.$ac_ext >&5
   11554 
   11555 
   11556 fi
   11557 
   11558 rm -rf conftest.dSYM
   11559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11560       conftest$ac_exeext conftest.$ac_ext
   11561 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11562 
   11563       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11564 
   11565       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"
   11566      else
   11567       if test "$host_cpu" = ia64; then
   11568 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11569 	allow_undefined_flag_CXX="-z nodefs"
   11570 	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"
   11571       else
   11572 	# Determine the default libpath from the value encoded in an empty executable.
   11573 	cat >conftest.$ac_ext <<_ACEOF
   11574 /* confdefs.h.  */
   11575 _ACEOF
   11576 cat confdefs.h >>conftest.$ac_ext
   11577 cat >>conftest.$ac_ext <<_ACEOF
   11578 /* end confdefs.h.  */
   11579 
   11580 int
   11581 main ()
   11582 {
   11583 
   11584   ;
   11585   return 0;
   11586 }
   11587 _ACEOF
   11588 rm -f conftest.$ac_objext conftest$ac_exeext
   11589 if { (ac_try="$ac_link"
   11590 case "(($ac_try" in
   11591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11592   *) ac_try_echo=$ac_try;;
   11593 esac
   11594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11595 $as_echo "$ac_try_echo") >&5
   11596   (eval "$ac_link") 2>conftest.er1
   11597   ac_status=$?
   11598   grep -v '^ *+' conftest.er1 >conftest.err
   11599   rm -f conftest.er1
   11600   cat conftest.err >&5
   11601   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11602   (exit $ac_status); } && {
   11603 	 test -z "$ac_cxx_werror_flag" ||
   11604 	 test ! -s conftest.err
   11605        } && test -s conftest$ac_exeext && {
   11606 	 test "$cross_compiling" = yes ||
   11607 	 $as_test_x conftest$ac_exeext
   11608        }; then
   11609 
   11610 lt_aix_libpath_sed='
   11611     /Import File Strings/,/^$/ {
   11612 	/^0/ {
   11613 	    s/^0  *\(.*\)$/\1/
   11614 	    p
   11615 	}
   11616     }'
   11617 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11618 # Check for a 64-bit object if we didn't find anything.
   11619 if test -z "$aix_libpath"; then
   11620   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11621 fi
   11622 else
   11623   $as_echo "$as_me: failed program was:" >&5
   11624 sed 's/^/| /' conftest.$ac_ext >&5
   11625 
   11626 
   11627 fi
   11628 
   11629 rm -rf conftest.dSYM
   11630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11631       conftest$ac_exeext conftest.$ac_ext
   11632 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11633 
   11634 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11635 	# Warning - without using the other run time loading flags,
   11636 	# -berok will link without error, but may produce a broken library.
   11637 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11638 	allow_undefined_flag_CXX=' ${wl}-berok'
   11639 	# Exported symbols can be pulled into shared objects from archives
   11640 	whole_archive_flag_spec_CXX='$convenience'
   11641 	archive_cmds_need_lc_CXX=yes
   11642 	# This is similar to how AIX traditionally builds its shared libraries.
   11643 	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'
   11644       fi
   11645     fi
   11646     ;;
   11647 
   11648   beos*)
   11649     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11650       allow_undefined_flag_CXX=unsupported
   11651       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11652       # support --undefined.  This deserves some investigation.  FIXME
   11653       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11654     else
   11655       ld_shlibs_CXX=no
   11656     fi
   11657     ;;
   11658 
   11659   chorus*)
   11660     case $cc_basename in
   11661       *)
   11662 	# FIXME: insert proper C++ library support
   11663 	ld_shlibs_CXX=no
   11664 	;;
   11665     esac
   11666     ;;
   11667 
   11668   cygwin* | mingw* | pw32*)
   11669     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11670     # as there is no search path for DLLs.
   11671     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11672     allow_undefined_flag_CXX=unsupported
   11673     always_export_symbols_CXX=no
   11674     enable_shared_with_static_runtimes_CXX=yes
   11675 
   11676     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11677       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'
   11678       # If the export-symbols file already is a .def file (1st line
   11679       # is EXPORTS), use it as is; otherwise, prepend...
   11680       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11681 	cp $export_symbols $output_objdir/$soname.def;
   11682       else
   11683 	echo EXPORTS > $output_objdir/$soname.def;
   11684 	cat $export_symbols >> $output_objdir/$soname.def;
   11685       fi~
   11686       $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'
   11687     else
   11688       ld_shlibs_CXX=no
   11689     fi
   11690   ;;
   11691       darwin* | rhapsody*)
   11692         case $host_os in
   11693         rhapsody* | darwin1.[012])
   11694          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11695          ;;
   11696        *) # Darwin 1.3 on
   11697          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11698            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11699          else
   11700            case ${MACOSX_DEPLOYMENT_TARGET} in
   11701              10.[012])
   11702                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11703                ;;
   11704              10.*)
   11705                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11706                ;;
   11707            esac
   11708          fi
   11709          ;;
   11710         esac
   11711       archive_cmds_need_lc_CXX=no
   11712       hardcode_direct_CXX=no
   11713       hardcode_automatic_CXX=yes
   11714       hardcode_shlibpath_var_CXX=unsupported
   11715       whole_archive_flag_spec_CXX=''
   11716       link_all_deplibs_CXX=yes
   11717 
   11718     if test "$GXX" = yes ; then
   11719       lt_int_apple_cc_single_mod=no
   11720       output_verbose_link_cmd='echo'
   11721       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11722        lt_int_apple_cc_single_mod=yes
   11723       fi
   11724       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11725        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11726       else
   11727           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'
   11728         fi
   11729         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11730         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11731           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11732             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11733           else
   11734             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11735           fi
   11736             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}'
   11737       else
   11738       case $cc_basename in
   11739         xlc*)
   11740          output_verbose_link_cmd='echo'
   11741           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'
   11742           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11743           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11744           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}'
   11745           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}'
   11746           ;;
   11747        *)
   11748          ld_shlibs_CXX=no
   11749           ;;
   11750       esac
   11751       fi
   11752         ;;
   11753 
   11754   dgux*)
   11755     case $cc_basename in
   11756       ec++*)
   11757 	# FIXME: insert proper C++ library support
   11758 	ld_shlibs_CXX=no
   11759 	;;
   11760       ghcx*)
   11761 	# Green Hills C++ Compiler
   11762 	# FIXME: insert proper C++ library support
   11763 	ld_shlibs_CXX=no
   11764 	;;
   11765       *)
   11766 	# FIXME: insert proper C++ library support
   11767 	ld_shlibs_CXX=no
   11768 	;;
   11769     esac
   11770     ;;
   11771   freebsd[12]*)
   11772     # C++ shared libraries reported to be fairly broken before switch to ELF
   11773     ld_shlibs_CXX=no
   11774     ;;
   11775   freebsd-elf*)
   11776     archive_cmds_need_lc_CXX=no
   11777     ;;
   11778   freebsd* | dragonfly*)
   11779     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11780     # conventions
   11781     ld_shlibs_CXX=yes
   11782     ;;
   11783   gnu*)
   11784     ;;
   11785   hpux9*)
   11786     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11787     hardcode_libdir_separator_CXX=:
   11788     export_dynamic_flag_spec_CXX='${wl}-E'
   11789     hardcode_direct_CXX=yes
   11790     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11791 				# but as the default
   11792 				# location of the library.
   11793 
   11794     case $cc_basename in
   11795     CC*)
   11796       # FIXME: insert proper C++ library support
   11797       ld_shlibs_CXX=no
   11798       ;;
   11799     aCC*)
   11800       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'
   11801       # Commands to make compiler produce verbose output that lists
   11802       # what "hidden" libraries, object files and flags are used when
   11803       # linking a shared library.
   11804       #
   11805       # There doesn't appear to be a way to prevent this compiler from
   11806       # explicitly linking system object files so we need to strip them
   11807       # from the output so that they don't get included in the library
   11808       # dependencies.
   11809       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'
   11810       ;;
   11811     *)
   11812       if test "$GXX" = yes; then
   11813         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'
   11814       else
   11815         # FIXME: insert proper C++ library support
   11816         ld_shlibs_CXX=no
   11817       fi
   11818       ;;
   11819     esac
   11820     ;;
   11821   hpux10*|hpux11*)
   11822     if test $with_gnu_ld = no; then
   11823       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11824       hardcode_libdir_separator_CXX=:
   11825 
   11826       case $host_cpu in
   11827       hppa*64*|ia64*) ;;
   11828       *)
   11829 	export_dynamic_flag_spec_CXX='${wl}-E'
   11830         ;;
   11831       esac
   11832     fi
   11833     case $host_cpu in
   11834     hppa*64*|ia64*)
   11835       hardcode_direct_CXX=no
   11836       hardcode_shlibpath_var_CXX=no
   11837       ;;
   11838     *)
   11839       hardcode_direct_CXX=yes
   11840       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11841 					      # but as the default
   11842 					      # location of the library.
   11843       ;;
   11844     esac
   11845 
   11846     case $cc_basename in
   11847       CC*)
   11848 	# FIXME: insert proper C++ library support
   11849 	ld_shlibs_CXX=no
   11850 	;;
   11851       aCC*)
   11852 	case $host_cpu in
   11853 	hppa*64*)
   11854 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11855 	  ;;
   11856 	ia64*)
   11857 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11858 	  ;;
   11859 	*)
   11860 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11861 	  ;;
   11862 	esac
   11863 	# Commands to make compiler produce verbose output that lists
   11864 	# what "hidden" libraries, object files and flags are used when
   11865 	# linking a shared library.
   11866 	#
   11867 	# There doesn't appear to be a way to prevent this compiler from
   11868 	# explicitly linking system object files so we need to strip them
   11869 	# from the output so that they don't get included in the library
   11870 	# dependencies.
   11871 	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'
   11872 	;;
   11873       *)
   11874 	if test "$GXX" = yes; then
   11875 	  if test $with_gnu_ld = no; then
   11876 	    case $host_cpu in
   11877 	    hppa*64*)
   11878 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11879 	      ;;
   11880 	    ia64*)
   11881 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11882 	      ;;
   11883 	    *)
   11884 	      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'
   11885 	      ;;
   11886 	    esac
   11887 	  fi
   11888 	else
   11889 	  # FIXME: insert proper C++ library support
   11890 	  ld_shlibs_CXX=no
   11891 	fi
   11892 	;;
   11893     esac
   11894     ;;
   11895   interix[3-9]*)
   11896     hardcode_direct_CXX=no
   11897     hardcode_shlibpath_var_CXX=no
   11898     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11899     export_dynamic_flag_spec_CXX='${wl}-E'
   11900     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11901     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11902     # default) and relocated if they conflict, which is a slow very memory
   11903     # consuming and fragmenting process.  To avoid this, we pick a random,
   11904     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11905     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11906     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'
   11907     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'
   11908     ;;
   11909   irix5* | irix6*)
   11910     case $cc_basename in
   11911       CC*)
   11912 	# SGI C++
   11913 	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'
   11914 
   11915 	# Archives containing C++ object files must be created using
   11916 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11917 	# necessary to make sure instantiated templates are included
   11918 	# in the archive.
   11919 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11920 	;;
   11921       *)
   11922 	if test "$GXX" = yes; then
   11923 	  if test "$with_gnu_ld" = no; then
   11924 	    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'
   11925 	  else
   11926 	    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'
   11927 	  fi
   11928 	fi
   11929 	link_all_deplibs_CXX=yes
   11930 	;;
   11931     esac
   11932     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11933     hardcode_libdir_separator_CXX=:
   11934     ;;
   11935   linux* | k*bsd*-gnu)
   11936     case $cc_basename in
   11937       KCC*)
   11938 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11939 
   11940 	# KCC will only create a shared library if the output file
   11941 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11942 	# to its proper name (with version) after linking.
   11943 	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'
   11944 	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'
   11945 	# Commands to make compiler produce verbose output that lists
   11946 	# what "hidden" libraries, object files and flags are used when
   11947 	# linking a shared library.
   11948 	#
   11949 	# There doesn't appear to be a way to prevent this compiler from
   11950 	# explicitly linking system object files so we need to strip them
   11951 	# from the output so that they don't get included in the library
   11952 	# dependencies.
   11953 	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'
   11954 
   11955 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11956 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11957 
   11958 	# Archives containing C++ object files must be created using
   11959 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11960 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11961 	;;
   11962       icpc*)
   11963 	# Intel C++
   11964 	with_gnu_ld=yes
   11965 	# version 8.0 and above of icpc choke on multiply defined symbols
   11966 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11967 	# earlier do not add the objects themselves.
   11968 	case `$CC -V 2>&1` in
   11969 	*"Version 7."*)
   11970   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11971   	  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'
   11972 	  ;;
   11973 	*)  # Version 8.0 or newer
   11974 	  tmp_idyn=
   11975 	  case $host_cpu in
   11976 	    ia64*) tmp_idyn=' -i_dynamic';;
   11977 	  esac
   11978   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11979 	  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'
   11980 	  ;;
   11981 	esac
   11982 	archive_cmds_need_lc_CXX=no
   11983 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11984 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11985 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11986 	;;
   11987       pgCC*)
   11988         # Portland Group C++ compiler
   11989 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11990   	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'
   11991 
   11992 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11993 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11994 	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'
   11995         ;;
   11996       cxx*)
   11997 	# Compaq C++
   11998 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11999 	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'
   12000 
   12001 	runpath_var=LD_RUN_PATH
   12002 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12003 	hardcode_libdir_separator_CXX=:
   12004 
   12005 	# Commands to make compiler produce verbose output that lists
   12006 	# what "hidden" libraries, object files and flags are used when
   12007 	# linking a shared library.
   12008 	#
   12009 	# There doesn't appear to be a way to prevent this compiler from
   12010 	# explicitly linking system object files so we need to strip them
   12011 	# from the output so that they don't get included in the library
   12012 	# dependencies.
   12013 	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'
   12014 	;;
   12015       *)
   12016 	case `$CC -V 2>&1 | sed 5q` in
   12017 	*Sun\ C*)
   12018 	  # Sun C++ 5.9
   12019 	  no_undefined_flag_CXX=' -zdefs'
   12020 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12021 	  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'
   12022 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12023 	  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'
   12024 
   12025 	  # Not sure whether something based on
   12026 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12027 	  # would be better.
   12028 	  output_verbose_link_cmd='echo'
   12029 
   12030 	  # Archives containing C++ object files must be created using
   12031 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12032 	  # necessary to make sure instantiated templates are included
   12033 	  # in the archive.
   12034 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12035 	  ;;
   12036 	esac
   12037 	;;
   12038     esac
   12039     ;;
   12040   lynxos*)
   12041     # FIXME: insert proper C++ library support
   12042     ld_shlibs_CXX=no
   12043     ;;
   12044   m88k*)
   12045     # FIXME: insert proper C++ library support
   12046     ld_shlibs_CXX=no
   12047     ;;
   12048   mvs*)
   12049     case $cc_basename in
   12050       cxx*)
   12051 	# FIXME: insert proper C++ library support
   12052 	ld_shlibs_CXX=no
   12053 	;;
   12054       *)
   12055 	# FIXME: insert proper C++ library support
   12056 	ld_shlibs_CXX=no
   12057 	;;
   12058     esac
   12059     ;;
   12060   netbsd*)
   12061     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12062       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12063       wlarc=
   12064       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12065       hardcode_direct_CXX=yes
   12066       hardcode_shlibpath_var_CXX=no
   12067     fi
   12068     # Workaround some broken pre-1.5 toolchains
   12069     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12070     ;;
   12071   openbsd2*)
   12072     # C++ shared libraries are fairly broken
   12073     ld_shlibs_CXX=no
   12074     ;;
   12075   openbsd*)
   12076     if test -f /usr/libexec/ld.so; then
   12077       hardcode_direct_CXX=yes
   12078       hardcode_shlibpath_var_CXX=no
   12079       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12080       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12081       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12082 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12083 	export_dynamic_flag_spec_CXX='${wl}-E'
   12084 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12085       fi
   12086       output_verbose_link_cmd='echo'
   12087     else
   12088       ld_shlibs_CXX=no
   12089     fi
   12090     ;;
   12091   osf3*)
   12092     case $cc_basename in
   12093       KCC*)
   12094 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12095 
   12096 	# KCC will only create a shared library if the output file
   12097 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12098 	# to its proper name (with version) after linking.
   12099 	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'
   12100 
   12101 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12102 	hardcode_libdir_separator_CXX=:
   12103 
   12104 	# Archives containing C++ object files must be created using
   12105 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12106 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12107 
   12108 	;;
   12109       RCC*)
   12110 	# Rational C++ 2.4.1
   12111 	# FIXME: insert proper C++ library support
   12112 	ld_shlibs_CXX=no
   12113 	;;
   12114       cxx*)
   12115 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12116 	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'
   12117 
   12118 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12119 	hardcode_libdir_separator_CXX=:
   12120 
   12121 	# Commands to make compiler produce verbose output that lists
   12122 	# what "hidden" libraries, object files and flags are used when
   12123 	# linking a shared library.
   12124 	#
   12125 	# There doesn't appear to be a way to prevent this compiler from
   12126 	# explicitly linking system object files so we need to strip them
   12127 	# from the output so that they don't get included in the library
   12128 	# dependencies.
   12129 	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'
   12130 	;;
   12131       *)
   12132 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12133 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12134 	  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'
   12135 
   12136 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12137 	  hardcode_libdir_separator_CXX=:
   12138 
   12139 	  # Commands to make compiler produce verbose output that lists
   12140 	  # what "hidden" libraries, object files and flags are used when
   12141 	  # linking a shared library.
   12142 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12143 
   12144 	else
   12145 	  # FIXME: insert proper C++ library support
   12146 	  ld_shlibs_CXX=no
   12147 	fi
   12148 	;;
   12149     esac
   12150     ;;
   12151   osf4* | osf5*)
   12152     case $cc_basename in
   12153       KCC*)
   12154 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12155 
   12156 	# KCC will only create a shared library if the output file
   12157 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12158 	# to its proper name (with version) after linking.
   12159 	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'
   12160 
   12161 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12162 	hardcode_libdir_separator_CXX=:
   12163 
   12164 	# Archives containing C++ object files must be created using
   12165 	# the KAI C++ compiler.
   12166 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12167 	;;
   12168       RCC*)
   12169 	# Rational C++ 2.4.1
   12170 	# FIXME: insert proper C++ library support
   12171 	ld_shlibs_CXX=no
   12172 	;;
   12173       cxx*)
   12174 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12175 	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'
   12176 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12177 	  echo "-hidden">> $lib.exp~
   12178 	  $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~
   12179 	  $rm $lib.exp'
   12180 
   12181 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12182 	hardcode_libdir_separator_CXX=:
   12183 
   12184 	# Commands to make compiler produce verbose output that lists
   12185 	# what "hidden" libraries, object files and flags are used when
   12186 	# linking a shared library.
   12187 	#
   12188 	# There doesn't appear to be a way to prevent this compiler from
   12189 	# explicitly linking system object files so we need to strip them
   12190 	# from the output so that they don't get included in the library
   12191 	# dependencies.
   12192 	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'
   12193 	;;
   12194       *)
   12195 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12196 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12197 	 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'
   12198 
   12199 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12200 	  hardcode_libdir_separator_CXX=:
   12201 
   12202 	  # Commands to make compiler produce verbose output that lists
   12203 	  # what "hidden" libraries, object files and flags are used when
   12204 	  # linking a shared library.
   12205 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12206 
   12207 	else
   12208 	  # FIXME: insert proper C++ library support
   12209 	  ld_shlibs_CXX=no
   12210 	fi
   12211 	;;
   12212     esac
   12213     ;;
   12214   psos*)
   12215     # FIXME: insert proper C++ library support
   12216     ld_shlibs_CXX=no
   12217     ;;
   12218   sunos4*)
   12219     case $cc_basename in
   12220       CC*)
   12221 	# Sun C++ 4.x
   12222 	# FIXME: insert proper C++ library support
   12223 	ld_shlibs_CXX=no
   12224 	;;
   12225       lcc*)
   12226 	# Lucid
   12227 	# FIXME: insert proper C++ library support
   12228 	ld_shlibs_CXX=no
   12229 	;;
   12230       *)
   12231 	# FIXME: insert proper C++ library support
   12232 	ld_shlibs_CXX=no
   12233 	;;
   12234     esac
   12235     ;;
   12236   solaris*)
   12237     case $cc_basename in
   12238       CC*)
   12239 	# Sun C++ 4.2, 5.x and Centerline C++
   12240         archive_cmds_need_lc_CXX=yes
   12241 	no_undefined_flag_CXX=' -zdefs'
   12242 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12243 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12244 	$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'
   12245 
   12246 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12247 	hardcode_shlibpath_var_CXX=no
   12248 	case $host_os in
   12249 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12250 	  *)
   12251 	    # The compiler driver will combine and reorder linker options,
   12252 	    # but understands `-z linker_flag'.
   12253 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12254 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12255 	    ;;
   12256 	esac
   12257 	link_all_deplibs_CXX=yes
   12258 
   12259 	output_verbose_link_cmd='echo'
   12260 
   12261 	# Archives containing C++ object files must be created using
   12262 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12263 	# necessary to make sure instantiated templates are included
   12264 	# in the archive.
   12265 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12266 	;;
   12267       gcx*)
   12268 	# Green Hills C++ Compiler
   12269 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12270 
   12271 	# The C++ compiler must be used to create the archive.
   12272 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12273 	;;
   12274       *)
   12275 	# GNU C++ compiler with Solaris linker
   12276 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12277 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12278 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12279 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12280 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12281 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12282 
   12283 	    # Commands to make compiler produce verbose output that lists
   12284 	    # what "hidden" libraries, object files and flags are used when
   12285 	    # linking a shared library.
   12286 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12287 	  else
   12288 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12289 	    # platform.
   12290 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12291 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12292 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12293 
   12294 	    # Commands to make compiler produce verbose output that lists
   12295 	    # what "hidden" libraries, object files and flags are used when
   12296 	    # linking a shared library.
   12297 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12298 	  fi
   12299 
   12300 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12301 	  case $host_os in
   12302 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12303 	  *)
   12304 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12305 	    ;;
   12306 	  esac
   12307 	fi
   12308 	;;
   12309     esac
   12310     ;;
   12311   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12312     no_undefined_flag_CXX='${wl}-z,text'
   12313     archive_cmds_need_lc_CXX=no
   12314     hardcode_shlibpath_var_CXX=no
   12315     runpath_var='LD_RUN_PATH'
   12316 
   12317     case $cc_basename in
   12318       CC*)
   12319 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12320 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12321 	;;
   12322       *)
   12323 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12324 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12325 	;;
   12326     esac
   12327     ;;
   12328   sysv5* | sco3.2v5* | sco5v6*)
   12329     # Note: We can NOT use -z defs as we might desire, because we do not
   12330     # link with -lc, and that would cause any symbols used from libc to
   12331     # always be unresolved, which means just about no library would
   12332     # ever link correctly.  If we're not using GNU ld we use -z text
   12333     # though, which does catch some bad symbols but isn't as heavy-handed
   12334     # as -z defs.
   12335     # For security reasons, it is highly recommended that you always
   12336     # use absolute paths for naming shared libraries, and exclude the
   12337     # DT_RUNPATH tag from executables and libraries.  But doing so
   12338     # requires that you compile everything twice, which is a pain.
   12339     # So that behaviour is only enabled if SCOABSPATH is set to a
   12340     # non-empty value in the environment.  Most likely only useful for
   12341     # creating official distributions of packages.
   12342     # This is a hack until libtool officially supports absolute path
   12343     # names for shared libraries.
   12344     no_undefined_flag_CXX='${wl}-z,text'
   12345     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12346     archive_cmds_need_lc_CXX=no
   12347     hardcode_shlibpath_var_CXX=no
   12348     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12349     hardcode_libdir_separator_CXX=':'
   12350     link_all_deplibs_CXX=yes
   12351     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12352     runpath_var='LD_RUN_PATH'
   12353 
   12354     case $cc_basename in
   12355       CC*)
   12356 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12357 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12358 	;;
   12359       *)
   12360 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12361 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12362 	;;
   12363     esac
   12364     ;;
   12365   tandem*)
   12366     case $cc_basename in
   12367       NCC*)
   12368 	# NonStop-UX NCC 3.20
   12369 	# FIXME: insert proper C++ library support
   12370 	ld_shlibs_CXX=no
   12371 	;;
   12372       *)
   12373 	# FIXME: insert proper C++ library support
   12374 	ld_shlibs_CXX=no
   12375 	;;
   12376     esac
   12377     ;;
   12378   vxworks*)
   12379     # FIXME: insert proper C++ library support
   12380     ld_shlibs_CXX=no
   12381     ;;
   12382   *)
   12383     # FIXME: insert proper C++ library support
   12384     ld_shlibs_CXX=no
   12385     ;;
   12386 esac
   12387 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12388 $as_echo "$ld_shlibs_CXX" >&6; }
   12389 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12390 
   12391 GCC_CXX="$GXX"
   12392 LD_CXX="$LD"
   12393 
   12394 
   12395 cat > conftest.$ac_ext <<EOF
   12396 class Foo
   12397 {
   12398 public:
   12399   Foo (void) { a = 0; }
   12400 private:
   12401   int a;
   12402 };
   12403 EOF
   12404 
   12405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12406   (eval $ac_compile) 2>&5
   12407   ac_status=$?
   12408   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12409   (exit $ac_status); }; then
   12410   # Parse the compiler output and extract the necessary
   12411   # objects, libraries and library flags.
   12412 
   12413   # Sentinel used to keep track of whether or not we are before
   12414   # the conftest object file.
   12415   pre_test_object_deps_done=no
   12416 
   12417   # The `*' in the case matches for architectures that use `case' in
   12418   # $output_verbose_cmd can trigger glob expansion during the loop
   12419   # eval without this substitution.
   12420   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12421 
   12422   for p in `eval $output_verbose_link_cmd`; do
   12423     case $p in
   12424 
   12425     -L* | -R* | -l*)
   12426        # Some compilers place space between "-{L,R}" and the path.
   12427        # Remove the space.
   12428        if test $p = "-L" \
   12429 	  || test $p = "-R"; then
   12430 	 prev=$p
   12431 	 continue
   12432        else
   12433 	 prev=
   12434        fi
   12435 
   12436        if test "$pre_test_object_deps_done" = no; then
   12437 	 case $p in
   12438 	 -L* | -R*)
   12439 	   # Internal compiler library paths should come after those
   12440 	   # provided the user.  The postdeps already come after the
   12441 	   # user supplied libs so there is no need to process them.
   12442 	   if test -z "$compiler_lib_search_path_CXX"; then
   12443 	     compiler_lib_search_path_CXX="${prev}${p}"
   12444 	   else
   12445 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12446 	   fi
   12447 	   ;;
   12448 	 # The "-l" case would never come before the object being
   12449 	 # linked, so don't bother handling this case.
   12450 	 esac
   12451        else
   12452 	 if test -z "$postdeps_CXX"; then
   12453 	   postdeps_CXX="${prev}${p}"
   12454 	 else
   12455 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12456 	 fi
   12457        fi
   12458        ;;
   12459 
   12460     *.$objext)
   12461        # This assumes that the test object file only shows up
   12462        # once in the compiler output.
   12463        if test "$p" = "conftest.$objext"; then
   12464 	 pre_test_object_deps_done=yes
   12465 	 continue
   12466        fi
   12467 
   12468        if test "$pre_test_object_deps_done" = no; then
   12469 	 if test -z "$predep_objects_CXX"; then
   12470 	   predep_objects_CXX="$p"
   12471 	 else
   12472 	   predep_objects_CXX="$predep_objects_CXX $p"
   12473 	 fi
   12474        else
   12475 	 if test -z "$postdep_objects_CXX"; then
   12476 	   postdep_objects_CXX="$p"
   12477 	 else
   12478 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12479 	 fi
   12480        fi
   12481        ;;
   12482 
   12483     *) ;; # Ignore the rest.
   12484 
   12485     esac
   12486   done
   12487 
   12488   # Clean up.
   12489   rm -f a.out a.exe
   12490 else
   12491   echo "libtool.m4: error: problem compiling CXX test program"
   12492 fi
   12493 
   12494 $rm -f confest.$objext
   12495 
   12496 # PORTME: override above test on systems where it is broken
   12497 case $host_os in
   12498 interix[3-9]*)
   12499   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12500   # hack all around it, let's just trust "g++" to DTRT.
   12501   predep_objects_CXX=
   12502   postdep_objects_CXX=
   12503   postdeps_CXX=
   12504   ;;
   12505 
   12506 linux*)
   12507   case `$CC -V 2>&1 | sed 5q` in
   12508   *Sun\ C*)
   12509     # Sun C++ 5.9
   12510     #
   12511     # The more standards-conforming stlport4 library is
   12512     # incompatible with the Cstd library. Avoid specifying
   12513     # it if it's in CXXFLAGS. Ignore libCrun as
   12514     # -library=stlport4 depends on it.
   12515     case " $CXX $CXXFLAGS " in
   12516     *" -library=stlport4 "*)
   12517       solaris_use_stlport4=yes
   12518       ;;
   12519     esac
   12520     if test "$solaris_use_stlport4" != yes; then
   12521       postdeps_CXX='-library=Cstd -library=Crun'
   12522     fi
   12523     ;;
   12524   esac
   12525   ;;
   12526 
   12527 solaris*)
   12528   case $cc_basename in
   12529   CC*)
   12530     # The more standards-conforming stlport4 library is
   12531     # incompatible with the Cstd library. Avoid specifying
   12532     # it if it's in CXXFLAGS. Ignore libCrun as
   12533     # -library=stlport4 depends on it.
   12534     case " $CXX $CXXFLAGS " in
   12535     *" -library=stlport4 "*)
   12536       solaris_use_stlport4=yes
   12537       ;;
   12538     esac
   12539 
   12540     # Adding this requires a known-good setup of shared libraries for
   12541     # Sun compiler versions before 5.6, else PIC objects from an old
   12542     # archive will be linked into the output, leading to subtle bugs.
   12543     if test "$solaris_use_stlport4" != yes; then
   12544       postdeps_CXX='-library=Cstd -library=Crun'
   12545     fi
   12546     ;;
   12547   esac
   12548   ;;
   12549 esac
   12550 
   12551 
   12552 case " $postdeps_CXX " in
   12553 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12554 esac
   12555 
   12556 lt_prog_compiler_wl_CXX=
   12557 lt_prog_compiler_pic_CXX=
   12558 lt_prog_compiler_static_CXX=
   12559 
   12560 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12561 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12562 
   12563   # C++ specific cases for pic, static, wl, etc.
   12564   if test "$GXX" = yes; then
   12565     lt_prog_compiler_wl_CXX='-Wl,'
   12566     lt_prog_compiler_static_CXX='-static'
   12567 
   12568     case $host_os in
   12569     aix*)
   12570       # All AIX code is PIC.
   12571       if test "$host_cpu" = ia64; then
   12572 	# AIX 5 now supports IA64 processor
   12573 	lt_prog_compiler_static_CXX='-Bstatic'
   12574       fi
   12575       ;;
   12576     amigaos*)
   12577       # FIXME: we need at least 68020 code to build shared libraries, but
   12578       # adding the `-m68020' flag to GCC prevents building anything better,
   12579       # like `-m68040'.
   12580       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12581       ;;
   12582     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12583       # PIC is the default for these OSes.
   12584       ;;
   12585     mingw* | cygwin* | os2* | pw32*)
   12586       # This hack is so that the source file can tell whether it is being
   12587       # built for inclusion in a dll (and should export symbols for example).
   12588       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12589       # (--disable-auto-import) libraries
   12590       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12591       ;;
   12592     darwin* | rhapsody*)
   12593       # PIC is the default on this platform
   12594       # Common symbols not allowed in MH_DYLIB files
   12595       lt_prog_compiler_pic_CXX='-fno-common'
   12596       ;;
   12597     *djgpp*)
   12598       # DJGPP does not support shared libraries at all
   12599       lt_prog_compiler_pic_CXX=
   12600       ;;
   12601     interix[3-9]*)
   12602       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12603       # Instead, we relocate shared libraries at runtime.
   12604       ;;
   12605     sysv4*MP*)
   12606       if test -d /usr/nec; then
   12607 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12608       fi
   12609       ;;
   12610     hpux*)
   12611       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12612       # not for PA HP-UX.
   12613       case $host_cpu in
   12614       hppa*64*|ia64*)
   12615 	;;
   12616       *)
   12617 	lt_prog_compiler_pic_CXX='-fPIC'
   12618 	;;
   12619       esac
   12620       ;;
   12621     *)
   12622       lt_prog_compiler_pic_CXX='-fPIC'
   12623       ;;
   12624     esac
   12625   else
   12626     case $host_os in
   12627       aix4* | aix5*)
   12628 	# All AIX code is PIC.
   12629 	if test "$host_cpu" = ia64; then
   12630 	  # AIX 5 now supports IA64 processor
   12631 	  lt_prog_compiler_static_CXX='-Bstatic'
   12632 	else
   12633 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12634 	fi
   12635 	;;
   12636       chorus*)
   12637 	case $cc_basename in
   12638 	cxch68*)
   12639 	  # Green Hills C++ Compiler
   12640 	  # _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"
   12641 	  ;;
   12642 	esac
   12643 	;;
   12644        darwin*)
   12645          # PIC is the default on this platform
   12646          # Common symbols not allowed in MH_DYLIB files
   12647          case $cc_basename in
   12648            xlc*)
   12649            lt_prog_compiler_pic_CXX='-qnocommon'
   12650            lt_prog_compiler_wl_CXX='-Wl,'
   12651            ;;
   12652          esac
   12653        ;;
   12654       dgux*)
   12655 	case $cc_basename in
   12656 	  ec++*)
   12657 	    lt_prog_compiler_pic_CXX='-KPIC'
   12658 	    ;;
   12659 	  ghcx*)
   12660 	    # Green Hills C++ Compiler
   12661 	    lt_prog_compiler_pic_CXX='-pic'
   12662 	    ;;
   12663 	  *)
   12664 	    ;;
   12665 	esac
   12666 	;;
   12667       freebsd* | dragonfly*)
   12668 	# FreeBSD uses GNU C++
   12669 	;;
   12670       hpux9* | hpux10* | hpux11*)
   12671 	case $cc_basename in
   12672 	  CC*)
   12673 	    lt_prog_compiler_wl_CXX='-Wl,'
   12674 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12675 	    if test "$host_cpu" != ia64; then
   12676 	      lt_prog_compiler_pic_CXX='+Z'
   12677 	    fi
   12678 	    ;;
   12679 	  aCC*)
   12680 	    lt_prog_compiler_wl_CXX='-Wl,'
   12681 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12682 	    case $host_cpu in
   12683 	    hppa*64*|ia64*)
   12684 	      # +Z the default
   12685 	      ;;
   12686 	    *)
   12687 	      lt_prog_compiler_pic_CXX='+Z'
   12688 	      ;;
   12689 	    esac
   12690 	    ;;
   12691 	  *)
   12692 	    ;;
   12693 	esac
   12694 	;;
   12695       interix*)
   12696 	# This is c89, which is MS Visual C++ (no shared libs)
   12697 	# Anyone wants to do a port?
   12698 	;;
   12699       irix5* | irix6* | nonstopux*)
   12700 	case $cc_basename in
   12701 	  CC*)
   12702 	    lt_prog_compiler_wl_CXX='-Wl,'
   12703 	    lt_prog_compiler_static_CXX='-non_shared'
   12704 	    # CC pic flag -KPIC is the default.
   12705 	    ;;
   12706 	  *)
   12707 	    ;;
   12708 	esac
   12709 	;;
   12710       linux* | k*bsd*-gnu)
   12711 	case $cc_basename in
   12712 	  KCC*)
   12713 	    # KAI C++ Compiler
   12714 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12715 	    lt_prog_compiler_pic_CXX='-fPIC'
   12716 	    ;;
   12717 	  icpc* | ecpc*)
   12718 	    # Intel C++
   12719 	    lt_prog_compiler_wl_CXX='-Wl,'
   12720 	    lt_prog_compiler_pic_CXX='-KPIC'
   12721 	    lt_prog_compiler_static_CXX='-static'
   12722 	    ;;
   12723 	  pgCC*)
   12724 	    # Portland Group C++ compiler.
   12725 	    lt_prog_compiler_wl_CXX='-Wl,'
   12726 	    lt_prog_compiler_pic_CXX='-fpic'
   12727 	    lt_prog_compiler_static_CXX='-Bstatic'
   12728 	    ;;
   12729 	  cxx*)
   12730 	    # Compaq C++
   12731 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12732 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12733 	    lt_prog_compiler_pic_CXX=
   12734 	    lt_prog_compiler_static_CXX='-non_shared'
   12735 	    ;;
   12736 	  *)
   12737 	    case `$CC -V 2>&1 | sed 5q` in
   12738 	    *Sun\ C*)
   12739 	      # Sun C++ 5.9
   12740 	      lt_prog_compiler_pic_CXX='-KPIC'
   12741 	      lt_prog_compiler_static_CXX='-Bstatic'
   12742 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12743 	      ;;
   12744 	    esac
   12745 	    ;;
   12746 	esac
   12747 	;;
   12748       lynxos*)
   12749 	;;
   12750       m88k*)
   12751 	;;
   12752       mvs*)
   12753 	case $cc_basename in
   12754 	  cxx*)
   12755 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12756 	    ;;
   12757 	  *)
   12758 	    ;;
   12759 	esac
   12760 	;;
   12761       netbsd*)
   12762 	;;
   12763       osf3* | osf4* | osf5*)
   12764 	case $cc_basename in
   12765 	  KCC*)
   12766 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12767 	    ;;
   12768 	  RCC*)
   12769 	    # Rational C++ 2.4.1
   12770 	    lt_prog_compiler_pic_CXX='-pic'
   12771 	    ;;
   12772 	  cxx*)
   12773 	    # Digital/Compaq C++
   12774 	    lt_prog_compiler_wl_CXX='-Wl,'
   12775 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12776 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12777 	    lt_prog_compiler_pic_CXX=
   12778 	    lt_prog_compiler_static_CXX='-non_shared'
   12779 	    ;;
   12780 	  *)
   12781 	    ;;
   12782 	esac
   12783 	;;
   12784       psos*)
   12785 	;;
   12786       solaris*)
   12787 	case $cc_basename in
   12788 	  CC*)
   12789 	    # Sun C++ 4.2, 5.x and Centerline C++
   12790 	    lt_prog_compiler_pic_CXX='-KPIC'
   12791 	    lt_prog_compiler_static_CXX='-Bstatic'
   12792 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12793 	    ;;
   12794 	  gcx*)
   12795 	    # Green Hills C++ Compiler
   12796 	    lt_prog_compiler_pic_CXX='-PIC'
   12797 	    ;;
   12798 	  *)
   12799 	    ;;
   12800 	esac
   12801 	;;
   12802       sunos4*)
   12803 	case $cc_basename in
   12804 	  CC*)
   12805 	    # Sun C++ 4.x
   12806 	    lt_prog_compiler_pic_CXX='-pic'
   12807 	    lt_prog_compiler_static_CXX='-Bstatic'
   12808 	    ;;
   12809 	  lcc*)
   12810 	    # Lucid
   12811 	    lt_prog_compiler_pic_CXX='-pic'
   12812 	    ;;
   12813 	  *)
   12814 	    ;;
   12815 	esac
   12816 	;;
   12817       tandem*)
   12818 	case $cc_basename in
   12819 	  NCC*)
   12820 	    # NonStop-UX NCC 3.20
   12821 	    lt_prog_compiler_pic_CXX='-KPIC'
   12822 	    ;;
   12823 	  *)
   12824 	    ;;
   12825 	esac
   12826 	;;
   12827       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12828 	case $cc_basename in
   12829 	  CC*)
   12830 	    lt_prog_compiler_wl_CXX='-Wl,'
   12831 	    lt_prog_compiler_pic_CXX='-KPIC'
   12832 	    lt_prog_compiler_static_CXX='-Bstatic'
   12833 	    ;;
   12834 	esac
   12835 	;;
   12836       vxworks*)
   12837 	;;
   12838       *)
   12839 	lt_prog_compiler_can_build_shared_CXX=no
   12840 	;;
   12841     esac
   12842   fi
   12843 
   12844 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12845 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12846 
   12847 #
   12848 # Check to make sure the PIC flag actually works.
   12849 #
   12850 if test -n "$lt_prog_compiler_pic_CXX"; then
   12851 
   12852 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12853 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12854 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12855   $as_echo_n "(cached) " >&6
   12856 else
   12857   lt_prog_compiler_pic_works_CXX=no
   12858   ac_outfile=conftest.$ac_objext
   12859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12860    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12861    # Insert the option either (1) after the last *FLAGS variable, or
   12862    # (2) before a word containing "conftest.", or (3) at the end.
   12863    # Note that $ac_compile itself does not contain backslashes and begins
   12864    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12865    # The option is referenced via a variable to avoid confusing sed.
   12866    lt_compile=`echo "$ac_compile" | $SED \
   12867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12869    -e 's:$: $lt_compiler_flag:'`
   12870    (eval echo "\"\$as_me:12870: $lt_compile\"" >&5)
   12871    (eval "$lt_compile" 2>conftest.err)
   12872    ac_status=$?
   12873    cat conftest.err >&5
   12874    echo "$as_me:12874: \$? = $ac_status" >&5
   12875    if (exit $ac_status) && test -s "$ac_outfile"; then
   12876      # The compiler can only warn and ignore the option if not recognized
   12877      # So say no if there are warnings other than the usual output.
   12878      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12879      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12880      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12881        lt_prog_compiler_pic_works_CXX=yes
   12882      fi
   12883    fi
   12884    $rm conftest*
   12885 
   12886 fi
   12887 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12888 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
   12889 
   12890 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12891     case $lt_prog_compiler_pic_CXX in
   12892      "" | " "*) ;;
   12893      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12894      esac
   12895 else
   12896     lt_prog_compiler_pic_CXX=
   12897      lt_prog_compiler_can_build_shared_CXX=no
   12898 fi
   12899 
   12900 fi
   12901 case $host_os in
   12902   # For platforms which do not support PIC, -DPIC is meaningless:
   12903   *djgpp*)
   12904     lt_prog_compiler_pic_CXX=
   12905     ;;
   12906   *)
   12907     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12908     ;;
   12909 esac
   12910 
   12911 #
   12912 # Check to make sure the static flag actually works.
   12913 #
   12914 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12915 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12916 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12917 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12918   $as_echo_n "(cached) " >&6
   12919 else
   12920   lt_prog_compiler_static_works_CXX=no
   12921    save_LDFLAGS="$LDFLAGS"
   12922    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12923    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12924    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12925      # The linker can only warn and ignore the option if not recognized
   12926      # So say no if there are warnings
   12927      if test -s conftest.err; then
   12928        # Append any errors to the config.log.
   12929        cat conftest.err 1>&5
   12930        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12931        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12932        if diff conftest.exp conftest.er2 >/dev/null; then
   12933          lt_prog_compiler_static_works_CXX=yes
   12934        fi
   12935      else
   12936        lt_prog_compiler_static_works_CXX=yes
   12937      fi
   12938    fi
   12939    $rm conftest*
   12940    LDFLAGS="$save_LDFLAGS"
   12941 
   12942 fi
   12943 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12944 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
   12945 
   12946 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12947     :
   12948 else
   12949     lt_prog_compiler_static_CXX=
   12950 fi
   12951 
   12952 
   12953 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12954 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   12955 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12956   $as_echo_n "(cached) " >&6
   12957 else
   12958   lt_cv_prog_compiler_c_o_CXX=no
   12959    $rm -r conftest 2>/dev/null
   12960    mkdir conftest
   12961    cd conftest
   12962    mkdir out
   12963    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12964 
   12965    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12966    # Insert the option either (1) after the last *FLAGS variable, or
   12967    # (2) before a word containing "conftest.", or (3) at the end.
   12968    # Note that $ac_compile itself does not contain backslashes and begins
   12969    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12970    lt_compile=`echo "$ac_compile" | $SED \
   12971    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12972    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12973    -e 's:$: $lt_compiler_flag:'`
   12974    (eval echo "\"\$as_me:12974: $lt_compile\"" >&5)
   12975    (eval "$lt_compile" 2>out/conftest.err)
   12976    ac_status=$?
   12977    cat out/conftest.err >&5
   12978    echo "$as_me:12978: \$? = $ac_status" >&5
   12979    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12980    then
   12981      # The compiler can only warn and ignore the option if not recognized
   12982      # So say no if there are warnings
   12983      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12984      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12985      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12986        lt_cv_prog_compiler_c_o_CXX=yes
   12987      fi
   12988    fi
   12989    chmod u+w . 2>&5
   12990    $rm conftest*
   12991    # SGI C++ compiler will create directory out/ii_files/ for
   12992    # template instantiation
   12993    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12994    $rm out/* && rmdir out
   12995    cd ..
   12996    rmdir conftest
   12997    $rm conftest*
   12998 
   12999 fi
   13000 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13001 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13002 
   13003 
   13004 hard_links="nottested"
   13005 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13006   # do not overwrite the value of need_locks provided by the user
   13007   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13008 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13009   hard_links=yes
   13010   $rm conftest*
   13011   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13012   touch conftest.a
   13013   ln conftest.a conftest.b 2>&5 || hard_links=no
   13014   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13015   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13016 $as_echo "$hard_links" >&6; }
   13017   if test "$hard_links" = no; then
   13018     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13019 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13020     need_locks=warn
   13021   fi
   13022 else
   13023   need_locks=no
   13024 fi
   13025 
   13026 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13027 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13028 
   13029   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13030   case $host_os in
   13031   aix4* | aix5*)
   13032     # If we're using GNU nm, then we don't want the "-C" option.
   13033     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13034     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13035       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'
   13036     else
   13037       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'
   13038     fi
   13039     ;;
   13040   pw32*)
   13041     export_symbols_cmds_CXX="$ltdll_cmds"
   13042   ;;
   13043   cygwin* | mingw*)
   13044     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'
   13045   ;;
   13046   *)
   13047     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13048   ;;
   13049   esac
   13050 
   13051 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13052 $as_echo "$ld_shlibs_CXX" >&6; }
   13053 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13054 
   13055 #
   13056 # Do we need to explicitly link libc?
   13057 #
   13058 case "x$archive_cmds_need_lc_CXX" in
   13059 x|xyes)
   13060   # Assume -lc should be added
   13061   archive_cmds_need_lc_CXX=yes
   13062 
   13063   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13064     case $archive_cmds_CXX in
   13065     *'~'*)
   13066       # FIXME: we may have to deal with multi-command sequences.
   13067       ;;
   13068     '$CC '*)
   13069       # Test whether the compiler implicitly links with -lc since on some
   13070       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13071       # to ld, don't add -lc before -lgcc.
   13072       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13073 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13074       $rm conftest*
   13075       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13076 
   13077       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13078   (eval $ac_compile) 2>&5
   13079   ac_status=$?
   13080   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13081   (exit $ac_status); } 2>conftest.err; then
   13082         soname=conftest
   13083         lib=conftest
   13084         libobjs=conftest.$ac_objext
   13085         deplibs=
   13086         wl=$lt_prog_compiler_wl_CXX
   13087 	pic_flag=$lt_prog_compiler_pic_CXX
   13088         compiler_flags=-v
   13089         linker_flags=-v
   13090         verstring=
   13091         output_objdir=.
   13092         libname=conftest
   13093         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13094         allow_undefined_flag_CXX=
   13095         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13096   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13097   ac_status=$?
   13098   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13099   (exit $ac_status); }
   13100         then
   13101 	  archive_cmds_need_lc_CXX=no
   13102         else
   13103 	  archive_cmds_need_lc_CXX=yes
   13104         fi
   13105         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13106       else
   13107         cat conftest.err 1>&5
   13108       fi
   13109       $rm conftest*
   13110       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13111 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13112       ;;
   13113     esac
   13114   fi
   13115   ;;
   13116 esac
   13117 
   13118 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13119 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13120 library_names_spec=
   13121 libname_spec='lib$name'
   13122 soname_spec=
   13123 shrext_cmds=".so"
   13124 postinstall_cmds=
   13125 postuninstall_cmds=
   13126 finish_cmds=
   13127 finish_eval=
   13128 shlibpath_var=
   13129 shlibpath_overrides_runpath=unknown
   13130 version_type=none
   13131 dynamic_linker="$host_os ld.so"
   13132 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13133 
   13134 need_lib_prefix=unknown
   13135 hardcode_into_libs=no
   13136 
   13137 # when you set need_version to no, make sure it does not cause -set_version
   13138 # flags to be left without arguments
   13139 need_version=unknown
   13140 
   13141 case $host_os in
   13142 aix3*)
   13143   version_type=linux
   13144   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13145   shlibpath_var=LIBPATH
   13146 
   13147   # AIX 3 has no versioning support, so we append a major version to the name.
   13148   soname_spec='${libname}${release}${shared_ext}$major'
   13149   ;;
   13150 
   13151 aix4* | aix5*)
   13152   version_type=linux
   13153   need_lib_prefix=no
   13154   need_version=no
   13155   hardcode_into_libs=yes
   13156   if test "$host_cpu" = ia64; then
   13157     # AIX 5 supports IA64
   13158     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13159     shlibpath_var=LD_LIBRARY_PATH
   13160   else
   13161     # With GCC up to 2.95.x, collect2 would create an import file
   13162     # for dependence libraries.  The import file would start with
   13163     # the line `#! .'.  This would cause the generated library to
   13164     # depend on `.', always an invalid library.  This was fixed in
   13165     # development snapshots of GCC prior to 3.0.
   13166     case $host_os in
   13167       aix4 | aix4.[01] | aix4.[01].*)
   13168       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13169 	   echo ' yes '
   13170 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13171 	:
   13172       else
   13173 	can_build_shared=no
   13174       fi
   13175       ;;
   13176     esac
   13177     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13178     # soname into executable. Probably we can add versioning support to
   13179     # collect2, so additional links can be useful in future.
   13180     if test "$aix_use_runtimelinking" = yes; then
   13181       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13182       # instead of lib<name>.a to let people know that these are not
   13183       # typical AIX shared libraries.
   13184       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13185     else
   13186       # We preserve .a as extension for shared libraries through AIX4.2
   13187       # and later when we are not doing run time linking.
   13188       library_names_spec='${libname}${release}.a $libname.a'
   13189       soname_spec='${libname}${release}${shared_ext}$major'
   13190     fi
   13191     shlibpath_var=LIBPATH
   13192   fi
   13193   ;;
   13194 
   13195 amigaos*)
   13196   library_names_spec='$libname.ixlibrary $libname.a'
   13197   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13198   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'
   13199   ;;
   13200 
   13201 beos*)
   13202   library_names_spec='${libname}${shared_ext}'
   13203   dynamic_linker="$host_os ld.so"
   13204   shlibpath_var=LIBRARY_PATH
   13205   ;;
   13206 
   13207 bsdi[45]*)
   13208   version_type=linux
   13209   need_version=no
   13210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13211   soname_spec='${libname}${release}${shared_ext}$major'
   13212   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13213   shlibpath_var=LD_LIBRARY_PATH
   13214   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13215   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13216   # the default ld.so.conf also contains /usr/contrib/lib and
   13217   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13218   # libtool to hard-code these into programs
   13219   ;;
   13220 
   13221 cygwin* | mingw* | pw32*)
   13222   version_type=windows
   13223   shrext_cmds=".dll"
   13224   need_version=no
   13225   need_lib_prefix=no
   13226 
   13227   case $GCC,$host_os in
   13228   yes,cygwin* | yes,mingw* | yes,pw32*)
   13229     library_names_spec='$libname.dll.a'
   13230     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13231     postinstall_cmds='base_file=`basename \${file}`~
   13232       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13233       dldir=$destdir/`dirname \$dlpath`~
   13234       test -d \$dldir || mkdir -p \$dldir~
   13235       $install_prog $dir/$dlname \$dldir/$dlname~
   13236       chmod a+x \$dldir/$dlname'
   13237     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13238       dlpath=$dir/\$dldll~
   13239        $rm \$dlpath'
   13240     shlibpath_overrides_runpath=yes
   13241 
   13242     case $host_os in
   13243     cygwin*)
   13244       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13245       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13246       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13247       ;;
   13248     mingw*)
   13249       # MinGW DLLs use traditional 'lib' prefix
   13250       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13251       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13252       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13253         # It is most probably a Windows format PATH printed by
   13254         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13255         # path with ; separators, and with drive letters. We can handle the
   13256         # drive letters (cygwin fileutils understands them), so leave them,
   13257         # especially as we might pass files found there to a mingw objdump,
   13258         # which wouldn't understand a cygwinified path. Ahh.
   13259         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13260       else
   13261         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13262       fi
   13263       ;;
   13264     pw32*)
   13265       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13266       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13267       ;;
   13268     esac
   13269     ;;
   13270 
   13271   *)
   13272     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13273     ;;
   13274   esac
   13275   dynamic_linker='Win32 ld.exe'
   13276   # FIXME: first we should search . and the directory the executable is in
   13277   shlibpath_var=PATH
   13278   ;;
   13279 
   13280 darwin* | rhapsody*)
   13281   dynamic_linker="$host_os dyld"
   13282   version_type=darwin
   13283   need_lib_prefix=no
   13284   need_version=no
   13285   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13286   soname_spec='${libname}${release}${major}$shared_ext'
   13287   shlibpath_overrides_runpath=yes
   13288   shlibpath_var=DYLD_LIBRARY_PATH
   13289   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13290 
   13291   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13292   ;;
   13293 
   13294 dgux*)
   13295   version_type=linux
   13296   need_lib_prefix=no
   13297   need_version=no
   13298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13299   soname_spec='${libname}${release}${shared_ext}$major'
   13300   shlibpath_var=LD_LIBRARY_PATH
   13301   ;;
   13302 
   13303 freebsd1*)
   13304   dynamic_linker=no
   13305   ;;
   13306 
   13307 freebsd* | dragonfly*)
   13308   # DragonFly does not have aout.  When/if they implement a new
   13309   # versioning mechanism, adjust this.
   13310   if test -x /usr/bin/objformat; then
   13311     objformat=`/usr/bin/objformat`
   13312   else
   13313     case $host_os in
   13314     freebsd[123]*) objformat=aout ;;
   13315     *) objformat=elf ;;
   13316     esac
   13317   fi
   13318   version_type=freebsd-$objformat
   13319   case $version_type in
   13320     freebsd-elf*)
   13321       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13322       need_version=no
   13323       need_lib_prefix=no
   13324       ;;
   13325     freebsd-*)
   13326       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13327       need_version=yes
   13328       ;;
   13329   esac
   13330   shlibpath_var=LD_LIBRARY_PATH
   13331   case $host_os in
   13332   freebsd2*)
   13333     shlibpath_overrides_runpath=yes
   13334     ;;
   13335   freebsd3.[01]* | freebsdelf3.[01]*)
   13336     shlibpath_overrides_runpath=yes
   13337     hardcode_into_libs=yes
   13338     ;;
   13339   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13340   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13341     shlibpath_overrides_runpath=no
   13342     hardcode_into_libs=yes
   13343     ;;
   13344   *) # from 4.6 on, and DragonFly
   13345     shlibpath_overrides_runpath=yes
   13346     hardcode_into_libs=yes
   13347     ;;
   13348   esac
   13349   ;;
   13350 
   13351 gnu*)
   13352   version_type=linux
   13353   need_lib_prefix=no
   13354   need_version=no
   13355   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13356   soname_spec='${libname}${release}${shared_ext}$major'
   13357   shlibpath_var=LD_LIBRARY_PATH
   13358   hardcode_into_libs=yes
   13359   ;;
   13360 
   13361 hpux9* | hpux10* | hpux11*)
   13362   # Give a soname corresponding to the major version so that dld.sl refuses to
   13363   # link against other versions.
   13364   version_type=sunos
   13365   need_lib_prefix=no
   13366   need_version=no
   13367   case $host_cpu in
   13368   ia64*)
   13369     shrext_cmds='.so'
   13370     hardcode_into_libs=yes
   13371     dynamic_linker="$host_os dld.so"
   13372     shlibpath_var=LD_LIBRARY_PATH
   13373     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13374     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13375     soname_spec='${libname}${release}${shared_ext}$major'
   13376     if test "X$HPUX_IA64_MODE" = X32; then
   13377       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13378     else
   13379       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13380     fi
   13381     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13382     ;;
   13383    hppa*64*)
   13384      shrext_cmds='.sl'
   13385      hardcode_into_libs=yes
   13386      dynamic_linker="$host_os dld.sl"
   13387      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13388      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13389      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13390      soname_spec='${libname}${release}${shared_ext}$major'
   13391      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13392      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13393      ;;
   13394    *)
   13395     shrext_cmds='.sl'
   13396     dynamic_linker="$host_os dld.sl"
   13397     shlibpath_var=SHLIB_PATH
   13398     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13399     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13400     soname_spec='${libname}${release}${shared_ext}$major'
   13401     ;;
   13402   esac
   13403   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13404   postinstall_cmds='chmod 555 $lib'
   13405   ;;
   13406 
   13407 interix[3-9]*)
   13408   version_type=linux
   13409   need_lib_prefix=no
   13410   need_version=no
   13411   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13412   soname_spec='${libname}${release}${shared_ext}$major'
   13413   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13414   shlibpath_var=LD_LIBRARY_PATH
   13415   shlibpath_overrides_runpath=no
   13416   hardcode_into_libs=yes
   13417   ;;
   13418 
   13419 irix5* | irix6* | nonstopux*)
   13420   case $host_os in
   13421     nonstopux*) version_type=nonstopux ;;
   13422     *)
   13423 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13424 		version_type=linux
   13425 	else
   13426 		version_type=irix
   13427 	fi ;;
   13428   esac
   13429   need_lib_prefix=no
   13430   need_version=no
   13431   soname_spec='${libname}${release}${shared_ext}$major'
   13432   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13433   case $host_os in
   13434   irix5* | nonstopux*)
   13435     libsuff= shlibsuff=
   13436     ;;
   13437   *)
   13438     case $LD in # libtool.m4 will add one of these switches to LD
   13439     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13440       libsuff= shlibsuff= libmagic=32-bit;;
   13441     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13442       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13443     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13444       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13445     *) libsuff= shlibsuff= libmagic=never-match;;
   13446     esac
   13447     ;;
   13448   esac
   13449   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13450   shlibpath_overrides_runpath=no
   13451   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13452   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13453   hardcode_into_libs=yes
   13454   ;;
   13455 
   13456 # No shared lib support for Linux oldld, aout, or coff.
   13457 linux*oldld* | linux*aout* | linux*coff*)
   13458   dynamic_linker=no
   13459   ;;
   13460 
   13461 # This must be Linux ELF.
   13462 linux* | k*bsd*-gnu)
   13463   version_type=linux
   13464   need_lib_prefix=no
   13465   need_version=no
   13466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13467   soname_spec='${libname}${release}${shared_ext}$major'
   13468   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13469   shlibpath_var=LD_LIBRARY_PATH
   13470   shlibpath_overrides_runpath=no
   13471   # This implies no fast_install, which is unacceptable.
   13472   # Some rework will be needed to allow for fast_install
   13473   # before this can be enabled.
   13474   hardcode_into_libs=yes
   13475 
   13476   # Append ld.so.conf contents to the search path
   13477   if test -f /etc/ld.so.conf; then
   13478     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' ' '`
   13479     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13480   fi
   13481 
   13482   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13483   # powerpc, because MkLinux only supported shared libraries with the
   13484   # GNU dynamic linker.  Since this was broken with cross compilers,
   13485   # most powerpc-linux boxes support dynamic linking these days and
   13486   # people can always --disable-shared, the test was removed, and we
   13487   # assume the GNU/Linux dynamic linker is in use.
   13488   dynamic_linker='GNU/Linux ld.so'
   13489   ;;
   13490 
   13491 netbsd*)
   13492   version_type=sunos
   13493   need_lib_prefix=no
   13494   need_version=no
   13495   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13496     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13497     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13498     dynamic_linker='NetBSD (a.out) ld.so'
   13499   else
   13500     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13501     soname_spec='${libname}${release}${shared_ext}$major'
   13502     dynamic_linker='NetBSD ld.elf_so'
   13503   fi
   13504   shlibpath_var=LD_LIBRARY_PATH
   13505   shlibpath_overrides_runpath=yes
   13506   hardcode_into_libs=yes
   13507   ;;
   13508 
   13509 newsos6)
   13510   version_type=linux
   13511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13512   shlibpath_var=LD_LIBRARY_PATH
   13513   shlibpath_overrides_runpath=yes
   13514   ;;
   13515 
   13516 nto-qnx*)
   13517   version_type=linux
   13518   need_lib_prefix=no
   13519   need_version=no
   13520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13521   soname_spec='${libname}${release}${shared_ext}$major'
   13522   shlibpath_var=LD_LIBRARY_PATH
   13523   shlibpath_overrides_runpath=yes
   13524   ;;
   13525 
   13526 openbsd*)
   13527   version_type=sunos
   13528   sys_lib_dlsearch_path_spec="/usr/lib"
   13529   need_lib_prefix=no
   13530   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13531   case $host_os in
   13532     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13533     *)                         need_version=no  ;;
   13534   esac
   13535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13536   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13537   shlibpath_var=LD_LIBRARY_PATH
   13538   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13539     case $host_os in
   13540       openbsd2.[89] | openbsd2.[89].*)
   13541 	shlibpath_overrides_runpath=no
   13542 	;;
   13543       *)
   13544 	shlibpath_overrides_runpath=yes
   13545 	;;
   13546       esac
   13547   else
   13548     shlibpath_overrides_runpath=yes
   13549   fi
   13550   ;;
   13551 
   13552 os2*)
   13553   libname_spec='$name'
   13554   shrext_cmds=".dll"
   13555   need_lib_prefix=no
   13556   library_names_spec='$libname${shared_ext} $libname.a'
   13557   dynamic_linker='OS/2 ld.exe'
   13558   shlibpath_var=LIBPATH
   13559   ;;
   13560 
   13561 osf3* | osf4* | osf5*)
   13562   version_type=osf
   13563   need_lib_prefix=no
   13564   need_version=no
   13565   soname_spec='${libname}${release}${shared_ext}$major'
   13566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13567   shlibpath_var=LD_LIBRARY_PATH
   13568   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13569   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13570   ;;
   13571 
   13572 rdos*)
   13573   dynamic_linker=no
   13574   ;;
   13575 
   13576 solaris*)
   13577   version_type=linux
   13578   need_lib_prefix=no
   13579   need_version=no
   13580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13581   soname_spec='${libname}${release}${shared_ext}$major'
   13582   shlibpath_var=LD_LIBRARY_PATH
   13583   shlibpath_overrides_runpath=yes
   13584   hardcode_into_libs=yes
   13585   # ldd complains unless libraries are executable
   13586   postinstall_cmds='chmod +x $lib'
   13587   ;;
   13588 
   13589 sunos4*)
   13590   version_type=sunos
   13591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13592   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13593   shlibpath_var=LD_LIBRARY_PATH
   13594   shlibpath_overrides_runpath=yes
   13595   if test "$with_gnu_ld" = yes; then
   13596     need_lib_prefix=no
   13597   fi
   13598   need_version=yes
   13599   ;;
   13600 
   13601 sysv4 | sysv4.3*)
   13602   version_type=linux
   13603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13604   soname_spec='${libname}${release}${shared_ext}$major'
   13605   shlibpath_var=LD_LIBRARY_PATH
   13606   case $host_vendor in
   13607     sni)
   13608       shlibpath_overrides_runpath=no
   13609       need_lib_prefix=no
   13610       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13611       runpath_var=LD_RUN_PATH
   13612       ;;
   13613     siemens)
   13614       need_lib_prefix=no
   13615       ;;
   13616     motorola)
   13617       need_lib_prefix=no
   13618       need_version=no
   13619       shlibpath_overrides_runpath=no
   13620       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13621       ;;
   13622   esac
   13623   ;;
   13624 
   13625 sysv4*MP*)
   13626   if test -d /usr/nec ;then
   13627     version_type=linux
   13628     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13629     soname_spec='$libname${shared_ext}.$major'
   13630     shlibpath_var=LD_LIBRARY_PATH
   13631   fi
   13632   ;;
   13633 
   13634 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13635   version_type=freebsd-elf
   13636   need_lib_prefix=no
   13637   need_version=no
   13638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13639   soname_spec='${libname}${release}${shared_ext}$major'
   13640   shlibpath_var=LD_LIBRARY_PATH
   13641   hardcode_into_libs=yes
   13642   if test "$with_gnu_ld" = yes; then
   13643     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13644     shlibpath_overrides_runpath=no
   13645   else
   13646     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13647     shlibpath_overrides_runpath=yes
   13648     case $host_os in
   13649       sco3.2v5*)
   13650         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13651 	;;
   13652     esac
   13653   fi
   13654   sys_lib_dlsearch_path_spec='/usr/lib'
   13655   ;;
   13656 
   13657 uts4*)
   13658   version_type=linux
   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   ;;
   13663 
   13664 *)
   13665   dynamic_linker=no
   13666   ;;
   13667 esac
   13668 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13669 $as_echo "$dynamic_linker" >&6; }
   13670 test "$dynamic_linker" = no && can_build_shared=no
   13671 
   13672 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13673 if test "$GCC" = yes; then
   13674   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13675 fi
   13676 
   13677 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13678 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13679 hardcode_action_CXX=
   13680 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13681    test -n "$runpath_var_CXX" || \
   13682    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13683 
   13684   # We can hardcode non-existant directories.
   13685   if test "$hardcode_direct_CXX" != no &&
   13686      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13687      # have to relink, otherwise we might link with an installed library
   13688      # when we should be linking with a yet-to-be-installed one
   13689      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13690      test "$hardcode_minus_L_CXX" != no; then
   13691     # Linking always hardcodes the temporary library directory.
   13692     hardcode_action_CXX=relink
   13693   else
   13694     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13695     hardcode_action_CXX=immediate
   13696   fi
   13697 else
   13698   # We cannot hardcode anything, or else we can only hardcode existing
   13699   # directories.
   13700   hardcode_action_CXX=unsupported
   13701 fi
   13702 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13703 $as_echo "$hardcode_action_CXX" >&6; }
   13704 
   13705 if test "$hardcode_action_CXX" = relink; then
   13706   # Fast installation is not supported
   13707   enable_fast_install=no
   13708 elif test "$shlibpath_overrides_runpath" = yes ||
   13709      test "$enable_shared" = no; then
   13710   # Fast installation is not necessary
   13711   enable_fast_install=needless
   13712 fi
   13713 
   13714 
   13715 # The else clause should only fire when bootstrapping the
   13716 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13717 # with your package, and you will get complaints that there are
   13718 # no rules to generate ltmain.sh.
   13719 if test -f "$ltmain"; then
   13720   # See if we are running on zsh, and set the options which allow our commands through
   13721   # without removal of \ escapes.
   13722   if test -n "${ZSH_VERSION+set}" ; then
   13723     setopt NO_GLOB_SUBST
   13724   fi
   13725   # Now quote all the things that may contain metacharacters while being
   13726   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13727   # variables and quote the copies for generation of the libtool script.
   13728   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13729     SED SHELL STRIP \
   13730     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13731     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13732     deplibs_check_method reload_flag reload_cmds need_locks \
   13733     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13734     lt_cv_sys_global_symbol_to_c_name_address \
   13735     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13736     old_postinstall_cmds old_postuninstall_cmds \
   13737     compiler_CXX \
   13738     CC_CXX \
   13739     LD_CXX \
   13740     lt_prog_compiler_wl_CXX \
   13741     lt_prog_compiler_pic_CXX \
   13742     lt_prog_compiler_static_CXX \
   13743     lt_prog_compiler_no_builtin_flag_CXX \
   13744     export_dynamic_flag_spec_CXX \
   13745     thread_safe_flag_spec_CXX \
   13746     whole_archive_flag_spec_CXX \
   13747     enable_shared_with_static_runtimes_CXX \
   13748     old_archive_cmds_CXX \
   13749     old_archive_from_new_cmds_CXX \
   13750     predep_objects_CXX \
   13751     postdep_objects_CXX \
   13752     predeps_CXX \
   13753     postdeps_CXX \
   13754     compiler_lib_search_path_CXX \
   13755     archive_cmds_CXX \
   13756     archive_expsym_cmds_CXX \
   13757     postinstall_cmds_CXX \
   13758     postuninstall_cmds_CXX \
   13759     old_archive_from_expsyms_cmds_CXX \
   13760     allow_undefined_flag_CXX \
   13761     no_undefined_flag_CXX \
   13762     export_symbols_cmds_CXX \
   13763     hardcode_libdir_flag_spec_CXX \
   13764     hardcode_libdir_flag_spec_ld_CXX \
   13765     hardcode_libdir_separator_CXX \
   13766     hardcode_automatic_CXX \
   13767     module_cmds_CXX \
   13768     module_expsym_cmds_CXX \
   13769     lt_cv_prog_compiler_c_o_CXX \
   13770     fix_srcfile_path_CXX \
   13771     exclude_expsyms_CXX \
   13772     include_expsyms_CXX; do
   13773 
   13774     case $var in
   13775     old_archive_cmds_CXX | \
   13776     old_archive_from_new_cmds_CXX | \
   13777     archive_cmds_CXX | \
   13778     archive_expsym_cmds_CXX | \
   13779     module_cmds_CXX | \
   13780     module_expsym_cmds_CXX | \
   13781     old_archive_from_expsyms_cmds_CXX | \
   13782     export_symbols_cmds_CXX | \
   13783     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13784     postinstall_cmds | postuninstall_cmds | \
   13785     old_postinstall_cmds | old_postuninstall_cmds | \
   13786     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13787       # Double-quote double-evaled strings.
   13788       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13789       ;;
   13790     *)
   13791       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13792       ;;
   13793     esac
   13794   done
   13795 
   13796   case $lt_echo in
   13797   *'\$0 --fallback-echo"')
   13798     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13799     ;;
   13800   esac
   13801 
   13802 cfgfile="$ofile"
   13803 
   13804   cat <<__EOF__ >> "$cfgfile"
   13805 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13806 
   13807 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13808 
   13809 # Shell to use when invoking shell scripts.
   13810 SHELL=$lt_SHELL
   13811 
   13812 # Whether or not to build shared libraries.
   13813 build_libtool_libs=$enable_shared
   13814 
   13815 # Whether or not to build static libraries.
   13816 build_old_libs=$enable_static
   13817 
   13818 # Whether or not to add -lc for building shared libraries.
   13819 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13820 
   13821 # Whether or not to disallow shared libs when runtime libs are static
   13822 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13823 
   13824 # Whether or not to optimize for fast installation.
   13825 fast_install=$enable_fast_install
   13826 
   13827 # The host system.
   13828 host_alias=$host_alias
   13829 host=$host
   13830 host_os=$host_os
   13831 
   13832 # The build system.
   13833 build_alias=$build_alias
   13834 build=$build
   13835 build_os=$build_os
   13836 
   13837 # An echo program that does not interpret backslashes.
   13838 echo=$lt_echo
   13839 
   13840 # The archiver.
   13841 AR=$lt_AR
   13842 AR_FLAGS=$lt_AR_FLAGS
   13843 
   13844 # A C compiler.
   13845 LTCC=$lt_LTCC
   13846 
   13847 # LTCC compiler flags.
   13848 LTCFLAGS=$lt_LTCFLAGS
   13849 
   13850 # A language-specific compiler.
   13851 CC=$lt_compiler_CXX
   13852 
   13853 # Is the compiler the GNU C compiler?
   13854 with_gcc=$GCC_CXX
   13855 
   13856 # An ERE matcher.
   13857 EGREP=$lt_EGREP
   13858 
   13859 # The linker used to build libraries.
   13860 LD=$lt_LD_CXX
   13861 
   13862 # Whether we need hard or soft links.
   13863 LN_S=$lt_LN_S
   13864 
   13865 # A BSD-compatible nm program.
   13866 NM=$lt_NM
   13867 
   13868 # A symbol stripping program
   13869 STRIP=$lt_STRIP
   13870 
   13871 # Used to examine libraries when file_magic_cmd begins "file"
   13872 MAGIC_CMD=$MAGIC_CMD
   13873 
   13874 # Used on cygwin: DLL creation program.
   13875 DLLTOOL="$DLLTOOL"
   13876 
   13877 # Used on cygwin: object dumper.
   13878 OBJDUMP="$OBJDUMP"
   13879 
   13880 # Used on cygwin: assembler.
   13881 AS="$AS"
   13882 
   13883 # The name of the directory that contains temporary libtool files.
   13884 objdir=$objdir
   13885 
   13886 # How to create reloadable object files.
   13887 reload_flag=$lt_reload_flag
   13888 reload_cmds=$lt_reload_cmds
   13889 
   13890 # How to pass a linker flag through the compiler.
   13891 wl=$lt_lt_prog_compiler_wl_CXX
   13892 
   13893 # Object file suffix (normally "o").
   13894 objext="$ac_objext"
   13895 
   13896 # Old archive suffix (normally "a").
   13897 libext="$libext"
   13898 
   13899 # Shared library suffix (normally ".so").
   13900 shrext_cmds='$shrext_cmds'
   13901 
   13902 # Executable file suffix (normally "").
   13903 exeext="$exeext"
   13904 
   13905 # Additional compiler flags for building library objects.
   13906 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13907 pic_mode=$pic_mode
   13908 
   13909 # What is the maximum length of a command?
   13910 max_cmd_len=$lt_cv_sys_max_cmd_len
   13911 
   13912 # Does compiler simultaneously support -c and -o options?
   13913 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13914 
   13915 # Must we lock files when doing compilation?
   13916 need_locks=$lt_need_locks
   13917 
   13918 # Do we need the lib prefix for modules?
   13919 need_lib_prefix=$need_lib_prefix
   13920 
   13921 # Do we need a version for libraries?
   13922 need_version=$need_version
   13923 
   13924 # Whether dlopen is supported.
   13925 dlopen_support=$enable_dlopen
   13926 
   13927 # Whether dlopen of programs is supported.
   13928 dlopen_self=$enable_dlopen_self
   13929 
   13930 # Whether dlopen of statically linked programs is supported.
   13931 dlopen_self_static=$enable_dlopen_self_static
   13932 
   13933 # Compiler flag to prevent dynamic linking.
   13934 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13935 
   13936 # Compiler flag to turn off builtin functions.
   13937 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13938 
   13939 # Compiler flag to allow reflexive dlopens.
   13940 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13941 
   13942 # Compiler flag to generate shared objects directly from archives.
   13943 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13944 
   13945 # Compiler flag to generate thread-safe objects.
   13946 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13947 
   13948 # Library versioning type.
   13949 version_type=$version_type
   13950 
   13951 # Format of library name prefix.
   13952 libname_spec=$lt_libname_spec
   13953 
   13954 # List of archive names.  First name is the real one, the rest are links.
   13955 # The last name is the one that the linker finds with -lNAME.
   13956 library_names_spec=$lt_library_names_spec
   13957 
   13958 # The coded name of the library, if different from the real name.
   13959 soname_spec=$lt_soname_spec
   13960 
   13961 # Commands used to build and install an old-style archive.
   13962 RANLIB=$lt_RANLIB
   13963 old_archive_cmds=$lt_old_archive_cmds_CXX
   13964 old_postinstall_cmds=$lt_old_postinstall_cmds
   13965 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13966 
   13967 # Create an old-style archive from a shared archive.
   13968 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13969 
   13970 # Create a temporary old-style archive to link instead of a shared archive.
   13971 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13972 
   13973 # Commands used to build and install a shared archive.
   13974 archive_cmds=$lt_archive_cmds_CXX
   13975 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13976 postinstall_cmds=$lt_postinstall_cmds
   13977 postuninstall_cmds=$lt_postuninstall_cmds
   13978 
   13979 # Commands used to build a loadable module (assumed same as above if empty)
   13980 module_cmds=$lt_module_cmds_CXX
   13981 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13982 
   13983 # Commands to strip libraries.
   13984 old_striplib=$lt_old_striplib
   13985 striplib=$lt_striplib
   13986 
   13987 # Dependencies to place before the objects being linked to create a
   13988 # shared library.
   13989 predep_objects=$lt_predep_objects_CXX
   13990 
   13991 # Dependencies to place after the objects being linked to create a
   13992 # shared library.
   13993 postdep_objects=$lt_postdep_objects_CXX
   13994 
   13995 # Dependencies to place before the objects being linked to create a
   13996 # shared library.
   13997 predeps=$lt_predeps_CXX
   13998 
   13999 # Dependencies to place after the objects being linked to create a
   14000 # shared library.
   14001 postdeps=$lt_postdeps_CXX
   14002 
   14003 # The library search path used internally by the compiler when linking
   14004 # a shared library.
   14005 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14006 
   14007 # Method to check whether dependent libraries are shared objects.
   14008 deplibs_check_method=$lt_deplibs_check_method
   14009 
   14010 # Command to use when deplibs_check_method == file_magic.
   14011 file_magic_cmd=$lt_file_magic_cmd
   14012 
   14013 # Flag that allows shared libraries with undefined symbols to be built.
   14014 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14015 
   14016 # Flag that forces no undefined symbols.
   14017 no_undefined_flag=$lt_no_undefined_flag_CXX
   14018 
   14019 # Commands used to finish a libtool library installation in a directory.
   14020 finish_cmds=$lt_finish_cmds
   14021 
   14022 # Same as above, but a single script fragment to be evaled but not shown.
   14023 finish_eval=$lt_finish_eval
   14024 
   14025 # Take the output of nm and produce a listing of raw symbols and C names.
   14026 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14027 
   14028 # Transform the output of nm in a proper C declaration
   14029 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14030 
   14031 # Transform the output of nm in a C name address pair
   14032 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14033 
   14034 # This is the shared library runtime path variable.
   14035 runpath_var=$runpath_var
   14036 
   14037 # This is the shared library path variable.
   14038 shlibpath_var=$shlibpath_var
   14039 
   14040 # Is shlibpath searched before the hard-coded library search path?
   14041 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14042 
   14043 # How to hardcode a shared library path into an executable.
   14044 hardcode_action=$hardcode_action_CXX
   14045 
   14046 # Whether we should hardcode library paths into libraries.
   14047 hardcode_into_libs=$hardcode_into_libs
   14048 
   14049 # Flag to hardcode \$libdir into a binary during linking.
   14050 # This must work even if \$libdir does not exist.
   14051 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14052 
   14053 # If ld is used when linking, flag to hardcode \$libdir into
   14054 # a binary during linking. This must work even if \$libdir does
   14055 # not exist.
   14056 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14057 
   14058 # Whether we need a single -rpath flag with a separated argument.
   14059 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14060 
   14061 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14062 # resulting binary.
   14063 hardcode_direct=$hardcode_direct_CXX
   14064 
   14065 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14066 # resulting binary.
   14067 hardcode_minus_L=$hardcode_minus_L_CXX
   14068 
   14069 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14070 # the resulting binary.
   14071 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14072 
   14073 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14074 # and all subsequent libraries and executables linked against it.
   14075 hardcode_automatic=$hardcode_automatic_CXX
   14076 
   14077 # Variables whose values should be saved in libtool wrapper scripts and
   14078 # restored at relink time.
   14079 variables_saved_for_relink="$variables_saved_for_relink"
   14080 
   14081 # Whether libtool must link a program against all its dependency libraries.
   14082 link_all_deplibs=$link_all_deplibs_CXX
   14083 
   14084 # Compile-time system search path for libraries
   14085 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14086 
   14087 # Run-time system search path for libraries
   14088 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14089 
   14090 # Fix the shell variable \$srcfile for the compiler.
   14091 fix_srcfile_path=$lt_fix_srcfile_path
   14092 
   14093 # Set to yes if exported symbols are required.
   14094 always_export_symbols=$always_export_symbols_CXX
   14095 
   14096 # The commands to list exported symbols.
   14097 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14098 
   14099 # The commands to extract the exported symbol list from a shared archive.
   14100 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14101 
   14102 # Symbols that should not be listed in the preloaded symbols.
   14103 exclude_expsyms=$lt_exclude_expsyms_CXX
   14104 
   14105 # Symbols that must always be exported.
   14106 include_expsyms=$lt_include_expsyms_CXX
   14107 
   14108 # ### END LIBTOOL TAG CONFIG: $tagname
   14109 
   14110 __EOF__
   14111 
   14112 
   14113 else
   14114   # If there is no Makefile yet, we rely on a make rule to execute
   14115   # `config.status --recheck' to rerun these tests and create the
   14116   # libtool script then.
   14117   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14118   if test -f "$ltmain_in"; then
   14119     test -f Makefile && make "$ltmain"
   14120   fi
   14121 fi
   14122 
   14123 
   14124 ac_ext=c
   14125 ac_cpp='$CPP $CPPFLAGS'
   14126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14129 
   14130 CC=$lt_save_CC
   14131 LDCXX=$LD
   14132 LD=$lt_save_LD
   14133 GCC=$lt_save_GCC
   14134 with_gnu_ldcxx=$with_gnu_ld
   14135 with_gnu_ld=$lt_save_with_gnu_ld
   14136 lt_cv_path_LDCXX=$lt_cv_path_LD
   14137 lt_cv_path_LD=$lt_save_path_LD
   14138 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14139 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14140 
   14141 	else
   14142 	  tagname=""
   14143 	fi
   14144 	;;
   14145 
   14146       F77)
   14147 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14148 
   14149 ac_ext=f
   14150 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14151 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14152 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14153 
   14154 
   14155 archive_cmds_need_lc_F77=no
   14156 allow_undefined_flag_F77=
   14157 always_export_symbols_F77=no
   14158 archive_expsym_cmds_F77=
   14159 export_dynamic_flag_spec_F77=
   14160 hardcode_direct_F77=no
   14161 hardcode_libdir_flag_spec_F77=
   14162 hardcode_libdir_flag_spec_ld_F77=
   14163 hardcode_libdir_separator_F77=
   14164 hardcode_minus_L_F77=no
   14165 hardcode_automatic_F77=no
   14166 module_cmds_F77=
   14167 module_expsym_cmds_F77=
   14168 link_all_deplibs_F77=unknown
   14169 old_archive_cmds_F77=$old_archive_cmds
   14170 no_undefined_flag_F77=
   14171 whole_archive_flag_spec_F77=
   14172 enable_shared_with_static_runtimes_F77=no
   14173 
   14174 # Source file extension for f77 test sources.
   14175 ac_ext=f
   14176 
   14177 # Object file extension for compiled f77 test sources.
   14178 objext=o
   14179 objext_F77=$objext
   14180 
   14181 # Code to be used in simple compile tests
   14182 lt_simple_compile_test_code="\
   14183       subroutine t
   14184       return
   14185       end
   14186 "
   14187 
   14188 # Code to be used in simple link tests
   14189 lt_simple_link_test_code="\
   14190       program t
   14191       end
   14192 "
   14193 
   14194 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14195 
   14196 # If no C compiler was specified, use CC.
   14197 LTCC=${LTCC-"$CC"}
   14198 
   14199 # If no C compiler flags were specified, use CFLAGS.
   14200 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14201 
   14202 # Allow CC to be a program name with arguments.
   14203 compiler=$CC
   14204 
   14205 
   14206 # save warnings/boilerplate of simple test code
   14207 ac_outfile=conftest.$ac_objext
   14208 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14209 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14210 _lt_compiler_boilerplate=`cat conftest.err`
   14211 $rm conftest*
   14212 
   14213 ac_outfile=conftest.$ac_objext
   14214 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14215 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14216 _lt_linker_boilerplate=`cat conftest.err`
   14217 $rm conftest*
   14218 
   14219 
   14220 # Allow CC to be a program name with arguments.
   14221 lt_save_CC="$CC"
   14222 CC=${F77-"f77"}
   14223 compiler=$CC
   14224 compiler_F77=$CC
   14225 for cc_temp in $compiler""; do
   14226   case $cc_temp in
   14227     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14228     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14229     \-*) ;;
   14230     *) break;;
   14231   esac
   14232 done
   14233 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14234 
   14235 
   14236 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14237 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14238 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14239 $as_echo "$can_build_shared" >&6; }
   14240 
   14241 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14242 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14243 test "$can_build_shared" = "no" && enable_shared=no
   14244 
   14245 # On AIX, shared libraries and static libraries use the same namespace, and
   14246 # are all built from PIC.
   14247 case $host_os in
   14248 aix3*)
   14249   test "$enable_shared" = yes && enable_static=no
   14250   if test -n "$RANLIB"; then
   14251     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14252     postinstall_cmds='$RANLIB $lib'
   14253   fi
   14254   ;;
   14255 aix4* | aix5*)
   14256   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14257     test "$enable_shared" = yes && enable_static=no
   14258   fi
   14259   ;;
   14260 esac
   14261 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14262 $as_echo "$enable_shared" >&6; }
   14263 
   14264 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14265 $as_echo_n "checking whether to build static libraries... " >&6; }
   14266 # Make sure either enable_shared or enable_static is yes.
   14267 test "$enable_shared" = yes || enable_static=yes
   14268 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14269 $as_echo "$enable_static" >&6; }
   14270 
   14271 GCC_F77="$G77"
   14272 LD_F77="$LD"
   14273 
   14274 lt_prog_compiler_wl_F77=
   14275 lt_prog_compiler_pic_F77=
   14276 lt_prog_compiler_static_F77=
   14277 
   14278 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14279 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14280 
   14281   if test "$GCC" = yes; then
   14282     lt_prog_compiler_wl_F77='-Wl,'
   14283     lt_prog_compiler_static_F77='-static'
   14284 
   14285     case $host_os in
   14286       aix*)
   14287       # All AIX code is PIC.
   14288       if test "$host_cpu" = ia64; then
   14289 	# AIX 5 now supports IA64 processor
   14290 	lt_prog_compiler_static_F77='-Bstatic'
   14291       fi
   14292       ;;
   14293 
   14294     amigaos*)
   14295       # FIXME: we need at least 68020 code to build shared libraries, but
   14296       # adding the `-m68020' flag to GCC prevents building anything better,
   14297       # like `-m68040'.
   14298       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14299       ;;
   14300 
   14301     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14302       # PIC is the default for these OSes.
   14303       ;;
   14304 
   14305     mingw* | cygwin* | pw32* | os2*)
   14306       # This hack is so that the source file can tell whether it is being
   14307       # built for inclusion in a dll (and should export symbols for example).
   14308       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14309       # (--disable-auto-import) libraries
   14310       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14311       ;;
   14312 
   14313     darwin* | rhapsody*)
   14314       # PIC is the default on this platform
   14315       # Common symbols not allowed in MH_DYLIB files
   14316       lt_prog_compiler_pic_F77='-fno-common'
   14317       ;;
   14318 
   14319     interix[3-9]*)
   14320       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14321       # Instead, we relocate shared libraries at runtime.
   14322       ;;
   14323 
   14324     msdosdjgpp*)
   14325       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14326       # on systems that don't support them.
   14327       lt_prog_compiler_can_build_shared_F77=no
   14328       enable_shared=no
   14329       ;;
   14330 
   14331     sysv4*MP*)
   14332       if test -d /usr/nec; then
   14333 	lt_prog_compiler_pic_F77=-Kconform_pic
   14334       fi
   14335       ;;
   14336 
   14337     hpux*)
   14338       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14339       # not for PA HP-UX.
   14340       case $host_cpu in
   14341       hppa*64*|ia64*)
   14342 	# +Z the default
   14343 	;;
   14344       *)
   14345 	lt_prog_compiler_pic_F77='-fPIC'
   14346 	;;
   14347       esac
   14348       ;;
   14349 
   14350     *)
   14351       lt_prog_compiler_pic_F77='-fPIC'
   14352       ;;
   14353     esac
   14354   else
   14355     # PORTME Check for flag to pass linker flags through the system compiler.
   14356     case $host_os in
   14357     aix*)
   14358       lt_prog_compiler_wl_F77='-Wl,'
   14359       if test "$host_cpu" = ia64; then
   14360 	# AIX 5 now supports IA64 processor
   14361 	lt_prog_compiler_static_F77='-Bstatic'
   14362       else
   14363 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14364       fi
   14365       ;;
   14366       darwin*)
   14367         # PIC is the default on this platform
   14368         # Common symbols not allowed in MH_DYLIB files
   14369        case $cc_basename in
   14370          xlc*)
   14371          lt_prog_compiler_pic_F77='-qnocommon'
   14372          lt_prog_compiler_wl_F77='-Wl,'
   14373          ;;
   14374        esac
   14375        ;;
   14376 
   14377     mingw* | cygwin* | pw32* | os2*)
   14378       # This hack is so that the source file can tell whether it is being
   14379       # built for inclusion in a dll (and should export symbols for example).
   14380       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14381       ;;
   14382 
   14383     hpux9* | hpux10* | hpux11*)
   14384       lt_prog_compiler_wl_F77='-Wl,'
   14385       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14386       # not for PA HP-UX.
   14387       case $host_cpu in
   14388       hppa*64*|ia64*)
   14389 	# +Z the default
   14390 	;;
   14391       *)
   14392 	lt_prog_compiler_pic_F77='+Z'
   14393 	;;
   14394       esac
   14395       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14396       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14397       ;;
   14398 
   14399     irix5* | irix6* | nonstopux*)
   14400       lt_prog_compiler_wl_F77='-Wl,'
   14401       # PIC (with -KPIC) is the default.
   14402       lt_prog_compiler_static_F77='-non_shared'
   14403       ;;
   14404 
   14405     newsos6)
   14406       lt_prog_compiler_pic_F77='-KPIC'
   14407       lt_prog_compiler_static_F77='-Bstatic'
   14408       ;;
   14409 
   14410     linux* | k*bsd*-gnu)
   14411       case $cc_basename in
   14412       icc* | ecc*)
   14413 	lt_prog_compiler_wl_F77='-Wl,'
   14414 	lt_prog_compiler_pic_F77='-KPIC'
   14415 	lt_prog_compiler_static_F77='-static'
   14416         ;;
   14417       pgcc* | pgf77* | pgf90* | pgf95*)
   14418         # Portland Group compilers (*not* the Pentium gcc compiler,
   14419 	# which looks to be a dead project)
   14420 	lt_prog_compiler_wl_F77='-Wl,'
   14421 	lt_prog_compiler_pic_F77='-fpic'
   14422 	lt_prog_compiler_static_F77='-Bstatic'
   14423         ;;
   14424       ccc*)
   14425         lt_prog_compiler_wl_F77='-Wl,'
   14426         # All Alpha code is PIC.
   14427         lt_prog_compiler_static_F77='-non_shared'
   14428         ;;
   14429       *)
   14430         case `$CC -V 2>&1 | sed 5q` in
   14431 	*Sun\ C*)
   14432 	  # Sun C 5.9
   14433 	  lt_prog_compiler_pic_F77='-KPIC'
   14434 	  lt_prog_compiler_static_F77='-Bstatic'
   14435 	  lt_prog_compiler_wl_F77='-Wl,'
   14436 	  ;;
   14437 	*Sun\ F*)
   14438 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14439 	  lt_prog_compiler_pic_F77='-KPIC'
   14440 	  lt_prog_compiler_static_F77='-Bstatic'
   14441 	  lt_prog_compiler_wl_F77=''
   14442 	  ;;
   14443 	esac
   14444 	;;
   14445       esac
   14446       ;;
   14447 
   14448     osf3* | osf4* | osf5*)
   14449       lt_prog_compiler_wl_F77='-Wl,'
   14450       # All OSF/1 code is PIC.
   14451       lt_prog_compiler_static_F77='-non_shared'
   14452       ;;
   14453 
   14454     rdos*)
   14455       lt_prog_compiler_static_F77='-non_shared'
   14456       ;;
   14457 
   14458     solaris*)
   14459       lt_prog_compiler_pic_F77='-KPIC'
   14460       lt_prog_compiler_static_F77='-Bstatic'
   14461       case $cc_basename in
   14462       f77* | f90* | f95*)
   14463 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14464       *)
   14465 	lt_prog_compiler_wl_F77='-Wl,';;
   14466       esac
   14467       ;;
   14468 
   14469     sunos4*)
   14470       lt_prog_compiler_wl_F77='-Qoption ld '
   14471       lt_prog_compiler_pic_F77='-PIC'
   14472       lt_prog_compiler_static_F77='-Bstatic'
   14473       ;;
   14474 
   14475     sysv4 | sysv4.2uw2* | sysv4.3*)
   14476       lt_prog_compiler_wl_F77='-Wl,'
   14477       lt_prog_compiler_pic_F77='-KPIC'
   14478       lt_prog_compiler_static_F77='-Bstatic'
   14479       ;;
   14480 
   14481     sysv4*MP*)
   14482       if test -d /usr/nec ;then
   14483 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14484 	lt_prog_compiler_static_F77='-Bstatic'
   14485       fi
   14486       ;;
   14487 
   14488     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14489       lt_prog_compiler_wl_F77='-Wl,'
   14490       lt_prog_compiler_pic_F77='-KPIC'
   14491       lt_prog_compiler_static_F77='-Bstatic'
   14492       ;;
   14493 
   14494     unicos*)
   14495       lt_prog_compiler_wl_F77='-Wl,'
   14496       lt_prog_compiler_can_build_shared_F77=no
   14497       ;;
   14498 
   14499     uts4*)
   14500       lt_prog_compiler_pic_F77='-pic'
   14501       lt_prog_compiler_static_F77='-Bstatic'
   14502       ;;
   14503 
   14504     *)
   14505       lt_prog_compiler_can_build_shared_F77=no
   14506       ;;
   14507     esac
   14508   fi
   14509 
   14510 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14511 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14512 
   14513 #
   14514 # Check to make sure the PIC flag actually works.
   14515 #
   14516 if test -n "$lt_prog_compiler_pic_F77"; then
   14517 
   14518 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14519 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14520 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14521   $as_echo_n "(cached) " >&6
   14522 else
   14523   lt_prog_compiler_pic_works_F77=no
   14524   ac_outfile=conftest.$ac_objext
   14525    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14526    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14527    # Insert the option either (1) after the last *FLAGS variable, or
   14528    # (2) before a word containing "conftest.", or (3) at the end.
   14529    # Note that $ac_compile itself does not contain backslashes and begins
   14530    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14531    # The option is referenced via a variable to avoid confusing sed.
   14532    lt_compile=`echo "$ac_compile" | $SED \
   14533    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14534    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14535    -e 's:$: $lt_compiler_flag:'`
   14536    (eval echo "\"\$as_me:14536: $lt_compile\"" >&5)
   14537    (eval "$lt_compile" 2>conftest.err)
   14538    ac_status=$?
   14539    cat conftest.err >&5
   14540    echo "$as_me:14540: \$? = $ac_status" >&5
   14541    if (exit $ac_status) && test -s "$ac_outfile"; then
   14542      # The compiler can only warn and ignore the option if not recognized
   14543      # So say no if there are warnings other than the usual output.
   14544      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14545      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14546      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14547        lt_prog_compiler_pic_works_F77=yes
   14548      fi
   14549    fi
   14550    $rm conftest*
   14551 
   14552 fi
   14553 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14554 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
   14555 
   14556 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14557     case $lt_prog_compiler_pic_F77 in
   14558      "" | " "*) ;;
   14559      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14560      esac
   14561 else
   14562     lt_prog_compiler_pic_F77=
   14563      lt_prog_compiler_can_build_shared_F77=no
   14564 fi
   14565 
   14566 fi
   14567 case $host_os in
   14568   # For platforms which do not support PIC, -DPIC is meaningless:
   14569   *djgpp*)
   14570     lt_prog_compiler_pic_F77=
   14571     ;;
   14572   *)
   14573     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14574     ;;
   14575 esac
   14576 
   14577 #
   14578 # Check to make sure the static flag actually works.
   14579 #
   14580 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14581 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14582 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14583 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14584   $as_echo_n "(cached) " >&6
   14585 else
   14586   lt_prog_compiler_static_works_F77=no
   14587    save_LDFLAGS="$LDFLAGS"
   14588    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14589    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14590    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14591      # The linker can only warn and ignore the option if not recognized
   14592      # So say no if there are warnings
   14593      if test -s conftest.err; then
   14594        # Append any errors to the config.log.
   14595        cat conftest.err 1>&5
   14596        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14597        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14598        if diff conftest.exp conftest.er2 >/dev/null; then
   14599          lt_prog_compiler_static_works_F77=yes
   14600        fi
   14601      else
   14602        lt_prog_compiler_static_works_F77=yes
   14603      fi
   14604    fi
   14605    $rm conftest*
   14606    LDFLAGS="$save_LDFLAGS"
   14607 
   14608 fi
   14609 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14610 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }
   14611 
   14612 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14613     :
   14614 else
   14615     lt_prog_compiler_static_F77=
   14616 fi
   14617 
   14618 
   14619 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14620 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14621 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14622   $as_echo_n "(cached) " >&6
   14623 else
   14624   lt_cv_prog_compiler_c_o_F77=no
   14625    $rm -r conftest 2>/dev/null
   14626    mkdir conftest
   14627    cd conftest
   14628    mkdir out
   14629    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14630 
   14631    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14632    # Insert the option either (1) after the last *FLAGS variable, or
   14633    # (2) before a word containing "conftest.", or (3) at the end.
   14634    # Note that $ac_compile itself does not contain backslashes and begins
   14635    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14636    lt_compile=`echo "$ac_compile" | $SED \
   14637    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14638    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14639    -e 's:$: $lt_compiler_flag:'`
   14640    (eval echo "\"\$as_me:14640: $lt_compile\"" >&5)
   14641    (eval "$lt_compile" 2>out/conftest.err)
   14642    ac_status=$?
   14643    cat out/conftest.err >&5
   14644    echo "$as_me:14644: \$? = $ac_status" >&5
   14645    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14646    then
   14647      # The compiler can only warn and ignore the option if not recognized
   14648      # So say no if there are warnings
   14649      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14650      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14651      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14652        lt_cv_prog_compiler_c_o_F77=yes
   14653      fi
   14654    fi
   14655    chmod u+w . 2>&5
   14656    $rm conftest*
   14657    # SGI C++ compiler will create directory out/ii_files/ for
   14658    # template instantiation
   14659    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14660    $rm out/* && rmdir out
   14661    cd ..
   14662    rmdir conftest
   14663    $rm conftest*
   14664 
   14665 fi
   14666 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14667 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14668 
   14669 
   14670 hard_links="nottested"
   14671 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14672   # do not overwrite the value of need_locks provided by the user
   14673   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14674 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14675   hard_links=yes
   14676   $rm conftest*
   14677   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14678   touch conftest.a
   14679   ln conftest.a conftest.b 2>&5 || hard_links=no
   14680   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14681   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14682 $as_echo "$hard_links" >&6; }
   14683   if test "$hard_links" = no; then
   14684     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14685 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14686     need_locks=warn
   14687   fi
   14688 else
   14689   need_locks=no
   14690 fi
   14691 
   14692 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14693 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14694 
   14695   runpath_var=
   14696   allow_undefined_flag_F77=
   14697   enable_shared_with_static_runtimes_F77=no
   14698   archive_cmds_F77=
   14699   archive_expsym_cmds_F77=
   14700   old_archive_From_new_cmds_F77=
   14701   old_archive_from_expsyms_cmds_F77=
   14702   export_dynamic_flag_spec_F77=
   14703   whole_archive_flag_spec_F77=
   14704   thread_safe_flag_spec_F77=
   14705   hardcode_libdir_flag_spec_F77=
   14706   hardcode_libdir_flag_spec_ld_F77=
   14707   hardcode_libdir_separator_F77=
   14708   hardcode_direct_F77=no
   14709   hardcode_minus_L_F77=no
   14710   hardcode_shlibpath_var_F77=unsupported
   14711   link_all_deplibs_F77=unknown
   14712   hardcode_automatic_F77=no
   14713   module_cmds_F77=
   14714   module_expsym_cmds_F77=
   14715   always_export_symbols_F77=no
   14716   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14717   # include_expsyms should be a list of space-separated symbols to be *always*
   14718   # included in the symbol list
   14719   include_expsyms_F77=
   14720   # exclude_expsyms can be an extended regexp of symbols to exclude
   14721   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14722   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14723   # as well as any symbol that contains `d'.
   14724   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14725   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14726   # platforms (ab)use it in PIC code, but their linkers get confused if
   14727   # the symbol is explicitly referenced.  Since portable code cannot
   14728   # rely on this symbol name, it's probably fine to never include it in
   14729   # preloaded symbol tables.
   14730   extract_expsyms_cmds=
   14731   # Just being paranoid about ensuring that cc_basename is set.
   14732   for cc_temp in $compiler""; do
   14733   case $cc_temp in
   14734     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14735     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14736     \-*) ;;
   14737     *) break;;
   14738   esac
   14739 done
   14740 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14741 
   14742   case $host_os in
   14743   cygwin* | mingw* | pw32*)
   14744     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14745     # When not using gcc, we currently assume that we are using
   14746     # Microsoft Visual C++.
   14747     if test "$GCC" != yes; then
   14748       with_gnu_ld=no
   14749     fi
   14750     ;;
   14751   interix*)
   14752     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14753     with_gnu_ld=yes
   14754     ;;
   14755   openbsd*)
   14756     with_gnu_ld=no
   14757     ;;
   14758   esac
   14759 
   14760   ld_shlibs_F77=yes
   14761   if test "$with_gnu_ld" = yes; then
   14762     # If archive_cmds runs LD, not CC, wlarc should be empty
   14763     wlarc='${wl}'
   14764 
   14765     # Set some defaults for GNU ld with shared library support. These
   14766     # are reset later if shared libraries are not supported. Putting them
   14767     # here allows them to be overridden if necessary.
   14768     runpath_var=LD_RUN_PATH
   14769     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14770     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14771     # ancient GNU ld didn't support --whole-archive et. al.
   14772     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14773 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14774       else
   14775   	whole_archive_flag_spec_F77=
   14776     fi
   14777     supports_anon_versioning=no
   14778     case `$LD -v 2>/dev/null` in
   14779       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14780       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14781       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14782       *\ 2.11.*) ;; # other 2.11 versions
   14783       *) supports_anon_versioning=yes ;;
   14784     esac
   14785 
   14786     # See if GNU ld supports shared libraries.
   14787     case $host_os in
   14788     aix3* | aix4* | aix5*)
   14789       # On AIX/PPC, the GNU linker is very broken
   14790       if test "$host_cpu" != ia64; then
   14791 	ld_shlibs_F77=no
   14792 	cat <<EOF 1>&2
   14793 
   14794 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14795 *** to be unable to reliably create shared libraries on AIX.
   14796 *** Therefore, libtool is disabling shared libraries support.  If you
   14797 *** really care for shared libraries, you may want to modify your PATH
   14798 *** so that a non-GNU linker is found, and then restart.
   14799 
   14800 EOF
   14801       fi
   14802       ;;
   14803 
   14804     amigaos*)
   14805       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)'
   14806       hardcode_libdir_flag_spec_F77='-L$libdir'
   14807       hardcode_minus_L_F77=yes
   14808 
   14809       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14810       # that the semantics of dynamic libraries on AmigaOS, at least up
   14811       # to version 4, is to share data among multiple programs linked
   14812       # with the same dynamic library.  Since this doesn't match the
   14813       # behavior of shared libraries on other platforms, we can't use
   14814       # them.
   14815       ld_shlibs_F77=no
   14816       ;;
   14817 
   14818     beos*)
   14819       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14820 	allow_undefined_flag_F77=unsupported
   14821 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14822 	# support --undefined.  This deserves some investigation.  FIXME
   14823 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14824       else
   14825 	ld_shlibs_F77=no
   14826       fi
   14827       ;;
   14828 
   14829     cygwin* | mingw* | pw32*)
   14830       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14831       # as there is no search path for DLLs.
   14832       hardcode_libdir_flag_spec_F77='-L$libdir'
   14833       allow_undefined_flag_F77=unsupported
   14834       always_export_symbols_F77=no
   14835       enable_shared_with_static_runtimes_F77=yes
   14836       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14837 
   14838       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14839         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14840 	# If the export-symbols file already is a .def file (1st line
   14841 	# is EXPORTS), use it as is; otherwise, prepend...
   14842 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14843 	  cp $export_symbols $output_objdir/$soname.def;
   14844 	else
   14845 	  echo EXPORTS > $output_objdir/$soname.def;
   14846 	  cat $export_symbols >> $output_objdir/$soname.def;
   14847 	fi~
   14848 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14849       else
   14850 	ld_shlibs_F77=no
   14851       fi
   14852       ;;
   14853 
   14854     interix[3-9]*)
   14855       hardcode_direct_F77=no
   14856       hardcode_shlibpath_var_F77=no
   14857       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14858       export_dynamic_flag_spec_F77='${wl}-E'
   14859       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14860       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14861       # default) and relocated if they conflict, which is a slow very memory
   14862       # consuming and fragmenting process.  To avoid this, we pick a random,
   14863       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14864       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14865       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'
   14866       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'
   14867       ;;
   14868 
   14869     gnu* | linux* | k*bsd*-gnu)
   14870       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14871 	tmp_addflag=
   14872 	case $cc_basename,$host_cpu in
   14873 	pgcc*)				# Portland Group C compiler
   14874 	  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'
   14875 	  tmp_addflag=' $pic_flag'
   14876 	  ;;
   14877 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14878 	  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'
   14879 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14880 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14881 	  tmp_addflag=' -i_dynamic' ;;
   14882 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14883 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14884 	ifc* | ifort*)			# Intel Fortran compiler
   14885 	  tmp_addflag=' -nofor_main' ;;
   14886 	esac
   14887 	case `$CC -V 2>&1 | sed 5q` in
   14888 	*Sun\ C*)			# Sun C 5.9
   14889 	  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'
   14890 	  tmp_sharedflag='-G' ;;
   14891 	*Sun\ F*)			# Sun Fortran 8.3
   14892 	  tmp_sharedflag='-G' ;;
   14893 	*)
   14894 	  tmp_sharedflag='-shared' ;;
   14895 	esac
   14896 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14897 
   14898 	if test $supports_anon_versioning = yes; then
   14899 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14900   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14901   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14902 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14903 	fi
   14904       else
   14905 	ld_shlibs_F77=no
   14906       fi
   14907       ;;
   14908 
   14909     netbsd*)
   14910       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14911 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14912 	wlarc=
   14913       else
   14914 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14915 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14916       fi
   14917       ;;
   14918 
   14919     solaris*)
   14920       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14921 	ld_shlibs_F77=no
   14922 	cat <<EOF 1>&2
   14923 
   14924 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14925 *** create shared libraries on Solaris systems.  Therefore, libtool
   14926 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14927 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14928 *** your PATH or compiler configuration so that the native linker is
   14929 *** used, and then restart.
   14930 
   14931 EOF
   14932       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14933 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14934 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14935       else
   14936 	ld_shlibs_F77=no
   14937       fi
   14938       ;;
   14939 
   14940     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14941       case `$LD -v 2>&1` in
   14942         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14943 	ld_shlibs_F77=no
   14944 	cat <<_LT_EOF 1>&2
   14945 
   14946 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14947 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14948 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14949 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14950 *** your PATH or compiler configuration so that the native linker is
   14951 *** used, and then restart.
   14952 
   14953 _LT_EOF
   14954 	;;
   14955 	*)
   14956 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14957 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14958 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14959 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14960 	  else
   14961 	    ld_shlibs_F77=no
   14962 	  fi
   14963 	;;
   14964       esac
   14965       ;;
   14966 
   14967     sunos4*)
   14968       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14969       wlarc=
   14970       hardcode_direct_F77=yes
   14971       hardcode_shlibpath_var_F77=no
   14972       ;;
   14973 
   14974     *)
   14975       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14976 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14977 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14978       else
   14979 	ld_shlibs_F77=no
   14980       fi
   14981       ;;
   14982     esac
   14983 
   14984     if test "$ld_shlibs_F77" = no; then
   14985       runpath_var=
   14986       hardcode_libdir_flag_spec_F77=
   14987       export_dynamic_flag_spec_F77=
   14988       whole_archive_flag_spec_F77=
   14989     fi
   14990   else
   14991     # PORTME fill in a description of your system's linker (not GNU ld)
   14992     case $host_os in
   14993     aix3*)
   14994       allow_undefined_flag_F77=unsupported
   14995       always_export_symbols_F77=yes
   14996       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'
   14997       # Note: this linker hardcodes the directories in LIBPATH if there
   14998       # are no directories specified by -L.
   14999       hardcode_minus_L_F77=yes
   15000       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15001 	# Neither direct hardcoding nor static linking is supported with a
   15002 	# broken collect2.
   15003 	hardcode_direct_F77=unsupported
   15004       fi
   15005       ;;
   15006 
   15007     aix4* | aix5*)
   15008       if test "$host_cpu" = ia64; then
   15009 	# On IA64, the linker does run time linking by default, so we don't
   15010 	# have to do anything special.
   15011 	aix_use_runtimelinking=no
   15012 	exp_sym_flag='-Bexport'
   15013 	no_entry_flag=""
   15014       else
   15015 	# If we're using GNU nm, then we don't want the "-C" option.
   15016 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15017 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15018 	  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'
   15019 	else
   15020 	  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'
   15021 	fi
   15022 	aix_use_runtimelinking=no
   15023 
   15024 	# Test if we are trying to use run time linking or normal
   15025 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15026 	# need to do runtime linking.
   15027 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   15028 	  for ld_flag in $LDFLAGS; do
   15029   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15030   	    aix_use_runtimelinking=yes
   15031   	    break
   15032   	  fi
   15033 	  done
   15034 	  ;;
   15035 	esac
   15036 
   15037 	exp_sym_flag='-bexport'
   15038 	no_entry_flag='-bnoentry'
   15039       fi
   15040 
   15041       # When large executables or shared objects are built, AIX ld can
   15042       # have problems creating the table of contents.  If linking a library
   15043       # or program results in "error TOC overflow" add -mminimal-toc to
   15044       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15045       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15046 
   15047       archive_cmds_F77=''
   15048       hardcode_direct_F77=yes
   15049       hardcode_libdir_separator_F77=':'
   15050       link_all_deplibs_F77=yes
   15051 
   15052       if test "$GCC" = yes; then
   15053 	case $host_os in aix4.[012]|aix4.[012].*)
   15054 	# We only want to do this on AIX 4.2 and lower, the check
   15055 	# below for broken collect2 doesn't work under 4.3+
   15056 	  collect2name=`${CC} -print-prog-name=collect2`
   15057 	  if test -f "$collect2name" && \
   15058   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15059 	  then
   15060   	  # We have reworked collect2
   15061   	  :
   15062 	  else
   15063   	  # We have old collect2
   15064   	  hardcode_direct_F77=unsupported
   15065   	  # It fails to find uninstalled libraries when the uninstalled
   15066   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15067   	  # to unsupported forces relinking
   15068   	  hardcode_minus_L_F77=yes
   15069   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15070   	  hardcode_libdir_separator_F77=
   15071 	  fi
   15072 	  ;;
   15073 	esac
   15074 	shared_flag='-shared'
   15075 	if test "$aix_use_runtimelinking" = yes; then
   15076 	  shared_flag="$shared_flag "'${wl}-G'
   15077 	fi
   15078       else
   15079 	# not using gcc
   15080 	if test "$host_cpu" = ia64; then
   15081   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15082   	# chokes on -Wl,-G. The following line is correct:
   15083 	  shared_flag='-G'
   15084 	else
   15085 	  if test "$aix_use_runtimelinking" = yes; then
   15086 	    shared_flag='${wl}-G'
   15087 	  else
   15088 	    shared_flag='${wl}-bM:SRE'
   15089 	  fi
   15090 	fi
   15091       fi
   15092 
   15093       # It seems that -bexpall does not export symbols beginning with
   15094       # underscore (_), so it is better to generate a list of symbols to export.
   15095       always_export_symbols_F77=yes
   15096       if test "$aix_use_runtimelinking" = yes; then
   15097 	# Warning - without using the other runtime loading flags (-brtl),
   15098 	# -berok will link without error, but may produce a broken library.
   15099 	allow_undefined_flag_F77='-berok'
   15100        # Determine the default libpath from the value encoded in an empty executable.
   15101        cat >conftest.$ac_ext <<_ACEOF
   15102       program main
   15103 
   15104       end
   15105 _ACEOF
   15106 rm -f conftest.$ac_objext conftest$ac_exeext
   15107 if { (ac_try="$ac_link"
   15108 case "(($ac_try" in
   15109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15110   *) ac_try_echo=$ac_try;;
   15111 esac
   15112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15113 $as_echo "$ac_try_echo") >&5
   15114   (eval "$ac_link") 2>conftest.er1
   15115   ac_status=$?
   15116   grep -v '^ *+' conftest.er1 >conftest.err
   15117   rm -f conftest.er1
   15118   cat conftest.err >&5
   15119   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15120   (exit $ac_status); } && {
   15121 	 test -z "$ac_f77_werror_flag" ||
   15122 	 test ! -s conftest.err
   15123        } && test -s conftest$ac_exeext && {
   15124 	 test "$cross_compiling" = yes ||
   15125 	 $as_test_x conftest$ac_exeext
   15126        }; then
   15127 
   15128 lt_aix_libpath_sed='
   15129     /Import File Strings/,/^$/ {
   15130 	/^0/ {
   15131 	    s/^0  *\(.*\)$/\1/
   15132 	    p
   15133 	}
   15134     }'
   15135 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15136 # Check for a 64-bit object if we didn't find anything.
   15137 if test -z "$aix_libpath"; then
   15138   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15139 fi
   15140 else
   15141   $as_echo "$as_me: failed program was:" >&5
   15142 sed 's/^/| /' conftest.$ac_ext >&5
   15143 
   15144 
   15145 fi
   15146 
   15147 rm -rf conftest.dSYM
   15148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15149       conftest$ac_exeext conftest.$ac_ext
   15150 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15151 
   15152        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15153 	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"
   15154        else
   15155 	if test "$host_cpu" = ia64; then
   15156 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15157 	  allow_undefined_flag_F77="-z nodefs"
   15158 	  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"
   15159 	else
   15160 	 # Determine the default libpath from the value encoded in an empty executable.
   15161 	 cat >conftest.$ac_ext <<_ACEOF
   15162       program main
   15163 
   15164       end
   15165 _ACEOF
   15166 rm -f conftest.$ac_objext conftest$ac_exeext
   15167 if { (ac_try="$ac_link"
   15168 case "(($ac_try" in
   15169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15170   *) ac_try_echo=$ac_try;;
   15171 esac
   15172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15173 $as_echo "$ac_try_echo") >&5
   15174   (eval "$ac_link") 2>conftest.er1
   15175   ac_status=$?
   15176   grep -v '^ *+' conftest.er1 >conftest.err
   15177   rm -f conftest.er1
   15178   cat conftest.err >&5
   15179   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15180   (exit $ac_status); } && {
   15181 	 test -z "$ac_f77_werror_flag" ||
   15182 	 test ! -s conftest.err
   15183        } && test -s conftest$ac_exeext && {
   15184 	 test "$cross_compiling" = yes ||
   15185 	 $as_test_x conftest$ac_exeext
   15186        }; then
   15187 
   15188 lt_aix_libpath_sed='
   15189     /Import File Strings/,/^$/ {
   15190 	/^0/ {
   15191 	    s/^0  *\(.*\)$/\1/
   15192 	    p
   15193 	}
   15194     }'
   15195 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15196 # Check for a 64-bit object if we didn't find anything.
   15197 if test -z "$aix_libpath"; then
   15198   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15199 fi
   15200 else
   15201   $as_echo "$as_me: failed program was:" >&5
   15202 sed 's/^/| /' conftest.$ac_ext >&5
   15203 
   15204 
   15205 fi
   15206 
   15207 rm -rf conftest.dSYM
   15208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15209       conftest$ac_exeext conftest.$ac_ext
   15210 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15211 
   15212 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15213 	  # Warning - without using the other run time loading flags,
   15214 	  # -berok will link without error, but may produce a broken library.
   15215 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15216 	  allow_undefined_flag_F77=' ${wl}-berok'
   15217 	  # Exported symbols can be pulled into shared objects from archives
   15218 	  whole_archive_flag_spec_F77='$convenience'
   15219 	  archive_cmds_need_lc_F77=yes
   15220 	  # This is similar to how AIX traditionally builds its shared libraries.
   15221 	  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'
   15222 	fi
   15223       fi
   15224       ;;
   15225 
   15226     amigaos*)
   15227       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)'
   15228       hardcode_libdir_flag_spec_F77='-L$libdir'
   15229       hardcode_minus_L_F77=yes
   15230       # see comment about different semantics on the GNU ld section
   15231       ld_shlibs_F77=no
   15232       ;;
   15233 
   15234     bsdi[45]*)
   15235       export_dynamic_flag_spec_F77=-rdynamic
   15236       ;;
   15237 
   15238     cygwin* | mingw* | pw32*)
   15239       # When not using gcc, we currently assume that we are using
   15240       # Microsoft Visual C++.
   15241       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15242       # no search path for DLLs.
   15243       hardcode_libdir_flag_spec_F77=' '
   15244       allow_undefined_flag_F77=unsupported
   15245       # Tell ltmain to make .lib files, not .a files.
   15246       libext=lib
   15247       # Tell ltmain to make .dll files, not .so files.
   15248       shrext_cmds=".dll"
   15249       # FIXME: Setting linknames here is a bad hack.
   15250       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15251       # The linker will automatically build a .lib file if we build a DLL.
   15252       old_archive_From_new_cmds_F77='true'
   15253       # FIXME: Should let the user specify the lib program.
   15254       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15255       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15256       enable_shared_with_static_runtimes_F77=yes
   15257       ;;
   15258 
   15259     darwin* | rhapsody*)
   15260       case $host_os in
   15261         rhapsody* | darwin1.[012])
   15262          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15263          ;;
   15264        *) # Darwin 1.3 on
   15265          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15266            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15267          else
   15268            case ${MACOSX_DEPLOYMENT_TARGET} in
   15269              10.[012])
   15270                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15271                ;;
   15272              10.*)
   15273                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15274                ;;
   15275            esac
   15276          fi
   15277          ;;
   15278       esac
   15279       archive_cmds_need_lc_F77=no
   15280       hardcode_direct_F77=no
   15281       hardcode_automatic_F77=yes
   15282       hardcode_shlibpath_var_F77=unsupported
   15283       whole_archive_flag_spec_F77=''
   15284       link_all_deplibs_F77=yes
   15285     if test "$GCC" = yes ; then
   15286     	output_verbose_link_cmd='echo'
   15287         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   15288       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15289       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15290       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15291       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}'
   15292     else
   15293       case $cc_basename in
   15294         xlc*)
   15295          output_verbose_link_cmd='echo'
   15296          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15297          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15298           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15299          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}'
   15300           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}'
   15301           ;;
   15302        *)
   15303          ld_shlibs_F77=no
   15304           ;;
   15305       esac
   15306     fi
   15307       ;;
   15308 
   15309     dgux*)
   15310       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15311       hardcode_libdir_flag_spec_F77='-L$libdir'
   15312       hardcode_shlibpath_var_F77=no
   15313       ;;
   15314 
   15315     freebsd1*)
   15316       ld_shlibs_F77=no
   15317       ;;
   15318 
   15319     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15320     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15321     # does not break anything, and helps significantly (at the cost of a little
   15322     # extra space).
   15323     freebsd2.2*)
   15324       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15325       hardcode_libdir_flag_spec_F77='-R$libdir'
   15326       hardcode_direct_F77=yes
   15327       hardcode_shlibpath_var_F77=no
   15328       ;;
   15329 
   15330     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15331     freebsd2*)
   15332       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15333       hardcode_direct_F77=yes
   15334       hardcode_minus_L_F77=yes
   15335       hardcode_shlibpath_var_F77=no
   15336       ;;
   15337 
   15338     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15339     freebsd* | dragonfly*)
   15340       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15341       hardcode_libdir_flag_spec_F77='-R$libdir'
   15342       hardcode_direct_F77=yes
   15343       hardcode_shlibpath_var_F77=no
   15344       ;;
   15345 
   15346     hpux9*)
   15347       if test "$GCC" = yes; then
   15348 	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'
   15349       else
   15350 	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'
   15351       fi
   15352       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15353       hardcode_libdir_separator_F77=:
   15354       hardcode_direct_F77=yes
   15355 
   15356       # hardcode_minus_L: Not really in the search PATH,
   15357       # but as the default location of the library.
   15358       hardcode_minus_L_F77=yes
   15359       export_dynamic_flag_spec_F77='${wl}-E'
   15360       ;;
   15361 
   15362     hpux10*)
   15363       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15364 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15365       else
   15366 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15367       fi
   15368       if test "$with_gnu_ld" = no; then
   15369 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15370 	hardcode_libdir_separator_F77=:
   15371 
   15372 	hardcode_direct_F77=yes
   15373 	export_dynamic_flag_spec_F77='${wl}-E'
   15374 
   15375 	# hardcode_minus_L: Not really in the search PATH,
   15376 	# but as the default location of the library.
   15377 	hardcode_minus_L_F77=yes
   15378       fi
   15379       ;;
   15380 
   15381     hpux11*)
   15382       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15383 	case $host_cpu in
   15384 	hppa*64*)
   15385 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15386 	  ;;
   15387 	ia64*)
   15388 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15389 	  ;;
   15390 	*)
   15391 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15392 	  ;;
   15393 	esac
   15394       else
   15395 	case $host_cpu in
   15396 	hppa*64*)
   15397 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15398 	  ;;
   15399 	ia64*)
   15400 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15401 	  ;;
   15402 	*)
   15403 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15404 	  ;;
   15405 	esac
   15406       fi
   15407       if test "$with_gnu_ld" = no; then
   15408 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15409 	hardcode_libdir_separator_F77=:
   15410 
   15411 	case $host_cpu in
   15412 	hppa*64*|ia64*)
   15413 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15414 	  hardcode_direct_F77=no
   15415 	  hardcode_shlibpath_var_F77=no
   15416 	  ;;
   15417 	*)
   15418 	  hardcode_direct_F77=yes
   15419 	  export_dynamic_flag_spec_F77='${wl}-E'
   15420 
   15421 	  # hardcode_minus_L: Not really in the search PATH,
   15422 	  # but as the default location of the library.
   15423 	  hardcode_minus_L_F77=yes
   15424 	  ;;
   15425 	esac
   15426       fi
   15427       ;;
   15428 
   15429     irix5* | irix6* | nonstopux*)
   15430       if test "$GCC" = yes; then
   15431 	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'
   15432       else
   15433 	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'
   15434 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15435       fi
   15436       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15437       hardcode_libdir_separator_F77=:
   15438       link_all_deplibs_F77=yes
   15439       ;;
   15440 
   15441     netbsd*)
   15442       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15443 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15444       else
   15445 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15446       fi
   15447       hardcode_libdir_flag_spec_F77='-R$libdir'
   15448       hardcode_direct_F77=yes
   15449       hardcode_shlibpath_var_F77=no
   15450       ;;
   15451 
   15452     newsos6)
   15453       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15454       hardcode_direct_F77=yes
   15455       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15456       hardcode_libdir_separator_F77=:
   15457       hardcode_shlibpath_var_F77=no
   15458       ;;
   15459 
   15460     openbsd*)
   15461       if test -f /usr/libexec/ld.so; then
   15462 	hardcode_direct_F77=yes
   15463 	hardcode_shlibpath_var_F77=no
   15464 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15465 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15466 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15467 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15468 	  export_dynamic_flag_spec_F77='${wl}-E'
   15469 	else
   15470 	  case $host_os in
   15471 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15472 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15473 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15474 	     ;;
   15475 	   *)
   15476 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15477 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15478 	     ;;
   15479 	  esac
   15480         fi
   15481       else
   15482 	ld_shlibs_F77=no
   15483       fi
   15484       ;;
   15485 
   15486     os2*)
   15487       hardcode_libdir_flag_spec_F77='-L$libdir'
   15488       hardcode_minus_L_F77=yes
   15489       allow_undefined_flag_F77=unsupported
   15490       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'
   15491       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15492       ;;
   15493 
   15494     osf3*)
   15495       if test "$GCC" = yes; then
   15496 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15497 	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'
   15498       else
   15499 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15500 	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'
   15501       fi
   15502       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15503       hardcode_libdir_separator_F77=:
   15504       ;;
   15505 
   15506     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15507       if test "$GCC" = yes; then
   15508 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15509 	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'
   15510 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15511       else
   15512 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15513 	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'
   15514 	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~
   15515 	$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'
   15516 
   15517 	# Both c and cxx compiler support -rpath directly
   15518 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15519       fi
   15520       hardcode_libdir_separator_F77=:
   15521       ;;
   15522 
   15523     solaris*)
   15524       no_undefined_flag_F77=' -z text'
   15525       if test "$GCC" = yes; then
   15526 	wlarc='${wl}'
   15527 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15528 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15529 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15530       else
   15531 	wlarc=''
   15532 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15533 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15534   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15535       fi
   15536       hardcode_libdir_flag_spec_F77='-R$libdir'
   15537       hardcode_shlibpath_var_F77=no
   15538       case $host_os in
   15539       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15540       *)
   15541 	# The compiler driver will combine and reorder linker options,
   15542 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15543 	# but is careful enough not to reorder.
   15544  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15545 	if test "$GCC" = yes; then
   15546 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15547 	else
   15548 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15549 	fi
   15550 	;;
   15551       esac
   15552       link_all_deplibs_F77=yes
   15553       ;;
   15554 
   15555     sunos4*)
   15556       if test "x$host_vendor" = xsequent; then
   15557 	# Use $CC to link under sequent, because it throws in some extra .o
   15558 	# files that make .init and .fini sections work.
   15559 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15560       else
   15561 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15562       fi
   15563       hardcode_libdir_flag_spec_F77='-L$libdir'
   15564       hardcode_direct_F77=yes
   15565       hardcode_minus_L_F77=yes
   15566       hardcode_shlibpath_var_F77=no
   15567       ;;
   15568 
   15569     sysv4)
   15570       case $host_vendor in
   15571 	sni)
   15572 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15573 	  hardcode_direct_F77=yes # is this really true???
   15574 	;;
   15575 	siemens)
   15576 	  ## LD is ld it makes a PLAMLIB
   15577 	  ## CC just makes a GrossModule.
   15578 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15579 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15580 	  hardcode_direct_F77=no
   15581         ;;
   15582 	motorola)
   15583 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15584 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15585 	;;
   15586       esac
   15587       runpath_var='LD_RUN_PATH'
   15588       hardcode_shlibpath_var_F77=no
   15589       ;;
   15590 
   15591     sysv4.3*)
   15592       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15593       hardcode_shlibpath_var_F77=no
   15594       export_dynamic_flag_spec_F77='-Bexport'
   15595       ;;
   15596 
   15597     sysv4*MP*)
   15598       if test -d /usr/nec; then
   15599 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15600 	hardcode_shlibpath_var_F77=no
   15601 	runpath_var=LD_RUN_PATH
   15602 	hardcode_runpath_var=yes
   15603 	ld_shlibs_F77=yes
   15604       fi
   15605       ;;
   15606 
   15607     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15608       no_undefined_flag_F77='${wl}-z,text'
   15609       archive_cmds_need_lc_F77=no
   15610       hardcode_shlibpath_var_F77=no
   15611       runpath_var='LD_RUN_PATH'
   15612 
   15613       if test "$GCC" = yes; then
   15614 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15615 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15616       else
   15617 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15618 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15619       fi
   15620       ;;
   15621 
   15622     sysv5* | sco3.2v5* | sco5v6*)
   15623       # Note: We can NOT use -z defs as we might desire, because we do not
   15624       # link with -lc, and that would cause any symbols used from libc to
   15625       # always be unresolved, which means just about no library would
   15626       # ever link correctly.  If we're not using GNU ld we use -z text
   15627       # though, which does catch some bad symbols but isn't as heavy-handed
   15628       # as -z defs.
   15629       no_undefined_flag_F77='${wl}-z,text'
   15630       allow_undefined_flag_F77='${wl}-z,nodefs'
   15631       archive_cmds_need_lc_F77=no
   15632       hardcode_shlibpath_var_F77=no
   15633       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15634       hardcode_libdir_separator_F77=':'
   15635       link_all_deplibs_F77=yes
   15636       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15637       runpath_var='LD_RUN_PATH'
   15638 
   15639       if test "$GCC" = yes; then
   15640 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15641 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15642       else
   15643 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15644 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15645       fi
   15646       ;;
   15647 
   15648     uts4*)
   15649       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15650       hardcode_libdir_flag_spec_F77='-L$libdir'
   15651       hardcode_shlibpath_var_F77=no
   15652       ;;
   15653 
   15654     *)
   15655       ld_shlibs_F77=no
   15656       ;;
   15657     esac
   15658   fi
   15659 
   15660 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15661 $as_echo "$ld_shlibs_F77" >&6; }
   15662 test "$ld_shlibs_F77" = no && can_build_shared=no
   15663 
   15664 #
   15665 # Do we need to explicitly link libc?
   15666 #
   15667 case "x$archive_cmds_need_lc_F77" in
   15668 x|xyes)
   15669   # Assume -lc should be added
   15670   archive_cmds_need_lc_F77=yes
   15671 
   15672   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15673     case $archive_cmds_F77 in
   15674     *'~'*)
   15675       # FIXME: we may have to deal with multi-command sequences.
   15676       ;;
   15677     '$CC '*)
   15678       # Test whether the compiler implicitly links with -lc since on some
   15679       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15680       # to ld, don't add -lc before -lgcc.
   15681       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15682 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15683       $rm conftest*
   15684       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15685 
   15686       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15687   (eval $ac_compile) 2>&5
   15688   ac_status=$?
   15689   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15690   (exit $ac_status); } 2>conftest.err; then
   15691         soname=conftest
   15692         lib=conftest
   15693         libobjs=conftest.$ac_objext
   15694         deplibs=
   15695         wl=$lt_prog_compiler_wl_F77
   15696 	pic_flag=$lt_prog_compiler_pic_F77
   15697         compiler_flags=-v
   15698         linker_flags=-v
   15699         verstring=
   15700         output_objdir=.
   15701         libname=conftest
   15702         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15703         allow_undefined_flag_F77=
   15704         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15705   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15706   ac_status=$?
   15707   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15708   (exit $ac_status); }
   15709         then
   15710 	  archive_cmds_need_lc_F77=no
   15711         else
   15712 	  archive_cmds_need_lc_F77=yes
   15713         fi
   15714         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15715       else
   15716         cat conftest.err 1>&5
   15717       fi
   15718       $rm conftest*
   15719       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15720 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15721       ;;
   15722     esac
   15723   fi
   15724   ;;
   15725 esac
   15726 
   15727 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15728 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15729 library_names_spec=
   15730 libname_spec='lib$name'
   15731 soname_spec=
   15732 shrext_cmds=".so"
   15733 postinstall_cmds=
   15734 postuninstall_cmds=
   15735 finish_cmds=
   15736 finish_eval=
   15737 shlibpath_var=
   15738 shlibpath_overrides_runpath=unknown
   15739 version_type=none
   15740 dynamic_linker="$host_os ld.so"
   15741 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15742 
   15743 need_lib_prefix=unknown
   15744 hardcode_into_libs=no
   15745 
   15746 # when you set need_version to no, make sure it does not cause -set_version
   15747 # flags to be left without arguments
   15748 need_version=unknown
   15749 
   15750 case $host_os in
   15751 aix3*)
   15752   version_type=linux
   15753   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15754   shlibpath_var=LIBPATH
   15755 
   15756   # AIX 3 has no versioning support, so we append a major version to the name.
   15757   soname_spec='${libname}${release}${shared_ext}$major'
   15758   ;;
   15759 
   15760 aix4* | aix5*)
   15761   version_type=linux
   15762   need_lib_prefix=no
   15763   need_version=no
   15764   hardcode_into_libs=yes
   15765   if test "$host_cpu" = ia64; then
   15766     # AIX 5 supports IA64
   15767     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15768     shlibpath_var=LD_LIBRARY_PATH
   15769   else
   15770     # With GCC up to 2.95.x, collect2 would create an import file
   15771     # for dependence libraries.  The import file would start with
   15772     # the line `#! .'.  This would cause the generated library to
   15773     # depend on `.', always an invalid library.  This was fixed in
   15774     # development snapshots of GCC prior to 3.0.
   15775     case $host_os in
   15776       aix4 | aix4.[01] | aix4.[01].*)
   15777       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15778 	   echo ' yes '
   15779 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15780 	:
   15781       else
   15782 	can_build_shared=no
   15783       fi
   15784       ;;
   15785     esac
   15786     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15787     # soname into executable. Probably we can add versioning support to
   15788     # collect2, so additional links can be useful in future.
   15789     if test "$aix_use_runtimelinking" = yes; then
   15790       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15791       # instead of lib<name>.a to let people know that these are not
   15792       # typical AIX shared libraries.
   15793       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15794     else
   15795       # We preserve .a as extension for shared libraries through AIX4.2
   15796       # and later when we are not doing run time linking.
   15797       library_names_spec='${libname}${release}.a $libname.a'
   15798       soname_spec='${libname}${release}${shared_ext}$major'
   15799     fi
   15800     shlibpath_var=LIBPATH
   15801   fi
   15802   ;;
   15803 
   15804 amigaos*)
   15805   library_names_spec='$libname.ixlibrary $libname.a'
   15806   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15807   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'
   15808   ;;
   15809 
   15810 beos*)
   15811   library_names_spec='${libname}${shared_ext}'
   15812   dynamic_linker="$host_os ld.so"
   15813   shlibpath_var=LIBRARY_PATH
   15814   ;;
   15815 
   15816 bsdi[45]*)
   15817   version_type=linux
   15818   need_version=no
   15819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15820   soname_spec='${libname}${release}${shared_ext}$major'
   15821   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15822   shlibpath_var=LD_LIBRARY_PATH
   15823   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15824   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15825   # the default ld.so.conf also contains /usr/contrib/lib and
   15826   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15827   # libtool to hard-code these into programs
   15828   ;;
   15829 
   15830 cygwin* | mingw* | pw32*)
   15831   version_type=windows
   15832   shrext_cmds=".dll"
   15833   need_version=no
   15834   need_lib_prefix=no
   15835 
   15836   case $GCC,$host_os in
   15837   yes,cygwin* | yes,mingw* | yes,pw32*)
   15838     library_names_spec='$libname.dll.a'
   15839     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15840     postinstall_cmds='base_file=`basename \${file}`~
   15841       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15842       dldir=$destdir/`dirname \$dlpath`~
   15843       test -d \$dldir || mkdir -p \$dldir~
   15844       $install_prog $dir/$dlname \$dldir/$dlname~
   15845       chmod a+x \$dldir/$dlname'
   15846     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15847       dlpath=$dir/\$dldll~
   15848        $rm \$dlpath'
   15849     shlibpath_overrides_runpath=yes
   15850 
   15851     case $host_os in
   15852     cygwin*)
   15853       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15854       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15855       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15856       ;;
   15857     mingw*)
   15858       # MinGW DLLs use traditional 'lib' prefix
   15859       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15860       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15861       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15862         # It is most probably a Windows format PATH printed by
   15863         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15864         # path with ; separators, and with drive letters. We can handle the
   15865         # drive letters (cygwin fileutils understands them), so leave them,
   15866         # especially as we might pass files found there to a mingw objdump,
   15867         # which wouldn't understand a cygwinified path. Ahh.
   15868         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15869       else
   15870         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15871       fi
   15872       ;;
   15873     pw32*)
   15874       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15875       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15876       ;;
   15877     esac
   15878     ;;
   15879 
   15880   *)
   15881     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15882     ;;
   15883   esac
   15884   dynamic_linker='Win32 ld.exe'
   15885   # FIXME: first we should search . and the directory the executable is in
   15886   shlibpath_var=PATH
   15887   ;;
   15888 
   15889 darwin* | rhapsody*)
   15890   dynamic_linker="$host_os dyld"
   15891   version_type=darwin
   15892   need_lib_prefix=no
   15893   need_version=no
   15894   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15895   soname_spec='${libname}${release}${major}$shared_ext'
   15896   shlibpath_overrides_runpath=yes
   15897   shlibpath_var=DYLD_LIBRARY_PATH
   15898   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15899 
   15900   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15901   ;;
   15902 
   15903 dgux*)
   15904   version_type=linux
   15905   need_lib_prefix=no
   15906   need_version=no
   15907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15908   soname_spec='${libname}${release}${shared_ext}$major'
   15909   shlibpath_var=LD_LIBRARY_PATH
   15910   ;;
   15911 
   15912 freebsd1*)
   15913   dynamic_linker=no
   15914   ;;
   15915 
   15916 freebsd* | dragonfly*)
   15917   # DragonFly does not have aout.  When/if they implement a new
   15918   # versioning mechanism, adjust this.
   15919   if test -x /usr/bin/objformat; then
   15920     objformat=`/usr/bin/objformat`
   15921   else
   15922     case $host_os in
   15923     freebsd[123]*) objformat=aout ;;
   15924     *) objformat=elf ;;
   15925     esac
   15926   fi
   15927   version_type=freebsd-$objformat
   15928   case $version_type in
   15929     freebsd-elf*)
   15930       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15931       need_version=no
   15932       need_lib_prefix=no
   15933       ;;
   15934     freebsd-*)
   15935       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15936       need_version=yes
   15937       ;;
   15938   esac
   15939   shlibpath_var=LD_LIBRARY_PATH
   15940   case $host_os in
   15941   freebsd2*)
   15942     shlibpath_overrides_runpath=yes
   15943     ;;
   15944   freebsd3.[01]* | freebsdelf3.[01]*)
   15945     shlibpath_overrides_runpath=yes
   15946     hardcode_into_libs=yes
   15947     ;;
   15948   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15949   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15950     shlibpath_overrides_runpath=no
   15951     hardcode_into_libs=yes
   15952     ;;
   15953   *) # from 4.6 on, and DragonFly
   15954     shlibpath_overrides_runpath=yes
   15955     hardcode_into_libs=yes
   15956     ;;
   15957   esac
   15958   ;;
   15959 
   15960 gnu*)
   15961   version_type=linux
   15962   need_lib_prefix=no
   15963   need_version=no
   15964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15965   soname_spec='${libname}${release}${shared_ext}$major'
   15966   shlibpath_var=LD_LIBRARY_PATH
   15967   hardcode_into_libs=yes
   15968   ;;
   15969 
   15970 hpux9* | hpux10* | hpux11*)
   15971   # Give a soname corresponding to the major version so that dld.sl refuses to
   15972   # link against other versions.
   15973   version_type=sunos
   15974   need_lib_prefix=no
   15975   need_version=no
   15976   case $host_cpu in
   15977   ia64*)
   15978     shrext_cmds='.so'
   15979     hardcode_into_libs=yes
   15980     dynamic_linker="$host_os dld.so"
   15981     shlibpath_var=LD_LIBRARY_PATH
   15982     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15983     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15984     soname_spec='${libname}${release}${shared_ext}$major'
   15985     if test "X$HPUX_IA64_MODE" = X32; then
   15986       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15987     else
   15988       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15989     fi
   15990     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15991     ;;
   15992    hppa*64*)
   15993      shrext_cmds='.sl'
   15994      hardcode_into_libs=yes
   15995      dynamic_linker="$host_os dld.sl"
   15996      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15997      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15998      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15999      soname_spec='${libname}${release}${shared_ext}$major'
   16000      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16001      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16002      ;;
   16003    *)
   16004     shrext_cmds='.sl'
   16005     dynamic_linker="$host_os dld.sl"
   16006     shlibpath_var=SHLIB_PATH
   16007     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16008     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16009     soname_spec='${libname}${release}${shared_ext}$major'
   16010     ;;
   16011   esac
   16012   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16013   postinstall_cmds='chmod 555 $lib'
   16014   ;;
   16015 
   16016 interix[3-9]*)
   16017   version_type=linux
   16018   need_lib_prefix=no
   16019   need_version=no
   16020   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16021   soname_spec='${libname}${release}${shared_ext}$major'
   16022   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16023   shlibpath_var=LD_LIBRARY_PATH
   16024   shlibpath_overrides_runpath=no
   16025   hardcode_into_libs=yes
   16026   ;;
   16027 
   16028 irix5* | irix6* | nonstopux*)
   16029   case $host_os in
   16030     nonstopux*) version_type=nonstopux ;;
   16031     *)
   16032 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16033 		version_type=linux
   16034 	else
   16035 		version_type=irix
   16036 	fi ;;
   16037   esac
   16038   need_lib_prefix=no
   16039   need_version=no
   16040   soname_spec='${libname}${release}${shared_ext}$major'
   16041   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16042   case $host_os in
   16043   irix5* | nonstopux*)
   16044     libsuff= shlibsuff=
   16045     ;;
   16046   *)
   16047     case $LD in # libtool.m4 will add one of these switches to LD
   16048     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16049       libsuff= shlibsuff= libmagic=32-bit;;
   16050     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16051       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16052     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16053       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16054     *) libsuff= shlibsuff= libmagic=never-match;;
   16055     esac
   16056     ;;
   16057   esac
   16058   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16059   shlibpath_overrides_runpath=no
   16060   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16061   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16062   hardcode_into_libs=yes
   16063   ;;
   16064 
   16065 # No shared lib support for Linux oldld, aout, or coff.
   16066 linux*oldld* | linux*aout* | linux*coff*)
   16067   dynamic_linker=no
   16068   ;;
   16069 
   16070 # This must be Linux ELF.
   16071 linux* | k*bsd*-gnu)
   16072   version_type=linux
   16073   need_lib_prefix=no
   16074   need_version=no
   16075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16076   soname_spec='${libname}${release}${shared_ext}$major'
   16077   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16078   shlibpath_var=LD_LIBRARY_PATH
   16079   shlibpath_overrides_runpath=no
   16080   # This implies no fast_install, which is unacceptable.
   16081   # Some rework will be needed to allow for fast_install
   16082   # before this can be enabled.
   16083   hardcode_into_libs=yes
   16084 
   16085   # Append ld.so.conf contents to the search path
   16086   if test -f /etc/ld.so.conf; then
   16087     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' ' '`
   16088     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16089   fi
   16090 
   16091   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16092   # powerpc, because MkLinux only supported shared libraries with the
   16093   # GNU dynamic linker.  Since this was broken with cross compilers,
   16094   # most powerpc-linux boxes support dynamic linking these days and
   16095   # people can always --disable-shared, the test was removed, and we
   16096   # assume the GNU/Linux dynamic linker is in use.
   16097   dynamic_linker='GNU/Linux ld.so'
   16098   ;;
   16099 
   16100 netbsd*)
   16101   version_type=sunos
   16102   need_lib_prefix=no
   16103   need_version=no
   16104   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16105     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16106     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16107     dynamic_linker='NetBSD (a.out) ld.so'
   16108   else
   16109     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16110     soname_spec='${libname}${release}${shared_ext}$major'
   16111     dynamic_linker='NetBSD ld.elf_so'
   16112   fi
   16113   shlibpath_var=LD_LIBRARY_PATH
   16114   shlibpath_overrides_runpath=yes
   16115   hardcode_into_libs=yes
   16116   ;;
   16117 
   16118 newsos6)
   16119   version_type=linux
   16120   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16121   shlibpath_var=LD_LIBRARY_PATH
   16122   shlibpath_overrides_runpath=yes
   16123   ;;
   16124 
   16125 nto-qnx*)
   16126   version_type=linux
   16127   need_lib_prefix=no
   16128   need_version=no
   16129   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16130   soname_spec='${libname}${release}${shared_ext}$major'
   16131   shlibpath_var=LD_LIBRARY_PATH
   16132   shlibpath_overrides_runpath=yes
   16133   ;;
   16134 
   16135 openbsd*)
   16136   version_type=sunos
   16137   sys_lib_dlsearch_path_spec="/usr/lib"
   16138   need_lib_prefix=no
   16139   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16140   case $host_os in
   16141     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16142     *)                         need_version=no  ;;
   16143   esac
   16144   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16145   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16146   shlibpath_var=LD_LIBRARY_PATH
   16147   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16148     case $host_os in
   16149       openbsd2.[89] | openbsd2.[89].*)
   16150 	shlibpath_overrides_runpath=no
   16151 	;;
   16152       *)
   16153 	shlibpath_overrides_runpath=yes
   16154 	;;
   16155       esac
   16156   else
   16157     shlibpath_overrides_runpath=yes
   16158   fi
   16159   ;;
   16160 
   16161 os2*)
   16162   libname_spec='$name'
   16163   shrext_cmds=".dll"
   16164   need_lib_prefix=no
   16165   library_names_spec='$libname${shared_ext} $libname.a'
   16166   dynamic_linker='OS/2 ld.exe'
   16167   shlibpath_var=LIBPATH
   16168   ;;
   16169 
   16170 osf3* | osf4* | osf5*)
   16171   version_type=osf
   16172   need_lib_prefix=no
   16173   need_version=no
   16174   soname_spec='${libname}${release}${shared_ext}$major'
   16175   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16176   shlibpath_var=LD_LIBRARY_PATH
   16177   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16178   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16179   ;;
   16180 
   16181 rdos*)
   16182   dynamic_linker=no
   16183   ;;
   16184 
   16185 solaris*)
   16186   version_type=linux
   16187   need_lib_prefix=no
   16188   need_version=no
   16189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16190   soname_spec='${libname}${release}${shared_ext}$major'
   16191   shlibpath_var=LD_LIBRARY_PATH
   16192   shlibpath_overrides_runpath=yes
   16193   hardcode_into_libs=yes
   16194   # ldd complains unless libraries are executable
   16195   postinstall_cmds='chmod +x $lib'
   16196   ;;
   16197 
   16198 sunos4*)
   16199   version_type=sunos
   16200   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16201   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16202   shlibpath_var=LD_LIBRARY_PATH
   16203   shlibpath_overrides_runpath=yes
   16204   if test "$with_gnu_ld" = yes; then
   16205     need_lib_prefix=no
   16206   fi
   16207   need_version=yes
   16208   ;;
   16209 
   16210 sysv4 | sysv4.3*)
   16211   version_type=linux
   16212   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16213   soname_spec='${libname}${release}${shared_ext}$major'
   16214   shlibpath_var=LD_LIBRARY_PATH
   16215   case $host_vendor in
   16216     sni)
   16217       shlibpath_overrides_runpath=no
   16218       need_lib_prefix=no
   16219       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16220       runpath_var=LD_RUN_PATH
   16221       ;;
   16222     siemens)
   16223       need_lib_prefix=no
   16224       ;;
   16225     motorola)
   16226       need_lib_prefix=no
   16227       need_version=no
   16228       shlibpath_overrides_runpath=no
   16229       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16230       ;;
   16231   esac
   16232   ;;
   16233 
   16234 sysv4*MP*)
   16235   if test -d /usr/nec ;then
   16236     version_type=linux
   16237     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16238     soname_spec='$libname${shared_ext}.$major'
   16239     shlibpath_var=LD_LIBRARY_PATH
   16240   fi
   16241   ;;
   16242 
   16243 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16244   version_type=freebsd-elf
   16245   need_lib_prefix=no
   16246   need_version=no
   16247   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16248   soname_spec='${libname}${release}${shared_ext}$major'
   16249   shlibpath_var=LD_LIBRARY_PATH
   16250   hardcode_into_libs=yes
   16251   if test "$with_gnu_ld" = yes; then
   16252     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16253     shlibpath_overrides_runpath=no
   16254   else
   16255     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16256     shlibpath_overrides_runpath=yes
   16257     case $host_os in
   16258       sco3.2v5*)
   16259         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16260 	;;
   16261     esac
   16262   fi
   16263   sys_lib_dlsearch_path_spec='/usr/lib'
   16264   ;;
   16265 
   16266 uts4*)
   16267   version_type=linux
   16268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16269   soname_spec='${libname}${release}${shared_ext}$major'
   16270   shlibpath_var=LD_LIBRARY_PATH
   16271   ;;
   16272 
   16273 *)
   16274   dynamic_linker=no
   16275   ;;
   16276 esac
   16277 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16278 $as_echo "$dynamic_linker" >&6; }
   16279 test "$dynamic_linker" = no && can_build_shared=no
   16280 
   16281 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16282 if test "$GCC" = yes; then
   16283   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16284 fi
   16285 
   16286 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16287 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16288 hardcode_action_F77=
   16289 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16290    test -n "$runpath_var_F77" || \
   16291    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16292 
   16293   # We can hardcode non-existant directories.
   16294   if test "$hardcode_direct_F77" != no &&
   16295      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16296      # have to relink, otherwise we might link with an installed library
   16297      # when we should be linking with a yet-to-be-installed one
   16298      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16299      test "$hardcode_minus_L_F77" != no; then
   16300     # Linking always hardcodes the temporary library directory.
   16301     hardcode_action_F77=relink
   16302   else
   16303     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16304     hardcode_action_F77=immediate
   16305   fi
   16306 else
   16307   # We cannot hardcode anything, or else we can only hardcode existing
   16308   # directories.
   16309   hardcode_action_F77=unsupported
   16310 fi
   16311 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16312 $as_echo "$hardcode_action_F77" >&6; }
   16313 
   16314 if test "$hardcode_action_F77" = relink; then
   16315   # Fast installation is not supported
   16316   enable_fast_install=no
   16317 elif test "$shlibpath_overrides_runpath" = yes ||
   16318      test "$enable_shared" = no; then
   16319   # Fast installation is not necessary
   16320   enable_fast_install=needless
   16321 fi
   16322 
   16323 
   16324 # The else clause should only fire when bootstrapping the
   16325 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16326 # with your package, and you will get complaints that there are
   16327 # no rules to generate ltmain.sh.
   16328 if test -f "$ltmain"; then
   16329   # See if we are running on zsh, and set the options which allow our commands through
   16330   # without removal of \ escapes.
   16331   if test -n "${ZSH_VERSION+set}" ; then
   16332     setopt NO_GLOB_SUBST
   16333   fi
   16334   # Now quote all the things that may contain metacharacters while being
   16335   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16336   # variables and quote the copies for generation of the libtool script.
   16337   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16338     SED SHELL STRIP \
   16339     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16340     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16341     deplibs_check_method reload_flag reload_cmds need_locks \
   16342     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16343     lt_cv_sys_global_symbol_to_c_name_address \
   16344     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16345     old_postinstall_cmds old_postuninstall_cmds \
   16346     compiler_F77 \
   16347     CC_F77 \
   16348     LD_F77 \
   16349     lt_prog_compiler_wl_F77 \
   16350     lt_prog_compiler_pic_F77 \
   16351     lt_prog_compiler_static_F77 \
   16352     lt_prog_compiler_no_builtin_flag_F77 \
   16353     export_dynamic_flag_spec_F77 \
   16354     thread_safe_flag_spec_F77 \
   16355     whole_archive_flag_spec_F77 \
   16356     enable_shared_with_static_runtimes_F77 \
   16357     old_archive_cmds_F77 \
   16358     old_archive_from_new_cmds_F77 \
   16359     predep_objects_F77 \
   16360     postdep_objects_F77 \
   16361     predeps_F77 \
   16362     postdeps_F77 \
   16363     compiler_lib_search_path_F77 \
   16364     archive_cmds_F77 \
   16365     archive_expsym_cmds_F77 \
   16366     postinstall_cmds_F77 \
   16367     postuninstall_cmds_F77 \
   16368     old_archive_from_expsyms_cmds_F77 \
   16369     allow_undefined_flag_F77 \
   16370     no_undefined_flag_F77 \
   16371     export_symbols_cmds_F77 \
   16372     hardcode_libdir_flag_spec_F77 \
   16373     hardcode_libdir_flag_spec_ld_F77 \
   16374     hardcode_libdir_separator_F77 \
   16375     hardcode_automatic_F77 \
   16376     module_cmds_F77 \
   16377     module_expsym_cmds_F77 \
   16378     lt_cv_prog_compiler_c_o_F77 \
   16379     fix_srcfile_path_F77 \
   16380     exclude_expsyms_F77 \
   16381     include_expsyms_F77; do
   16382 
   16383     case $var in
   16384     old_archive_cmds_F77 | \
   16385     old_archive_from_new_cmds_F77 | \
   16386     archive_cmds_F77 | \
   16387     archive_expsym_cmds_F77 | \
   16388     module_cmds_F77 | \
   16389     module_expsym_cmds_F77 | \
   16390     old_archive_from_expsyms_cmds_F77 | \
   16391     export_symbols_cmds_F77 | \
   16392     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16393     postinstall_cmds | postuninstall_cmds | \
   16394     old_postinstall_cmds | old_postuninstall_cmds | \
   16395     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16396       # Double-quote double-evaled strings.
   16397       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16398       ;;
   16399     *)
   16400       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16401       ;;
   16402     esac
   16403   done
   16404 
   16405   case $lt_echo in
   16406   *'\$0 --fallback-echo"')
   16407     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16408     ;;
   16409   esac
   16410 
   16411 cfgfile="$ofile"
   16412 
   16413   cat <<__EOF__ >> "$cfgfile"
   16414 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16415 
   16416 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16417 
   16418 # Shell to use when invoking shell scripts.
   16419 SHELL=$lt_SHELL
   16420 
   16421 # Whether or not to build shared libraries.
   16422 build_libtool_libs=$enable_shared
   16423 
   16424 # Whether or not to build static libraries.
   16425 build_old_libs=$enable_static
   16426 
   16427 # Whether or not to add -lc for building shared libraries.
   16428 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16429 
   16430 # Whether or not to disallow shared libs when runtime libs are static
   16431 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16432 
   16433 # Whether or not to optimize for fast installation.
   16434 fast_install=$enable_fast_install
   16435 
   16436 # The host system.
   16437 host_alias=$host_alias
   16438 host=$host
   16439 host_os=$host_os
   16440 
   16441 # The build system.
   16442 build_alias=$build_alias
   16443 build=$build
   16444 build_os=$build_os
   16445 
   16446 # An echo program that does not interpret backslashes.
   16447 echo=$lt_echo
   16448 
   16449 # The archiver.
   16450 AR=$lt_AR
   16451 AR_FLAGS=$lt_AR_FLAGS
   16452 
   16453 # A C compiler.
   16454 LTCC=$lt_LTCC
   16455 
   16456 # LTCC compiler flags.
   16457 LTCFLAGS=$lt_LTCFLAGS
   16458 
   16459 # A language-specific compiler.
   16460 CC=$lt_compiler_F77
   16461 
   16462 # Is the compiler the GNU C compiler?
   16463 with_gcc=$GCC_F77
   16464 
   16465 # An ERE matcher.
   16466 EGREP=$lt_EGREP
   16467 
   16468 # The linker used to build libraries.
   16469 LD=$lt_LD_F77
   16470 
   16471 # Whether we need hard or soft links.
   16472 LN_S=$lt_LN_S
   16473 
   16474 # A BSD-compatible nm program.
   16475 NM=$lt_NM
   16476 
   16477 # A symbol stripping program
   16478 STRIP=$lt_STRIP
   16479 
   16480 # Used to examine libraries when file_magic_cmd begins "file"
   16481 MAGIC_CMD=$MAGIC_CMD
   16482 
   16483 # Used on cygwin: DLL creation program.
   16484 DLLTOOL="$DLLTOOL"
   16485 
   16486 # Used on cygwin: object dumper.
   16487 OBJDUMP="$OBJDUMP"
   16488 
   16489 # Used on cygwin: assembler.
   16490 AS="$AS"
   16491 
   16492 # The name of the directory that contains temporary libtool files.
   16493 objdir=$objdir
   16494 
   16495 # How to create reloadable object files.
   16496 reload_flag=$lt_reload_flag
   16497 reload_cmds=$lt_reload_cmds
   16498 
   16499 # How to pass a linker flag through the compiler.
   16500 wl=$lt_lt_prog_compiler_wl_F77
   16501 
   16502 # Object file suffix (normally "o").
   16503 objext="$ac_objext"
   16504 
   16505 # Old archive suffix (normally "a").
   16506 libext="$libext"
   16507 
   16508 # Shared library suffix (normally ".so").
   16509 shrext_cmds='$shrext_cmds'
   16510 
   16511 # Executable file suffix (normally "").
   16512 exeext="$exeext"
   16513 
   16514 # Additional compiler flags for building library objects.
   16515 pic_flag=$lt_lt_prog_compiler_pic_F77
   16516 pic_mode=$pic_mode
   16517 
   16518 # What is the maximum length of a command?
   16519 max_cmd_len=$lt_cv_sys_max_cmd_len
   16520 
   16521 # Does compiler simultaneously support -c and -o options?
   16522 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16523 
   16524 # Must we lock files when doing compilation?
   16525 need_locks=$lt_need_locks
   16526 
   16527 # Do we need the lib prefix for modules?
   16528 need_lib_prefix=$need_lib_prefix
   16529 
   16530 # Do we need a version for libraries?
   16531 need_version=$need_version
   16532 
   16533 # Whether dlopen is supported.
   16534 dlopen_support=$enable_dlopen
   16535 
   16536 # Whether dlopen of programs is supported.
   16537 dlopen_self=$enable_dlopen_self
   16538 
   16539 # Whether dlopen of statically linked programs is supported.
   16540 dlopen_self_static=$enable_dlopen_self_static
   16541 
   16542 # Compiler flag to prevent dynamic linking.
   16543 link_static_flag=$lt_lt_prog_compiler_static_F77
   16544 
   16545 # Compiler flag to turn off builtin functions.
   16546 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16547 
   16548 # Compiler flag to allow reflexive dlopens.
   16549 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16550 
   16551 # Compiler flag to generate shared objects directly from archives.
   16552 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16553 
   16554 # Compiler flag to generate thread-safe objects.
   16555 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16556 
   16557 # Library versioning type.
   16558 version_type=$version_type
   16559 
   16560 # Format of library name prefix.
   16561 libname_spec=$lt_libname_spec
   16562 
   16563 # List of archive names.  First name is the real one, the rest are links.
   16564 # The last name is the one that the linker finds with -lNAME.
   16565 library_names_spec=$lt_library_names_spec
   16566 
   16567 # The coded name of the library, if different from the real name.
   16568 soname_spec=$lt_soname_spec
   16569 
   16570 # Commands used to build and install an old-style archive.
   16571 RANLIB=$lt_RANLIB
   16572 old_archive_cmds=$lt_old_archive_cmds_F77
   16573 old_postinstall_cmds=$lt_old_postinstall_cmds
   16574 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16575 
   16576 # Create an old-style archive from a shared archive.
   16577 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16578 
   16579 # Create a temporary old-style archive to link instead of a shared archive.
   16580 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16581 
   16582 # Commands used to build and install a shared archive.
   16583 archive_cmds=$lt_archive_cmds_F77
   16584 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16585 postinstall_cmds=$lt_postinstall_cmds
   16586 postuninstall_cmds=$lt_postuninstall_cmds
   16587 
   16588 # Commands used to build a loadable module (assumed same as above if empty)
   16589 module_cmds=$lt_module_cmds_F77
   16590 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16591 
   16592 # Commands to strip libraries.
   16593 old_striplib=$lt_old_striplib
   16594 striplib=$lt_striplib
   16595 
   16596 # Dependencies to place before the objects being linked to create a
   16597 # shared library.
   16598 predep_objects=$lt_predep_objects_F77
   16599 
   16600 # Dependencies to place after the objects being linked to create a
   16601 # shared library.
   16602 postdep_objects=$lt_postdep_objects_F77
   16603 
   16604 # Dependencies to place before the objects being linked to create a
   16605 # shared library.
   16606 predeps=$lt_predeps_F77
   16607 
   16608 # Dependencies to place after the objects being linked to create a
   16609 # shared library.
   16610 postdeps=$lt_postdeps_F77
   16611 
   16612 # The library search path used internally by the compiler when linking
   16613 # a shared library.
   16614 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16615 
   16616 # Method to check whether dependent libraries are shared objects.
   16617 deplibs_check_method=$lt_deplibs_check_method
   16618 
   16619 # Command to use when deplibs_check_method == file_magic.
   16620 file_magic_cmd=$lt_file_magic_cmd
   16621 
   16622 # Flag that allows shared libraries with undefined symbols to be built.
   16623 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16624 
   16625 # Flag that forces no undefined symbols.
   16626 no_undefined_flag=$lt_no_undefined_flag_F77
   16627 
   16628 # Commands used to finish a libtool library installation in a directory.
   16629 finish_cmds=$lt_finish_cmds
   16630 
   16631 # Same as above, but a single script fragment to be evaled but not shown.
   16632 finish_eval=$lt_finish_eval
   16633 
   16634 # Take the output of nm and produce a listing of raw symbols and C names.
   16635 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16636 
   16637 # Transform the output of nm in a proper C declaration
   16638 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16639 
   16640 # Transform the output of nm in a C name address pair
   16641 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16642 
   16643 # This is the shared library runtime path variable.
   16644 runpath_var=$runpath_var
   16645 
   16646 # This is the shared library path variable.
   16647 shlibpath_var=$shlibpath_var
   16648 
   16649 # Is shlibpath searched before the hard-coded library search path?
   16650 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16651 
   16652 # How to hardcode a shared library path into an executable.
   16653 hardcode_action=$hardcode_action_F77
   16654 
   16655 # Whether we should hardcode library paths into libraries.
   16656 hardcode_into_libs=$hardcode_into_libs
   16657 
   16658 # Flag to hardcode \$libdir into a binary during linking.
   16659 # This must work even if \$libdir does not exist.
   16660 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16661 
   16662 # If ld is used when linking, flag to hardcode \$libdir into
   16663 # a binary during linking. This must work even if \$libdir does
   16664 # not exist.
   16665 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16666 
   16667 # Whether we need a single -rpath flag with a separated argument.
   16668 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16669 
   16670 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16671 # resulting binary.
   16672 hardcode_direct=$hardcode_direct_F77
   16673 
   16674 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16675 # resulting binary.
   16676 hardcode_minus_L=$hardcode_minus_L_F77
   16677 
   16678 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16679 # the resulting binary.
   16680 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16681 
   16682 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16683 # and all subsequent libraries and executables linked against it.
   16684 hardcode_automatic=$hardcode_automatic_F77
   16685 
   16686 # Variables whose values should be saved in libtool wrapper scripts and
   16687 # restored at relink time.
   16688 variables_saved_for_relink="$variables_saved_for_relink"
   16689 
   16690 # Whether libtool must link a program against all its dependency libraries.
   16691 link_all_deplibs=$link_all_deplibs_F77
   16692 
   16693 # Compile-time system search path for libraries
   16694 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16695 
   16696 # Run-time system search path for libraries
   16697 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16698 
   16699 # Fix the shell variable \$srcfile for the compiler.
   16700 fix_srcfile_path=$lt_fix_srcfile_path
   16701 
   16702 # Set to yes if exported symbols are required.
   16703 always_export_symbols=$always_export_symbols_F77
   16704 
   16705 # The commands to list exported symbols.
   16706 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16707 
   16708 # The commands to extract the exported symbol list from a shared archive.
   16709 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16710 
   16711 # Symbols that should not be listed in the preloaded symbols.
   16712 exclude_expsyms=$lt_exclude_expsyms_F77
   16713 
   16714 # Symbols that must always be exported.
   16715 include_expsyms=$lt_include_expsyms_F77
   16716 
   16717 # ### END LIBTOOL TAG CONFIG: $tagname
   16718 
   16719 __EOF__
   16720 
   16721 
   16722 else
   16723   # If there is no Makefile yet, we rely on a make rule to execute
   16724   # `config.status --recheck' to rerun these tests and create the
   16725   # libtool script then.
   16726   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16727   if test -f "$ltmain_in"; then
   16728     test -f Makefile && make "$ltmain"
   16729   fi
   16730 fi
   16731 
   16732 
   16733 ac_ext=c
   16734 ac_cpp='$CPP $CPPFLAGS'
   16735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16738 
   16739 CC="$lt_save_CC"
   16740 
   16741 	else
   16742 	  tagname=""
   16743 	fi
   16744 	;;
   16745 
   16746       GCJ)
   16747 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16748 
   16749 
   16750 # Source file extension for Java test sources.
   16751 ac_ext=java
   16752 
   16753 # Object file extension for compiled Java test sources.
   16754 objext=o
   16755 objext_GCJ=$objext
   16756 
   16757 # Code to be used in simple compile tests
   16758 lt_simple_compile_test_code="class foo {}"
   16759 
   16760 # Code to be used in simple link tests
   16761 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16762 
   16763 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16764 
   16765 # If no C compiler was specified, use CC.
   16766 LTCC=${LTCC-"$CC"}
   16767 
   16768 # If no C compiler flags were specified, use CFLAGS.
   16769 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16770 
   16771 # Allow CC to be a program name with arguments.
   16772 compiler=$CC
   16773 
   16774 
   16775 # save warnings/boilerplate of simple test code
   16776 ac_outfile=conftest.$ac_objext
   16777 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16778 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16779 _lt_compiler_boilerplate=`cat conftest.err`
   16780 $rm conftest*
   16781 
   16782 ac_outfile=conftest.$ac_objext
   16783 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16784 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16785 _lt_linker_boilerplate=`cat conftest.err`
   16786 $rm conftest*
   16787 
   16788 
   16789 # Allow CC to be a program name with arguments.
   16790 lt_save_CC="$CC"
   16791 CC=${GCJ-"gcj"}
   16792 compiler=$CC
   16793 compiler_GCJ=$CC
   16794 for cc_temp in $compiler""; do
   16795   case $cc_temp in
   16796     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16797     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16798     \-*) ;;
   16799     *) break;;
   16800   esac
   16801 done
   16802 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16803 
   16804 
   16805 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16806 archive_cmds_need_lc_GCJ=no
   16807 
   16808 old_archive_cmds_GCJ=$old_archive_cmds
   16809 
   16810 
   16811 lt_prog_compiler_no_builtin_flag_GCJ=
   16812 
   16813 if test "$GCC" = yes; then
   16814   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16815 
   16816 
   16817 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16818 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16819 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16820   $as_echo_n "(cached) " >&6
   16821 else
   16822   lt_cv_prog_compiler_rtti_exceptions=no
   16823   ac_outfile=conftest.$ac_objext
   16824    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16825    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16826    # Insert the option either (1) after the last *FLAGS variable, or
   16827    # (2) before a word containing "conftest.", or (3) at the end.
   16828    # Note that $ac_compile itself does not contain backslashes and begins
   16829    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16830    # The option is referenced via a variable to avoid confusing sed.
   16831    lt_compile=`echo "$ac_compile" | $SED \
   16832    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16833    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16834    -e 's:$: $lt_compiler_flag:'`
   16835    (eval echo "\"\$as_me:16835: $lt_compile\"" >&5)
   16836    (eval "$lt_compile" 2>conftest.err)
   16837    ac_status=$?
   16838    cat conftest.err >&5
   16839    echo "$as_me:16839: \$? = $ac_status" >&5
   16840    if (exit $ac_status) && test -s "$ac_outfile"; then
   16841      # The compiler can only warn and ignore the option if not recognized
   16842      # So say no if there are warnings other than the usual output.
   16843      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16844      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16845      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16846        lt_cv_prog_compiler_rtti_exceptions=yes
   16847      fi
   16848    fi
   16849    $rm conftest*
   16850 
   16851 fi
   16852 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16853 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16854 
   16855 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16856     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16857 else
   16858     :
   16859 fi
   16860 
   16861 fi
   16862 
   16863 lt_prog_compiler_wl_GCJ=
   16864 lt_prog_compiler_pic_GCJ=
   16865 lt_prog_compiler_static_GCJ=
   16866 
   16867 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16868 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16869 
   16870   if test "$GCC" = yes; then
   16871     lt_prog_compiler_wl_GCJ='-Wl,'
   16872     lt_prog_compiler_static_GCJ='-static'
   16873 
   16874     case $host_os in
   16875       aix*)
   16876       # All AIX code is PIC.
   16877       if test "$host_cpu" = ia64; then
   16878 	# AIX 5 now supports IA64 processor
   16879 	lt_prog_compiler_static_GCJ='-Bstatic'
   16880       fi
   16881       ;;
   16882 
   16883     amigaos*)
   16884       # FIXME: we need at least 68020 code to build shared libraries, but
   16885       # adding the `-m68020' flag to GCC prevents building anything better,
   16886       # like `-m68040'.
   16887       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16888       ;;
   16889 
   16890     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16891       # PIC is the default for these OSes.
   16892       ;;
   16893 
   16894     mingw* | cygwin* | pw32* | os2*)
   16895       # This hack is so that the source file can tell whether it is being
   16896       # built for inclusion in a dll (and should export symbols for example).
   16897       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16898       # (--disable-auto-import) libraries
   16899       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16900       ;;
   16901 
   16902     darwin* | rhapsody*)
   16903       # PIC is the default on this platform
   16904       # Common symbols not allowed in MH_DYLIB files
   16905       lt_prog_compiler_pic_GCJ='-fno-common'
   16906       ;;
   16907 
   16908     interix[3-9]*)
   16909       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16910       # Instead, we relocate shared libraries at runtime.
   16911       ;;
   16912 
   16913     msdosdjgpp*)
   16914       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16915       # on systems that don't support them.
   16916       lt_prog_compiler_can_build_shared_GCJ=no
   16917       enable_shared=no
   16918       ;;
   16919 
   16920     sysv4*MP*)
   16921       if test -d /usr/nec; then
   16922 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16923       fi
   16924       ;;
   16925 
   16926     hpux*)
   16927       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16928       # not for PA HP-UX.
   16929       case $host_cpu in
   16930       hppa*64*|ia64*)
   16931 	# +Z the default
   16932 	;;
   16933       *)
   16934 	lt_prog_compiler_pic_GCJ='-fPIC'
   16935 	;;
   16936       esac
   16937       ;;
   16938 
   16939     *)
   16940       lt_prog_compiler_pic_GCJ='-fPIC'
   16941       ;;
   16942     esac
   16943   else
   16944     # PORTME Check for flag to pass linker flags through the system compiler.
   16945     case $host_os in
   16946     aix*)
   16947       lt_prog_compiler_wl_GCJ='-Wl,'
   16948       if test "$host_cpu" = ia64; then
   16949 	# AIX 5 now supports IA64 processor
   16950 	lt_prog_compiler_static_GCJ='-Bstatic'
   16951       else
   16952 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16953       fi
   16954       ;;
   16955       darwin*)
   16956         # PIC is the default on this platform
   16957         # Common symbols not allowed in MH_DYLIB files
   16958        case $cc_basename in
   16959          xlc*)
   16960          lt_prog_compiler_pic_GCJ='-qnocommon'
   16961          lt_prog_compiler_wl_GCJ='-Wl,'
   16962          ;;
   16963        esac
   16964        ;;
   16965 
   16966     mingw* | cygwin* | pw32* | os2*)
   16967       # This hack is so that the source file can tell whether it is being
   16968       # built for inclusion in a dll (and should export symbols for example).
   16969       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16970       ;;
   16971 
   16972     hpux9* | hpux10* | hpux11*)
   16973       lt_prog_compiler_wl_GCJ='-Wl,'
   16974       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16975       # not for PA HP-UX.
   16976       case $host_cpu in
   16977       hppa*64*|ia64*)
   16978 	# +Z the default
   16979 	;;
   16980       *)
   16981 	lt_prog_compiler_pic_GCJ='+Z'
   16982 	;;
   16983       esac
   16984       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16985       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16986       ;;
   16987 
   16988     irix5* | irix6* | nonstopux*)
   16989       lt_prog_compiler_wl_GCJ='-Wl,'
   16990       # PIC (with -KPIC) is the default.
   16991       lt_prog_compiler_static_GCJ='-non_shared'
   16992       ;;
   16993 
   16994     newsos6)
   16995       lt_prog_compiler_pic_GCJ='-KPIC'
   16996       lt_prog_compiler_static_GCJ='-Bstatic'
   16997       ;;
   16998 
   16999     linux* | k*bsd*-gnu)
   17000       case $cc_basename in
   17001       icc* | ecc*)
   17002 	lt_prog_compiler_wl_GCJ='-Wl,'
   17003 	lt_prog_compiler_pic_GCJ='-KPIC'
   17004 	lt_prog_compiler_static_GCJ='-static'
   17005         ;;
   17006       pgcc* | pgf77* | pgf90* | pgf95*)
   17007         # Portland Group compilers (*not* the Pentium gcc compiler,
   17008 	# which looks to be a dead project)
   17009 	lt_prog_compiler_wl_GCJ='-Wl,'
   17010 	lt_prog_compiler_pic_GCJ='-fpic'
   17011 	lt_prog_compiler_static_GCJ='-Bstatic'
   17012         ;;
   17013       ccc*)
   17014         lt_prog_compiler_wl_GCJ='-Wl,'
   17015         # All Alpha code is PIC.
   17016         lt_prog_compiler_static_GCJ='-non_shared'
   17017         ;;
   17018       *)
   17019         case `$CC -V 2>&1 | sed 5q` in
   17020 	*Sun\ C*)
   17021 	  # Sun C 5.9
   17022 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17023 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17024 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17025 	  ;;
   17026 	*Sun\ F*)
   17027 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17028 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17029 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17030 	  lt_prog_compiler_wl_GCJ=''
   17031 	  ;;
   17032 	esac
   17033 	;;
   17034       esac
   17035       ;;
   17036 
   17037     osf3* | osf4* | osf5*)
   17038       lt_prog_compiler_wl_GCJ='-Wl,'
   17039       # All OSF/1 code is PIC.
   17040       lt_prog_compiler_static_GCJ='-non_shared'
   17041       ;;
   17042 
   17043     rdos*)
   17044       lt_prog_compiler_static_GCJ='-non_shared'
   17045       ;;
   17046 
   17047     solaris*)
   17048       lt_prog_compiler_pic_GCJ='-KPIC'
   17049       lt_prog_compiler_static_GCJ='-Bstatic'
   17050       case $cc_basename in
   17051       f77* | f90* | f95*)
   17052 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17053       *)
   17054 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17055       esac
   17056       ;;
   17057 
   17058     sunos4*)
   17059       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17060       lt_prog_compiler_pic_GCJ='-PIC'
   17061       lt_prog_compiler_static_GCJ='-Bstatic'
   17062       ;;
   17063 
   17064     sysv4 | sysv4.2uw2* | sysv4.3*)
   17065       lt_prog_compiler_wl_GCJ='-Wl,'
   17066       lt_prog_compiler_pic_GCJ='-KPIC'
   17067       lt_prog_compiler_static_GCJ='-Bstatic'
   17068       ;;
   17069 
   17070     sysv4*MP*)
   17071       if test -d /usr/nec ;then
   17072 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17073 	lt_prog_compiler_static_GCJ='-Bstatic'
   17074       fi
   17075       ;;
   17076 
   17077     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17078       lt_prog_compiler_wl_GCJ='-Wl,'
   17079       lt_prog_compiler_pic_GCJ='-KPIC'
   17080       lt_prog_compiler_static_GCJ='-Bstatic'
   17081       ;;
   17082 
   17083     unicos*)
   17084       lt_prog_compiler_wl_GCJ='-Wl,'
   17085       lt_prog_compiler_can_build_shared_GCJ=no
   17086       ;;
   17087 
   17088     uts4*)
   17089       lt_prog_compiler_pic_GCJ='-pic'
   17090       lt_prog_compiler_static_GCJ='-Bstatic'
   17091       ;;
   17092 
   17093     *)
   17094       lt_prog_compiler_can_build_shared_GCJ=no
   17095       ;;
   17096     esac
   17097   fi
   17098 
   17099 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17100 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17101 
   17102 #
   17103 # Check to make sure the PIC flag actually works.
   17104 #
   17105 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17106 
   17107 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17108 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17109 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   17110   $as_echo_n "(cached) " >&6
   17111 else
   17112   lt_prog_compiler_pic_works_GCJ=no
   17113   ac_outfile=conftest.$ac_objext
   17114    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17115    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17116    # Insert the option either (1) after the last *FLAGS variable, or
   17117    # (2) before a word containing "conftest.", or (3) at the end.
   17118    # Note that $ac_compile itself does not contain backslashes and begins
   17119    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17120    # The option is referenced via a variable to avoid confusing sed.
   17121    lt_compile=`echo "$ac_compile" | $SED \
   17122    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17123    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17124    -e 's:$: $lt_compiler_flag:'`
   17125    (eval echo "\"\$as_me:17125: $lt_compile\"" >&5)
   17126    (eval "$lt_compile" 2>conftest.err)
   17127    ac_status=$?
   17128    cat conftest.err >&5
   17129    echo "$as_me:17129: \$? = $ac_status" >&5
   17130    if (exit $ac_status) && test -s "$ac_outfile"; then
   17131      # The compiler can only warn and ignore the option if not recognized
   17132      # So say no if there are warnings other than the usual output.
   17133      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17134      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17135      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17136        lt_prog_compiler_pic_works_GCJ=yes
   17137      fi
   17138    fi
   17139    $rm conftest*
   17140 
   17141 fi
   17142 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   17143 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
   17144 
   17145 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   17146     case $lt_prog_compiler_pic_GCJ in
   17147      "" | " "*) ;;
   17148      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17149      esac
   17150 else
   17151     lt_prog_compiler_pic_GCJ=
   17152      lt_prog_compiler_can_build_shared_GCJ=no
   17153 fi
   17154 
   17155 fi
   17156 case $host_os in
   17157   # For platforms which do not support PIC, -DPIC is meaningless:
   17158   *djgpp*)
   17159     lt_prog_compiler_pic_GCJ=
   17160     ;;
   17161   *)
   17162     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17163     ;;
   17164 esac
   17165 
   17166 #
   17167 # Check to make sure the static flag actually works.
   17168 #
   17169 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17170 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17171 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17172 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   17173   $as_echo_n "(cached) " >&6
   17174 else
   17175   lt_prog_compiler_static_works_GCJ=no
   17176    save_LDFLAGS="$LDFLAGS"
   17177    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17178    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17179    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17180      # The linker can only warn and ignore the option if not recognized
   17181      # So say no if there are warnings
   17182      if test -s conftest.err; then
   17183        # Append any errors to the config.log.
   17184        cat conftest.err 1>&5
   17185        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17186        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17187        if diff conftest.exp conftest.er2 >/dev/null; then
   17188          lt_prog_compiler_static_works_GCJ=yes
   17189        fi
   17190      else
   17191        lt_prog_compiler_static_works_GCJ=yes
   17192      fi
   17193    fi
   17194    $rm conftest*
   17195    LDFLAGS="$save_LDFLAGS"
   17196 
   17197 fi
   17198 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   17199 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
   17200 
   17201 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   17202     :
   17203 else
   17204     lt_prog_compiler_static_GCJ=
   17205 fi
   17206 
   17207 
   17208 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17209 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17210 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17211   $as_echo_n "(cached) " >&6
   17212 else
   17213   lt_cv_prog_compiler_c_o_GCJ=no
   17214    $rm -r conftest 2>/dev/null
   17215    mkdir conftest
   17216    cd conftest
   17217    mkdir out
   17218    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17219 
   17220    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17221    # Insert the option either (1) after the last *FLAGS variable, or
   17222    # (2) before a word containing "conftest.", or (3) at the end.
   17223    # Note that $ac_compile itself does not contain backslashes and begins
   17224    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17225    lt_compile=`echo "$ac_compile" | $SED \
   17226    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17227    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17228    -e 's:$: $lt_compiler_flag:'`
   17229    (eval echo "\"\$as_me:17229: $lt_compile\"" >&5)
   17230    (eval "$lt_compile" 2>out/conftest.err)
   17231    ac_status=$?
   17232    cat out/conftest.err >&5
   17233    echo "$as_me:17233: \$? = $ac_status" >&5
   17234    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17235    then
   17236      # The compiler can only warn and ignore the option if not recognized
   17237      # So say no if there are warnings
   17238      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17239      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17240      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17241        lt_cv_prog_compiler_c_o_GCJ=yes
   17242      fi
   17243    fi
   17244    chmod u+w . 2>&5
   17245    $rm conftest*
   17246    # SGI C++ compiler will create directory out/ii_files/ for
   17247    # template instantiation
   17248    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17249    $rm out/* && rmdir out
   17250    cd ..
   17251    rmdir conftest
   17252    $rm conftest*
   17253 
   17254 fi
   17255 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17256 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17257 
   17258 
   17259 hard_links="nottested"
   17260 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17261   # do not overwrite the value of need_locks provided by the user
   17262   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17263 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17264   hard_links=yes
   17265   $rm conftest*
   17266   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17267   touch conftest.a
   17268   ln conftest.a conftest.b 2>&5 || hard_links=no
   17269   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17270   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17271 $as_echo "$hard_links" >&6; }
   17272   if test "$hard_links" = no; then
   17273     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17274 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17275     need_locks=warn
   17276   fi
   17277 else
   17278   need_locks=no
   17279 fi
   17280 
   17281 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17282 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17283 
   17284   runpath_var=
   17285   allow_undefined_flag_GCJ=
   17286   enable_shared_with_static_runtimes_GCJ=no
   17287   archive_cmds_GCJ=
   17288   archive_expsym_cmds_GCJ=
   17289   old_archive_From_new_cmds_GCJ=
   17290   old_archive_from_expsyms_cmds_GCJ=
   17291   export_dynamic_flag_spec_GCJ=
   17292   whole_archive_flag_spec_GCJ=
   17293   thread_safe_flag_spec_GCJ=
   17294   hardcode_libdir_flag_spec_GCJ=
   17295   hardcode_libdir_flag_spec_ld_GCJ=
   17296   hardcode_libdir_separator_GCJ=
   17297   hardcode_direct_GCJ=no
   17298   hardcode_minus_L_GCJ=no
   17299   hardcode_shlibpath_var_GCJ=unsupported
   17300   link_all_deplibs_GCJ=unknown
   17301   hardcode_automatic_GCJ=no
   17302   module_cmds_GCJ=
   17303   module_expsym_cmds_GCJ=
   17304   always_export_symbols_GCJ=no
   17305   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17306   # include_expsyms should be a list of space-separated symbols to be *always*
   17307   # included in the symbol list
   17308   include_expsyms_GCJ=
   17309   # exclude_expsyms can be an extended regexp of symbols to exclude
   17310   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17311   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17312   # as well as any symbol that contains `d'.
   17313   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   17314   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17315   # platforms (ab)use it in PIC code, but their linkers get confused if
   17316   # the symbol is explicitly referenced.  Since portable code cannot
   17317   # rely on this symbol name, it's probably fine to never include it in
   17318   # preloaded symbol tables.
   17319   extract_expsyms_cmds=
   17320   # Just being paranoid about ensuring that cc_basename is set.
   17321   for cc_temp in $compiler""; do
   17322   case $cc_temp in
   17323     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17324     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17325     \-*) ;;
   17326     *) break;;
   17327   esac
   17328 done
   17329 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17330 
   17331   case $host_os in
   17332   cygwin* | mingw* | pw32*)
   17333     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17334     # When not using gcc, we currently assume that we are using
   17335     # Microsoft Visual C++.
   17336     if test "$GCC" != yes; then
   17337       with_gnu_ld=no
   17338     fi
   17339     ;;
   17340   interix*)
   17341     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17342     with_gnu_ld=yes
   17343     ;;
   17344   openbsd*)
   17345     with_gnu_ld=no
   17346     ;;
   17347   esac
   17348 
   17349   ld_shlibs_GCJ=yes
   17350   if test "$with_gnu_ld" = yes; then
   17351     # If archive_cmds runs LD, not CC, wlarc should be empty
   17352     wlarc='${wl}'
   17353 
   17354     # Set some defaults for GNU ld with shared library support. These
   17355     # are reset later if shared libraries are not supported. Putting them
   17356     # here allows them to be overridden if necessary.
   17357     runpath_var=LD_RUN_PATH
   17358     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17359     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17360     # ancient GNU ld didn't support --whole-archive et. al.
   17361     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17362 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17363       else
   17364   	whole_archive_flag_spec_GCJ=
   17365     fi
   17366     supports_anon_versioning=no
   17367     case `$LD -v 2>/dev/null` in
   17368       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17369       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17370       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17371       *\ 2.11.*) ;; # other 2.11 versions
   17372       *) supports_anon_versioning=yes ;;
   17373     esac
   17374 
   17375     # See if GNU ld supports shared libraries.
   17376     case $host_os in
   17377     aix3* | aix4* | aix5*)
   17378       # On AIX/PPC, the GNU linker is very broken
   17379       if test "$host_cpu" != ia64; then
   17380 	ld_shlibs_GCJ=no
   17381 	cat <<EOF 1>&2
   17382 
   17383 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17384 *** to be unable to reliably create shared libraries on AIX.
   17385 *** Therefore, libtool is disabling shared libraries support.  If you
   17386 *** really care for shared libraries, you may want to modify your PATH
   17387 *** so that a non-GNU linker is found, and then restart.
   17388 
   17389 EOF
   17390       fi
   17391       ;;
   17392 
   17393     amigaos*)
   17394       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)'
   17395       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17396       hardcode_minus_L_GCJ=yes
   17397 
   17398       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17399       # that the semantics of dynamic libraries on AmigaOS, at least up
   17400       # to version 4, is to share data among multiple programs linked
   17401       # with the same dynamic library.  Since this doesn't match the
   17402       # behavior of shared libraries on other platforms, we can't use
   17403       # them.
   17404       ld_shlibs_GCJ=no
   17405       ;;
   17406 
   17407     beos*)
   17408       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17409 	allow_undefined_flag_GCJ=unsupported
   17410 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17411 	# support --undefined.  This deserves some investigation.  FIXME
   17412 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17413       else
   17414 	ld_shlibs_GCJ=no
   17415       fi
   17416       ;;
   17417 
   17418     cygwin* | mingw* | pw32*)
   17419       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17420       # as there is no search path for DLLs.
   17421       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17422       allow_undefined_flag_GCJ=unsupported
   17423       always_export_symbols_GCJ=no
   17424       enable_shared_with_static_runtimes_GCJ=yes
   17425       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17426 
   17427       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17428         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17429 	# If the export-symbols file already is a .def file (1st line
   17430 	# is EXPORTS), use it as is; otherwise, prepend...
   17431 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17432 	  cp $export_symbols $output_objdir/$soname.def;
   17433 	else
   17434 	  echo EXPORTS > $output_objdir/$soname.def;
   17435 	  cat $export_symbols >> $output_objdir/$soname.def;
   17436 	fi~
   17437 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17438       else
   17439 	ld_shlibs_GCJ=no
   17440       fi
   17441       ;;
   17442 
   17443     interix[3-9]*)
   17444       hardcode_direct_GCJ=no
   17445       hardcode_shlibpath_var_GCJ=no
   17446       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17447       export_dynamic_flag_spec_GCJ='${wl}-E'
   17448       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17449       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17450       # default) and relocated if they conflict, which is a slow very memory
   17451       # consuming and fragmenting process.  To avoid this, we pick a random,
   17452       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17453       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17454       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'
   17455       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'
   17456       ;;
   17457 
   17458     gnu* | linux* | k*bsd*-gnu)
   17459       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17460 	tmp_addflag=
   17461 	case $cc_basename,$host_cpu in
   17462 	pgcc*)				# Portland Group C compiler
   17463 	  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'
   17464 	  tmp_addflag=' $pic_flag'
   17465 	  ;;
   17466 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17467 	  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'
   17468 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17469 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17470 	  tmp_addflag=' -i_dynamic' ;;
   17471 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17472 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17473 	ifc* | ifort*)			# Intel Fortran compiler
   17474 	  tmp_addflag=' -nofor_main' ;;
   17475 	esac
   17476 	case `$CC -V 2>&1 | sed 5q` in
   17477 	*Sun\ C*)			# Sun C 5.9
   17478 	  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'
   17479 	  tmp_sharedflag='-G' ;;
   17480 	*Sun\ F*)			# Sun Fortran 8.3
   17481 	  tmp_sharedflag='-G' ;;
   17482 	*)
   17483 	  tmp_sharedflag='-shared' ;;
   17484 	esac
   17485 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17486 
   17487 	if test $supports_anon_versioning = yes; then
   17488 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17489   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17490   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17491 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17492 	fi
   17493       else
   17494 	ld_shlibs_GCJ=no
   17495       fi
   17496       ;;
   17497 
   17498     netbsd*)
   17499       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17500 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17501 	wlarc=
   17502       else
   17503 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17504 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17505       fi
   17506       ;;
   17507 
   17508     solaris*)
   17509       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17510 	ld_shlibs_GCJ=no
   17511 	cat <<EOF 1>&2
   17512 
   17513 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17514 *** create shared libraries on Solaris systems.  Therefore, libtool
   17515 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17516 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17517 *** your PATH or compiler configuration so that the native linker is
   17518 *** used, and then restart.
   17519 
   17520 EOF
   17521       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17522 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17523 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17524       else
   17525 	ld_shlibs_GCJ=no
   17526       fi
   17527       ;;
   17528 
   17529     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17530       case `$LD -v 2>&1` in
   17531         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17532 	ld_shlibs_GCJ=no
   17533 	cat <<_LT_EOF 1>&2
   17534 
   17535 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17536 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17537 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17538 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17539 *** your PATH or compiler configuration so that the native linker is
   17540 *** used, and then restart.
   17541 
   17542 _LT_EOF
   17543 	;;
   17544 	*)
   17545 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17546 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17547 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17548 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17549 	  else
   17550 	    ld_shlibs_GCJ=no
   17551 	  fi
   17552 	;;
   17553       esac
   17554       ;;
   17555 
   17556     sunos4*)
   17557       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17558       wlarc=
   17559       hardcode_direct_GCJ=yes
   17560       hardcode_shlibpath_var_GCJ=no
   17561       ;;
   17562 
   17563     *)
   17564       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17565 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17566 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17567       else
   17568 	ld_shlibs_GCJ=no
   17569       fi
   17570       ;;
   17571     esac
   17572 
   17573     if test "$ld_shlibs_GCJ" = no; then
   17574       runpath_var=
   17575       hardcode_libdir_flag_spec_GCJ=
   17576       export_dynamic_flag_spec_GCJ=
   17577       whole_archive_flag_spec_GCJ=
   17578     fi
   17579   else
   17580     # PORTME fill in a description of your system's linker (not GNU ld)
   17581     case $host_os in
   17582     aix3*)
   17583       allow_undefined_flag_GCJ=unsupported
   17584       always_export_symbols_GCJ=yes
   17585       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'
   17586       # Note: this linker hardcodes the directories in LIBPATH if there
   17587       # are no directories specified by -L.
   17588       hardcode_minus_L_GCJ=yes
   17589       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17590 	# Neither direct hardcoding nor static linking is supported with a
   17591 	# broken collect2.
   17592 	hardcode_direct_GCJ=unsupported
   17593       fi
   17594       ;;
   17595 
   17596     aix4* | aix5*)
   17597       if test "$host_cpu" = ia64; then
   17598 	# On IA64, the linker does run time linking by default, so we don't
   17599 	# have to do anything special.
   17600 	aix_use_runtimelinking=no
   17601 	exp_sym_flag='-Bexport'
   17602 	no_entry_flag=""
   17603       else
   17604 	# If we're using GNU nm, then we don't want the "-C" option.
   17605 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17606 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17607 	  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'
   17608 	else
   17609 	  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'
   17610 	fi
   17611 	aix_use_runtimelinking=no
   17612 
   17613 	# Test if we are trying to use run time linking or normal
   17614 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17615 	# need to do runtime linking.
   17616 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17617 	  for ld_flag in $LDFLAGS; do
   17618   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17619   	    aix_use_runtimelinking=yes
   17620   	    break
   17621   	  fi
   17622 	  done
   17623 	  ;;
   17624 	esac
   17625 
   17626 	exp_sym_flag='-bexport'
   17627 	no_entry_flag='-bnoentry'
   17628       fi
   17629 
   17630       # When large executables or shared objects are built, AIX ld can
   17631       # have problems creating the table of contents.  If linking a library
   17632       # or program results in "error TOC overflow" add -mminimal-toc to
   17633       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17634       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17635 
   17636       archive_cmds_GCJ=''
   17637       hardcode_direct_GCJ=yes
   17638       hardcode_libdir_separator_GCJ=':'
   17639       link_all_deplibs_GCJ=yes
   17640 
   17641       if test "$GCC" = yes; then
   17642 	case $host_os in aix4.[012]|aix4.[012].*)
   17643 	# We only want to do this on AIX 4.2 and lower, the check
   17644 	# below for broken collect2 doesn't work under 4.3+
   17645 	  collect2name=`${CC} -print-prog-name=collect2`
   17646 	  if test -f "$collect2name" && \
   17647   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17648 	  then
   17649   	  # We have reworked collect2
   17650   	  :
   17651 	  else
   17652   	  # We have old collect2
   17653   	  hardcode_direct_GCJ=unsupported
   17654   	  # It fails to find uninstalled libraries when the uninstalled
   17655   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17656   	  # to unsupported forces relinking
   17657   	  hardcode_minus_L_GCJ=yes
   17658   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17659   	  hardcode_libdir_separator_GCJ=
   17660 	  fi
   17661 	  ;;
   17662 	esac
   17663 	shared_flag='-shared'
   17664 	if test "$aix_use_runtimelinking" = yes; then
   17665 	  shared_flag="$shared_flag "'${wl}-G'
   17666 	fi
   17667       else
   17668 	# not using gcc
   17669 	if test "$host_cpu" = ia64; then
   17670   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17671   	# chokes on -Wl,-G. The following line is correct:
   17672 	  shared_flag='-G'
   17673 	else
   17674 	  if test "$aix_use_runtimelinking" = yes; then
   17675 	    shared_flag='${wl}-G'
   17676 	  else
   17677 	    shared_flag='${wl}-bM:SRE'
   17678 	  fi
   17679 	fi
   17680       fi
   17681 
   17682       # It seems that -bexpall does not export symbols beginning with
   17683       # underscore (_), so it is better to generate a list of symbols to export.
   17684       always_export_symbols_GCJ=yes
   17685       if test "$aix_use_runtimelinking" = yes; then
   17686 	# Warning - without using the other runtime loading flags (-brtl),
   17687 	# -berok will link without error, but may produce a broken library.
   17688 	allow_undefined_flag_GCJ='-berok'
   17689        # Determine the default libpath from the value encoded in an empty executable.
   17690        cat >conftest.$ac_ext <<_ACEOF
   17691 /* confdefs.h.  */
   17692 _ACEOF
   17693 cat confdefs.h >>conftest.$ac_ext
   17694 cat >>conftest.$ac_ext <<_ACEOF
   17695 /* end confdefs.h.  */
   17696 
   17697 int
   17698 main ()
   17699 {
   17700 
   17701   ;
   17702   return 0;
   17703 }
   17704 _ACEOF
   17705 rm -f conftest.$ac_objext conftest$ac_exeext
   17706 if { (ac_try="$ac_link"
   17707 case "(($ac_try" in
   17708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17709   *) ac_try_echo=$ac_try;;
   17710 esac
   17711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17712 $as_echo "$ac_try_echo") >&5
   17713   (eval "$ac_link") 2>conftest.er1
   17714   ac_status=$?
   17715   grep -v '^ *+' conftest.er1 >conftest.err
   17716   rm -f conftest.er1
   17717   cat conftest.err >&5
   17718   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17719   (exit $ac_status); } && {
   17720 	 test -z "$ac_c_werror_flag" ||
   17721 	 test ! -s conftest.err
   17722        } && test -s conftest$ac_exeext && {
   17723 	 test "$cross_compiling" = yes ||
   17724 	 $as_test_x conftest$ac_exeext
   17725        }; then
   17726 
   17727 lt_aix_libpath_sed='
   17728     /Import File Strings/,/^$/ {
   17729 	/^0/ {
   17730 	    s/^0  *\(.*\)$/\1/
   17731 	    p
   17732 	}
   17733     }'
   17734 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17735 # Check for a 64-bit object if we didn't find anything.
   17736 if test -z "$aix_libpath"; then
   17737   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17738 fi
   17739 else
   17740   $as_echo "$as_me: failed program was:" >&5
   17741 sed 's/^/| /' conftest.$ac_ext >&5
   17742 
   17743 
   17744 fi
   17745 
   17746 rm -rf conftest.dSYM
   17747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17748       conftest$ac_exeext conftest.$ac_ext
   17749 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17750 
   17751        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17752 	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"
   17753        else
   17754 	if test "$host_cpu" = ia64; then
   17755 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17756 	  allow_undefined_flag_GCJ="-z nodefs"
   17757 	  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"
   17758 	else
   17759 	 # Determine the default libpath from the value encoded in an empty executable.
   17760 	 cat >conftest.$ac_ext <<_ACEOF
   17761 /* confdefs.h.  */
   17762 _ACEOF
   17763 cat confdefs.h >>conftest.$ac_ext
   17764 cat >>conftest.$ac_ext <<_ACEOF
   17765 /* end confdefs.h.  */
   17766 
   17767 int
   17768 main ()
   17769 {
   17770 
   17771   ;
   17772   return 0;
   17773 }
   17774 _ACEOF
   17775 rm -f conftest.$ac_objext conftest$ac_exeext
   17776 if { (ac_try="$ac_link"
   17777 case "(($ac_try" in
   17778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17779   *) ac_try_echo=$ac_try;;
   17780 esac
   17781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17782 $as_echo "$ac_try_echo") >&5
   17783   (eval "$ac_link") 2>conftest.er1
   17784   ac_status=$?
   17785   grep -v '^ *+' conftest.er1 >conftest.err
   17786   rm -f conftest.er1
   17787   cat conftest.err >&5
   17788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17789   (exit $ac_status); } && {
   17790 	 test -z "$ac_c_werror_flag" ||
   17791 	 test ! -s conftest.err
   17792        } && test -s conftest$ac_exeext && {
   17793 	 test "$cross_compiling" = yes ||
   17794 	 $as_test_x conftest$ac_exeext
   17795        }; then
   17796 
   17797 lt_aix_libpath_sed='
   17798     /Import File Strings/,/^$/ {
   17799 	/^0/ {
   17800 	    s/^0  *\(.*\)$/\1/
   17801 	    p
   17802 	}
   17803     }'
   17804 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17805 # Check for a 64-bit object if we didn't find anything.
   17806 if test -z "$aix_libpath"; then
   17807   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17808 fi
   17809 else
   17810   $as_echo "$as_me: failed program was:" >&5
   17811 sed 's/^/| /' conftest.$ac_ext >&5
   17812 
   17813 
   17814 fi
   17815 
   17816 rm -rf conftest.dSYM
   17817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17818       conftest$ac_exeext conftest.$ac_ext
   17819 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17820 
   17821 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17822 	  # Warning - without using the other run time loading flags,
   17823 	  # -berok will link without error, but may produce a broken library.
   17824 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17825 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17826 	  # Exported symbols can be pulled into shared objects from archives
   17827 	  whole_archive_flag_spec_GCJ='$convenience'
   17828 	  archive_cmds_need_lc_GCJ=yes
   17829 	  # This is similar to how AIX traditionally builds its shared libraries.
   17830 	  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'
   17831 	fi
   17832       fi
   17833       ;;
   17834 
   17835     amigaos*)
   17836       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)'
   17837       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17838       hardcode_minus_L_GCJ=yes
   17839       # see comment about different semantics on the GNU ld section
   17840       ld_shlibs_GCJ=no
   17841       ;;
   17842 
   17843     bsdi[45]*)
   17844       export_dynamic_flag_spec_GCJ=-rdynamic
   17845       ;;
   17846 
   17847     cygwin* | mingw* | pw32*)
   17848       # When not using gcc, we currently assume that we are using
   17849       # Microsoft Visual C++.
   17850       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17851       # no search path for DLLs.
   17852       hardcode_libdir_flag_spec_GCJ=' '
   17853       allow_undefined_flag_GCJ=unsupported
   17854       # Tell ltmain to make .lib files, not .a files.
   17855       libext=lib
   17856       # Tell ltmain to make .dll files, not .so files.
   17857       shrext_cmds=".dll"
   17858       # FIXME: Setting linknames here is a bad hack.
   17859       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17860       # The linker will automatically build a .lib file if we build a DLL.
   17861       old_archive_From_new_cmds_GCJ='true'
   17862       # FIXME: Should let the user specify the lib program.
   17863       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17864       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17865       enable_shared_with_static_runtimes_GCJ=yes
   17866       ;;
   17867 
   17868     darwin* | rhapsody*)
   17869       case $host_os in
   17870         rhapsody* | darwin1.[012])
   17871          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17872          ;;
   17873        *) # Darwin 1.3 on
   17874          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17875            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17876          else
   17877            case ${MACOSX_DEPLOYMENT_TARGET} in
   17878              10.[012])
   17879                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17880                ;;
   17881              10.*)
   17882                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17883                ;;
   17884            esac
   17885          fi
   17886          ;;
   17887       esac
   17888       archive_cmds_need_lc_GCJ=no
   17889       hardcode_direct_GCJ=no
   17890       hardcode_automatic_GCJ=yes
   17891       hardcode_shlibpath_var_GCJ=unsupported
   17892       whole_archive_flag_spec_GCJ=''
   17893       link_all_deplibs_GCJ=yes
   17894     if test "$GCC" = yes ; then
   17895     	output_verbose_link_cmd='echo'
   17896         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17897       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17898       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17899       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17900       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}'
   17901     else
   17902       case $cc_basename in
   17903         xlc*)
   17904          output_verbose_link_cmd='echo'
   17905          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17906          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17907           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17908          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}'
   17909           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}'
   17910           ;;
   17911        *)
   17912          ld_shlibs_GCJ=no
   17913           ;;
   17914       esac
   17915     fi
   17916       ;;
   17917 
   17918     dgux*)
   17919       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17920       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17921       hardcode_shlibpath_var_GCJ=no
   17922       ;;
   17923 
   17924     freebsd1*)
   17925       ld_shlibs_GCJ=no
   17926       ;;
   17927 
   17928     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17929     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17930     # does not break anything, and helps significantly (at the cost of a little
   17931     # extra space).
   17932     freebsd2.2*)
   17933       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17934       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17935       hardcode_direct_GCJ=yes
   17936       hardcode_shlibpath_var_GCJ=no
   17937       ;;
   17938 
   17939     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17940     freebsd2*)
   17941       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17942       hardcode_direct_GCJ=yes
   17943       hardcode_minus_L_GCJ=yes
   17944       hardcode_shlibpath_var_GCJ=no
   17945       ;;
   17946 
   17947     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17948     freebsd* | dragonfly*)
   17949       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17950       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17951       hardcode_direct_GCJ=yes
   17952       hardcode_shlibpath_var_GCJ=no
   17953       ;;
   17954 
   17955     hpux9*)
   17956       if test "$GCC" = yes; then
   17957 	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'
   17958       else
   17959 	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'
   17960       fi
   17961       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17962       hardcode_libdir_separator_GCJ=:
   17963       hardcode_direct_GCJ=yes
   17964 
   17965       # hardcode_minus_L: Not really in the search PATH,
   17966       # but as the default location of the library.
   17967       hardcode_minus_L_GCJ=yes
   17968       export_dynamic_flag_spec_GCJ='${wl}-E'
   17969       ;;
   17970 
   17971     hpux10*)
   17972       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17973 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17974       else
   17975 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17976       fi
   17977       if test "$with_gnu_ld" = no; then
   17978 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17979 	hardcode_libdir_separator_GCJ=:
   17980 
   17981 	hardcode_direct_GCJ=yes
   17982 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17983 
   17984 	# hardcode_minus_L: Not really in the search PATH,
   17985 	# but as the default location of the library.
   17986 	hardcode_minus_L_GCJ=yes
   17987       fi
   17988       ;;
   17989 
   17990     hpux11*)
   17991       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17992 	case $host_cpu in
   17993 	hppa*64*)
   17994 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17995 	  ;;
   17996 	ia64*)
   17997 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17998 	  ;;
   17999 	*)
   18000 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18001 	  ;;
   18002 	esac
   18003       else
   18004 	case $host_cpu in
   18005 	hppa*64*)
   18006 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18007 	  ;;
   18008 	ia64*)
   18009 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18010 	  ;;
   18011 	*)
   18012 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18013 	  ;;
   18014 	esac
   18015       fi
   18016       if test "$with_gnu_ld" = no; then
   18017 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18018 	hardcode_libdir_separator_GCJ=:
   18019 
   18020 	case $host_cpu in
   18021 	hppa*64*|ia64*)
   18022 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18023 	  hardcode_direct_GCJ=no
   18024 	  hardcode_shlibpath_var_GCJ=no
   18025 	  ;;
   18026 	*)
   18027 	  hardcode_direct_GCJ=yes
   18028 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18029 
   18030 	  # hardcode_minus_L: Not really in the search PATH,
   18031 	  # but as the default location of the library.
   18032 	  hardcode_minus_L_GCJ=yes
   18033 	  ;;
   18034 	esac
   18035       fi
   18036       ;;
   18037 
   18038     irix5* | irix6* | nonstopux*)
   18039       if test "$GCC" = yes; then
   18040 	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'
   18041       else
   18042 	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'
   18043 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18044       fi
   18045       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18046       hardcode_libdir_separator_GCJ=:
   18047       link_all_deplibs_GCJ=yes
   18048       ;;
   18049 
   18050     netbsd*)
   18051       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18052 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18053       else
   18054 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18055       fi
   18056       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18057       hardcode_direct_GCJ=yes
   18058       hardcode_shlibpath_var_GCJ=no
   18059       ;;
   18060 
   18061     newsos6)
   18062       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18063       hardcode_direct_GCJ=yes
   18064       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18065       hardcode_libdir_separator_GCJ=:
   18066       hardcode_shlibpath_var_GCJ=no
   18067       ;;
   18068 
   18069     openbsd*)
   18070       if test -f /usr/libexec/ld.so; then
   18071 	hardcode_direct_GCJ=yes
   18072 	hardcode_shlibpath_var_GCJ=no
   18073 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18074 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18075 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18076 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18077 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18078 	else
   18079 	  case $host_os in
   18080 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18081 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18082 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18083 	     ;;
   18084 	   *)
   18085 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18086 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18087 	     ;;
   18088 	  esac
   18089         fi
   18090       else
   18091 	ld_shlibs_GCJ=no
   18092       fi
   18093       ;;
   18094 
   18095     os2*)
   18096       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18097       hardcode_minus_L_GCJ=yes
   18098       allow_undefined_flag_GCJ=unsupported
   18099       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'
   18100       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18101       ;;
   18102 
   18103     osf3*)
   18104       if test "$GCC" = yes; then
   18105 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18106 	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'
   18107       else
   18108 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18109 	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'
   18110       fi
   18111       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18112       hardcode_libdir_separator_GCJ=:
   18113       ;;
   18114 
   18115     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18116       if test "$GCC" = yes; then
   18117 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18118 	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'
   18119 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18120       else
   18121 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18122 	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'
   18123 	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~
   18124 	$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'
   18125 
   18126 	# Both c and cxx compiler support -rpath directly
   18127 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18128       fi
   18129       hardcode_libdir_separator_GCJ=:
   18130       ;;
   18131 
   18132     solaris*)
   18133       no_undefined_flag_GCJ=' -z text'
   18134       if test "$GCC" = yes; then
   18135 	wlarc='${wl}'
   18136 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18137 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18138 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18139       else
   18140 	wlarc=''
   18141 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18142 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18143   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18144       fi
   18145       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18146       hardcode_shlibpath_var_GCJ=no
   18147       case $host_os in
   18148       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18149       *)
   18150 	# The compiler driver will combine and reorder linker options,
   18151 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18152 	# but is careful enough not to reorder.
   18153  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18154 	if test "$GCC" = yes; then
   18155 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18156 	else
   18157 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18158 	fi
   18159 	;;
   18160       esac
   18161       link_all_deplibs_GCJ=yes
   18162       ;;
   18163 
   18164     sunos4*)
   18165       if test "x$host_vendor" = xsequent; then
   18166 	# Use $CC to link under sequent, because it throws in some extra .o
   18167 	# files that make .init and .fini sections work.
   18168 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18169       else
   18170 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18171       fi
   18172       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18173       hardcode_direct_GCJ=yes
   18174       hardcode_minus_L_GCJ=yes
   18175       hardcode_shlibpath_var_GCJ=no
   18176       ;;
   18177 
   18178     sysv4)
   18179       case $host_vendor in
   18180 	sni)
   18181 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18182 	  hardcode_direct_GCJ=yes # is this really true???
   18183 	;;
   18184 	siemens)
   18185 	  ## LD is ld it makes a PLAMLIB
   18186 	  ## CC just makes a GrossModule.
   18187 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18188 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18189 	  hardcode_direct_GCJ=no
   18190         ;;
   18191 	motorola)
   18192 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18193 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18194 	;;
   18195       esac
   18196       runpath_var='LD_RUN_PATH'
   18197       hardcode_shlibpath_var_GCJ=no
   18198       ;;
   18199 
   18200     sysv4.3*)
   18201       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18202       hardcode_shlibpath_var_GCJ=no
   18203       export_dynamic_flag_spec_GCJ='-Bexport'
   18204       ;;
   18205 
   18206     sysv4*MP*)
   18207       if test -d /usr/nec; then
   18208 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18209 	hardcode_shlibpath_var_GCJ=no
   18210 	runpath_var=LD_RUN_PATH
   18211 	hardcode_runpath_var=yes
   18212 	ld_shlibs_GCJ=yes
   18213       fi
   18214       ;;
   18215 
   18216     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18217       no_undefined_flag_GCJ='${wl}-z,text'
   18218       archive_cmds_need_lc_GCJ=no
   18219       hardcode_shlibpath_var_GCJ=no
   18220       runpath_var='LD_RUN_PATH'
   18221 
   18222       if test "$GCC" = yes; then
   18223 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18224 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18225       else
   18226 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18227 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18228       fi
   18229       ;;
   18230 
   18231     sysv5* | sco3.2v5* | sco5v6*)
   18232       # Note: We can NOT use -z defs as we might desire, because we do not
   18233       # link with -lc, and that would cause any symbols used from libc to
   18234       # always be unresolved, which means just about no library would
   18235       # ever link correctly.  If we're not using GNU ld we use -z text
   18236       # though, which does catch some bad symbols but isn't as heavy-handed
   18237       # as -z defs.
   18238       no_undefined_flag_GCJ='${wl}-z,text'
   18239       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18240       archive_cmds_need_lc_GCJ=no
   18241       hardcode_shlibpath_var_GCJ=no
   18242       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18243       hardcode_libdir_separator_GCJ=':'
   18244       link_all_deplibs_GCJ=yes
   18245       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18246       runpath_var='LD_RUN_PATH'
   18247 
   18248       if test "$GCC" = yes; then
   18249 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18250 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18251       else
   18252 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18253 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18254       fi
   18255       ;;
   18256 
   18257     uts4*)
   18258       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18259       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18260       hardcode_shlibpath_var_GCJ=no
   18261       ;;
   18262 
   18263     *)
   18264       ld_shlibs_GCJ=no
   18265       ;;
   18266     esac
   18267   fi
   18268 
   18269 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18270 $as_echo "$ld_shlibs_GCJ" >&6; }
   18271 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18272 
   18273 #
   18274 # Do we need to explicitly link libc?
   18275 #
   18276 case "x$archive_cmds_need_lc_GCJ" in
   18277 x|xyes)
   18278   # Assume -lc should be added
   18279   archive_cmds_need_lc_GCJ=yes
   18280 
   18281   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18282     case $archive_cmds_GCJ in
   18283     *'~'*)
   18284       # FIXME: we may have to deal with multi-command sequences.
   18285       ;;
   18286     '$CC '*)
   18287       # Test whether the compiler implicitly links with -lc since on some
   18288       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18289       # to ld, don't add -lc before -lgcc.
   18290       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18291 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18292       $rm conftest*
   18293       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18294 
   18295       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18296   (eval $ac_compile) 2>&5
   18297   ac_status=$?
   18298   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18299   (exit $ac_status); } 2>conftest.err; then
   18300         soname=conftest
   18301         lib=conftest
   18302         libobjs=conftest.$ac_objext
   18303         deplibs=
   18304         wl=$lt_prog_compiler_wl_GCJ
   18305 	pic_flag=$lt_prog_compiler_pic_GCJ
   18306         compiler_flags=-v
   18307         linker_flags=-v
   18308         verstring=
   18309         output_objdir=.
   18310         libname=conftest
   18311         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18312         allow_undefined_flag_GCJ=
   18313         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18314   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18315   ac_status=$?
   18316   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18317   (exit $ac_status); }
   18318         then
   18319 	  archive_cmds_need_lc_GCJ=no
   18320         else
   18321 	  archive_cmds_need_lc_GCJ=yes
   18322         fi
   18323         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18324       else
   18325         cat conftest.err 1>&5
   18326       fi
   18327       $rm conftest*
   18328       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18329 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18330       ;;
   18331     esac
   18332   fi
   18333   ;;
   18334 esac
   18335 
   18336 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18337 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18338 library_names_spec=
   18339 libname_spec='lib$name'
   18340 soname_spec=
   18341 shrext_cmds=".so"
   18342 postinstall_cmds=
   18343 postuninstall_cmds=
   18344 finish_cmds=
   18345 finish_eval=
   18346 shlibpath_var=
   18347 shlibpath_overrides_runpath=unknown
   18348 version_type=none
   18349 dynamic_linker="$host_os ld.so"
   18350 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18351 
   18352 need_lib_prefix=unknown
   18353 hardcode_into_libs=no
   18354 
   18355 # when you set need_version to no, make sure it does not cause -set_version
   18356 # flags to be left without arguments
   18357 need_version=unknown
   18358 
   18359 case $host_os in
   18360 aix3*)
   18361   version_type=linux
   18362   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18363   shlibpath_var=LIBPATH
   18364 
   18365   # AIX 3 has no versioning support, so we append a major version to the name.
   18366   soname_spec='${libname}${release}${shared_ext}$major'
   18367   ;;
   18368 
   18369 aix4* | aix5*)
   18370   version_type=linux
   18371   need_lib_prefix=no
   18372   need_version=no
   18373   hardcode_into_libs=yes
   18374   if test "$host_cpu" = ia64; then
   18375     # AIX 5 supports IA64
   18376     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18377     shlibpath_var=LD_LIBRARY_PATH
   18378   else
   18379     # With GCC up to 2.95.x, collect2 would create an import file
   18380     # for dependence libraries.  The import file would start with
   18381     # the line `#! .'.  This would cause the generated library to
   18382     # depend on `.', always an invalid library.  This was fixed in
   18383     # development snapshots of GCC prior to 3.0.
   18384     case $host_os in
   18385       aix4 | aix4.[01] | aix4.[01].*)
   18386       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18387 	   echo ' yes '
   18388 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18389 	:
   18390       else
   18391 	can_build_shared=no
   18392       fi
   18393       ;;
   18394     esac
   18395     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18396     # soname into executable. Probably we can add versioning support to
   18397     # collect2, so additional links can be useful in future.
   18398     if test "$aix_use_runtimelinking" = yes; then
   18399       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18400       # instead of lib<name>.a to let people know that these are not
   18401       # typical AIX shared libraries.
   18402       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18403     else
   18404       # We preserve .a as extension for shared libraries through AIX4.2
   18405       # and later when we are not doing run time linking.
   18406       library_names_spec='${libname}${release}.a $libname.a'
   18407       soname_spec='${libname}${release}${shared_ext}$major'
   18408     fi
   18409     shlibpath_var=LIBPATH
   18410   fi
   18411   ;;
   18412 
   18413 amigaos*)
   18414   library_names_spec='$libname.ixlibrary $libname.a'
   18415   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18416   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'
   18417   ;;
   18418 
   18419 beos*)
   18420   library_names_spec='${libname}${shared_ext}'
   18421   dynamic_linker="$host_os ld.so"
   18422   shlibpath_var=LIBRARY_PATH
   18423   ;;
   18424 
   18425 bsdi[45]*)
   18426   version_type=linux
   18427   need_version=no
   18428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18429   soname_spec='${libname}${release}${shared_ext}$major'
   18430   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18431   shlibpath_var=LD_LIBRARY_PATH
   18432   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18433   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18434   # the default ld.so.conf also contains /usr/contrib/lib and
   18435   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18436   # libtool to hard-code these into programs
   18437   ;;
   18438 
   18439 cygwin* | mingw* | pw32*)
   18440   version_type=windows
   18441   shrext_cmds=".dll"
   18442   need_version=no
   18443   need_lib_prefix=no
   18444 
   18445   case $GCC,$host_os in
   18446   yes,cygwin* | yes,mingw* | yes,pw32*)
   18447     library_names_spec='$libname.dll.a'
   18448     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18449     postinstall_cmds='base_file=`basename \${file}`~
   18450       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18451       dldir=$destdir/`dirname \$dlpath`~
   18452       test -d \$dldir || mkdir -p \$dldir~
   18453       $install_prog $dir/$dlname \$dldir/$dlname~
   18454       chmod a+x \$dldir/$dlname'
   18455     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18456       dlpath=$dir/\$dldll~
   18457        $rm \$dlpath'
   18458     shlibpath_overrides_runpath=yes
   18459 
   18460     case $host_os in
   18461     cygwin*)
   18462       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18463       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18464       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18465       ;;
   18466     mingw*)
   18467       # MinGW DLLs use traditional 'lib' prefix
   18468       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18469       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18470       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18471         # It is most probably a Windows format PATH printed by
   18472         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18473         # path with ; separators, and with drive letters. We can handle the
   18474         # drive letters (cygwin fileutils understands them), so leave them,
   18475         # especially as we might pass files found there to a mingw objdump,
   18476         # which wouldn't understand a cygwinified path. Ahh.
   18477         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18478       else
   18479         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18480       fi
   18481       ;;
   18482     pw32*)
   18483       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18484       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18485       ;;
   18486     esac
   18487     ;;
   18488 
   18489   *)
   18490     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18491     ;;
   18492   esac
   18493   dynamic_linker='Win32 ld.exe'
   18494   # FIXME: first we should search . and the directory the executable is in
   18495   shlibpath_var=PATH
   18496   ;;
   18497 
   18498 darwin* | rhapsody*)
   18499   dynamic_linker="$host_os dyld"
   18500   version_type=darwin
   18501   need_lib_prefix=no
   18502   need_version=no
   18503   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18504   soname_spec='${libname}${release}${major}$shared_ext'
   18505   shlibpath_overrides_runpath=yes
   18506   shlibpath_var=DYLD_LIBRARY_PATH
   18507   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18508 
   18509   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18510   ;;
   18511 
   18512 dgux*)
   18513   version_type=linux
   18514   need_lib_prefix=no
   18515   need_version=no
   18516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18517   soname_spec='${libname}${release}${shared_ext}$major'
   18518   shlibpath_var=LD_LIBRARY_PATH
   18519   ;;
   18520 
   18521 freebsd1*)
   18522   dynamic_linker=no
   18523   ;;
   18524 
   18525 freebsd* | dragonfly*)
   18526   # DragonFly does not have aout.  When/if they implement a new
   18527   # versioning mechanism, adjust this.
   18528   if test -x /usr/bin/objformat; then
   18529     objformat=`/usr/bin/objformat`
   18530   else
   18531     case $host_os in
   18532     freebsd[123]*) objformat=aout ;;
   18533     *) objformat=elf ;;
   18534     esac
   18535   fi
   18536   version_type=freebsd-$objformat
   18537   case $version_type in
   18538     freebsd-elf*)
   18539       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18540       need_version=no
   18541       need_lib_prefix=no
   18542       ;;
   18543     freebsd-*)
   18544       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18545       need_version=yes
   18546       ;;
   18547   esac
   18548   shlibpath_var=LD_LIBRARY_PATH
   18549   case $host_os in
   18550   freebsd2*)
   18551     shlibpath_overrides_runpath=yes
   18552     ;;
   18553   freebsd3.[01]* | freebsdelf3.[01]*)
   18554     shlibpath_overrides_runpath=yes
   18555     hardcode_into_libs=yes
   18556     ;;
   18557   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18558   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18559     shlibpath_overrides_runpath=no
   18560     hardcode_into_libs=yes
   18561     ;;
   18562   *) # from 4.6 on, and DragonFly
   18563     shlibpath_overrides_runpath=yes
   18564     hardcode_into_libs=yes
   18565     ;;
   18566   esac
   18567   ;;
   18568 
   18569 gnu*)
   18570   version_type=linux
   18571   need_lib_prefix=no
   18572   need_version=no
   18573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18574   soname_spec='${libname}${release}${shared_ext}$major'
   18575   shlibpath_var=LD_LIBRARY_PATH
   18576   hardcode_into_libs=yes
   18577   ;;
   18578 
   18579 hpux9* | hpux10* | hpux11*)
   18580   # Give a soname corresponding to the major version so that dld.sl refuses to
   18581   # link against other versions.
   18582   version_type=sunos
   18583   need_lib_prefix=no
   18584   need_version=no
   18585   case $host_cpu in
   18586   ia64*)
   18587     shrext_cmds='.so'
   18588     hardcode_into_libs=yes
   18589     dynamic_linker="$host_os dld.so"
   18590     shlibpath_var=LD_LIBRARY_PATH
   18591     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18592     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18593     soname_spec='${libname}${release}${shared_ext}$major'
   18594     if test "X$HPUX_IA64_MODE" = X32; then
   18595       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18596     else
   18597       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18598     fi
   18599     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18600     ;;
   18601    hppa*64*)
   18602      shrext_cmds='.sl'
   18603      hardcode_into_libs=yes
   18604      dynamic_linker="$host_os dld.sl"
   18605      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18606      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18607      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18608      soname_spec='${libname}${release}${shared_ext}$major'
   18609      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18610      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18611      ;;
   18612    *)
   18613     shrext_cmds='.sl'
   18614     dynamic_linker="$host_os dld.sl"
   18615     shlibpath_var=SHLIB_PATH
   18616     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18617     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18618     soname_spec='${libname}${release}${shared_ext}$major'
   18619     ;;
   18620   esac
   18621   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18622   postinstall_cmds='chmod 555 $lib'
   18623   ;;
   18624 
   18625 interix[3-9]*)
   18626   version_type=linux
   18627   need_lib_prefix=no
   18628   need_version=no
   18629   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18630   soname_spec='${libname}${release}${shared_ext}$major'
   18631   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18632   shlibpath_var=LD_LIBRARY_PATH
   18633   shlibpath_overrides_runpath=no
   18634   hardcode_into_libs=yes
   18635   ;;
   18636 
   18637 irix5* | irix6* | nonstopux*)
   18638   case $host_os in
   18639     nonstopux*) version_type=nonstopux ;;
   18640     *)
   18641 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18642 		version_type=linux
   18643 	else
   18644 		version_type=irix
   18645 	fi ;;
   18646   esac
   18647   need_lib_prefix=no
   18648   need_version=no
   18649   soname_spec='${libname}${release}${shared_ext}$major'
   18650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18651   case $host_os in
   18652   irix5* | nonstopux*)
   18653     libsuff= shlibsuff=
   18654     ;;
   18655   *)
   18656     case $LD in # libtool.m4 will add one of these switches to LD
   18657     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18658       libsuff= shlibsuff= libmagic=32-bit;;
   18659     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18660       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18661     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18662       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18663     *) libsuff= shlibsuff= libmagic=never-match;;
   18664     esac
   18665     ;;
   18666   esac
   18667   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18668   shlibpath_overrides_runpath=no
   18669   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18670   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18671   hardcode_into_libs=yes
   18672   ;;
   18673 
   18674 # No shared lib support for Linux oldld, aout, or coff.
   18675 linux*oldld* | linux*aout* | linux*coff*)
   18676   dynamic_linker=no
   18677   ;;
   18678 
   18679 # This must be Linux ELF.
   18680 linux* | k*bsd*-gnu)
   18681   version_type=linux
   18682   need_lib_prefix=no
   18683   need_version=no
   18684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18685   soname_spec='${libname}${release}${shared_ext}$major'
   18686   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18687   shlibpath_var=LD_LIBRARY_PATH
   18688   shlibpath_overrides_runpath=no
   18689   # This implies no fast_install, which is unacceptable.
   18690   # Some rework will be needed to allow for fast_install
   18691   # before this can be enabled.
   18692   hardcode_into_libs=yes
   18693 
   18694   # Append ld.so.conf contents to the search path
   18695   if test -f /etc/ld.so.conf; then
   18696     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' ' '`
   18697     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18698   fi
   18699 
   18700   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18701   # powerpc, because MkLinux only supported shared libraries with the
   18702   # GNU dynamic linker.  Since this was broken with cross compilers,
   18703   # most powerpc-linux boxes support dynamic linking these days and
   18704   # people can always --disable-shared, the test was removed, and we
   18705   # assume the GNU/Linux dynamic linker is in use.
   18706   dynamic_linker='GNU/Linux ld.so'
   18707   ;;
   18708 
   18709 netbsd*)
   18710   version_type=sunos
   18711   need_lib_prefix=no
   18712   need_version=no
   18713   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18714     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18715     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18716     dynamic_linker='NetBSD (a.out) ld.so'
   18717   else
   18718     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18719     soname_spec='${libname}${release}${shared_ext}$major'
   18720     dynamic_linker='NetBSD ld.elf_so'
   18721   fi
   18722   shlibpath_var=LD_LIBRARY_PATH
   18723   shlibpath_overrides_runpath=yes
   18724   hardcode_into_libs=yes
   18725   ;;
   18726 
   18727 newsos6)
   18728   version_type=linux
   18729   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18730   shlibpath_var=LD_LIBRARY_PATH
   18731   shlibpath_overrides_runpath=yes
   18732   ;;
   18733 
   18734 nto-qnx*)
   18735   version_type=linux
   18736   need_lib_prefix=no
   18737   need_version=no
   18738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18739   soname_spec='${libname}${release}${shared_ext}$major'
   18740   shlibpath_var=LD_LIBRARY_PATH
   18741   shlibpath_overrides_runpath=yes
   18742   ;;
   18743 
   18744 openbsd*)
   18745   version_type=sunos
   18746   sys_lib_dlsearch_path_spec="/usr/lib"
   18747   need_lib_prefix=no
   18748   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18749   case $host_os in
   18750     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18751     *)                         need_version=no  ;;
   18752   esac
   18753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18754   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18755   shlibpath_var=LD_LIBRARY_PATH
   18756   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18757     case $host_os in
   18758       openbsd2.[89] | openbsd2.[89].*)
   18759 	shlibpath_overrides_runpath=no
   18760 	;;
   18761       *)
   18762 	shlibpath_overrides_runpath=yes
   18763 	;;
   18764       esac
   18765   else
   18766     shlibpath_overrides_runpath=yes
   18767   fi
   18768   ;;
   18769 
   18770 os2*)
   18771   libname_spec='$name'
   18772   shrext_cmds=".dll"
   18773   need_lib_prefix=no
   18774   library_names_spec='$libname${shared_ext} $libname.a'
   18775   dynamic_linker='OS/2 ld.exe'
   18776   shlibpath_var=LIBPATH
   18777   ;;
   18778 
   18779 osf3* | osf4* | osf5*)
   18780   version_type=osf
   18781   need_lib_prefix=no
   18782   need_version=no
   18783   soname_spec='${libname}${release}${shared_ext}$major'
   18784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18785   shlibpath_var=LD_LIBRARY_PATH
   18786   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18787   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18788   ;;
   18789 
   18790 rdos*)
   18791   dynamic_linker=no
   18792   ;;
   18793 
   18794 solaris*)
   18795   version_type=linux
   18796   need_lib_prefix=no
   18797   need_version=no
   18798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18799   soname_spec='${libname}${release}${shared_ext}$major'
   18800   shlibpath_var=LD_LIBRARY_PATH
   18801   shlibpath_overrides_runpath=yes
   18802   hardcode_into_libs=yes
   18803   # ldd complains unless libraries are executable
   18804   postinstall_cmds='chmod +x $lib'
   18805   ;;
   18806 
   18807 sunos4*)
   18808   version_type=sunos
   18809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18810   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18811   shlibpath_var=LD_LIBRARY_PATH
   18812   shlibpath_overrides_runpath=yes
   18813   if test "$with_gnu_ld" = yes; then
   18814     need_lib_prefix=no
   18815   fi
   18816   need_version=yes
   18817   ;;
   18818 
   18819 sysv4 | sysv4.3*)
   18820   version_type=linux
   18821   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18822   soname_spec='${libname}${release}${shared_ext}$major'
   18823   shlibpath_var=LD_LIBRARY_PATH
   18824   case $host_vendor in
   18825     sni)
   18826       shlibpath_overrides_runpath=no
   18827       need_lib_prefix=no
   18828       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18829       runpath_var=LD_RUN_PATH
   18830       ;;
   18831     siemens)
   18832       need_lib_prefix=no
   18833       ;;
   18834     motorola)
   18835       need_lib_prefix=no
   18836       need_version=no
   18837       shlibpath_overrides_runpath=no
   18838       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18839       ;;
   18840   esac
   18841   ;;
   18842 
   18843 sysv4*MP*)
   18844   if test -d /usr/nec ;then
   18845     version_type=linux
   18846     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18847     soname_spec='$libname${shared_ext}.$major'
   18848     shlibpath_var=LD_LIBRARY_PATH
   18849   fi
   18850   ;;
   18851 
   18852 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18853   version_type=freebsd-elf
   18854   need_lib_prefix=no
   18855   need_version=no
   18856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18857   soname_spec='${libname}${release}${shared_ext}$major'
   18858   shlibpath_var=LD_LIBRARY_PATH
   18859   hardcode_into_libs=yes
   18860   if test "$with_gnu_ld" = yes; then
   18861     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18862     shlibpath_overrides_runpath=no
   18863   else
   18864     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18865     shlibpath_overrides_runpath=yes
   18866     case $host_os in
   18867       sco3.2v5*)
   18868         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18869 	;;
   18870     esac
   18871   fi
   18872   sys_lib_dlsearch_path_spec='/usr/lib'
   18873   ;;
   18874 
   18875 uts4*)
   18876   version_type=linux
   18877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18878   soname_spec='${libname}${release}${shared_ext}$major'
   18879   shlibpath_var=LD_LIBRARY_PATH
   18880   ;;
   18881 
   18882 *)
   18883   dynamic_linker=no
   18884   ;;
   18885 esac
   18886 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18887 $as_echo "$dynamic_linker" >&6; }
   18888 test "$dynamic_linker" = no && can_build_shared=no
   18889 
   18890 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18891 if test "$GCC" = yes; then
   18892   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18893 fi
   18894 
   18895 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18896 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   18897 hardcode_action_GCJ=
   18898 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18899    test -n "$runpath_var_GCJ" || \
   18900    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18901 
   18902   # We can hardcode non-existant directories.
   18903   if test "$hardcode_direct_GCJ" != no &&
   18904      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18905      # have to relink, otherwise we might link with an installed library
   18906      # when we should be linking with a yet-to-be-installed one
   18907      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18908      test "$hardcode_minus_L_GCJ" != no; then
   18909     # Linking always hardcodes the temporary library directory.
   18910     hardcode_action_GCJ=relink
   18911   else
   18912     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18913     hardcode_action_GCJ=immediate
   18914   fi
   18915 else
   18916   # We cannot hardcode anything, or else we can only hardcode existing
   18917   # directories.
   18918   hardcode_action_GCJ=unsupported
   18919 fi
   18920 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18921 $as_echo "$hardcode_action_GCJ" >&6; }
   18922 
   18923 if test "$hardcode_action_GCJ" = relink; then
   18924   # Fast installation is not supported
   18925   enable_fast_install=no
   18926 elif test "$shlibpath_overrides_runpath" = yes ||
   18927      test "$enable_shared" = no; then
   18928   # Fast installation is not necessary
   18929   enable_fast_install=needless
   18930 fi
   18931 
   18932 
   18933 # The else clause should only fire when bootstrapping the
   18934 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18935 # with your package, and you will get complaints that there are
   18936 # no rules to generate ltmain.sh.
   18937 if test -f "$ltmain"; then
   18938   # See if we are running on zsh, and set the options which allow our commands through
   18939   # without removal of \ escapes.
   18940   if test -n "${ZSH_VERSION+set}" ; then
   18941     setopt NO_GLOB_SUBST
   18942   fi
   18943   # Now quote all the things that may contain metacharacters while being
   18944   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18945   # variables and quote the copies for generation of the libtool script.
   18946   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18947     SED SHELL STRIP \
   18948     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18949     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18950     deplibs_check_method reload_flag reload_cmds need_locks \
   18951     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18952     lt_cv_sys_global_symbol_to_c_name_address \
   18953     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18954     old_postinstall_cmds old_postuninstall_cmds \
   18955     compiler_GCJ \
   18956     CC_GCJ \
   18957     LD_GCJ \
   18958     lt_prog_compiler_wl_GCJ \
   18959     lt_prog_compiler_pic_GCJ \
   18960     lt_prog_compiler_static_GCJ \
   18961     lt_prog_compiler_no_builtin_flag_GCJ \
   18962     export_dynamic_flag_spec_GCJ \
   18963     thread_safe_flag_spec_GCJ \
   18964     whole_archive_flag_spec_GCJ \
   18965     enable_shared_with_static_runtimes_GCJ \
   18966     old_archive_cmds_GCJ \
   18967     old_archive_from_new_cmds_GCJ \
   18968     predep_objects_GCJ \
   18969     postdep_objects_GCJ \
   18970     predeps_GCJ \
   18971     postdeps_GCJ \
   18972     compiler_lib_search_path_GCJ \
   18973     archive_cmds_GCJ \
   18974     archive_expsym_cmds_GCJ \
   18975     postinstall_cmds_GCJ \
   18976     postuninstall_cmds_GCJ \
   18977     old_archive_from_expsyms_cmds_GCJ \
   18978     allow_undefined_flag_GCJ \
   18979     no_undefined_flag_GCJ \
   18980     export_symbols_cmds_GCJ \
   18981     hardcode_libdir_flag_spec_GCJ \
   18982     hardcode_libdir_flag_spec_ld_GCJ \
   18983     hardcode_libdir_separator_GCJ \
   18984     hardcode_automatic_GCJ \
   18985     module_cmds_GCJ \
   18986     module_expsym_cmds_GCJ \
   18987     lt_cv_prog_compiler_c_o_GCJ \
   18988     fix_srcfile_path_GCJ \
   18989     exclude_expsyms_GCJ \
   18990     include_expsyms_GCJ; do
   18991 
   18992     case $var in
   18993     old_archive_cmds_GCJ | \
   18994     old_archive_from_new_cmds_GCJ | \
   18995     archive_cmds_GCJ | \
   18996     archive_expsym_cmds_GCJ | \
   18997     module_cmds_GCJ | \
   18998     module_expsym_cmds_GCJ | \
   18999     old_archive_from_expsyms_cmds_GCJ | \
   19000     export_symbols_cmds_GCJ | \
   19001     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19002     postinstall_cmds | postuninstall_cmds | \
   19003     old_postinstall_cmds | old_postuninstall_cmds | \
   19004     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19005       # Double-quote double-evaled strings.
   19006       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19007       ;;
   19008     *)
   19009       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19010       ;;
   19011     esac
   19012   done
   19013 
   19014   case $lt_echo in
   19015   *'\$0 --fallback-echo"')
   19016     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19017     ;;
   19018   esac
   19019 
   19020 cfgfile="$ofile"
   19021 
   19022   cat <<__EOF__ >> "$cfgfile"
   19023 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19024 
   19025 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19026 
   19027 # Shell to use when invoking shell scripts.
   19028 SHELL=$lt_SHELL
   19029 
   19030 # Whether or not to build shared libraries.
   19031 build_libtool_libs=$enable_shared
   19032 
   19033 # Whether or not to build static libraries.
   19034 build_old_libs=$enable_static
   19035 
   19036 # Whether or not to add -lc for building shared libraries.
   19037 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19038 
   19039 # Whether or not to disallow shared libs when runtime libs are static
   19040 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19041 
   19042 # Whether or not to optimize for fast installation.
   19043 fast_install=$enable_fast_install
   19044 
   19045 # The host system.
   19046 host_alias=$host_alias
   19047 host=$host
   19048 host_os=$host_os
   19049 
   19050 # The build system.
   19051 build_alias=$build_alias
   19052 build=$build
   19053 build_os=$build_os
   19054 
   19055 # An echo program that does not interpret backslashes.
   19056 echo=$lt_echo
   19057 
   19058 # The archiver.
   19059 AR=$lt_AR
   19060 AR_FLAGS=$lt_AR_FLAGS
   19061 
   19062 # A C compiler.
   19063 LTCC=$lt_LTCC
   19064 
   19065 # LTCC compiler flags.
   19066 LTCFLAGS=$lt_LTCFLAGS
   19067 
   19068 # A language-specific compiler.
   19069 CC=$lt_compiler_GCJ
   19070 
   19071 # Is the compiler the GNU C compiler?
   19072 with_gcc=$GCC_GCJ
   19073 
   19074 # An ERE matcher.
   19075 EGREP=$lt_EGREP
   19076 
   19077 # The linker used to build libraries.
   19078 LD=$lt_LD_GCJ
   19079 
   19080 # Whether we need hard or soft links.
   19081 LN_S=$lt_LN_S
   19082 
   19083 # A BSD-compatible nm program.
   19084 NM=$lt_NM
   19085 
   19086 # A symbol stripping program
   19087 STRIP=$lt_STRIP
   19088 
   19089 # Used to examine libraries when file_magic_cmd begins "file"
   19090 MAGIC_CMD=$MAGIC_CMD
   19091 
   19092 # Used on cygwin: DLL creation program.
   19093 DLLTOOL="$DLLTOOL"
   19094 
   19095 # Used on cygwin: object dumper.
   19096 OBJDUMP="$OBJDUMP"
   19097 
   19098 # Used on cygwin: assembler.
   19099 AS="$AS"
   19100 
   19101 # The name of the directory that contains temporary libtool files.
   19102 objdir=$objdir
   19103 
   19104 # How to create reloadable object files.
   19105 reload_flag=$lt_reload_flag
   19106 reload_cmds=$lt_reload_cmds
   19107 
   19108 # How to pass a linker flag through the compiler.
   19109 wl=$lt_lt_prog_compiler_wl_GCJ
   19110 
   19111 # Object file suffix (normally "o").
   19112 objext="$ac_objext"
   19113 
   19114 # Old archive suffix (normally "a").
   19115 libext="$libext"
   19116 
   19117 # Shared library suffix (normally ".so").
   19118 shrext_cmds='$shrext_cmds'
   19119 
   19120 # Executable file suffix (normally "").
   19121 exeext="$exeext"
   19122 
   19123 # Additional compiler flags for building library objects.
   19124 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19125 pic_mode=$pic_mode
   19126 
   19127 # What is the maximum length of a command?
   19128 max_cmd_len=$lt_cv_sys_max_cmd_len
   19129 
   19130 # Does compiler simultaneously support -c and -o options?
   19131 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19132 
   19133 # Must we lock files when doing compilation?
   19134 need_locks=$lt_need_locks
   19135 
   19136 # Do we need the lib prefix for modules?
   19137 need_lib_prefix=$need_lib_prefix
   19138 
   19139 # Do we need a version for libraries?
   19140 need_version=$need_version
   19141 
   19142 # Whether dlopen is supported.
   19143 dlopen_support=$enable_dlopen
   19144 
   19145 # Whether dlopen of programs is supported.
   19146 dlopen_self=$enable_dlopen_self
   19147 
   19148 # Whether dlopen of statically linked programs is supported.
   19149 dlopen_self_static=$enable_dlopen_self_static
   19150 
   19151 # Compiler flag to prevent dynamic linking.
   19152 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19153 
   19154 # Compiler flag to turn off builtin functions.
   19155 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19156 
   19157 # Compiler flag to allow reflexive dlopens.
   19158 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19159 
   19160 # Compiler flag to generate shared objects directly from archives.
   19161 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19162 
   19163 # Compiler flag to generate thread-safe objects.
   19164 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19165 
   19166 # Library versioning type.
   19167 version_type=$version_type
   19168 
   19169 # Format of library name prefix.
   19170 libname_spec=$lt_libname_spec
   19171 
   19172 # List of archive names.  First name is the real one, the rest are links.
   19173 # The last name is the one that the linker finds with -lNAME.
   19174 library_names_spec=$lt_library_names_spec
   19175 
   19176 # The coded name of the library, if different from the real name.
   19177 soname_spec=$lt_soname_spec
   19178 
   19179 # Commands used to build and install an old-style archive.
   19180 RANLIB=$lt_RANLIB
   19181 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19182 old_postinstall_cmds=$lt_old_postinstall_cmds
   19183 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19184 
   19185 # Create an old-style archive from a shared archive.
   19186 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19187 
   19188 # Create a temporary old-style archive to link instead of a shared archive.
   19189 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19190 
   19191 # Commands used to build and install a shared archive.
   19192 archive_cmds=$lt_archive_cmds_GCJ
   19193 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19194 postinstall_cmds=$lt_postinstall_cmds
   19195 postuninstall_cmds=$lt_postuninstall_cmds
   19196 
   19197 # Commands used to build a loadable module (assumed same as above if empty)
   19198 module_cmds=$lt_module_cmds_GCJ
   19199 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19200 
   19201 # Commands to strip libraries.
   19202 old_striplib=$lt_old_striplib
   19203 striplib=$lt_striplib
   19204 
   19205 # Dependencies to place before the objects being linked to create a
   19206 # shared library.
   19207 predep_objects=$lt_predep_objects_GCJ
   19208 
   19209 # Dependencies to place after the objects being linked to create a
   19210 # shared library.
   19211 postdep_objects=$lt_postdep_objects_GCJ
   19212 
   19213 # Dependencies to place before the objects being linked to create a
   19214 # shared library.
   19215 predeps=$lt_predeps_GCJ
   19216 
   19217 # Dependencies to place after the objects being linked to create a
   19218 # shared library.
   19219 postdeps=$lt_postdeps_GCJ
   19220 
   19221 # The library search path used internally by the compiler when linking
   19222 # a shared library.
   19223 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19224 
   19225 # Method to check whether dependent libraries are shared objects.
   19226 deplibs_check_method=$lt_deplibs_check_method
   19227 
   19228 # Command to use when deplibs_check_method == file_magic.
   19229 file_magic_cmd=$lt_file_magic_cmd
   19230 
   19231 # Flag that allows shared libraries with undefined symbols to be built.
   19232 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19233 
   19234 # Flag that forces no undefined symbols.
   19235 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19236 
   19237 # Commands used to finish a libtool library installation in a directory.
   19238 finish_cmds=$lt_finish_cmds
   19239 
   19240 # Same as above, but a single script fragment to be evaled but not shown.
   19241 finish_eval=$lt_finish_eval
   19242 
   19243 # Take the output of nm and produce a listing of raw symbols and C names.
   19244 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19245 
   19246 # Transform the output of nm in a proper C declaration
   19247 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19248 
   19249 # Transform the output of nm in a C name address pair
   19250 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19251 
   19252 # This is the shared library runtime path variable.
   19253 runpath_var=$runpath_var
   19254 
   19255 # This is the shared library path variable.
   19256 shlibpath_var=$shlibpath_var
   19257 
   19258 # Is shlibpath searched before the hard-coded library search path?
   19259 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19260 
   19261 # How to hardcode a shared library path into an executable.
   19262 hardcode_action=$hardcode_action_GCJ
   19263 
   19264 # Whether we should hardcode library paths into libraries.
   19265 hardcode_into_libs=$hardcode_into_libs
   19266 
   19267 # Flag to hardcode \$libdir into a binary during linking.
   19268 # This must work even if \$libdir does not exist.
   19269 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19270 
   19271 # If ld is used when linking, flag to hardcode \$libdir into
   19272 # a binary during linking. This must work even if \$libdir does
   19273 # not exist.
   19274 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19275 
   19276 # Whether we need a single -rpath flag with a separated argument.
   19277 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19278 
   19279 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19280 # resulting binary.
   19281 hardcode_direct=$hardcode_direct_GCJ
   19282 
   19283 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19284 # resulting binary.
   19285 hardcode_minus_L=$hardcode_minus_L_GCJ
   19286 
   19287 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19288 # the resulting binary.
   19289 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19290 
   19291 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19292 # and all subsequent libraries and executables linked against it.
   19293 hardcode_automatic=$hardcode_automatic_GCJ
   19294 
   19295 # Variables whose values should be saved in libtool wrapper scripts and
   19296 # restored at relink time.
   19297 variables_saved_for_relink="$variables_saved_for_relink"
   19298 
   19299 # Whether libtool must link a program against all its dependency libraries.
   19300 link_all_deplibs=$link_all_deplibs_GCJ
   19301 
   19302 # Compile-time system search path for libraries
   19303 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19304 
   19305 # Run-time system search path for libraries
   19306 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19307 
   19308 # Fix the shell variable \$srcfile for the compiler.
   19309 fix_srcfile_path=$lt_fix_srcfile_path
   19310 
   19311 # Set to yes if exported symbols are required.
   19312 always_export_symbols=$always_export_symbols_GCJ
   19313 
   19314 # The commands to list exported symbols.
   19315 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19316 
   19317 # The commands to extract the exported symbol list from a shared archive.
   19318 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19319 
   19320 # Symbols that should not be listed in the preloaded symbols.
   19321 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19322 
   19323 # Symbols that must always be exported.
   19324 include_expsyms=$lt_include_expsyms_GCJ
   19325 
   19326 # ### END LIBTOOL TAG CONFIG: $tagname
   19327 
   19328 __EOF__
   19329 
   19330 
   19331 else
   19332   # If there is no Makefile yet, we rely on a make rule to execute
   19333   # `config.status --recheck' to rerun these tests and create the
   19334   # libtool script then.
   19335   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19336   if test -f "$ltmain_in"; then
   19337     test -f Makefile && make "$ltmain"
   19338   fi
   19339 fi
   19340 
   19341 
   19342 ac_ext=c
   19343 ac_cpp='$CPP $CPPFLAGS'
   19344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19347 
   19348 CC="$lt_save_CC"
   19349 
   19350 	else
   19351 	  tagname=""
   19352 	fi
   19353 	;;
   19354 
   19355       RC)
   19356 
   19357 
   19358 # Source file extension for RC test sources.
   19359 ac_ext=rc
   19360 
   19361 # Object file extension for compiled RC test sources.
   19362 objext=o
   19363 objext_RC=$objext
   19364 
   19365 # Code to be used in simple compile tests
   19366 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19367 
   19368 # Code to be used in simple link tests
   19369 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19370 
   19371 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19372 
   19373 # If no C compiler was specified, use CC.
   19374 LTCC=${LTCC-"$CC"}
   19375 
   19376 # If no C compiler flags were specified, use CFLAGS.
   19377 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19378 
   19379 # Allow CC to be a program name with arguments.
   19380 compiler=$CC
   19381 
   19382 
   19383 # save warnings/boilerplate of simple test code
   19384 ac_outfile=conftest.$ac_objext
   19385 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19386 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19387 _lt_compiler_boilerplate=`cat conftest.err`
   19388 $rm conftest*
   19389 
   19390 ac_outfile=conftest.$ac_objext
   19391 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19392 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19393 _lt_linker_boilerplate=`cat conftest.err`
   19394 $rm conftest*
   19395 
   19396 
   19397 # Allow CC to be a program name with arguments.
   19398 lt_save_CC="$CC"
   19399 CC=${RC-"windres"}
   19400 compiler=$CC
   19401 compiler_RC=$CC
   19402 for cc_temp in $compiler""; do
   19403   case $cc_temp in
   19404     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19405     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19406     \-*) ;;
   19407     *) break;;
   19408   esac
   19409 done
   19410 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19411 
   19412 lt_cv_prog_compiler_c_o_RC=yes
   19413 
   19414 # The else clause should only fire when bootstrapping the
   19415 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19416 # with your package, and you will get complaints that there are
   19417 # no rules to generate ltmain.sh.
   19418 if test -f "$ltmain"; then
   19419   # See if we are running on zsh, and set the options which allow our commands through
   19420   # without removal of \ escapes.
   19421   if test -n "${ZSH_VERSION+set}" ; then
   19422     setopt NO_GLOB_SUBST
   19423   fi
   19424   # Now quote all the things that may contain metacharacters while being
   19425   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19426   # variables and quote the copies for generation of the libtool script.
   19427   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19428     SED SHELL STRIP \
   19429     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19430     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19431     deplibs_check_method reload_flag reload_cmds need_locks \
   19432     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19433     lt_cv_sys_global_symbol_to_c_name_address \
   19434     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19435     old_postinstall_cmds old_postuninstall_cmds \
   19436     compiler_RC \
   19437     CC_RC \
   19438     LD_RC \
   19439     lt_prog_compiler_wl_RC \
   19440     lt_prog_compiler_pic_RC \
   19441     lt_prog_compiler_static_RC \
   19442     lt_prog_compiler_no_builtin_flag_RC \
   19443     export_dynamic_flag_spec_RC \
   19444     thread_safe_flag_spec_RC \
   19445     whole_archive_flag_spec_RC \
   19446     enable_shared_with_static_runtimes_RC \
   19447     old_archive_cmds_RC \
   19448     old_archive_from_new_cmds_RC \
   19449     predep_objects_RC \
   19450     postdep_objects_RC \
   19451     predeps_RC \
   19452     postdeps_RC \
   19453     compiler_lib_search_path_RC \
   19454     archive_cmds_RC \
   19455     archive_expsym_cmds_RC \
   19456     postinstall_cmds_RC \
   19457     postuninstall_cmds_RC \
   19458     old_archive_from_expsyms_cmds_RC \
   19459     allow_undefined_flag_RC \
   19460     no_undefined_flag_RC \
   19461     export_symbols_cmds_RC \
   19462     hardcode_libdir_flag_spec_RC \
   19463     hardcode_libdir_flag_spec_ld_RC \
   19464     hardcode_libdir_separator_RC \
   19465     hardcode_automatic_RC \
   19466     module_cmds_RC \
   19467     module_expsym_cmds_RC \
   19468     lt_cv_prog_compiler_c_o_RC \
   19469     fix_srcfile_path_RC \
   19470     exclude_expsyms_RC \
   19471     include_expsyms_RC; do
   19472 
   19473     case $var in
   19474     old_archive_cmds_RC | \
   19475     old_archive_from_new_cmds_RC | \
   19476     archive_cmds_RC | \
   19477     archive_expsym_cmds_RC | \
   19478     module_cmds_RC | \
   19479     module_expsym_cmds_RC | \
   19480     old_archive_from_expsyms_cmds_RC | \
   19481     export_symbols_cmds_RC | \
   19482     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19483     postinstall_cmds | postuninstall_cmds | \
   19484     old_postinstall_cmds | old_postuninstall_cmds | \
   19485     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19486       # Double-quote double-evaled strings.
   19487       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19488       ;;
   19489     *)
   19490       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19491       ;;
   19492     esac
   19493   done
   19494 
   19495   case $lt_echo in
   19496   *'\$0 --fallback-echo"')
   19497     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19498     ;;
   19499   esac
   19500 
   19501 cfgfile="$ofile"
   19502 
   19503   cat <<__EOF__ >> "$cfgfile"
   19504 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19505 
   19506 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19507 
   19508 # Shell to use when invoking shell scripts.
   19509 SHELL=$lt_SHELL
   19510 
   19511 # Whether or not to build shared libraries.
   19512 build_libtool_libs=$enable_shared
   19513 
   19514 # Whether or not to build static libraries.
   19515 build_old_libs=$enable_static
   19516 
   19517 # Whether or not to add -lc for building shared libraries.
   19518 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19519 
   19520 # Whether or not to disallow shared libs when runtime libs are static
   19521 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19522 
   19523 # Whether or not to optimize for fast installation.
   19524 fast_install=$enable_fast_install
   19525 
   19526 # The host system.
   19527 host_alias=$host_alias
   19528 host=$host
   19529 host_os=$host_os
   19530 
   19531 # The build system.
   19532 build_alias=$build_alias
   19533 build=$build
   19534 build_os=$build_os
   19535 
   19536 # An echo program that does not interpret backslashes.
   19537 echo=$lt_echo
   19538 
   19539 # The archiver.
   19540 AR=$lt_AR
   19541 AR_FLAGS=$lt_AR_FLAGS
   19542 
   19543 # A C compiler.
   19544 LTCC=$lt_LTCC
   19545 
   19546 # LTCC compiler flags.
   19547 LTCFLAGS=$lt_LTCFLAGS
   19548 
   19549 # A language-specific compiler.
   19550 CC=$lt_compiler_RC
   19551 
   19552 # Is the compiler the GNU C compiler?
   19553 with_gcc=$GCC_RC
   19554 
   19555 # An ERE matcher.
   19556 EGREP=$lt_EGREP
   19557 
   19558 # The linker used to build libraries.
   19559 LD=$lt_LD_RC
   19560 
   19561 # Whether we need hard or soft links.
   19562 LN_S=$lt_LN_S
   19563 
   19564 # A BSD-compatible nm program.
   19565 NM=$lt_NM
   19566 
   19567 # A symbol stripping program
   19568 STRIP=$lt_STRIP
   19569 
   19570 # Used to examine libraries when file_magic_cmd begins "file"
   19571 MAGIC_CMD=$MAGIC_CMD
   19572 
   19573 # Used on cygwin: DLL creation program.
   19574 DLLTOOL="$DLLTOOL"
   19575 
   19576 # Used on cygwin: object dumper.
   19577 OBJDUMP="$OBJDUMP"
   19578 
   19579 # Used on cygwin: assembler.
   19580 AS="$AS"
   19581 
   19582 # The name of the directory that contains temporary libtool files.
   19583 objdir=$objdir
   19584 
   19585 # How to create reloadable object files.
   19586 reload_flag=$lt_reload_flag
   19587 reload_cmds=$lt_reload_cmds
   19588 
   19589 # How to pass a linker flag through the compiler.
   19590 wl=$lt_lt_prog_compiler_wl_RC
   19591 
   19592 # Object file suffix (normally "o").
   19593 objext="$ac_objext"
   19594 
   19595 # Old archive suffix (normally "a").
   19596 libext="$libext"
   19597 
   19598 # Shared library suffix (normally ".so").
   19599 shrext_cmds='$shrext_cmds'
   19600 
   19601 # Executable file suffix (normally "").
   19602 exeext="$exeext"
   19603 
   19604 # Additional compiler flags for building library objects.
   19605 pic_flag=$lt_lt_prog_compiler_pic_RC
   19606 pic_mode=$pic_mode
   19607 
   19608 # What is the maximum length of a command?
   19609 max_cmd_len=$lt_cv_sys_max_cmd_len
   19610 
   19611 # Does compiler simultaneously support -c and -o options?
   19612 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19613 
   19614 # Must we lock files when doing compilation?
   19615 need_locks=$lt_need_locks
   19616 
   19617 # Do we need the lib prefix for modules?
   19618 need_lib_prefix=$need_lib_prefix
   19619 
   19620 # Do we need a version for libraries?
   19621 need_version=$need_version
   19622 
   19623 # Whether dlopen is supported.
   19624 dlopen_support=$enable_dlopen
   19625 
   19626 # Whether dlopen of programs is supported.
   19627 dlopen_self=$enable_dlopen_self
   19628 
   19629 # Whether dlopen of statically linked programs is supported.
   19630 dlopen_self_static=$enable_dlopen_self_static
   19631 
   19632 # Compiler flag to prevent dynamic linking.
   19633 link_static_flag=$lt_lt_prog_compiler_static_RC
   19634 
   19635 # Compiler flag to turn off builtin functions.
   19636 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19637 
   19638 # Compiler flag to allow reflexive dlopens.
   19639 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19640 
   19641 # Compiler flag to generate shared objects directly from archives.
   19642 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19643 
   19644 # Compiler flag to generate thread-safe objects.
   19645 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19646 
   19647 # Library versioning type.
   19648 version_type=$version_type
   19649 
   19650 # Format of library name prefix.
   19651 libname_spec=$lt_libname_spec
   19652 
   19653 # List of archive names.  First name is the real one, the rest are links.
   19654 # The last name is the one that the linker finds with -lNAME.
   19655 library_names_spec=$lt_library_names_spec
   19656 
   19657 # The coded name of the library, if different from the real name.
   19658 soname_spec=$lt_soname_spec
   19659 
   19660 # Commands used to build and install an old-style archive.
   19661 RANLIB=$lt_RANLIB
   19662 old_archive_cmds=$lt_old_archive_cmds_RC
   19663 old_postinstall_cmds=$lt_old_postinstall_cmds
   19664 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19665 
   19666 # Create an old-style archive from a shared archive.
   19667 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19668 
   19669 # Create a temporary old-style archive to link instead of a shared archive.
   19670 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19671 
   19672 # Commands used to build and install a shared archive.
   19673 archive_cmds=$lt_archive_cmds_RC
   19674 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19675 postinstall_cmds=$lt_postinstall_cmds
   19676 postuninstall_cmds=$lt_postuninstall_cmds
   19677 
   19678 # Commands used to build a loadable module (assumed same as above if empty)
   19679 module_cmds=$lt_module_cmds_RC
   19680 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19681 
   19682 # Commands to strip libraries.
   19683 old_striplib=$lt_old_striplib
   19684 striplib=$lt_striplib
   19685 
   19686 # Dependencies to place before the objects being linked to create a
   19687 # shared library.
   19688 predep_objects=$lt_predep_objects_RC
   19689 
   19690 # Dependencies to place after the objects being linked to create a
   19691 # shared library.
   19692 postdep_objects=$lt_postdep_objects_RC
   19693 
   19694 # Dependencies to place before the objects being linked to create a
   19695 # shared library.
   19696 predeps=$lt_predeps_RC
   19697 
   19698 # Dependencies to place after the objects being linked to create a
   19699 # shared library.
   19700 postdeps=$lt_postdeps_RC
   19701 
   19702 # The library search path used internally by the compiler when linking
   19703 # a shared library.
   19704 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19705 
   19706 # Method to check whether dependent libraries are shared objects.
   19707 deplibs_check_method=$lt_deplibs_check_method
   19708 
   19709 # Command to use when deplibs_check_method == file_magic.
   19710 file_magic_cmd=$lt_file_magic_cmd
   19711 
   19712 # Flag that allows shared libraries with undefined symbols to be built.
   19713 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19714 
   19715 # Flag that forces no undefined symbols.
   19716 no_undefined_flag=$lt_no_undefined_flag_RC
   19717 
   19718 # Commands used to finish a libtool library installation in a directory.
   19719 finish_cmds=$lt_finish_cmds
   19720 
   19721 # Same as above, but a single script fragment to be evaled but not shown.
   19722 finish_eval=$lt_finish_eval
   19723 
   19724 # Take the output of nm and produce a listing of raw symbols and C names.
   19725 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19726 
   19727 # Transform the output of nm in a proper C declaration
   19728 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19729 
   19730 # Transform the output of nm in a C name address pair
   19731 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19732 
   19733 # This is the shared library runtime path variable.
   19734 runpath_var=$runpath_var
   19735 
   19736 # This is the shared library path variable.
   19737 shlibpath_var=$shlibpath_var
   19738 
   19739 # Is shlibpath searched before the hard-coded library search path?
   19740 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19741 
   19742 # How to hardcode a shared library path into an executable.
   19743 hardcode_action=$hardcode_action_RC
   19744 
   19745 # Whether we should hardcode library paths into libraries.
   19746 hardcode_into_libs=$hardcode_into_libs
   19747 
   19748 # Flag to hardcode \$libdir into a binary during linking.
   19749 # This must work even if \$libdir does not exist.
   19750 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19751 
   19752 # If ld is used when linking, flag to hardcode \$libdir into
   19753 # a binary during linking. This must work even if \$libdir does
   19754 # not exist.
   19755 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19756 
   19757 # Whether we need a single -rpath flag with a separated argument.
   19758 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19759 
   19760 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19761 # resulting binary.
   19762 hardcode_direct=$hardcode_direct_RC
   19763 
   19764 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19765 # resulting binary.
   19766 hardcode_minus_L=$hardcode_minus_L_RC
   19767 
   19768 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19769 # the resulting binary.
   19770 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19771 
   19772 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19773 # and all subsequent libraries and executables linked against it.
   19774 hardcode_automatic=$hardcode_automatic_RC
   19775 
   19776 # Variables whose values should be saved in libtool wrapper scripts and
   19777 # restored at relink time.
   19778 variables_saved_for_relink="$variables_saved_for_relink"
   19779 
   19780 # Whether libtool must link a program against all its dependency libraries.
   19781 link_all_deplibs=$link_all_deplibs_RC
   19782 
   19783 # Compile-time system search path for libraries
   19784 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19785 
   19786 # Run-time system search path for libraries
   19787 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19788 
   19789 # Fix the shell variable \$srcfile for the compiler.
   19790 fix_srcfile_path=$lt_fix_srcfile_path
   19791 
   19792 # Set to yes if exported symbols are required.
   19793 always_export_symbols=$always_export_symbols_RC
   19794 
   19795 # The commands to list exported symbols.
   19796 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19797 
   19798 # The commands to extract the exported symbol list from a shared archive.
   19799 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19800 
   19801 # Symbols that should not be listed in the preloaded symbols.
   19802 exclude_expsyms=$lt_exclude_expsyms_RC
   19803 
   19804 # Symbols that must always be exported.
   19805 include_expsyms=$lt_include_expsyms_RC
   19806 
   19807 # ### END LIBTOOL TAG CONFIG: $tagname
   19808 
   19809 __EOF__
   19810 
   19811 
   19812 else
   19813   # If there is no Makefile yet, we rely on a make rule to execute
   19814   # `config.status --recheck' to rerun these tests and create the
   19815   # libtool script then.
   19816   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19817   if test -f "$ltmain_in"; then
   19818     test -f Makefile && make "$ltmain"
   19819   fi
   19820 fi
   19821 
   19822 
   19823 ac_ext=c
   19824 ac_cpp='$CPP $CPPFLAGS'
   19825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19828 
   19829 CC="$lt_save_CC"
   19830 
   19831 	;;
   19832 
   19833       *)
   19834 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19835 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19836    { (exit 1); exit 1; }; }
   19837 	;;
   19838       esac
   19839 
   19840       # Append the new tag name to the list of available tags.
   19841       if test -n "$tagname" ; then
   19842       available_tags="$available_tags $tagname"
   19843     fi
   19844     fi
   19845   done
   19846   IFS="$lt_save_ifs"
   19847 
   19848   # Now substitute the updated list of available tags.
   19849   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19850     mv "${ofile}T" "$ofile"
   19851     chmod +x "$ofile"
   19852   else
   19853     rm -f "${ofile}T"
   19854     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19855 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19856    { (exit 1); exit 1; }; }
   19857   fi
   19858 fi
   19859 
   19860 
   19861 
   19862 # This can be used to rebuild libtool when needed
   19863 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19864 
   19865 # Always use our own libtool.
   19866 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19867 
   19868 # Prevent multiple expansion
   19869 
   19870 
   19871 
   19872 
   19873 
   19874 
   19875 
   19876 
   19877 
   19878 
   19879 
   19880 
   19881 
   19882 
   19883 
   19884 
   19885 
   19886 
   19887 
   19888 
   19889 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   19890 $as_echo_n "checking whether ln -s works... " >&6; }
   19891 LN_S=$as_ln_s
   19892 if test "$LN_S" = "ln -s"; then
   19893   { $as_echo "$as_me:$LINENO: result: yes" >&5
   19894 $as_echo "yes" >&6; }
   19895 else
   19896   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   19897 $as_echo "no, using $LN_S" >&6; }
   19898 fi
   19899 
   19900 
   19901 # Compiler characteristics
   19902 #
   19903 { $as_echo "$as_me:$LINENO: checking if using gcc" >&5
   19904 $as_echo_n "checking if using gcc... " >&6; }
   19905 if test "$GCC" = "yes"; then
   19906   WARNCFLAGS="-Werror -Wall -Wpointer-arith"
   19907        { $as_echo "$as_me:$LINENO: result: yes; adding to CFLAGS: \"$WARNCFLAGS\"" >&5
   19908 $as_echo "yes; adding to CFLAGS: \"$WARNCFLAGS\"" >&6; }
   19909 else
   19910   WARNCFLAGS=""
   19911        { $as_echo "$as_me:$LINENO: result: no" >&5
   19912 $as_echo "no" >&6; }
   19913 fi
   19914 
   19915 
   19916 
   19917 # try to see if we need to link with -ldl
   19918 { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
   19919 $as_echo_n "checking for library containing dlopen... " >&6; }
   19920 if test "${ac_cv_search_dlopen+set}" = set; then
   19921   $as_echo_n "(cached) " >&6
   19922 else
   19923   ac_func_search_save_LIBS=$LIBS
   19924 cat >conftest.$ac_ext <<_ACEOF
   19925 /* confdefs.h.  */
   19926 _ACEOF
   19927 cat confdefs.h >>conftest.$ac_ext
   19928 cat >>conftest.$ac_ext <<_ACEOF
   19929 /* end confdefs.h.  */
   19930 
   19931 /* Override any GCC internal prototype to avoid an error.
   19932    Use char because int might match the return type of a GCC
   19933    builtin and then its argument prototype would still apply.  */
   19934 #ifdef __cplusplus
   19935 extern "C"
   19936 #endif
   19937 char dlopen ();
   19938 int
   19939 main ()
   19940 {
   19941 return dlopen ();
   19942   ;
   19943   return 0;
   19944 }
   19945 _ACEOF
   19946 for ac_lib in '' dl; do
   19947   if test -z "$ac_lib"; then
   19948     ac_res="none required"
   19949   else
   19950     ac_res=-l$ac_lib
   19951     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19952   fi
   19953   rm -f conftest.$ac_objext conftest$ac_exeext
   19954 if { (ac_try="$ac_link"
   19955 case "(($ac_try" in
   19956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19957   *) ac_try_echo=$ac_try;;
   19958 esac
   19959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   19960 $as_echo "$ac_try_echo") >&5
   19961   (eval "$ac_link") 2>conftest.er1
   19962   ac_status=$?
   19963   grep -v '^ *+' conftest.er1 >conftest.err
   19964   rm -f conftest.er1
   19965   cat conftest.err >&5
   19966   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19967   (exit $ac_status); } && {
   19968 	 test -z "$ac_c_werror_flag" ||
   19969 	 test ! -s conftest.err
   19970        } && test -s conftest$ac_exeext && {
   19971 	 test "$cross_compiling" = yes ||
   19972 	 $as_test_x conftest$ac_exeext
   19973        }; then
   19974   ac_cv_search_dlopen=$ac_res
   19975 else
   19976   $as_echo "$as_me: failed program was:" >&5
   19977 sed 's/^/| /' conftest.$ac_ext >&5
   19978 
   19979 
   19980 fi
   19981 
   19982 rm -rf conftest.dSYM
   19983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19984       conftest$ac_exeext
   19985   if test "${ac_cv_search_dlopen+set}" = set; then
   19986   break
   19987 fi
   19988 done
   19989 if test "${ac_cv_search_dlopen+set}" = set; then
   19990   :
   19991 else
   19992   ac_cv_search_dlopen=no
   19993 fi
   19994 rm conftest.$ac_ext
   19995 LIBS=$ac_func_search_save_LIBS
   19996 fi
   19997 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
   19998 $as_echo "$ac_cv_search_dlopen" >&6; }
   19999 ac_res=$ac_cv_search_dlopen
   20000 if test "$ac_res" != no; then
   20001   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20002 
   20003 fi
   20004 
   20005 
   20006 # Checks for header files.
   20007 #
   20008 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20009 $as_echo_n "checking for ANSI C header files... " >&6; }
   20010 if test "${ac_cv_header_stdc+set}" = set; then
   20011   $as_echo_n "(cached) " >&6
   20012 else
   20013   cat >conftest.$ac_ext <<_ACEOF
   20014 /* confdefs.h.  */
   20015 _ACEOF
   20016 cat confdefs.h >>conftest.$ac_ext
   20017 cat >>conftest.$ac_ext <<_ACEOF
   20018 /* end confdefs.h.  */
   20019 #include <stdlib.h>
   20020 #include <stdarg.h>
   20021 #include <string.h>
   20022 #include <float.h>
   20023 
   20024 int
   20025 main ()
   20026 {
   20027 
   20028   ;
   20029   return 0;
   20030 }
   20031 _ACEOF
   20032 rm -f conftest.$ac_objext
   20033 if { (ac_try="$ac_compile"
   20034 case "(($ac_try" in
   20035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20036   *) ac_try_echo=$ac_try;;
   20037 esac
   20038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20039 $as_echo "$ac_try_echo") >&5
   20040   (eval "$ac_compile") 2>conftest.er1
   20041   ac_status=$?
   20042   grep -v '^ *+' conftest.er1 >conftest.err
   20043   rm -f conftest.er1
   20044   cat conftest.err >&5
   20045   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20046   (exit $ac_status); } && {
   20047 	 test -z "$ac_c_werror_flag" ||
   20048 	 test ! -s conftest.err
   20049        } && test -s conftest.$ac_objext; then
   20050   ac_cv_header_stdc=yes
   20051 else
   20052   $as_echo "$as_me: failed program was:" >&5
   20053 sed 's/^/| /' conftest.$ac_ext >&5
   20054 
   20055 	ac_cv_header_stdc=no
   20056 fi
   20057 
   20058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20059 
   20060 if test $ac_cv_header_stdc = yes; then
   20061   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20062   cat >conftest.$ac_ext <<_ACEOF
   20063 /* confdefs.h.  */
   20064 _ACEOF
   20065 cat confdefs.h >>conftest.$ac_ext
   20066 cat >>conftest.$ac_ext <<_ACEOF
   20067 /* end confdefs.h.  */
   20068 #include <string.h>
   20069 
   20070 _ACEOF
   20071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20072   $EGREP "memchr" >/dev/null 2>&1; then
   20073   :
   20074 else
   20075   ac_cv_header_stdc=no
   20076 fi
   20077 rm -f conftest*
   20078 
   20079 fi
   20080 
   20081 if test $ac_cv_header_stdc = yes; then
   20082   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20083   cat >conftest.$ac_ext <<_ACEOF
   20084 /* confdefs.h.  */
   20085 _ACEOF
   20086 cat confdefs.h >>conftest.$ac_ext
   20087 cat >>conftest.$ac_ext <<_ACEOF
   20088 /* end confdefs.h.  */
   20089 #include <stdlib.h>
   20090 
   20091 _ACEOF
   20092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20093   $EGREP "free" >/dev/null 2>&1; then
   20094   :
   20095 else
   20096   ac_cv_header_stdc=no
   20097 fi
   20098 rm -f conftest*
   20099 
   20100 fi
   20101 
   20102 if test $ac_cv_header_stdc = yes; then
   20103   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20104   if test "$cross_compiling" = yes; then
   20105   :
   20106 else
   20107   cat >conftest.$ac_ext <<_ACEOF
   20108 /* confdefs.h.  */
   20109 _ACEOF
   20110 cat confdefs.h >>conftest.$ac_ext
   20111 cat >>conftest.$ac_ext <<_ACEOF
   20112 /* end confdefs.h.  */
   20113 #include <ctype.h>
   20114 #include <stdlib.h>
   20115 #if ((' ' & 0x0FF) == 0x020)
   20116 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20117 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20118 #else
   20119 # define ISLOWER(c) \
   20120 		   (('a' <= (c) && (c) <= 'i') \
   20121 		     || ('j' <= (c) && (c) <= 'r') \
   20122 		     || ('s' <= (c) && (c) <= 'z'))
   20123 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20124 #endif
   20125 
   20126 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20127 int
   20128 main ()
   20129 {
   20130   int i;
   20131   for (i = 0; i < 256; i++)
   20132     if (XOR (islower (i), ISLOWER (i))
   20133 	|| toupper (i) != TOUPPER (i))
   20134       return 2;
   20135   return 0;
   20136 }
   20137 _ACEOF
   20138 rm -f conftest$ac_exeext
   20139 if { (ac_try="$ac_link"
   20140 case "(($ac_try" in
   20141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20142   *) ac_try_echo=$ac_try;;
   20143 esac
   20144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20145 $as_echo "$ac_try_echo") >&5
   20146   (eval "$ac_link") 2>&5
   20147   ac_status=$?
   20148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20149   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20150   { (case "(($ac_try" in
   20151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20152   *) ac_try_echo=$ac_try;;
   20153 esac
   20154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20155 $as_echo "$ac_try_echo") >&5
   20156   (eval "$ac_try") 2>&5
   20157   ac_status=$?
   20158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20159   (exit $ac_status); }; }; then
   20160   :
   20161 else
   20162   $as_echo "$as_me: program exited with status $ac_status" >&5
   20163 $as_echo "$as_me: failed program was:" >&5
   20164 sed 's/^/| /' conftest.$ac_ext >&5
   20165 
   20166 ( exit $ac_status )
   20167 ac_cv_header_stdc=no
   20168 fi
   20169 rm -rf conftest.dSYM
   20170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20171 fi
   20172 
   20173 
   20174 fi
   20175 fi
   20176 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20177 $as_echo "$ac_cv_header_stdc" >&6; }
   20178 if test $ac_cv_header_stdc = yes; then
   20179 
   20180 cat >>confdefs.h <<\_ACEOF
   20181 #define STDC_HEADERS 1
   20182 _ACEOF
   20183 
   20184 fi
   20185 
   20186 
   20187 for ac_header in CommonCrypto/CommonDigest.h
   20188 do
   20189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20191   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20192 $as_echo_n "checking for $ac_header... " >&6; }
   20193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20194   $as_echo_n "(cached) " >&6
   20195 fi
   20196 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20197 		 $as_echo "$as_val"'`
   20198 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20199 $as_echo "$ac_res" >&6; }
   20200 else
   20201   # Is the header compilable?
   20202 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20203 $as_echo_n "checking $ac_header usability... " >&6; }
   20204 cat >conftest.$ac_ext <<_ACEOF
   20205 /* confdefs.h.  */
   20206 _ACEOF
   20207 cat confdefs.h >>conftest.$ac_ext
   20208 cat >>conftest.$ac_ext <<_ACEOF
   20209 /* end confdefs.h.  */
   20210 $ac_includes_default
   20211 #include <$ac_header>
   20212 _ACEOF
   20213 rm -f conftest.$ac_objext
   20214 if { (ac_try="$ac_compile"
   20215 case "(($ac_try" in
   20216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20217   *) ac_try_echo=$ac_try;;
   20218 esac
   20219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20220 $as_echo "$ac_try_echo") >&5
   20221   (eval "$ac_compile") 2>conftest.er1
   20222   ac_status=$?
   20223   grep -v '^ *+' conftest.er1 >conftest.err
   20224   rm -f conftest.er1
   20225   cat conftest.err >&5
   20226   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20227   (exit $ac_status); } && {
   20228 	 test -z "$ac_c_werror_flag" ||
   20229 	 test ! -s conftest.err
   20230        } && test -s conftest.$ac_objext; then
   20231   ac_header_compiler=yes
   20232 else
   20233   $as_echo "$as_me: failed program was:" >&5
   20234 sed 's/^/| /' conftest.$ac_ext >&5
   20235 
   20236 	ac_header_compiler=no
   20237 fi
   20238 
   20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20240 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20241 $as_echo "$ac_header_compiler" >&6; }
   20242 
   20243 # Is the header present?
   20244 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20245 $as_echo_n "checking $ac_header presence... " >&6; }
   20246 cat >conftest.$ac_ext <<_ACEOF
   20247 /* confdefs.h.  */
   20248 _ACEOF
   20249 cat confdefs.h >>conftest.$ac_ext
   20250 cat >>conftest.$ac_ext <<_ACEOF
   20251 /* end confdefs.h.  */
   20252 #include <$ac_header>
   20253 _ACEOF
   20254 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20255 case "(($ac_try" in
   20256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20257   *) ac_try_echo=$ac_try;;
   20258 esac
   20259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20260 $as_echo "$ac_try_echo") >&5
   20261   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20262   ac_status=$?
   20263   grep -v '^ *+' conftest.er1 >conftest.err
   20264   rm -f conftest.er1
   20265   cat conftest.err >&5
   20266   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20267   (exit $ac_status); } >/dev/null && {
   20268 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20269 	 test ! -s conftest.err
   20270        }; then
   20271   ac_header_preproc=yes
   20272 else
   20273   $as_echo "$as_me: failed program was:" >&5
   20274 sed 's/^/| /' conftest.$ac_ext >&5
   20275 
   20276   ac_header_preproc=no
   20277 fi
   20278 
   20279 rm -f conftest.err conftest.$ac_ext
   20280 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20281 $as_echo "$ac_header_preproc" >&6; }
   20282 
   20283 # So?  What about this header?
   20284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20285   yes:no: )
   20286     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20287 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20288     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20289 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20290     ac_header_preproc=yes
   20291     ;;
   20292   no:yes:* )
   20293     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20294 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20295     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20296 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20297     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20298 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20299     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20300 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20301     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20302 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20303     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20304 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20305     ( cat <<\_ASBOX
   20306 ## -------------------------------------------------------- ##
   20307 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   20308 ## -------------------------------------------------------- ##
   20309 _ASBOX
   20310      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20311     ;;
   20312 esac
   20313 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20314 $as_echo_n "checking for $ac_header... " >&6; }
   20315 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20316   $as_echo_n "(cached) " >&6
   20317 else
   20318   eval "$as_ac_Header=\$ac_header_preproc"
   20319 fi
   20320 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20321 		 $as_echo "$as_val"'`
   20322 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20323 $as_echo "$ac_res" >&6; }
   20324 
   20325 fi
   20326 as_val=`eval 'as_val=${'$as_ac_Header'}
   20327 		 $as_echo "$as_val"'`
   20328    if test "x$as_val" = x""yes; then
   20329   cat >>confdefs.h <<_ACEOF
   20330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20331 _ACEOF
   20332 
   20333 fi
   20334 
   20335 done
   20336 
   20337 
   20338 
   20339 
   20340 
   20341 
   20342 
   20343 
   20344 
   20345 for ac_header in dmalloc.h direct.h errno.h fcntl.h \
   20346                  inttypes.h limits.h malloc.h zlib.h
   20347 do
   20348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20350   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20351 $as_echo_n "checking for $ac_header... " >&6; }
   20352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20353   $as_echo_n "(cached) " >&6
   20354 fi
   20355 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20356 		 $as_echo "$as_val"'`
   20357 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20358 $as_echo "$ac_res" >&6; }
   20359 else
   20360   # Is the header compilable?
   20361 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20362 $as_echo_n "checking $ac_header usability... " >&6; }
   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 $ac_includes_default
   20370 #include <$ac_header>
   20371 _ACEOF
   20372 rm -f conftest.$ac_objext
   20373 if { (ac_try="$ac_compile"
   20374 case "(($ac_try" in
   20375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20376   *) ac_try_echo=$ac_try;;
   20377 esac
   20378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20379 $as_echo "$ac_try_echo") >&5
   20380   (eval "$ac_compile") 2>conftest.er1
   20381   ac_status=$?
   20382   grep -v '^ *+' conftest.er1 >conftest.err
   20383   rm -f conftest.er1
   20384   cat conftest.err >&5
   20385   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20386   (exit $ac_status); } && {
   20387 	 test -z "$ac_c_werror_flag" ||
   20388 	 test ! -s conftest.err
   20389        } && test -s conftest.$ac_objext; then
   20390   ac_header_compiler=yes
   20391 else
   20392   $as_echo "$as_me: failed program was:" >&5
   20393 sed 's/^/| /' conftest.$ac_ext >&5
   20394 
   20395 	ac_header_compiler=no
   20396 fi
   20397 
   20398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20399 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20400 $as_echo "$ac_header_compiler" >&6; }
   20401 
   20402 # Is the header present?
   20403 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20404 $as_echo_n "checking $ac_header presence... " >&6; }
   20405 cat >conftest.$ac_ext <<_ACEOF
   20406 /* confdefs.h.  */
   20407 _ACEOF
   20408 cat confdefs.h >>conftest.$ac_ext
   20409 cat >>conftest.$ac_ext <<_ACEOF
   20410 /* end confdefs.h.  */
   20411 #include <$ac_header>
   20412 _ACEOF
   20413 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20414 case "(($ac_try" in
   20415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20416   *) ac_try_echo=$ac_try;;
   20417 esac
   20418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20419 $as_echo "$ac_try_echo") >&5
   20420   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20421   ac_status=$?
   20422   grep -v '^ *+' conftest.er1 >conftest.err
   20423   rm -f conftest.er1
   20424   cat conftest.err >&5
   20425   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20426   (exit $ac_status); } >/dev/null && {
   20427 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20428 	 test ! -s conftest.err
   20429        }; then
   20430   ac_header_preproc=yes
   20431 else
   20432   $as_echo "$as_me: failed program was:" >&5
   20433 sed 's/^/| /' conftest.$ac_ext >&5
   20434 
   20435   ac_header_preproc=no
   20436 fi
   20437 
   20438 rm -f conftest.err conftest.$ac_ext
   20439 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20440 $as_echo "$ac_header_preproc" >&6; }
   20441 
   20442 # So?  What about this header?
   20443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20444   yes:no: )
   20445     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20446 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20447     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20448 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20449     ac_header_preproc=yes
   20450     ;;
   20451   no:yes:* )
   20452     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20453 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20454     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20455 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20456     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20457 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20458     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20459 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20460     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20461 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20462     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20463 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20464     ( cat <<\_ASBOX
   20465 ## -------------------------------------------------------- ##
   20466 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   20467 ## -------------------------------------------------------- ##
   20468 _ASBOX
   20469      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20470     ;;
   20471 esac
   20472 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20473 $as_echo_n "checking for $ac_header... " >&6; }
   20474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20475   $as_echo_n "(cached) " >&6
   20476 else
   20477   eval "$as_ac_Header=\$ac_header_preproc"
   20478 fi
   20479 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20480 		 $as_echo "$as_val"'`
   20481 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20482 $as_echo "$ac_res" >&6; }
   20483 
   20484 fi
   20485 as_val=`eval 'as_val=${'$as_ac_Header'}
   20486 		 $as_echo "$as_val"'`
   20487    if test "x$as_val" = x""yes; then
   20488   cat >>confdefs.h <<_ACEOF
   20489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20490 _ACEOF
   20491 
   20492 fi
   20493 
   20494 done
   20495 
   20496 
   20497 
   20498 
   20499 
   20500 
   20501 
   20502 
   20503 
   20504 
   20505 
   20506 
   20507 
   20508 
   20509 
   20510 for ac_header in openssl/aes.h openssl/bn.h openssl/camellia.h openssl/cast.h \
   20511 		  openssl/des.h openssl/dsa.h openssl/err.h openssl/idea.h \
   20512 		  openssl/md5.h openssl/rand.h openssl/rsa.h openssl/sha.h \
   20513 		  openssl/err.h openssl/sha.h
   20514 do
   20515 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20517   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20518 $as_echo_n "checking for $ac_header... " >&6; }
   20519 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20520   $as_echo_n "(cached) " >&6
   20521 fi
   20522 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20523 		 $as_echo "$as_val"'`
   20524 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20525 $as_echo "$ac_res" >&6; }
   20526 else
   20527   # Is the header compilable?
   20528 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20529 $as_echo_n "checking $ac_header usability... " >&6; }
   20530 cat >conftest.$ac_ext <<_ACEOF
   20531 /* confdefs.h.  */
   20532 _ACEOF
   20533 cat confdefs.h >>conftest.$ac_ext
   20534 cat >>conftest.$ac_ext <<_ACEOF
   20535 /* end confdefs.h.  */
   20536 $ac_includes_default
   20537 #include <$ac_header>
   20538 _ACEOF
   20539 rm -f conftest.$ac_objext
   20540 if { (ac_try="$ac_compile"
   20541 case "(($ac_try" in
   20542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20543   *) ac_try_echo=$ac_try;;
   20544 esac
   20545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20546 $as_echo "$ac_try_echo") >&5
   20547   (eval "$ac_compile") 2>conftest.er1
   20548   ac_status=$?
   20549   grep -v '^ *+' conftest.er1 >conftest.err
   20550   rm -f conftest.er1
   20551   cat conftest.err >&5
   20552   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20553   (exit $ac_status); } && {
   20554 	 test -z "$ac_c_werror_flag" ||
   20555 	 test ! -s conftest.err
   20556        } && test -s conftest.$ac_objext; then
   20557   ac_header_compiler=yes
   20558 else
   20559   $as_echo "$as_me: failed program was:" >&5
   20560 sed 's/^/| /' conftest.$ac_ext >&5
   20561 
   20562 	ac_header_compiler=no
   20563 fi
   20564 
   20565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20566 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20567 $as_echo "$ac_header_compiler" >&6; }
   20568 
   20569 # Is the header present?
   20570 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20571 $as_echo_n "checking $ac_header presence... " >&6; }
   20572 cat >conftest.$ac_ext <<_ACEOF
   20573 /* confdefs.h.  */
   20574 _ACEOF
   20575 cat confdefs.h >>conftest.$ac_ext
   20576 cat >>conftest.$ac_ext <<_ACEOF
   20577 /* end confdefs.h.  */
   20578 #include <$ac_header>
   20579 _ACEOF
   20580 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20581 case "(($ac_try" in
   20582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20583   *) ac_try_echo=$ac_try;;
   20584 esac
   20585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20586 $as_echo "$ac_try_echo") >&5
   20587   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20588   ac_status=$?
   20589   grep -v '^ *+' conftest.er1 >conftest.err
   20590   rm -f conftest.er1
   20591   cat conftest.err >&5
   20592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20593   (exit $ac_status); } >/dev/null && {
   20594 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20595 	 test ! -s conftest.err
   20596        }; then
   20597   ac_header_preproc=yes
   20598 else
   20599   $as_echo "$as_me: failed program was:" >&5
   20600 sed 's/^/| /' conftest.$ac_ext >&5
   20601 
   20602   ac_header_preproc=no
   20603 fi
   20604 
   20605 rm -f conftest.err conftest.$ac_ext
   20606 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20607 $as_echo "$ac_header_preproc" >&6; }
   20608 
   20609 # So?  What about this header?
   20610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20611   yes:no: )
   20612     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20613 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20614     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20615 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20616     ac_header_preproc=yes
   20617     ;;
   20618   no:yes:* )
   20619     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20620 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20621     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20622 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20623     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20624 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20625     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20626 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20627     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20628 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20629     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20630 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20631     ( cat <<\_ASBOX
   20632 ## -------------------------------------------------------- ##
   20633 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   20634 ## -------------------------------------------------------- ##
   20635 _ASBOX
   20636      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20637     ;;
   20638 esac
   20639 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20640 $as_echo_n "checking for $ac_header... " >&6; }
   20641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20642   $as_echo_n "(cached) " >&6
   20643 else
   20644   eval "$as_ac_Header=\$ac_header_preproc"
   20645 fi
   20646 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20647 		 $as_echo "$as_val"'`
   20648 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20649 $as_echo "$ac_res" >&6; }
   20650 
   20651 fi
   20652 as_val=`eval 'as_val=${'$as_ac_Header'}
   20653 		 $as_echo "$as_val"'`
   20654    if test "x$as_val" = x""yes; then
   20655   cat >>confdefs.h <<_ACEOF
   20656 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20657 _ACEOF
   20658 
   20659 fi
   20660 
   20661 done
   20662 
   20663 
   20664 
   20665 
   20666 
   20667 
   20668 
   20669 for ac_header in sys/cdefs.h sys/file.h sys/mman.h sys/param.h \
   20670                   sys/resource.h sys/uio.h
   20671 do
   20672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20674   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20675 $as_echo_n "checking for $ac_header... " >&6; }
   20676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20677   $as_echo_n "(cached) " >&6
   20678 fi
   20679 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20680 		 $as_echo "$as_val"'`
   20681 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20682 $as_echo "$ac_res" >&6; }
   20683 else
   20684   # Is the header compilable?
   20685 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20686 $as_echo_n "checking $ac_header usability... " >&6; }
   20687 cat >conftest.$ac_ext <<_ACEOF
   20688 /* confdefs.h.  */
   20689 _ACEOF
   20690 cat confdefs.h >>conftest.$ac_ext
   20691 cat >>conftest.$ac_ext <<_ACEOF
   20692 /* end confdefs.h.  */
   20693 $ac_includes_default
   20694 #include <$ac_header>
   20695 _ACEOF
   20696 rm -f conftest.$ac_objext
   20697 if { (ac_try="$ac_compile"
   20698 case "(($ac_try" in
   20699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20700   *) ac_try_echo=$ac_try;;
   20701 esac
   20702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20703 $as_echo "$ac_try_echo") >&5
   20704   (eval "$ac_compile") 2>conftest.er1
   20705   ac_status=$?
   20706   grep -v '^ *+' conftest.er1 >conftest.err
   20707   rm -f conftest.er1
   20708   cat conftest.err >&5
   20709   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20710   (exit $ac_status); } && {
   20711 	 test -z "$ac_c_werror_flag" ||
   20712 	 test ! -s conftest.err
   20713        } && test -s conftest.$ac_objext; then
   20714   ac_header_compiler=yes
   20715 else
   20716   $as_echo "$as_me: failed program was:" >&5
   20717 sed 's/^/| /' conftest.$ac_ext >&5
   20718 
   20719 	ac_header_compiler=no
   20720 fi
   20721 
   20722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20723 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20724 $as_echo "$ac_header_compiler" >&6; }
   20725 
   20726 # Is the header present?
   20727 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20728 $as_echo_n "checking $ac_header presence... " >&6; }
   20729 cat >conftest.$ac_ext <<_ACEOF
   20730 /* confdefs.h.  */
   20731 _ACEOF
   20732 cat confdefs.h >>conftest.$ac_ext
   20733 cat >>conftest.$ac_ext <<_ACEOF
   20734 /* end confdefs.h.  */
   20735 #include <$ac_header>
   20736 _ACEOF
   20737 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20738 case "(($ac_try" in
   20739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20740   *) ac_try_echo=$ac_try;;
   20741 esac
   20742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20743 $as_echo "$ac_try_echo") >&5
   20744   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20745   ac_status=$?
   20746   grep -v '^ *+' conftest.er1 >conftest.err
   20747   rm -f conftest.er1
   20748   cat conftest.err >&5
   20749   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20750   (exit $ac_status); } >/dev/null && {
   20751 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20752 	 test ! -s conftest.err
   20753        }; then
   20754   ac_header_preproc=yes
   20755 else
   20756   $as_echo "$as_me: failed program was:" >&5
   20757 sed 's/^/| /' conftest.$ac_ext >&5
   20758 
   20759   ac_header_preproc=no
   20760 fi
   20761 
   20762 rm -f conftest.err conftest.$ac_ext
   20763 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20764 $as_echo "$ac_header_preproc" >&6; }
   20765 
   20766 # So?  What about this header?
   20767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20768   yes:no: )
   20769     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20770 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20771     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20772 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20773     ac_header_preproc=yes
   20774     ;;
   20775   no:yes:* )
   20776     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20777 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20778     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20779 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20780     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20781 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20782     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20783 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20784     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20785 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20786     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20787 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20788     ( cat <<\_ASBOX
   20789 ## -------------------------------------------------------- ##
   20790 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   20791 ## -------------------------------------------------------- ##
   20792 _ASBOX
   20793      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20794     ;;
   20795 esac
   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 else
   20801   eval "$as_ac_Header=\$ac_header_preproc"
   20802 fi
   20803 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20804 		 $as_echo "$as_val"'`
   20805 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20806 $as_echo "$ac_res" >&6; }
   20807 
   20808 fi
   20809 as_val=`eval 'as_val=${'$as_ac_Header'}
   20810 		 $as_echo "$as_val"'`
   20811    if test "x$as_val" = x""yes; then
   20812   cat >>confdefs.h <<_ACEOF
   20813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20814 _ACEOF
   20815 
   20816 fi
   20817 
   20818 done
   20819 
   20820 
   20821 
   20822 for ac_header in bzlib.h
   20823 do
   20824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20826   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20827 $as_echo_n "checking for $ac_header... " >&6; }
   20828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20829   $as_echo_n "(cached) " >&6
   20830 fi
   20831 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20832 		 $as_echo "$as_val"'`
   20833 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20834 $as_echo "$ac_res" >&6; }
   20835 else
   20836   # Is the header compilable?
   20837 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20838 $as_echo_n "checking $ac_header usability... " >&6; }
   20839 cat >conftest.$ac_ext <<_ACEOF
   20840 /* confdefs.h.  */
   20841 _ACEOF
   20842 cat confdefs.h >>conftest.$ac_ext
   20843 cat >>conftest.$ac_ext <<_ACEOF
   20844 /* end confdefs.h.  */
   20845 $ac_includes_default
   20846 #include <$ac_header>
   20847 _ACEOF
   20848 rm -f conftest.$ac_objext
   20849 if { (ac_try="$ac_compile"
   20850 case "(($ac_try" in
   20851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20852   *) ac_try_echo=$ac_try;;
   20853 esac
   20854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20855 $as_echo "$ac_try_echo") >&5
   20856   (eval "$ac_compile") 2>conftest.er1
   20857   ac_status=$?
   20858   grep -v '^ *+' conftest.er1 >conftest.err
   20859   rm -f conftest.er1
   20860   cat conftest.err >&5
   20861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20862   (exit $ac_status); } && {
   20863 	 test -z "$ac_c_werror_flag" ||
   20864 	 test ! -s conftest.err
   20865        } && test -s conftest.$ac_objext; then
   20866   ac_header_compiler=yes
   20867 else
   20868   $as_echo "$as_me: failed program was:" >&5
   20869 sed 's/^/| /' conftest.$ac_ext >&5
   20870 
   20871 	ac_header_compiler=no
   20872 fi
   20873 
   20874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20875 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20876 $as_echo "$ac_header_compiler" >&6; }
   20877 
   20878 # Is the header present?
   20879 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20880 $as_echo_n "checking $ac_header presence... " >&6; }
   20881 cat >conftest.$ac_ext <<_ACEOF
   20882 /* confdefs.h.  */
   20883 _ACEOF
   20884 cat confdefs.h >>conftest.$ac_ext
   20885 cat >>conftest.$ac_ext <<_ACEOF
   20886 /* end confdefs.h.  */
   20887 #include <$ac_header>
   20888 _ACEOF
   20889 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20890 case "(($ac_try" in
   20891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20892   *) ac_try_echo=$ac_try;;
   20893 esac
   20894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20895 $as_echo "$ac_try_echo") >&5
   20896   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20897   ac_status=$?
   20898   grep -v '^ *+' conftest.er1 >conftest.err
   20899   rm -f conftest.er1
   20900   cat conftest.err >&5
   20901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20902   (exit $ac_status); } >/dev/null && {
   20903 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20904 	 test ! -s conftest.err
   20905        }; then
   20906   ac_header_preproc=yes
   20907 else
   20908   $as_echo "$as_me: failed program was:" >&5
   20909 sed 's/^/| /' conftest.$ac_ext >&5
   20910 
   20911   ac_header_preproc=no
   20912 fi
   20913 
   20914 rm -f conftest.err conftest.$ac_ext
   20915 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20916 $as_echo "$ac_header_preproc" >&6; }
   20917 
   20918 # So?  What about this header?
   20919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20920   yes:no: )
   20921     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20922 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20923     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20924 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20925     ac_header_preproc=yes
   20926     ;;
   20927   no:yes:* )
   20928     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20929 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20930     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20931 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20932     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20933 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20934     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20935 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20936     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20937 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20938     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20939 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20940     ( cat <<\_ASBOX
   20941 ## -------------------------------------------------------- ##
   20942 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
   20943 ## -------------------------------------------------------- ##
   20944 _ASBOX
   20945      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20946     ;;
   20947 esac
   20948 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20949 $as_echo_n "checking for $ac_header... " >&6; }
   20950 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20951   $as_echo_n "(cached) " >&6
   20952 else
   20953   eval "$as_ac_Header=\$ac_header_preproc"
   20954 fi
   20955 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20956 		 $as_echo "$as_val"'`
   20957 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20958 $as_echo "$ac_res" >&6; }
   20959 
   20960 fi
   20961 as_val=`eval 'as_val=${'$as_ac_Header'}
   20962 		 $as_echo "$as_val"'`
   20963    if test "x$as_val" = x""yes; then
   20964   cat >>confdefs.h <<_ACEOF
   20965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20966 _ACEOF
   20967 
   20968 else
   20969   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20971 { { $as_echo "$as_me:$LINENO: error: missing <bzlib.h>; is bzip2 installed?
   20972 See \`config.log' for more details." >&5
   20973 $as_echo "$as_me: error: missing <bzlib.h>; is bzip2 installed?
   20974 See \`config.log' for more details." >&2;}
   20975    { (exit 1); exit 1; }; }; }
   20976 fi
   20977 
   20978 done
   20979 
   20980 
   20981 # Checks for typedefs, structures, and compiler characteristics.
   20982 #
   20983 
   20984   { $as_echo "$as_me:$LINENO: checking for long long int" >&5
   20985 $as_echo_n "checking for long long int... " >&6; }
   20986 if test "${ac_cv_type_long_long_int+set}" = set; then
   20987   $as_echo_n "(cached) " >&6
   20988 else
   20989   cat >conftest.$ac_ext <<_ACEOF
   20990 
   20991   /* confdefs.h.  */
   20992 _ACEOF
   20993 cat confdefs.h >>conftest.$ac_ext
   20994 cat >>conftest.$ac_ext <<_ACEOF
   20995 /* end confdefs.h.  */
   20996 /* For now, do not test the preprocessor; as of 2007 there are too many
   20997 	 implementations with broken preprocessors.  Perhaps this can
   20998 	 be revisited in 2012.  In the meantime, code should not expect
   20999 	 #if to work with literals wider than 32 bits.  */
   21000       /* Test literals.  */
   21001       long long int ll = 9223372036854775807ll;
   21002       long long int nll = -9223372036854775807LL;
   21003       unsigned long long int ull = 18446744073709551615ULL;
   21004       /* Test constant expressions.   */
   21005       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
   21006 		     ? 1 : -1)];
   21007       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
   21008 		     ? 1 : -1)];
   21009       int i = 63;
   21010 int
   21011 main ()
   21012 {
   21013 /* Test availability of runtime routines for shift and division.  */
   21014       long long int llmax = 9223372036854775807ll;
   21015       unsigned long long int ullmax = 18446744073709551615ull;
   21016       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
   21017 	      | (llmax / ll) | (llmax % ll)
   21018 	      | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
   21019 	      | (ullmax / ull) | (ullmax % ull));
   21020   ;
   21021   return 0;
   21022 }
   21023 
   21024 _ACEOF
   21025 rm -f conftest.$ac_objext conftest$ac_exeext
   21026 if { (ac_try="$ac_link"
   21027 case "(($ac_try" in
   21028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21029   *) ac_try_echo=$ac_try;;
   21030 esac
   21031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21032 $as_echo "$ac_try_echo") >&5
   21033   (eval "$ac_link") 2>conftest.er1
   21034   ac_status=$?
   21035   grep -v '^ *+' conftest.er1 >conftest.err
   21036   rm -f conftest.er1
   21037   cat conftest.err >&5
   21038   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21039   (exit $ac_status); } && {
   21040 	 test -z "$ac_c_werror_flag" ||
   21041 	 test ! -s conftest.err
   21042        } && test -s conftest$ac_exeext && {
   21043 	 test "$cross_compiling" = yes ||
   21044 	 $as_test_x conftest$ac_exeext
   21045        }; then
   21046   			if test "$cross_compiling" = yes; then
   21047   ac_cv_type_long_long_int=yes
   21048 else
   21049   cat >conftest.$ac_ext <<_ACEOF
   21050 /* confdefs.h.  */
   21051 _ACEOF
   21052 cat confdefs.h >>conftest.$ac_ext
   21053 cat >>conftest.$ac_ext <<_ACEOF
   21054 /* end confdefs.h.  */
   21055 #include <limits.h>
   21056 	       #ifndef LLONG_MAX
   21057 	       # define HALF \
   21058 			(1LL << (sizeof (long long int) * CHAR_BIT - 2))
   21059 	       # define LLONG_MAX (HALF - 1 + HALF)
   21060 	       #endif
   21061 int
   21062 main ()
   21063 {
   21064 long long int n = 1;
   21065 	       int i;
   21066 	       for (i = 0; ; i++)
   21067 		 {
   21068 		   long long int m = n << i;
   21069 		   if (m >> i != n)
   21070 		     return 1;
   21071 		   if (LLONG_MAX / 2 < m)
   21072 		     break;
   21073 		 }
   21074 	       return 0;
   21075   ;
   21076   return 0;
   21077 }
   21078 _ACEOF
   21079 rm -f conftest$ac_exeext
   21080 if { (ac_try="$ac_link"
   21081 case "(($ac_try" in
   21082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21083   *) ac_try_echo=$ac_try;;
   21084 esac
   21085 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21086 $as_echo "$ac_try_echo") >&5
   21087   (eval "$ac_link") 2>&5
   21088   ac_status=$?
   21089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21090   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21091   { (case "(($ac_try" in
   21092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21093   *) ac_try_echo=$ac_try;;
   21094 esac
   21095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21096 $as_echo "$ac_try_echo") >&5
   21097   (eval "$ac_try") 2>&5
   21098   ac_status=$?
   21099   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21100   (exit $ac_status); }; }; then
   21101   ac_cv_type_long_long_int=yes
   21102 else
   21103   $as_echo "$as_me: program exited with status $ac_status" >&5
   21104 $as_echo "$as_me: failed program was:" >&5
   21105 sed 's/^/| /' conftest.$ac_ext >&5
   21106 
   21107 ( exit $ac_status )
   21108 ac_cv_type_long_long_int=no
   21109 fi
   21110 rm -rf conftest.dSYM
   21111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21112 fi
   21113 
   21114 
   21115 else
   21116   $as_echo "$as_me: failed program was:" >&5
   21117 sed 's/^/| /' conftest.$ac_ext >&5
   21118 
   21119 	ac_cv_type_long_long_int=no
   21120 fi
   21121 
   21122 rm -rf conftest.dSYM
   21123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21124       conftest$ac_exeext conftest.$ac_ext
   21125 fi
   21126 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
   21127 $as_echo "$ac_cv_type_long_long_int" >&6; }
   21128   if test $ac_cv_type_long_long_int = yes; then
   21129 
   21130 cat >>confdefs.h <<\_ACEOF
   21131 #define HAVE_LONG_LONG_INT 1
   21132 _ACEOF
   21133 
   21134   fi
   21135 
   21136 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
   21137 $as_echo_n "checking for size_t... " >&6; }
   21138 if test "${ac_cv_type_size_t+set}" = set; then
   21139   $as_echo_n "(cached) " >&6
   21140 else
   21141   ac_cv_type_size_t=no
   21142 cat >conftest.$ac_ext <<_ACEOF
   21143 /* confdefs.h.  */
   21144 _ACEOF
   21145 cat confdefs.h >>conftest.$ac_ext
   21146 cat >>conftest.$ac_ext <<_ACEOF
   21147 /* end confdefs.h.  */
   21148 $ac_includes_default
   21149 int
   21150 main ()
   21151 {
   21152 if (sizeof (size_t))
   21153        return 0;
   21154   ;
   21155   return 0;
   21156 }
   21157 _ACEOF
   21158 rm -f conftest.$ac_objext
   21159 if { (ac_try="$ac_compile"
   21160 case "(($ac_try" in
   21161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21162   *) ac_try_echo=$ac_try;;
   21163 esac
   21164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21165 $as_echo "$ac_try_echo") >&5
   21166   (eval "$ac_compile") 2>conftest.er1
   21167   ac_status=$?
   21168   grep -v '^ *+' conftest.er1 >conftest.err
   21169   rm -f conftest.er1
   21170   cat conftest.err >&5
   21171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21172   (exit $ac_status); } && {
   21173 	 test -z "$ac_c_werror_flag" ||
   21174 	 test ! -s conftest.err
   21175        } && test -s conftest.$ac_objext; then
   21176   cat >conftest.$ac_ext <<_ACEOF
   21177 /* confdefs.h.  */
   21178 _ACEOF
   21179 cat confdefs.h >>conftest.$ac_ext
   21180 cat >>conftest.$ac_ext <<_ACEOF
   21181 /* end confdefs.h.  */
   21182 $ac_includes_default
   21183 int
   21184 main ()
   21185 {
   21186 if (sizeof ((size_t)))
   21187 	  return 0;
   21188   ;
   21189   return 0;
   21190 }
   21191 _ACEOF
   21192 rm -f conftest.$ac_objext
   21193 if { (ac_try="$ac_compile"
   21194 case "(($ac_try" in
   21195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21196   *) ac_try_echo=$ac_try;;
   21197 esac
   21198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21199 $as_echo "$ac_try_echo") >&5
   21200   (eval "$ac_compile") 2>conftest.er1
   21201   ac_status=$?
   21202   grep -v '^ *+' conftest.er1 >conftest.err
   21203   rm -f conftest.er1
   21204   cat conftest.err >&5
   21205   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21206   (exit $ac_status); } && {
   21207 	 test -z "$ac_c_werror_flag" ||
   21208 	 test ! -s conftest.err
   21209        } && test -s conftest.$ac_objext; then
   21210   :
   21211 else
   21212   $as_echo "$as_me: failed program was:" >&5
   21213 sed 's/^/| /' conftest.$ac_ext >&5
   21214 
   21215 	ac_cv_type_size_t=yes
   21216 fi
   21217 
   21218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21219 else
   21220   $as_echo "$as_me: failed program was:" >&5
   21221 sed 's/^/| /' conftest.$ac_ext >&5
   21222 
   21223 
   21224 fi
   21225 
   21226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21227 fi
   21228 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   21229 $as_echo "$ac_cv_type_size_t" >&6; }
   21230 if test "x$ac_cv_type_size_t" = x""yes; then
   21231   :
   21232 else
   21233 
   21234 cat >>confdefs.h <<_ACEOF
   21235 #define size_t unsigned int
   21236 _ACEOF
   21237 
   21238 fi
   21239 
   21240 
   21241   { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
   21242 $as_echo_n "checking for uint16_t... " >&6; }
   21243 if test "${ac_cv_c_uint16_t+set}" = set; then
   21244   $as_echo_n "(cached) " >&6
   21245 else
   21246   ac_cv_c_uint16_t=no
   21247      for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
   21248 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   21249        cat >conftest.$ac_ext <<_ACEOF
   21250 /* confdefs.h.  */
   21251 _ACEOF
   21252 cat confdefs.h >>conftest.$ac_ext
   21253 cat >>conftest.$ac_ext <<_ACEOF
   21254 /* end confdefs.h.  */
   21255 $ac_includes_default
   21256 int
   21257 main ()
   21258 {
   21259 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
   21260 test_array [0] = 0
   21261 
   21262   ;
   21263   return 0;
   21264 }
   21265 _ACEOF
   21266 rm -f conftest.$ac_objext
   21267 if { (ac_try="$ac_compile"
   21268 case "(($ac_try" in
   21269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21270   *) ac_try_echo=$ac_try;;
   21271 esac
   21272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21273 $as_echo "$ac_try_echo") >&5
   21274   (eval "$ac_compile") 2>conftest.er1
   21275   ac_status=$?
   21276   grep -v '^ *+' conftest.er1 >conftest.err
   21277   rm -f conftest.er1
   21278   cat conftest.err >&5
   21279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21280   (exit $ac_status); } && {
   21281 	 test -z "$ac_c_werror_flag" ||
   21282 	 test ! -s conftest.err
   21283        } && test -s conftest.$ac_objext; then
   21284   case $ac_type in
   21285   uint16_t) ac_cv_c_uint16_t=yes ;;
   21286   *) ac_cv_c_uint16_t=$ac_type ;;
   21287 esac
   21288 
   21289 else
   21290   $as_echo "$as_me: failed program was:" >&5
   21291 sed 's/^/| /' conftest.$ac_ext >&5
   21292 
   21293 
   21294 fi
   21295 
   21296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21297        test "$ac_cv_c_uint16_t" != no && break
   21298      done
   21299 fi
   21300 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
   21301 $as_echo "$ac_cv_c_uint16_t" >&6; }
   21302   case $ac_cv_c_uint16_t in #(
   21303   no|yes) ;; #(
   21304   *)
   21305 
   21306 
   21307 cat >>confdefs.h <<_ACEOF
   21308 #define uint16_t $ac_cv_c_uint16_t
   21309 _ACEOF
   21310 ;;
   21311   esac
   21312 
   21313 
   21314   { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
   21315 $as_echo_n "checking for uint32_t... " >&6; }
   21316 if test "${ac_cv_c_uint32_t+set}" = set; then
   21317   $as_echo_n "(cached) " >&6
   21318 else
   21319   ac_cv_c_uint32_t=no
   21320      for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
   21321 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   21322        cat >conftest.$ac_ext <<_ACEOF
   21323 /* confdefs.h.  */
   21324 _ACEOF
   21325 cat confdefs.h >>conftest.$ac_ext
   21326 cat >>conftest.$ac_ext <<_ACEOF
   21327 /* end confdefs.h.  */
   21328 $ac_includes_default
   21329 int
   21330 main ()
   21331 {
   21332 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
   21333 test_array [0] = 0
   21334 
   21335   ;
   21336   return 0;
   21337 }
   21338 _ACEOF
   21339 rm -f conftest.$ac_objext
   21340 if { (ac_try="$ac_compile"
   21341 case "(($ac_try" in
   21342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21343   *) ac_try_echo=$ac_try;;
   21344 esac
   21345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21346 $as_echo "$ac_try_echo") >&5
   21347   (eval "$ac_compile") 2>conftest.er1
   21348   ac_status=$?
   21349   grep -v '^ *+' conftest.er1 >conftest.err
   21350   rm -f conftest.er1
   21351   cat conftest.err >&5
   21352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21353   (exit $ac_status); } && {
   21354 	 test -z "$ac_c_werror_flag" ||
   21355 	 test ! -s conftest.err
   21356        } && test -s conftest.$ac_objext; then
   21357   case $ac_type in
   21358   uint32_t) ac_cv_c_uint32_t=yes ;;
   21359   *) ac_cv_c_uint32_t=$ac_type ;;
   21360 esac
   21361 
   21362 else
   21363   $as_echo "$as_me: failed program was:" >&5
   21364 sed 's/^/| /' conftest.$ac_ext >&5
   21365 
   21366 
   21367 fi
   21368 
   21369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21370        test "$ac_cv_c_uint32_t" != no && break
   21371      done
   21372 fi
   21373 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
   21374 $as_echo "$ac_cv_c_uint32_t" >&6; }
   21375   case $ac_cv_c_uint32_t in #(
   21376   no|yes) ;; #(
   21377   *)
   21378 
   21379 cat >>confdefs.h <<\_ACEOF
   21380 #define _UINT32_T 1
   21381 _ACEOF
   21382 
   21383 
   21384 cat >>confdefs.h <<_ACEOF
   21385 #define uint32_t $ac_cv_c_uint32_t
   21386 _ACEOF
   21387 ;;
   21388   esac
   21389 
   21390 
   21391   { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
   21392 $as_echo_n "checking for uint64_t... " >&6; }
   21393 if test "${ac_cv_c_uint64_t+set}" = set; then
   21394   $as_echo_n "(cached) " >&6
   21395 else
   21396   ac_cv_c_uint64_t=no
   21397      for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
   21398 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   21399        cat >conftest.$ac_ext <<_ACEOF
   21400 /* confdefs.h.  */
   21401 _ACEOF
   21402 cat confdefs.h >>conftest.$ac_ext
   21403 cat >>conftest.$ac_ext <<_ACEOF
   21404 /* end confdefs.h.  */
   21405 $ac_includes_default
   21406 int
   21407 main ()
   21408 {
   21409 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
   21410 test_array [0] = 0
   21411 
   21412   ;
   21413   return 0;
   21414 }
   21415 _ACEOF
   21416 rm -f conftest.$ac_objext
   21417 if { (ac_try="$ac_compile"
   21418 case "(($ac_try" in
   21419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21420   *) ac_try_echo=$ac_try;;
   21421 esac
   21422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21423 $as_echo "$ac_try_echo") >&5
   21424   (eval "$ac_compile") 2>conftest.er1
   21425   ac_status=$?
   21426   grep -v '^ *+' conftest.er1 >conftest.err
   21427   rm -f conftest.er1
   21428   cat conftest.err >&5
   21429   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21430   (exit $ac_status); } && {
   21431 	 test -z "$ac_c_werror_flag" ||
   21432 	 test ! -s conftest.err
   21433        } && test -s conftest.$ac_objext; then
   21434   case $ac_type in
   21435   uint64_t) ac_cv_c_uint64_t=yes ;;
   21436   *) ac_cv_c_uint64_t=$ac_type ;;
   21437 esac
   21438 
   21439 else
   21440   $as_echo "$as_me: failed program was:" >&5
   21441 sed 's/^/| /' conftest.$ac_ext >&5
   21442 
   21443 
   21444 fi
   21445 
   21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21447        test "$ac_cv_c_uint64_t" != no && break
   21448      done
   21449 fi
   21450 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
   21451 $as_echo "$ac_cv_c_uint64_t" >&6; }
   21452   case $ac_cv_c_uint64_t in #(
   21453   no|yes) ;; #(
   21454   *)
   21455 
   21456 cat >>confdefs.h <<\_ACEOF
   21457 #define _UINT64_T 1
   21458 _ACEOF
   21459 
   21460 
   21461 cat >>confdefs.h <<_ACEOF
   21462 #define uint64_t $ac_cv_c_uint64_t
   21463 _ACEOF
   21464 ;;
   21465   esac
   21466 
   21467 
   21468   { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
   21469 $as_echo_n "checking for uint8_t... " >&6; }
   21470 if test "${ac_cv_c_uint8_t+set}" = set; then
   21471   $as_echo_n "(cached) " >&6
   21472 else
   21473   ac_cv_c_uint8_t=no
   21474      for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
   21475 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   21476        cat >conftest.$ac_ext <<_ACEOF
   21477 /* confdefs.h.  */
   21478 _ACEOF
   21479 cat confdefs.h >>conftest.$ac_ext
   21480 cat >>conftest.$ac_ext <<_ACEOF
   21481 /* end confdefs.h.  */
   21482 $ac_includes_default
   21483 int
   21484 main ()
   21485 {
   21486 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
   21487 test_array [0] = 0
   21488 
   21489   ;
   21490   return 0;
   21491 }
   21492 _ACEOF
   21493 rm -f conftest.$ac_objext
   21494 if { (ac_try="$ac_compile"
   21495 case "(($ac_try" in
   21496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21497   *) ac_try_echo=$ac_try;;
   21498 esac
   21499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21500 $as_echo "$ac_try_echo") >&5
   21501   (eval "$ac_compile") 2>conftest.er1
   21502   ac_status=$?
   21503   grep -v '^ *+' conftest.er1 >conftest.err
   21504   rm -f conftest.er1
   21505   cat conftest.err >&5
   21506   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21507   (exit $ac_status); } && {
   21508 	 test -z "$ac_c_werror_flag" ||
   21509 	 test ! -s conftest.err
   21510        } && test -s conftest.$ac_objext; then
   21511   case $ac_type in
   21512   uint8_t) ac_cv_c_uint8_t=yes ;;
   21513   *) ac_cv_c_uint8_t=$ac_type ;;
   21514 esac
   21515 
   21516 else
   21517   $as_echo "$as_me: failed program was:" >&5
   21518 sed 's/^/| /' conftest.$ac_ext >&5
   21519 
   21520 
   21521 fi
   21522 
   21523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21524        test "$ac_cv_c_uint8_t" != no && break
   21525      done
   21526 fi
   21527 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
   21528 $as_echo "$ac_cv_c_uint8_t" >&6; }
   21529   case $ac_cv_c_uint8_t in #(
   21530   no|yes) ;; #(
   21531   *)
   21532 
   21533 cat >>confdefs.h <<\_ACEOF
   21534 #define _UINT8_T 1
   21535 _ACEOF
   21536 
   21537 
   21538 cat >>confdefs.h <<_ACEOF
   21539 #define uint8_t $ac_cv_c_uint8_t
   21540 _ACEOF
   21541 ;;
   21542   esac
   21543 
   21544 
   21545 # check for openssl
   21546 # ===========================================================================
   21547 #     http://www.gnu.org/software/autoconf-archive/ax_check_openssl.html
   21548 # ===========================================================================
   21549 #
   21550 # SYNOPSIS
   21551 #
   21552 #   AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]])
   21553 #
   21554 # DESCRIPTION
   21555 #
   21556 #   Look for OpenSSL in a number of default spots, or in a user-selected
   21557 #   spot (via --with-openssl).  Sets
   21558 #
   21559 #     OPENSSL_INCLUDES to the include directives required
   21560 #     OPENSSL_LIBS to the -l directives required
   21561 #     OPENSSL_LDFLAGS to the -L or -R flags required
   21562 #
   21563 #   and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately
   21564 #
   21565 #   This macro sets OPENSSL_INCLUDES such that source files should use the
   21566 #   openssl/ directory in include directives:
   21567 #
   21568 #     #include <openssl/hmac.h>
   21569 #
   21570 # LICENSE
   21571 #
   21572 #   Copyright (c) 2009 Zmanda Inc. <http://www.zmanda.com/>
   21573 #   Copyright (c) 2009 Dustin J. Mitchell <dustin (at] zmanda.com>
   21574 #
   21575 #   Copying and distribution of this file, with or without modification, are
   21576 #   permitted in any medium without royalty provided the copyright notice
   21577 #   and this notice are preserved. This file is offered as-is, without any
   21578 #   warranty.
   21579 
   21580 #serial 5
   21581 
   21582 # This is what autoupdate's m4 run will expand.  It fires
   21583 # the warning (with _au_warn_XXX), outputs it into the
   21584 # updated configure.ac (with AC_DIAGNOSE), and then outputs
   21585 # the replacement expansion.
   21586 
   21587 
   21588 # This is an auxiliary macro that is also run when
   21589 # autoupdate runs m4.  It simply calls m4_warning, but
   21590 # we need a wrapper so that each warning is emitted only
   21591 # once.  We break the quoting in m4_warning's argument in
   21592 # order to expand this macro's arguments, not AU_DEFUN's.
   21593 
   21594 
   21595 # Finally, this is the expansion that is picked up by
   21596 # autoconf.  It tells the user to run autoupdate, and
   21597 # then outputs the replacement expansion.  We do not care
   21598 # about autoupdate's warning because that contains
   21599 # information on what to do *after* running autoupdate.
   21600 
   21601 
   21602 
   21603 
   21604 
   21605     found=false
   21606 
   21607 # Check whether --with-openssl was given.
   21608 if test "${with_openssl+set}" = set; then
   21609   withval=$with_openssl;
   21610             case "$withval" in
   21611             "" | y | ye | yes | n | no)
   21612             { { $as_echo "$as_me:$LINENO: error: Invalid --with-openssl value" >&5
   21613 $as_echo "$as_me: error: Invalid --with-openssl value" >&2;}
   21614    { (exit 1); exit 1; }; }
   21615               ;;
   21616             *) ssldirs="$withval"
   21617               ;;
   21618             esac
   21619 
   21620 else
   21621 
   21622             # if pkg-config is installed and openssl has installed a .pc file,
   21623             # then use that information and don't search ssldirs
   21624             # Extract the first word of "pkg-config", so it can be a program name with args.
   21625 set dummy pkg-config; ac_word=$2
   21626 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21627 $as_echo_n "checking for $ac_word... " >&6; }
   21628 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21629   $as_echo_n "(cached) " >&6
   21630 else
   21631   case $PKG_CONFIG in
   21632   [\\/]* | ?:[\\/]*)
   21633   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21634   ;;
   21635   *)
   21636   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21637 for as_dir in $PATH
   21638 do
   21639   IFS=$as_save_IFS
   21640   test -z "$as_dir" && as_dir=.
   21641   for ac_exec_ext in '' $ac_executable_extensions; do
   21642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21643     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21644     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21645     break 2
   21646   fi
   21647 done
   21648 done
   21649 IFS=$as_save_IFS
   21650 
   21651   ;;
   21652 esac
   21653 fi
   21654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21655 if test -n "$PKG_CONFIG"; then
   21656   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21657 $as_echo "$PKG_CONFIG" >&6; }
   21658 else
   21659   { $as_echo "$as_me:$LINENO: result: no" >&5
   21660 $as_echo "no" >&6; }
   21661 fi
   21662 
   21663 
   21664             if test x"$PKG_CONFIG" != x""; then
   21665                 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
   21666                 if test $? = 0; then
   21667                     OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
   21668                     OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
   21669                     found=true
   21670                 fi
   21671             fi
   21672 
   21673             # no such luck; use some default ssldirs
   21674             if ! $found; then
   21675                 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
   21676             fi
   21677 
   21678 
   21679 fi
   21680 
   21681 
   21682 
   21683     # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
   21684     # an 'openssl' subdirectory
   21685 
   21686     if ! $found; then
   21687         OPENSSL_INCLUDES=
   21688         for ssldir in $ssldirs; do
   21689             { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h in $ssldir" >&5
   21690 $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
   21691             if test -f "$ssldir/include/openssl/ssl.h"; then
   21692                 OPENSSL_INCLUDES="-I$ssldir/include"
   21693                 OPENSSL_LDFLAGS="-L$ssldir/lib"
   21694                 OPENSSL_LIBS="-lssl -lcrypto"
   21695                 found=true
   21696                 { $as_echo "$as_me:$LINENO: result: yes" >&5
   21697 $as_echo "yes" >&6; }
   21698                 break
   21699             else
   21700                 { $as_echo "$as_me:$LINENO: result: no" >&5
   21701 $as_echo "no" >&6; }
   21702             fi
   21703         done
   21704 
   21705         # if the file wasn't found, well, go ahead and try the link anyway -- maybe
   21706         # it will just work!
   21707     fi
   21708 
   21709     # try the preprocessor and linker with our new flags,
   21710     # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
   21711 
   21712     { $as_echo "$as_me:$LINENO: checking whether compiling and linking against OpenSSL works" >&5
   21713 $as_echo_n "checking whether compiling and linking against OpenSSL works... " >&6; }
   21714     echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
   21715         "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&5
   21716 
   21717     save_LIBS="$LIBS"
   21718     save_LDFLAGS="$LDFLAGS"
   21719     save_CPPFLAGS="$CPPFLAGS"
   21720     LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
   21721     LIBS="$OPENSSL_LIBS $LIBS"
   21722     CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS"
   21723     cat >conftest.$ac_ext <<_ACEOF
   21724 /* confdefs.h.  */
   21725 _ACEOF
   21726 cat confdefs.h >>conftest.$ac_ext
   21727 cat >>conftest.$ac_ext <<_ACEOF
   21728 /* end confdefs.h.  */
   21729 #include <openssl/ssl.h>
   21730 int
   21731 main ()
   21732 {
   21733 SSL_new(NULL)
   21734   ;
   21735   return 0;
   21736 }
   21737 _ACEOF
   21738 rm -f conftest.$ac_objext conftest$ac_exeext
   21739 if { (ac_try="$ac_link"
   21740 case "(($ac_try" in
   21741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21742   *) ac_try_echo=$ac_try;;
   21743 esac
   21744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21745 $as_echo "$ac_try_echo") >&5
   21746   (eval "$ac_link") 2>conftest.er1
   21747   ac_status=$?
   21748   grep -v '^ *+' conftest.er1 >conftest.err
   21749   rm -f conftest.er1
   21750   cat conftest.err >&5
   21751   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21752   (exit $ac_status); } && {
   21753 	 test -z "$ac_c_werror_flag" ||
   21754 	 test ! -s conftest.err
   21755        } && test -s conftest$ac_exeext && {
   21756 	 test "$cross_compiling" = yes ||
   21757 	 $as_test_x conftest$ac_exeext
   21758        }; then
   21759 
   21760             { $as_echo "$as_me:$LINENO: result: yes" >&5
   21761 $as_echo "yes" >&6; }
   21762             LIBS="$LIBS $OPENSSL_LIBS" INCLUDES="$INCLUDES $OPENSSL_INCLUDES"
   21763 
   21764 else
   21765   $as_echo "$as_me: failed program was:" >&5
   21766 sed 's/^/| /' conftest.$ac_ext >&5
   21767 
   21768 
   21769             { $as_echo "$as_me:$LINENO: result: no" >&5
   21770 $as_echo "no" >&6; }
   21771             { { $as_echo "$as_me:$LINENO: error: Missing OpenSSL" >&5
   21772 $as_echo "$as_me: error: Missing OpenSSL" >&2;}
   21773    { (exit 1); exit 1; }; }
   21774 
   21775 fi
   21776 
   21777 rm -rf conftest.dSYM
   21778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21779       conftest$ac_exeext conftest.$ac_ext
   21780     CPPFLAGS="$save_CPPFLAGS"
   21781     LDFLAGS="$save_LDFLAGS"
   21782     LIBS="$save_LIBS"
   21783 
   21784 
   21785 
   21786 
   21787 
   21788 
   21789 { $as_echo "$as_me:$LINENO: checking for SHA256_CTX" >&5
   21790 $as_echo_n "checking for SHA256_CTX... " >&6; }
   21791 if test "${ac_cv_type_SHA256_CTX+set}" = set; then
   21792   $as_echo_n "(cached) " >&6
   21793 else
   21794   ac_cv_type_SHA256_CTX=no
   21795 cat >conftest.$ac_ext <<_ACEOF
   21796 /* confdefs.h.  */
   21797 _ACEOF
   21798 cat confdefs.h >>conftest.$ac_ext
   21799 cat >>conftest.$ac_ext <<_ACEOF
   21800 /* end confdefs.h.  */
   21801 
   21802 #if defined(HAVE_SYS_TYPES_H)
   21803 #include <sys/types.h>
   21804 #endif
   21805 #if defined(HAVE_OPENSSL_SHA_H)
   21806 #include <openssl/sha.h>
   21807 #endif
   21808 #if defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
   21809 #define COMMON_DIGEST_FOR_OPENSSL 1
   21810 #include <CommonCrypto/CommonDigest.h>
   21811 #endif
   21812 
   21813 
   21814 int
   21815 main ()
   21816 {
   21817 if (sizeof (SHA256_CTX))
   21818        return 0;
   21819   ;
   21820   return 0;
   21821 }
   21822 _ACEOF
   21823 rm -f conftest.$ac_objext
   21824 if { (ac_try="$ac_compile"
   21825 case "(($ac_try" in
   21826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21827   *) ac_try_echo=$ac_try;;
   21828 esac
   21829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21830 $as_echo "$ac_try_echo") >&5
   21831   (eval "$ac_compile") 2>conftest.er1
   21832   ac_status=$?
   21833   grep -v '^ *+' conftest.er1 >conftest.err
   21834   rm -f conftest.er1
   21835   cat conftest.err >&5
   21836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21837   (exit $ac_status); } && {
   21838 	 test -z "$ac_c_werror_flag" ||
   21839 	 test ! -s conftest.err
   21840        } && test -s conftest.$ac_objext; then
   21841   cat >conftest.$ac_ext <<_ACEOF
   21842 /* confdefs.h.  */
   21843 _ACEOF
   21844 cat confdefs.h >>conftest.$ac_ext
   21845 cat >>conftest.$ac_ext <<_ACEOF
   21846 /* end confdefs.h.  */
   21847 
   21848 #if defined(HAVE_SYS_TYPES_H)
   21849 #include <sys/types.h>
   21850 #endif
   21851 #if defined(HAVE_OPENSSL_SHA_H)
   21852 #include <openssl/sha.h>
   21853 #endif
   21854 #if defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
   21855 #define COMMON_DIGEST_FOR_OPENSSL 1
   21856 #include <CommonCrypto/CommonDigest.h>
   21857 #endif
   21858 
   21859 
   21860 int
   21861 main ()
   21862 {
   21863 if (sizeof ((SHA256_CTX)))
   21864 	  return 0;
   21865   ;
   21866   return 0;
   21867 }
   21868 _ACEOF
   21869 rm -f conftest.$ac_objext
   21870 if { (ac_try="$ac_compile"
   21871 case "(($ac_try" in
   21872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21873   *) ac_try_echo=$ac_try;;
   21874 esac
   21875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21876 $as_echo "$ac_try_echo") >&5
   21877   (eval "$ac_compile") 2>conftest.er1
   21878   ac_status=$?
   21879   grep -v '^ *+' conftest.er1 >conftest.err
   21880   rm -f conftest.er1
   21881   cat conftest.err >&5
   21882   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21883   (exit $ac_status); } && {
   21884 	 test -z "$ac_c_werror_flag" ||
   21885 	 test ! -s conftest.err
   21886        } && test -s conftest.$ac_objext; then
   21887   :
   21888 else
   21889   $as_echo "$as_me: failed program was:" >&5
   21890 sed 's/^/| /' conftest.$ac_ext >&5
   21891 
   21892 	ac_cv_type_SHA256_CTX=yes
   21893 fi
   21894 
   21895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21896 else
   21897   $as_echo "$as_me: failed program was:" >&5
   21898 sed 's/^/| /' conftest.$ac_ext >&5
   21899 
   21900 
   21901 fi
   21902 
   21903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21904 fi
   21905 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_SHA256_CTX" >&5
   21906 $as_echo "$ac_cv_type_SHA256_CTX" >&6; }
   21907 if test "x$ac_cv_type_SHA256_CTX" = x""yes; then
   21908 
   21909 cat >>confdefs.h <<_ACEOF
   21910 #define HAVE_SHA256_CTX 1
   21911 _ACEOF
   21912 
   21913 
   21914 else
   21915   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21917 { { $as_echo "$as_me:$LINENO: error: missing SHA256_CTX; is openssl 0.9.8 or newer installed?
   21918 See \`config.log' for more details." >&5
   21919 $as_echo "$as_me: error: missing SHA256_CTX; is openssl 0.9.8 or newer installed?
   21920 See \`config.log' for more details." >&2;}
   21921    { (exit 1); exit 1; }; }; }
   21922 fi
   21923 
   21924 
   21925 # Checks for library functions.
   21926 #
   21927 { $as_echo "$as_me:$LINENO: checking for library containing gzopen" >&5
   21928 $as_echo_n "checking for library containing gzopen... " >&6; }
   21929 if test "${ac_cv_search_gzopen+set}" = set; then
   21930   $as_echo_n "(cached) " >&6
   21931 else
   21932   ac_func_search_save_LIBS=$LIBS
   21933 cat >conftest.$ac_ext <<_ACEOF
   21934 /* confdefs.h.  */
   21935 _ACEOF
   21936 cat confdefs.h >>conftest.$ac_ext
   21937 cat >>conftest.$ac_ext <<_ACEOF
   21938 /* end confdefs.h.  */
   21939 
   21940 /* Override any GCC internal prototype to avoid an error.
   21941    Use char because int might match the return type of a GCC
   21942    builtin and then its argument prototype would still apply.  */
   21943 #ifdef __cplusplus
   21944 extern "C"
   21945 #endif
   21946 char gzopen ();
   21947 int
   21948 main ()
   21949 {
   21950 return gzopen ();
   21951   ;
   21952   return 0;
   21953 }
   21954 _ACEOF
   21955 for ac_lib in '' z; do
   21956   if test -z "$ac_lib"; then
   21957     ac_res="none required"
   21958   else
   21959     ac_res=-l$ac_lib
   21960     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21961   fi
   21962   rm -f conftest.$ac_objext conftest$ac_exeext
   21963 if { (ac_try="$ac_link"
   21964 case "(($ac_try" in
   21965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21966   *) ac_try_echo=$ac_try;;
   21967 esac
   21968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21969 $as_echo "$ac_try_echo") >&5
   21970   (eval "$ac_link") 2>conftest.er1
   21971   ac_status=$?
   21972   grep -v '^ *+' conftest.er1 >conftest.err
   21973   rm -f conftest.er1
   21974   cat conftest.err >&5
   21975   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21976   (exit $ac_status); } && {
   21977 	 test -z "$ac_c_werror_flag" ||
   21978 	 test ! -s conftest.err
   21979        } && test -s conftest$ac_exeext && {
   21980 	 test "$cross_compiling" = yes ||
   21981 	 $as_test_x conftest$ac_exeext
   21982        }; then
   21983   ac_cv_search_gzopen=$ac_res
   21984 else
   21985   $as_echo "$as_me: failed program was:" >&5
   21986 sed 's/^/| /' conftest.$ac_ext >&5
   21987 
   21988 
   21989 fi
   21990 
   21991 rm -rf conftest.dSYM
   21992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21993       conftest$ac_exeext
   21994   if test "${ac_cv_search_gzopen+set}" = set; then
   21995   break
   21996 fi
   21997 done
   21998 if test "${ac_cv_search_gzopen+set}" = set; then
   21999   :
   22000 else
   22001   ac_cv_search_gzopen=no
   22002 fi
   22003 rm conftest.$ac_ext
   22004 LIBS=$ac_func_search_save_LIBS
   22005 fi
   22006 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gzopen" >&5
   22007 $as_echo "$ac_cv_search_gzopen" >&6; }
   22008 ac_res=$ac_cv_search_gzopen
   22009 if test "$ac_res" != no; then
   22010   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22011 
   22012 fi
   22013 
   22014 { $as_echo "$as_me:$LINENO: checking for library containing BZ2_bzDecompress" >&5
   22015 $as_echo_n "checking for library containing BZ2_bzDecompress... " >&6; }
   22016 if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
   22017   $as_echo_n "(cached) " >&6
   22018 else
   22019   ac_func_search_save_LIBS=$LIBS
   22020 cat >conftest.$ac_ext <<_ACEOF
   22021 /* confdefs.h.  */
   22022 _ACEOF
   22023 cat confdefs.h >>conftest.$ac_ext
   22024 cat >>conftest.$ac_ext <<_ACEOF
   22025 /* end confdefs.h.  */
   22026 
   22027 /* Override any GCC internal prototype to avoid an error.
   22028    Use char because int might match the return type of a GCC
   22029    builtin and then its argument prototype would still apply.  */
   22030 #ifdef __cplusplus
   22031 extern "C"
   22032 #endif
   22033 char BZ2_bzDecompress ();
   22034 int
   22035 main ()
   22036 {
   22037 return BZ2_bzDecompress ();
   22038   ;
   22039   return 0;
   22040 }
   22041 _ACEOF
   22042 for ac_lib in '' bz2; do
   22043   if test -z "$ac_lib"; then
   22044     ac_res="none required"
   22045   else
   22046     ac_res=-l$ac_lib
   22047     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22048   fi
   22049   rm -f conftest.$ac_objext conftest$ac_exeext
   22050 if { (ac_try="$ac_link"
   22051 case "(($ac_try" in
   22052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22053   *) ac_try_echo=$ac_try;;
   22054 esac
   22055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22056 $as_echo "$ac_try_echo") >&5
   22057   (eval "$ac_link") 2>conftest.er1
   22058   ac_status=$?
   22059   grep -v '^ *+' conftest.er1 >conftest.err
   22060   rm -f conftest.er1
   22061   cat conftest.err >&5
   22062   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22063   (exit $ac_status); } && {
   22064 	 test -z "$ac_c_werror_flag" ||
   22065 	 test ! -s conftest.err
   22066        } && test -s conftest$ac_exeext && {
   22067 	 test "$cross_compiling" = yes ||
   22068 	 $as_test_x conftest$ac_exeext
   22069        }; then
   22070   ac_cv_search_BZ2_bzDecompress=$ac_res
   22071 else
   22072   $as_echo "$as_me: failed program was:" >&5
   22073 sed 's/^/| /' conftest.$ac_ext >&5
   22074 
   22075 
   22076 fi
   22077 
   22078 rm -rf conftest.dSYM
   22079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22080       conftest$ac_exeext
   22081   if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
   22082   break
   22083 fi
   22084 done
   22085 if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
   22086   :
   22087 else
   22088   ac_cv_search_BZ2_bzDecompress=no
   22089 fi
   22090 rm conftest.$ac_ext
   22091 LIBS=$ac_func_search_save_LIBS
   22092 fi
   22093 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_BZ2_bzDecompress" >&5
   22094 $as_echo "$ac_cv_search_BZ2_bzDecompress" >&6; }
   22095 ac_res=$ac_cv_search_BZ2_bzDecompress
   22096 if test "$ac_res" != no; then
   22097   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22098 
   22099 fi
   22100 
   22101 { $as_echo "$as_me:$LINENO: checking for library containing RSA_public_encrypt" >&5
   22102 $as_echo_n "checking for library containing RSA_public_encrypt... " >&6; }
   22103 if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
   22104   $as_echo_n "(cached) " >&6
   22105 else
   22106   ac_func_search_save_LIBS=$LIBS
   22107 cat >conftest.$ac_ext <<_ACEOF
   22108 /* confdefs.h.  */
   22109 _ACEOF
   22110 cat confdefs.h >>conftest.$ac_ext
   22111 cat >>conftest.$ac_ext <<_ACEOF
   22112 /* end confdefs.h.  */
   22113 
   22114 /* Override any GCC internal prototype to avoid an error.
   22115    Use char because int might match the return type of a GCC
   22116    builtin and then its argument prototype would still apply.  */
   22117 #ifdef __cplusplus
   22118 extern "C"
   22119 #endif
   22120 char RSA_public_encrypt ();
   22121 int
   22122 main ()
   22123 {
   22124 return RSA_public_encrypt ();
   22125   ;
   22126   return 0;
   22127 }
   22128 _ACEOF
   22129 for ac_lib in '' crypto; do
   22130   if test -z "$ac_lib"; then
   22131     ac_res="none required"
   22132   else
   22133     ac_res=-l$ac_lib
   22134     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22135   fi
   22136   rm -f conftest.$ac_objext conftest$ac_exeext
   22137 if { (ac_try="$ac_link"
   22138 case "(($ac_try" in
   22139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22140   *) ac_try_echo=$ac_try;;
   22141 esac
   22142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22143 $as_echo "$ac_try_echo") >&5
   22144   (eval "$ac_link") 2>conftest.er1
   22145   ac_status=$?
   22146   grep -v '^ *+' conftest.er1 >conftest.err
   22147   rm -f conftest.er1
   22148   cat conftest.err >&5
   22149   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22150   (exit $ac_status); } && {
   22151 	 test -z "$ac_c_werror_flag" ||
   22152 	 test ! -s conftest.err
   22153        } && test -s conftest$ac_exeext && {
   22154 	 test "$cross_compiling" = yes ||
   22155 	 $as_test_x conftest$ac_exeext
   22156        }; then
   22157   ac_cv_search_RSA_public_encrypt=$ac_res
   22158 else
   22159   $as_echo "$as_me: failed program was:" >&5
   22160 sed 's/^/| /' conftest.$ac_ext >&5
   22161 
   22162 
   22163 fi
   22164 
   22165 rm -rf conftest.dSYM
   22166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22167       conftest$ac_exeext
   22168   if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
   22169   break
   22170 fi
   22171 done
   22172 if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
   22173   :
   22174 else
   22175   ac_cv_search_RSA_public_encrypt=no
   22176 fi
   22177 rm conftest.$ac_ext
   22178 LIBS=$ac_func_search_save_LIBS
   22179 fi
   22180 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_RSA_public_encrypt" >&5
   22181 $as_echo "$ac_cv_search_RSA_public_encrypt" >&6; }
   22182 ac_res=$ac_cv_search_RSA_public_encrypt
   22183 if test "$ac_res" != no; then
   22184   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22185 
   22186 fi
   22187 
   22188 
   22189 # Initialize the testsuite
   22190 #
   22191 ac_config_commands="$ac_config_commands tests/atconfig"
   22192 
   22193 
   22194 
   22195 AUTOM4TE=${AUTOM4TE-"${am_missing_run}autom4te"}
   22196 
   22197 
   22198 # Generate the Makefiles
   22199 #
   22200 ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile src/lib/Makefile src/netpgp/Makefile src/netpgpkeys/Makefile src/netpgpverify/Makefile tests/Makefile tests/atlocal"
   22201 
   22202 cat >confcache <<\_ACEOF
   22203 # This file is a shell script that caches the results of configure
   22204 # tests run on this system so they can be shared between configure
   22205 # scripts and configure runs, see configure's option --config-cache.
   22206 # It is not useful on other systems.  If it contains results you don't
   22207 # want to keep, you may remove or edit it.
   22208 #
   22209 # config.status only pays attention to the cache file if you give it
   22210 # the --recheck option to rerun configure.
   22211 #
   22212 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22214 # following values.
   22215 
   22216 _ACEOF
   22217 
   22218 # The following way of writing the cache mishandles newlines in values,
   22219 # but we know of no workaround that is simple, portable, and efficient.
   22220 # So, we kill variables containing newlines.
   22221 # Ultrix sh set writes to stderr and can't be redirected directly,
   22222 # and sets the high bit in the cache file unless we assign to the vars.
   22223 (
   22224   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22225     eval ac_val=\$$ac_var
   22226     case $ac_val in #(
   22227     *${as_nl}*)
   22228       case $ac_var in #(
   22229       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22230 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22231       esac
   22232       case $ac_var in #(
   22233       _ | IFS | as_nl) ;; #(
   22234       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22235       *) $as_unset $ac_var ;;
   22236       esac ;;
   22237     esac
   22238   done
   22239 
   22240   (set) 2>&1 |
   22241     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22242     *${as_nl}ac_space=\ *)
   22243       # `set' does not quote correctly, so add quotes (double-quote
   22244       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22245       sed -n \
   22246 	"s/'/'\\\\''/g;
   22247 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22248       ;; #(
   22249     *)
   22250       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22251       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22252       ;;
   22253     esac |
   22254     sort
   22255 ) |
   22256   sed '
   22257      /^ac_cv_env_/b end
   22258      t clear
   22259      :clear
   22260      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22261      t end
   22262      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22263      :end' >>confcache
   22264 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22265   if test -w "$cache_file"; then
   22266     test "x$cache_file" != "x/dev/null" &&
   22267       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22268 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22269     cat confcache >$cache_file
   22270   else
   22271     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22272 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22273   fi
   22274 fi
   22275 rm -f confcache
   22276 
   22277 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22278 # Let make expand exec_prefix.
   22279 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22280 
   22281 DEFS=-DHAVE_CONFIG_H
   22282 
   22283 ac_libobjs=
   22284 ac_ltlibobjs=
   22285 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22286   # 1. Remove the extension, and $U if already installed.
   22287   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22288   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22289   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22290   #    will be set to the directory where LIBOBJS objects are built.
   22291   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22292   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22293 done
   22294 LIBOBJS=$ac_libobjs
   22295 
   22296 LTLIBOBJS=$ac_ltlibobjs
   22297 
   22298 
   22299 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22300   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22301 Usually this means the macro was only invoked conditionally." >&5
   22302 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22303 Usually this means the macro was only invoked conditionally." >&2;}
   22304    { (exit 1); exit 1; }; }
   22305 fi
   22306 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22307   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22308 Usually this means the macro was only invoked conditionally." >&5
   22309 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22310 Usually this means the macro was only invoked conditionally." >&2;}
   22311    { (exit 1); exit 1; }; }
   22312 fi
   22313 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22314   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22315 Usually this means the macro was only invoked conditionally." >&5
   22316 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22317 Usually this means the macro was only invoked conditionally." >&2;}
   22318    { (exit 1); exit 1; }; }
   22319 fi
   22320 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22321   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22322 Usually this means the macro was only invoked conditionally." >&5
   22323 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22324 Usually this means the macro was only invoked conditionally." >&2;}
   22325    { (exit 1); exit 1; }; }
   22326 fi
   22327 
   22328 : ${CONFIG_STATUS=./config.status}
   22329 ac_write_fail=0
   22330 ac_clean_files_save=$ac_clean_files
   22331 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22332 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22333 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22334 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22335 #! $SHELL
   22336 # Generated by $as_me.
   22337 # Run this file to recreate the current configuration.
   22338 # Compiler output produced by configure, useful for debugging
   22339 # configure, is in config.log if it exists.
   22340 
   22341 debug=false
   22342 ac_cs_recheck=false
   22343 ac_cs_silent=false
   22344 SHELL=\${CONFIG_SHELL-$SHELL}
   22345 _ACEOF
   22346 
   22347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22348 ## --------------------- ##
   22349 ## M4sh Initialization.  ##
   22350 ## --------------------- ##
   22351 
   22352 # Be more Bourne compatible
   22353 DUALCASE=1; export DUALCASE # for MKS sh
   22354 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22355   emulate sh
   22356   NULLCMD=:
   22357   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22358   # is contrary to our usage.  Disable this feature.
   22359   alias -g '${1+"$@"}'='"$@"'
   22360   setopt NO_GLOB_SUBST
   22361 else
   22362   case `(set -o) 2>/dev/null` in
   22363   *posix*) set -o posix ;;
   22364 esac
   22365 
   22366 fi
   22367 
   22368 
   22369 
   22370 
   22371 # PATH needs CR
   22372 # Avoid depending upon Character Ranges.
   22373 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22374 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22375 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22376 as_cr_digits='0123456789'
   22377 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22378 
   22379 as_nl='
   22380 '
   22381 export as_nl
   22382 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22383 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22384 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22386 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22387   as_echo='printf %s\n'
   22388   as_echo_n='printf %s'
   22389 else
   22390   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22391     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22392     as_echo_n='/usr/ucb/echo -n'
   22393   else
   22394     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22395     as_echo_n_body='eval
   22396       arg=$1;
   22397       case $arg in
   22398       *"$as_nl"*)
   22399 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22400 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22401       esac;
   22402       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22403     '
   22404     export as_echo_n_body
   22405     as_echo_n='sh -c $as_echo_n_body as_echo'
   22406   fi
   22407   export as_echo_body
   22408   as_echo='sh -c $as_echo_body as_echo'
   22409 fi
   22410 
   22411 # The user is always right.
   22412 if test "${PATH_SEPARATOR+set}" != set; then
   22413   PATH_SEPARATOR=:
   22414   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22415     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22416       PATH_SEPARATOR=';'
   22417   }
   22418 fi
   22419 
   22420 # Support unset when possible.
   22421 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22422   as_unset=unset
   22423 else
   22424   as_unset=false
   22425 fi
   22426 
   22427 
   22428 # IFS
   22429 # We need space, tab and new line, in precisely that order.  Quoting is
   22430 # there to prevent editors from complaining about space-tab.
   22431 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22432 # splitting by setting IFS to empty value.)
   22433 IFS=" ""	$as_nl"
   22434 
   22435 # Find who we are.  Look in the path if we contain no directory separator.
   22436 case $0 in
   22437   *[\\/]* ) as_myself=$0 ;;
   22438   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22439 for as_dir in $PATH
   22440 do
   22441   IFS=$as_save_IFS
   22442   test -z "$as_dir" && as_dir=.
   22443   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22444 done
   22445 IFS=$as_save_IFS
   22446 
   22447      ;;
   22448 esac
   22449 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22450 # in which case we are not to be found in the path.
   22451 if test "x$as_myself" = x; then
   22452   as_myself=$0
   22453 fi
   22454 if test ! -f "$as_myself"; then
   22455   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22456   { (exit 1); exit 1; }
   22457 fi
   22458 
   22459 # Work around bugs in pre-3.0 UWIN ksh.
   22460 for as_var in ENV MAIL MAILPATH
   22461 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22462 done
   22463 PS1='$ '
   22464 PS2='> '
   22465 PS4='+ '
   22466 
   22467 # NLS nuisances.
   22468 LC_ALL=C
   22469 export LC_ALL
   22470 LANGUAGE=C
   22471 export LANGUAGE
   22472 
   22473 # Required to use basename.
   22474 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22475    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22476   as_expr=expr
   22477 else
   22478   as_expr=false
   22479 fi
   22480 
   22481 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22482   as_basename=basename
   22483 else
   22484   as_basename=false
   22485 fi
   22486 
   22487 
   22488 # Name of the executable.
   22489 as_me=`$as_basename -- "$0" ||
   22490 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22491 	 X"$0" : 'X\(//\)$' \| \
   22492 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22493 $as_echo X/"$0" |
   22494     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22495 	    s//\1/
   22496 	    q
   22497 	  }
   22498 	  /^X\/\(\/\/\)$/{
   22499 	    s//\1/
   22500 	    q
   22501 	  }
   22502 	  /^X\/\(\/\).*/{
   22503 	    s//\1/
   22504 	    q
   22505 	  }
   22506 	  s/.*/./; q'`
   22507 
   22508 # CDPATH.
   22509 $as_unset CDPATH
   22510 
   22511 
   22512 
   22513   as_lineno_1=$LINENO
   22514   as_lineno_2=$LINENO
   22515   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22516   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22517 
   22518   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22519   # uniformly replaced by the line number.  The first 'sed' inserts a
   22520   # line-number line after each line using $LINENO; the second 'sed'
   22521   # does the real work.  The second script uses 'N' to pair each
   22522   # line-number line with the line containing $LINENO, and appends
   22523   # trailing '-' during substitution so that $LINENO is not a special
   22524   # case at line end.
   22525   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22526   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22527   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22528   sed -n '
   22529     p
   22530     /[$]LINENO/=
   22531   ' <$as_myself |
   22532     sed '
   22533       s/[$]LINENO.*/&-/
   22534       t lineno
   22535       b
   22536       :lineno
   22537       N
   22538       :loop
   22539       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22540       t loop
   22541       s/-\n.*//
   22542     ' >$as_me.lineno &&
   22543   chmod +x "$as_me.lineno" ||
   22544     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22545    { (exit 1); exit 1; }; }
   22546 
   22547   # Don't try to exec as it changes $[0], causing all sort of problems
   22548   # (the dirname of $[0] is not the place where we might find the
   22549   # original and so on.  Autoconf is especially sensitive to this).
   22550   . "./$as_me.lineno"
   22551   # Exit status is that of the last command.
   22552   exit
   22553 }
   22554 
   22555 
   22556 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22557   as_dirname=dirname
   22558 else
   22559   as_dirname=false
   22560 fi
   22561 
   22562 ECHO_C= ECHO_N= ECHO_T=
   22563 case `echo -n x` in
   22564 -n*)
   22565   case `echo 'x\c'` in
   22566   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22567   *)   ECHO_C='\c';;
   22568   esac;;
   22569 *)
   22570   ECHO_N='-n';;
   22571 esac
   22572 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22573    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22574   as_expr=expr
   22575 else
   22576   as_expr=false
   22577 fi
   22578 
   22579 rm -f conf$$ conf$$.exe conf$$.file
   22580 if test -d conf$$.dir; then
   22581   rm -f conf$$.dir/conf$$.file
   22582 else
   22583   rm -f conf$$.dir
   22584   mkdir conf$$.dir 2>/dev/null
   22585 fi
   22586 if (echo >conf$$.file) 2>/dev/null; then
   22587   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22588     as_ln_s='ln -s'
   22589     # ... but there are two gotchas:
   22590     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22591     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22592     # In both cases, we have to default to `cp -p'.
   22593     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22594       as_ln_s='cp -p'
   22595   elif ln conf$$.file conf$$ 2>/dev/null; then
   22596     as_ln_s=ln
   22597   else
   22598     as_ln_s='cp -p'
   22599   fi
   22600 else
   22601   as_ln_s='cp -p'
   22602 fi
   22603 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22604 rmdir conf$$.dir 2>/dev/null
   22605 
   22606 if mkdir -p . 2>/dev/null; then
   22607   as_mkdir_p=:
   22608 else
   22609   test -d ./-p && rmdir ./-p
   22610   as_mkdir_p=false
   22611 fi
   22612 
   22613 if test -x / >/dev/null 2>&1; then
   22614   as_test_x='test -x'
   22615 else
   22616   if ls -dL / >/dev/null 2>&1; then
   22617     as_ls_L_option=L
   22618   else
   22619     as_ls_L_option=
   22620   fi
   22621   as_test_x='
   22622     eval sh -c '\''
   22623       if test -d "$1"; then
   22624 	test -d "$1/.";
   22625       else
   22626 	case $1 in
   22627 	-*)set "./$1";;
   22628 	esac;
   22629 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22630 	???[sx]*):;;*)false;;esac;fi
   22631     '\'' sh
   22632   '
   22633 fi
   22634 as_executable_p=$as_test_x
   22635 
   22636 # Sed expression to map a string onto a valid CPP name.
   22637 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22638 
   22639 # Sed expression to map a string onto a valid variable name.
   22640 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22641 
   22642 
   22643 exec 6>&1
   22644 
   22645 # Save the log message, to keep $[0] and so on meaningful, and to
   22646 # report actual input values of CONFIG_FILES etc. instead of their
   22647 # values after options handling.
   22648 ac_log="
   22649 This file was extended by netpgp $as_me 20101103, which was
   22650 generated by GNU Autoconf 2.63.  Invocation command line was
   22651 
   22652   CONFIG_FILES    = $CONFIG_FILES
   22653   CONFIG_HEADERS  = $CONFIG_HEADERS
   22654   CONFIG_LINKS    = $CONFIG_LINKS
   22655   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22656   $ $0 $@
   22657 
   22658 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22659 "
   22660 
   22661 _ACEOF
   22662 
   22663 case $ac_config_files in *"
   22664 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22665 esac
   22666 
   22667 case $ac_config_headers in *"
   22668 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22669 esac
   22670 
   22671 
   22672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22673 # Files that config.status was made for.
   22674 config_files="$ac_config_files"
   22675 config_headers="$ac_config_headers"
   22676 config_commands="$ac_config_commands"
   22677 
   22678 _ACEOF
   22679 
   22680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22681 ac_cs_usage="\
   22682 \`$as_me' instantiates files from templates according to the
   22683 current configuration.
   22684 
   22685 Usage: $0 [OPTION]... [FILE]...
   22686 
   22687   -h, --help       print this help, then exit
   22688   -V, --version    print version number and configuration settings, then exit
   22689   -q, --quiet, --silent
   22690                    do not print progress messages
   22691   -d, --debug      don't remove temporary files
   22692       --recheck    update $as_me by reconfiguring in the same conditions
   22693       --file=FILE[:TEMPLATE]
   22694                    instantiate the configuration file FILE
   22695       --header=FILE[:TEMPLATE]
   22696                    instantiate the configuration header FILE
   22697 
   22698 Configuration files:
   22699 $config_files
   22700 
   22701 Configuration headers:
   22702 $config_headers
   22703 
   22704 Configuration commands:
   22705 $config_commands
   22706 
   22707 Report bugs to <bug-autoconf (at] gnu.org>."
   22708 
   22709 _ACEOF
   22710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22711 ac_cs_version="\\
   22712 netpgp config.status 20101103
   22713 configured by $0, generated by GNU Autoconf 2.63,
   22714   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22715 
   22716 Copyright (C) 2008 Free Software Foundation, Inc.
   22717 This config.status script is free software; the Free Software Foundation
   22718 gives unlimited permission to copy, distribute and modify it."
   22719 
   22720 ac_pwd='$ac_pwd'
   22721 srcdir='$srcdir'
   22722 INSTALL='$INSTALL'
   22723 MKDIR_P='$MKDIR_P'
   22724 AWK='$AWK'
   22725 test -n "\$AWK" || AWK=awk
   22726 _ACEOF
   22727 
   22728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22729 # The default lists apply if the user does not specify any file.
   22730 ac_need_defaults=:
   22731 while test $# != 0
   22732 do
   22733   case $1 in
   22734   --*=*)
   22735     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22736     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22737     ac_shift=:
   22738     ;;
   22739   *)
   22740     ac_option=$1
   22741     ac_optarg=$2
   22742     ac_shift=shift
   22743     ;;
   22744   esac
   22745 
   22746   case $ac_option in
   22747   # Handling of the options.
   22748   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22749     ac_cs_recheck=: ;;
   22750   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22751     $as_echo "$ac_cs_version"; exit ;;
   22752   --debug | --debu | --deb | --de | --d | -d )
   22753     debug=: ;;
   22754   --file | --fil | --fi | --f )
   22755     $ac_shift
   22756     case $ac_optarg in
   22757     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22758     esac
   22759     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22760     ac_need_defaults=false;;
   22761   --header | --heade | --head | --hea )
   22762     $ac_shift
   22763     case $ac_optarg in
   22764     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22765     esac
   22766     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22767     ac_need_defaults=false;;
   22768   --he | --h)
   22769     # Conflict between --help and --header
   22770     { $as_echo "$as_me: error: ambiguous option: $1
   22771 Try \`$0 --help' for more information." >&2
   22772    { (exit 1); exit 1; }; };;
   22773   --help | --hel | -h )
   22774     $as_echo "$ac_cs_usage"; exit ;;
   22775   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22776   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22777     ac_cs_silent=: ;;
   22778 
   22779   # This is an error.
   22780   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22781 Try \`$0 --help' for more information." >&2
   22782    { (exit 1); exit 1; }; } ;;
   22783 
   22784   *) ac_config_targets="$ac_config_targets $1"
   22785      ac_need_defaults=false ;;
   22786 
   22787   esac
   22788   shift
   22789 done
   22790 
   22791 ac_configure_extra_args=
   22792 
   22793 if $ac_cs_silent; then
   22794   exec 6>/dev/null
   22795   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22796 fi
   22797 
   22798 _ACEOF
   22799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22800 if \$ac_cs_recheck; then
   22801   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22802   shift
   22803   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22804   CONFIG_SHELL='$SHELL'
   22805   export CONFIG_SHELL
   22806   exec "\$@"
   22807 fi
   22808 
   22809 _ACEOF
   22810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22811 exec 5>>config.log
   22812 {
   22813   echo
   22814   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22815 ## Running $as_me. ##
   22816 _ASBOX
   22817   $as_echo "$ac_log"
   22818 } >&5
   22819 
   22820 _ACEOF
   22821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22822 #
   22823 # INIT-COMMANDS
   22824 #
   22825 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22826 
   22827 _ACEOF
   22828 
   22829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22830 
   22831 # Handling of arguments.
   22832 for ac_config_target in $ac_config_targets
   22833 do
   22834   case $ac_config_target in
   22835     "src/lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/lib/config.h" ;;
   22836     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22837     "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
   22838     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22839     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   22840     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22841     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
   22842     "src/netpgp/Makefile") CONFIG_FILES="$CONFIG_FILES src/netpgp/Makefile" ;;
   22843     "src/netpgpkeys/Makefile") CONFIG_FILES="$CONFIG_FILES src/netpgpkeys/Makefile" ;;
   22844     "src/netpgpverify/Makefile") CONFIG_FILES="$CONFIG_FILES src/netpgpverify/Makefile" ;;
   22845     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   22846     "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
   22847 
   22848   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22849 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22850    { (exit 1); exit 1; }; };;
   22851   esac
   22852 done
   22853 
   22854 
   22855 # If the user did not use the arguments to specify the items to instantiate,
   22856 # then the envvar interface is used.  Set only those that are not.
   22857 # We use the long form for the default assignment because of an extremely
   22858 # bizarre bug on SunOS 4.1.3.
   22859 if $ac_need_defaults; then
   22860   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22861   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22862   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22863 fi
   22864 
   22865 # Have a temporary directory for convenience.  Make it in the build tree
   22866 # simply because there is no reason against having it here, and in addition,
   22867 # creating and moving files from /tmp can sometimes cause problems.
   22868 # Hook for its removal unless debugging.
   22869 # Note that there is a small window in which the directory will not be cleaned:
   22870 # after its creation but before its name has been assigned to `$tmp'.
   22871 $debug ||
   22872 {
   22873   tmp=
   22874   trap 'exit_status=$?
   22875   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22876 ' 0
   22877   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22878 }
   22879 # Create a (secure) tmp directory for tmp files.
   22880 
   22881 {
   22882   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22883   test -n "$tmp" && test -d "$tmp"
   22884 }  ||
   22885 {
   22886   tmp=./conf$$-$RANDOM
   22887   (umask 077 && mkdir "$tmp")
   22888 } ||
   22889 {
   22890    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22891    { (exit 1); exit 1; }
   22892 }
   22893 
   22894 # Set up the scripts for CONFIG_FILES section.
   22895 # No need to generate them if there are no CONFIG_FILES.
   22896 # This happens for instance with `./config.status config.h'.
   22897 if test -n "$CONFIG_FILES"; then
   22898 
   22899 
   22900 ac_cr='
'
   22902 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22903 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22904   ac_cs_awk_cr='\\r'
   22905 else
   22906   ac_cs_awk_cr=$ac_cr
   22907 fi
   22908 
   22909 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22910 _ACEOF
   22911 
   22912 
   22913 {
   22914   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22915   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22916   echo "_ACEOF"
   22917 } >conf$$subs.sh ||
   22918   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22919 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22920    { (exit 1); exit 1; }; }
   22921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22922 ac_delim='%!_!# '
   22923 for ac_last_try in false false false false false :; do
   22924   . ./conf$$subs.sh ||
   22925     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22926 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22927    { (exit 1); exit 1; }; }
   22928 
   22929   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22930   if test $ac_delim_n = $ac_delim_num; then
   22931     break
   22932   elif $ac_last_try; then
   22933     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22934 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22935    { (exit 1); exit 1; }; }
   22936   else
   22937     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22938   fi
   22939 done
   22940 rm -f conf$$subs.sh
   22941 
   22942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22943 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22944 _ACEOF
   22945 sed -n '
   22946 h
   22947 s/^/S["/; s/!.*/"]=/
   22948 p
   22949 g
   22950 s/^[^!]*!//
   22951 :repl
   22952 t repl
   22953 s/'"$ac_delim"'$//
   22954 t delim
   22955 :nl
   22956 h
   22957 s/\(.\{148\}\).*/\1/
   22958 t more1
   22959 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22960 p
   22961 n
   22962 b repl
   22963 :more1
   22964 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22965 p
   22966 g
   22967 s/.\{148\}//
   22968 t nl
   22969 :delim
   22970 h
   22971 s/\(.\{148\}\).*/\1/
   22972 t more2
   22973 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22974 p
   22975 b
   22976 :more2
   22977 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22978 p
   22979 g
   22980 s/.\{148\}//
   22981 t delim
   22982 ' <conf$$subs.awk | sed '
   22983 /^[^""]/{
   22984   N
   22985   s/\n//
   22986 }
   22987 ' >>$CONFIG_STATUS || ac_write_fail=1
   22988 rm -f conf$$subs.awk
   22989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22990 _ACAWK
   22991 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22992   for (key in S) S_is_set[key] = 1
   22993   FS = ""
   22994 
   22995 }
   22996 {
   22997   line = $ 0
   22998   nfields = split(line, field, "@")
   22999   substed = 0
   23000   len = length(field[1])
   23001   for (i = 2; i < nfields; i++) {
   23002     key = field[i]
   23003     keylen = length(key)
   23004     if (S_is_set[key]) {
   23005       value = S[key]
   23006       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23007       len += length(value) + length(field[++i])
   23008       substed = 1
   23009     } else
   23010       len += 1 + keylen
   23011   }
   23012 
   23013   print line
   23014 }
   23015 
   23016 _ACAWK
   23017 _ACEOF
   23018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23019 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23020   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23021 else
   23022   cat
   23023 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   23024   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   23025 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   23026    { (exit 1); exit 1; }; }
   23027 _ACEOF
   23028 
   23029 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23030 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23031 # trailing colons and then remove the whole line if VPATH becomes empty
   23032 # (actually we leave an empty line to preserve line numbers).
   23033 if test "x$srcdir" = x.; then
   23034   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23035 s/:*\$(srcdir):*/:/
   23036 s/:*\${srcdir}:*/:/
   23037 s/:*@srcdir@:*/:/
   23038 s/^\([^=]*=[	 ]*\):*/\1/
   23039 s/:*$//
   23040 s/^[^=]*=[	 ]*$//
   23041 }'
   23042 fi
   23043 
   23044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23045 fi # test -n "$CONFIG_FILES"
   23046 
   23047 # Set up the scripts for CONFIG_HEADERS section.
   23048 # No need to generate them if there are no CONFIG_HEADERS.
   23049 # This happens for instance with `./config.status Makefile'.
   23050 if test -n "$CONFIG_HEADERS"; then
   23051 cat >"$tmp/defines.awk" <<\_ACAWK ||
   23052 BEGIN {
   23053 _ACEOF
   23054 
   23055 # Transform confdefs.h into an awk script `defines.awk', embedded as
   23056 # here-document in config.status, that substitutes the proper values into
   23057 # config.h.in to produce config.h.
   23058 
   23059 # Create a delimiter string that does not exist in confdefs.h, to ease
   23060 # handling of long lines.
   23061 ac_delim='%!_!# '
   23062 for ac_last_try in false false :; do
   23063   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   23064   if test -z "$ac_t"; then
   23065     break
   23066   elif $ac_last_try; then
   23067     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   23068 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   23069    { (exit 1); exit 1; }; }
   23070   else
   23071     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23072   fi
   23073 done
   23074 
   23075 # For the awk script, D is an array of macro values keyed by name,
   23076 # likewise P contains macro parameters if any.  Preserve backslash
   23077 # newline sequences.
   23078 
   23079 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23080 sed -n '
   23081 s/.\{148\}/&'"$ac_delim"'/g
   23082 t rset
   23083 :rset
   23084 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23085 t def
   23086 d
   23087 :def
   23088 s/\\$//
   23089 t bsnl
   23090 s/["\\]/\\&/g
   23091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23092 D["\1"]=" \3"/p
   23093 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23094 d
   23095 :bsnl
   23096 s/["\\]/\\&/g
   23097 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23098 D["\1"]=" \3\\\\\\n"\\/p
   23099 t cont
   23100 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23101 t cont
   23102 d
   23103 :cont
   23104 n
   23105 s/.\{148\}/&'"$ac_delim"'/g
   23106 t clear
   23107 :clear
   23108 s/\\$//
   23109 t bsnlc
   23110 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23111 d
   23112 :bsnlc
   23113 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23114 b cont
   23115 ' <confdefs.h | sed '
   23116 s/'"$ac_delim"'/"\\\
   23117 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23118 
   23119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23120   for (key in D) D_is_set[key] = 1
   23121   FS = ""
   23122 }
   23123 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23124   line = \$ 0
   23125   split(line, arg, " ")
   23126   if (arg[1] == "#") {
   23127     defundef = arg[2]
   23128     mac1 = arg[3]
   23129   } else {
   23130     defundef = substr(arg[1], 2)
   23131     mac1 = arg[2]
   23132   }
   23133   split(mac1, mac2, "(") #)
   23134   macro = mac2[1]
   23135   prefix = substr(line, 1, index(line, defundef) - 1)
   23136   if (D_is_set[macro]) {
   23137     # Preserve the white space surrounding the "#".
   23138     print prefix "define", macro P[macro] D[macro]
   23139     next
   23140   } else {
   23141     # Replace #undef with comments.  This is necessary, for example,
   23142     # in the case of _POSIX_SOURCE, which is predefined and required
   23143     # on some systems where configure will not decide to define it.
   23144     if (defundef == "undef") {
   23145       print "/*", prefix defundef, macro, "*/"
   23146       next
   23147     }
   23148   }
   23149 }
   23150 { print }
   23151 _ACAWK
   23152 _ACEOF
   23153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23154   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23155 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23156    { (exit 1); exit 1; }; }
   23157 fi # test -n "$CONFIG_HEADERS"
   23158 
   23159 
   23160 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23161 shift
   23162 for ac_tag
   23163 do
   23164   case $ac_tag in
   23165   :[FHLC]) ac_mode=$ac_tag; continue;;
   23166   esac
   23167   case $ac_mode$ac_tag in
   23168   :[FHL]*:*);;
   23169   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23170 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23171    { (exit 1); exit 1; }; };;
   23172   :[FH]-) ac_tag=-:-;;
   23173   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23174   esac
   23175   ac_save_IFS=$IFS
   23176   IFS=:
   23177   set x $ac_tag
   23178   IFS=$ac_save_IFS
   23179   shift
   23180   ac_file=$1
   23181   shift
   23182 
   23183   case $ac_mode in
   23184   :L) ac_source=$1;;
   23185   :[FH])
   23186     ac_file_inputs=
   23187     for ac_f
   23188     do
   23189       case $ac_f in
   23190       -) ac_f="$tmp/stdin";;
   23191       *) # Look for the file first in the build tree, then in the source tree
   23192 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23193 	 # because $ac_f cannot contain `:'.
   23194 	 test -f "$ac_f" ||
   23195 	   case $ac_f in
   23196 	   [\\/$]*) false;;
   23197 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23198 	   esac ||
   23199 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23200 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23201    { (exit 1); exit 1; }; };;
   23202       esac
   23203       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23204       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23205     done
   23206 
   23207     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23208     # use $as_me), people would be surprised to read:
   23209     #    /* config.h.  Generated by config.status.  */
   23210     configure_input='Generated from '`
   23211 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23212 	`' by configure.'
   23213     if test x"$ac_file" != x-; then
   23214       configure_input="$ac_file.  $configure_input"
   23215       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23216 $as_echo "$as_me: creating $ac_file" >&6;}
   23217     fi
   23218     # Neutralize special characters interpreted by sed in replacement strings.
   23219     case $configure_input in #(
   23220     *\&* | *\|* | *\\* )
   23221        ac_sed_conf_input=`$as_echo "$configure_input" |
   23222        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23223     *) ac_sed_conf_input=$configure_input;;
   23224     esac
   23225 
   23226     case $ac_tag in
   23227     *:-:* | *:-) cat >"$tmp/stdin" \
   23228       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23229 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23230    { (exit 1); exit 1; }; } ;;
   23231     esac
   23232     ;;
   23233   esac
   23234 
   23235   ac_dir=`$as_dirname -- "$ac_file" ||
   23236 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23237 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23238 	 X"$ac_file" : 'X\(//\)$' \| \
   23239 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23240 $as_echo X"$ac_file" |
   23241     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23242 	    s//\1/
   23243 	    q
   23244 	  }
   23245 	  /^X\(\/\/\)[^/].*/{
   23246 	    s//\1/
   23247 	    q
   23248 	  }
   23249 	  /^X\(\/\/\)$/{
   23250 	    s//\1/
   23251 	    q
   23252 	  }
   23253 	  /^X\(\/\).*/{
   23254 	    s//\1/
   23255 	    q
   23256 	  }
   23257 	  s/.*/./; q'`
   23258   { as_dir="$ac_dir"
   23259   case $as_dir in #(
   23260   -*) as_dir=./$as_dir;;
   23261   esac
   23262   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23263     as_dirs=
   23264     while :; do
   23265       case $as_dir in #(
   23266       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23267       *) as_qdir=$as_dir;;
   23268       esac
   23269       as_dirs="'$as_qdir' $as_dirs"
   23270       as_dir=`$as_dirname -- "$as_dir" ||
   23271 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23272 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23273 	 X"$as_dir" : 'X\(//\)$' \| \
   23274 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23275 $as_echo X"$as_dir" |
   23276     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23277 	    s//\1/
   23278 	    q
   23279 	  }
   23280 	  /^X\(\/\/\)[^/].*/{
   23281 	    s//\1/
   23282 	    q
   23283 	  }
   23284 	  /^X\(\/\/\)$/{
   23285 	    s//\1/
   23286 	    q
   23287 	  }
   23288 	  /^X\(\/\).*/{
   23289 	    s//\1/
   23290 	    q
   23291 	  }
   23292 	  s/.*/./; q'`
   23293       test -d "$as_dir" && break
   23294     done
   23295     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23296   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23297 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23298    { (exit 1); exit 1; }; }; }
   23299   ac_builddir=.
   23300 
   23301 case "$ac_dir" in
   23302 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23303 *)
   23304   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23305   # A ".." for each directory in $ac_dir_suffix.
   23306   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23307   case $ac_top_builddir_sub in
   23308   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23309   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23310   esac ;;
   23311 esac
   23312 ac_abs_top_builddir=$ac_pwd
   23313 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23314 # for backward compatibility:
   23315 ac_top_builddir=$ac_top_build_prefix
   23316 
   23317 case $srcdir in
   23318   .)  # We are building in place.
   23319     ac_srcdir=.
   23320     ac_top_srcdir=$ac_top_builddir_sub
   23321     ac_abs_top_srcdir=$ac_pwd ;;
   23322   [\\/]* | ?:[\\/]* )  # Absolute name.
   23323     ac_srcdir=$srcdir$ac_dir_suffix;
   23324     ac_top_srcdir=$srcdir
   23325     ac_abs_top_srcdir=$srcdir ;;
   23326   *) # Relative name.
   23327     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23328     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23329     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23330 esac
   23331 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23332 
   23333 
   23334   case $ac_mode in
   23335   :F)
   23336   #
   23337   # CONFIG_FILE
   23338   #
   23339 
   23340   case $INSTALL in
   23341   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23342   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23343   esac
   23344   ac_MKDIR_P=$MKDIR_P
   23345   case $MKDIR_P in
   23346   [\\/$]* | ?:[\\/]* ) ;;
   23347   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23348   esac
   23349 _ACEOF
   23350 
   23351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23352 # If the template does not know about datarootdir, expand it.
   23353 # FIXME: This hack should be removed a few years after 2.60.
   23354 ac_datarootdir_hack=; ac_datarootdir_seen=
   23355 
   23356 ac_sed_dataroot='
   23357 /datarootdir/ {
   23358   p
   23359   q
   23360 }
   23361 /@datadir@/p
   23362 /@docdir@/p
   23363 /@infodir@/p
   23364 /@localedir@/p
   23365 /@mandir@/p
   23366 '
   23367 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23368 *datarootdir*) ac_datarootdir_seen=yes;;
   23369 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23370   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23371 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23372 _ACEOF
   23373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23374   ac_datarootdir_hack='
   23375   s&@datadir@&$datadir&g
   23376   s&@docdir@&$docdir&g
   23377   s&@infodir@&$infodir&g
   23378   s&@localedir@&$localedir&g
   23379   s&@mandir@&$mandir&g
   23380     s&\\\${datarootdir}&$datarootdir&g' ;;
   23381 esac
   23382 _ACEOF
   23383 
   23384 # Neutralize VPATH when `$srcdir' = `.'.
   23385 # Shell code in configure.ac might set extrasub.
   23386 # FIXME: do we really want to maintain this feature?
   23387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23388 ac_sed_extra="$ac_vpsub
   23389 $extrasub
   23390 _ACEOF
   23391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23392 :t
   23393 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23394 s|@configure_input@|$ac_sed_conf_input|;t t
   23395 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23396 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23397 s&@srcdir@&$ac_srcdir&;t t
   23398 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23399 s&@top_srcdir@&$ac_top_srcdir&;t t
   23400 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23401 s&@builddir@&$ac_builddir&;t t
   23402 s&@abs_builddir@&$ac_abs_builddir&;t t
   23403 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23404 s&@INSTALL@&$ac_INSTALL&;t t
   23405 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23406 $ac_datarootdir_hack
   23407 "
   23408 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23409   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23410 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23411    { (exit 1); exit 1; }; }
   23412 
   23413 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23414   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23415   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23416   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23417 which seems to be undefined.  Please make sure it is defined." >&5
   23418 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23419 which seems to be undefined.  Please make sure it is defined." >&2;}
   23420 
   23421   rm -f "$tmp/stdin"
   23422   case $ac_file in
   23423   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23424   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23425   esac \
   23426   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23427 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23428    { (exit 1); exit 1; }; }
   23429  ;;
   23430   :H)
   23431   #
   23432   # CONFIG_HEADER
   23433   #
   23434   if test x"$ac_file" != x-; then
   23435     {
   23436       $as_echo "/* $configure_input  */" \
   23437       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23438     } >"$tmp/config.h" \
   23439       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23440 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23441    { (exit 1); exit 1; }; }
   23442     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23443       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23444 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23445     else
   23446       rm -f "$ac_file"
   23447       mv "$tmp/config.h" "$ac_file" \
   23448 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23449 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23450    { (exit 1); exit 1; }; }
   23451     fi
   23452   else
   23453     $as_echo "/* $configure_input  */" \
   23454       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23455       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23456 $as_echo "$as_me: error: could not create -" >&2;}
   23457    { (exit 1); exit 1; }; }
   23458   fi
   23459 # Compute "$ac_file"'s index in $config_headers.
   23460 _am_arg="$ac_file"
   23461 _am_stamp_count=1
   23462 for _am_header in $config_headers :; do
   23463   case $_am_header in
   23464     $_am_arg | $_am_arg:* )
   23465       break ;;
   23466     * )
   23467       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23468   esac
   23469 done
   23470 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23471 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23472 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23473 	 X"$_am_arg" : 'X\(//\)$' \| \
   23474 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23475 $as_echo X"$_am_arg" |
   23476     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23477 	    s//\1/
   23478 	    q
   23479 	  }
   23480 	  /^X\(\/\/\)[^/].*/{
   23481 	    s//\1/
   23482 	    q
   23483 	  }
   23484 	  /^X\(\/\/\)$/{
   23485 	    s//\1/
   23486 	    q
   23487 	  }
   23488 	  /^X\(\/\).*/{
   23489 	    s//\1/
   23490 	    q
   23491 	  }
   23492 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23493  ;;
   23494 
   23495   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23496 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23497  ;;
   23498   esac
   23499 
   23500 
   23501   case $ac_file$ac_mode in
   23502     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23503   # Strip MF so we end up with the name of the file.
   23504   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23505   # Check whether this is an Automake generated Makefile or not.
   23506   # We used to match only the files named `Makefile.in', but
   23507   # some people rename them; so instead we look at the file content.
   23508   # Grep'ing the first line is not enough: some people post-process
   23509   # each Makefile.in and add a new line on top of each file to say so.
   23510   # Grep'ing the whole file is not good either: AIX grep has a line
   23511   # limit of 2048, but all sed's we know have understand at least 4000.
   23512   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23513     dirpart=`$as_dirname -- "$mf" ||
   23514 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23515 	 X"$mf" : 'X\(//\)[^/]' \| \
   23516 	 X"$mf" : 'X\(//\)$' \| \
   23517 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23518 $as_echo X"$mf" |
   23519     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23520 	    s//\1/
   23521 	    q
   23522 	  }
   23523 	  /^X\(\/\/\)[^/].*/{
   23524 	    s//\1/
   23525 	    q
   23526 	  }
   23527 	  /^X\(\/\/\)$/{
   23528 	    s//\1/
   23529 	    q
   23530 	  }
   23531 	  /^X\(\/\).*/{
   23532 	    s//\1/
   23533 	    q
   23534 	  }
   23535 	  s/.*/./; q'`
   23536   else
   23537     continue
   23538   fi
   23539   # Extract the definition of DEPDIR, am__include, and am__quote
   23540   # from the Makefile without running `make'.
   23541   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23542   test -z "$DEPDIR" && continue
   23543   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23544   test -z "am__include" && continue
   23545   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23546   # When using ansi2knr, U may be empty or an underscore; expand it
   23547   U=`sed -n 's/^U = //p' < "$mf"`
   23548   # Find all dependency output files, they are included files with
   23549   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23550   # simplest approach to changing $(DEPDIR) to its actual value in the
   23551   # expansion.
   23552   for file in `sed -n "
   23553     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23554        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23555     # Make sure the directory exists.
   23556     test -f "$dirpart/$file" && continue
   23557     fdir=`$as_dirname -- "$file" ||
   23558 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23559 	 X"$file" : 'X\(//\)[^/]' \| \
   23560 	 X"$file" : 'X\(//\)$' \| \
   23561 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23562 $as_echo X"$file" |
   23563     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23564 	    s//\1/
   23565 	    q
   23566 	  }
   23567 	  /^X\(\/\/\)[^/].*/{
   23568 	    s//\1/
   23569 	    q
   23570 	  }
   23571 	  /^X\(\/\/\)$/{
   23572 	    s//\1/
   23573 	    q
   23574 	  }
   23575 	  /^X\(\/\).*/{
   23576 	    s//\1/
   23577 	    q
   23578 	  }
   23579 	  s/.*/./; q'`
   23580     { as_dir=$dirpart/$fdir
   23581   case $as_dir in #(
   23582   -*) as_dir=./$as_dir;;
   23583   esac
   23584   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23585     as_dirs=
   23586     while :; do
   23587       case $as_dir in #(
   23588       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23589       *) as_qdir=$as_dir;;
   23590       esac
   23591       as_dirs="'$as_qdir' $as_dirs"
   23592       as_dir=`$as_dirname -- "$as_dir" ||
   23593 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23594 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23595 	 X"$as_dir" : 'X\(//\)$' \| \
   23596 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23597 $as_echo X"$as_dir" |
   23598     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23599 	    s//\1/
   23600 	    q
   23601 	  }
   23602 	  /^X\(\/\/\)[^/].*/{
   23603 	    s//\1/
   23604 	    q
   23605 	  }
   23606 	  /^X\(\/\/\)$/{
   23607 	    s//\1/
   23608 	    q
   23609 	  }
   23610 	  /^X\(\/\).*/{
   23611 	    s//\1/
   23612 	    q
   23613 	  }
   23614 	  s/.*/./; q'`
   23615       test -d "$as_dir" && break
   23616     done
   23617     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23618   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23619 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23620    { (exit 1); exit 1; }; }; }
   23621     # echo "creating $dirpart/$file"
   23622     echo '# dummy' > "$dirpart/$file"
   23623   done
   23624 done
   23625  ;;
   23626     "tests/atconfig":C) cat >tests/atconfig <<ATEOF
   23627 # Configurable variable values for building test suites.
   23628 # Generated by $0.
   23629 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
   23630 
   23631 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
   23632 at_testdir='tests'
   23633 abs_builddir='$ac_abs_builddir'
   23634 at_srcdir='$ac_srcdir'
   23635 abs_srcdir='$ac_abs_srcdir'
   23636 at_top_srcdir='$ac_top_srcdir'
   23637 abs_top_srcdir='$ac_abs_top_srcdir'
   23638 at_top_build_prefix='$ac_top_build_prefix'
   23639 abs_top_builddir='$ac_abs_top_builddir'
   23640 
   23641 # Backward compatibility with Autotest <= 2.59b:
   23642 at_top_builddir=\$at_top_build_prefix
   23643 
   23644 AUTOTEST_PATH='tests'
   23645 
   23646 SHELL=\${CONFIG_SHELL-'$SHELL'}
   23647 ATEOF
   23648  ;;
   23649 
   23650   esac
   23651 done # for ac_tag
   23652 
   23653 
   23654 { (exit 0); exit 0; }
   23655 _ACEOF
   23656 chmod +x $CONFIG_STATUS
   23657 ac_clean_files=$ac_clean_files_save
   23658 
   23659 test $ac_write_fail = 0 ||
   23660   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23661 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23662    { (exit 1); exit 1; }; }
   23663 
   23664 
   23665 # configure is writing to config.log, and then calls config.status.
   23666 # config.status does its own redirection, appending to config.log.
   23667 # Unfortunately, on DOS this fails, as config.log is still kept open
   23668 # by configure, so config.status won't be able to write to it; its
   23669 # output is simply discarded.  So we exec the FD to /dev/null,
   23670 # effectively closing config.log, so it can be properly (re)opened and
   23671 # appended to by config.status.  When coming back to configure, we
   23672 # need to make the FD available again.
   23673 if test "$no_create" != yes; then
   23674   ac_cs_success=:
   23675   ac_config_status_args=
   23676   test "$silent" = yes &&
   23677     ac_config_status_args="$ac_config_status_args --quiet"
   23678   exec 5>/dev/null
   23679   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23680   exec 5>>config.log
   23681   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23682   # would make configure fail if this is the last instruction.
   23683   $ac_cs_success || { (exit 1); exit 1; }
   23684 fi
   23685 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23686   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23687 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23688 fi
   23689 
   23690 
   23691 # Display feature results
   23692 #
   23693 { $as_echo "$as_me:$LINENO:  === Configuration results ===" >&5
   23694 $as_echo "$as_me:  === Configuration results ===" >&6;}
   23695 { $as_echo "$as_me:$LINENO: Version:             $PACKAGE_VERSION" >&5
   23696 $as_echo "$as_me: Version:             $PACKAGE_VERSION" >&6;}
   23697 { $as_echo "$as_me:$LINENO: C compiler:          $CC" >&5
   23698 $as_echo "$as_me: C compiler:          $CC" >&6;}
   23699 { $as_echo "$as_me:$LINENO: Warning CFLAGS:      $WARNCFLAGS" >&5
   23700 $as_echo "$as_me: Warning CFLAGS:      $WARNCFLAGS" >&6;}
   23701 { $as_echo "$as_me:$LINENO: =============================" >&5
   23702 $as_echo "$as_me: =============================" >&6;}
   23703