Home | History | Annotate | Line # | Download | only in libasprintf
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61.
      4 #
      5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      7 # This configure script is free software; the Free Software Foundation
      8 # gives unlimited permission to copy, distribute and modify it.
      9 ## --------------------- ##
     10 ## M4sh Initialization.  ##
     11 ## --------------------- ##
     12 
     13 # Be more Bourne compatible
     14 DUALCASE=1; export DUALCASE # for MKS sh
     15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16   emulate sh
     17   NULLCMD=:
     18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19   # is contrary to our usage.  Disable this feature.
     20   alias -g '${1+"$@"}'='"$@"'
     21   setopt NO_GLOB_SUBST
     22 else
     23   case `(set -o) 2>/dev/null` in
     24   *posix*) set -o posix ;;
     25 esac
     26 
     27 fi
     28 
     29 
     30 
     31 
     32 # PATH needs CR
     33 # Avoid depending upon Character Ranges.
     34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     37 as_cr_digits='0123456789'
     38 as_cr_alnum=$as_cr_Letters$as_cr_digits
     39 
     40 # The user is always right.
     41 if test "${PATH_SEPARATOR+set}" != set; then
     42   echo "#! /bin/sh" >conf$$.sh
     43   echo  "exit 0"   >>conf$$.sh
     44   chmod +x conf$$.sh
     45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     46     PATH_SEPARATOR=';'
     47   else
     48     PATH_SEPARATOR=:
     49   fi
     50   rm -f conf$$.sh
     51 fi
     52 
     53 # Support unset when possible.
     54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     55   as_unset=unset
     56 else
     57   as_unset=false
     58 fi
     59 
     60 
     61 # IFS
     62 # We need space, tab and new line, in precisely that order.  Quoting is
     63 # there to prevent editors from complaining about space-tab.
     64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     65 # splitting by setting IFS to empty value.)
     66 as_nl='
     67 '
     68 IFS=" ""	$as_nl"
     69 
     70 # Find who we are.  Look in the path if we contain no directory separator.
     71 case $0 in
     72   *[\\/]* ) as_myself=$0 ;;
     73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     74 for as_dir in $PATH
     75 do
     76   IFS=$as_save_IFS
     77   test -z "$as_dir" && as_dir=.
     78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     79 done
     80 IFS=$as_save_IFS
     81 
     82      ;;
     83 esac
     84 # We did not find ourselves, most probably we were run as `sh COMMAND'
     85 # in which case we are not to be found in the path.
     86 if test "x$as_myself" = x; then
     87   as_myself=$0
     88 fi
     89 if test ! -f "$as_myself"; then
     90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     91   { (exit 1); exit 1; }
     92 fi
     93 
     94 # Work around bugs in pre-3.0 UWIN ksh.
     95 for as_var in ENV MAIL MAILPATH
     96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     97 done
     98 PS1='$ '
     99 PS2='> '
    100 PS4='+ '
    101 
    102 # NLS nuisances.
    103 for as_var in \
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    106   LC_TELEPHONE LC_TIME
    107 do
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    109     eval $as_var=C; export $as_var
    110   else
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    112   fi
    113 done
    114 
    115 # Required to use basename.
    116 if expr a : '\(a\)' >/dev/null 2>&1 &&
    117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    118   as_expr=expr
    119 else
    120   as_expr=false
    121 fi
    122 
    123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    124   as_basename=basename
    125 else
    126   as_basename=false
    127 fi
    128 
    129 
    130 # Name of the executable.
    131 as_me=`$as_basename -- "$0" ||
    132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    133 	 X"$0" : 'X\(//\)$' \| \
    134 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    135 echo X/"$0" |
    136     sed '/^.*\/\([^/][^/]*\)\/*$/{
    137 	    s//\1/
    138 	    q
    139 	  }
    140 	  /^X\/\(\/\/\)$/{
    141 	    s//\1/
    142 	    q
    143 	  }
    144 	  /^X\/\(\/\).*/{
    145 	    s//\1/
    146 	    q
    147 	  }
    148 	  s/.*/./; q'`
    149 
    150 # CDPATH.
    151 $as_unset CDPATH
    152 
    153 
    154 if test "x$CONFIG_SHELL" = x; then
    155   if (eval ":") 2>/dev/null; then
    156   as_have_required=yes
    157 else
    158   as_have_required=no
    159 fi
    160 
    161   if test $as_have_required = yes && 	 (eval ":
    162 (as_func_return () {
    163   (exit \$1)
    164 }
    165 as_func_success () {
    166   as_func_return 0
    167 }
    168 as_func_failure () {
    169   as_func_return 1
    170 }
    171 as_func_ret_success () {
    172   return 0
    173 }
    174 as_func_ret_failure () {
    175   return 1
    176 }
    177 
    178 exitcode=0
    179 if as_func_success; then
    180   :
    181 else
    182   exitcode=1
    183   echo as_func_success failed.
    184 fi
    185 
    186 if as_func_failure; then
    187   exitcode=1
    188   echo as_func_failure succeeded.
    189 fi
    190 
    191 if as_func_ret_success; then
    192   :
    193 else
    194   exitcode=1
    195   echo as_func_ret_success failed.
    196 fi
    197 
    198 if as_func_ret_failure; then
    199   exitcode=1
    200   echo as_func_ret_failure succeeded.
    201 fi
    202 
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    204   :
    205 else
    206   exitcode=1
    207   echo positional parameters were not saved.
    208 fi
    209 
    210 test \$exitcode = 0) || { (exit 1); exit 1; }
    211 
    212 (
    213   as_lineno_1=\$LINENO
    214   as_lineno_2=\$LINENO
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    217 ") 2> /dev/null; then
    218   :
    219 else
    220   as_candidate_shells=
    221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    223 do
    224   IFS=$as_save_IFS
    225   test -z "$as_dir" && as_dir=.
    226   case $as_dir in
    227 	 /*)
    228 	   for as_base in sh bash ksh sh5; do
    229 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    230 	   done;;
    231        esac
    232 done
    233 IFS=$as_save_IFS
    234 
    235 
    236       for as_shell in $as_candidate_shells $SHELL; do
    237 	 # Try only shells that exist, to save several forks.
    238 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    239 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    241   emulate sh
    242   NULLCMD=:
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    244   # is contrary to our usage.  Disable this feature.
    245   alias -g '${1+"$@"}'='"$@"'
    246   setopt NO_GLOB_SUBST
    247 else
    248   case `(set -o) 2>/dev/null` in
    249   *posix*) set -o posix ;;
    250 esac
    251 
    252 fi
    253 
    254 
    255 :
    256 _ASEOF
    257 }; then
    258   CONFIG_SHELL=$as_shell
    259 	       as_have_required=yes
    260 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 (as_func_return () {
    278   (exit $1)
    279 }
    280 as_func_success () {
    281   as_func_return 0
    282 }
    283 as_func_failure () {
    284   as_func_return 1
    285 }
    286 as_func_ret_success () {
    287   return 0
    288 }
    289 as_func_ret_failure () {
    290   return 1
    291 }
    292 
    293 exitcode=0
    294 if as_func_success; then
    295   :
    296 else
    297   exitcode=1
    298   echo as_func_success failed.
    299 fi
    300 
    301 if as_func_failure; then
    302   exitcode=1
    303   echo as_func_failure succeeded.
    304 fi
    305 
    306 if as_func_ret_success; then
    307   :
    308 else
    309   exitcode=1
    310   echo as_func_ret_success failed.
    311 fi
    312 
    313 if as_func_ret_failure; then
    314   exitcode=1
    315   echo as_func_ret_failure succeeded.
    316 fi
    317 
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then
    319   :
    320 else
    321   exitcode=1
    322   echo positional parameters were not saved.
    323 fi
    324 
    325 test $exitcode = 0) || { (exit 1); exit 1; }
    326 
    327 (
    328   as_lineno_1=$LINENO
    329   as_lineno_2=$LINENO
    330   test "x$as_lineno_1" != "x$as_lineno_2" &&
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    332 
    333 _ASEOF
    334 }; then
    335   break
    336 fi
    337 
    338 fi
    339 
    340       done
    341 
    342       if test "x$CONFIG_SHELL" != x; then
    343   for as_var in BASH_ENV ENV
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    345         done
    346         export CONFIG_SHELL
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    348 fi
    349 
    350 
    351     if test $as_have_required = no; then
    352   echo This script requires a shell more modern than all the
    353       echo shells that I found on your system.  Please install a
    354       echo modern shell, or manually run the script under such a
    355       echo shell if you do have one.
    356       { (exit 1); exit 1; }
    357 fi
    358 
    359 
    360 fi
    361 
    362 fi
    363 
    364 
    365 
    366 (eval "as_func_return () {
    367   (exit \$1)
    368 }
    369 as_func_success () {
    370   as_func_return 0
    371 }
    372 as_func_failure () {
    373   as_func_return 1
    374 }
    375 as_func_ret_success () {
    376   return 0
    377 }
    378 as_func_ret_failure () {
    379   return 1
    380 }
    381 
    382 exitcode=0
    383 if as_func_success; then
    384   :
    385 else
    386   exitcode=1
    387   echo as_func_success failed.
    388 fi
    389 
    390 if as_func_failure; then
    391   exitcode=1
    392   echo as_func_failure succeeded.
    393 fi
    394 
    395 if as_func_ret_success; then
    396   :
    397 else
    398   exitcode=1
    399   echo as_func_ret_success failed.
    400 fi
    401 
    402 if as_func_ret_failure; then
    403   exitcode=1
    404   echo as_func_ret_failure succeeded.
    405 fi
    406 
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    408   :
    409 else
    410   exitcode=1
    411   echo positional parameters were not saved.
    412 fi
    413 
    414 test \$exitcode = 0") || {
    415   echo No shell found that supports shell functions.
    416   echo Please tell autoconf@gnu.org about your system,
    417   echo including any error possibly output before this
    418   echo message
    419 }
    420 
    421 
    422 
    423   as_lineno_1=$LINENO
    424   as_lineno_2=$LINENO
    425   test "x$as_lineno_1" != "x$as_lineno_2" &&
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    427 
    428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    429   # uniformly replaced by the line number.  The first 'sed' inserts a
    430   # line-number line after each line using $LINENO; the second 'sed'
    431   # does the real work.  The second script uses 'N' to pair each
    432   # line-number line with the line containing $LINENO, and appends
    433   # trailing '-' during substitution so that $LINENO is not a special
    434   # case at line end.
    435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    437   # E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    455    { (exit 1); exit 1; }; }
    456 
    457   # Don't try to exec as it changes $[0], causing all sort of problems
    458   # (the dirname of $[0] is not the place where we might find the
    459   # original and so on.  Autoconf is especially sensitive to this).
    460   . "./$as_me.lineno"
    461   # Exit status is that of the last command.
    462   exit
    463 }
    464 
    465 
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    467   as_dirname=dirname
    468 else
    469   as_dirname=false
    470 fi
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in
    474 -n*)
    475   case `echo 'x\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   *)   ECHO_C='\c';;
    478   esac;;
    479 *)
    480   ECHO_N='-n';;
    481 esac
    482 
    483 if expr a : '\(a\)' >/dev/null 2>&1 &&
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    485   as_expr=expr
    486 else
    487   as_expr=false
    488 fi
    489 
    490 rm -f conf$$ conf$$.exe conf$$.file
    491 if test -d conf$$.dir; then
    492   rm -f conf$$.dir/conf$$.file
    493 else
    494   rm -f conf$$.dir
    495   mkdir conf$$.dir
    496 fi
    497 echo >conf$$.file
    498 if ln -s conf$$.file conf$$ 2>/dev/null; then
    499   as_ln_s='ln -s'
    500   # ... but there are two gotchas:
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    503   # In both cases, we have to default to `cp -p'.
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    505     as_ln_s='cp -p'
    506 elif ln conf$$.file conf$$ 2>/dev/null; then
    507   as_ln_s=ln
    508 else
    509   as_ln_s='cp -p'
    510 fi
    511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    512 rmdir conf$$.dir 2>/dev/null
    513 
    514 if mkdir -p . 2>/dev/null; then
    515   as_mkdir_p=:
    516 else
    517   test -d ./-p && rmdir ./-p
    518   as_mkdir_p=false
    519 fi
    520 
    521 if test -x / >/dev/null 2>&1; then
    522   as_test_x='test -x'
    523 else
    524   if ls -dL / >/dev/null 2>&1; then
    525     as_ls_L_option=L
    526   else
    527     as_ls_L_option=
    528   fi
    529   as_test_x='
    530     eval sh -c '\''
    531       if test -d "$1"; then
    532         test -d "$1/.";
    533       else
    534 	case $1 in
    535         -*)set "./$1";;
    536 	esac;
    537 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    538 	???[sx]*):;;*)false;;esac;fi
    539     '\'' sh
    540   '
    541 fi
    542 as_executable_p=$as_test_x
    543 
    544 # Sed expression to map a string onto a valid CPP name.
    545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    546 
    547 # Sed expression to map a string onto a valid variable name.
    548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    549 
    550 
    551 
    552 
    553 # Check that we are running under the correct shell.
    554 SHELL=${CONFIG_SHELL-/bin/sh}
    555 
    556 case X$ECHO in
    557 X*--fallback-echo)
    558   # Remove one level of quotation (which was required for Make).
    559   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    560   ;;
    561 esac
    562 
    563 echo=${ECHO-echo}
    564 if test "X$1" = X--no-reexec; then
    565   # Discard the --no-reexec flag, and continue.
    566   shift
    567 elif test "X$1" = X--fallback-echo; then
    568   # Avoid inline document here, it may be left over
    569   :
    570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    571   # Yippee, $echo works!
    572   :
    573 else
    574   # Restart under the correct shell.
    575   exec $SHELL "$0" --no-reexec ${1+"$@"}
    576 fi
    577 
    578 if test "X$1" = X--fallback-echo; then
    579   # used as fallback echo
    580   shift
    581   cat <<EOF
    582 $*
    583 EOF
    584   exit 0
    585 fi
    586 
    587 # The HP-UX ksh and POSIX shell print the target directory to stdout
    588 # if CDPATH is set.
    589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    590 
    591 if test -z "$ECHO"; then
    592 if test "X${echo_test_string+set}" != Xset; then
    593 # find a string as large as possible, as long as the shell can cope with it
    594   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    595     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    596     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    597        echo_test_string=`eval $cmd` &&
    598        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    599     then
    600       break
    601     fi
    602   done
    603 fi
    604 
    605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    606    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    607    test "X$echo_testing_string" = "X$echo_test_string"; then
    608   :
    609 else
    610   # The Solaris, AIX, and Digital Unix default echo programs unquote
    611   # backslashes.  This makes it impossible to quote backslashes using
    612   #   echo "$something" | sed 's/\\/\\\\/g'
    613   #
    614   # So, first we look for a working echo in the user's PATH.
    615 
    616   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    617   for dir in $PATH /usr/ucb; do
    618     IFS="$lt_save_ifs"
    619     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    620        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    621        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    622        test "X$echo_testing_string" = "X$echo_test_string"; then
    623       echo="$dir/echo"
    624       break
    625     fi
    626   done
    627   IFS="$lt_save_ifs"
    628 
    629   if test "X$echo" = Xecho; then
    630     # We didn't find a better echo, so look for alternatives.
    631     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    632        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    633        test "X$echo_testing_string" = "X$echo_test_string"; then
    634       # This shell has a builtin print -r that does the trick.
    635       echo='print -r'
    636     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    637 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    638       # If we have ksh, try running configure again with it.
    639       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    640       export ORIGINAL_CONFIG_SHELL
    641       CONFIG_SHELL=/bin/ksh
    642       export CONFIG_SHELL
    643       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    644     else
    645       # Try using printf.
    646       echo='printf %s\n'
    647       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    648 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    649 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    650 	# Cool, printf works
    651 	:
    652       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    653 	   test "X$echo_testing_string" = 'X\t' &&
    654 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    655 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    656 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    657 	export CONFIG_SHELL
    658 	SHELL="$CONFIG_SHELL"
    659 	export SHELL
    660 	echo="$CONFIG_SHELL $0 --fallback-echo"
    661       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    662 	   test "X$echo_testing_string" = 'X\t' &&
    663 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    664 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    665 	echo="$CONFIG_SHELL $0 --fallback-echo"
    666       else
    667 	# maybe with a smaller string...
    668 	prev=:
    669 
    670 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    671 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    672 	  then
    673 	    break
    674 	  fi
    675 	  prev="$cmd"
    676 	done
    677 
    678 	if test "$prev" != 'sed 50q "$0"'; then
    679 	  echo_test_string=`eval $prev`
    680 	  export echo_test_string
    681 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    682 	else
    683 	  # Oops.  We lost completely, so just stick with echo.
    684 	  echo=echo
    685 	fi
    686       fi
    687     fi
    688   fi
    689 fi
    690 fi
    691 
    692 # Copy echo and quote the copy suitably for passing to libtool from
    693 # the Makefile, instead of quoting the original, which is used later.
    694 ECHO=$echo
    695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    696    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    697 fi
    698 
    699 
    700 
    701 
    702 tagnames=${tagnames+${tagnames},}CXX
    703 
    704 tagnames=${tagnames+${tagnames},}F77
    705 
    706 exec 7<&0 </dev/null 6>&1
    707 
    708 # Name of the host.
    709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    710 # so uname gets run too.
    711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    712 
    713 #
    714 # Initializations.
    715 #
    716 ac_default_prefix=/usr/local
    717 ac_clean_files=
    718 ac_config_libobj_dir=.
    719 LIBOBJS=
    720 cross_compiling=no
    721 subdirs=
    722 MFLAGS=
    723 MAKEFLAGS=
    724 SHELL=${CONFIG_SHELL-/bin/sh}
    725 
    726 # Identity of this package.
    727 PACKAGE_NAME=
    728 PACKAGE_TARNAME=
    729 PACKAGE_VERSION=
    730 PACKAGE_STRING=
    731 PACKAGE_BUGREPORT=
    732 
    733 ac_unique_file="vasprintf.c"
    734 # Factoring default headers for most tests.
    735 ac_includes_default="\
    736 #include <stdio.h>
    737 #ifdef HAVE_SYS_TYPES_H
    738 # include <sys/types.h>
    739 #endif
    740 #ifdef HAVE_SYS_STAT_H
    741 # include <sys/stat.h>
    742 #endif
    743 #ifdef STDC_HEADERS
    744 # include <stdlib.h>
    745 # include <stddef.h>
    746 #else
    747 # ifdef HAVE_STDLIB_H
    748 #  include <stdlib.h>
    749 # endif
    750 #endif
    751 #ifdef HAVE_STRING_H
    752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    753 #  include <memory.h>
    754 # endif
    755 # include <string.h>
    756 #endif
    757 #ifdef HAVE_STRINGS_H
    758 # include <strings.h>
    759 #endif
    760 #ifdef HAVE_INTTYPES_H
    761 # include <inttypes.h>
    762 #endif
    763 #ifdef HAVE_STDINT_H
    764 # include <stdint.h>
    765 #endif
    766 #ifdef HAVE_UNISTD_H
    767 # include <unistd.h>
    768 #endif"
    769 
    770 ac_subst_vars='SHELL
    771 PATH_SEPARATOR
    772 PACKAGE_NAME
    773 PACKAGE_TARNAME
    774 PACKAGE_VERSION
    775 PACKAGE_STRING
    776 PACKAGE_BUGREPORT
    777 exec_prefix
    778 prefix
    779 program_transform_name
    780 bindir
    781 sbindir
    782 libexecdir
    783 datarootdir
    784 datadir
    785 sysconfdir
    786 sharedstatedir
    787 localstatedir
    788 includedir
    789 oldincludedir
    790 docdir
    791 infodir
    792 htmldir
    793 dvidir
    794 pdfdir
    795 psdir
    796 libdir
    797 localedir
    798 mandir
    799 DEFS
    800 ECHO_C
    801 ECHO_N
    802 ECHO_T
    803 LIBS
    804 build_alias
    805 host_alias
    806 target_alias
    807 INSTALL_PROGRAM
    808 INSTALL_SCRIPT
    809 INSTALL_DATA
    810 am__isrc
    811 CYGPATH_W
    812 PACKAGE
    813 VERSION
    814 ACLOCAL
    815 AUTOCONF
    816 AUTOMAKE
    817 AUTOHEADER
    818 MAKEINFO
    819 install_sh
    820 STRIP
    821 INSTALL_STRIP_PROGRAM
    822 mkdir_p
    823 AWK
    824 SET_MAKE
    825 am__leading_dot
    826 AMTAR
    827 am__tar
    828 am__untar
    829 CC
    830 CFLAGS
    831 LDFLAGS
    832 CPPFLAGS
    833 ac_ct_CC
    834 EXEEXT
    835 OBJEXT
    836 DEPDIR
    837 am__include
    838 am__quote
    839 AMDEP_TRUE
    840 AMDEP_FALSE
    841 AMDEPBACKSLASH
    842 CCDEPMODE
    843 am__fastdepCC_TRUE
    844 am__fastdepCC_FALSE
    845 CXX
    846 CXXFLAGS
    847 ac_ct_CXX
    848 CXXDEPMODE
    849 am__fastdepCXX_TRUE
    850 am__fastdepCXX_FALSE
    851 build
    852 build_cpu
    853 build_vendor
    854 build_os
    855 host
    856 host_cpu
    857 host_vendor
    858 host_os
    859 GREP
    860 EGREP
    861 LN_S
    862 ECHO
    863 AR
    864 RANLIB
    865 DLLTOOL
    866 AS
    867 OBJDUMP
    868 CPP
    869 CXXCPP
    870 F77
    871 FFLAGS
    872 ac_ct_F77
    873 LIBTOOL
    874 LTNOUNDEF
    875 ALLOCA
    876 ALLOCA_H
    877 DVIPS
    878 TEXI2PDF
    879 PERL
    880 LIBOBJS
    881 LTLIBOBJS'
    882 ac_subst_files=''
    883       ac_precious_vars='build_alias
    884 host_alias
    885 target_alias
    886 CC
    887 CFLAGS
    888 LDFLAGS
    889 LIBS
    890 CPPFLAGS
    891 CXX
    892 CXXFLAGS
    893 CCC
    894 CPP
    895 CXXCPP
    896 F77
    897 FFLAGS'
    898 
    899 
    900 # Initialize some variables set by options.
    901 ac_init_help=
    902 ac_init_version=false
    903 # The variables have the same names as the options, with
    904 # dashes changed to underlines.
    905 cache_file=/dev/null
    906 exec_prefix=NONE
    907 no_create=
    908 no_recursion=
    909 prefix=NONE
    910 program_prefix=NONE
    911 program_suffix=NONE
    912 program_transform_name=s,x,x,
    913 silent=
    914 site=
    915 srcdir=
    916 verbose=
    917 x_includes=NONE
    918 x_libraries=NONE
    919 
    920 # Installation directory options.
    921 # These are left unexpanded so users can "make install exec_prefix=/foo"
    922 # and all the variables that are supposed to be based on exec_prefix
    923 # by default will actually change.
    924 # Use braces instead of parens because sh, perl, etc. also accept them.
    925 # (The list follows the same order as the GNU Coding Standards.)
    926 bindir='${exec_prefix}/bin'
    927 sbindir='${exec_prefix}/sbin'
    928 libexecdir='${exec_prefix}/libexec'
    929 datarootdir='${prefix}/share'
    930 datadir='${datarootdir}'
    931 sysconfdir='${prefix}/etc'
    932 sharedstatedir='${prefix}/com'
    933 localstatedir='${prefix}/var'
    934 includedir='${prefix}/include'
    935 oldincludedir='/usr/include'
    936 docdir='${datarootdir}/doc/${PACKAGE}'
    937 infodir='${datarootdir}/info'
    938 htmldir='${docdir}'
    939 dvidir='${docdir}'
    940 pdfdir='${docdir}'
    941 psdir='${docdir}'
    942 libdir='${exec_prefix}/lib'
    943 localedir='${datarootdir}/locale'
    944 mandir='${datarootdir}/man'
    945 
    946 ac_prev=
    947 ac_dashdash=
    948 for ac_option
    949 do
    950   # If the previous option needs an argument, assign it.
    951   if test -n "$ac_prev"; then
    952     eval $ac_prev=\$ac_option
    953     ac_prev=
    954     continue
    955   fi
    956 
    957   case $ac_option in
    958   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    959   *)	ac_optarg=yes ;;
    960   esac
    961 
    962   # Accept the important Cygnus configure options, so we can diagnose typos.
    963 
    964   case $ac_dashdash$ac_option in
    965   --)
    966     ac_dashdash=yes ;;
    967 
    968   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    969     ac_prev=bindir ;;
    970   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    971     bindir=$ac_optarg ;;
    972 
    973   -build | --build | --buil | --bui | --bu)
    974     ac_prev=build_alias ;;
    975   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    976     build_alias=$ac_optarg ;;
    977 
    978   -cache-file | --cache-file | --cache-fil | --cache-fi \
    979   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    980     ac_prev=cache_file ;;
    981   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    982   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    983     cache_file=$ac_optarg ;;
    984 
    985   --config-cache | -C)
    986     cache_file=config.cache ;;
    987 
    988   -datadir | --datadir | --datadi | --datad)
    989     ac_prev=datadir ;;
    990   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    991     datadir=$ac_optarg ;;
    992 
    993   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    994   | --dataroo | --dataro | --datar)
    995     ac_prev=datarootdir ;;
    996   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    997   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    998     datarootdir=$ac_optarg ;;
    999 
   1000   -disable-* | --disable-*)
   1001     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1002     # Reject names that are not valid shell variable names.
   1003     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1004       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1005    { (exit 1); exit 1; }; }
   1006     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1007     eval enable_$ac_feature=no ;;
   1008 
   1009   -docdir | --docdir | --docdi | --doc | --do)
   1010     ac_prev=docdir ;;
   1011   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1012     docdir=$ac_optarg ;;
   1013 
   1014   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1015     ac_prev=dvidir ;;
   1016   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1017     dvidir=$ac_optarg ;;
   1018 
   1019   -enable-* | --enable-*)
   1020     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1021     # Reject names that are not valid shell variable names.
   1022     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1023       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1024    { (exit 1); exit 1; }; }
   1025     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1026     eval enable_$ac_feature=\$ac_optarg ;;
   1027 
   1028   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1029   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1030   | --exec | --exe | --ex)
   1031     ac_prev=exec_prefix ;;
   1032   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1033   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1034   | --exec=* | --exe=* | --ex=*)
   1035     exec_prefix=$ac_optarg ;;
   1036 
   1037   -gas | --gas | --ga | --g)
   1038     # Obsolete; use --with-gas.
   1039     with_gas=yes ;;
   1040 
   1041   -help | --help | --hel | --he | -h)
   1042     ac_init_help=long ;;
   1043   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1044     ac_init_help=recursive ;;
   1045   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1046     ac_init_help=short ;;
   1047 
   1048   -host | --host | --hos | --ho)
   1049     ac_prev=host_alias ;;
   1050   -host=* | --host=* | --hos=* | --ho=*)
   1051     host_alias=$ac_optarg ;;
   1052 
   1053   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1054     ac_prev=htmldir ;;
   1055   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1056   | --ht=*)
   1057     htmldir=$ac_optarg ;;
   1058 
   1059   -includedir | --includedir | --includedi | --included | --include \
   1060   | --includ | --inclu | --incl | --inc)
   1061     ac_prev=includedir ;;
   1062   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1063   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1064     includedir=$ac_optarg ;;
   1065 
   1066   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1067     ac_prev=infodir ;;
   1068   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1069     infodir=$ac_optarg ;;
   1070 
   1071   -libdir | --libdir | --libdi | --libd)
   1072     ac_prev=libdir ;;
   1073   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1074     libdir=$ac_optarg ;;
   1075 
   1076   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1077   | --libexe | --libex | --libe)
   1078     ac_prev=libexecdir ;;
   1079   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1080   | --libexe=* | --libex=* | --libe=*)
   1081     libexecdir=$ac_optarg ;;
   1082 
   1083   -localedir | --localedir | --localedi | --localed | --locale)
   1084     ac_prev=localedir ;;
   1085   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1086     localedir=$ac_optarg ;;
   1087 
   1088   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1089   | --localstate | --localstat | --localsta | --localst | --locals)
   1090     ac_prev=localstatedir ;;
   1091   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1092   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1093     localstatedir=$ac_optarg ;;
   1094 
   1095   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1096     ac_prev=mandir ;;
   1097   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1098     mandir=$ac_optarg ;;
   1099 
   1100   -nfp | --nfp | --nf)
   1101     # Obsolete; use --without-fp.
   1102     with_fp=no ;;
   1103 
   1104   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1105   | --no-cr | --no-c | -n)
   1106     no_create=yes ;;
   1107 
   1108   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1109   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1110     no_recursion=yes ;;
   1111 
   1112   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1113   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1114   | --oldin | --oldi | --old | --ol | --o)
   1115     ac_prev=oldincludedir ;;
   1116   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1117   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1118   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1119     oldincludedir=$ac_optarg ;;
   1120 
   1121   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1122     ac_prev=prefix ;;
   1123   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1124     prefix=$ac_optarg ;;
   1125 
   1126   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1127   | --program-pre | --program-pr | --program-p)
   1128     ac_prev=program_prefix ;;
   1129   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1130   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1131     program_prefix=$ac_optarg ;;
   1132 
   1133   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1134   | --program-suf | --program-su | --program-s)
   1135     ac_prev=program_suffix ;;
   1136   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1137   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1138     program_suffix=$ac_optarg ;;
   1139 
   1140   -program-transform-name | --program-transform-name \
   1141   | --program-transform-nam | --program-transform-na \
   1142   | --program-transform-n | --program-transform- \
   1143   | --program-transform | --program-transfor \
   1144   | --program-transfo | --program-transf \
   1145   | --program-trans | --program-tran \
   1146   | --progr-tra | --program-tr | --program-t)
   1147     ac_prev=program_transform_name ;;
   1148   -program-transform-name=* | --program-transform-name=* \
   1149   | --program-transform-nam=* | --program-transform-na=* \
   1150   | --program-transform-n=* | --program-transform-=* \
   1151   | --program-transform=* | --program-transfor=* \
   1152   | --program-transfo=* | --program-transf=* \
   1153   | --program-trans=* | --program-tran=* \
   1154   | --progr-tra=* | --program-tr=* | --program-t=*)
   1155     program_transform_name=$ac_optarg ;;
   1156 
   1157   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1158     ac_prev=pdfdir ;;
   1159   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1160     pdfdir=$ac_optarg ;;
   1161 
   1162   -psdir | --psdir | --psdi | --psd | --ps)
   1163     ac_prev=psdir ;;
   1164   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1165     psdir=$ac_optarg ;;
   1166 
   1167   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1168   | -silent | --silent | --silen | --sile | --sil)
   1169     silent=yes ;;
   1170 
   1171   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1172     ac_prev=sbindir ;;
   1173   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1174   | --sbi=* | --sb=*)
   1175     sbindir=$ac_optarg ;;
   1176 
   1177   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1178   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1179   | --sharedst | --shareds | --shared | --share | --shar \
   1180   | --sha | --sh)
   1181     ac_prev=sharedstatedir ;;
   1182   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1183   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1184   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1185   | --sha=* | --sh=*)
   1186     sharedstatedir=$ac_optarg ;;
   1187 
   1188   -site | --site | --sit)
   1189     ac_prev=site ;;
   1190   -site=* | --site=* | --sit=*)
   1191     site=$ac_optarg ;;
   1192 
   1193   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1194     ac_prev=srcdir ;;
   1195   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1196     srcdir=$ac_optarg ;;
   1197 
   1198   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1199   | --syscon | --sysco | --sysc | --sys | --sy)
   1200     ac_prev=sysconfdir ;;
   1201   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1202   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1203     sysconfdir=$ac_optarg ;;
   1204 
   1205   -target | --target | --targe | --targ | --tar | --ta | --t)
   1206     ac_prev=target_alias ;;
   1207   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1208     target_alias=$ac_optarg ;;
   1209 
   1210   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1211     verbose=yes ;;
   1212 
   1213   -version | --version | --versio | --versi | --vers | -V)
   1214     ac_init_version=: ;;
   1215 
   1216   -with-* | --with-*)
   1217     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1218     # Reject names that are not valid shell variable names.
   1219     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1220       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1221    { (exit 1); exit 1; }; }
   1222     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1223     eval with_$ac_package=\$ac_optarg ;;
   1224 
   1225   -without-* | --without-*)
   1226     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1227     # Reject names that are not valid shell variable names.
   1228     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1229       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1230    { (exit 1); exit 1; }; }
   1231     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1232     eval with_$ac_package=no ;;
   1233 
   1234   --x)
   1235     # Obsolete; use --with-x.
   1236     with_x=yes ;;
   1237 
   1238   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1239   | --x-incl | --x-inc | --x-in | --x-i)
   1240     ac_prev=x_includes ;;
   1241   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1242   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1243     x_includes=$ac_optarg ;;
   1244 
   1245   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1246   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1247     ac_prev=x_libraries ;;
   1248   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1249   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1250     x_libraries=$ac_optarg ;;
   1251 
   1252   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1253 Try \`$0 --help' for more information." >&2
   1254    { (exit 1); exit 1; }; }
   1255     ;;
   1256 
   1257   *=*)
   1258     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1259     # Reject names that are not valid shell variable names.
   1260     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1261       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1262    { (exit 1); exit 1; }; }
   1263     eval $ac_envvar=\$ac_optarg
   1264     export $ac_envvar ;;
   1265 
   1266   *)
   1267     # FIXME: should be removed in autoconf 3.0.
   1268     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1269     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1270       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1271     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1272     ;;
   1273 
   1274   esac
   1275 done
   1276 
   1277 if test -n "$ac_prev"; then
   1278   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1279   { echo "$as_me: error: missing argument to $ac_option" >&2
   1280    { (exit 1); exit 1; }; }
   1281 fi
   1282 
   1283 # Be sure to have absolute directory names.
   1284 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1285 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1286 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1287 		libdir localedir mandir
   1288 do
   1289   eval ac_val=\$$ac_var
   1290   case $ac_val in
   1291     [\\/$]* | ?:[\\/]* )  continue;;
   1292     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1293   esac
   1294   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1295    { (exit 1); exit 1; }; }
   1296 done
   1297 
   1298 # There might be people who depend on the old broken behavior: `$host'
   1299 # used to hold the argument of --host etc.
   1300 # FIXME: To remove some day.
   1301 build=$build_alias
   1302 host=$host_alias
   1303 target=$target_alias
   1304 
   1305 # FIXME: To remove some day.
   1306 if test "x$host_alias" != x; then
   1307   if test "x$build_alias" = x; then
   1308     cross_compiling=maybe
   1309     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1310     If a cross compiler is detected then cross compile mode will be used." >&2
   1311   elif test "x$build_alias" != "x$host_alias"; then
   1312     cross_compiling=yes
   1313   fi
   1314 fi
   1315 
   1316 ac_tool_prefix=
   1317 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1318 
   1319 test "$silent" = yes && exec 6>/dev/null
   1320 
   1321 
   1322 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1323 ac_ls_di=`ls -di .` &&
   1324 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1325   { echo "$as_me: error: Working directory cannot be determined" >&2
   1326    { (exit 1); exit 1; }; }
   1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1328   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1329    { (exit 1); exit 1; }; }
   1330 
   1331 
   1332 # Find the source files, if location was not specified.
   1333 if test -z "$srcdir"; then
   1334   ac_srcdir_defaulted=yes
   1335   # Try the directory containing this script, then the parent directory.
   1336   ac_confdir=`$as_dirname -- "$0" ||
   1337 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1338 	 X"$0" : 'X\(//\)[^/]' \| \
   1339 	 X"$0" : 'X\(//\)$' \| \
   1340 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1341 echo X"$0" |
   1342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\/\)[^/].*/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\/\)$/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\).*/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  s/.*/./; q'`
   1359   srcdir=$ac_confdir
   1360   if test ! -r "$srcdir/$ac_unique_file"; then
   1361     srcdir=..
   1362   fi
   1363 else
   1364   ac_srcdir_defaulted=no
   1365 fi
   1366 if test ! -r "$srcdir/$ac_unique_file"; then
   1367   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1368   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1369    { (exit 1); exit 1; }; }
   1370 fi
   1371 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1372 ac_abs_confdir=`(
   1373 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1374    { (exit 1); exit 1; }; }
   1375 	pwd)`
   1376 # When building in place, set srcdir=.
   1377 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1378   srcdir=.
   1379 fi
   1380 # Remove unnecessary trailing slashes from srcdir.
   1381 # Double slashes in file names in object file debugging info
   1382 # mess up M-x gdb in Emacs.
   1383 case $srcdir in
   1384 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1385 esac
   1386 for ac_var in $ac_precious_vars; do
   1387   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1388   eval ac_env_${ac_var}_value=\$${ac_var}
   1389   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1390   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1391 done
   1392 
   1393 #
   1394 # Report the --help message.
   1395 #
   1396 if test "$ac_init_help" = "long"; then
   1397   # Omit some internal or obsolete options to make the list less imposing.
   1398   # This message is too long to be a string in the A/UX 3.1 sh.
   1399   cat <<_ACEOF
   1400 \`configure' configures this package to adapt to many kinds of systems.
   1401 
   1402 Usage: $0 [OPTION]... [VAR=VALUE]...
   1403 
   1404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1405 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1406 
   1407 Defaults for the options are specified in brackets.
   1408 
   1409 Configuration:
   1410   -h, --help              display this help and exit
   1411       --help=short        display options specific to this package
   1412       --help=recursive    display the short help of all the included packages
   1413   -V, --version           display version information and exit
   1414   -q, --quiet, --silent   do not print \`checking...' messages
   1415       --cache-file=FILE   cache test results in FILE [disabled]
   1416   -C, --config-cache      alias for \`--cache-file=config.cache'
   1417   -n, --no-create         do not create output files
   1418       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1419 
   1420 Installation directories:
   1421   --prefix=PREFIX         install architecture-independent files in PREFIX
   1422 			  [$ac_default_prefix]
   1423   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1424 			  [PREFIX]
   1425 
   1426 By default, \`make install' will install all the files in
   1427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1429 for instance \`--prefix=\$HOME'.
   1430 
   1431 For better control, use the options below.
   1432 
   1433 Fine tuning of the installation directories:
   1434   --bindir=DIR           user executables [EPREFIX/bin]
   1435   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1436   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1437   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1438   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1439   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1440   --libdir=DIR           object code libraries [EPREFIX/lib]
   1441   --includedir=DIR       C header files [PREFIX/include]
   1442   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1443   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1444   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1445   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1446   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1447   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1448   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
   1449   --htmldir=DIR          html documentation [DOCDIR]
   1450   --dvidir=DIR           dvi documentation [DOCDIR]
   1451   --pdfdir=DIR           pdf documentation [DOCDIR]
   1452   --psdir=DIR            ps documentation [DOCDIR]
   1453 _ACEOF
   1454 
   1455   cat <<\_ACEOF
   1456 
   1457 Program names:
   1458   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1459   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1460   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1461 
   1462 System types:
   1463   --build=BUILD     configure for building on BUILD [guessed]
   1464   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1465 _ACEOF
   1466 fi
   1467 
   1468 if test -n "$ac_init_help"; then
   1469 
   1470   cat <<\_ACEOF
   1471 
   1472 Optional Features:
   1473   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1474   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1475   --disable-dependency-tracking  speeds up one-time build
   1476   --enable-dependency-tracking   do not reject slow dependency extractors
   1477   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1478   --enable-static[=PKGS]  build static libraries [default=yes]
   1479   --enable-fast-install[=PKGS]
   1480                           optimize for fast installation [default=yes]
   1481   --disable-libtool-lock  avoid locking (might break parallel builds)
   1482 
   1483 Optional Packages:
   1484   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1485   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1486   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1487   --with-pic              try to use only PIC/non-PIC objects [default=use
   1488                           both]
   1489   --with-tags[=TAGS]      include additional configurations [automatic]
   1490 
   1491 Some influential environment variables:
   1492   CC          C compiler command
   1493   CFLAGS      C compiler flags
   1494   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1495               nonstandard directory <lib dir>
   1496   LIBS        libraries to pass to the linker, e.g. -l<library>
   1497   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1498               you have headers in a nonstandard directory <include dir>
   1499   CXX         C++ compiler command
   1500   CXXFLAGS    C++ compiler flags
   1501   CPP         C preprocessor
   1502   CXXCPP      C++ preprocessor
   1503   F77         Fortran 77 compiler command
   1504   FFLAGS      Fortran 77 compiler flags
   1505 
   1506 Use these variables to override the choices made by `configure' or to help
   1507 it to find libraries and programs with nonstandard names/locations.
   1508 
   1509 _ACEOF
   1510 ac_status=$?
   1511 fi
   1512 
   1513 if test "$ac_init_help" = "recursive"; then
   1514   # If there are subdirs, report their specific --help.
   1515   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1516     test -d "$ac_dir" || continue
   1517     ac_builddir=.
   1518 
   1519 case "$ac_dir" in
   1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1521 *)
   1522   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1523   # A ".." for each directory in $ac_dir_suffix.
   1524   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1525   case $ac_top_builddir_sub in
   1526   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1527   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1528   esac ;;
   1529 esac
   1530 ac_abs_top_builddir=$ac_pwd
   1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1532 # for backward compatibility:
   1533 ac_top_builddir=$ac_top_build_prefix
   1534 
   1535 case $srcdir in
   1536   .)  # We are building in place.
   1537     ac_srcdir=.
   1538     ac_top_srcdir=$ac_top_builddir_sub
   1539     ac_abs_top_srcdir=$ac_pwd ;;
   1540   [\\/]* | ?:[\\/]* )  # Absolute name.
   1541     ac_srcdir=$srcdir$ac_dir_suffix;
   1542     ac_top_srcdir=$srcdir
   1543     ac_abs_top_srcdir=$srcdir ;;
   1544   *) # Relative name.
   1545     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1546     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1547     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1548 esac
   1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1550 
   1551     cd "$ac_dir" || { ac_status=$?; continue; }
   1552     # Check for guested configure.
   1553     if test -f "$ac_srcdir/configure.gnu"; then
   1554       echo &&
   1555       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1556     elif test -f "$ac_srcdir/configure"; then
   1557       echo &&
   1558       $SHELL "$ac_srcdir/configure" --help=recursive
   1559     else
   1560       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1561     fi || ac_status=$?
   1562     cd "$ac_pwd" || { ac_status=$?; break; }
   1563   done
   1564 fi
   1565 
   1566 test -n "$ac_init_help" && exit $ac_status
   1567 if $ac_init_version; then
   1568   cat <<\_ACEOF
   1569 configure
   1570 generated by GNU Autoconf 2.61
   1571 
   1572 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1573 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1574 This configure script is free software; the Free Software Foundation
   1575 gives unlimited permission to copy, distribute and modify it.
   1576 _ACEOF
   1577   exit
   1578 fi
   1579 cat >config.log <<_ACEOF
   1580 This file contains any messages produced by compilers while
   1581 running configure, to aid debugging if configure makes a mistake.
   1582 
   1583 It was created by $as_me, which was
   1584 generated by GNU Autoconf 2.61.  Invocation command line was
   1585 
   1586   $ $0 $@
   1587 
   1588 _ACEOF
   1589 exec 5>>config.log
   1590 {
   1591 cat <<_ASUNAME
   1592 ## --------- ##
   1593 ## Platform. ##
   1594 ## --------- ##
   1595 
   1596 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1597 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1598 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1599 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1600 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1601 
   1602 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1603 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1604 
   1605 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1606 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1607 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1608 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1609 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1610 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1611 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1612 
   1613 _ASUNAME
   1614 
   1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1616 for as_dir in $PATH
   1617 do
   1618   IFS=$as_save_IFS
   1619   test -z "$as_dir" && as_dir=.
   1620   echo "PATH: $as_dir"
   1621 done
   1622 IFS=$as_save_IFS
   1623 
   1624 } >&5
   1625 
   1626 cat >&5 <<_ACEOF
   1627 
   1628 
   1629 ## ----------- ##
   1630 ## Core tests. ##
   1631 ## ----------- ##
   1632 
   1633 _ACEOF
   1634 
   1635 
   1636 # Keep a trace of the command line.
   1637 # Strip out --no-create and --no-recursion so they do not pile up.
   1638 # Strip out --silent because we don't want to record it for future runs.
   1639 # Also quote any args containing shell meta-characters.
   1640 # Make two passes to allow for proper duplicate-argument suppression.
   1641 ac_configure_args=
   1642 ac_configure_args0=
   1643 ac_configure_args1=
   1644 ac_must_keep_next=false
   1645 for ac_pass in 1 2
   1646 do
   1647   for ac_arg
   1648   do
   1649     case $ac_arg in
   1650     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1651     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1652     | -silent | --silent | --silen | --sile | --sil)
   1653       continue ;;
   1654     *\'*)
   1655       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1656     esac
   1657     case $ac_pass in
   1658     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1659     2)
   1660       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1661       if test $ac_must_keep_next = true; then
   1662 	ac_must_keep_next=false # Got value, back to normal.
   1663       else
   1664 	case $ac_arg in
   1665 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1666 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1667 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1668 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1669 	    case "$ac_configure_args0 " in
   1670 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1671 	    esac
   1672 	    ;;
   1673 	  -* ) ac_must_keep_next=true ;;
   1674 	esac
   1675       fi
   1676       ac_configure_args="$ac_configure_args '$ac_arg'"
   1677       ;;
   1678     esac
   1679   done
   1680 done
   1681 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1682 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1683 
   1684 # When interrupted or exit'd, cleanup temporary files, and complete
   1685 # config.log.  We remove comments because anyway the quotes in there
   1686 # would cause problems or look ugly.
   1687 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1689 trap 'exit_status=$?
   1690   # Save into config.log some information that might help in debugging.
   1691   {
   1692     echo
   1693 
   1694     cat <<\_ASBOX
   1695 ## ---------------- ##
   1696 ## Cache variables. ##
   1697 ## ---------------- ##
   1698 _ASBOX
   1699     echo
   1700     # The following way of writing the cache mishandles newlines in values,
   1701 (
   1702   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1703     eval ac_val=\$$ac_var
   1704     case $ac_val in #(
   1705     *${as_nl}*)
   1706       case $ac_var in #(
   1707       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1708 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1709       esac
   1710       case $ac_var in #(
   1711       _ | IFS | as_nl) ;; #(
   1712       *) $as_unset $ac_var ;;
   1713       esac ;;
   1714     esac
   1715   done
   1716   (set) 2>&1 |
   1717     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1718     *${as_nl}ac_space=\ *)
   1719       sed -n \
   1720 	"s/'\''/'\''\\\\'\'''\''/g;
   1721 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1722       ;; #(
   1723     *)
   1724       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1725       ;;
   1726     esac |
   1727     sort
   1728 )
   1729     echo
   1730 
   1731     cat <<\_ASBOX
   1732 ## ----------------- ##
   1733 ## Output variables. ##
   1734 ## ----------------- ##
   1735 _ASBOX
   1736     echo
   1737     for ac_var in $ac_subst_vars
   1738     do
   1739       eval ac_val=\$$ac_var
   1740       case $ac_val in
   1741       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1742       esac
   1743       echo "$ac_var='\''$ac_val'\''"
   1744     done | sort
   1745     echo
   1746 
   1747     if test -n "$ac_subst_files"; then
   1748       cat <<\_ASBOX
   1749 ## ------------------- ##
   1750 ## File substitutions. ##
   1751 ## ------------------- ##
   1752 _ASBOX
   1753       echo
   1754       for ac_var in $ac_subst_files
   1755       do
   1756 	eval ac_val=\$$ac_var
   1757 	case $ac_val in
   1758 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1759 	esac
   1760 	echo "$ac_var='\''$ac_val'\''"
   1761       done | sort
   1762       echo
   1763     fi
   1764 
   1765     if test -s confdefs.h; then
   1766       cat <<\_ASBOX
   1767 ## ----------- ##
   1768 ## confdefs.h. ##
   1769 ## ----------- ##
   1770 _ASBOX
   1771       echo
   1772       cat confdefs.h
   1773       echo
   1774     fi
   1775     test "$ac_signal" != 0 &&
   1776       echo "$as_me: caught signal $ac_signal"
   1777     echo "$as_me: exit $exit_status"
   1778   } >&5
   1779   rm -f core *.core core.conftest.* &&
   1780     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1781     exit $exit_status
   1782 ' 0
   1783 for ac_signal in 1 2 13 15; do
   1784   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1785 done
   1786 ac_signal=0
   1787 
   1788 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1789 rm -f -r conftest* confdefs.h
   1790 
   1791 # Predefined preprocessor variables.
   1792 
   1793 cat >>confdefs.h <<_ACEOF
   1794 #define PACKAGE_NAME "$PACKAGE_NAME"
   1795 _ACEOF
   1796 
   1797 
   1798 cat >>confdefs.h <<_ACEOF
   1799 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1800 _ACEOF
   1801 
   1802 
   1803 cat >>confdefs.h <<_ACEOF
   1804 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1805 _ACEOF
   1806 
   1807 
   1808 cat >>confdefs.h <<_ACEOF
   1809 #define PACKAGE_STRING "$PACKAGE_STRING"
   1810 _ACEOF
   1811 
   1812 
   1813 cat >>confdefs.h <<_ACEOF
   1814 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1815 _ACEOF
   1816 
   1817 
   1818 # Let the site file select an alternate cache file if it wants to.
   1819 # Prefer explicitly selected file to automatically selected ones.
   1820 if test -n "$CONFIG_SITE"; then
   1821   set x "$CONFIG_SITE"
   1822 elif test "x$prefix" != xNONE; then
   1823   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1824 else
   1825   set x "$ac_default_prefix/share/config.site" \
   1826 	"$ac_default_prefix/etc/config.site"
   1827 fi
   1828 shift
   1829 for ac_site_file
   1830 do
   1831   if test -r "$ac_site_file"; then
   1832     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1833 echo "$as_me: loading site script $ac_site_file" >&6;}
   1834     sed 's/^/| /' "$ac_site_file" >&5
   1835     . "$ac_site_file"
   1836   fi
   1837 done
   1838 
   1839 if test -r "$cache_file"; then
   1840   # Some versions of bash will fail to source /dev/null (special
   1841   # files actually), so we avoid doing that.
   1842   if test -f "$cache_file"; then
   1843     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1844 echo "$as_me: loading cache $cache_file" >&6;}
   1845     case $cache_file in
   1846       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1847       *)                      . "./$cache_file";;
   1848     esac
   1849   fi
   1850 else
   1851   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1852 echo "$as_me: creating cache $cache_file" >&6;}
   1853   >$cache_file
   1854 fi
   1855 
   1856 # Check that the precious variables saved in the cache have kept the same
   1857 # value.
   1858 ac_cache_corrupted=false
   1859 for ac_var in $ac_precious_vars; do
   1860   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1861   eval ac_new_set=\$ac_env_${ac_var}_set
   1862   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1863   eval ac_new_val=\$ac_env_${ac_var}_value
   1864   case $ac_old_set,$ac_new_set in
   1865     set,)
   1866       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1867 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1868       ac_cache_corrupted=: ;;
   1869     ,set)
   1870       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1871 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1872       ac_cache_corrupted=: ;;
   1873     ,);;
   1874     *)
   1875       if test "x$ac_old_val" != "x$ac_new_val"; then
   1876 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1877 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1878 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1879 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1880 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1881 echo "$as_me:   current value: $ac_new_val" >&2;}
   1882 	ac_cache_corrupted=:
   1883       fi;;
   1884   esac
   1885   # Pass precious variables to config.status.
   1886   if test "$ac_new_set" = set; then
   1887     case $ac_new_val in
   1888     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1889     *) ac_arg=$ac_var=$ac_new_val ;;
   1890     esac
   1891     case " $ac_configure_args " in
   1892       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1893       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1894     esac
   1895   fi
   1896 done
   1897 if $ac_cache_corrupted; then
   1898   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1899 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1900   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1901 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1902    { (exit 1); exit 1; }; }
   1903 fi
   1904 
   1905 
   1906 
   1907 
   1908 
   1909 
   1910 
   1911 
   1912 
   1913 
   1914 
   1915 
   1916 
   1917 
   1918 
   1919 
   1920 
   1921 ac_ext=c
   1922 ac_cpp='$CPP $CPPFLAGS'
   1923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1926 
   1927 
   1928 
   1929 ac_aux_dir=
   1930 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
   1931   if test -f "$ac_dir/install-sh"; then
   1932     ac_aux_dir=$ac_dir
   1933     ac_install_sh="$ac_aux_dir/install-sh -c"
   1934     break
   1935   elif test -f "$ac_dir/install.sh"; then
   1936     ac_aux_dir=$ac_dir
   1937     ac_install_sh="$ac_aux_dir/install.sh -c"
   1938     break
   1939   elif test -f "$ac_dir/shtool"; then
   1940     ac_aux_dir=$ac_dir
   1941     ac_install_sh="$ac_aux_dir/shtool install -c"
   1942     break
   1943   fi
   1944 done
   1945 if test -z "$ac_aux_dir"; then
   1946   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../build-aux \"$srcdir\"/../../build-aux" >&5
   1947 echo "$as_me: error: cannot find install-sh or install.sh in ../../build-aux \"$srcdir\"/../../build-aux" >&2;}
   1948    { (exit 1); exit 1; }; }
   1949 fi
   1950 
   1951 # These three variables are undocumented and unsupported,
   1952 # and are intended to be withdrawn in a future Autoconf release.
   1953 # They can cause serious problems if a builder's source tree is in a directory
   1954 # whose full name contains unusual characters.
   1955 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1956 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1957 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1958 
   1959 
   1960 am__api_version='1.10'
   1961 
   1962 # Find a good install program.  We prefer a C program (faster),
   1963 # so one script is as good as another.  But avoid the broken or
   1964 # incompatible versions:
   1965 # SysV /etc/install, /usr/sbin/install
   1966 # SunOS /usr/etc/install
   1967 # IRIX /sbin/install
   1968 # AIX /bin/install
   1969 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1973 # OS/2's system install, which has a completely different semantic
   1974 # ./install, which can be erroneously created by make from ./install.sh.
   1975 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1976 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   1977 if test -z "$INSTALL"; then
   1978 if test "${ac_cv_path_install+set}" = set; then
   1979   echo $ECHO_N "(cached) $ECHO_C" >&6
   1980 else
   1981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1982 for as_dir in $PATH
   1983 do
   1984   IFS=$as_save_IFS
   1985   test -z "$as_dir" && as_dir=.
   1986   # Account for people who put trailing slashes in PATH elements.
   1987 case $as_dir/ in
   1988   ./ | .// | /cC/* | \
   1989   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1990   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1991   /usr/ucb/* ) ;;
   1992   *)
   1993     # OSF1 and SCO ODT 3.0 have their own names for install.
   1994     # Don't use installbsd from OSF since it installs stuff as root
   1995     # by default.
   1996     for ac_prog in ginstall scoinst install; do
   1997       for ac_exec_ext in '' $ac_executable_extensions; do
   1998 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   1999 	  if test $ac_prog = install &&
   2000 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2001 	    # AIX install.  It has an incompatible calling convention.
   2002 	    :
   2003 	  elif test $ac_prog = install &&
   2004 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2005 	    # program-specific install script used by HP pwplus--don't use.
   2006 	    :
   2007 	  else
   2008 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2009 	    break 3
   2010 	  fi
   2011 	fi
   2012       done
   2013     done
   2014     ;;
   2015 esac
   2016 done
   2017 IFS=$as_save_IFS
   2018 
   2019 
   2020 fi
   2021   if test "${ac_cv_path_install+set}" = set; then
   2022     INSTALL=$ac_cv_path_install
   2023   else
   2024     # As a last resort, use the slow shell script.  Don't cache a
   2025     # value for INSTALL within a source directory, because that will
   2026     # break other packages using the cache if that directory is
   2027     # removed, or if the value is a relative name.
   2028     INSTALL=$ac_install_sh
   2029   fi
   2030 fi
   2031 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2032 echo "${ECHO_T}$INSTALL" >&6; }
   2033 
   2034 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2035 # It thinks the first close brace ends the variable substitution.
   2036 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2037 
   2038 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2039 
   2040 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2041 
   2042 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2043 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2044 # Just in case
   2045 sleep 1
   2046 echo timestamp > conftest.file
   2047 # Do `set' in a subshell so we don't clobber the current shell's
   2048 # arguments.  Must try -L first in case configure is actually a
   2049 # symlink; some systems play weird games with the mod time of symlinks
   2050 # (eg FreeBSD returns the mod time of the symlink's containing
   2051 # directory).
   2052 if (
   2053    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2054    if test "$*" = "X"; then
   2055       # -L didn't work.
   2056       set X `ls -t $srcdir/configure conftest.file`
   2057    fi
   2058    rm -f conftest.file
   2059    if test "$*" != "X $srcdir/configure conftest.file" \
   2060       && test "$*" != "X conftest.file $srcdir/configure"; then
   2061 
   2062       # If neither matched, then we have a broken ls.  This can happen
   2063       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2064       # broken ls alias from the environment.  This has actually
   2065       # happened.  Such a system could not be considered "sane".
   2066       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2067 alias in your environment" >&5
   2068 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2069 alias in your environment" >&2;}
   2070    { (exit 1); exit 1; }; }
   2071    fi
   2072 
   2073    test "$2" = conftest.file
   2074    )
   2075 then
   2076    # Ok.
   2077    :
   2078 else
   2079    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2080 Check your system clock" >&5
   2081 echo "$as_me: error: newly created file is older than distributed files!
   2082 Check your system clock" >&2;}
   2083    { (exit 1); exit 1; }; }
   2084 fi
   2085 { echo "$as_me:$LINENO: result: yes" >&5
   2086 echo "${ECHO_T}yes" >&6; }
   2087 test "$program_prefix" != NONE &&
   2088   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2089 # Use a double $ so make ignores it.
   2090 test "$program_suffix" != NONE &&
   2091   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2092 # Double any \ or $.  echo might interpret backslashes.
   2093 # By default was `s,x,x', remove it if useless.
   2094 cat <<\_ACEOF >conftest.sed
   2095 s/[\\$]/&&/g;s/;s,x,x,$//
   2096 _ACEOF
   2097 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2098 rm -f conftest.sed
   2099 
   2100 # expand $ac_aux_dir to an absolute path
   2101 am_aux_dir=`cd $ac_aux_dir && pwd`
   2102 
   2103 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2104 # Use eval to expand $SHELL
   2105 if eval "$MISSING --run true"; then
   2106   am_missing_run="$MISSING --run "
   2107 else
   2108   am_missing_run=
   2109   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2110 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2111 fi
   2112 
   2113 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2114 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2115 if test -z "$MKDIR_P"; then
   2116   if test "${ac_cv_path_mkdir+set}" = set; then
   2117   echo $ECHO_N "(cached) $ECHO_C" >&6
   2118 else
   2119   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2120 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2121 do
   2122   IFS=$as_save_IFS
   2123   test -z "$as_dir" && as_dir=.
   2124   for ac_prog in mkdir gmkdir; do
   2125 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2126 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2127 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2128 	     'mkdir (GNU coreutils) '* | \
   2129 	     'mkdir (coreutils) '* | \
   2130 	     'mkdir (fileutils) '4.1*)
   2131 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2132 	       break 3;;
   2133 	   esac
   2134 	 done
   2135        done
   2136 done
   2137 IFS=$as_save_IFS
   2138 
   2139 fi
   2140 
   2141   if test "${ac_cv_path_mkdir+set}" = set; then
   2142     MKDIR_P="$ac_cv_path_mkdir -p"
   2143   else
   2144     # As a last resort, use the slow shell script.  Don't cache a
   2145     # value for MKDIR_P within a source directory, because that will
   2146     # break other packages using the cache if that directory is
   2147     # removed, or if the value is a relative name.
   2148     test -d ./--version && rmdir ./--version
   2149     MKDIR_P="$ac_install_sh -d"
   2150   fi
   2151 fi
   2152 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2153 echo "${ECHO_T}$MKDIR_P" >&6; }
   2154 
   2155 mkdir_p="$MKDIR_P"
   2156 case $mkdir_p in
   2157   [\\/$]* | ?:[\\/]*) ;;
   2158   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2159 esac
   2160 
   2161 for ac_prog in gawk mawk nawk awk
   2162 do
   2163   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2164 set dummy $ac_prog; ac_word=$2
   2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2167 if test "${ac_cv_prog_AWK+set}" = set; then
   2168   echo $ECHO_N "(cached) $ECHO_C" >&6
   2169 else
   2170   if test -n "$AWK"; then
   2171   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2172 else
   2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2174 for as_dir in $PATH
   2175 do
   2176   IFS=$as_save_IFS
   2177   test -z "$as_dir" && as_dir=.
   2178   for ac_exec_ext in '' $ac_executable_extensions; do
   2179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2180     ac_cv_prog_AWK="$ac_prog"
   2181     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2182     break 2
   2183   fi
   2184 done
   2185 done
   2186 IFS=$as_save_IFS
   2187 
   2188 fi
   2189 fi
   2190 AWK=$ac_cv_prog_AWK
   2191 if test -n "$AWK"; then
   2192   { echo "$as_me:$LINENO: result: $AWK" >&5
   2193 echo "${ECHO_T}$AWK" >&6; }
   2194 else
   2195   { echo "$as_me:$LINENO: result: no" >&5
   2196 echo "${ECHO_T}no" >&6; }
   2197 fi
   2198 
   2199 
   2200   test -n "$AWK" && break
   2201 done
   2202 
   2203 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2204 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2205 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2206 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2207   echo $ECHO_N "(cached) $ECHO_C" >&6
   2208 else
   2209   cat >conftest.make <<\_ACEOF
   2210 SHELL = /bin/sh
   2211 all:
   2212 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2213 _ACEOF
   2214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2215 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2216   *@@@%%%=?*=@@@%%%*)
   2217     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2218   *)
   2219     eval ac_cv_prog_make_${ac_make}_set=no;;
   2220 esac
   2221 rm -f conftest.make
   2222 fi
   2223 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2224   { echo "$as_me:$LINENO: result: yes" >&5
   2225 echo "${ECHO_T}yes" >&6; }
   2226   SET_MAKE=
   2227 else
   2228   { echo "$as_me:$LINENO: result: no" >&5
   2229 echo "${ECHO_T}no" >&6; }
   2230   SET_MAKE="MAKE=${MAKE-make}"
   2231 fi
   2232 
   2233 rm -rf .tst 2>/dev/null
   2234 mkdir .tst 2>/dev/null
   2235 if test -d .tst; then
   2236   am__leading_dot=.
   2237 else
   2238   am__leading_dot=_
   2239 fi
   2240 rmdir .tst 2>/dev/null
   2241 
   2242 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2243   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2244   # is not polluted with repeated "-I."
   2245   am__isrc=' -I$(srcdir)'
   2246   # test to see if srcdir already configured
   2247   if test -f $srcdir/config.status; then
   2248     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2249 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2250    { (exit 1); exit 1; }; }
   2251   fi
   2252 fi
   2253 
   2254 # test whether we have cygpath
   2255 if test -z "$CYGPATH_W"; then
   2256   if (cygpath --version) >/dev/null 2>/dev/null; then
   2257     CYGPATH_W='cygpath -w'
   2258   else
   2259     CYGPATH_W=echo
   2260   fi
   2261 fi
   2262 
   2263 
   2264 # Define the identity of the package.
   2265  PACKAGE=libasprintf
   2266  VERSION=1.0
   2267 
   2268 
   2269 cat >>confdefs.h <<_ACEOF
   2270 #define PACKAGE "$PACKAGE"
   2271 _ACEOF
   2272 
   2273 
   2274 cat >>confdefs.h <<_ACEOF
   2275 #define VERSION "$VERSION"
   2276 _ACEOF
   2277 
   2278 # Some tools Automake needs.
   2279 
   2280 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2281 
   2282 
   2283 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2284 
   2285 
   2286 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2287 
   2288 
   2289 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2290 
   2291 
   2292 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2293 
   2294 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2295 
   2296 # Installed binaries are usually stripped using `strip' when the user
   2297 # run `make install-strip'.  However `strip' might not be the right
   2298 # tool to use in cross-compilation environments, therefore Automake
   2299 # will honor the `STRIP' environment variable to overrule this program.
   2300 if test "$cross_compiling" != no; then
   2301   if test -n "$ac_tool_prefix"; then
   2302   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2303 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2306 if test "${ac_cv_prog_STRIP+set}" = set; then
   2307   echo $ECHO_N "(cached) $ECHO_C" >&6
   2308 else
   2309   if test -n "$STRIP"; then
   2310   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2311 else
   2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2313 for as_dir in $PATH
   2314 do
   2315   IFS=$as_save_IFS
   2316   test -z "$as_dir" && as_dir=.
   2317   for ac_exec_ext in '' $ac_executable_extensions; do
   2318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2319     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2320     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2321     break 2
   2322   fi
   2323 done
   2324 done
   2325 IFS=$as_save_IFS
   2326 
   2327 fi
   2328 fi
   2329 STRIP=$ac_cv_prog_STRIP
   2330 if test -n "$STRIP"; then
   2331   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2332 echo "${ECHO_T}$STRIP" >&6; }
   2333 else
   2334   { echo "$as_me:$LINENO: result: no" >&5
   2335 echo "${ECHO_T}no" >&6; }
   2336 fi
   2337 
   2338 
   2339 fi
   2340 if test -z "$ac_cv_prog_STRIP"; then
   2341   ac_ct_STRIP=$STRIP
   2342   # Extract the first word of "strip", so it can be a program name with args.
   2343 set dummy strip; ac_word=$2
   2344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2346 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2347   echo $ECHO_N "(cached) $ECHO_C" >&6
   2348 else
   2349   if test -n "$ac_ct_STRIP"; then
   2350   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2351 else
   2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2353 for as_dir in $PATH
   2354 do
   2355   IFS=$as_save_IFS
   2356   test -z "$as_dir" && as_dir=.
   2357   for ac_exec_ext in '' $ac_executable_extensions; do
   2358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2359     ac_cv_prog_ac_ct_STRIP="strip"
   2360     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2361     break 2
   2362   fi
   2363 done
   2364 done
   2365 IFS=$as_save_IFS
   2366 
   2367 fi
   2368 fi
   2369 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2370 if test -n "$ac_ct_STRIP"; then
   2371   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2372 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2373 else
   2374   { echo "$as_me:$LINENO: result: no" >&5
   2375 echo "${ECHO_T}no" >&6; }
   2376 fi
   2377 
   2378   if test "x$ac_ct_STRIP" = x; then
   2379     STRIP=":"
   2380   else
   2381     case $cross_compiling:$ac_tool_warned in
   2382 yes:)
   2383 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2384 whose name does not start with the host triplet.  If you think this
   2385 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2386 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2387 whose name does not start with the host triplet.  If you think this
   2388 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2389 ac_tool_warned=yes ;;
   2390 esac
   2391     STRIP=$ac_ct_STRIP
   2392   fi
   2393 else
   2394   STRIP="$ac_cv_prog_STRIP"
   2395 fi
   2396 
   2397 fi
   2398 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2399 
   2400 # We need awk for the "check" target.  The system "awk" is bad on
   2401 # some platforms.
   2402 # Always define AMTAR for backward compatibility.
   2403 
   2404 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2405 
   2406 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2407 
   2408 
   2409 
   2410 
   2411 
   2412 ac_config_headers="$ac_config_headers config.h"
   2413 
   2414 
   2415 ac_ext=c
   2416 ac_cpp='$CPP $CPPFLAGS'
   2417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2420 if test -n "$ac_tool_prefix"; then
   2421   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2422 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2425 if test "${ac_cv_prog_CC+set}" = set; then
   2426   echo $ECHO_N "(cached) $ECHO_C" >&6
   2427 else
   2428   if test -n "$CC"; then
   2429   ac_cv_prog_CC="$CC" # Let the user override the test.
   2430 else
   2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2432 for as_dir in $PATH
   2433 do
   2434   IFS=$as_save_IFS
   2435   test -z "$as_dir" && as_dir=.
   2436   for ac_exec_ext in '' $ac_executable_extensions; do
   2437   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2438     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2439     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2440     break 2
   2441   fi
   2442 done
   2443 done
   2444 IFS=$as_save_IFS
   2445 
   2446 fi
   2447 fi
   2448 CC=$ac_cv_prog_CC
   2449 if test -n "$CC"; then
   2450   { echo "$as_me:$LINENO: result: $CC" >&5
   2451 echo "${ECHO_T}$CC" >&6; }
   2452 else
   2453   { echo "$as_me:$LINENO: result: no" >&5
   2454 echo "${ECHO_T}no" >&6; }
   2455 fi
   2456 
   2457 
   2458 fi
   2459 if test -z "$ac_cv_prog_CC"; then
   2460   ac_ct_CC=$CC
   2461   # Extract the first word of "gcc", so it can be a program name with args.
   2462 set dummy gcc; ac_word=$2
   2463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2466   echo $ECHO_N "(cached) $ECHO_C" >&6
   2467 else
   2468   if test -n "$ac_ct_CC"; then
   2469   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2470 else
   2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2472 for as_dir in $PATH
   2473 do
   2474   IFS=$as_save_IFS
   2475   test -z "$as_dir" && as_dir=.
   2476   for ac_exec_ext in '' $ac_executable_extensions; do
   2477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2478     ac_cv_prog_ac_ct_CC="gcc"
   2479     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2480     break 2
   2481   fi
   2482 done
   2483 done
   2484 IFS=$as_save_IFS
   2485 
   2486 fi
   2487 fi
   2488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2489 if test -n "$ac_ct_CC"; then
   2490   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2491 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2492 else
   2493   { echo "$as_me:$LINENO: result: no" >&5
   2494 echo "${ECHO_T}no" >&6; }
   2495 fi
   2496 
   2497   if test "x$ac_ct_CC" = x; then
   2498     CC=""
   2499   else
   2500     case $cross_compiling:$ac_tool_warned in
   2501 yes:)
   2502 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2503 whose name does not start with the host triplet.  If you think this
   2504 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2505 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2506 whose name does not start with the host triplet.  If you think this
   2507 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2508 ac_tool_warned=yes ;;
   2509 esac
   2510     CC=$ac_ct_CC
   2511   fi
   2512 else
   2513   CC="$ac_cv_prog_CC"
   2514 fi
   2515 
   2516 if test -z "$CC"; then
   2517           if test -n "$ac_tool_prefix"; then
   2518     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2519 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2522 if test "${ac_cv_prog_CC+set}" = set; then
   2523   echo $ECHO_N "(cached) $ECHO_C" >&6
   2524 else
   2525   if test -n "$CC"; then
   2526   ac_cv_prog_CC="$CC" # Let the user override the test.
   2527 else
   2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2529 for as_dir in $PATH
   2530 do
   2531   IFS=$as_save_IFS
   2532   test -z "$as_dir" && as_dir=.
   2533   for ac_exec_ext in '' $ac_executable_extensions; do
   2534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2535     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2536     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2537     break 2
   2538   fi
   2539 done
   2540 done
   2541 IFS=$as_save_IFS
   2542 
   2543 fi
   2544 fi
   2545 CC=$ac_cv_prog_CC
   2546 if test -n "$CC"; then
   2547   { echo "$as_me:$LINENO: result: $CC" >&5
   2548 echo "${ECHO_T}$CC" >&6; }
   2549 else
   2550   { echo "$as_me:$LINENO: result: no" >&5
   2551 echo "${ECHO_T}no" >&6; }
   2552 fi
   2553 
   2554 
   2555   fi
   2556 fi
   2557 if test -z "$CC"; then
   2558   # Extract the first word of "cc", so it can be a program name with args.
   2559 set dummy cc; ac_word=$2
   2560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2562 if test "${ac_cv_prog_CC+set}" = set; then
   2563   echo $ECHO_N "(cached) $ECHO_C" >&6
   2564 else
   2565   if test -n "$CC"; then
   2566   ac_cv_prog_CC="$CC" # Let the user override the test.
   2567 else
   2568   ac_prog_rejected=no
   2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2570 for as_dir in $PATH
   2571 do
   2572   IFS=$as_save_IFS
   2573   test -z "$as_dir" && as_dir=.
   2574   for ac_exec_ext in '' $ac_executable_extensions; do
   2575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2576     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2577        ac_prog_rejected=yes
   2578        continue
   2579      fi
   2580     ac_cv_prog_CC="cc"
   2581     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2582     break 2
   2583   fi
   2584 done
   2585 done
   2586 IFS=$as_save_IFS
   2587 
   2588 if test $ac_prog_rejected = yes; then
   2589   # We found a bogon in the path, so make sure we never use it.
   2590   set dummy $ac_cv_prog_CC
   2591   shift
   2592   if test $# != 0; then
   2593     # We chose a different compiler from the bogus one.
   2594     # However, it has the same basename, so the bogon will be chosen
   2595     # first if we set CC to just the basename; use the full file name.
   2596     shift
   2597     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2598   fi
   2599 fi
   2600 fi
   2601 fi
   2602 CC=$ac_cv_prog_CC
   2603 if test -n "$CC"; then
   2604   { echo "$as_me:$LINENO: result: $CC" >&5
   2605 echo "${ECHO_T}$CC" >&6; }
   2606 else
   2607   { echo "$as_me:$LINENO: result: no" >&5
   2608 echo "${ECHO_T}no" >&6; }
   2609 fi
   2610 
   2611 
   2612 fi
   2613 if test -z "$CC"; then
   2614   if test -n "$ac_tool_prefix"; then
   2615   for ac_prog in cl.exe
   2616   do
   2617     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2618 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2621 if test "${ac_cv_prog_CC+set}" = set; then
   2622   echo $ECHO_N "(cached) $ECHO_C" >&6
   2623 else
   2624   if test -n "$CC"; then
   2625   ac_cv_prog_CC="$CC" # Let the user override the test.
   2626 else
   2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2628 for as_dir in $PATH
   2629 do
   2630   IFS=$as_save_IFS
   2631   test -z "$as_dir" && as_dir=.
   2632   for ac_exec_ext in '' $ac_executable_extensions; do
   2633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2634     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2635     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2636     break 2
   2637   fi
   2638 done
   2639 done
   2640 IFS=$as_save_IFS
   2641 
   2642 fi
   2643 fi
   2644 CC=$ac_cv_prog_CC
   2645 if test -n "$CC"; then
   2646   { echo "$as_me:$LINENO: result: $CC" >&5
   2647 echo "${ECHO_T}$CC" >&6; }
   2648 else
   2649   { echo "$as_me:$LINENO: result: no" >&5
   2650 echo "${ECHO_T}no" >&6; }
   2651 fi
   2652 
   2653 
   2654     test -n "$CC" && break
   2655   done
   2656 fi
   2657 if test -z "$CC"; then
   2658   ac_ct_CC=$CC
   2659   for ac_prog in cl.exe
   2660 do
   2661   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2662 set dummy $ac_prog; ac_word=$2
   2663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2665 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2666   echo $ECHO_N "(cached) $ECHO_C" >&6
   2667 else
   2668   if test -n "$ac_ct_CC"; then
   2669   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2670 else
   2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2672 for as_dir in $PATH
   2673 do
   2674   IFS=$as_save_IFS
   2675   test -z "$as_dir" && as_dir=.
   2676   for ac_exec_ext in '' $ac_executable_extensions; do
   2677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2678     ac_cv_prog_ac_ct_CC="$ac_prog"
   2679     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2680     break 2
   2681   fi
   2682 done
   2683 done
   2684 IFS=$as_save_IFS
   2685 
   2686 fi
   2687 fi
   2688 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2689 if test -n "$ac_ct_CC"; then
   2690   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2691 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2692 else
   2693   { echo "$as_me:$LINENO: result: no" >&5
   2694 echo "${ECHO_T}no" >&6; }
   2695 fi
   2696 
   2697 
   2698   test -n "$ac_ct_CC" && break
   2699 done
   2700 
   2701   if test "x$ac_ct_CC" = x; then
   2702     CC=""
   2703   else
   2704     case $cross_compiling:$ac_tool_warned in
   2705 yes:)
   2706 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2707 whose name does not start with the host triplet.  If you think this
   2708 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2709 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2710 whose name does not start with the host triplet.  If you think this
   2711 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2712 ac_tool_warned=yes ;;
   2713 esac
   2714     CC=$ac_ct_CC
   2715   fi
   2716 fi
   2717 
   2718 fi
   2719 
   2720 
   2721 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2722 See \`config.log' for more details." >&5
   2723 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2724 See \`config.log' for more details." >&2;}
   2725    { (exit 1); exit 1; }; }
   2726 
   2727 # Provide some information about the compiler.
   2728 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2729 ac_compiler=`set X $ac_compile; echo $2`
   2730 { (ac_try="$ac_compiler --version >&5"
   2731 case "(($ac_try" in
   2732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2733   *) ac_try_echo=$ac_try;;
   2734 esac
   2735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2736   (eval "$ac_compiler --version >&5") 2>&5
   2737   ac_status=$?
   2738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2739   (exit $ac_status); }
   2740 { (ac_try="$ac_compiler -v >&5"
   2741 case "(($ac_try" in
   2742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2743   *) ac_try_echo=$ac_try;;
   2744 esac
   2745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2746   (eval "$ac_compiler -v >&5") 2>&5
   2747   ac_status=$?
   2748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2749   (exit $ac_status); }
   2750 { (ac_try="$ac_compiler -V >&5"
   2751 case "(($ac_try" in
   2752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2753   *) ac_try_echo=$ac_try;;
   2754 esac
   2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2756   (eval "$ac_compiler -V >&5") 2>&5
   2757   ac_status=$?
   2758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2759   (exit $ac_status); }
   2760 
   2761 cat >conftest.$ac_ext <<_ACEOF
   2762 /* confdefs.h.  */
   2763 _ACEOF
   2764 cat confdefs.h >>conftest.$ac_ext
   2765 cat >>conftest.$ac_ext <<_ACEOF
   2766 /* end confdefs.h.  */
   2767 
   2768 int
   2769 main ()
   2770 {
   2771 
   2772   ;
   2773   return 0;
   2774 }
   2775 _ACEOF
   2776 ac_clean_files_save=$ac_clean_files
   2777 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2778 # Try to create an executable without -o first, disregard a.out.
   2779 # It will help us diagnose broken compilers, and finding out an intuition
   2780 # of exeext.
   2781 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2782 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2783 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2784 #
   2785 # List of possible output files, starting from the most likely.
   2786 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2787 # only as a last resort.  b.out is created by i960 compilers.
   2788 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2789 #
   2790 # The IRIX 6 linker writes into existing files which may not be
   2791 # executable, retaining their permissions.  Remove them first so a
   2792 # subsequent execution test works.
   2793 ac_rmfiles=
   2794 for ac_file in $ac_files
   2795 do
   2796   case $ac_file in
   2797     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2798     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2799   esac
   2800 done
   2801 rm -f $ac_rmfiles
   2802 
   2803 if { (ac_try="$ac_link_default"
   2804 case "(($ac_try" in
   2805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2806   *) ac_try_echo=$ac_try;;
   2807 esac
   2808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2809   (eval "$ac_link_default") 2>&5
   2810   ac_status=$?
   2811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2812   (exit $ac_status); }; then
   2813   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2814 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2815 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2816 # so that the user can short-circuit this test for compilers unknown to
   2817 # Autoconf.
   2818 for ac_file in $ac_files ''
   2819 do
   2820   test -f "$ac_file" || continue
   2821   case $ac_file in
   2822     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2823 	;;
   2824     [ab].out )
   2825 	# We found the default executable, but exeext='' is most
   2826 	# certainly right.
   2827 	break;;
   2828     *.* )
   2829         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2830 	then :; else
   2831 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2832 	fi
   2833 	# We set ac_cv_exeext here because the later test for it is not
   2834 	# safe: cross compilers may not add the suffix if given an `-o'
   2835 	# argument, so we may need to know it at that point already.
   2836 	# Even if this section looks crufty: it has the advantage of
   2837 	# actually working.
   2838 	break;;
   2839     * )
   2840 	break;;
   2841   esac
   2842 done
   2843 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2844 
   2845 else
   2846   ac_file=''
   2847 fi
   2848 
   2849 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2850 echo "${ECHO_T}$ac_file" >&6; }
   2851 if test -z "$ac_file"; then
   2852   echo "$as_me: failed program was:" >&5
   2853 sed 's/^/| /' conftest.$ac_ext >&5
   2854 
   2855 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2856 See \`config.log' for more details." >&5
   2857 echo "$as_me: error: C compiler cannot create executables
   2858 See \`config.log' for more details." >&2;}
   2859    { (exit 77); exit 77; }; }
   2860 fi
   2861 
   2862 ac_exeext=$ac_cv_exeext
   2863 
   2864 # Check that the compiler produces executables we can run.  If not, either
   2865 # the compiler is broken, or we cross compile.
   2866 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2867 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2868 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2869 # If not cross compiling, check that we can run a simple program.
   2870 if test "$cross_compiling" != yes; then
   2871   if { ac_try='./$ac_file'
   2872   { (case "(($ac_try" in
   2873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2874   *) ac_try_echo=$ac_try;;
   2875 esac
   2876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2877   (eval "$ac_try") 2>&5
   2878   ac_status=$?
   2879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2880   (exit $ac_status); }; }; then
   2881     cross_compiling=no
   2882   else
   2883     if test "$cross_compiling" = maybe; then
   2884 	cross_compiling=yes
   2885     else
   2886 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2887 If you meant to cross compile, use \`--host'.
   2888 See \`config.log' for more details." >&5
   2889 echo "$as_me: error: cannot run C compiled programs.
   2890 If you meant to cross compile, use \`--host'.
   2891 See \`config.log' for more details." >&2;}
   2892    { (exit 1); exit 1; }; }
   2893     fi
   2894   fi
   2895 fi
   2896 { echo "$as_me:$LINENO: result: yes" >&5
   2897 echo "${ECHO_T}yes" >&6; }
   2898 
   2899 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2900 ac_clean_files=$ac_clean_files_save
   2901 # Check that the compiler produces executables we can run.  If not, either
   2902 # the compiler is broken, or we cross compile.
   2903 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2905 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2906 echo "${ECHO_T}$cross_compiling" >&6; }
   2907 
   2908 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2910 if { (ac_try="$ac_link"
   2911 case "(($ac_try" in
   2912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2913   *) ac_try_echo=$ac_try;;
   2914 esac
   2915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2916   (eval "$ac_link") 2>&5
   2917   ac_status=$?
   2918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2919   (exit $ac_status); }; then
   2920   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2921 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2922 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2923 # `rm'.
   2924 for ac_file in conftest.exe conftest conftest.*; do
   2925   test -f "$ac_file" || continue
   2926   case $ac_file in
   2927     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2928     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2929 	  break;;
   2930     * ) break;;
   2931   esac
   2932 done
   2933 else
   2934   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2935 See \`config.log' for more details." >&5
   2936 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2937 See \`config.log' for more details." >&2;}
   2938    { (exit 1); exit 1; }; }
   2939 fi
   2940 
   2941 rm -f conftest$ac_cv_exeext
   2942 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2943 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   2944 
   2945 rm -f conftest.$ac_ext
   2946 EXEEXT=$ac_cv_exeext
   2947 ac_exeext=$EXEEXT
   2948 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2949 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   2950 if test "${ac_cv_objext+set}" = set; then
   2951   echo $ECHO_N "(cached) $ECHO_C" >&6
   2952 else
   2953   cat >conftest.$ac_ext <<_ACEOF
   2954 /* confdefs.h.  */
   2955 _ACEOF
   2956 cat confdefs.h >>conftest.$ac_ext
   2957 cat >>conftest.$ac_ext <<_ACEOF
   2958 /* end confdefs.h.  */
   2959 
   2960 int
   2961 main ()
   2962 {
   2963 
   2964   ;
   2965   return 0;
   2966 }
   2967 _ACEOF
   2968 rm -f conftest.o conftest.obj
   2969 if { (ac_try="$ac_compile"
   2970 case "(($ac_try" in
   2971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2972   *) ac_try_echo=$ac_try;;
   2973 esac
   2974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2975   (eval "$ac_compile") 2>&5
   2976   ac_status=$?
   2977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2978   (exit $ac_status); }; then
   2979   for ac_file in conftest.o conftest.obj conftest.*; do
   2980   test -f "$ac_file" || continue;
   2981   case $ac_file in
   2982     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   2983     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2984        break;;
   2985   esac
   2986 done
   2987 else
   2988   echo "$as_me: failed program was:" >&5
   2989 sed 's/^/| /' conftest.$ac_ext >&5
   2990 
   2991 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2992 See \`config.log' for more details." >&5
   2993 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2994 See \`config.log' for more details." >&2;}
   2995    { (exit 1); exit 1; }; }
   2996 fi
   2997 
   2998 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2999 fi
   3000 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3001 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3002 OBJEXT=$ac_cv_objext
   3003 ac_objext=$OBJEXT
   3004 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3005 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3006 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3007   echo $ECHO_N "(cached) $ECHO_C" >&6
   3008 else
   3009   cat >conftest.$ac_ext <<_ACEOF
   3010 /* confdefs.h.  */
   3011 _ACEOF
   3012 cat confdefs.h >>conftest.$ac_ext
   3013 cat >>conftest.$ac_ext <<_ACEOF
   3014 /* end confdefs.h.  */
   3015 
   3016 int
   3017 main ()
   3018 {
   3019 #ifndef __GNUC__
   3020        choke me
   3021 #endif
   3022 
   3023   ;
   3024   return 0;
   3025 }
   3026 _ACEOF
   3027 rm -f conftest.$ac_objext
   3028 if { (ac_try="$ac_compile"
   3029 case "(($ac_try" in
   3030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3031   *) ac_try_echo=$ac_try;;
   3032 esac
   3033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3034   (eval "$ac_compile") 2>conftest.er1
   3035   ac_status=$?
   3036   grep -v '^ *+' conftest.er1 >conftest.err
   3037   rm -f conftest.er1
   3038   cat conftest.err >&5
   3039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3040   (exit $ac_status); } && {
   3041 	 test -z "$ac_c_werror_flag" ||
   3042 	 test ! -s conftest.err
   3043        } && test -s conftest.$ac_objext; then
   3044   ac_compiler_gnu=yes
   3045 else
   3046   echo "$as_me: failed program was:" >&5
   3047 sed 's/^/| /' conftest.$ac_ext >&5
   3048 
   3049 	ac_compiler_gnu=no
   3050 fi
   3051 
   3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3053 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3054 
   3055 fi
   3056 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3057 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3058 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3059 ac_test_CFLAGS=${CFLAGS+set}
   3060 ac_save_CFLAGS=$CFLAGS
   3061 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3062 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3063 if test "${ac_cv_prog_cc_g+set}" = set; then
   3064   echo $ECHO_N "(cached) $ECHO_C" >&6
   3065 else
   3066   ac_save_c_werror_flag=$ac_c_werror_flag
   3067    ac_c_werror_flag=yes
   3068    ac_cv_prog_cc_g=no
   3069    CFLAGS="-g"
   3070    cat >conftest.$ac_ext <<_ACEOF
   3071 /* confdefs.h.  */
   3072 _ACEOF
   3073 cat confdefs.h >>conftest.$ac_ext
   3074 cat >>conftest.$ac_ext <<_ACEOF
   3075 /* end confdefs.h.  */
   3076 
   3077 int
   3078 main ()
   3079 {
   3080 
   3081   ;
   3082   return 0;
   3083 }
   3084 _ACEOF
   3085 rm -f conftest.$ac_objext
   3086 if { (ac_try="$ac_compile"
   3087 case "(($ac_try" in
   3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3089   *) ac_try_echo=$ac_try;;
   3090 esac
   3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3092   (eval "$ac_compile") 2>conftest.er1
   3093   ac_status=$?
   3094   grep -v '^ *+' conftest.er1 >conftest.err
   3095   rm -f conftest.er1
   3096   cat conftest.err >&5
   3097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3098   (exit $ac_status); } && {
   3099 	 test -z "$ac_c_werror_flag" ||
   3100 	 test ! -s conftest.err
   3101        } && test -s conftest.$ac_objext; then
   3102   ac_cv_prog_cc_g=yes
   3103 else
   3104   echo "$as_me: failed program was:" >&5
   3105 sed 's/^/| /' conftest.$ac_ext >&5
   3106 
   3107 	CFLAGS=""
   3108       cat >conftest.$ac_ext <<_ACEOF
   3109 /* confdefs.h.  */
   3110 _ACEOF
   3111 cat confdefs.h >>conftest.$ac_ext
   3112 cat >>conftest.$ac_ext <<_ACEOF
   3113 /* end confdefs.h.  */
   3114 
   3115 int
   3116 main ()
   3117 {
   3118 
   3119   ;
   3120   return 0;
   3121 }
   3122 _ACEOF
   3123 rm -f conftest.$ac_objext
   3124 if { (ac_try="$ac_compile"
   3125 case "(($ac_try" in
   3126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3127   *) ac_try_echo=$ac_try;;
   3128 esac
   3129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3130   (eval "$ac_compile") 2>conftest.er1
   3131   ac_status=$?
   3132   grep -v '^ *+' conftest.er1 >conftest.err
   3133   rm -f conftest.er1
   3134   cat conftest.err >&5
   3135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3136   (exit $ac_status); } && {
   3137 	 test -z "$ac_c_werror_flag" ||
   3138 	 test ! -s conftest.err
   3139        } && test -s conftest.$ac_objext; then
   3140   :
   3141 else
   3142   echo "$as_me: failed program was:" >&5
   3143 sed 's/^/| /' conftest.$ac_ext >&5
   3144 
   3145 	ac_c_werror_flag=$ac_save_c_werror_flag
   3146 	 CFLAGS="-g"
   3147 	 cat >conftest.$ac_ext <<_ACEOF
   3148 /* confdefs.h.  */
   3149 _ACEOF
   3150 cat confdefs.h >>conftest.$ac_ext
   3151 cat >>conftest.$ac_ext <<_ACEOF
   3152 /* end confdefs.h.  */
   3153 
   3154 int
   3155 main ()
   3156 {
   3157 
   3158   ;
   3159   return 0;
   3160 }
   3161 _ACEOF
   3162 rm -f conftest.$ac_objext
   3163 if { (ac_try="$ac_compile"
   3164 case "(($ac_try" in
   3165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3166   *) ac_try_echo=$ac_try;;
   3167 esac
   3168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3169   (eval "$ac_compile") 2>conftest.er1
   3170   ac_status=$?
   3171   grep -v '^ *+' conftest.er1 >conftest.err
   3172   rm -f conftest.er1
   3173   cat conftest.err >&5
   3174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3175   (exit $ac_status); } && {
   3176 	 test -z "$ac_c_werror_flag" ||
   3177 	 test ! -s conftest.err
   3178        } && test -s conftest.$ac_objext; then
   3179   ac_cv_prog_cc_g=yes
   3180 else
   3181   echo "$as_me: failed program was:" >&5
   3182 sed 's/^/| /' conftest.$ac_ext >&5
   3183 
   3184 
   3185 fi
   3186 
   3187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3188 fi
   3189 
   3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3191 fi
   3192 
   3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3194    ac_c_werror_flag=$ac_save_c_werror_flag
   3195 fi
   3196 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3197 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3198 if test "$ac_test_CFLAGS" = set; then
   3199   CFLAGS=$ac_save_CFLAGS
   3200 elif test $ac_cv_prog_cc_g = yes; then
   3201   if test "$GCC" = yes; then
   3202     CFLAGS="-g -O2"
   3203   else
   3204     CFLAGS="-g"
   3205   fi
   3206 else
   3207   if test "$GCC" = yes; then
   3208     CFLAGS="-O2"
   3209   else
   3210     CFLAGS=
   3211   fi
   3212 fi
   3213 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3214 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3215 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3216   echo $ECHO_N "(cached) $ECHO_C" >&6
   3217 else
   3218   ac_cv_prog_cc_c89=no
   3219 ac_save_CC=$CC
   3220 cat >conftest.$ac_ext <<_ACEOF
   3221 /* confdefs.h.  */
   3222 _ACEOF
   3223 cat confdefs.h >>conftest.$ac_ext
   3224 cat >>conftest.$ac_ext <<_ACEOF
   3225 /* end confdefs.h.  */
   3226 #include <stdarg.h>
   3227 #include <stdio.h>
   3228 #include <sys/types.h>
   3229 #include <sys/stat.h>
   3230 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3231 struct buf { int x; };
   3232 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3233 static char *e (p, i)
   3234      char **p;
   3235      int i;
   3236 {
   3237   return p[i];
   3238 }
   3239 static char *f (char * (*g) (char **, int), char **p, ...)
   3240 {
   3241   char *s;
   3242   va_list v;
   3243   va_start (v,p);
   3244   s = g (p, va_arg (v,int));
   3245   va_end (v);
   3246   return s;
   3247 }
   3248 
   3249 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3250    function prototypes and stuff, but not '\xHH' hex character constants.
   3251    These don't provoke an error unfortunately, instead are silently treated
   3252    as 'x'.  The following induces an error, until -std is added to get
   3253    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3254    array size at least.  It's necessary to write '\x00'==0 to get something
   3255    that's true only with -std.  */
   3256 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3257 
   3258 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3259    inside strings and character constants.  */
   3260 #define FOO(x) 'x'
   3261 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3262 
   3263 int test (int i, double x);
   3264 struct s1 {int (*f) (int a);};
   3265 struct s2 {int (*f) (double a);};
   3266 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3267 int argc;
   3268 char **argv;
   3269 int
   3270 main ()
   3271 {
   3272 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3273   ;
   3274   return 0;
   3275 }
   3276 _ACEOF
   3277 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3278 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3279 do
   3280   CC="$ac_save_CC $ac_arg"
   3281   rm -f conftest.$ac_objext
   3282 if { (ac_try="$ac_compile"
   3283 case "(($ac_try" in
   3284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3285   *) ac_try_echo=$ac_try;;
   3286 esac
   3287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3288   (eval "$ac_compile") 2>conftest.er1
   3289   ac_status=$?
   3290   grep -v '^ *+' conftest.er1 >conftest.err
   3291   rm -f conftest.er1
   3292   cat conftest.err >&5
   3293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3294   (exit $ac_status); } && {
   3295 	 test -z "$ac_c_werror_flag" ||
   3296 	 test ! -s conftest.err
   3297        } && test -s conftest.$ac_objext; then
   3298   ac_cv_prog_cc_c89=$ac_arg
   3299 else
   3300   echo "$as_me: failed program was:" >&5
   3301 sed 's/^/| /' conftest.$ac_ext >&5
   3302 
   3303 
   3304 fi
   3305 
   3306 rm -f core conftest.err conftest.$ac_objext
   3307   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3308 done
   3309 rm -f conftest.$ac_ext
   3310 CC=$ac_save_CC
   3311 
   3312 fi
   3313 # AC_CACHE_VAL
   3314 case "x$ac_cv_prog_cc_c89" in
   3315   x)
   3316     { echo "$as_me:$LINENO: result: none needed" >&5
   3317 echo "${ECHO_T}none needed" >&6; } ;;
   3318   xno)
   3319     { echo "$as_me:$LINENO: result: unsupported" >&5
   3320 echo "${ECHO_T}unsupported" >&6; } ;;
   3321   *)
   3322     CC="$CC $ac_cv_prog_cc_c89"
   3323     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3324 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3325 esac
   3326 
   3327 
   3328 ac_ext=c
   3329 ac_cpp='$CPP $CPPFLAGS'
   3330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3333 DEPDIR="${am__leading_dot}deps"
   3334 
   3335 ac_config_commands="$ac_config_commands depfiles"
   3336 
   3337 
   3338 am_make=${MAKE-make}
   3339 cat > confinc << 'END'
   3340 am__doit:
   3341 	@echo done
   3342 .PHONY: am__doit
   3343 END
   3344 # If we don't find an include directive, just comment out the code.
   3345 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3346 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3347 am__include="#"
   3348 am__quote=
   3349 _am_result=none
   3350 # First try GNU make style include.
   3351 echo "include confinc" > confmf
   3352 # We grep out `Entering directory' and `Leaving directory'
   3353 # messages which can occur if `w' ends up in MAKEFLAGS.
   3354 # In particular we don't look at `^make:' because GNU make might
   3355 # be invoked under some other name (usually "gmake"), in which
   3356 # case it prints its new name instead of `make'.
   3357 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3358    am__include=include
   3359    am__quote=
   3360    _am_result=GNU
   3361 fi
   3362 # Now try BSD make style include.
   3363 if test "$am__include" = "#"; then
   3364    echo '.include "confinc"' > confmf
   3365    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3366       am__include=.include
   3367       am__quote="\""
   3368       _am_result=BSD
   3369    fi
   3370 fi
   3371 
   3372 
   3373 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3374 echo "${ECHO_T}$_am_result" >&6; }
   3375 rm -f confinc confmf
   3376 
   3377 # Check whether --enable-dependency-tracking was given.
   3378 if test "${enable_dependency_tracking+set}" = set; then
   3379   enableval=$enable_dependency_tracking;
   3380 fi
   3381 
   3382 if test "x$enable_dependency_tracking" != xno; then
   3383   am_depcomp="$ac_aux_dir/depcomp"
   3384   AMDEPBACKSLASH='\'
   3385 fi
   3386  if test "x$enable_dependency_tracking" != xno; then
   3387   AMDEP_TRUE=
   3388   AMDEP_FALSE='#'
   3389 else
   3390   AMDEP_TRUE='#'
   3391   AMDEP_FALSE=
   3392 fi
   3393 
   3394 
   3395 
   3396 depcc="$CC"   am_compiler_list=
   3397 
   3398 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3399 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3400 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3401   echo $ECHO_N "(cached) $ECHO_C" >&6
   3402 else
   3403   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3404   # We make a subdir and do the tests there.  Otherwise we can end up
   3405   # making bogus files that we don't know about and never remove.  For
   3406   # instance it was reported that on HP-UX the gcc test will end up
   3407   # making a dummy file named `D' -- because `-MD' means `put the output
   3408   # in D'.
   3409   mkdir conftest.dir
   3410   # Copy depcomp to subdir because otherwise we won't find it if we're
   3411   # using a relative directory.
   3412   cp "$am_depcomp" conftest.dir
   3413   cd conftest.dir
   3414   # We will build objects and dependencies in a subdirectory because
   3415   # it helps to detect inapplicable dependency modes.  For instance
   3416   # both Tru64's cc and ICC support -MD to output dependencies as a
   3417   # side effect of compilation, but ICC will put the dependencies in
   3418   # the current directory while Tru64 will put them in the object
   3419   # directory.
   3420   mkdir sub
   3421 
   3422   am_cv_CC_dependencies_compiler_type=none
   3423   if test "$am_compiler_list" = ""; then
   3424      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3425   fi
   3426   for depmode in $am_compiler_list; do
   3427     # Setup a source with many dependencies, because some compilers
   3428     # like to wrap large dependency lists on column 80 (with \), and
   3429     # we should not choose a depcomp mode which is confused by this.
   3430     #
   3431     # We need to recreate these files for each test, as the compiler may
   3432     # overwrite some of them when testing with obscure command lines.
   3433     # This happens at least with the AIX C compiler.
   3434     : > sub/conftest.c
   3435     for i in 1 2 3 4 5 6; do
   3436       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3437       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3438       # Solaris 8's {/usr,}/bin/sh.
   3439       touch sub/conftst$i.h
   3440     done
   3441     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3442 
   3443     case $depmode in
   3444     nosideeffect)
   3445       # after this tag, mechanisms are not by side-effect, so they'll
   3446       # only be used when explicitly requested
   3447       if test "x$enable_dependency_tracking" = xyes; then
   3448 	continue
   3449       else
   3450 	break
   3451       fi
   3452       ;;
   3453     none) break ;;
   3454     esac
   3455     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3456     # mode.  It turns out that the SunPro C++ compiler does not properly
   3457     # handle `-M -o', and we need to detect this.
   3458     if depmode=$depmode \
   3459        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3460        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3461        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3462          >/dev/null 2>conftest.err &&
   3463        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3464        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3465        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3466        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3467       # icc doesn't choke on unknown options, it will just issue warnings
   3468       # or remarks (even with -Werror).  So we grep stderr for any message
   3469       # that says an option was ignored or not supported.
   3470       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3471       #   icc: Command line warning: ignoring option '-M'; no argument required
   3472       # The diagnosis changed in icc 8.0:
   3473       #   icc: Command line remark: option '-MP' not supported
   3474       if (grep 'ignoring option' conftest.err ||
   3475           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3476         am_cv_CC_dependencies_compiler_type=$depmode
   3477         break
   3478       fi
   3479     fi
   3480   done
   3481 
   3482   cd ..
   3483   rm -rf conftest.dir
   3484 else
   3485   am_cv_CC_dependencies_compiler_type=none
   3486 fi
   3487 
   3488 fi
   3489 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3490 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3491 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3492 
   3493  if
   3494   test "x$enable_dependency_tracking" != xno \
   3495   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3496   am__fastdepCC_TRUE=
   3497   am__fastdepCC_FALSE='#'
   3498 else
   3499   am__fastdepCC_TRUE='#'
   3500   am__fastdepCC_FALSE=
   3501 fi
   3502 
   3503 
   3504 ac_ext=cpp
   3505 ac_cpp='$CXXCPP $CPPFLAGS'
   3506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3509 if test -z "$CXX"; then
   3510   if test -n "$CCC"; then
   3511     CXX=$CCC
   3512   else
   3513     if test -n "$ac_tool_prefix"; then
   3514   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3515   do
   3516     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3520 if test "${ac_cv_prog_CXX+set}" = set; then
   3521   echo $ECHO_N "(cached) $ECHO_C" >&6
   3522 else
   3523   if test -n "$CXX"; then
   3524   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   3525 else
   3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3527 for as_dir in $PATH
   3528 do
   3529   IFS=$as_save_IFS
   3530   test -z "$as_dir" && as_dir=.
   3531   for ac_exec_ext in '' $ac_executable_extensions; do
   3532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3533     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   3534     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3535     break 2
   3536   fi
   3537 done
   3538 done
   3539 IFS=$as_save_IFS
   3540 
   3541 fi
   3542 fi
   3543 CXX=$ac_cv_prog_CXX
   3544 if test -n "$CXX"; then
   3545   { echo "$as_me:$LINENO: result: $CXX" >&5
   3546 echo "${ECHO_T}$CXX" >&6; }
   3547 else
   3548   { echo "$as_me:$LINENO: result: no" >&5
   3549 echo "${ECHO_T}no" >&6; }
   3550 fi
   3551 
   3552 
   3553     test -n "$CXX" && break
   3554   done
   3555 fi
   3556 if test -z "$CXX"; then
   3557   ac_ct_CXX=$CXX
   3558   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3559 do
   3560   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3561 set dummy $ac_prog; ac_word=$2
   3562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3564 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   3565   echo $ECHO_N "(cached) $ECHO_C" >&6
   3566 else
   3567   if test -n "$ac_ct_CXX"; then
   3568   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3569 else
   3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3571 for as_dir in $PATH
   3572 do
   3573   IFS=$as_save_IFS
   3574   test -z "$as_dir" && as_dir=.
   3575   for ac_exec_ext in '' $ac_executable_extensions; do
   3576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3577     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3579     break 2
   3580   fi
   3581 done
   3582 done
   3583 IFS=$as_save_IFS
   3584 
   3585 fi
   3586 fi
   3587 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   3588 if test -n "$ac_ct_CXX"; then
   3589   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   3590 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   3591 else
   3592   { echo "$as_me:$LINENO: result: no" >&5
   3593 echo "${ECHO_T}no" >&6; }
   3594 fi
   3595 
   3596 
   3597   test -n "$ac_ct_CXX" && break
   3598 done
   3599 
   3600   if test "x$ac_ct_CXX" = x; then
   3601     CXX="g++"
   3602   else
   3603     case $cross_compiling:$ac_tool_warned in
   3604 yes:)
   3605 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3606 whose name does not start with the host triplet.  If you think this
   3607 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3608 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3609 whose name does not start with the host triplet.  If you think this
   3610 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3611 ac_tool_warned=yes ;;
   3612 esac
   3613     CXX=$ac_ct_CXX
   3614   fi
   3615 fi
   3616 
   3617   fi
   3618 fi
   3619 # Provide some information about the compiler.
   3620 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   3621 ac_compiler=`set X $ac_compile; echo $2`
   3622 { (ac_try="$ac_compiler --version >&5"
   3623 case "(($ac_try" in
   3624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3625   *) ac_try_echo=$ac_try;;
   3626 esac
   3627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3628   (eval "$ac_compiler --version >&5") 2>&5
   3629   ac_status=$?
   3630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3631   (exit $ac_status); }
   3632 { (ac_try="$ac_compiler -v >&5"
   3633 case "(($ac_try" in
   3634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3635   *) ac_try_echo=$ac_try;;
   3636 esac
   3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3638   (eval "$ac_compiler -v >&5") 2>&5
   3639   ac_status=$?
   3640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3641   (exit $ac_status); }
   3642 { (ac_try="$ac_compiler -V >&5"
   3643 case "(($ac_try" in
   3644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3645   *) ac_try_echo=$ac_try;;
   3646 esac
   3647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3648   (eval "$ac_compiler -V >&5") 2>&5
   3649   ac_status=$?
   3650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3651   (exit $ac_status); }
   3652 
   3653 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   3654 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   3655 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   3656   echo $ECHO_N "(cached) $ECHO_C" >&6
   3657 else
   3658   cat >conftest.$ac_ext <<_ACEOF
   3659 /* confdefs.h.  */
   3660 _ACEOF
   3661 cat confdefs.h >>conftest.$ac_ext
   3662 cat >>conftest.$ac_ext <<_ACEOF
   3663 /* end confdefs.h.  */
   3664 
   3665 int
   3666 main ()
   3667 {
   3668 #ifndef __GNUC__
   3669        choke me
   3670 #endif
   3671 
   3672   ;
   3673   return 0;
   3674 }
   3675 _ACEOF
   3676 rm -f conftest.$ac_objext
   3677 if { (ac_try="$ac_compile"
   3678 case "(($ac_try" in
   3679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3680   *) ac_try_echo=$ac_try;;
   3681 esac
   3682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3683   (eval "$ac_compile") 2>conftest.er1
   3684   ac_status=$?
   3685   grep -v '^ *+' conftest.er1 >conftest.err
   3686   rm -f conftest.er1
   3687   cat conftest.err >&5
   3688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3689   (exit $ac_status); } && {
   3690 	 test -z "$ac_cxx_werror_flag" ||
   3691 	 test ! -s conftest.err
   3692        } && test -s conftest.$ac_objext; then
   3693   ac_compiler_gnu=yes
   3694 else
   3695   echo "$as_me: failed program was:" >&5
   3696 sed 's/^/| /' conftest.$ac_ext >&5
   3697 
   3698 	ac_compiler_gnu=no
   3699 fi
   3700 
   3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3702 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   3703 
   3704 fi
   3705 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   3706 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   3707 GXX=`test $ac_compiler_gnu = yes && echo yes`
   3708 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3709 ac_save_CXXFLAGS=$CXXFLAGS
   3710 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   3711 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   3712 if test "${ac_cv_prog_cxx_g+set}" = set; then
   3713   echo $ECHO_N "(cached) $ECHO_C" >&6
   3714 else
   3715   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3716    ac_cxx_werror_flag=yes
   3717    ac_cv_prog_cxx_g=no
   3718    CXXFLAGS="-g"
   3719    cat >conftest.$ac_ext <<_ACEOF
   3720 /* confdefs.h.  */
   3721 _ACEOF
   3722 cat confdefs.h >>conftest.$ac_ext
   3723 cat >>conftest.$ac_ext <<_ACEOF
   3724 /* end confdefs.h.  */
   3725 
   3726 int
   3727 main ()
   3728 {
   3729 
   3730   ;
   3731   return 0;
   3732 }
   3733 _ACEOF
   3734 rm -f conftest.$ac_objext
   3735 if { (ac_try="$ac_compile"
   3736 case "(($ac_try" in
   3737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3738   *) ac_try_echo=$ac_try;;
   3739 esac
   3740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3741   (eval "$ac_compile") 2>conftest.er1
   3742   ac_status=$?
   3743   grep -v '^ *+' conftest.er1 >conftest.err
   3744   rm -f conftest.er1
   3745   cat conftest.err >&5
   3746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3747   (exit $ac_status); } && {
   3748 	 test -z "$ac_cxx_werror_flag" ||
   3749 	 test ! -s conftest.err
   3750        } && test -s conftest.$ac_objext; then
   3751   ac_cv_prog_cxx_g=yes
   3752 else
   3753   echo "$as_me: failed program was:" >&5
   3754 sed 's/^/| /' conftest.$ac_ext >&5
   3755 
   3756 	CXXFLAGS=""
   3757       cat >conftest.$ac_ext <<_ACEOF
   3758 /* confdefs.h.  */
   3759 _ACEOF
   3760 cat confdefs.h >>conftest.$ac_ext
   3761 cat >>conftest.$ac_ext <<_ACEOF
   3762 /* end confdefs.h.  */
   3763 
   3764 int
   3765 main ()
   3766 {
   3767 
   3768   ;
   3769   return 0;
   3770 }
   3771 _ACEOF
   3772 rm -f conftest.$ac_objext
   3773 if { (ac_try="$ac_compile"
   3774 case "(($ac_try" in
   3775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3776   *) ac_try_echo=$ac_try;;
   3777 esac
   3778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3779   (eval "$ac_compile") 2>conftest.er1
   3780   ac_status=$?
   3781   grep -v '^ *+' conftest.er1 >conftest.err
   3782   rm -f conftest.er1
   3783   cat conftest.err >&5
   3784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3785   (exit $ac_status); } && {
   3786 	 test -z "$ac_cxx_werror_flag" ||
   3787 	 test ! -s conftest.err
   3788        } && test -s conftest.$ac_objext; then
   3789   :
   3790 else
   3791   echo "$as_me: failed program was:" >&5
   3792 sed 's/^/| /' conftest.$ac_ext >&5
   3793 
   3794 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3795 	 CXXFLAGS="-g"
   3796 	 cat >conftest.$ac_ext <<_ACEOF
   3797 /* confdefs.h.  */
   3798 _ACEOF
   3799 cat confdefs.h >>conftest.$ac_ext
   3800 cat >>conftest.$ac_ext <<_ACEOF
   3801 /* end confdefs.h.  */
   3802 
   3803 int
   3804 main ()
   3805 {
   3806 
   3807   ;
   3808   return 0;
   3809 }
   3810 _ACEOF
   3811 rm -f conftest.$ac_objext
   3812 if { (ac_try="$ac_compile"
   3813 case "(($ac_try" in
   3814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3815   *) ac_try_echo=$ac_try;;
   3816 esac
   3817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3818   (eval "$ac_compile") 2>conftest.er1
   3819   ac_status=$?
   3820   grep -v '^ *+' conftest.er1 >conftest.err
   3821   rm -f conftest.er1
   3822   cat conftest.err >&5
   3823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3824   (exit $ac_status); } && {
   3825 	 test -z "$ac_cxx_werror_flag" ||
   3826 	 test ! -s conftest.err
   3827        } && test -s conftest.$ac_objext; then
   3828   ac_cv_prog_cxx_g=yes
   3829 else
   3830   echo "$as_me: failed program was:" >&5
   3831 sed 's/^/| /' conftest.$ac_ext >&5
   3832 
   3833 
   3834 fi
   3835 
   3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3837 fi
   3838 
   3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3840 fi
   3841 
   3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3843    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3844 fi
   3845 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   3846 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   3847 if test "$ac_test_CXXFLAGS" = set; then
   3848   CXXFLAGS=$ac_save_CXXFLAGS
   3849 elif test $ac_cv_prog_cxx_g = yes; then
   3850   if test "$GXX" = yes; then
   3851     CXXFLAGS="-g -O2"
   3852   else
   3853     CXXFLAGS="-g"
   3854   fi
   3855 else
   3856   if test "$GXX" = yes; then
   3857     CXXFLAGS="-O2"
   3858   else
   3859     CXXFLAGS=
   3860   fi
   3861 fi
   3862 ac_ext=c
   3863 ac_cpp='$CPP $CPPFLAGS'
   3864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3867 
   3868 depcc="$CXX"  am_compiler_list=
   3869 
   3870 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3871 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3872 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   3873   echo $ECHO_N "(cached) $ECHO_C" >&6
   3874 else
   3875   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3876   # We make a subdir and do the tests there.  Otherwise we can end up
   3877   # making bogus files that we don't know about and never remove.  For
   3878   # instance it was reported that on HP-UX the gcc test will end up
   3879   # making a dummy file named `D' -- because `-MD' means `put the output
   3880   # in D'.
   3881   mkdir conftest.dir
   3882   # Copy depcomp to subdir because otherwise we won't find it if we're
   3883   # using a relative directory.
   3884   cp "$am_depcomp" conftest.dir
   3885   cd conftest.dir
   3886   # We will build objects and dependencies in a subdirectory because
   3887   # it helps to detect inapplicable dependency modes.  For instance
   3888   # both Tru64's cc and ICC support -MD to output dependencies as a
   3889   # side effect of compilation, but ICC will put the dependencies in
   3890   # the current directory while Tru64 will put them in the object
   3891   # directory.
   3892   mkdir sub
   3893 
   3894   am_cv_CXX_dependencies_compiler_type=none
   3895   if test "$am_compiler_list" = ""; then
   3896      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3897   fi
   3898   for depmode in $am_compiler_list; do
   3899     # Setup a source with many dependencies, because some compilers
   3900     # like to wrap large dependency lists on column 80 (with \), and
   3901     # we should not choose a depcomp mode which is confused by this.
   3902     #
   3903     # We need to recreate these files for each test, as the compiler may
   3904     # overwrite some of them when testing with obscure command lines.
   3905     # This happens at least with the AIX C compiler.
   3906     : > sub/conftest.c
   3907     for i in 1 2 3 4 5 6; do
   3908       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3909       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3910       # Solaris 8's {/usr,}/bin/sh.
   3911       touch sub/conftst$i.h
   3912     done
   3913     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3914 
   3915     case $depmode in
   3916     nosideeffect)
   3917       # after this tag, mechanisms are not by side-effect, so they'll
   3918       # only be used when explicitly requested
   3919       if test "x$enable_dependency_tracking" = xyes; then
   3920 	continue
   3921       else
   3922 	break
   3923       fi
   3924       ;;
   3925     none) break ;;
   3926     esac
   3927     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3928     # mode.  It turns out that the SunPro C++ compiler does not properly
   3929     # handle `-M -o', and we need to detect this.
   3930     if depmode=$depmode \
   3931        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3932        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3933        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3934          >/dev/null 2>conftest.err &&
   3935        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3936        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3937        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3938        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3939       # icc doesn't choke on unknown options, it will just issue warnings
   3940       # or remarks (even with -Werror).  So we grep stderr for any message
   3941       # that says an option was ignored or not supported.
   3942       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3943       #   icc: Command line warning: ignoring option '-M'; no argument required
   3944       # The diagnosis changed in icc 8.0:
   3945       #   icc: Command line remark: option '-MP' not supported
   3946       if (grep 'ignoring option' conftest.err ||
   3947           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3948         am_cv_CXX_dependencies_compiler_type=$depmode
   3949         break
   3950       fi
   3951     fi
   3952   done
   3953 
   3954   cd ..
   3955   rm -rf conftest.dir
   3956 else
   3957   am_cv_CXX_dependencies_compiler_type=none
   3958 fi
   3959 
   3960 fi
   3961 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   3962 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   3963 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   3964 
   3965  if
   3966   test "x$enable_dependency_tracking" != xno \
   3967   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   3968   am__fastdepCXX_TRUE=
   3969   am__fastdepCXX_FALSE='#'
   3970 else
   3971   am__fastdepCXX_TRUE='#'
   3972   am__fastdepCXX_FALSE=
   3973 fi
   3974 
   3975 
   3976 # Find a good install program.  We prefer a C program (faster),
   3977 # so one script is as good as another.  But avoid the broken or
   3978 # incompatible versions:
   3979 # SysV /etc/install, /usr/sbin/install
   3980 # SunOS /usr/etc/install
   3981 # IRIX /sbin/install
   3982 # AIX /bin/install
   3983 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3984 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3985 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3986 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3987 # OS/2's system install, which has a completely different semantic
   3988 # ./install, which can be erroneously created by make from ./install.sh.
   3989 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   3990 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   3991 if test -z "$INSTALL"; then
   3992 if test "${ac_cv_path_install+set}" = set; then
   3993   echo $ECHO_N "(cached) $ECHO_C" >&6
   3994 else
   3995   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3996 for as_dir in $PATH
   3997 do
   3998   IFS=$as_save_IFS
   3999   test -z "$as_dir" && as_dir=.
   4000   # Account for people who put trailing slashes in PATH elements.
   4001 case $as_dir/ in
   4002   ./ | .// | /cC/* | \
   4003   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4004   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   4005   /usr/ucb/* ) ;;
   4006   *)
   4007     # OSF1 and SCO ODT 3.0 have their own names for install.
   4008     # Don't use installbsd from OSF since it installs stuff as root
   4009     # by default.
   4010     for ac_prog in ginstall scoinst install; do
   4011       for ac_exec_ext in '' $ac_executable_extensions; do
   4012 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   4013 	  if test $ac_prog = install &&
   4014 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4015 	    # AIX install.  It has an incompatible calling convention.
   4016 	    :
   4017 	  elif test $ac_prog = install &&
   4018 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4019 	    # program-specific install script used by HP pwplus--don't use.
   4020 	    :
   4021 	  else
   4022 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4023 	    break 3
   4024 	  fi
   4025 	fi
   4026       done
   4027     done
   4028     ;;
   4029 esac
   4030 done
   4031 IFS=$as_save_IFS
   4032 
   4033 
   4034 fi
   4035   if test "${ac_cv_path_install+set}" = set; then
   4036     INSTALL=$ac_cv_path_install
   4037   else
   4038     # As a last resort, use the slow shell script.  Don't cache a
   4039     # value for INSTALL within a source directory, because that will
   4040     # break other packages using the cache if that directory is
   4041     # removed, or if the value is a relative name.
   4042     INSTALL=$ac_install_sh
   4043   fi
   4044 fi
   4045 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   4046 echo "${ECHO_T}$INSTALL" >&6; }
   4047 
   4048 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4049 # It thinks the first close brace ends the variable substitution.
   4050 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4051 
   4052 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4053 
   4054 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4055 
   4056 
   4057 # Make sure we can run config.sub.
   4058 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4059   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4060 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4061    { (exit 1); exit 1; }; }
   4062 
   4063 { echo "$as_me:$LINENO: checking build system type" >&5
   4064 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   4065 if test "${ac_cv_build+set}" = set; then
   4066   echo $ECHO_N "(cached) $ECHO_C" >&6
   4067 else
   4068   ac_build_alias=$build_alias
   4069 test "x$ac_build_alias" = x &&
   4070   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4071 test "x$ac_build_alias" = x &&
   4072   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4073 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4074    { (exit 1); exit 1; }; }
   4075 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4076   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4077 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4078    { (exit 1); exit 1; }; }
   4079 
   4080 fi
   4081 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4082 echo "${ECHO_T}$ac_cv_build" >&6; }
   4083 case $ac_cv_build in
   4084 *-*-*) ;;
   4085 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4086 echo "$as_me: error: invalid value of canonical build" >&2;}
   4087    { (exit 1); exit 1; }; };;
   4088 esac
   4089 build=$ac_cv_build
   4090 ac_save_IFS=$IFS; IFS='-'
   4091 set x $ac_cv_build
   4092 shift
   4093 build_cpu=$1
   4094 build_vendor=$2
   4095 shift; shift
   4096 # Remember, the first character of IFS is used to create $*,
   4097 # except with old shells:
   4098 build_os=$*
   4099 IFS=$ac_save_IFS
   4100 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4101 
   4102 
   4103 { echo "$as_me:$LINENO: checking host system type" >&5
   4104 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   4105 if test "${ac_cv_host+set}" = set; then
   4106   echo $ECHO_N "(cached) $ECHO_C" >&6
   4107 else
   4108   if test "x$host_alias" = x; then
   4109   ac_cv_host=$ac_cv_build
   4110 else
   4111   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4112     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4113 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4114    { (exit 1); exit 1; }; }
   4115 fi
   4116 
   4117 fi
   4118 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4119 echo "${ECHO_T}$ac_cv_host" >&6; }
   4120 case $ac_cv_host in
   4121 *-*-*) ;;
   4122 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4123 echo "$as_me: error: invalid value of canonical host" >&2;}
   4124    { (exit 1); exit 1; }; };;
   4125 esac
   4126 host=$ac_cv_host
   4127 ac_save_IFS=$IFS; IFS='-'
   4128 set x $ac_cv_host
   4129 shift
   4130 host_cpu=$1
   4131 host_vendor=$2
   4132 shift; shift
   4133 # Remember, the first character of IFS is used to create $*,
   4134 # except with old shells:
   4135 host_os=$*
   4136 IFS=$ac_save_IFS
   4137 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4138 
   4139 
   4140 
   4141 
   4142 
   4143 
   4144 
   4145 
   4146 
   4147   case "$host_os" in
   4148     mingw* | cygwin*)
   4149       { echo "$as_me:$LINENO: checking for auto-import of symbols" >&5
   4150 echo $ECHO_N "checking for auto-import of symbols... $ECHO_C" >&6; }
   4151       if test "${gl_cv_ld_autoimport+set}" = set; then
   4152   echo $ECHO_N "(cached) $ECHO_C" >&6
   4153 else
   4154 
   4155         gl_save_LDFLAGS="$LDFLAGS"
   4156         LDFLAGS="$LDFLAGS -Wl,--disable-auto-import"
   4157         cat >conftest.$ac_ext <<_ACEOF
   4158 /* confdefs.h.  */
   4159 _ACEOF
   4160 cat confdefs.h >>conftest.$ac_ext
   4161 cat >>conftest.$ac_ext <<_ACEOF
   4162 /* end confdefs.h.  */
   4163 
   4164 int
   4165 main ()
   4166 {
   4167 
   4168   ;
   4169   return 0;
   4170 }
   4171 _ACEOF
   4172 rm -f conftest.$ac_objext conftest$ac_exeext
   4173 if { (ac_try="$ac_link"
   4174 case "(($ac_try" in
   4175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4176   *) ac_try_echo=$ac_try;;
   4177 esac
   4178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4179   (eval "$ac_link") 2>conftest.er1
   4180   ac_status=$?
   4181   grep -v '^ *+' conftest.er1 >conftest.err
   4182   rm -f conftest.er1
   4183   cat conftest.err >&5
   4184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4185   (exit $ac_status); } && {
   4186 	 test -z "$ac_c_werror_flag" ||
   4187 	 test ! -s conftest.err
   4188        } && test -s conftest$ac_exeext &&
   4189        $as_test_x conftest$ac_exeext; then
   4190   gl_cv_ld_autoimport=yes
   4191 else
   4192   echo "$as_me: failed program was:" >&5
   4193 sed 's/^/| /' conftest.$ac_ext >&5
   4194 
   4195 	gl_cv_ld_autoimport=no
   4196 fi
   4197 
   4198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4199       conftest$ac_exeext conftest.$ac_ext
   4200         LDFLAGS="$gl_save_LDFLAGS"
   4201 fi
   4202 
   4203       { echo "$as_me:$LINENO: result: $gl_cv_ld_autoimport" >&5
   4204 echo "${ECHO_T}$gl_cv_ld_autoimport" >&6; }
   4205       if test $gl_cv_ld_autoimport = yes; then
   4206         LDFLAGS="$LDFLAGS -Wl,--disable-auto-import"
   4207       fi
   4208       ;;
   4209   esac
   4210 
   4211 
   4212 
   4213 # Check whether --enable-shared was given.
   4214 if test "${enable_shared+set}" = set; then
   4215   enableval=$enable_shared; p=${PACKAGE-default}
   4216     case $enableval in
   4217     yes) enable_shared=yes ;;
   4218     no) enable_shared=no ;;
   4219     *)
   4220       enable_shared=no
   4221       # Look at the argument we got.  We use all the common list separators.
   4222       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4223       for pkg in $enableval; do
   4224 	IFS="$lt_save_ifs"
   4225 	if test "X$pkg" = "X$p"; then
   4226 	  enable_shared=yes
   4227 	fi
   4228       done
   4229       IFS="$lt_save_ifs"
   4230       ;;
   4231     esac
   4232 else
   4233   enable_shared=yes
   4234 fi
   4235 
   4236 
   4237 # Check whether --enable-static was given.
   4238 if test "${enable_static+set}" = set; then
   4239   enableval=$enable_static; p=${PACKAGE-default}
   4240     case $enableval in
   4241     yes) enable_static=yes ;;
   4242     no) enable_static=no ;;
   4243     *)
   4244      enable_static=no
   4245       # Look at the argument we got.  We use all the common list separators.
   4246       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4247       for pkg in $enableval; do
   4248 	IFS="$lt_save_ifs"
   4249 	if test "X$pkg" = "X$p"; then
   4250 	  enable_static=yes
   4251 	fi
   4252       done
   4253       IFS="$lt_save_ifs"
   4254       ;;
   4255     esac
   4256 else
   4257   enable_static=yes
   4258 fi
   4259 
   4260 
   4261 # Check whether --enable-fast-install was given.
   4262 if test "${enable_fast_install+set}" = set; then
   4263   enableval=$enable_fast_install; p=${PACKAGE-default}
   4264     case $enableval in
   4265     yes) enable_fast_install=yes ;;
   4266     no) enable_fast_install=no ;;
   4267     *)
   4268       enable_fast_install=no
   4269       # Look at the argument we got.  We use all the common list separators.
   4270       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4271       for pkg in $enableval; do
   4272 	IFS="$lt_save_ifs"
   4273 	if test "X$pkg" = "X$p"; then
   4274 	  enable_fast_install=yes
   4275 	fi
   4276       done
   4277       IFS="$lt_save_ifs"
   4278       ;;
   4279     esac
   4280 else
   4281   enable_fast_install=yes
   4282 fi
   4283 
   4284 
   4285 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4286 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   4287 if test "${lt_cv_path_SED+set}" = set; then
   4288   echo $ECHO_N "(cached) $ECHO_C" >&6
   4289 else
   4290   # Loop through the user's path and test for sed and gsed.
   4291 # Then use that list of sed's as ones to test for truncation.
   4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4293 for as_dir in $PATH
   4294 do
   4295   IFS=$as_save_IFS
   4296   test -z "$as_dir" && as_dir=.
   4297   for lt_ac_prog in sed gsed; do
   4298     for ac_exec_ext in '' $ac_executable_extensions; do
   4299       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   4300         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   4301       fi
   4302     done
   4303   done
   4304 done
   4305 lt_ac_max=0
   4306 lt_ac_count=0
   4307 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   4308 # along with /bin/sed that truncates output.
   4309 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   4310   test ! -f $lt_ac_sed && continue
   4311   cat /dev/null > conftest.in
   4312   lt_ac_count=0
   4313   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   4314   # Check for GNU sed and select it if it is found.
   4315   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   4316     lt_cv_path_SED=$lt_ac_sed
   4317     break
   4318   fi
   4319   while true; do
   4320     cat conftest.in conftest.in >conftest.tmp
   4321     mv conftest.tmp conftest.in
   4322     cp conftest.in conftest.nl
   4323     echo >>conftest.nl
   4324     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   4325     cmp -s conftest.out conftest.nl || break
   4326     # 10000 chars as input seems more than enough
   4327     test $lt_ac_count -gt 10 && break
   4328     lt_ac_count=`expr $lt_ac_count + 1`
   4329     if test $lt_ac_count -gt $lt_ac_max; then
   4330       lt_ac_max=$lt_ac_count
   4331       lt_cv_path_SED=$lt_ac_sed
   4332     fi
   4333   done
   4334 done
   4335 
   4336 fi
   4337 
   4338 SED=$lt_cv_path_SED
   4339 { echo "$as_me:$LINENO: result: $SED" >&5
   4340 echo "${ECHO_T}$SED" >&6; }
   4341 
   4342 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4343 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   4344 if test "${ac_cv_path_GREP+set}" = set; then
   4345   echo $ECHO_N "(cached) $ECHO_C" >&6
   4346 else
   4347   # Extract the first word of "grep ggrep" to use in msg output
   4348 if test -z "$GREP"; then
   4349 set dummy grep ggrep; ac_prog_name=$2
   4350 if test "${ac_cv_path_GREP+set}" = set; then
   4351   echo $ECHO_N "(cached) $ECHO_C" >&6
   4352 else
   4353   ac_path_GREP_found=false
   4354 # Loop through the user's path and test for each of PROGNAME-LIST
   4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4357 do
   4358   IFS=$as_save_IFS
   4359   test -z "$as_dir" && as_dir=.
   4360   for ac_prog in grep ggrep; do
   4361   for ac_exec_ext in '' $ac_executable_extensions; do
   4362     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4363     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4364     # Check for GNU ac_path_GREP and select it if it is found.
   4365   # Check for GNU $ac_path_GREP
   4366 case `"$ac_path_GREP" --version 2>&1` in
   4367 *GNU*)
   4368   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4369 *)
   4370   ac_count=0
   4371   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4372   while :
   4373   do
   4374     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4375     mv "conftest.tmp" "conftest.in"
   4376     cp "conftest.in" "conftest.nl"
   4377     echo 'GREP' >> "conftest.nl"
   4378     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4379     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4380     ac_count=`expr $ac_count + 1`
   4381     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4382       # Best one so far, save it but keep looking for a better one
   4383       ac_cv_path_GREP="$ac_path_GREP"
   4384       ac_path_GREP_max=$ac_count
   4385     fi
   4386     # 10*(2^10) chars as input seems more than enough
   4387     test $ac_count -gt 10 && break
   4388   done
   4389   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4390 esac
   4391 
   4392 
   4393     $ac_path_GREP_found && break 3
   4394   done
   4395 done
   4396 
   4397 done
   4398 IFS=$as_save_IFS
   4399 
   4400 
   4401 fi
   4402 
   4403 GREP="$ac_cv_path_GREP"
   4404 if test -z "$GREP"; then
   4405   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4406 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4407    { (exit 1); exit 1; }; }
   4408 fi
   4409 
   4410 else
   4411   ac_cv_path_GREP=$GREP
   4412 fi
   4413 
   4414 
   4415 fi
   4416 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4417 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   4418  GREP="$ac_cv_path_GREP"
   4419 
   4420 
   4421 { echo "$as_me:$LINENO: checking for egrep" >&5
   4422 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   4423 if test "${ac_cv_path_EGREP+set}" = set; then
   4424   echo $ECHO_N "(cached) $ECHO_C" >&6
   4425 else
   4426   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4427    then ac_cv_path_EGREP="$GREP -E"
   4428    else
   4429      # Extract the first word of "egrep" to use in msg output
   4430 if test -z "$EGREP"; then
   4431 set dummy egrep; ac_prog_name=$2
   4432 if test "${ac_cv_path_EGREP+set}" = set; then
   4433   echo $ECHO_N "(cached) $ECHO_C" >&6
   4434 else
   4435   ac_path_EGREP_found=false
   4436 # Loop through the user's path and test for each of PROGNAME-LIST
   4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4438 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4439 do
   4440   IFS=$as_save_IFS
   4441   test -z "$as_dir" && as_dir=.
   4442   for ac_prog in egrep; do
   4443   for ac_exec_ext in '' $ac_executable_extensions; do
   4444     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4445     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4446     # Check for GNU ac_path_EGREP and select it if it is found.
   4447   # Check for GNU $ac_path_EGREP
   4448 case `"$ac_path_EGREP" --version 2>&1` in
   4449 *GNU*)
   4450   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4451 *)
   4452   ac_count=0
   4453   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4454   while :
   4455   do
   4456     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4457     mv "conftest.tmp" "conftest.in"
   4458     cp "conftest.in" "conftest.nl"
   4459     echo 'EGREP' >> "conftest.nl"
   4460     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4461     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4462     ac_count=`expr $ac_count + 1`
   4463     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4464       # Best one so far, save it but keep looking for a better one
   4465       ac_cv_path_EGREP="$ac_path_EGREP"
   4466       ac_path_EGREP_max=$ac_count
   4467     fi
   4468     # 10*(2^10) chars as input seems more than enough
   4469     test $ac_count -gt 10 && break
   4470   done
   4471   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4472 esac
   4473 
   4474 
   4475     $ac_path_EGREP_found && break 3
   4476   done
   4477 done
   4478 
   4479 done
   4480 IFS=$as_save_IFS
   4481 
   4482 
   4483 fi
   4484 
   4485 EGREP="$ac_cv_path_EGREP"
   4486 if test -z "$EGREP"; then
   4487   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4488 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4489    { (exit 1); exit 1; }; }
   4490 fi
   4491 
   4492 else
   4493   ac_cv_path_EGREP=$EGREP
   4494 fi
   4495 
   4496 
   4497    fi
   4498 fi
   4499 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4500 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   4501  EGREP="$ac_cv_path_EGREP"
   4502 
   4503 
   4504 
   4505 # Check whether --with-gnu-ld was given.
   4506 if test "${with_gnu_ld+set}" = set; then
   4507   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4508 else
   4509   with_gnu_ld=no
   4510 fi
   4511 
   4512 ac_prog=ld
   4513 if test "$GCC" = yes; then
   4514   # Check if gcc -print-prog-name=ld gives a path.
   4515   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4516 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4517   case $host in
   4518   *-*-mingw*)
   4519     # gcc leaves a trailing carriage return which upsets mingw
   4520     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4521   *)
   4522     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4523   esac
   4524   case $ac_prog in
   4525     # Accept absolute paths.
   4526     [\\/]* | ?:[\\/]*)
   4527       re_direlt='/[^/][^/]*/\.\./'
   4528       # Canonicalize the pathname of ld
   4529       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4530       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4531 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4532       done
   4533       test -z "$LD" && LD="$ac_prog"
   4534       ;;
   4535   "")
   4536     # If it fails, then pretend we aren't using GCC.
   4537     ac_prog=ld
   4538     ;;
   4539   *)
   4540     # If it is relative, then search for the first ld in PATH.
   4541     with_gnu_ld=unknown
   4542     ;;
   4543   esac
   4544 elif test "$with_gnu_ld" = yes; then
   4545   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4546 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4547 else
   4548   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4549 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4550 fi
   4551 if test "${lt_cv_path_LD+set}" = set; then
   4552   echo $ECHO_N "(cached) $ECHO_C" >&6
   4553 else
   4554   if test -z "$LD"; then
   4555   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4556   for ac_dir in $PATH; do
   4557     IFS="$lt_save_ifs"
   4558     test -z "$ac_dir" && ac_dir=.
   4559     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4560       lt_cv_path_LD="$ac_dir/$ac_prog"
   4561       # Check to see if the program is GNU ld.  I'd rather use --version,
   4562       # but apparently some variants of GNU ld only accept -v.
   4563       # Break only if it was the GNU/non-GNU ld that we prefer.
   4564       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4565       *GNU* | *'with BFD'*)
   4566 	test "$with_gnu_ld" != no && break
   4567 	;;
   4568       *)
   4569 	test "$with_gnu_ld" != yes && break
   4570 	;;
   4571       esac
   4572     fi
   4573   done
   4574   IFS="$lt_save_ifs"
   4575 else
   4576   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4577 fi
   4578 fi
   4579 
   4580 LD="$lt_cv_path_LD"
   4581 if test -n "$LD"; then
   4582   { echo "$as_me:$LINENO: result: $LD" >&5
   4583 echo "${ECHO_T}$LD" >&6; }
   4584 else
   4585   { echo "$as_me:$LINENO: result: no" >&5
   4586 echo "${ECHO_T}no" >&6; }
   4587 fi
   4588 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4589 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4590    { (exit 1); exit 1; }; }
   4591 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4592 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4593 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4594   echo $ECHO_N "(cached) $ECHO_C" >&6
   4595 else
   4596   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4597 case `$LD -v 2>&1 </dev/null` in
   4598 *GNU* | *'with BFD'*)
   4599   lt_cv_prog_gnu_ld=yes
   4600   ;;
   4601 *)
   4602   lt_cv_prog_gnu_ld=no
   4603   ;;
   4604 esac
   4605 fi
   4606 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4607 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4608 with_gnu_ld=$lt_cv_prog_gnu_ld
   4609 
   4610 
   4611 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4612 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4613 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4614   echo $ECHO_N "(cached) $ECHO_C" >&6
   4615 else
   4616   lt_cv_ld_reload_flag='-r'
   4617 fi
   4618 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4619 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4620 reload_flag=$lt_cv_ld_reload_flag
   4621 case $reload_flag in
   4622 "" | " "*) ;;
   4623 *) reload_flag=" $reload_flag" ;;
   4624 esac
   4625 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4626 case $host_os in
   4627   darwin*)
   4628     if test "$GCC" = yes; then
   4629       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4630     else
   4631       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4632     fi
   4633     ;;
   4634 esac
   4635 
   4636 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4637 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4638 if test "${lt_cv_path_NM+set}" = set; then
   4639   echo $ECHO_N "(cached) $ECHO_C" >&6
   4640 else
   4641   if test -n "$NM"; then
   4642   # Let the user override the test.
   4643   lt_cv_path_NM="$NM"
   4644 else
   4645   lt_nm_to_check="${ac_tool_prefix}nm"
   4646   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4647     lt_nm_to_check="$lt_nm_to_check nm"
   4648   fi
   4649   for lt_tmp_nm in $lt_nm_to_check; do
   4650     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4651     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4652       IFS="$lt_save_ifs"
   4653       test -z "$ac_dir" && ac_dir=.
   4654       tmp_nm="$ac_dir/$lt_tmp_nm"
   4655       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4656 	# Check to see if the nm accepts a BSD-compat flag.
   4657 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4658 	#   nm: unknown option "B" ignored
   4659 	# Tru64's nm complains that /dev/null is an invalid object file
   4660 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4661 	*/dev/null* | *'Invalid file or object type'*)
   4662 	  lt_cv_path_NM="$tmp_nm -B"
   4663 	  break
   4664 	  ;;
   4665 	*)
   4666 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4667 	  */dev/null*)
   4668 	    lt_cv_path_NM="$tmp_nm -p"
   4669 	    break
   4670 	    ;;
   4671 	  *)
   4672 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4673 	    continue # so that we can try to find one that supports BSD flags
   4674 	    ;;
   4675 	  esac
   4676 	  ;;
   4677 	esac
   4678       fi
   4679     done
   4680     IFS="$lt_save_ifs"
   4681   done
   4682   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4683 fi
   4684 fi
   4685 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4686 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4687 NM="$lt_cv_path_NM"
   4688 
   4689 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4690 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4691 LN_S=$as_ln_s
   4692 if test "$LN_S" = "ln -s"; then
   4693   { echo "$as_me:$LINENO: result: yes" >&5
   4694 echo "${ECHO_T}yes" >&6; }
   4695 else
   4696   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4697 echo "${ECHO_T}no, using $LN_S" >&6; }
   4698 fi
   4699 
   4700 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4701 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4702 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4703   echo $ECHO_N "(cached) $ECHO_C" >&6
   4704 else
   4705   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4706 lt_cv_file_magic_test_file=
   4707 lt_cv_deplibs_check_method='unknown'
   4708 # Need to set the preceding variable on all platforms that support
   4709 # interlibrary dependencies.
   4710 # 'none' -- dependencies not supported.
   4711 # `unknown' -- same as none, but documents that we really don't know.
   4712 # 'pass_all' -- all dependencies passed with no checks.
   4713 # 'test_compile' -- check by making test program.
   4714 # 'file_magic [[regex]]' -- check by looking for files in library path
   4715 # which responds to the $file_magic_cmd with a given extended regex.
   4716 # If you have `file' or equivalent on your system and you're not sure
   4717 # whether `pass_all' will *always* work, you probably want this one.
   4718 
   4719 case $host_os in
   4720 aix4* | aix5*)
   4721   lt_cv_deplibs_check_method=pass_all
   4722   ;;
   4723 
   4724 beos*)
   4725   lt_cv_deplibs_check_method=pass_all
   4726   ;;
   4727 
   4728 bsdi[45]*)
   4729   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4730   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4731   lt_cv_file_magic_test_file=/shlib/libc.so
   4732   ;;
   4733 
   4734 cygwin*)
   4735   # func_win32_libid is a shell function defined in ltmain.sh
   4736   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4737   lt_cv_file_magic_cmd='func_win32_libid'
   4738   ;;
   4739 
   4740 mingw* | pw32*)
   4741   # Base MSYS/MinGW do not provide the 'file' command needed by
   4742   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4743   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4744   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4745   ;;
   4746 
   4747 darwin* | rhapsody*)
   4748   lt_cv_deplibs_check_method=pass_all
   4749   ;;
   4750 
   4751 freebsd* | kfreebsd*-gnu | dragonfly*)
   4752   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4753     case $host_cpu in
   4754     i*86 )
   4755       # Not sure whether the presence of OpenBSD here was a mistake.
   4756       # Let's accept both of them until this is cleared up.
   4757       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4758       lt_cv_file_magic_cmd=/usr/bin/file
   4759       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4760       ;;
   4761     esac
   4762   else
   4763     lt_cv_deplibs_check_method=pass_all
   4764   fi
   4765   ;;
   4766 
   4767 gnu*)
   4768   lt_cv_deplibs_check_method=pass_all
   4769   ;;
   4770 
   4771 hpux10.20* | hpux11*)
   4772   lt_cv_file_magic_cmd=/usr/bin/file
   4773   case $host_cpu in
   4774   ia64*)
   4775     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4776     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4777     ;;
   4778   hppa*64*)
   4779     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]'
   4780     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4781     ;;
   4782   *)
   4783     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4784     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4785     ;;
   4786   esac
   4787   ;;
   4788 
   4789 interix3*)
   4790   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4791   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4792   ;;
   4793 
   4794 irix5* | irix6* | nonstopux*)
   4795   case $LD in
   4796   *-32|*"-32 ") libmagic=32-bit;;
   4797   *-n32|*"-n32 ") libmagic=N32;;
   4798   *-64|*"-64 ") libmagic=64-bit;;
   4799   *) libmagic=never-match;;
   4800   esac
   4801   lt_cv_deplibs_check_method=pass_all
   4802   ;;
   4803 
   4804 # This must be Linux ELF.
   4805 linux*)
   4806   lt_cv_deplibs_check_method=pass_all
   4807   ;;
   4808 
   4809 netbsd*)
   4810   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4811     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4812   else
   4813     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4814   fi
   4815   ;;
   4816 
   4817 newos6*)
   4818   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4819   lt_cv_file_magic_cmd=/usr/bin/file
   4820   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4821   ;;
   4822 
   4823 nto-qnx*)
   4824   lt_cv_deplibs_check_method=unknown
   4825   ;;
   4826 
   4827 openbsd*)
   4828   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4829     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4830   else
   4831     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4832   fi
   4833   ;;
   4834 
   4835 osf3* | osf4* | osf5*)
   4836   lt_cv_deplibs_check_method=pass_all
   4837   ;;
   4838 
   4839 solaris*)
   4840   lt_cv_deplibs_check_method=pass_all
   4841   ;;
   4842 
   4843 sysv4 | sysv4.3*)
   4844   case $host_vendor in
   4845   motorola)
   4846     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]'
   4847     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4848     ;;
   4849   ncr)
   4850     lt_cv_deplibs_check_method=pass_all
   4851     ;;
   4852   sequent)
   4853     lt_cv_file_magic_cmd='/bin/file'
   4854     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4855     ;;
   4856   sni)
   4857     lt_cv_file_magic_cmd='/bin/file'
   4858     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4859     lt_cv_file_magic_test_file=/lib/libc.so
   4860     ;;
   4861   siemens)
   4862     lt_cv_deplibs_check_method=pass_all
   4863     ;;
   4864   pc)
   4865     lt_cv_deplibs_check_method=pass_all
   4866     ;;
   4867   esac
   4868   ;;
   4869 
   4870 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4871   lt_cv_deplibs_check_method=pass_all
   4872   ;;
   4873 esac
   4874 
   4875 fi
   4876 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4877 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4878 file_magic_cmd=$lt_cv_file_magic_cmd
   4879 deplibs_check_method=$lt_cv_deplibs_check_method
   4880 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4881 
   4882 
   4883 # If no C compiler was specified, use CC.
   4884 LTCC=${LTCC-"$CC"}
   4885 
   4886 # If no C compiler flags were specified, use CFLAGS.
   4887 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4888 
   4889 # Allow CC to be a program name with arguments.
   4890 compiler=$CC
   4891 
   4892 # Check whether --enable-libtool-lock was given.
   4893 if test "${enable_libtool_lock+set}" = set; then
   4894   enableval=$enable_libtool_lock;
   4895 fi
   4896 
   4897 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4898 
   4899 # Some flags need to be propagated to the compiler or linker for good
   4900 # libtool support.
   4901 case $host in
   4902 ia64-*-hpux*)
   4903   # Find out which ABI we are using.
   4904   echo 'int i;' > conftest.$ac_ext
   4905   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4906   (eval $ac_compile) 2>&5
   4907   ac_status=$?
   4908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4909   (exit $ac_status); }; then
   4910     case `/usr/bin/file conftest.$ac_objext` in
   4911     *ELF-32*)
   4912       HPUX_IA64_MODE="32"
   4913       ;;
   4914     *ELF-64*)
   4915       HPUX_IA64_MODE="64"
   4916       ;;
   4917     esac
   4918   fi
   4919   rm -rf conftest*
   4920   ;;
   4921 *-*-irix6*)
   4922   # Find out which ABI we are using.
   4923   echo '#line 4923 "configure"' > conftest.$ac_ext
   4924   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4925   (eval $ac_compile) 2>&5
   4926   ac_status=$?
   4927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4928   (exit $ac_status); }; then
   4929    if test "$lt_cv_prog_gnu_ld" = yes; then
   4930     case `/usr/bin/file conftest.$ac_objext` in
   4931     *32-bit*)
   4932       LD="${LD-ld} -melf32bsmip"
   4933       ;;
   4934     *N32*)
   4935       LD="${LD-ld} -melf32bmipn32"
   4936       ;;
   4937     *64-bit*)
   4938       LD="${LD-ld} -melf64bmip"
   4939       ;;
   4940     esac
   4941    else
   4942     case `/usr/bin/file conftest.$ac_objext` in
   4943     *32-bit*)
   4944       LD="${LD-ld} -32"
   4945       ;;
   4946     *N32*)
   4947       LD="${LD-ld} -n32"
   4948       ;;
   4949     *64-bit*)
   4950       LD="${LD-ld} -64"
   4951       ;;
   4952     esac
   4953    fi
   4954   fi
   4955   rm -rf conftest*
   4956   ;;
   4957 
   4958 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4959   # Find out which ABI we are using.
   4960   echo 'int i;' > conftest.$ac_ext
   4961   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4962   (eval $ac_compile) 2>&5
   4963   ac_status=$?
   4964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4965   (exit $ac_status); }; then
   4966     case `/usr/bin/file conftest.o` in
   4967     *32-bit*)
   4968       case $host in
   4969         x86_64-*linux*)
   4970           LD="${LD-ld} -m elf_i386"
   4971           ;;
   4972         ppc64-*linux*|powerpc64-*linux*)
   4973           LD="${LD-ld} -m elf32ppclinux"
   4974           ;;
   4975         s390x-*linux*)
   4976           LD="${LD-ld} -m elf_s390"
   4977           ;;
   4978         sparc64-*linux*)
   4979           LD="${LD-ld} -m elf32_sparc"
   4980           ;;
   4981       esac
   4982       ;;
   4983     *64-bit*)
   4984       case $host in
   4985         x86_64-*linux*)
   4986           LD="${LD-ld} -m elf_x86_64"
   4987           ;;
   4988         ppc*-*linux*|powerpc*-*linux*)
   4989           LD="${LD-ld} -m elf64ppc"
   4990           ;;
   4991         s390*-*linux*)
   4992           LD="${LD-ld} -m elf64_s390"
   4993           ;;
   4994         sparc*-*linux*)
   4995           LD="${LD-ld} -m elf64_sparc"
   4996           ;;
   4997       esac
   4998       ;;
   4999     esac
   5000   fi
   5001   rm -rf conftest*
   5002   ;;
   5003 
   5004 *-*-sco3.2v5*)
   5005   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5006   SAVE_CFLAGS="$CFLAGS"
   5007   CFLAGS="$CFLAGS -belf"
   5008   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   5009 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   5010 if test "${lt_cv_cc_needs_belf+set}" = set; then
   5011   echo $ECHO_N "(cached) $ECHO_C" >&6
   5012 else
   5013   ac_ext=c
   5014 ac_cpp='$CPP $CPPFLAGS'
   5015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5018 
   5019      cat >conftest.$ac_ext <<_ACEOF
   5020 /* confdefs.h.  */
   5021 _ACEOF
   5022 cat confdefs.h >>conftest.$ac_ext
   5023 cat >>conftest.$ac_ext <<_ACEOF
   5024 /* end confdefs.h.  */
   5025 
   5026 int
   5027 main ()
   5028 {
   5029 
   5030   ;
   5031   return 0;
   5032 }
   5033 _ACEOF
   5034 rm -f conftest.$ac_objext conftest$ac_exeext
   5035 if { (ac_try="$ac_link"
   5036 case "(($ac_try" in
   5037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5038   *) ac_try_echo=$ac_try;;
   5039 esac
   5040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5041   (eval "$ac_link") 2>conftest.er1
   5042   ac_status=$?
   5043   grep -v '^ *+' conftest.er1 >conftest.err
   5044   rm -f conftest.er1
   5045   cat conftest.err >&5
   5046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5047   (exit $ac_status); } && {
   5048 	 test -z "$ac_c_werror_flag" ||
   5049 	 test ! -s conftest.err
   5050        } && test -s conftest$ac_exeext &&
   5051        $as_test_x conftest$ac_exeext; then
   5052   lt_cv_cc_needs_belf=yes
   5053 else
   5054   echo "$as_me: failed program was:" >&5
   5055 sed 's/^/| /' conftest.$ac_ext >&5
   5056 
   5057 	lt_cv_cc_needs_belf=no
   5058 fi
   5059 
   5060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5061       conftest$ac_exeext conftest.$ac_ext
   5062      ac_ext=c
   5063 ac_cpp='$CPP $CPPFLAGS'
   5064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5067 
   5068 fi
   5069 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5070 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   5071   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5072     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5073     CFLAGS="$SAVE_CFLAGS"
   5074   fi
   5075   ;;
   5076 sparc*-*solaris*)
   5077   # Find out which ABI we are using.
   5078   echo 'int i;' > conftest.$ac_ext
   5079   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5080   (eval $ac_compile) 2>&5
   5081   ac_status=$?
   5082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5083   (exit $ac_status); }; then
   5084     case `/usr/bin/file conftest.o` in
   5085     *64-bit*)
   5086       case $lt_cv_prog_gnu_ld in
   5087       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5088       *)    LD="${LD-ld} -64" ;;
   5089       esac
   5090       ;;
   5091     esac
   5092   fi
   5093   rm -rf conftest*
   5094   ;;
   5095 
   5096 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
   5097   if test -n "$ac_tool_prefix"; then
   5098   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5099 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5102 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
   5103   echo $ECHO_N "(cached) $ECHO_C" >&6
   5104 else
   5105   if test -n "$DLLTOOL"; then
   5106   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5107 else
   5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5109 for as_dir in $PATH
   5110 do
   5111   IFS=$as_save_IFS
   5112   test -z "$as_dir" && as_dir=.
   5113   for ac_exec_ext in '' $ac_executable_extensions; do
   5114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5115     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5116     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5117     break 2
   5118   fi
   5119 done
   5120 done
   5121 IFS=$as_save_IFS
   5122 
   5123 fi
   5124 fi
   5125 DLLTOOL=$ac_cv_prog_DLLTOOL
   5126 if test -n "$DLLTOOL"; then
   5127   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
   5128 echo "${ECHO_T}$DLLTOOL" >&6; }
   5129 else
   5130   { echo "$as_me:$LINENO: result: no" >&5
   5131 echo "${ECHO_T}no" >&6; }
   5132 fi
   5133 
   5134 
   5135 fi
   5136 if test -z "$ac_cv_prog_DLLTOOL"; then
   5137   ac_ct_DLLTOOL=$DLLTOOL
   5138   # Extract the first word of "dlltool", so it can be a program name with args.
   5139 set dummy dlltool; ac_word=$2
   5140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5142 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
   5143   echo $ECHO_N "(cached) $ECHO_C" >&6
   5144 else
   5145   if test -n "$ac_ct_DLLTOOL"; then
   5146   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5147 else
   5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5149 for as_dir in $PATH
   5150 do
   5151   IFS=$as_save_IFS
   5152   test -z "$as_dir" && as_dir=.
   5153   for ac_exec_ext in '' $ac_executable_extensions; do
   5154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5155     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5157     break 2
   5158   fi
   5159 done
   5160 done
   5161 IFS=$as_save_IFS
   5162 
   5163 fi
   5164 fi
   5165 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5166 if test -n "$ac_ct_DLLTOOL"; then
   5167   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
   5168 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
   5169 else
   5170   { echo "$as_me:$LINENO: result: no" >&5
   5171 echo "${ECHO_T}no" >&6; }
   5172 fi
   5173 
   5174   if test "x$ac_ct_DLLTOOL" = x; then
   5175     DLLTOOL="false"
   5176   else
   5177     case $cross_compiling:$ac_tool_warned in
   5178 yes:)
   5179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5180 whose name does not start with the host triplet.  If you think this
   5181 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5183 whose name does not start with the host triplet.  If you think this
   5184 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5185 ac_tool_warned=yes ;;
   5186 esac
   5187     DLLTOOL=$ac_ct_DLLTOOL
   5188   fi
   5189 else
   5190   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5191 fi
   5192 
   5193   if test -n "$ac_tool_prefix"; then
   5194   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   5195 set dummy ${ac_tool_prefix}as; ac_word=$2
   5196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5198 if test "${ac_cv_prog_AS+set}" = set; then
   5199   echo $ECHO_N "(cached) $ECHO_C" >&6
   5200 else
   5201   if test -n "$AS"; then
   5202   ac_cv_prog_AS="$AS" # Let the user override the test.
   5203 else
   5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5205 for as_dir in $PATH
   5206 do
   5207   IFS=$as_save_IFS
   5208   test -z "$as_dir" && as_dir=.
   5209   for ac_exec_ext in '' $ac_executable_extensions; do
   5210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5211     ac_cv_prog_AS="${ac_tool_prefix}as"
   5212     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5213     break 2
   5214   fi
   5215 done
   5216 done
   5217 IFS=$as_save_IFS
   5218 
   5219 fi
   5220 fi
   5221 AS=$ac_cv_prog_AS
   5222 if test -n "$AS"; then
   5223   { echo "$as_me:$LINENO: result: $AS" >&5
   5224 echo "${ECHO_T}$AS" >&6; }
   5225 else
   5226   { echo "$as_me:$LINENO: result: no" >&5
   5227 echo "${ECHO_T}no" >&6; }
   5228 fi
   5229 
   5230 
   5231 fi
   5232 if test -z "$ac_cv_prog_AS"; then
   5233   ac_ct_AS=$AS
   5234   # Extract the first word of "as", so it can be a program name with args.
   5235 set dummy as; ac_word=$2
   5236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5238 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
   5239   echo $ECHO_N "(cached) $ECHO_C" >&6
   5240 else
   5241   if test -n "$ac_ct_AS"; then
   5242   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   5243 else
   5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5245 for as_dir in $PATH
   5246 do
   5247   IFS=$as_save_IFS
   5248   test -z "$as_dir" && as_dir=.
   5249   for ac_exec_ext in '' $ac_executable_extensions; do
   5250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5251     ac_cv_prog_ac_ct_AS="as"
   5252     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5253     break 2
   5254   fi
   5255 done
   5256 done
   5257 IFS=$as_save_IFS
   5258 
   5259 fi
   5260 fi
   5261 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   5262 if test -n "$ac_ct_AS"; then
   5263   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
   5264 echo "${ECHO_T}$ac_ct_AS" >&6; }
   5265 else
   5266   { echo "$as_me:$LINENO: result: no" >&5
   5267 echo "${ECHO_T}no" >&6; }
   5268 fi
   5269 
   5270   if test "x$ac_ct_AS" = x; then
   5271     AS="false"
   5272   else
   5273     case $cross_compiling:$ac_tool_warned in
   5274 yes:)
   5275 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5276 whose name does not start with the host triplet.  If you think this
   5277 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5278 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5279 whose name does not start with the host triplet.  If you think this
   5280 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5281 ac_tool_warned=yes ;;
   5282 esac
   5283     AS=$ac_ct_AS
   5284   fi
   5285 else
   5286   AS="$ac_cv_prog_AS"
   5287 fi
   5288 
   5289   if test -n "$ac_tool_prefix"; then
   5290   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5291 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5294 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   5295   echo $ECHO_N "(cached) $ECHO_C" >&6
   5296 else
   5297   if test -n "$OBJDUMP"; then
   5298   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5299 else
   5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5301 for as_dir in $PATH
   5302 do
   5303   IFS=$as_save_IFS
   5304   test -z "$as_dir" && as_dir=.
   5305   for ac_exec_ext in '' $ac_executable_extensions; do
   5306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5307     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5308     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5309     break 2
   5310   fi
   5311 done
   5312 done
   5313 IFS=$as_save_IFS
   5314 
   5315 fi
   5316 fi
   5317 OBJDUMP=$ac_cv_prog_OBJDUMP
   5318 if test -n "$OBJDUMP"; then
   5319   { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   5320 echo "${ECHO_T}$OBJDUMP" >&6; }
   5321 else
   5322   { echo "$as_me:$LINENO: result: no" >&5
   5323 echo "${ECHO_T}no" >&6; }
   5324 fi
   5325 
   5326 
   5327 fi
   5328 if test -z "$ac_cv_prog_OBJDUMP"; then
   5329   ac_ct_OBJDUMP=$OBJDUMP
   5330   # Extract the first word of "objdump", so it can be a program name with args.
   5331 set dummy objdump; ac_word=$2
   5332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5334 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   5335   echo $ECHO_N "(cached) $ECHO_C" >&6
   5336 else
   5337   if test -n "$ac_ct_OBJDUMP"; then
   5338   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5339 else
   5340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5341 for as_dir in $PATH
   5342 do
   5343   IFS=$as_save_IFS
   5344   test -z "$as_dir" && as_dir=.
   5345   for ac_exec_ext in '' $ac_executable_extensions; do
   5346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5347     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5348     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5349     break 2
   5350   fi
   5351 done
   5352 done
   5353 IFS=$as_save_IFS
   5354 
   5355 fi
   5356 fi
   5357 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5358 if test -n "$ac_ct_OBJDUMP"; then
   5359   { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   5360 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
   5361 else
   5362   { echo "$as_me:$LINENO: result: no" >&5
   5363 echo "${ECHO_T}no" >&6; }
   5364 fi
   5365 
   5366   if test "x$ac_ct_OBJDUMP" = x; then
   5367     OBJDUMP="false"
   5368   else
   5369     case $cross_compiling:$ac_tool_warned in
   5370 yes:)
   5371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5372 whose name does not start with the host triplet.  If you think this
   5373 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5375 whose name does not start with the host triplet.  If you think this
   5376 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5377 ac_tool_warned=yes ;;
   5378 esac
   5379     OBJDUMP=$ac_ct_OBJDUMP
   5380   fi
   5381 else
   5382   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5383 fi
   5384 
   5385   ;;
   5386 
   5387 esac
   5388 
   5389 need_locks="$enable_libtool_lock"
   5390 
   5391 
   5392 ac_ext=c
   5393 ac_cpp='$CPP $CPPFLAGS'
   5394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5397 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   5398 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   5399 # On Suns, sometimes $CPP names a directory.
   5400 if test -n "$CPP" && test -d "$CPP"; then
   5401   CPP=
   5402 fi
   5403 if test -z "$CPP"; then
   5404   if test "${ac_cv_prog_CPP+set}" = set; then
   5405   echo $ECHO_N "(cached) $ECHO_C" >&6
   5406 else
   5407       # Double quotes because CPP needs to be expanded
   5408     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5409     do
   5410       ac_preproc_ok=false
   5411 for ac_c_preproc_warn_flag in '' yes
   5412 do
   5413   # Use a header file that comes with gcc, so configuring glibc
   5414   # with a fresh cross-compiler works.
   5415   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5416   # <limits.h> exists even on freestanding compilers.
   5417   # On the NeXT, cc -E runs the code through the compiler's parser,
   5418   # not just through cpp. "Syntax error" is here to catch this case.
   5419   cat >conftest.$ac_ext <<_ACEOF
   5420 /* confdefs.h.  */
   5421 _ACEOF
   5422 cat confdefs.h >>conftest.$ac_ext
   5423 cat >>conftest.$ac_ext <<_ACEOF
   5424 /* end confdefs.h.  */
   5425 #ifdef __STDC__
   5426 # include <limits.h>
   5427 #else
   5428 # include <assert.h>
   5429 #endif
   5430 		     Syntax error
   5431 _ACEOF
   5432 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5433 case "(($ac_try" in
   5434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5435   *) ac_try_echo=$ac_try;;
   5436 esac
   5437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5438   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5439   ac_status=$?
   5440   grep -v '^ *+' conftest.er1 >conftest.err
   5441   rm -f conftest.er1
   5442   cat conftest.err >&5
   5443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5444   (exit $ac_status); } >/dev/null && {
   5445 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5446 	 test ! -s conftest.err
   5447        }; then
   5448   :
   5449 else
   5450   echo "$as_me: failed program was:" >&5
   5451 sed 's/^/| /' conftest.$ac_ext >&5
   5452 
   5453   # Broken: fails on valid input.
   5454 continue
   5455 fi
   5456 
   5457 rm -f conftest.err conftest.$ac_ext
   5458 
   5459   # OK, works on sane cases.  Now check whether nonexistent headers
   5460   # can be detected and how.
   5461   cat >conftest.$ac_ext <<_ACEOF
   5462 /* confdefs.h.  */
   5463 _ACEOF
   5464 cat confdefs.h >>conftest.$ac_ext
   5465 cat >>conftest.$ac_ext <<_ACEOF
   5466 /* end confdefs.h.  */
   5467 #include <ac_nonexistent.h>
   5468 _ACEOF
   5469 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5470 case "(($ac_try" in
   5471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5472   *) ac_try_echo=$ac_try;;
   5473 esac
   5474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5475   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5476   ac_status=$?
   5477   grep -v '^ *+' conftest.er1 >conftest.err
   5478   rm -f conftest.er1
   5479   cat conftest.err >&5
   5480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5481   (exit $ac_status); } >/dev/null && {
   5482 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5483 	 test ! -s conftest.err
   5484        }; then
   5485   # Broken: success on invalid input.
   5486 continue
   5487 else
   5488   echo "$as_me: failed program was:" >&5
   5489 sed 's/^/| /' conftest.$ac_ext >&5
   5490 
   5491   # Passes both tests.
   5492 ac_preproc_ok=:
   5493 break
   5494 fi
   5495 
   5496 rm -f conftest.err conftest.$ac_ext
   5497 
   5498 done
   5499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5500 rm -f conftest.err conftest.$ac_ext
   5501 if $ac_preproc_ok; then
   5502   break
   5503 fi
   5504 
   5505     done
   5506     ac_cv_prog_CPP=$CPP
   5507 
   5508 fi
   5509   CPP=$ac_cv_prog_CPP
   5510 else
   5511   ac_cv_prog_CPP=$CPP
   5512 fi
   5513 { echo "$as_me:$LINENO: result: $CPP" >&5
   5514 echo "${ECHO_T}$CPP" >&6; }
   5515 ac_preproc_ok=false
   5516 for ac_c_preproc_warn_flag in '' yes
   5517 do
   5518   # Use a header file that comes with gcc, so configuring glibc
   5519   # with a fresh cross-compiler works.
   5520   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5521   # <limits.h> exists even on freestanding compilers.
   5522   # On the NeXT, cc -E runs the code through the compiler's parser,
   5523   # not just through cpp. "Syntax error" is here to catch this case.
   5524   cat >conftest.$ac_ext <<_ACEOF
   5525 /* confdefs.h.  */
   5526 _ACEOF
   5527 cat confdefs.h >>conftest.$ac_ext
   5528 cat >>conftest.$ac_ext <<_ACEOF
   5529 /* end confdefs.h.  */
   5530 #ifdef __STDC__
   5531 # include <limits.h>
   5532 #else
   5533 # include <assert.h>
   5534 #endif
   5535 		     Syntax error
   5536 _ACEOF
   5537 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5538 case "(($ac_try" in
   5539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5540   *) ac_try_echo=$ac_try;;
   5541 esac
   5542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5543   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5544   ac_status=$?
   5545   grep -v '^ *+' conftest.er1 >conftest.err
   5546   rm -f conftest.er1
   5547   cat conftest.err >&5
   5548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5549   (exit $ac_status); } >/dev/null && {
   5550 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5551 	 test ! -s conftest.err
   5552        }; then
   5553   :
   5554 else
   5555   echo "$as_me: failed program was:" >&5
   5556 sed 's/^/| /' conftest.$ac_ext >&5
   5557 
   5558   # Broken: fails on valid input.
   5559 continue
   5560 fi
   5561 
   5562 rm -f conftest.err conftest.$ac_ext
   5563 
   5564   # OK, works on sane cases.  Now check whether nonexistent headers
   5565   # can be detected and how.
   5566   cat >conftest.$ac_ext <<_ACEOF
   5567 /* confdefs.h.  */
   5568 _ACEOF
   5569 cat confdefs.h >>conftest.$ac_ext
   5570 cat >>conftest.$ac_ext <<_ACEOF
   5571 /* end confdefs.h.  */
   5572 #include <ac_nonexistent.h>
   5573 _ACEOF
   5574 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5575 case "(($ac_try" in
   5576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5577   *) ac_try_echo=$ac_try;;
   5578 esac
   5579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5580   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5581   ac_status=$?
   5582   grep -v '^ *+' conftest.er1 >conftest.err
   5583   rm -f conftest.er1
   5584   cat conftest.err >&5
   5585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5586   (exit $ac_status); } >/dev/null && {
   5587 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5588 	 test ! -s conftest.err
   5589        }; then
   5590   # Broken: success on invalid input.
   5591 continue
   5592 else
   5593   echo "$as_me: failed program was:" >&5
   5594 sed 's/^/| /' conftest.$ac_ext >&5
   5595 
   5596   # Passes both tests.
   5597 ac_preproc_ok=:
   5598 break
   5599 fi
   5600 
   5601 rm -f conftest.err conftest.$ac_ext
   5602 
   5603 done
   5604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5605 rm -f conftest.err conftest.$ac_ext
   5606 if $ac_preproc_ok; then
   5607   :
   5608 else
   5609   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   5610 See \`config.log' for more details." >&5
   5611 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   5612 See \`config.log' for more details." >&2;}
   5613    { (exit 1); exit 1; }; }
   5614 fi
   5615 
   5616 ac_ext=c
   5617 ac_cpp='$CPP $CPPFLAGS'
   5618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5621 
   5622 
   5623 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5624 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   5625 if test "${ac_cv_header_stdc+set}" = set; then
   5626   echo $ECHO_N "(cached) $ECHO_C" >&6
   5627 else
   5628   cat >conftest.$ac_ext <<_ACEOF
   5629 /* confdefs.h.  */
   5630 _ACEOF
   5631 cat confdefs.h >>conftest.$ac_ext
   5632 cat >>conftest.$ac_ext <<_ACEOF
   5633 /* end confdefs.h.  */
   5634 #include <stdlib.h>
   5635 #include <stdarg.h>
   5636 #include <string.h>
   5637 #include <float.h>
   5638 
   5639 int
   5640 main ()
   5641 {
   5642 
   5643   ;
   5644   return 0;
   5645 }
   5646 _ACEOF
   5647 rm -f conftest.$ac_objext
   5648 if { (ac_try="$ac_compile"
   5649 case "(($ac_try" in
   5650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5651   *) ac_try_echo=$ac_try;;
   5652 esac
   5653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5654   (eval "$ac_compile") 2>conftest.er1
   5655   ac_status=$?
   5656   grep -v '^ *+' conftest.er1 >conftest.err
   5657   rm -f conftest.er1
   5658   cat conftest.err >&5
   5659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5660   (exit $ac_status); } && {
   5661 	 test -z "$ac_c_werror_flag" ||
   5662 	 test ! -s conftest.err
   5663        } && test -s conftest.$ac_objext; then
   5664   ac_cv_header_stdc=yes
   5665 else
   5666   echo "$as_me: failed program was:" >&5
   5667 sed 's/^/| /' conftest.$ac_ext >&5
   5668 
   5669 	ac_cv_header_stdc=no
   5670 fi
   5671 
   5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5673 
   5674 if test $ac_cv_header_stdc = yes; then
   5675   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5676   cat >conftest.$ac_ext <<_ACEOF
   5677 /* confdefs.h.  */
   5678 _ACEOF
   5679 cat confdefs.h >>conftest.$ac_ext
   5680 cat >>conftest.$ac_ext <<_ACEOF
   5681 /* end confdefs.h.  */
   5682 #include <string.h>
   5683 
   5684 _ACEOF
   5685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5686   $EGREP "memchr" >/dev/null 2>&1; then
   5687   :
   5688 else
   5689   ac_cv_header_stdc=no
   5690 fi
   5691 rm -f conftest*
   5692 
   5693 fi
   5694 
   5695 if test $ac_cv_header_stdc = yes; then
   5696   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5697   cat >conftest.$ac_ext <<_ACEOF
   5698 /* confdefs.h.  */
   5699 _ACEOF
   5700 cat confdefs.h >>conftest.$ac_ext
   5701 cat >>conftest.$ac_ext <<_ACEOF
   5702 /* end confdefs.h.  */
   5703 #include <stdlib.h>
   5704 
   5705 _ACEOF
   5706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5707   $EGREP "free" >/dev/null 2>&1; then
   5708   :
   5709 else
   5710   ac_cv_header_stdc=no
   5711 fi
   5712 rm -f conftest*
   5713 
   5714 fi
   5715 
   5716 if test $ac_cv_header_stdc = yes; then
   5717   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5718   if test "$cross_compiling" = yes; then
   5719   :
   5720 else
   5721   cat >conftest.$ac_ext <<_ACEOF
   5722 /* confdefs.h.  */
   5723 _ACEOF
   5724 cat confdefs.h >>conftest.$ac_ext
   5725 cat >>conftest.$ac_ext <<_ACEOF
   5726 /* end confdefs.h.  */
   5727 #include <ctype.h>
   5728 #include <stdlib.h>
   5729 #if ((' ' & 0x0FF) == 0x020)
   5730 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5731 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5732 #else
   5733 # define ISLOWER(c) \
   5734 		   (('a' <= (c) && (c) <= 'i') \
   5735 		     || ('j' <= (c) && (c) <= 'r') \
   5736 		     || ('s' <= (c) && (c) <= 'z'))
   5737 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5738 #endif
   5739 
   5740 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5741 int
   5742 main ()
   5743 {
   5744   int i;
   5745   for (i = 0; i < 256; i++)
   5746     if (XOR (islower (i), ISLOWER (i))
   5747 	|| toupper (i) != TOUPPER (i))
   5748       return 2;
   5749   return 0;
   5750 }
   5751 _ACEOF
   5752 rm -f conftest$ac_exeext
   5753 if { (ac_try="$ac_link"
   5754 case "(($ac_try" in
   5755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5756   *) ac_try_echo=$ac_try;;
   5757 esac
   5758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5759   (eval "$ac_link") 2>&5
   5760   ac_status=$?
   5761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5762   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5763   { (case "(($ac_try" in
   5764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5765   *) ac_try_echo=$ac_try;;
   5766 esac
   5767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5768   (eval "$ac_try") 2>&5
   5769   ac_status=$?
   5770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5771   (exit $ac_status); }; }; then
   5772   :
   5773 else
   5774   echo "$as_me: program exited with status $ac_status" >&5
   5775 echo "$as_me: failed program was:" >&5
   5776 sed 's/^/| /' conftest.$ac_ext >&5
   5777 
   5778 ( exit $ac_status )
   5779 ac_cv_header_stdc=no
   5780 fi
   5781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5782 fi
   5783 
   5784 
   5785 fi
   5786 fi
   5787 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5788 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5789 if test $ac_cv_header_stdc = yes; then
   5790 
   5791 cat >>confdefs.h <<\_ACEOF
   5792 #define STDC_HEADERS 1
   5793 _ACEOF
   5794 
   5795 fi
   5796 
   5797 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5808 		  inttypes.h stdint.h unistd.h
   5809 do
   5810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5814   echo $ECHO_N "(cached) $ECHO_C" >&6
   5815 else
   5816   cat >conftest.$ac_ext <<_ACEOF
   5817 /* confdefs.h.  */
   5818 _ACEOF
   5819 cat confdefs.h >>conftest.$ac_ext
   5820 cat >>conftest.$ac_ext <<_ACEOF
   5821 /* end confdefs.h.  */
   5822 $ac_includes_default
   5823 
   5824 #include <$ac_header>
   5825 _ACEOF
   5826 rm -f conftest.$ac_objext
   5827 if { (ac_try="$ac_compile"
   5828 case "(($ac_try" in
   5829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5830   *) ac_try_echo=$ac_try;;
   5831 esac
   5832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5833   (eval "$ac_compile") 2>conftest.er1
   5834   ac_status=$?
   5835   grep -v '^ *+' conftest.er1 >conftest.err
   5836   rm -f conftest.er1
   5837   cat conftest.err >&5
   5838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5839   (exit $ac_status); } && {
   5840 	 test -z "$ac_c_werror_flag" ||
   5841 	 test ! -s conftest.err
   5842        } && test -s conftest.$ac_objext; then
   5843   eval "$as_ac_Header=yes"
   5844 else
   5845   echo "$as_me: failed program was:" >&5
   5846 sed 's/^/| /' conftest.$ac_ext >&5
   5847 
   5848 	eval "$as_ac_Header=no"
   5849 fi
   5850 
   5851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5852 fi
   5853 ac_res=`eval echo '${'$as_ac_Header'}'`
   5854 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5855 echo "${ECHO_T}$ac_res" >&6; }
   5856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5857   cat >>confdefs.h <<_ACEOF
   5858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5859 _ACEOF
   5860 
   5861 fi
   5862 
   5863 done
   5864 
   5865 
   5866 
   5867 for ac_header in dlfcn.h
   5868 do
   5869 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5871   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5874   echo $ECHO_N "(cached) $ECHO_C" >&6
   5875 fi
   5876 ac_res=`eval echo '${'$as_ac_Header'}'`
   5877 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5878 echo "${ECHO_T}$ac_res" >&6; }
   5879 else
   5880   # Is the header compilable?
   5881 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5883 cat >conftest.$ac_ext <<_ACEOF
   5884 /* confdefs.h.  */
   5885 _ACEOF
   5886 cat confdefs.h >>conftest.$ac_ext
   5887 cat >>conftest.$ac_ext <<_ACEOF
   5888 /* end confdefs.h.  */
   5889 $ac_includes_default
   5890 #include <$ac_header>
   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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5899   (eval "$ac_compile") 2>conftest.er1
   5900   ac_status=$?
   5901   grep -v '^ *+' conftest.er1 >conftest.err
   5902   rm -f conftest.er1
   5903   cat conftest.err >&5
   5904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5905   (exit $ac_status); } && {
   5906 	 test -z "$ac_c_werror_flag" ||
   5907 	 test ! -s conftest.err
   5908        } && test -s conftest.$ac_objext; then
   5909   ac_header_compiler=yes
   5910 else
   5911   echo "$as_me: failed program was:" >&5
   5912 sed 's/^/| /' conftest.$ac_ext >&5
   5913 
   5914 	ac_header_compiler=no
   5915 fi
   5916 
   5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5918 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5919 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5920 
   5921 # Is the header present?
   5922 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5924 cat >conftest.$ac_ext <<_ACEOF
   5925 /* confdefs.h.  */
   5926 _ACEOF
   5927 cat confdefs.h >>conftest.$ac_ext
   5928 cat >>conftest.$ac_ext <<_ACEOF
   5929 /* end confdefs.h.  */
   5930 #include <$ac_header>
   5931 _ACEOF
   5932 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5933 case "(($ac_try" in
   5934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5935   *) ac_try_echo=$ac_try;;
   5936 esac
   5937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5938   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5939   ac_status=$?
   5940   grep -v '^ *+' conftest.er1 >conftest.err
   5941   rm -f conftest.er1
   5942   cat conftest.err >&5
   5943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5944   (exit $ac_status); } >/dev/null && {
   5945 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5946 	 test ! -s conftest.err
   5947        }; then
   5948   ac_header_preproc=yes
   5949 else
   5950   echo "$as_me: failed program was:" >&5
   5951 sed 's/^/| /' conftest.$ac_ext >&5
   5952 
   5953   ac_header_preproc=no
   5954 fi
   5955 
   5956 rm -f conftest.err conftest.$ac_ext
   5957 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5958 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5959 
   5960 # So?  What about this header?
   5961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5962   yes:no: )
   5963     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5964 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5965     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5966 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5967     ac_header_preproc=yes
   5968     ;;
   5969   no:yes:* )
   5970     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5971 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5972     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5973 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5974     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5975 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5976     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5977 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5978     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5979 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5980     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5981 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5982 
   5983     ;;
   5984 esac
   5985 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5988   echo $ECHO_N "(cached) $ECHO_C" >&6
   5989 else
   5990   eval "$as_ac_Header=\$ac_header_preproc"
   5991 fi
   5992 ac_res=`eval echo '${'$as_ac_Header'}'`
   5993 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5994 echo "${ECHO_T}$ac_res" >&6; }
   5995 
   5996 fi
   5997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5998   cat >>confdefs.h <<_ACEOF
   5999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6000 _ACEOF
   6001 
   6002 fi
   6003 
   6004 done
   6005 
   6006 
   6007 
   6008 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   6009     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   6010     (test "X$CXX" != "Xg++"))) ; then
   6011   ac_ext=cpp
   6012 ac_cpp='$CXXCPP $CPPFLAGS'
   6013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6016 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   6017 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   6018 if test -z "$CXXCPP"; then
   6019   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   6020   echo $ECHO_N "(cached) $ECHO_C" >&6
   6021 else
   6022       # Double quotes because CXXCPP needs to be expanded
   6023     for CXXCPP in "$CXX -E" "/lib/cpp"
   6024     do
   6025       ac_preproc_ok=false
   6026 for ac_cxx_preproc_warn_flag in '' yes
   6027 do
   6028   # Use a header file that comes with gcc, so configuring glibc
   6029   # with a fresh cross-compiler works.
   6030   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6031   # <limits.h> exists even on freestanding compilers.
   6032   # On the NeXT, cc -E runs the code through the compiler's parser,
   6033   # not just through cpp. "Syntax error" is here to catch this case.
   6034   cat >conftest.$ac_ext <<_ACEOF
   6035 /* confdefs.h.  */
   6036 _ACEOF
   6037 cat confdefs.h >>conftest.$ac_ext
   6038 cat >>conftest.$ac_ext <<_ACEOF
   6039 /* end confdefs.h.  */
   6040 #ifdef __STDC__
   6041 # include <limits.h>
   6042 #else
   6043 # include <assert.h>
   6044 #endif
   6045 		     Syntax error
   6046 _ACEOF
   6047 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6048 case "(($ac_try" in
   6049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6050   *) ac_try_echo=$ac_try;;
   6051 esac
   6052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6053   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6054   ac_status=$?
   6055   grep -v '^ *+' conftest.er1 >conftest.err
   6056   rm -f conftest.er1
   6057   cat conftest.err >&5
   6058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6059   (exit $ac_status); } >/dev/null && {
   6060 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6061 	 test ! -s conftest.err
   6062        }; then
   6063   :
   6064 else
   6065   echo "$as_me: failed program was:" >&5
   6066 sed 's/^/| /' conftest.$ac_ext >&5
   6067 
   6068   # Broken: fails on valid input.
   6069 continue
   6070 fi
   6071 
   6072 rm -f conftest.err conftest.$ac_ext
   6073 
   6074   # OK, works on sane cases.  Now check whether nonexistent headers
   6075   # can be detected and how.
   6076   cat >conftest.$ac_ext <<_ACEOF
   6077 /* confdefs.h.  */
   6078 _ACEOF
   6079 cat confdefs.h >>conftest.$ac_ext
   6080 cat >>conftest.$ac_ext <<_ACEOF
   6081 /* end confdefs.h.  */
   6082 #include <ac_nonexistent.h>
   6083 _ACEOF
   6084 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6085 case "(($ac_try" in
   6086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6087   *) ac_try_echo=$ac_try;;
   6088 esac
   6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6090   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6091   ac_status=$?
   6092   grep -v '^ *+' conftest.er1 >conftest.err
   6093   rm -f conftest.er1
   6094   cat conftest.err >&5
   6095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6096   (exit $ac_status); } >/dev/null && {
   6097 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6098 	 test ! -s conftest.err
   6099        }; then
   6100   # Broken: success on invalid input.
   6101 continue
   6102 else
   6103   echo "$as_me: failed program was:" >&5
   6104 sed 's/^/| /' conftest.$ac_ext >&5
   6105 
   6106   # Passes both tests.
   6107 ac_preproc_ok=:
   6108 break
   6109 fi
   6110 
   6111 rm -f conftest.err conftest.$ac_ext
   6112 
   6113 done
   6114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6115 rm -f conftest.err conftest.$ac_ext
   6116 if $ac_preproc_ok; then
   6117   break
   6118 fi
   6119 
   6120     done
   6121     ac_cv_prog_CXXCPP=$CXXCPP
   6122 
   6123 fi
   6124   CXXCPP=$ac_cv_prog_CXXCPP
   6125 else
   6126   ac_cv_prog_CXXCPP=$CXXCPP
   6127 fi
   6128 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6129 echo "${ECHO_T}$CXXCPP" >&6; }
   6130 ac_preproc_ok=false
   6131 for ac_cxx_preproc_warn_flag in '' yes
   6132 do
   6133   # Use a header file that comes with gcc, so configuring glibc
   6134   # with a fresh cross-compiler works.
   6135   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6136   # <limits.h> exists even on freestanding compilers.
   6137   # On the NeXT, cc -E runs the code through the compiler's parser,
   6138   # not just through cpp. "Syntax error" is here to catch this case.
   6139   cat >conftest.$ac_ext <<_ACEOF
   6140 /* confdefs.h.  */
   6141 _ACEOF
   6142 cat confdefs.h >>conftest.$ac_ext
   6143 cat >>conftest.$ac_ext <<_ACEOF
   6144 /* end confdefs.h.  */
   6145 #ifdef __STDC__
   6146 # include <limits.h>
   6147 #else
   6148 # include <assert.h>
   6149 #endif
   6150 		     Syntax error
   6151 _ACEOF
   6152 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6153 case "(($ac_try" in
   6154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6155   *) ac_try_echo=$ac_try;;
   6156 esac
   6157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6158   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6159   ac_status=$?
   6160   grep -v '^ *+' conftest.er1 >conftest.err
   6161   rm -f conftest.er1
   6162   cat conftest.err >&5
   6163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6164   (exit $ac_status); } >/dev/null && {
   6165 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6166 	 test ! -s conftest.err
   6167        }; then
   6168   :
   6169 else
   6170   echo "$as_me: failed program was:" >&5
   6171 sed 's/^/| /' conftest.$ac_ext >&5
   6172 
   6173   # Broken: fails on valid input.
   6174 continue
   6175 fi
   6176 
   6177 rm -f conftest.err conftest.$ac_ext
   6178 
   6179   # OK, works on sane cases.  Now check whether nonexistent headers
   6180   # can be detected and how.
   6181   cat >conftest.$ac_ext <<_ACEOF
   6182 /* confdefs.h.  */
   6183 _ACEOF
   6184 cat confdefs.h >>conftest.$ac_ext
   6185 cat >>conftest.$ac_ext <<_ACEOF
   6186 /* end confdefs.h.  */
   6187 #include <ac_nonexistent.h>
   6188 _ACEOF
   6189 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6190 case "(($ac_try" in
   6191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6192   *) ac_try_echo=$ac_try;;
   6193 esac
   6194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6195   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6196   ac_status=$?
   6197   grep -v '^ *+' conftest.er1 >conftest.err
   6198   rm -f conftest.er1
   6199   cat conftest.err >&5
   6200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6201   (exit $ac_status); } >/dev/null && {
   6202 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6203 	 test ! -s conftest.err
   6204        }; then
   6205   # Broken: success on invalid input.
   6206 continue
   6207 else
   6208   echo "$as_me: failed program was:" >&5
   6209 sed 's/^/| /' conftest.$ac_ext >&5
   6210 
   6211   # Passes both tests.
   6212 ac_preproc_ok=:
   6213 break
   6214 fi
   6215 
   6216 rm -f conftest.err conftest.$ac_ext
   6217 
   6218 done
   6219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6220 rm -f conftest.err conftest.$ac_ext
   6221 if $ac_preproc_ok; then
   6222   :
   6223 else
   6224   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6225 See \`config.log' for more details." >&5
   6226 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6227 See \`config.log' for more details." >&2;}
   6228    { (exit 1); exit 1; }; }
   6229 fi
   6230 
   6231 ac_ext=cpp
   6232 ac_cpp='$CXXCPP $CPPFLAGS'
   6233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6236 
   6237 fi
   6238 
   6239 
   6240 ac_ext=f
   6241 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6242 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6243 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6244 if test -n "$ac_tool_prefix"; then
   6245   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
   6246   do
   6247     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6251 if test "${ac_cv_prog_F77+set}" = set; then
   6252   echo $ECHO_N "(cached) $ECHO_C" >&6
   6253 else
   6254   if test -n "$F77"; then
   6255   ac_cv_prog_F77="$F77" # Let the user override the test.
   6256 else
   6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6258 for as_dir in $PATH
   6259 do
   6260   IFS=$as_save_IFS
   6261   test -z "$as_dir" && as_dir=.
   6262   for ac_exec_ext in '' $ac_executable_extensions; do
   6263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6264     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6265     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6266     break 2
   6267   fi
   6268 done
   6269 done
   6270 IFS=$as_save_IFS
   6271 
   6272 fi
   6273 fi
   6274 F77=$ac_cv_prog_F77
   6275 if test -n "$F77"; then
   6276   { echo "$as_me:$LINENO: result: $F77" >&5
   6277 echo "${ECHO_T}$F77" >&6; }
   6278 else
   6279   { echo "$as_me:$LINENO: result: no" >&5
   6280 echo "${ECHO_T}no" >&6; }
   6281 fi
   6282 
   6283 
   6284     test -n "$F77" && break
   6285   done
   6286 fi
   6287 if test -z "$F77"; then
   6288   ac_ct_F77=$F77
   6289   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
   6290 do
   6291   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6292 set dummy $ac_prog; ac_word=$2
   6293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6295 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6296   echo $ECHO_N "(cached) $ECHO_C" >&6
   6297 else
   6298   if test -n "$ac_ct_F77"; then
   6299   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6300 else
   6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6302 for as_dir in $PATH
   6303 do
   6304   IFS=$as_save_IFS
   6305   test -z "$as_dir" && as_dir=.
   6306   for ac_exec_ext in '' $ac_executable_extensions; do
   6307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6308     ac_cv_prog_ac_ct_F77="$ac_prog"
   6309     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6310     break 2
   6311   fi
   6312 done
   6313 done
   6314 IFS=$as_save_IFS
   6315 
   6316 fi
   6317 fi
   6318 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6319 if test -n "$ac_ct_F77"; then
   6320   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6321 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6322 else
   6323   { echo "$as_me:$LINENO: result: no" >&5
   6324 echo "${ECHO_T}no" >&6; }
   6325 fi
   6326 
   6327 
   6328   test -n "$ac_ct_F77" && break
   6329 done
   6330 
   6331   if test "x$ac_ct_F77" = x; then
   6332     F77=""
   6333   else
   6334     case $cross_compiling:$ac_tool_warned in
   6335 yes:)
   6336 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6337 whose name does not start with the host triplet.  If you think this
   6338 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6339 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6340 whose name does not start with the host triplet.  If you think this
   6341 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6342 ac_tool_warned=yes ;;
   6343 esac
   6344     F77=$ac_ct_F77
   6345   fi
   6346 fi
   6347 
   6348 
   6349 # Provide some information about the compiler.
   6350 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6351 ac_compiler=`set X $ac_compile; echo $2`
   6352 { (ac_try="$ac_compiler --version >&5"
   6353 case "(($ac_try" in
   6354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6355   *) ac_try_echo=$ac_try;;
   6356 esac
   6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6358   (eval "$ac_compiler --version >&5") 2>&5
   6359   ac_status=$?
   6360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6361   (exit $ac_status); }
   6362 { (ac_try="$ac_compiler -v >&5"
   6363 case "(($ac_try" in
   6364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6365   *) ac_try_echo=$ac_try;;
   6366 esac
   6367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6368   (eval "$ac_compiler -v >&5") 2>&5
   6369   ac_status=$?
   6370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6371   (exit $ac_status); }
   6372 { (ac_try="$ac_compiler -V >&5"
   6373 case "(($ac_try" in
   6374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6375   *) ac_try_echo=$ac_try;;
   6376 esac
   6377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6378   (eval "$ac_compiler -V >&5") 2>&5
   6379   ac_status=$?
   6380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6381   (exit $ac_status); }
   6382 rm -f a.out
   6383 
   6384 # If we don't use `.F' as extension, the preprocessor is not run on the
   6385 # input file.  (Note that this only needs to work for GNU compilers.)
   6386 ac_save_ext=$ac_ext
   6387 ac_ext=F
   6388 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6389 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6390 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6391   echo $ECHO_N "(cached) $ECHO_C" >&6
   6392 else
   6393   cat >conftest.$ac_ext <<_ACEOF
   6394       program main
   6395 #ifndef __GNUC__
   6396        choke me
   6397 #endif
   6398 
   6399       end
   6400 _ACEOF
   6401 rm -f conftest.$ac_objext
   6402 if { (ac_try="$ac_compile"
   6403 case "(($ac_try" in
   6404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6405   *) ac_try_echo=$ac_try;;
   6406 esac
   6407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6408   (eval "$ac_compile") 2>conftest.er1
   6409   ac_status=$?
   6410   grep -v '^ *+' conftest.er1 >conftest.err
   6411   rm -f conftest.er1
   6412   cat conftest.err >&5
   6413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6414   (exit $ac_status); } && {
   6415 	 test -z "$ac_f77_werror_flag" ||
   6416 	 test ! -s conftest.err
   6417        } && test -s conftest.$ac_objext; then
   6418   ac_compiler_gnu=yes
   6419 else
   6420   echo "$as_me: failed program was:" >&5
   6421 sed 's/^/| /' conftest.$ac_ext >&5
   6422 
   6423 	ac_compiler_gnu=no
   6424 fi
   6425 
   6426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6427 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6428 
   6429 fi
   6430 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6431 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6432 ac_ext=$ac_save_ext
   6433 ac_test_FFLAGS=${FFLAGS+set}
   6434 ac_save_FFLAGS=$FFLAGS
   6435 FFLAGS=
   6436 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6437 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6438 if test "${ac_cv_prog_f77_g+set}" = set; then
   6439   echo $ECHO_N "(cached) $ECHO_C" >&6
   6440 else
   6441   FFLAGS=-g
   6442 cat >conftest.$ac_ext <<_ACEOF
   6443       program main
   6444 
   6445       end
   6446 _ACEOF
   6447 rm -f conftest.$ac_objext
   6448 if { (ac_try="$ac_compile"
   6449 case "(($ac_try" in
   6450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6451   *) ac_try_echo=$ac_try;;
   6452 esac
   6453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6454   (eval "$ac_compile") 2>conftest.er1
   6455   ac_status=$?
   6456   grep -v '^ *+' conftest.er1 >conftest.err
   6457   rm -f conftest.er1
   6458   cat conftest.err >&5
   6459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6460   (exit $ac_status); } && {
   6461 	 test -z "$ac_f77_werror_flag" ||
   6462 	 test ! -s conftest.err
   6463        } && test -s conftest.$ac_objext; then
   6464   ac_cv_prog_f77_g=yes
   6465 else
   6466   echo "$as_me: failed program was:" >&5
   6467 sed 's/^/| /' conftest.$ac_ext >&5
   6468 
   6469 	ac_cv_prog_f77_g=no
   6470 fi
   6471 
   6472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6473 
   6474 fi
   6475 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6476 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6477 if test "$ac_test_FFLAGS" = set; then
   6478   FFLAGS=$ac_save_FFLAGS
   6479 elif test $ac_cv_prog_f77_g = yes; then
   6480   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6481     FFLAGS="-g -O2"
   6482   else
   6483     FFLAGS="-g"
   6484   fi
   6485 else
   6486   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6487     FFLAGS="-O2"
   6488   else
   6489     FFLAGS=
   6490   fi
   6491 fi
   6492 
   6493 G77=`test $ac_compiler_gnu = yes && echo yes`
   6494 ac_ext=c
   6495 ac_cpp='$CPP $CPPFLAGS'
   6496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6499 
   6500 
   6501 
   6502 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6503 
   6504 # find the maximum length of command line arguments
   6505 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6506 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6507 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6508   echo $ECHO_N "(cached) $ECHO_C" >&6
   6509 else
   6510     i=0
   6511   teststring="ABCD"
   6512 
   6513   case $build_os in
   6514   msdosdjgpp*)
   6515     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6516     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6517     # during glob expansion).  Even if it were fixed, the result of this
   6518     # check would be larger than it should be.
   6519     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6520     ;;
   6521 
   6522   gnu*)
   6523     # Under GNU Hurd, this test is not required because there is
   6524     # no limit to the length of command line arguments.
   6525     # Libtool will interpret -1 as no limit whatsoever
   6526     lt_cv_sys_max_cmd_len=-1;
   6527     ;;
   6528 
   6529   cygwin* | mingw*)
   6530     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6531     # about 5 minutes as the teststring grows exponentially.
   6532     # Worse, since 9x/ME are not pre-emptively multitasking,
   6533     # you end up with a "frozen" computer, even though with patience
   6534     # the test eventually succeeds (with a max line length of 256k).
   6535     # Instead, let's just punt: use the minimum linelength reported by
   6536     # all of the supported platforms: 8192 (on NT/2K/XP).
   6537     lt_cv_sys_max_cmd_len=8192;
   6538     ;;
   6539 
   6540   amigaos*)
   6541     # On AmigaOS with pdksh, this test takes hours, literally.
   6542     # So we just punt and use a minimum line length of 8192.
   6543     lt_cv_sys_max_cmd_len=8192;
   6544     ;;
   6545 
   6546   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6547     # This has been around since 386BSD, at least.  Likely further.
   6548     if test -x /sbin/sysctl; then
   6549       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6550     elif test -x /usr/sbin/sysctl; then
   6551       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6552     else
   6553       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6554     fi
   6555     # And add a safety zone
   6556     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6557     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6558     ;;
   6559 
   6560   interix*)
   6561     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6562     lt_cv_sys_max_cmd_len=196608
   6563     ;;
   6564 
   6565   osf*)
   6566     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6567     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6568     # nice to cause kernel panics so lets avoid the loop below.
   6569     # First set a reasonable default.
   6570     lt_cv_sys_max_cmd_len=16384
   6571     #
   6572     if test -x /sbin/sysconfig; then
   6573       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6574         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6575       esac
   6576     fi
   6577     ;;
   6578   sco3.2v5*)
   6579     lt_cv_sys_max_cmd_len=102400
   6580     ;;
   6581   sysv5* | sco5v6* | sysv4.2uw2*)
   6582     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6583     if test -n "$kargmax"; then
   6584       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6585     else
   6586       lt_cv_sys_max_cmd_len=32768
   6587     fi
   6588     ;;
   6589   *)
   6590     # If test is not a shell built-in, we'll probably end up computing a
   6591     # maximum length that is only half of the actual maximum length, but
   6592     # we can't tell.
   6593     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6594     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6595 	       = "XX$teststring") >/dev/null 2>&1 &&
   6596 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6597 	    lt_cv_sys_max_cmd_len=$new_result &&
   6598 	    test $i != 17 # 1/2 MB should be enough
   6599     do
   6600       i=`expr $i + 1`
   6601       teststring=$teststring$teststring
   6602     done
   6603     teststring=
   6604     # Add a significant safety factor because C++ compilers can tack on massive
   6605     # amounts of additional arguments before passing them to the linker.
   6606     # It appears as though 1/2 is a usable value.
   6607     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6608     ;;
   6609   esac
   6610 
   6611 fi
   6612 
   6613 if test -n $lt_cv_sys_max_cmd_len ; then
   6614   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6615 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6616 else
   6617   { echo "$as_me:$LINENO: result: none" >&5
   6618 echo "${ECHO_T}none" >&6; }
   6619 fi
   6620 
   6621 
   6622 
   6623 
   6624 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6625 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6626 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6627 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6628   echo $ECHO_N "(cached) $ECHO_C" >&6
   6629 else
   6630 
   6631 # These are sane defaults that work on at least a few old systems.
   6632 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6633 
   6634 # Character class describing NM global symbol codes.
   6635 symcode='[BCDEGRST]'
   6636 
   6637 # Regexp to match symbols that can be accessed directly from C.
   6638 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6639 
   6640 # Transform an extracted symbol line into a proper C declaration
   6641 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6642 
   6643 # Transform an extracted symbol line into symbol name and symbol address
   6644 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'"
   6645 
   6646 # Define system-specific variables.
   6647 case $host_os in
   6648 aix*)
   6649   symcode='[BCDT]'
   6650   ;;
   6651 cygwin* | mingw* | pw32*)
   6652   symcode='[ABCDGISTW]'
   6653   ;;
   6654 hpux*) # Its linker distinguishes data from code symbols
   6655   if test "$host_cpu" = ia64; then
   6656     symcode='[ABCDEGRST]'
   6657   fi
   6658   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6659   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'"
   6660   ;;
   6661 linux*)
   6662   if test "$host_cpu" = ia64; then
   6663     symcode='[ABCDGIRSTW]'
   6664     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6665     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'"
   6666   fi
   6667   ;;
   6668 irix* | nonstopux*)
   6669   symcode='[BCDEGRST]'
   6670   ;;
   6671 osf*)
   6672   symcode='[BCDEGQRST]'
   6673   ;;
   6674 solaris*)
   6675   symcode='[BDRT]'
   6676   ;;
   6677 sco3.2v5*)
   6678   symcode='[DT]'
   6679   ;;
   6680 sysv4.2uw2*)
   6681   symcode='[DT]'
   6682   ;;
   6683 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6684   symcode='[ABDT]'
   6685   ;;
   6686 sysv4)
   6687   symcode='[DFNSTU]'
   6688   ;;
   6689 esac
   6690 
   6691 # Handle CRLF in mingw tool chain
   6692 opt_cr=
   6693 case $build_os in
   6694 mingw*)
   6695   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6696   ;;
   6697 esac
   6698 
   6699 # If we're using GNU nm, then use its standard symbol codes.
   6700 case `$NM -V 2>&1` in
   6701 *GNU* | *'with BFD'*)
   6702   symcode='[ABCDGIRSTW]' ;;
   6703 esac
   6704 
   6705 # Try without a prefix undercore, then with it.
   6706 for ac_symprfx in "" "_"; do
   6707 
   6708   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6709   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6710 
   6711   # Write the raw and C identifiers.
   6712   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6713 
   6714   # Check to see that the pipe works correctly.
   6715   pipe_works=no
   6716 
   6717   rm -f conftest*
   6718   cat > conftest.$ac_ext <<EOF
   6719 #ifdef __cplusplus
   6720 extern "C" {
   6721 #endif
   6722 char nm_test_var;
   6723 void nm_test_func(){}
   6724 #ifdef __cplusplus
   6725 }
   6726 #endif
   6727 int main(){nm_test_var='a';nm_test_func();return(0);}
   6728 EOF
   6729 
   6730   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6731   (eval $ac_compile) 2>&5
   6732   ac_status=$?
   6733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6734   (exit $ac_status); }; then
   6735     # Now try to grab the symbols.
   6736     nlist=conftest.nm
   6737     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6738   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6739   ac_status=$?
   6740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6741   (exit $ac_status); } && test -s "$nlist"; then
   6742       # Try sorting and uniquifying the output.
   6743       if sort "$nlist" | uniq > "$nlist"T; then
   6744 	mv -f "$nlist"T "$nlist"
   6745       else
   6746 	rm -f "$nlist"T
   6747       fi
   6748 
   6749       # Make sure that we snagged all the symbols we need.
   6750       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6751 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6752 	  cat <<EOF > conftest.$ac_ext
   6753 #ifdef __cplusplus
   6754 extern "C" {
   6755 #endif
   6756 
   6757 EOF
   6758 	  # Now generate the symbol file.
   6759 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6760 
   6761 	  cat <<EOF >> conftest.$ac_ext
   6762 #if defined (__STDC__) && __STDC__
   6763 # define lt_ptr_t void *
   6764 #else
   6765 # define lt_ptr_t char *
   6766 # define const
   6767 #endif
   6768 
   6769 /* The mapping between symbol names and symbols. */
   6770 const struct {
   6771   const char *name;
   6772   lt_ptr_t address;
   6773 }
   6774 lt_preloaded_symbols[] =
   6775 {
   6776 EOF
   6777 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6778 	  cat <<\EOF >> conftest.$ac_ext
   6779   {0, (lt_ptr_t) 0}
   6780 };
   6781 
   6782 #ifdef __cplusplus
   6783 }
   6784 #endif
   6785 EOF
   6786 	  # Now try linking the two files.
   6787 	  mv conftest.$ac_objext conftstm.$ac_objext
   6788 	  lt_save_LIBS="$LIBS"
   6789 	  lt_save_CFLAGS="$CFLAGS"
   6790 	  LIBS="conftstm.$ac_objext"
   6791 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6792 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6793   (eval $ac_link) 2>&5
   6794   ac_status=$?
   6795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6796   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6797 	    pipe_works=yes
   6798 	  fi
   6799 	  LIBS="$lt_save_LIBS"
   6800 	  CFLAGS="$lt_save_CFLAGS"
   6801 	else
   6802 	  echo "cannot find nm_test_func in $nlist" >&5
   6803 	fi
   6804       else
   6805 	echo "cannot find nm_test_var in $nlist" >&5
   6806       fi
   6807     else
   6808       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6809     fi
   6810   else
   6811     echo "$progname: failed program was:" >&5
   6812     cat conftest.$ac_ext >&5
   6813   fi
   6814   rm -f conftest* conftst*
   6815 
   6816   # Do not use the global_symbol_pipe unless it works.
   6817   if test "$pipe_works" = yes; then
   6818     break
   6819   else
   6820     lt_cv_sys_global_symbol_pipe=
   6821   fi
   6822 done
   6823 
   6824 fi
   6825 
   6826 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6827   lt_cv_sys_global_symbol_to_cdecl=
   6828 fi
   6829 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6830   { echo "$as_me:$LINENO: result: failed" >&5
   6831 echo "${ECHO_T}failed" >&6; }
   6832 else
   6833   { echo "$as_me:$LINENO: result: ok" >&5
   6834 echo "${ECHO_T}ok" >&6; }
   6835 fi
   6836 
   6837 { echo "$as_me:$LINENO: checking for objdir" >&5
   6838 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6839 if test "${lt_cv_objdir+set}" = set; then
   6840   echo $ECHO_N "(cached) $ECHO_C" >&6
   6841 else
   6842   rm -f .libs 2>/dev/null
   6843 mkdir .libs 2>/dev/null
   6844 if test -d .libs; then
   6845   lt_cv_objdir=.libs
   6846 else
   6847   # MS-DOS does not allow filenames that begin with a dot.
   6848   lt_cv_objdir=_libs
   6849 fi
   6850 rmdir .libs 2>/dev/null
   6851 fi
   6852 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6853 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6854 objdir=$lt_cv_objdir
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 case $host_os in
   6861 aix3*)
   6862   # AIX sometimes has problems with the GCC collect2 program.  For some
   6863   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6864   # vanish in a puff of smoke.
   6865   if test "X${COLLECT_NAMES+set}" != Xset; then
   6866     COLLECT_NAMES=
   6867     export COLLECT_NAMES
   6868   fi
   6869   ;;
   6870 esac
   6871 
   6872 # Sed substitution that helps us do robust quoting.  It backslashifies
   6873 # metacharacters that are still active within double-quoted strings.
   6874 Xsed='sed -e 1s/^X//'
   6875 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6876 
   6877 # Same as above, but do not quote variable references.
   6878 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6879 
   6880 # Sed substitution to delay expansion of an escaped shell variable in a
   6881 # double_quote_subst'ed string.
   6882 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6883 
   6884 # Sed substitution to avoid accidental globbing in evaled expressions
   6885 no_glob_subst='s/\*/\\\*/g'
   6886 
   6887 # Constants:
   6888 rm="rm -f"
   6889 
   6890 # Global variables:
   6891 default_ofile=libtool
   6892 can_build_shared=yes
   6893 
   6894 # All known linkers require a `.a' archive for static linking (except MSVC,
   6895 # which needs '.lib').
   6896 libext=a
   6897 ltmain="$ac_aux_dir/ltmain.sh"
   6898 ofile="$default_ofile"
   6899 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6900 
   6901 if test -n "$ac_tool_prefix"; then
   6902   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6903 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6906 if test "${ac_cv_prog_AR+set}" = set; then
   6907   echo $ECHO_N "(cached) $ECHO_C" >&6
   6908 else
   6909   if test -n "$AR"; then
   6910   ac_cv_prog_AR="$AR" # Let the user override the test.
   6911 else
   6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6913 for as_dir in $PATH
   6914 do
   6915   IFS=$as_save_IFS
   6916   test -z "$as_dir" && as_dir=.
   6917   for ac_exec_ext in '' $ac_executable_extensions; do
   6918   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6919     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6920     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6921     break 2
   6922   fi
   6923 done
   6924 done
   6925 IFS=$as_save_IFS
   6926 
   6927 fi
   6928 fi
   6929 AR=$ac_cv_prog_AR
   6930 if test -n "$AR"; then
   6931   { echo "$as_me:$LINENO: result: $AR" >&5
   6932 echo "${ECHO_T}$AR" >&6; }
   6933 else
   6934   { echo "$as_me:$LINENO: result: no" >&5
   6935 echo "${ECHO_T}no" >&6; }
   6936 fi
   6937 
   6938 
   6939 fi
   6940 if test -z "$ac_cv_prog_AR"; then
   6941   ac_ct_AR=$AR
   6942   # Extract the first word of "ar", so it can be a program name with args.
   6943 set dummy ar; ac_word=$2
   6944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6946 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6947   echo $ECHO_N "(cached) $ECHO_C" >&6
   6948 else
   6949   if test -n "$ac_ct_AR"; then
   6950   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6951 else
   6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6953 for as_dir in $PATH
   6954 do
   6955   IFS=$as_save_IFS
   6956   test -z "$as_dir" && as_dir=.
   6957   for ac_exec_ext in '' $ac_executable_extensions; do
   6958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6959     ac_cv_prog_ac_ct_AR="ar"
   6960     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6961     break 2
   6962   fi
   6963 done
   6964 done
   6965 IFS=$as_save_IFS
   6966 
   6967 fi
   6968 fi
   6969 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6970 if test -n "$ac_ct_AR"; then
   6971   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6972 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6973 else
   6974   { echo "$as_me:$LINENO: result: no" >&5
   6975 echo "${ECHO_T}no" >&6; }
   6976 fi
   6977 
   6978   if test "x$ac_ct_AR" = x; then
   6979     AR="false"
   6980   else
   6981     case $cross_compiling:$ac_tool_warned in
   6982 yes:)
   6983 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6984 whose name does not start with the host triplet.  If you think this
   6985 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6986 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6987 whose name does not start with the host triplet.  If you think this
   6988 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6989 ac_tool_warned=yes ;;
   6990 esac
   6991     AR=$ac_ct_AR
   6992   fi
   6993 else
   6994   AR="$ac_cv_prog_AR"
   6995 fi
   6996 
   6997 if test -n "$ac_tool_prefix"; then
   6998   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6999 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7002 if test "${ac_cv_prog_RANLIB+set}" = set; then
   7003   echo $ECHO_N "(cached) $ECHO_C" >&6
   7004 else
   7005   if test -n "$RANLIB"; then
   7006   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7007 else
   7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7009 for as_dir in $PATH
   7010 do
   7011   IFS=$as_save_IFS
   7012   test -z "$as_dir" && as_dir=.
   7013   for ac_exec_ext in '' $ac_executable_extensions; do
   7014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7015     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7016     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7017     break 2
   7018   fi
   7019 done
   7020 done
   7021 IFS=$as_save_IFS
   7022 
   7023 fi
   7024 fi
   7025 RANLIB=$ac_cv_prog_RANLIB
   7026 if test -n "$RANLIB"; then
   7027   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   7028 echo "${ECHO_T}$RANLIB" >&6; }
   7029 else
   7030   { echo "$as_me:$LINENO: result: no" >&5
   7031 echo "${ECHO_T}no" >&6; }
   7032 fi
   7033 
   7034 
   7035 fi
   7036 if test -z "$ac_cv_prog_RANLIB"; then
   7037   ac_ct_RANLIB=$RANLIB
   7038   # Extract the first word of "ranlib", so it can be a program name with args.
   7039 set dummy ranlib; ac_word=$2
   7040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7042 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   7043   echo $ECHO_N "(cached) $ECHO_C" >&6
   7044 else
   7045   if test -n "$ac_ct_RANLIB"; then
   7046   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7047 else
   7048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7049 for as_dir in $PATH
   7050 do
   7051   IFS=$as_save_IFS
   7052   test -z "$as_dir" && as_dir=.
   7053   for ac_exec_ext in '' $ac_executable_extensions; do
   7054   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7055     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7056     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7057     break 2
   7058   fi
   7059 done
   7060 done
   7061 IFS=$as_save_IFS
   7062 
   7063 fi
   7064 fi
   7065 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7066 if test -n "$ac_ct_RANLIB"; then
   7067   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   7068 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   7069 else
   7070   { echo "$as_me:$LINENO: result: no" >&5
   7071 echo "${ECHO_T}no" >&6; }
   7072 fi
   7073 
   7074   if test "x$ac_ct_RANLIB" = x; then
   7075     RANLIB=":"
   7076   else
   7077     case $cross_compiling:$ac_tool_warned in
   7078 yes:)
   7079 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7080 whose name does not start with the host triplet.  If you think this
   7081 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7082 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7083 whose name does not start with the host triplet.  If you think this
   7084 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7085 ac_tool_warned=yes ;;
   7086 esac
   7087     RANLIB=$ac_ct_RANLIB
   7088   fi
   7089 else
   7090   RANLIB="$ac_cv_prog_RANLIB"
   7091 fi
   7092 
   7093 if test -n "$ac_tool_prefix"; then
   7094   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7095 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7098 if test "${ac_cv_prog_STRIP+set}" = set; then
   7099   echo $ECHO_N "(cached) $ECHO_C" >&6
   7100 else
   7101   if test -n "$STRIP"; then
   7102   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7103 else
   7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7105 for as_dir in $PATH
   7106 do
   7107   IFS=$as_save_IFS
   7108   test -z "$as_dir" && as_dir=.
   7109   for ac_exec_ext in '' $ac_executable_extensions; do
   7110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7111     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7112     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7113     break 2
   7114   fi
   7115 done
   7116 done
   7117 IFS=$as_save_IFS
   7118 
   7119 fi
   7120 fi
   7121 STRIP=$ac_cv_prog_STRIP
   7122 if test -n "$STRIP"; then
   7123   { echo "$as_me:$LINENO: result: $STRIP" >&5
   7124 echo "${ECHO_T}$STRIP" >&6; }
   7125 else
   7126   { echo "$as_me:$LINENO: result: no" >&5
   7127 echo "${ECHO_T}no" >&6; }
   7128 fi
   7129 
   7130 
   7131 fi
   7132 if test -z "$ac_cv_prog_STRIP"; then
   7133   ac_ct_STRIP=$STRIP
   7134   # Extract the first word of "strip", so it can be a program name with args.
   7135 set dummy strip; ac_word=$2
   7136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7138 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7139   echo $ECHO_N "(cached) $ECHO_C" >&6
   7140 else
   7141   if test -n "$ac_ct_STRIP"; then
   7142   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7143 else
   7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7145 for as_dir in $PATH
   7146 do
   7147   IFS=$as_save_IFS
   7148   test -z "$as_dir" && as_dir=.
   7149   for ac_exec_ext in '' $ac_executable_extensions; do
   7150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7151     ac_cv_prog_ac_ct_STRIP="strip"
   7152     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7153     break 2
   7154   fi
   7155 done
   7156 done
   7157 IFS=$as_save_IFS
   7158 
   7159 fi
   7160 fi
   7161 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7162 if test -n "$ac_ct_STRIP"; then
   7163   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7164 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   7165 else
   7166   { echo "$as_me:$LINENO: result: no" >&5
   7167 echo "${ECHO_T}no" >&6; }
   7168 fi
   7169 
   7170   if test "x$ac_ct_STRIP" = x; then
   7171     STRIP=":"
   7172   else
   7173     case $cross_compiling:$ac_tool_warned in
   7174 yes:)
   7175 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7176 whose name does not start with the host triplet.  If you think this
   7177 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7178 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7179 whose name does not start with the host triplet.  If you think this
   7180 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7181 ac_tool_warned=yes ;;
   7182 esac
   7183     STRIP=$ac_ct_STRIP
   7184   fi
   7185 else
   7186   STRIP="$ac_cv_prog_STRIP"
   7187 fi
   7188 
   7189 
   7190 old_CC="$CC"
   7191 old_CFLAGS="$CFLAGS"
   7192 
   7193 # Set sane defaults for various variables
   7194 test -z "$AR" && AR=ar
   7195 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7196 test -z "$AS" && AS=as
   7197 test -z "$CC" && CC=cc
   7198 test -z "$LTCC" && LTCC=$CC
   7199 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7200 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7201 test -z "$LD" && LD=ld
   7202 test -z "$LN_S" && LN_S="ln -s"
   7203 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7204 test -z "$NM" && NM=nm
   7205 test -z "$SED" && SED=sed
   7206 test -z "$OBJDUMP" && OBJDUMP=objdump
   7207 test -z "$RANLIB" && RANLIB=:
   7208 test -z "$STRIP" && STRIP=:
   7209 test -z "$ac_objext" && ac_objext=o
   7210 
   7211 # Determine commands to create old-style static archives.
   7212 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   7213 old_postinstall_cmds='chmod 644 $oldlib'
   7214 old_postuninstall_cmds=
   7215 
   7216 if test -n "$RANLIB"; then
   7217   case $host_os in
   7218   openbsd*)
   7219     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7220     ;;
   7221   *)
   7222     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7223     ;;
   7224   esac
   7225   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7226 fi
   7227 
   7228 for cc_temp in $compiler""; do
   7229   case $cc_temp in
   7230     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7231     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7232     \-*) ;;
   7233     *) break;;
   7234   esac
   7235 done
   7236 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7237 
   7238 
   7239 # Only perform the check for file, if the check method requires it
   7240 case $deplibs_check_method in
   7241 file_magic*)
   7242   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7243     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7244 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   7245 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7246   echo $ECHO_N "(cached) $ECHO_C" >&6
   7247 else
   7248   case $MAGIC_CMD in
   7249 [\\/*] |  ?:[\\/]*)
   7250   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7251   ;;
   7252 *)
   7253   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7254   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7255   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7256   for ac_dir in $ac_dummy; do
   7257     IFS="$lt_save_ifs"
   7258     test -z "$ac_dir" && ac_dir=.
   7259     if test -f $ac_dir/${ac_tool_prefix}file; then
   7260       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7261       if test -n "$file_magic_test_file"; then
   7262 	case $deplibs_check_method in
   7263 	"file_magic "*)
   7264 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7265 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7266 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7267 	    $EGREP "$file_magic_regex" > /dev/null; then
   7268 	    :
   7269 	  else
   7270 	    cat <<EOF 1>&2
   7271 
   7272 *** Warning: the command libtool uses to detect shared libraries,
   7273 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7274 *** The result is that libtool may fail to recognize shared libraries
   7275 *** as such.  This will affect the creation of libtool libraries that
   7276 *** depend on shared libraries, but programs linked with such libtool
   7277 *** libraries will work regardless of this problem.  Nevertheless, you
   7278 *** may want to report the problem to your system manager and/or to
   7279 *** bug-libtool@gnu.org
   7280 
   7281 EOF
   7282 	  fi ;;
   7283 	esac
   7284       fi
   7285       break
   7286     fi
   7287   done
   7288   IFS="$lt_save_ifs"
   7289   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7290   ;;
   7291 esac
   7292 fi
   7293 
   7294 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7295 if test -n "$MAGIC_CMD"; then
   7296   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7297 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7298 else
   7299   { echo "$as_me:$LINENO: result: no" >&5
   7300 echo "${ECHO_T}no" >&6; }
   7301 fi
   7302 
   7303 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7304   if test -n "$ac_tool_prefix"; then
   7305     { echo "$as_me:$LINENO: checking for file" >&5
   7306 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   7307 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7308   echo $ECHO_N "(cached) $ECHO_C" >&6
   7309 else
   7310   case $MAGIC_CMD in
   7311 [\\/*] |  ?:[\\/]*)
   7312   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7313   ;;
   7314 *)
   7315   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7316   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7317   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7318   for ac_dir in $ac_dummy; do
   7319     IFS="$lt_save_ifs"
   7320     test -z "$ac_dir" && ac_dir=.
   7321     if test -f $ac_dir/file; then
   7322       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7323       if test -n "$file_magic_test_file"; then
   7324 	case $deplibs_check_method in
   7325 	"file_magic "*)
   7326 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7327 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7328 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7329 	    $EGREP "$file_magic_regex" > /dev/null; then
   7330 	    :
   7331 	  else
   7332 	    cat <<EOF 1>&2
   7333 
   7334 *** Warning: the command libtool uses to detect shared libraries,
   7335 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7336 *** The result is that libtool may fail to recognize shared libraries
   7337 *** as such.  This will affect the creation of libtool libraries that
   7338 *** depend on shared libraries, but programs linked with such libtool
   7339 *** libraries will work regardless of this problem.  Nevertheless, you
   7340 *** may want to report the problem to your system manager and/or to
   7341 *** bug-libtool@gnu.org
   7342 
   7343 EOF
   7344 	  fi ;;
   7345 	esac
   7346       fi
   7347       break
   7348     fi
   7349   done
   7350   IFS="$lt_save_ifs"
   7351   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7352   ;;
   7353 esac
   7354 fi
   7355 
   7356 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7357 if test -n "$MAGIC_CMD"; then
   7358   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7359 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7360 else
   7361   { echo "$as_me:$LINENO: result: no" >&5
   7362 echo "${ECHO_T}no" >&6; }
   7363 fi
   7364 
   7365   else
   7366     MAGIC_CMD=:
   7367   fi
   7368 fi
   7369 
   7370   fi
   7371   ;;
   7372 esac
   7373 
   7374 enable_dlopen=no
   7375 enable_win32_dll=yes
   7376 
   7377 # Check whether --enable-libtool-lock was given.
   7378 if test "${enable_libtool_lock+set}" = set; then
   7379   enableval=$enable_libtool_lock;
   7380 fi
   7381 
   7382 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7383 
   7384 
   7385 # Check whether --with-pic was given.
   7386 if test "${with_pic+set}" = set; then
   7387   withval=$with_pic; pic_mode="$withval"
   7388 else
   7389   pic_mode=default
   7390 fi
   7391 
   7392 test -z "$pic_mode" && pic_mode=default
   7393 
   7394 # Use C for the default configuration in the libtool script
   7395 tagname=
   7396 lt_save_CC="$CC"
   7397 ac_ext=c
   7398 ac_cpp='$CPP $CPPFLAGS'
   7399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7402 
   7403 
   7404 # Source file extension for C test sources.
   7405 ac_ext=c
   7406 
   7407 # Object file extension for compiled C test sources.
   7408 objext=o
   7409 objext=$objext
   7410 
   7411 # Code to be used in simple compile tests
   7412 lt_simple_compile_test_code="int some_variable = 0;\n"
   7413 
   7414 # Code to be used in simple link tests
   7415 lt_simple_link_test_code='int main(){return(0);}\n'
   7416 
   7417 
   7418 # If no C compiler was specified, use CC.
   7419 LTCC=${LTCC-"$CC"}
   7420 
   7421 # If no C compiler flags were specified, use CFLAGS.
   7422 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7423 
   7424 # Allow CC to be a program name with arguments.
   7425 compiler=$CC
   7426 
   7427 
   7428 # save warnings/boilerplate of simple test code
   7429 ac_outfile=conftest.$ac_objext
   7430 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7432 _lt_compiler_boilerplate=`cat conftest.err`
   7433 $rm conftest*
   7434 
   7435 ac_outfile=conftest.$ac_objext
   7436 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7438 _lt_linker_boilerplate=`cat conftest.err`
   7439 $rm conftest*
   7440 
   7441 
   7442 ## CAVEAT EMPTOR:
   7443 ## There is no encapsulation within the following macros, do not change
   7444 ## the running order or otherwise move them around unless you know exactly
   7445 ## what you are doing...
   7446 
   7447 lt_prog_compiler_no_builtin_flag=
   7448 
   7449 if test "$GCC" = yes; then
   7450   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7451 
   7452 
   7453 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7454 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7455 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7456   echo $ECHO_N "(cached) $ECHO_C" >&6
   7457 else
   7458   lt_cv_prog_compiler_rtti_exceptions=no
   7459   ac_outfile=conftest.$ac_objext
   7460    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7461    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7462    # Insert the option either (1) after the last *FLAGS variable, or
   7463    # (2) before a word containing "conftest.", or (3) at the end.
   7464    # Note that $ac_compile itself does not contain backslashes and begins
   7465    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7466    # The option is referenced via a variable to avoid confusing sed.
   7467    lt_compile=`echo "$ac_compile" | $SED \
   7468    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7469    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7470    -e 's:$: $lt_compiler_flag:'`
   7471    (eval echo "\"\$as_me:7471: $lt_compile\"" >&5)
   7472    (eval "$lt_compile" 2>conftest.err)
   7473    ac_status=$?
   7474    cat conftest.err >&5
   7475    echo "$as_me:7475: \$? = $ac_status" >&5
   7476    if (exit $ac_status) && test -s "$ac_outfile"; then
   7477      # The compiler can only warn and ignore the option if not recognized
   7478      # So say no if there are warnings other than the usual output.
   7479      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7480      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7481      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7482        lt_cv_prog_compiler_rtti_exceptions=yes
   7483      fi
   7484    fi
   7485    $rm conftest*
   7486 
   7487 fi
   7488 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7489 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7490 
   7491 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7492     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7493 else
   7494     :
   7495 fi
   7496 
   7497 fi
   7498 
   7499 lt_prog_compiler_wl=
   7500 lt_prog_compiler_pic=
   7501 lt_prog_compiler_static=
   7502 
   7503 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7504 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7505 
   7506   if test "$GCC" = yes; then
   7507     lt_prog_compiler_wl='-Wl,'
   7508     lt_prog_compiler_static='-static'
   7509 
   7510     case $host_os in
   7511       aix*)
   7512       # All AIX code is PIC.
   7513       if test "$host_cpu" = ia64; then
   7514 	# AIX 5 now supports IA64 processor
   7515 	lt_prog_compiler_static='-Bstatic'
   7516       fi
   7517       ;;
   7518 
   7519     amigaos*)
   7520       # FIXME: we need at least 68020 code to build shared libraries, but
   7521       # adding the `-m68020' flag to GCC prevents building anything better,
   7522       # like `-m68040'.
   7523       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7524       ;;
   7525 
   7526     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7527       # PIC is the default for these OSes.
   7528       ;;
   7529 
   7530     mingw* | cygwin* | pw32* | os2*)
   7531       # This hack is so that the source file can tell whether it is being
   7532       # built for inclusion in a dll (and should export symbols for example).
   7533       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7534       # (--disable-auto-import) libraries
   7535       lt_prog_compiler_pic='-DDLL_EXPORT'
   7536       ;;
   7537 
   7538     darwin* | rhapsody*)
   7539       # PIC is the default on this platform
   7540       # Common symbols not allowed in MH_DYLIB files
   7541       lt_prog_compiler_pic='-fno-common'
   7542       ;;
   7543 
   7544     interix3*)
   7545       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7546       # Instead, we relocate shared libraries at runtime.
   7547       ;;
   7548 
   7549     msdosdjgpp*)
   7550       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7551       # on systems that don't support them.
   7552       lt_prog_compiler_can_build_shared=no
   7553       enable_shared=no
   7554       ;;
   7555 
   7556     sysv4*MP*)
   7557       if test -d /usr/nec; then
   7558 	lt_prog_compiler_pic=-Kconform_pic
   7559       fi
   7560       ;;
   7561 
   7562     hpux*)
   7563       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7564       # not for PA HP-UX.
   7565       case $host_cpu in
   7566       hppa*64*|ia64*)
   7567 	# +Z the default
   7568 	;;
   7569       *)
   7570 	lt_prog_compiler_pic='-fPIC'
   7571 	;;
   7572       esac
   7573       ;;
   7574 
   7575     *)
   7576       lt_prog_compiler_pic='-fPIC'
   7577       ;;
   7578     esac
   7579   else
   7580     # PORTME Check for flag to pass linker flags through the system compiler.
   7581     case $host_os in
   7582     aix*)
   7583       lt_prog_compiler_wl='-Wl,'
   7584       if test "$host_cpu" = ia64; then
   7585 	# AIX 5 now supports IA64 processor
   7586 	lt_prog_compiler_static='-Bstatic'
   7587       else
   7588 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7589       fi
   7590       ;;
   7591       darwin*)
   7592         # PIC is the default on this platform
   7593         # Common symbols not allowed in MH_DYLIB files
   7594        case $cc_basename in
   7595          xlc*)
   7596          lt_prog_compiler_pic='-qnocommon'
   7597          lt_prog_compiler_wl='-Wl,'
   7598          ;;
   7599        esac
   7600        ;;
   7601 
   7602     mingw* | cygwin* | pw32* | os2*)
   7603       # This hack is so that the source file can tell whether it is being
   7604       # built for inclusion in a dll (and should export symbols for example).
   7605       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7606       # (--disable-auto-import) libraries
   7607       lt_prog_compiler_pic='-DDLL_EXPORT'
   7608       ;;
   7609 
   7610     hpux9* | hpux10* | hpux11*)
   7611       lt_prog_compiler_wl='-Wl,'
   7612       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7613       # not for PA HP-UX.
   7614       case $host_cpu in
   7615       hppa*64*|ia64*)
   7616 	# +Z the default
   7617 	;;
   7618       *)
   7619 	lt_prog_compiler_pic='+Z'
   7620 	;;
   7621       esac
   7622       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7623       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7624       ;;
   7625 
   7626     irix5* | irix6* | nonstopux*)
   7627       lt_prog_compiler_wl='-Wl,'
   7628       # PIC (with -KPIC) is the default.
   7629       lt_prog_compiler_static='-non_shared'
   7630       ;;
   7631 
   7632     newsos6)
   7633       lt_prog_compiler_pic='-KPIC'
   7634       lt_prog_compiler_static='-Bstatic'
   7635       ;;
   7636 
   7637     linux*)
   7638       case $cc_basename in
   7639       icc* | ecc*)
   7640 	lt_prog_compiler_wl='-Wl,'
   7641 	lt_prog_compiler_pic='-KPIC'
   7642 	lt_prog_compiler_static='-static'
   7643         ;;
   7644       pgcc* | pgf77* | pgf90* | pgf95*)
   7645         # Portland Group compilers (*not* the Pentium gcc compiler,
   7646 	# which looks to be a dead project)
   7647 	lt_prog_compiler_wl='-Wl,'
   7648 	lt_prog_compiler_pic='-fpic'
   7649 	lt_prog_compiler_static='-Bstatic'
   7650         ;;
   7651       ccc*)
   7652         lt_prog_compiler_wl='-Wl,'
   7653         # All Alpha code is PIC.
   7654         lt_prog_compiler_static='-non_shared'
   7655         ;;
   7656       como)
   7657         lt_prog_compiler_wl='-lopt='
   7658         ;;
   7659       *)
   7660         case `$CC -V 2>&1 | sed 5q` in
   7661 	*Sun\ C*)
   7662 	  # Sun C 5.9
   7663 	  lt_prog_compiler_pic='-KPIC'
   7664 	  lt_prog_compiler_static='-Bstatic'
   7665 	  lt_prog_compiler_wl='-Wl,'
   7666 	  ;;
   7667 	*Sun\ F*)
   7668 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7669 	  lt_prog_compiler_pic='-KPIC'
   7670 	  lt_prog_compiler_static='-Bstatic'
   7671 	  lt_prog_compiler_wl=''
   7672 	  ;;
   7673 	esac
   7674 	;;
   7675       esac
   7676       ;;
   7677 
   7678     osf3* | osf4* | osf5*)
   7679       lt_prog_compiler_wl='-Wl,'
   7680       # All OSF/1 code is PIC.
   7681       lt_prog_compiler_static='-non_shared'
   7682       ;;
   7683 
   7684     solaris*)
   7685       lt_prog_compiler_pic='-KPIC'
   7686       lt_prog_compiler_static='-Bstatic'
   7687       case $cc_basename in
   7688       f77* | f90* | f95*)
   7689 	lt_prog_compiler_wl='-Qoption ld ';;
   7690       *)
   7691 	lt_prog_compiler_wl='-Wl,';;
   7692       esac
   7693       ;;
   7694 
   7695     sunos4*)
   7696       lt_prog_compiler_wl='-Qoption ld '
   7697       lt_prog_compiler_pic='-PIC'
   7698       lt_prog_compiler_static='-Bstatic'
   7699       ;;
   7700 
   7701     sysv4 | sysv4.2uw2* | sysv4.3*)
   7702       lt_prog_compiler_wl='-Wl,'
   7703       lt_prog_compiler_pic='-KPIC'
   7704       lt_prog_compiler_static='-Bstatic'
   7705       ;;
   7706 
   7707     sysv4*MP*)
   7708       if test -d /usr/nec ;then
   7709 	lt_prog_compiler_pic='-Kconform_pic'
   7710 	lt_prog_compiler_static='-Bstatic'
   7711       fi
   7712       ;;
   7713 
   7714     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7715       lt_prog_compiler_wl='-Wl,'
   7716       lt_prog_compiler_pic='-KPIC'
   7717       lt_prog_compiler_static='-Bstatic'
   7718       ;;
   7719 
   7720     unicos*)
   7721       lt_prog_compiler_wl='-Wl,'
   7722       lt_prog_compiler_can_build_shared=no
   7723       ;;
   7724 
   7725     uts4*)
   7726       lt_prog_compiler_pic='-pic'
   7727       lt_prog_compiler_static='-Bstatic'
   7728       ;;
   7729 
   7730     *)
   7731       lt_prog_compiler_can_build_shared=no
   7732       ;;
   7733     esac
   7734   fi
   7735 
   7736 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7737 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7738 
   7739 #
   7740 # Check to make sure the PIC flag actually works.
   7741 #
   7742 if test -n "$lt_prog_compiler_pic"; then
   7743 
   7744 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7745 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7746 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7747   echo $ECHO_N "(cached) $ECHO_C" >&6
   7748 else
   7749   lt_prog_compiler_pic_works=no
   7750   ac_outfile=conftest.$ac_objext
   7751    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7752    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7753    # Insert the option either (1) after the last *FLAGS variable, or
   7754    # (2) before a word containing "conftest.", or (3) at the end.
   7755    # Note that $ac_compile itself does not contain backslashes and begins
   7756    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7757    # The option is referenced via a variable to avoid confusing sed.
   7758    lt_compile=`echo "$ac_compile" | $SED \
   7759    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7760    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7761    -e 's:$: $lt_compiler_flag:'`
   7762    (eval echo "\"\$as_me:7762: $lt_compile\"" >&5)
   7763    (eval "$lt_compile" 2>conftest.err)
   7764    ac_status=$?
   7765    cat conftest.err >&5
   7766    echo "$as_me:7766: \$? = $ac_status" >&5
   7767    if (exit $ac_status) && test -s "$ac_outfile"; then
   7768      # The compiler can only warn and ignore the option if not recognized
   7769      # So say no if there are warnings other than the usual output.
   7770      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7771      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7772      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7773        lt_prog_compiler_pic_works=yes
   7774      fi
   7775    fi
   7776    $rm conftest*
   7777 
   7778 fi
   7779 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7780 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7781 
   7782 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7783     case $lt_prog_compiler_pic in
   7784      "" | " "*) ;;
   7785      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7786      esac
   7787 else
   7788     lt_prog_compiler_pic=
   7789      lt_prog_compiler_can_build_shared=no
   7790 fi
   7791 
   7792 fi
   7793 case $host_os in
   7794   # For platforms which do not support PIC, -DPIC is meaningless:
   7795   *djgpp*)
   7796     lt_prog_compiler_pic=
   7797     ;;
   7798   *)
   7799     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7800     ;;
   7801 esac
   7802 
   7803 #
   7804 # Check to make sure the static flag actually works.
   7805 #
   7806 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7807 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7808 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7809 if test "${lt_prog_compiler_static_works+set}" = set; then
   7810   echo $ECHO_N "(cached) $ECHO_C" >&6
   7811 else
   7812   lt_prog_compiler_static_works=no
   7813    save_LDFLAGS="$LDFLAGS"
   7814    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7815    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7816    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7817      # The linker can only warn and ignore the option if not recognized
   7818      # So say no if there are warnings
   7819      if test -s conftest.err; then
   7820        # Append any errors to the config.log.
   7821        cat conftest.err 1>&5
   7822        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7823        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7824        if diff conftest.exp conftest.er2 >/dev/null; then
   7825          lt_prog_compiler_static_works=yes
   7826        fi
   7827      else
   7828        lt_prog_compiler_static_works=yes
   7829      fi
   7830    fi
   7831    $rm conftest*
   7832    LDFLAGS="$save_LDFLAGS"
   7833 
   7834 fi
   7835 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7836 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7837 
   7838 if test x"$lt_prog_compiler_static_works" = xyes; then
   7839     :
   7840 else
   7841     lt_prog_compiler_static=
   7842 fi
   7843 
   7844 
   7845 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7846 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7847 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7848   echo $ECHO_N "(cached) $ECHO_C" >&6
   7849 else
   7850   lt_cv_prog_compiler_c_o=no
   7851    $rm -r conftest 2>/dev/null
   7852    mkdir conftest
   7853    cd conftest
   7854    mkdir out
   7855    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7856 
   7857    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7858    # Insert the option either (1) after the last *FLAGS variable, or
   7859    # (2) before a word containing "conftest.", or (3) at the end.
   7860    # Note that $ac_compile itself does not contain backslashes and begins
   7861    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7862    lt_compile=`echo "$ac_compile" | $SED \
   7863    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7864    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7865    -e 's:$: $lt_compiler_flag:'`
   7866    (eval echo "\"\$as_me:7866: $lt_compile\"" >&5)
   7867    (eval "$lt_compile" 2>out/conftest.err)
   7868    ac_status=$?
   7869    cat out/conftest.err >&5
   7870    echo "$as_me:7870: \$? = $ac_status" >&5
   7871    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7872    then
   7873      # The compiler can only warn and ignore the option if not recognized
   7874      # So say no if there are warnings
   7875      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7876      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7877      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7878        lt_cv_prog_compiler_c_o=yes
   7879      fi
   7880    fi
   7881    chmod u+w . 2>&5
   7882    $rm conftest*
   7883    # SGI C++ compiler will create directory out/ii_files/ for
   7884    # template instantiation
   7885    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7886    $rm out/* && rmdir out
   7887    cd ..
   7888    rmdir conftest
   7889    $rm conftest*
   7890 
   7891 fi
   7892 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7893 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7894 
   7895 
   7896 hard_links="nottested"
   7897 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7898   # do not overwrite the value of need_locks provided by the user
   7899   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7900 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7901   hard_links=yes
   7902   $rm conftest*
   7903   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7904   touch conftest.a
   7905   ln conftest.a conftest.b 2>&5 || hard_links=no
   7906   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7907   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7908 echo "${ECHO_T}$hard_links" >&6; }
   7909   if test "$hard_links" = no; then
   7910     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7911 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7912     need_locks=warn
   7913   fi
   7914 else
   7915   need_locks=no
   7916 fi
   7917 
   7918 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7919 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7920 
   7921   runpath_var=
   7922   allow_undefined_flag=
   7923   enable_shared_with_static_runtimes=no
   7924   archive_cmds=
   7925   archive_expsym_cmds=
   7926   old_archive_From_new_cmds=
   7927   old_archive_from_expsyms_cmds=
   7928   export_dynamic_flag_spec=
   7929   whole_archive_flag_spec=
   7930   thread_safe_flag_spec=
   7931   hardcode_libdir_flag_spec=
   7932   hardcode_libdir_flag_spec_ld=
   7933   hardcode_libdir_separator=
   7934   hardcode_direct=no
   7935   hardcode_minus_L=no
   7936   hardcode_shlibpath_var=unsupported
   7937   link_all_deplibs=unknown
   7938   hardcode_automatic=no
   7939   module_cmds=
   7940   module_expsym_cmds=
   7941   always_export_symbols=no
   7942   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7943   # include_expsyms should be a list of space-separated symbols to be *always*
   7944   # included in the symbol list
   7945   include_expsyms=
   7946   # exclude_expsyms can be an extended regexp of symbols to exclude
   7947   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7948   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7949   # as well as any symbol that contains `d'.
   7950   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7951   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7952   # platforms (ab)use it in PIC code, but their linkers get confused if
   7953   # the symbol is explicitly referenced.  Since portable code cannot
   7954   # rely on this symbol name, it's probably fine to never include it in
   7955   # preloaded symbol tables.
   7956   extract_expsyms_cmds=
   7957   # Just being paranoid about ensuring that cc_basename is set.
   7958   for cc_temp in $compiler""; do
   7959   case $cc_temp in
   7960     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7961     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7962     \-*) ;;
   7963     *) break;;
   7964   esac
   7965 done
   7966 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7967 
   7968   case $host_os in
   7969   cygwin* | mingw* | pw32*)
   7970     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7971     # When not using gcc, we currently assume that we are using
   7972     # Microsoft Visual C++.
   7973     if test "$GCC" != yes; then
   7974       with_gnu_ld=no
   7975     fi
   7976     ;;
   7977   interix*)
   7978     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7979     with_gnu_ld=yes
   7980     ;;
   7981   openbsd*)
   7982     with_gnu_ld=no
   7983     ;;
   7984   esac
   7985 
   7986   ld_shlibs=yes
   7987   if test "$with_gnu_ld" = yes; then
   7988     # If archive_cmds runs LD, not CC, wlarc should be empty
   7989     wlarc='${wl}'
   7990 
   7991     # Set some defaults for GNU ld with shared library support. These
   7992     # are reset later if shared libraries are not supported. Putting them
   7993     # here allows them to be overridden if necessary.
   7994     runpath_var=LD_RUN_PATH
   7995     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7996     export_dynamic_flag_spec='${wl}--export-dynamic'
   7997     # ancient GNU ld didn't support --whole-archive et. al.
   7998     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7999 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8000       else
   8001   	whole_archive_flag_spec=
   8002     fi
   8003     supports_anon_versioning=no
   8004     case `$LD -v 2>/dev/null` in
   8005       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8006       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8007       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8008       *\ 2.11.*) ;; # other 2.11 versions
   8009       *) supports_anon_versioning=yes ;;
   8010     esac
   8011 
   8012     # See if GNU ld supports shared libraries.
   8013     case $host_os in
   8014     aix3* | aix4* | aix5*)
   8015       # On AIX/PPC, the GNU linker is very broken
   8016       if test "$host_cpu" != ia64; then
   8017 	ld_shlibs=no
   8018 	cat <<EOF 1>&2
   8019 
   8020 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8021 *** to be unable to reliably create shared libraries on AIX.
   8022 *** Therefore, libtool is disabling shared libraries support.  If you
   8023 *** really care for shared libraries, you may want to modify your PATH
   8024 *** so that a non-GNU linker is found, and then restart.
   8025 
   8026 EOF
   8027       fi
   8028       ;;
   8029 
   8030     amigaos*)
   8031       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)'
   8032       hardcode_libdir_flag_spec='-L$libdir'
   8033       hardcode_minus_L=yes
   8034 
   8035       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8036       # that the semantics of dynamic libraries on AmigaOS, at least up
   8037       # to version 4, is to share data among multiple programs linked
   8038       # with the same dynamic library.  Since this doesn't match the
   8039       # behavior of shared libraries on other platforms, we can't use
   8040       # them.
   8041       ld_shlibs=no
   8042       ;;
   8043 
   8044     beos*)
   8045       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8046 	allow_undefined_flag=unsupported
   8047 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8048 	# support --undefined.  This deserves some investigation.  FIXME
   8049 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8050       else
   8051 	ld_shlibs=no
   8052       fi
   8053       ;;
   8054 
   8055     cygwin* | mingw* | pw32*)
   8056       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8057       # as there is no search path for DLLs.
   8058       hardcode_libdir_flag_spec='-L$libdir'
   8059       allow_undefined_flag=unsupported
   8060       always_export_symbols=no
   8061       enable_shared_with_static_runtimes=yes
   8062       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   8063 
   8064       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8065         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8066 	# If the export-symbols file already is a .def file (1st line
   8067 	# is EXPORTS), use it as is; otherwise, prepend...
   8068 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8069 	  cp $export_symbols $output_objdir/$soname.def;
   8070 	else
   8071 	  echo EXPORTS > $output_objdir/$soname.def;
   8072 	  cat $export_symbols >> $output_objdir/$soname.def;
   8073 	fi~
   8074 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8075       else
   8076 	ld_shlibs=no
   8077       fi
   8078       ;;
   8079 
   8080     interix3*)
   8081       hardcode_direct=no
   8082       hardcode_shlibpath_var=no
   8083       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8084       export_dynamic_flag_spec='${wl}-E'
   8085       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8086       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8087       # default) and relocated if they conflict, which is a slow very memory
   8088       # consuming and fragmenting process.  To avoid this, we pick a random,
   8089       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8090       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8091       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8092       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'
   8093       ;;
   8094 
   8095     linux*)
   8096       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8097 	tmp_addflag=
   8098 	case $cc_basename,$host_cpu in
   8099 	pgcc*)				# Portland Group C compiler
   8100 	  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'
   8101 	  tmp_addflag=' $pic_flag'
   8102 	  ;;
   8103 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8104 	  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'
   8105 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8106 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8107 	  tmp_addflag=' -i_dynamic' ;;
   8108 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8109 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8110 	ifc* | ifort*)			# Intel Fortran compiler
   8111 	  tmp_addflag=' -nofor_main' ;;
   8112 	esac
   8113 	case `$CC -V 2>&1 | sed 5q` in
   8114 	*Sun\ C*)			# Sun C 5.9
   8115 	  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 /dev/null'
   8116 	  tmp_sharedflag='-G' ;;
   8117 	*Sun\ F*)			# Sun Fortran 8.3
   8118 	  tmp_sharedflag='-G' ;;
   8119 	*)
   8120 	  tmp_sharedflag='-shared' ;;
   8121 	esac
   8122 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8123 
   8124 	if test $supports_anon_versioning = yes; then
   8125 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8126   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8127   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8128 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8129 	fi
   8130       else
   8131 	ld_shlibs=no
   8132       fi
   8133       ;;
   8134 
   8135     netbsd*)
   8136       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8137 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8138 	wlarc=
   8139       else
   8140 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8141 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8142       fi
   8143       ;;
   8144 
   8145     solaris*)
   8146       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8147 	ld_shlibs=no
   8148 	cat <<EOF 1>&2
   8149 
   8150 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8151 *** create shared libraries on Solaris systems.  Therefore, libtool
   8152 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8153 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8154 *** your PATH or compiler configuration so that the native linker is
   8155 *** used, and then restart.
   8156 
   8157 EOF
   8158       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8159 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8160 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8161       else
   8162 	ld_shlibs=no
   8163       fi
   8164       ;;
   8165 
   8166     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8167       case `$LD -v 2>&1` in
   8168         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8169 	ld_shlibs=no
   8170 	cat <<_LT_EOF 1>&2
   8171 
   8172 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8173 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8174 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8175 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8176 *** your PATH or compiler configuration so that the native linker is
   8177 *** used, and then restart.
   8178 
   8179 _LT_EOF
   8180 	;;
   8181 	*)
   8182 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8183 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8184 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8185 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8186 	  else
   8187 	    ld_shlibs=no
   8188 	  fi
   8189 	;;
   8190       esac
   8191       ;;
   8192 
   8193     sunos4*)
   8194       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8195       wlarc=
   8196       hardcode_direct=yes
   8197       hardcode_shlibpath_var=no
   8198       ;;
   8199 
   8200     *)
   8201       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8202 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8203 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8204       else
   8205 	ld_shlibs=no
   8206       fi
   8207       ;;
   8208     esac
   8209 
   8210     if test "$ld_shlibs" = no; then
   8211       runpath_var=
   8212       hardcode_libdir_flag_spec=
   8213       export_dynamic_flag_spec=
   8214       whole_archive_flag_spec=
   8215     fi
   8216   else
   8217     # PORTME fill in a description of your system's linker (not GNU ld)
   8218     case $host_os in
   8219     aix3*)
   8220       allow_undefined_flag=unsupported
   8221       always_export_symbols=yes
   8222       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'
   8223       # Note: this linker hardcodes the directories in LIBPATH if there
   8224       # are no directories specified by -L.
   8225       hardcode_minus_L=yes
   8226       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8227 	# Neither direct hardcoding nor static linking is supported with a
   8228 	# broken collect2.
   8229 	hardcode_direct=unsupported
   8230       fi
   8231       ;;
   8232 
   8233     aix4* | aix5*)
   8234       if test "$host_cpu" = ia64; then
   8235 	# On IA64, the linker does run time linking by default, so we don't
   8236 	# have to do anything special.
   8237 	aix_use_runtimelinking=no
   8238 	exp_sym_flag='-Bexport'
   8239 	no_entry_flag=""
   8240       else
   8241 	# If we're using GNU nm, then we don't want the "-C" option.
   8242 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8243 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8244 	  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'
   8245 	else
   8246 	  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'
   8247 	fi
   8248 	aix_use_runtimelinking=no
   8249 
   8250 	# Test if we are trying to use run time linking or normal
   8251 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8252 	# need to do runtime linking.
   8253 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   8254 	  for ld_flag in $LDFLAGS; do
   8255   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8256   	    aix_use_runtimelinking=yes
   8257   	    break
   8258   	  fi
   8259 	  done
   8260 	  ;;
   8261 	esac
   8262 
   8263 	exp_sym_flag='-bexport'
   8264 	no_entry_flag='-bnoentry'
   8265       fi
   8266 
   8267       # When large executables or shared objects are built, AIX ld can
   8268       # have problems creating the table of contents.  If linking a library
   8269       # or program results in "error TOC overflow" add -mminimal-toc to
   8270       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8271       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8272 
   8273       archive_cmds=''
   8274       hardcode_direct=yes
   8275       hardcode_libdir_separator=':'
   8276       link_all_deplibs=yes
   8277 
   8278       if test "$GCC" = yes; then
   8279 	case $host_os in aix4.[012]|aix4.[012].*)
   8280 	# We only want to do this on AIX 4.2 and lower, the check
   8281 	# below for broken collect2 doesn't work under 4.3+
   8282 	  collect2name=`${CC} -print-prog-name=collect2`
   8283 	  if test -f "$collect2name" && \
   8284   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8285 	  then
   8286   	  # We have reworked collect2
   8287   	  hardcode_direct=yes
   8288 	  else
   8289   	  # We have old collect2
   8290   	  hardcode_direct=unsupported
   8291   	  # It fails to find uninstalled libraries when the uninstalled
   8292   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8293   	  # to unsupported forces relinking
   8294   	  hardcode_minus_L=yes
   8295   	  hardcode_libdir_flag_spec='-L$libdir'
   8296   	  hardcode_libdir_separator=
   8297 	  fi
   8298 	  ;;
   8299 	esac
   8300 	shared_flag='-shared'
   8301 	if test "$aix_use_runtimelinking" = yes; then
   8302 	  shared_flag="$shared_flag "'${wl}-G'
   8303 	fi
   8304       else
   8305 	# not using gcc
   8306 	if test "$host_cpu" = ia64; then
   8307   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8308   	# chokes on -Wl,-G. The following line is correct:
   8309 	  shared_flag='-G'
   8310 	else
   8311 	  if test "$aix_use_runtimelinking" = yes; then
   8312 	    shared_flag='${wl}-G'
   8313 	  else
   8314 	    shared_flag='${wl}-bM:SRE'
   8315 	  fi
   8316 	fi
   8317       fi
   8318 
   8319       # It seems that -bexpall does not export symbols beginning with
   8320       # underscore (_), so it is better to generate a list of symbols to export.
   8321       always_export_symbols=yes
   8322       if test "$aix_use_runtimelinking" = yes; then
   8323 	# Warning - without using the other runtime loading flags (-brtl),
   8324 	# -berok will link without error, but may produce a broken library.
   8325 	allow_undefined_flag='-berok'
   8326        # Determine the default libpath from the value encoded in an empty executable.
   8327        cat >conftest.$ac_ext <<_ACEOF
   8328 /* confdefs.h.  */
   8329 _ACEOF
   8330 cat confdefs.h >>conftest.$ac_ext
   8331 cat >>conftest.$ac_ext <<_ACEOF
   8332 /* end confdefs.h.  */
   8333 
   8334 int
   8335 main ()
   8336 {
   8337 
   8338   ;
   8339   return 0;
   8340 }
   8341 _ACEOF
   8342 rm -f conftest.$ac_objext conftest$ac_exeext
   8343 if { (ac_try="$ac_link"
   8344 case "(($ac_try" in
   8345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8346   *) ac_try_echo=$ac_try;;
   8347 esac
   8348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8349   (eval "$ac_link") 2>conftest.er1
   8350   ac_status=$?
   8351   grep -v '^ *+' conftest.er1 >conftest.err
   8352   rm -f conftest.er1
   8353   cat conftest.err >&5
   8354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8355   (exit $ac_status); } && {
   8356 	 test -z "$ac_c_werror_flag" ||
   8357 	 test ! -s conftest.err
   8358        } && test -s conftest$ac_exeext &&
   8359        $as_test_x conftest$ac_exeext; then
   8360 
   8361 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8362 }'`
   8363 # Check for a 64-bit object if we didn't find anything.
   8364 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8365 }'`; fi
   8366 else
   8367   echo "$as_me: failed program was:" >&5
   8368 sed 's/^/| /' conftest.$ac_ext >&5
   8369 
   8370 
   8371 fi
   8372 
   8373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8374       conftest$ac_exeext conftest.$ac_ext
   8375 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8376 
   8377        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8378 	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"
   8379        else
   8380 	if test "$host_cpu" = ia64; then
   8381 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8382 	  allow_undefined_flag="-z nodefs"
   8383 	  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"
   8384 	else
   8385 	 # Determine the default libpath from the value encoded in an empty executable.
   8386 	 cat >conftest.$ac_ext <<_ACEOF
   8387 /* confdefs.h.  */
   8388 _ACEOF
   8389 cat confdefs.h >>conftest.$ac_ext
   8390 cat >>conftest.$ac_ext <<_ACEOF
   8391 /* end confdefs.h.  */
   8392 
   8393 int
   8394 main ()
   8395 {
   8396 
   8397   ;
   8398   return 0;
   8399 }
   8400 _ACEOF
   8401 rm -f conftest.$ac_objext conftest$ac_exeext
   8402 if { (ac_try="$ac_link"
   8403 case "(($ac_try" in
   8404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8405   *) ac_try_echo=$ac_try;;
   8406 esac
   8407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8408   (eval "$ac_link") 2>conftest.er1
   8409   ac_status=$?
   8410   grep -v '^ *+' conftest.er1 >conftest.err
   8411   rm -f conftest.er1
   8412   cat conftest.err >&5
   8413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8414   (exit $ac_status); } && {
   8415 	 test -z "$ac_c_werror_flag" ||
   8416 	 test ! -s conftest.err
   8417        } && test -s conftest$ac_exeext &&
   8418        $as_test_x conftest$ac_exeext; then
   8419 
   8420 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8421 }'`
   8422 # Check for a 64-bit object if we didn't find anything.
   8423 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8424 }'`; fi
   8425 else
   8426   echo "$as_me: failed program was:" >&5
   8427 sed 's/^/| /' conftest.$ac_ext >&5
   8428 
   8429 
   8430 fi
   8431 
   8432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8433       conftest$ac_exeext conftest.$ac_ext
   8434 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8435 
   8436 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8437 	  # Warning - without using the other run time loading flags,
   8438 	  # -berok will link without error, but may produce a broken library.
   8439 	  no_undefined_flag=' ${wl}-bernotok'
   8440 	  allow_undefined_flag=' ${wl}-berok'
   8441 	  # Exported symbols can be pulled into shared objects from archives
   8442 	  whole_archive_flag_spec='$convenience'
   8443 	  archive_cmds_need_lc=yes
   8444 	  # This is similar to how AIX traditionally builds its shared libraries.
   8445 	  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'
   8446 	fi
   8447       fi
   8448       ;;
   8449 
   8450     amigaos*)
   8451       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)'
   8452       hardcode_libdir_flag_spec='-L$libdir'
   8453       hardcode_minus_L=yes
   8454       # see comment about different semantics on the GNU ld section
   8455       ld_shlibs=no
   8456       ;;
   8457 
   8458     bsdi[45]*)
   8459       export_dynamic_flag_spec=-rdynamic
   8460       ;;
   8461 
   8462     cygwin* | mingw* | pw32*)
   8463       # When not using gcc, we currently assume that we are using
   8464       # Microsoft Visual C++.
   8465       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8466       # no search path for DLLs.
   8467       hardcode_libdir_flag_spec=' '
   8468       allow_undefined_flag=unsupported
   8469       # Tell ltmain to make .lib files, not .a files.
   8470       libext=lib
   8471       # Tell ltmain to make .dll files, not .so files.
   8472       shrext_cmds=".dll"
   8473       # FIXME: Setting linknames here is a bad hack.
   8474       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8475       # The linker will automatically build a .lib file if we build a DLL.
   8476       old_archive_From_new_cmds='true'
   8477       # FIXME: Should let the user specify the lib program.
   8478       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8479       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8480       enable_shared_with_static_runtimes=yes
   8481       ;;
   8482 
   8483     darwin* | rhapsody*)
   8484       case $host_os in
   8485         rhapsody* | darwin1.[012])
   8486          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8487          ;;
   8488        *) # Darwin 1.3 on
   8489          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8490            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8491          else
   8492            case ${MACOSX_DEPLOYMENT_TARGET} in
   8493              10.[012])
   8494                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8495                ;;
   8496              10.*)
   8497                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8498                ;;
   8499            esac
   8500          fi
   8501          ;;
   8502       esac
   8503       archive_cmds_need_lc=no
   8504       hardcode_direct=no
   8505       hardcode_automatic=yes
   8506       hardcode_shlibpath_var=unsupported
   8507       whole_archive_flag_spec=''
   8508       link_all_deplibs=yes
   8509     if test "$GCC" = yes ; then
   8510     	output_verbose_link_cmd='echo'
   8511         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8512       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8513       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8514       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}'
   8515       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}'
   8516     else
   8517       case $cc_basename in
   8518         xlc*)
   8519          output_verbose_link_cmd='echo'
   8520          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8521          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8522           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8523          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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8524           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}'
   8525           ;;
   8526        *)
   8527          ld_shlibs=no
   8528           ;;
   8529       esac
   8530     fi
   8531       ;;
   8532 
   8533     dgux*)
   8534       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8535       hardcode_libdir_flag_spec='-L$libdir'
   8536       hardcode_shlibpath_var=no
   8537       ;;
   8538 
   8539     freebsd1*)
   8540       ld_shlibs=no
   8541       ;;
   8542 
   8543     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8544     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8545     # does not break anything, and helps significantly (at the cost of a little
   8546     # extra space).
   8547     freebsd2.2*)
   8548       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8549       hardcode_libdir_flag_spec='-R$libdir'
   8550       hardcode_direct=yes
   8551       hardcode_shlibpath_var=no
   8552       ;;
   8553 
   8554     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8555     freebsd2*)
   8556       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8557       hardcode_direct=yes
   8558       hardcode_minus_L=yes
   8559       hardcode_shlibpath_var=no
   8560       ;;
   8561 
   8562     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8563     freebsd* | kfreebsd*-gnu | dragonfly*)
   8564       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8565       hardcode_libdir_flag_spec='-R$libdir'
   8566       hardcode_direct=yes
   8567       hardcode_shlibpath_var=no
   8568       ;;
   8569 
   8570     hpux9*)
   8571       if test "$GCC" = yes; then
   8572 	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'
   8573       else
   8574 	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'
   8575       fi
   8576       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8577       hardcode_libdir_separator=:
   8578       hardcode_direct=yes
   8579 
   8580       # hardcode_minus_L: Not really in the search PATH,
   8581       # but as the default location of the library.
   8582       hardcode_minus_L=yes
   8583       export_dynamic_flag_spec='${wl}-E'
   8584       ;;
   8585 
   8586     hpux10*)
   8587       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8588 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8589       else
   8590 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8591       fi
   8592       if test "$with_gnu_ld" = no; then
   8593 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8594 	hardcode_libdir_separator=:
   8595 
   8596 	hardcode_direct=yes
   8597 	export_dynamic_flag_spec='${wl}-E'
   8598 
   8599 	# hardcode_minus_L: Not really in the search PATH,
   8600 	# but as the default location of the library.
   8601 	hardcode_minus_L=yes
   8602       fi
   8603       ;;
   8604 
   8605     hpux11*)
   8606       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8607 	case $host_cpu in
   8608 	hppa*64*)
   8609 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8610 	  ;;
   8611 	ia64*)
   8612 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8613 	  ;;
   8614 	*)
   8615 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8616 	  ;;
   8617 	esac
   8618       else
   8619 	case $host_cpu in
   8620 	hppa*64*)
   8621 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8622 	  ;;
   8623 	ia64*)
   8624 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8625 	  ;;
   8626 	*)
   8627 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8628 	  ;;
   8629 	esac
   8630       fi
   8631       if test "$with_gnu_ld" = no; then
   8632 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8633 	hardcode_libdir_separator=:
   8634 
   8635 	case $host_cpu in
   8636 	hppa*64*|ia64*)
   8637 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8638 	  hardcode_direct=no
   8639 	  hardcode_shlibpath_var=no
   8640 	  ;;
   8641 	*)
   8642 	  hardcode_direct=yes
   8643 	  export_dynamic_flag_spec='${wl}-E'
   8644 
   8645 	  # hardcode_minus_L: Not really in the search PATH,
   8646 	  # but as the default location of the library.
   8647 	  hardcode_minus_L=yes
   8648 	  ;;
   8649 	esac
   8650       fi
   8651       ;;
   8652 
   8653     irix5* | irix6* | nonstopux*)
   8654       if test "$GCC" = yes; then
   8655 	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'
   8656       else
   8657 	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'
   8658 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8659       fi
   8660       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8661       hardcode_libdir_separator=:
   8662       link_all_deplibs=yes
   8663       ;;
   8664 
   8665     netbsd*)
   8666       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8667 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8668       else
   8669 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8670       fi
   8671       hardcode_libdir_flag_spec='-R$libdir'
   8672       hardcode_direct=yes
   8673       hardcode_shlibpath_var=no
   8674       ;;
   8675 
   8676     newsos6)
   8677       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8678       hardcode_direct=yes
   8679       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8680       hardcode_libdir_separator=:
   8681       hardcode_shlibpath_var=no
   8682       ;;
   8683 
   8684     openbsd*)
   8685       hardcode_direct=yes
   8686       hardcode_shlibpath_var=no
   8687       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8688 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8689 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8690 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8691 	export_dynamic_flag_spec='${wl}-E'
   8692       else
   8693        case $host_os in
   8694 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8695 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8696 	   hardcode_libdir_flag_spec='-R$libdir'
   8697 	   ;;
   8698 	 *)
   8699 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8700 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8701 	   ;;
   8702        esac
   8703       fi
   8704       ;;
   8705 
   8706     os2*)
   8707       hardcode_libdir_flag_spec='-L$libdir'
   8708       hardcode_minus_L=yes
   8709       allow_undefined_flag=unsupported
   8710       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'
   8711       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8712       ;;
   8713 
   8714     osf3*)
   8715       if test "$GCC" = yes; then
   8716 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8717 	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'
   8718       else
   8719 	allow_undefined_flag=' -expect_unresolved \*'
   8720 	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'
   8721       fi
   8722       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8723       hardcode_libdir_separator=:
   8724       ;;
   8725 
   8726     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8727       if test "$GCC" = yes; then
   8728 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8729 	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'
   8730 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8731       else
   8732 	allow_undefined_flag=' -expect_unresolved \*'
   8733 	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'
   8734 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8735 	$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'
   8736 
   8737 	# Both c and cxx compiler support -rpath directly
   8738 	hardcode_libdir_flag_spec='-rpath $libdir'
   8739       fi
   8740       hardcode_libdir_separator=:
   8741       ;;
   8742 
   8743     solaris*)
   8744       no_undefined_flag=' -z text'
   8745       if test "$GCC" = yes; then
   8746 	wlarc='${wl}'
   8747 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8748 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8749 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8750       else
   8751 	wlarc=''
   8752 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8753 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8754   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8755       fi
   8756       hardcode_libdir_flag_spec='-R$libdir'
   8757       hardcode_shlibpath_var=no
   8758       case $host_os in
   8759       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8760       *)
   8761  	# The compiler driver will combine linker options so we
   8762  	# cannot just pass the convience library names through
   8763  	# without $wl, iff we do not link with $LD.
   8764  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8765  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8766  	case $wlarc in
   8767  	'')
   8768  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8769  	*)
   8770  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   8771  	esac ;;
   8772       esac
   8773       link_all_deplibs=yes
   8774       ;;
   8775 
   8776     sunos4*)
   8777       if test "x$host_vendor" = xsequent; then
   8778 	# Use $CC to link under sequent, because it throws in some extra .o
   8779 	# files that make .init and .fini sections work.
   8780 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8781       else
   8782 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8783       fi
   8784       hardcode_libdir_flag_spec='-L$libdir'
   8785       hardcode_direct=yes
   8786       hardcode_minus_L=yes
   8787       hardcode_shlibpath_var=no
   8788       ;;
   8789 
   8790     sysv4)
   8791       case $host_vendor in
   8792 	sni)
   8793 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8794 	  hardcode_direct=yes # is this really true???
   8795 	;;
   8796 	siemens)
   8797 	  ## LD is ld it makes a PLAMLIB
   8798 	  ## CC just makes a GrossModule.
   8799 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8800 	  reload_cmds='$CC -r -o $output$reload_objs'
   8801 	  hardcode_direct=no
   8802         ;;
   8803 	motorola)
   8804 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8805 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8806 	;;
   8807       esac
   8808       runpath_var='LD_RUN_PATH'
   8809       hardcode_shlibpath_var=no
   8810       ;;
   8811 
   8812     sysv4.3*)
   8813       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8814       hardcode_shlibpath_var=no
   8815       export_dynamic_flag_spec='-Bexport'
   8816       ;;
   8817 
   8818     sysv4*MP*)
   8819       if test -d /usr/nec; then
   8820 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8821 	hardcode_shlibpath_var=no
   8822 	runpath_var=LD_RUN_PATH
   8823 	hardcode_runpath_var=yes
   8824 	ld_shlibs=yes
   8825       fi
   8826       ;;
   8827 
   8828     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8829       no_undefined_flag='${wl}-z,text'
   8830       archive_cmds_need_lc=no
   8831       hardcode_shlibpath_var=no
   8832       runpath_var='LD_RUN_PATH'
   8833 
   8834       if test "$GCC" = yes; then
   8835 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8836 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8837       else
   8838 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8839 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8840       fi
   8841       ;;
   8842 
   8843     sysv5* | sco3.2v5* | sco5v6*)
   8844       # Note: We can NOT use -z defs as we might desire, because we do not
   8845       # link with -lc, and that would cause any symbols used from libc to
   8846       # always be unresolved, which means just about no library would
   8847       # ever link correctly.  If we're not using GNU ld we use -z text
   8848       # though, which does catch some bad symbols but isn't as heavy-handed
   8849       # as -z defs.
   8850       no_undefined_flag='${wl}-z,text'
   8851       allow_undefined_flag='${wl}-z,nodefs'
   8852       archive_cmds_need_lc=no
   8853       hardcode_shlibpath_var=no
   8854       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8855       hardcode_libdir_separator=':'
   8856       link_all_deplibs=yes
   8857       export_dynamic_flag_spec='${wl}-Bexport'
   8858       runpath_var='LD_RUN_PATH'
   8859 
   8860       if test "$GCC" = yes; then
   8861 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8862 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8863       else
   8864 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8865 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8866       fi
   8867       ;;
   8868 
   8869     uts4*)
   8870       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8871       hardcode_libdir_flag_spec='-L$libdir'
   8872       hardcode_shlibpath_var=no
   8873       ;;
   8874 
   8875     *)
   8876       ld_shlibs=no
   8877       ;;
   8878     esac
   8879   fi
   8880 
   8881 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8882 echo "${ECHO_T}$ld_shlibs" >&6; }
   8883 test "$ld_shlibs" = no && can_build_shared=no
   8884 
   8885 #
   8886 # Do we need to explicitly link libc?
   8887 #
   8888 case "x$archive_cmds_need_lc" in
   8889 x|xyes)
   8890   # Assume -lc should be added
   8891   archive_cmds_need_lc=yes
   8892 
   8893   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8894     case $archive_cmds in
   8895     *'~'*)
   8896       # FIXME: we may have to deal with multi-command sequences.
   8897       ;;
   8898     '$CC '*)
   8899       # Test whether the compiler implicitly links with -lc since on some
   8900       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8901       # to ld, don't add -lc before -lgcc.
   8902       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8903 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8904       $rm conftest*
   8905       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8906 
   8907       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8908   (eval $ac_compile) 2>&5
   8909   ac_status=$?
   8910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8911   (exit $ac_status); } 2>conftest.err; then
   8912         soname=conftest
   8913         lib=conftest
   8914         libobjs=conftest.$ac_objext
   8915         deplibs=
   8916         wl=$lt_prog_compiler_wl
   8917 	pic_flag=$lt_prog_compiler_pic
   8918         compiler_flags=-v
   8919         linker_flags=-v
   8920         verstring=
   8921         output_objdir=.
   8922         libname=conftest
   8923         lt_save_allow_undefined_flag=$allow_undefined_flag
   8924         allow_undefined_flag=
   8925         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8926   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8927   ac_status=$?
   8928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8929   (exit $ac_status); }
   8930         then
   8931 	  archive_cmds_need_lc=no
   8932         else
   8933 	  archive_cmds_need_lc=yes
   8934         fi
   8935         allow_undefined_flag=$lt_save_allow_undefined_flag
   8936       else
   8937         cat conftest.err 1>&5
   8938       fi
   8939       $rm conftest*
   8940       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8941 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8942       ;;
   8943     esac
   8944   fi
   8945   ;;
   8946 esac
   8947 
   8948 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8949 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8950 library_names_spec=
   8951 libname_spec='lib$name'
   8952 soname_spec=
   8953 shrext_cmds=".so"
   8954 postinstall_cmds=
   8955 postuninstall_cmds=
   8956 finish_cmds=
   8957 finish_eval=
   8958 shlibpath_var=
   8959 shlibpath_overrides_runpath=unknown
   8960 version_type=none
   8961 dynamic_linker="$host_os ld.so"
   8962 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8963 if test "$GCC" = yes; then
   8964   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8965   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8966     # if the path contains ";" then we assume it to be the separator
   8967     # otherwise default to the standard path separator (i.e. ":") - it is
   8968     # assumed that no part of a normal pathname contains ";" but that should
   8969     # okay in the real world where ";" in dirpaths is itself problematic.
   8970     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8971   else
   8972     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8973   fi
   8974 else
   8975   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8976 fi
   8977 need_lib_prefix=unknown
   8978 hardcode_into_libs=no
   8979 
   8980 # when you set need_version to no, make sure it does not cause -set_version
   8981 # flags to be left without arguments
   8982 need_version=unknown
   8983 
   8984 case $host_os in
   8985 aix3*)
   8986   version_type=linux
   8987   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8988   shlibpath_var=LIBPATH
   8989 
   8990   # AIX 3 has no versioning support, so we append a major version to the name.
   8991   soname_spec='${libname}${release}${shared_ext}$major'
   8992   ;;
   8993 
   8994 aix4* | aix5*)
   8995   version_type=linux
   8996   need_lib_prefix=no
   8997   need_version=no
   8998   hardcode_into_libs=yes
   8999   if test "$host_cpu" = ia64; then
   9000     # AIX 5 supports IA64
   9001     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9002     shlibpath_var=LD_LIBRARY_PATH
   9003   else
   9004     # With GCC up to 2.95.x, collect2 would create an import file
   9005     # for dependence libraries.  The import file would start with
   9006     # the line `#! .'.  This would cause the generated library to
   9007     # depend on `.', always an invalid library.  This was fixed in
   9008     # development snapshots of GCC prior to 3.0.
   9009     case $host_os in
   9010       aix4 | aix4.[01] | aix4.[01].*)
   9011       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9012 	   echo ' yes '
   9013 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9014 	:
   9015       else
   9016 	can_build_shared=no
   9017       fi
   9018       ;;
   9019     esac
   9020     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9021     # soname into executable. Probably we can add versioning support to
   9022     # collect2, so additional links can be useful in future.
   9023     if test "$aix_use_runtimelinking" = yes; then
   9024       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9025       # instead of lib<name>.a to let people know that these are not
   9026       # typical AIX shared libraries.
   9027       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9028     else
   9029       # We preserve .a as extension for shared libraries through AIX4.2
   9030       # and later when we are not doing run time linking.
   9031       library_names_spec='${libname}${release}.a $libname.a'
   9032       soname_spec='${libname}${release}${shared_ext}$major'
   9033     fi
   9034     shlibpath_var=LIBPATH
   9035   fi
   9036   ;;
   9037 
   9038 amigaos*)
   9039   library_names_spec='$libname.ixlibrary $libname.a'
   9040   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9041   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'
   9042   ;;
   9043 
   9044 beos*)
   9045   library_names_spec='${libname}${shared_ext}'
   9046   dynamic_linker="$host_os ld.so"
   9047   shlibpath_var=LIBRARY_PATH
   9048   ;;
   9049 
   9050 bsdi[45]*)
   9051   version_type=linux
   9052   need_version=no
   9053   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9054   soname_spec='${libname}${release}${shared_ext}$major'
   9055   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9056   shlibpath_var=LD_LIBRARY_PATH
   9057   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9058   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9059   # the default ld.so.conf also contains /usr/contrib/lib and
   9060   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9061   # libtool to hard-code these into programs
   9062   ;;
   9063 
   9064 cygwin* | mingw* | pw32*)
   9065   version_type=windows
   9066   shrext_cmds=".dll"
   9067   need_version=no
   9068   need_lib_prefix=no
   9069 
   9070   case $GCC,$host_os in
   9071   yes,cygwin* | yes,mingw* | yes,pw32*)
   9072     library_names_spec='$libname.dll.a'
   9073     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9074     postinstall_cmds='base_file=`basename \${file}`~
   9075       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9076       dldir=$destdir/`dirname \$dlpath`~
   9077       test -d \$dldir || mkdir -p \$dldir~
   9078       $install_prog $dir/$dlname \$dldir/$dlname~
   9079       chmod a+x \$dldir/$dlname'
   9080     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9081       dlpath=$dir/\$dldll~
   9082        $rm \$dlpath'
   9083     shlibpath_overrides_runpath=yes
   9084 
   9085     case $host_os in
   9086     cygwin*)
   9087       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9088       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9089       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9090       ;;
   9091     mingw*)
   9092       # MinGW DLLs use traditional 'lib' prefix
   9093       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9094       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9095       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9096         # It is most probably a Windows format PATH printed by
   9097         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9098         # path with ; separators, and with drive letters. We can handle the
   9099         # drive letters (cygwin fileutils understands them), so leave them,
   9100         # especially as we might pass files found there to a mingw objdump,
   9101         # which wouldn't understand a cygwinified path. Ahh.
   9102         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9103       else
   9104         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9105       fi
   9106       ;;
   9107     pw32*)
   9108       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9109       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9110       ;;
   9111     esac
   9112     ;;
   9113 
   9114   *)
   9115     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9116     ;;
   9117   esac
   9118   dynamic_linker='Win32 ld.exe'
   9119   # FIXME: first we should search . and the directory the executable is in
   9120   shlibpath_var=PATH
   9121   ;;
   9122 
   9123 darwin* | rhapsody*)
   9124   dynamic_linker="$host_os dyld"
   9125   version_type=darwin
   9126   need_lib_prefix=no
   9127   need_version=no
   9128   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9129   soname_spec='${libname}${release}${major}$shared_ext'
   9130   shlibpath_overrides_runpath=yes
   9131   shlibpath_var=DYLD_LIBRARY_PATH
   9132   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9133   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   9134   if test "$GCC" = yes; then
   9135     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   9136   else
   9137     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   9138   fi
   9139   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9140   ;;
   9141 
   9142 dgux*)
   9143   version_type=linux
   9144   need_lib_prefix=no
   9145   need_version=no
   9146   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9147   soname_spec='${libname}${release}${shared_ext}$major'
   9148   shlibpath_var=LD_LIBRARY_PATH
   9149   ;;
   9150 
   9151 freebsd1*)
   9152   dynamic_linker=no
   9153   ;;
   9154 
   9155 kfreebsd*-gnu)
   9156   version_type=linux
   9157   need_lib_prefix=no
   9158   need_version=no
   9159   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9160   soname_spec='${libname}${release}${shared_ext}$major'
   9161   shlibpath_var=LD_LIBRARY_PATH
   9162   shlibpath_overrides_runpath=no
   9163   hardcode_into_libs=yes
   9164   dynamic_linker='GNU ld.so'
   9165   ;;
   9166 
   9167 freebsd* | dragonfly*)
   9168   # DragonFly does not have aout.  When/if they implement a new
   9169   # versioning mechanism, adjust this.
   9170   if test -x /usr/bin/objformat; then
   9171     objformat=`/usr/bin/objformat`
   9172   else
   9173     case $host_os in
   9174     freebsd[123]*) objformat=aout ;;
   9175     *) objformat=elf ;;
   9176     esac
   9177   fi
   9178   version_type=freebsd-$objformat
   9179   case $version_type in
   9180     freebsd-elf*)
   9181       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9182       need_version=no
   9183       need_lib_prefix=no
   9184       ;;
   9185     freebsd-*)
   9186       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9187       need_version=yes
   9188       ;;
   9189   esac
   9190   shlibpath_var=LD_LIBRARY_PATH
   9191   case $host_os in
   9192   freebsd2*)
   9193     shlibpath_overrides_runpath=yes
   9194     ;;
   9195   freebsd3.[01]* | freebsdelf3.[01]*)
   9196     shlibpath_overrides_runpath=yes
   9197     hardcode_into_libs=yes
   9198     ;;
   9199   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9200   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9201     shlibpath_overrides_runpath=no
   9202     hardcode_into_libs=yes
   9203     ;;
   9204   freebsd*) # from 4.6 on
   9205     shlibpath_overrides_runpath=yes
   9206     hardcode_into_libs=yes
   9207     ;;
   9208   esac
   9209   ;;
   9210 
   9211 gnu*)
   9212   version_type=linux
   9213   need_lib_prefix=no
   9214   need_version=no
   9215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9216   soname_spec='${libname}${release}${shared_ext}$major'
   9217   shlibpath_var=LD_LIBRARY_PATH
   9218   hardcode_into_libs=yes
   9219   ;;
   9220 
   9221 hpux9* | hpux10* | hpux11*)
   9222   # Give a soname corresponding to the major version so that dld.sl refuses to
   9223   # link against other versions.
   9224   version_type=sunos
   9225   need_lib_prefix=no
   9226   need_version=no
   9227   case $host_cpu in
   9228   ia64*)
   9229     shrext_cmds='.so'
   9230     hardcode_into_libs=yes
   9231     dynamic_linker="$host_os dld.so"
   9232     shlibpath_var=LD_LIBRARY_PATH
   9233     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9234     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9235     soname_spec='${libname}${release}${shared_ext}$major'
   9236     if test "X$HPUX_IA64_MODE" = X32; then
   9237       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9238     else
   9239       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9240     fi
   9241     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9242     ;;
   9243    hppa*64*)
   9244      shrext_cmds='.sl'
   9245      hardcode_into_libs=yes
   9246      dynamic_linker="$host_os dld.sl"
   9247      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9248      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9249      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9250      soname_spec='${libname}${release}${shared_ext}$major'
   9251      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9252      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9253      ;;
   9254    *)
   9255     shrext_cmds='.sl'
   9256     dynamic_linker="$host_os dld.sl"
   9257     shlibpath_var=SHLIB_PATH
   9258     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9259     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9260     soname_spec='${libname}${release}${shared_ext}$major'
   9261     ;;
   9262   esac
   9263   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9264   postinstall_cmds='chmod 555 $lib'
   9265   ;;
   9266 
   9267 interix3*)
   9268   version_type=linux
   9269   need_lib_prefix=no
   9270   need_version=no
   9271   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9272   soname_spec='${libname}${release}${shared_ext}$major'
   9273   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9274   shlibpath_var=LD_LIBRARY_PATH
   9275   shlibpath_overrides_runpath=no
   9276   hardcode_into_libs=yes
   9277   ;;
   9278 
   9279 irix5* | irix6* | nonstopux*)
   9280   case $host_os in
   9281     nonstopux*) version_type=nonstopux ;;
   9282     *)
   9283 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9284 		version_type=linux
   9285 	else
   9286 		version_type=irix
   9287 	fi ;;
   9288   esac
   9289   need_lib_prefix=no
   9290   need_version=no
   9291   soname_spec='${libname}${release}${shared_ext}$major'
   9292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9293   case $host_os in
   9294   irix5* | nonstopux*)
   9295     libsuff= shlibsuff=
   9296     ;;
   9297   *)
   9298     case $LD in # libtool.m4 will add one of these switches to LD
   9299     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9300       libsuff= shlibsuff= libmagic=32-bit;;
   9301     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9302       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9303     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9304       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9305     *) libsuff= shlibsuff= libmagic=never-match;;
   9306     esac
   9307     ;;
   9308   esac
   9309   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9310   shlibpath_overrides_runpath=no
   9311   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9312   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9313   hardcode_into_libs=yes
   9314   ;;
   9315 
   9316 # No shared lib support for Linux oldld, aout, or coff.
   9317 linux*oldld* | linux*aout* | linux*coff*)
   9318   dynamic_linker=no
   9319   ;;
   9320 
   9321 # This must be Linux ELF.
   9322 linux*)
   9323   version_type=linux
   9324   need_lib_prefix=no
   9325   need_version=no
   9326   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9327   soname_spec='${libname}${release}${shared_ext}$major'
   9328   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9329   shlibpath_var=LD_LIBRARY_PATH
   9330   shlibpath_overrides_runpath=no
   9331   # This implies no fast_install, which is unacceptable.
   9332   # Some rework will be needed to allow for fast_install
   9333   # before this can be enabled.
   9334   hardcode_into_libs=yes
   9335 
   9336   # Append ld.so.conf contents to the search path
   9337   if test -f /etc/ld.so.conf; then
   9338     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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9339     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9340   fi
   9341 
   9342   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9343   # powerpc, because MkLinux only supported shared libraries with the
   9344   # GNU dynamic linker.  Since this was broken with cross compilers,
   9345   # most powerpc-linux boxes support dynamic linking these days and
   9346   # people can always --disable-shared, the test was removed, and we
   9347   # assume the GNU/Linux dynamic linker is in use.
   9348   dynamic_linker='GNU/Linux ld.so'
   9349   ;;
   9350 
   9351 knetbsd*-gnu)
   9352   version_type=linux
   9353   need_lib_prefix=no
   9354   need_version=no
   9355   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9356   soname_spec='${libname}${release}${shared_ext}$major'
   9357   shlibpath_var=LD_LIBRARY_PATH
   9358   shlibpath_overrides_runpath=no
   9359   hardcode_into_libs=yes
   9360   dynamic_linker='GNU ld.so'
   9361   ;;
   9362 
   9363 netbsd*)
   9364   version_type=sunos
   9365   need_lib_prefix=no
   9366   need_version=no
   9367   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9368     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9369     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9370     dynamic_linker='NetBSD (a.out) ld.so'
   9371   else
   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     dynamic_linker='NetBSD ld.elf_so'
   9375   fi
   9376   shlibpath_var=LD_LIBRARY_PATH
   9377   shlibpath_overrides_runpath=yes
   9378   hardcode_into_libs=yes
   9379   ;;
   9380 
   9381 newsos6)
   9382   version_type=linux
   9383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9384   shlibpath_var=LD_LIBRARY_PATH
   9385   shlibpath_overrides_runpath=yes
   9386   ;;
   9387 
   9388 nto-qnx*)
   9389   version_type=linux
   9390   need_lib_prefix=no
   9391   need_version=no
   9392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9393   soname_spec='${libname}${release}${shared_ext}$major'
   9394   shlibpath_var=LD_LIBRARY_PATH
   9395   shlibpath_overrides_runpath=yes
   9396   ;;
   9397 
   9398 openbsd*)
   9399   version_type=sunos
   9400   sys_lib_dlsearch_path_spec="/usr/lib"
   9401   need_lib_prefix=no
   9402   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9403   case $host_os in
   9404     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9405     *)                         need_version=no  ;;
   9406   esac
   9407   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9408   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9409   shlibpath_var=LD_LIBRARY_PATH
   9410   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9411     case $host_os in
   9412       openbsd2.[89] | openbsd2.[89].*)
   9413 	shlibpath_overrides_runpath=no
   9414 	;;
   9415       *)
   9416 	shlibpath_overrides_runpath=yes
   9417 	;;
   9418       esac
   9419   else
   9420     shlibpath_overrides_runpath=yes
   9421   fi
   9422   ;;
   9423 
   9424 os2*)
   9425   libname_spec='$name'
   9426   shrext_cmds=".dll"
   9427   need_lib_prefix=no
   9428   library_names_spec='$libname${shared_ext} $libname.a'
   9429   dynamic_linker='OS/2 ld.exe'
   9430   shlibpath_var=LIBPATH
   9431   ;;
   9432 
   9433 osf3* | osf4* | osf5*)
   9434   version_type=osf
   9435   need_lib_prefix=no
   9436   need_version=no
   9437   soname_spec='${libname}${release}${shared_ext}$major'
   9438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9439   shlibpath_var=LD_LIBRARY_PATH
   9440   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9441   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9442   ;;
   9443 
   9444 solaris*)
   9445   version_type=linux
   9446   need_lib_prefix=no
   9447   need_version=no
   9448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9449   soname_spec='${libname}${release}${shared_ext}$major'
   9450   shlibpath_var=LD_LIBRARY_PATH
   9451   shlibpath_overrides_runpath=yes
   9452   hardcode_into_libs=yes
   9453   # ldd complains unless libraries are executable
   9454   postinstall_cmds='chmod +x $lib'
   9455   ;;
   9456 
   9457 sunos4*)
   9458   version_type=sunos
   9459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9460   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9461   shlibpath_var=LD_LIBRARY_PATH
   9462   shlibpath_overrides_runpath=yes
   9463   if test "$with_gnu_ld" = yes; then
   9464     need_lib_prefix=no
   9465   fi
   9466   need_version=yes
   9467   ;;
   9468 
   9469 sysv4 | sysv4.3*)
   9470   version_type=linux
   9471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9472   soname_spec='${libname}${release}${shared_ext}$major'
   9473   shlibpath_var=LD_LIBRARY_PATH
   9474   case $host_vendor in
   9475     sni)
   9476       shlibpath_overrides_runpath=no
   9477       need_lib_prefix=no
   9478       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9479       runpath_var=LD_RUN_PATH
   9480       ;;
   9481     siemens)
   9482       need_lib_prefix=no
   9483       ;;
   9484     motorola)
   9485       need_lib_prefix=no
   9486       need_version=no
   9487       shlibpath_overrides_runpath=no
   9488       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9489       ;;
   9490   esac
   9491   ;;
   9492 
   9493 sysv4*MP*)
   9494   if test -d /usr/nec ;then
   9495     version_type=linux
   9496     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9497     soname_spec='$libname${shared_ext}.$major'
   9498     shlibpath_var=LD_LIBRARY_PATH
   9499   fi
   9500   ;;
   9501 
   9502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9503   version_type=freebsd-elf
   9504   need_lib_prefix=no
   9505   need_version=no
   9506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9507   soname_spec='${libname}${release}${shared_ext}$major'
   9508   shlibpath_var=LD_LIBRARY_PATH
   9509   hardcode_into_libs=yes
   9510   if test "$with_gnu_ld" = yes; then
   9511     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9512     shlibpath_overrides_runpath=no
   9513   else
   9514     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9515     shlibpath_overrides_runpath=yes
   9516     case $host_os in
   9517       sco3.2v5*)
   9518         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9519 	;;
   9520     esac
   9521   fi
   9522   sys_lib_dlsearch_path_spec='/usr/lib'
   9523   ;;
   9524 
   9525 uts4*)
   9526   version_type=linux
   9527   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9528   soname_spec='${libname}${release}${shared_ext}$major'
   9529   shlibpath_var=LD_LIBRARY_PATH
   9530   ;;
   9531 
   9532 *)
   9533   dynamic_linker=no
   9534   ;;
   9535 esac
   9536 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9537 echo "${ECHO_T}$dynamic_linker" >&6; }
   9538 test "$dynamic_linker" = no && can_build_shared=no
   9539 
   9540 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9541 if test "$GCC" = yes; then
   9542   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9543 fi
   9544 
   9545 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9546 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9547 hardcode_action=
   9548 if test -n "$hardcode_libdir_flag_spec" || \
   9549    test -n "$runpath_var" || \
   9550    test "X$hardcode_automatic" = "Xyes" ; then
   9551 
   9552   # We can hardcode non-existant directories.
   9553   if test "$hardcode_direct" != no &&
   9554      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9555      # have to relink, otherwise we might link with an installed library
   9556      # when we should be linking with a yet-to-be-installed one
   9557      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9558      test "$hardcode_minus_L" != no; then
   9559     # Linking always hardcodes the temporary library directory.
   9560     hardcode_action=relink
   9561   else
   9562     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9563     hardcode_action=immediate
   9564   fi
   9565 else
   9566   # We cannot hardcode anything, or else we can only hardcode existing
   9567   # directories.
   9568   hardcode_action=unsupported
   9569 fi
   9570 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9571 echo "${ECHO_T}$hardcode_action" >&6; }
   9572 
   9573 if test "$hardcode_action" = relink; then
   9574   # Fast installation is not supported
   9575   enable_fast_install=no
   9576 elif test "$shlibpath_overrides_runpath" = yes ||
   9577      test "$enable_shared" = no; then
   9578   # Fast installation is not necessary
   9579   enable_fast_install=needless
   9580 fi
   9581 
   9582 striplib=
   9583 old_striplib=
   9584 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9585 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9586 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9587   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9588   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9589   { echo "$as_me:$LINENO: result: yes" >&5
   9590 echo "${ECHO_T}yes" >&6; }
   9591 else
   9592 # FIXME - insert some real tests, host_os isn't really good enough
   9593   case $host_os in
   9594    darwin*)
   9595        if test -n "$STRIP" ; then
   9596          striplib="$STRIP -x"
   9597          { echo "$as_me:$LINENO: result: yes" >&5
   9598 echo "${ECHO_T}yes" >&6; }
   9599        else
   9600   { echo "$as_me:$LINENO: result: no" >&5
   9601 echo "${ECHO_T}no" >&6; }
   9602 fi
   9603        ;;
   9604    *)
   9605   { echo "$as_me:$LINENO: result: no" >&5
   9606 echo "${ECHO_T}no" >&6; }
   9607     ;;
   9608   esac
   9609 fi
   9610 
   9611 if test "x$enable_dlopen" != xyes; then
   9612   enable_dlopen=unknown
   9613   enable_dlopen_self=unknown
   9614   enable_dlopen_self_static=unknown
   9615 else
   9616   lt_cv_dlopen=no
   9617   lt_cv_dlopen_libs=
   9618 
   9619   case $host_os in
   9620   beos*)
   9621     lt_cv_dlopen="load_add_on"
   9622     lt_cv_dlopen_libs=
   9623     lt_cv_dlopen_self=yes
   9624     ;;
   9625 
   9626   mingw* | pw32*)
   9627     lt_cv_dlopen="LoadLibrary"
   9628     lt_cv_dlopen_libs=
   9629    ;;
   9630 
   9631   cygwin*)
   9632     lt_cv_dlopen="dlopen"
   9633     lt_cv_dlopen_libs=
   9634    ;;
   9635 
   9636   darwin*)
   9637   # if libdl is installed we need to link against it
   9638     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9639 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9640 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9641   echo $ECHO_N "(cached) $ECHO_C" >&6
   9642 else
   9643   ac_check_lib_save_LIBS=$LIBS
   9644 LIBS="-ldl  $LIBS"
   9645 cat >conftest.$ac_ext <<_ACEOF
   9646 /* confdefs.h.  */
   9647 _ACEOF
   9648 cat confdefs.h >>conftest.$ac_ext
   9649 cat >>conftest.$ac_ext <<_ACEOF
   9650 /* end confdefs.h.  */
   9651 
   9652 /* Override any GCC internal prototype to avoid an error.
   9653    Use char because int might match the return type of a GCC
   9654    builtin and then its argument prototype would still apply.  */
   9655 #ifdef __cplusplus
   9656 extern "C"
   9657 #endif
   9658 char dlopen ();
   9659 int
   9660 main ()
   9661 {
   9662 return dlopen ();
   9663   ;
   9664   return 0;
   9665 }
   9666 _ACEOF
   9667 rm -f conftest.$ac_objext conftest$ac_exeext
   9668 if { (ac_try="$ac_link"
   9669 case "(($ac_try" in
   9670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9671   *) ac_try_echo=$ac_try;;
   9672 esac
   9673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9674   (eval "$ac_link") 2>conftest.er1
   9675   ac_status=$?
   9676   grep -v '^ *+' conftest.er1 >conftest.err
   9677   rm -f conftest.er1
   9678   cat conftest.err >&5
   9679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9680   (exit $ac_status); } && {
   9681 	 test -z "$ac_c_werror_flag" ||
   9682 	 test ! -s conftest.err
   9683        } && test -s conftest$ac_exeext &&
   9684        $as_test_x conftest$ac_exeext; then
   9685   ac_cv_lib_dl_dlopen=yes
   9686 else
   9687   echo "$as_me: failed program was:" >&5
   9688 sed 's/^/| /' conftest.$ac_ext >&5
   9689 
   9690 	ac_cv_lib_dl_dlopen=no
   9691 fi
   9692 
   9693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9694       conftest$ac_exeext conftest.$ac_ext
   9695 LIBS=$ac_check_lib_save_LIBS
   9696 fi
   9697 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9698 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9699 if test $ac_cv_lib_dl_dlopen = yes; then
   9700   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9701 else
   9702 
   9703     lt_cv_dlopen="dyld"
   9704     lt_cv_dlopen_libs=
   9705     lt_cv_dlopen_self=yes
   9706 
   9707 fi
   9708 
   9709    ;;
   9710 
   9711   *)
   9712     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9713 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9714 if test "${ac_cv_func_shl_load+set}" = set; then
   9715   echo $ECHO_N "(cached) $ECHO_C" >&6
   9716 else
   9717   cat >conftest.$ac_ext <<_ACEOF
   9718 /* confdefs.h.  */
   9719 _ACEOF
   9720 cat confdefs.h >>conftest.$ac_ext
   9721 cat >>conftest.$ac_ext <<_ACEOF
   9722 /* end confdefs.h.  */
   9723 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9724    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9725 #define shl_load innocuous_shl_load
   9726 
   9727 /* System header to define __stub macros and hopefully few prototypes,
   9728     which can conflict with char shl_load (); below.
   9729     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9730     <limits.h> exists even on freestanding compilers.  */
   9731 
   9732 #ifdef __STDC__
   9733 # include <limits.h>
   9734 #else
   9735 # include <assert.h>
   9736 #endif
   9737 
   9738 #undef shl_load
   9739 
   9740 /* Override any GCC internal prototype to avoid an error.
   9741    Use char because int might match the return type of a GCC
   9742    builtin and then its argument prototype would still apply.  */
   9743 #ifdef __cplusplus
   9744 extern "C"
   9745 #endif
   9746 char shl_load ();
   9747 /* The GNU C library defines this for functions which it implements
   9748     to always fail with ENOSYS.  Some functions are actually named
   9749     something starting with __ and the normal name is an alias.  */
   9750 #if defined __stub_shl_load || defined __stub___shl_load
   9751 choke me
   9752 #endif
   9753 
   9754 int
   9755 main ()
   9756 {
   9757 return shl_load ();
   9758   ;
   9759   return 0;
   9760 }
   9761 _ACEOF
   9762 rm -f conftest.$ac_objext conftest$ac_exeext
   9763 if { (ac_try="$ac_link"
   9764 case "(($ac_try" in
   9765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9766   *) ac_try_echo=$ac_try;;
   9767 esac
   9768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9769   (eval "$ac_link") 2>conftest.er1
   9770   ac_status=$?
   9771   grep -v '^ *+' conftest.er1 >conftest.err
   9772   rm -f conftest.er1
   9773   cat conftest.err >&5
   9774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9775   (exit $ac_status); } && {
   9776 	 test -z "$ac_c_werror_flag" ||
   9777 	 test ! -s conftest.err
   9778        } && test -s conftest$ac_exeext &&
   9779        $as_test_x conftest$ac_exeext; then
   9780   ac_cv_func_shl_load=yes
   9781 else
   9782   echo "$as_me: failed program was:" >&5
   9783 sed 's/^/| /' conftest.$ac_ext >&5
   9784 
   9785 	ac_cv_func_shl_load=no
   9786 fi
   9787 
   9788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9789       conftest$ac_exeext conftest.$ac_ext
   9790 fi
   9791 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9792 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9793 if test $ac_cv_func_shl_load = yes; then
   9794   lt_cv_dlopen="shl_load"
   9795 else
   9796   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9797 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9798 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9799   echo $ECHO_N "(cached) $ECHO_C" >&6
   9800 else
   9801   ac_check_lib_save_LIBS=$LIBS
   9802 LIBS="-ldld  $LIBS"
   9803 cat >conftest.$ac_ext <<_ACEOF
   9804 /* confdefs.h.  */
   9805 _ACEOF
   9806 cat confdefs.h >>conftest.$ac_ext
   9807 cat >>conftest.$ac_ext <<_ACEOF
   9808 /* end confdefs.h.  */
   9809 
   9810 /* Override any GCC internal prototype to avoid an error.
   9811    Use char because int might match the return type of a GCC
   9812    builtin and then its argument prototype would still apply.  */
   9813 #ifdef __cplusplus
   9814 extern "C"
   9815 #endif
   9816 char shl_load ();
   9817 int
   9818 main ()
   9819 {
   9820 return shl_load ();
   9821   ;
   9822   return 0;
   9823 }
   9824 _ACEOF
   9825 rm -f conftest.$ac_objext conftest$ac_exeext
   9826 if { (ac_try="$ac_link"
   9827 case "(($ac_try" in
   9828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9829   *) ac_try_echo=$ac_try;;
   9830 esac
   9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9832   (eval "$ac_link") 2>conftest.er1
   9833   ac_status=$?
   9834   grep -v '^ *+' conftest.er1 >conftest.err
   9835   rm -f conftest.er1
   9836   cat conftest.err >&5
   9837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9838   (exit $ac_status); } && {
   9839 	 test -z "$ac_c_werror_flag" ||
   9840 	 test ! -s conftest.err
   9841        } && test -s conftest$ac_exeext &&
   9842        $as_test_x conftest$ac_exeext; then
   9843   ac_cv_lib_dld_shl_load=yes
   9844 else
   9845   echo "$as_me: failed program was:" >&5
   9846 sed 's/^/| /' conftest.$ac_ext >&5
   9847 
   9848 	ac_cv_lib_dld_shl_load=no
   9849 fi
   9850 
   9851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9852       conftest$ac_exeext conftest.$ac_ext
   9853 LIBS=$ac_check_lib_save_LIBS
   9854 fi
   9855 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9856 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9857 if test $ac_cv_lib_dld_shl_load = yes; then
   9858   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9859 else
   9860   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9861 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9862 if test "${ac_cv_func_dlopen+set}" = set; then
   9863   echo $ECHO_N "(cached) $ECHO_C" >&6
   9864 else
   9865   cat >conftest.$ac_ext <<_ACEOF
   9866 /* confdefs.h.  */
   9867 _ACEOF
   9868 cat confdefs.h >>conftest.$ac_ext
   9869 cat >>conftest.$ac_ext <<_ACEOF
   9870 /* end confdefs.h.  */
   9871 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9873 #define dlopen innocuous_dlopen
   9874 
   9875 /* System header to define __stub macros and hopefully few prototypes,
   9876     which can conflict with char dlopen (); below.
   9877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9878     <limits.h> exists even on freestanding compilers.  */
   9879 
   9880 #ifdef __STDC__
   9881 # include <limits.h>
   9882 #else
   9883 # include <assert.h>
   9884 #endif
   9885 
   9886 #undef dlopen
   9887 
   9888 /* Override any GCC internal prototype to avoid an error.
   9889    Use char because int might match the return type of a GCC
   9890    builtin and then its argument prototype would still apply.  */
   9891 #ifdef __cplusplus
   9892 extern "C"
   9893 #endif
   9894 char dlopen ();
   9895 /* The GNU C library defines this for functions which it implements
   9896     to always fail with ENOSYS.  Some functions are actually named
   9897     something starting with __ and the normal name is an alias.  */
   9898 #if defined __stub_dlopen || defined __stub___dlopen
   9899 choke me
   9900 #endif
   9901 
   9902 int
   9903 main ()
   9904 {
   9905 return dlopen ();
   9906   ;
   9907   return 0;
   9908 }
   9909 _ACEOF
   9910 rm -f conftest.$ac_objext conftest$ac_exeext
   9911 if { (ac_try="$ac_link"
   9912 case "(($ac_try" in
   9913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9914   *) ac_try_echo=$ac_try;;
   9915 esac
   9916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9917   (eval "$ac_link") 2>conftest.er1
   9918   ac_status=$?
   9919   grep -v '^ *+' conftest.er1 >conftest.err
   9920   rm -f conftest.er1
   9921   cat conftest.err >&5
   9922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9923   (exit $ac_status); } && {
   9924 	 test -z "$ac_c_werror_flag" ||
   9925 	 test ! -s conftest.err
   9926        } && test -s conftest$ac_exeext &&
   9927        $as_test_x conftest$ac_exeext; then
   9928   ac_cv_func_dlopen=yes
   9929 else
   9930   echo "$as_me: failed program was:" >&5
   9931 sed 's/^/| /' conftest.$ac_ext >&5
   9932 
   9933 	ac_cv_func_dlopen=no
   9934 fi
   9935 
   9936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9937       conftest$ac_exeext conftest.$ac_ext
   9938 fi
   9939 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9940 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9941 if test $ac_cv_func_dlopen = yes; then
   9942   lt_cv_dlopen="dlopen"
   9943 else
   9944   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9945 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9946 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9947   echo $ECHO_N "(cached) $ECHO_C" >&6
   9948 else
   9949   ac_check_lib_save_LIBS=$LIBS
   9950 LIBS="-ldl  $LIBS"
   9951 cat >conftest.$ac_ext <<_ACEOF
   9952 /* confdefs.h.  */
   9953 _ACEOF
   9954 cat confdefs.h >>conftest.$ac_ext
   9955 cat >>conftest.$ac_ext <<_ACEOF
   9956 /* end confdefs.h.  */
   9957 
   9958 /* Override any GCC internal prototype to avoid an error.
   9959    Use char because int might match the return type of a GCC
   9960    builtin and then its argument prototype would still apply.  */
   9961 #ifdef __cplusplus
   9962 extern "C"
   9963 #endif
   9964 char dlopen ();
   9965 int
   9966 main ()
   9967 {
   9968 return dlopen ();
   9969   ;
   9970   return 0;
   9971 }
   9972 _ACEOF
   9973 rm -f conftest.$ac_objext conftest$ac_exeext
   9974 if { (ac_try="$ac_link"
   9975 case "(($ac_try" in
   9976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9977   *) ac_try_echo=$ac_try;;
   9978 esac
   9979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9980   (eval "$ac_link") 2>conftest.er1
   9981   ac_status=$?
   9982   grep -v '^ *+' conftest.er1 >conftest.err
   9983   rm -f conftest.er1
   9984   cat conftest.err >&5
   9985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9986   (exit $ac_status); } && {
   9987 	 test -z "$ac_c_werror_flag" ||
   9988 	 test ! -s conftest.err
   9989        } && test -s conftest$ac_exeext &&
   9990        $as_test_x conftest$ac_exeext; then
   9991   ac_cv_lib_dl_dlopen=yes
   9992 else
   9993   echo "$as_me: failed program was:" >&5
   9994 sed 's/^/| /' conftest.$ac_ext >&5
   9995 
   9996 	ac_cv_lib_dl_dlopen=no
   9997 fi
   9998 
   9999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10000       conftest$ac_exeext conftest.$ac_ext
   10001 LIBS=$ac_check_lib_save_LIBS
   10002 fi
   10003 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10004 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   10005 if test $ac_cv_lib_dl_dlopen = yes; then
   10006   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10007 else
   10008   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10009 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   10010 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10011   echo $ECHO_N "(cached) $ECHO_C" >&6
   10012 else
   10013   ac_check_lib_save_LIBS=$LIBS
   10014 LIBS="-lsvld  $LIBS"
   10015 cat >conftest.$ac_ext <<_ACEOF
   10016 /* confdefs.h.  */
   10017 _ACEOF
   10018 cat confdefs.h >>conftest.$ac_ext
   10019 cat >>conftest.$ac_ext <<_ACEOF
   10020 /* end confdefs.h.  */
   10021 
   10022 /* Override any GCC internal prototype to avoid an error.
   10023    Use char because int might match the return type of a GCC
   10024    builtin and then its argument prototype would still apply.  */
   10025 #ifdef __cplusplus
   10026 extern "C"
   10027 #endif
   10028 char dlopen ();
   10029 int
   10030 main ()
   10031 {
   10032 return dlopen ();
   10033   ;
   10034   return 0;
   10035 }
   10036 _ACEOF
   10037 rm -f conftest.$ac_objext conftest$ac_exeext
   10038 if { (ac_try="$ac_link"
   10039 case "(($ac_try" in
   10040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10041   *) ac_try_echo=$ac_try;;
   10042 esac
   10043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10044   (eval "$ac_link") 2>conftest.er1
   10045   ac_status=$?
   10046   grep -v '^ *+' conftest.er1 >conftest.err
   10047   rm -f conftest.er1
   10048   cat conftest.err >&5
   10049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10050   (exit $ac_status); } && {
   10051 	 test -z "$ac_c_werror_flag" ||
   10052 	 test ! -s conftest.err
   10053        } && test -s conftest$ac_exeext &&
   10054        $as_test_x conftest$ac_exeext; then
   10055   ac_cv_lib_svld_dlopen=yes
   10056 else
   10057   echo "$as_me: failed program was:" >&5
   10058 sed 's/^/| /' conftest.$ac_ext >&5
   10059 
   10060 	ac_cv_lib_svld_dlopen=no
   10061 fi
   10062 
   10063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10064       conftest$ac_exeext conftest.$ac_ext
   10065 LIBS=$ac_check_lib_save_LIBS
   10066 fi
   10067 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10068 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   10069 if test $ac_cv_lib_svld_dlopen = yes; then
   10070   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10071 else
   10072   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10073 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   10074 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10075   echo $ECHO_N "(cached) $ECHO_C" >&6
   10076 else
   10077   ac_check_lib_save_LIBS=$LIBS
   10078 LIBS="-ldld  $LIBS"
   10079 cat >conftest.$ac_ext <<_ACEOF
   10080 /* confdefs.h.  */
   10081 _ACEOF
   10082 cat confdefs.h >>conftest.$ac_ext
   10083 cat >>conftest.$ac_ext <<_ACEOF
   10084 /* end confdefs.h.  */
   10085 
   10086 /* Override any GCC internal prototype to avoid an error.
   10087    Use char because int might match the return type of a GCC
   10088    builtin and then its argument prototype would still apply.  */
   10089 #ifdef __cplusplus
   10090 extern "C"
   10091 #endif
   10092 char dld_link ();
   10093 int
   10094 main ()
   10095 {
   10096 return dld_link ();
   10097   ;
   10098   return 0;
   10099 }
   10100 _ACEOF
   10101 rm -f conftest.$ac_objext conftest$ac_exeext
   10102 if { (ac_try="$ac_link"
   10103 case "(($ac_try" in
   10104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10105   *) ac_try_echo=$ac_try;;
   10106 esac
   10107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10108   (eval "$ac_link") 2>conftest.er1
   10109   ac_status=$?
   10110   grep -v '^ *+' conftest.er1 >conftest.err
   10111   rm -f conftest.er1
   10112   cat conftest.err >&5
   10113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10114   (exit $ac_status); } && {
   10115 	 test -z "$ac_c_werror_flag" ||
   10116 	 test ! -s conftest.err
   10117        } && test -s conftest$ac_exeext &&
   10118        $as_test_x conftest$ac_exeext; then
   10119   ac_cv_lib_dld_dld_link=yes
   10120 else
   10121   echo "$as_me: failed program was:" >&5
   10122 sed 's/^/| /' conftest.$ac_ext >&5
   10123 
   10124 	ac_cv_lib_dld_dld_link=no
   10125 fi
   10126 
   10127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10128       conftest$ac_exeext conftest.$ac_ext
   10129 LIBS=$ac_check_lib_save_LIBS
   10130 fi
   10131 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10132 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   10133 if test $ac_cv_lib_dld_dld_link = yes; then
   10134   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   10135 fi
   10136 
   10137 
   10138 fi
   10139 
   10140 
   10141 fi
   10142 
   10143 
   10144 fi
   10145 
   10146 
   10147 fi
   10148 
   10149 
   10150 fi
   10151 
   10152     ;;
   10153   esac
   10154 
   10155   if test "x$lt_cv_dlopen" != xno; then
   10156     enable_dlopen=yes
   10157   else
   10158     enable_dlopen=no
   10159   fi
   10160 
   10161   case $lt_cv_dlopen in
   10162   dlopen)
   10163     save_CPPFLAGS="$CPPFLAGS"
   10164     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10165 
   10166     save_LDFLAGS="$LDFLAGS"
   10167     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10168 
   10169     save_LIBS="$LIBS"
   10170     LIBS="$lt_cv_dlopen_libs $LIBS"
   10171 
   10172     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10173 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   10174 if test "${lt_cv_dlopen_self+set}" = set; then
   10175   echo $ECHO_N "(cached) $ECHO_C" >&6
   10176 else
   10177   	  if test "$cross_compiling" = yes; then :
   10178   lt_cv_dlopen_self=cross
   10179 else
   10180   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10181   lt_status=$lt_dlunknown
   10182   cat > conftest.$ac_ext <<EOF
   10183 #line 10183 "configure"
   10184 #include "confdefs.h"
   10185 
   10186 #if HAVE_DLFCN_H
   10187 #include <dlfcn.h>
   10188 #endif
   10189 
   10190 #include <stdio.h>
   10191 
   10192 #ifdef RTLD_GLOBAL
   10193 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10194 #else
   10195 #  ifdef DL_GLOBAL
   10196 #    define LT_DLGLOBAL		DL_GLOBAL
   10197 #  else
   10198 #    define LT_DLGLOBAL		0
   10199 #  endif
   10200 #endif
   10201 
   10202 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10203    find out it does not work in some platform. */
   10204 #ifndef LT_DLLAZY_OR_NOW
   10205 #  ifdef RTLD_LAZY
   10206 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10207 #  else
   10208 #    ifdef DL_LAZY
   10209 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10210 #    else
   10211 #      ifdef RTLD_NOW
   10212 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10213 #      else
   10214 #        ifdef DL_NOW
   10215 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10216 #        else
   10217 #          define LT_DLLAZY_OR_NOW	0
   10218 #        endif
   10219 #      endif
   10220 #    endif
   10221 #  endif
   10222 #endif
   10223 
   10224 #ifdef __cplusplus
   10225 extern "C" void exit (int);
   10226 #endif
   10227 
   10228 void fnord() { int i=42;}
   10229 int main ()
   10230 {
   10231   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10232   int status = $lt_dlunknown;
   10233 
   10234   if (self)
   10235     {
   10236       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10237       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10238       /* dlclose (self); */
   10239     }
   10240   else
   10241     puts (dlerror ());
   10242 
   10243     exit (status);
   10244 }
   10245 EOF
   10246   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10247   (eval $ac_link) 2>&5
   10248   ac_status=$?
   10249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10250   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10251     (./conftest; exit; ) >&5 2>/dev/null
   10252     lt_status=$?
   10253     case x$lt_status in
   10254       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10255       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10256       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10257     esac
   10258   else :
   10259     # compilation failed
   10260     lt_cv_dlopen_self=no
   10261   fi
   10262 fi
   10263 rm -fr conftest*
   10264 
   10265 
   10266 fi
   10267 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10268 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   10269 
   10270     if test "x$lt_cv_dlopen_self" = xyes; then
   10271       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10272       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10273 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   10274 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10275   echo $ECHO_N "(cached) $ECHO_C" >&6
   10276 else
   10277   	  if test "$cross_compiling" = yes; then :
   10278   lt_cv_dlopen_self_static=cross
   10279 else
   10280   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10281   lt_status=$lt_dlunknown
   10282   cat > conftest.$ac_ext <<EOF
   10283 #line 10283 "configure"
   10284 #include "confdefs.h"
   10285 
   10286 #if HAVE_DLFCN_H
   10287 #include <dlfcn.h>
   10288 #endif
   10289 
   10290 #include <stdio.h>
   10291 
   10292 #ifdef RTLD_GLOBAL
   10293 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10294 #else
   10295 #  ifdef DL_GLOBAL
   10296 #    define LT_DLGLOBAL		DL_GLOBAL
   10297 #  else
   10298 #    define LT_DLGLOBAL		0
   10299 #  endif
   10300 #endif
   10301 
   10302 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10303    find out it does not work in some platform. */
   10304 #ifndef LT_DLLAZY_OR_NOW
   10305 #  ifdef RTLD_LAZY
   10306 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10307 #  else
   10308 #    ifdef DL_LAZY
   10309 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10310 #    else
   10311 #      ifdef RTLD_NOW
   10312 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10313 #      else
   10314 #        ifdef DL_NOW
   10315 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10316 #        else
   10317 #          define LT_DLLAZY_OR_NOW	0
   10318 #        endif
   10319 #      endif
   10320 #    endif
   10321 #  endif
   10322 #endif
   10323 
   10324 #ifdef __cplusplus
   10325 extern "C" void exit (int);
   10326 #endif
   10327 
   10328 void fnord() { int i=42;}
   10329 int main ()
   10330 {
   10331   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10332   int status = $lt_dlunknown;
   10333 
   10334   if (self)
   10335     {
   10336       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10337       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10338       /* dlclose (self); */
   10339     }
   10340   else
   10341     puts (dlerror ());
   10342 
   10343     exit (status);
   10344 }
   10345 EOF
   10346   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10347   (eval $ac_link) 2>&5
   10348   ac_status=$?
   10349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10350   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10351     (./conftest; exit; ) >&5 2>/dev/null
   10352     lt_status=$?
   10353     case x$lt_status in
   10354       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10355       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10356       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10357     esac
   10358   else :
   10359     # compilation failed
   10360     lt_cv_dlopen_self_static=no
   10361   fi
   10362 fi
   10363 rm -fr conftest*
   10364 
   10365 
   10366 fi
   10367 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10368 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10369     fi
   10370 
   10371     CPPFLAGS="$save_CPPFLAGS"
   10372     LDFLAGS="$save_LDFLAGS"
   10373     LIBS="$save_LIBS"
   10374     ;;
   10375   esac
   10376 
   10377   case $lt_cv_dlopen_self in
   10378   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10379   *) enable_dlopen_self=unknown ;;
   10380   esac
   10381 
   10382   case $lt_cv_dlopen_self_static in
   10383   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10384   *) enable_dlopen_self_static=unknown ;;
   10385   esac
   10386 fi
   10387 
   10388 
   10389 # Report which library types will actually be built
   10390 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10391 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10392 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10393 echo "${ECHO_T}$can_build_shared" >&6; }
   10394 
   10395 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10396 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10397 test "$can_build_shared" = "no" && enable_shared=no
   10398 
   10399 # On AIX, shared libraries and static libraries use the same namespace, and
   10400 # are all built from PIC.
   10401 case $host_os in
   10402 aix3*)
   10403   test "$enable_shared" = yes && enable_static=no
   10404   if test -n "$RANLIB"; then
   10405     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10406     postinstall_cmds='$RANLIB $lib'
   10407   fi
   10408   ;;
   10409 
   10410 aix4* | aix5*)
   10411   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10412     test "$enable_shared" = yes && enable_static=no
   10413   fi
   10414     ;;
   10415 esac
   10416 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10417 echo "${ECHO_T}$enable_shared" >&6; }
   10418 
   10419 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10420 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10421 # Make sure either enable_shared or enable_static is yes.
   10422 test "$enable_shared" = yes || enable_static=yes
   10423 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10424 echo "${ECHO_T}$enable_static" >&6; }
   10425 
   10426 # The else clause should only fire when bootstrapping the
   10427 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10428 # with your package, and you will get complaints that there are
   10429 # no rules to generate ltmain.sh.
   10430 if test -f "$ltmain"; then
   10431   # See if we are running on zsh, and set the options which allow our commands through
   10432   # without removal of \ escapes.
   10433   if test -n "${ZSH_VERSION+set}" ; then
   10434     setopt NO_GLOB_SUBST
   10435   fi
   10436   # Now quote all the things that may contain metacharacters while being
   10437   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10438   # variables and quote the copies for generation of the libtool script.
   10439   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10440     SED SHELL STRIP \
   10441     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10442     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10443     deplibs_check_method reload_flag reload_cmds need_locks \
   10444     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10445     lt_cv_sys_global_symbol_to_c_name_address \
   10446     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10447     old_postinstall_cmds old_postuninstall_cmds \
   10448     compiler \
   10449     CC \
   10450     LD \
   10451     lt_prog_compiler_wl \
   10452     lt_prog_compiler_pic \
   10453     lt_prog_compiler_static \
   10454     lt_prog_compiler_no_builtin_flag \
   10455     export_dynamic_flag_spec \
   10456     thread_safe_flag_spec \
   10457     whole_archive_flag_spec \
   10458     enable_shared_with_static_runtimes \
   10459     old_archive_cmds \
   10460     old_archive_from_new_cmds \
   10461     predep_objects \
   10462     postdep_objects \
   10463     predeps \
   10464     postdeps \
   10465     compiler_lib_search_path \
   10466     archive_cmds \
   10467     archive_expsym_cmds \
   10468     postinstall_cmds \
   10469     postuninstall_cmds \
   10470     old_archive_from_expsyms_cmds \
   10471     allow_undefined_flag \
   10472     no_undefined_flag \
   10473     export_symbols_cmds \
   10474     hardcode_libdir_flag_spec \
   10475     hardcode_libdir_flag_spec_ld \
   10476     hardcode_libdir_separator \
   10477     hardcode_automatic \
   10478     module_cmds \
   10479     module_expsym_cmds \
   10480     lt_cv_prog_compiler_c_o \
   10481     exclude_expsyms \
   10482     include_expsyms; do
   10483 
   10484     case $var in
   10485     old_archive_cmds | \
   10486     old_archive_from_new_cmds | \
   10487     archive_cmds | \
   10488     archive_expsym_cmds | \
   10489     module_cmds | \
   10490     module_expsym_cmds | \
   10491     old_archive_from_expsyms_cmds | \
   10492     export_symbols_cmds | \
   10493     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10494     postinstall_cmds | postuninstall_cmds | \
   10495     old_postinstall_cmds | old_postuninstall_cmds | \
   10496     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10497       # Double-quote double-evaled strings.
   10498       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10499       ;;
   10500     *)
   10501       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10502       ;;
   10503     esac
   10504   done
   10505 
   10506   case $lt_echo in
   10507   *'\$0 --fallback-echo"')
   10508     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10509     ;;
   10510   esac
   10511 
   10512 cfgfile="${ofile}T"
   10513   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10514   $rm -f "$cfgfile"
   10515   { echo "$as_me:$LINENO: creating $ofile" >&5
   10516 echo "$as_me: creating $ofile" >&6;}
   10517 
   10518   cat <<__EOF__ >> "$cfgfile"
   10519 #! $SHELL
   10520 
   10521 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10522 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10523 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10524 #
   10525 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10526 # Free Software Foundation, Inc.
   10527 #
   10528 # This file is part of GNU Libtool:
   10529 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10530 #
   10531 # This program is free software; you can redistribute it and/or modify
   10532 # it under the terms of the GNU General Public License as published by
   10533 # the Free Software Foundation; either version 2 of the License, or
   10534 # (at your option) any later version.
   10535 #
   10536 # This program is distributed in the hope that it will be useful, but
   10537 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10538 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10539 # General Public License for more details.
   10540 #
   10541 # You should have received a copy of the GNU General Public License
   10542 # along with this program; if not, write to the Free Software
   10543 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10544 #
   10545 # As a special exception to the GNU General Public License, if you
   10546 # distribute this file as part of a program that contains a
   10547 # configuration script generated by Autoconf, you may include it under
   10548 # the same distribution terms that you use for the rest of that program.
   10549 
   10550 # A sed program that does not truncate output.
   10551 SED=$lt_SED
   10552 
   10553 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10554 Xsed="$SED -e 1s/^X//"
   10555 
   10556 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10557 # if CDPATH is set.
   10558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10559 
   10560 # The names of the tagged configurations supported by this script.
   10561 available_tags=
   10562 
   10563 # ### BEGIN LIBTOOL CONFIG
   10564 
   10565 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10566 
   10567 # Shell to use when invoking shell scripts.
   10568 SHELL=$lt_SHELL
   10569 
   10570 # Whether or not to build shared libraries.
   10571 build_libtool_libs=$enable_shared
   10572 
   10573 # Whether or not to build static libraries.
   10574 build_old_libs=$enable_static
   10575 
   10576 # Whether or not to add -lc for building shared libraries.
   10577 build_libtool_need_lc=$archive_cmds_need_lc
   10578 
   10579 # Whether or not to disallow shared libs when runtime libs are static
   10580 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10581 
   10582 # Whether or not to optimize for fast installation.
   10583 fast_install=$enable_fast_install
   10584 
   10585 # The host system.
   10586 host_alias=$host_alias
   10587 host=$host
   10588 host_os=$host_os
   10589 
   10590 # The build system.
   10591 build_alias=$build_alias
   10592 build=$build
   10593 build_os=$build_os
   10594 
   10595 # An echo program that does not interpret backslashes.
   10596 echo=$lt_echo
   10597 
   10598 # The archiver.
   10599 AR=$lt_AR
   10600 AR_FLAGS=$lt_AR_FLAGS
   10601 
   10602 # A C compiler.
   10603 LTCC=$lt_LTCC
   10604 
   10605 # LTCC compiler flags.
   10606 LTCFLAGS=$lt_LTCFLAGS
   10607 
   10608 # A language-specific compiler.
   10609 CC=$lt_compiler
   10610 
   10611 # Is the compiler the GNU C compiler?
   10612 with_gcc=$GCC
   10613 
   10614 # An ERE matcher.
   10615 EGREP=$lt_EGREP
   10616 
   10617 # The linker used to build libraries.
   10618 LD=$lt_LD
   10619 
   10620 # Whether we need hard or soft links.
   10621 LN_S=$lt_LN_S
   10622 
   10623 # A BSD-compatible nm program.
   10624 NM=$lt_NM
   10625 
   10626 # A symbol stripping program
   10627 STRIP=$lt_STRIP
   10628 
   10629 # Used to examine libraries when file_magic_cmd begins "file"
   10630 MAGIC_CMD=$MAGIC_CMD
   10631 
   10632 # Used on cygwin: DLL creation program.
   10633 DLLTOOL="$DLLTOOL"
   10634 
   10635 # Used on cygwin: object dumper.
   10636 OBJDUMP="$OBJDUMP"
   10637 
   10638 # Used on cygwin: assembler.
   10639 AS="$AS"
   10640 
   10641 # The name of the directory that contains temporary libtool files.
   10642 objdir=$objdir
   10643 
   10644 # How to create reloadable object files.
   10645 reload_flag=$lt_reload_flag
   10646 reload_cmds=$lt_reload_cmds
   10647 
   10648 # How to pass a linker flag through the compiler.
   10649 wl=$lt_lt_prog_compiler_wl
   10650 
   10651 # Object file suffix (normally "o").
   10652 objext="$ac_objext"
   10653 
   10654 # Old archive suffix (normally "a").
   10655 libext="$libext"
   10656 
   10657 # Shared library suffix (normally ".so").
   10658 shrext_cmds='$shrext_cmds'
   10659 
   10660 # Executable file suffix (normally "").
   10661 exeext="$exeext"
   10662 
   10663 # Additional compiler flags for building library objects.
   10664 pic_flag=$lt_lt_prog_compiler_pic
   10665 pic_mode=$pic_mode
   10666 
   10667 # What is the maximum length of a command?
   10668 max_cmd_len=$lt_cv_sys_max_cmd_len
   10669 
   10670 # Does compiler simultaneously support -c and -o options?
   10671 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10672 
   10673 # Must we lock files when doing compilation?
   10674 need_locks=$lt_need_locks
   10675 
   10676 # Do we need the lib prefix for modules?
   10677 need_lib_prefix=$need_lib_prefix
   10678 
   10679 # Do we need a version for libraries?
   10680 need_version=$need_version
   10681 
   10682 # Whether dlopen is supported.
   10683 dlopen_support=$enable_dlopen
   10684 
   10685 # Whether dlopen of programs is supported.
   10686 dlopen_self=$enable_dlopen_self
   10687 
   10688 # Whether dlopen of statically linked programs is supported.
   10689 dlopen_self_static=$enable_dlopen_self_static
   10690 
   10691 # Compiler flag to prevent dynamic linking.
   10692 link_static_flag=$lt_lt_prog_compiler_static
   10693 
   10694 # Compiler flag to turn off builtin functions.
   10695 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10696 
   10697 # Compiler flag to allow reflexive dlopens.
   10698 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10699 
   10700 # Compiler flag to generate shared objects directly from archives.
   10701 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10702 
   10703 # Compiler flag to generate thread-safe objects.
   10704 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10705 
   10706 # Library versioning type.
   10707 version_type=$version_type
   10708 
   10709 # Format of library name prefix.
   10710 libname_spec=$lt_libname_spec
   10711 
   10712 # List of archive names.  First name is the real one, the rest are links.
   10713 # The last name is the one that the linker finds with -lNAME.
   10714 library_names_spec=$lt_library_names_spec
   10715 
   10716 # The coded name of the library, if different from the real name.
   10717 soname_spec=$lt_soname_spec
   10718 
   10719 # Commands used to build and install an old-style archive.
   10720 RANLIB=$lt_RANLIB
   10721 old_archive_cmds=$lt_old_archive_cmds
   10722 old_postinstall_cmds=$lt_old_postinstall_cmds
   10723 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10724 
   10725 # Create an old-style archive from a shared archive.
   10726 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10727 
   10728 # Create a temporary old-style archive to link instead of a shared archive.
   10729 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10730 
   10731 # Commands used to build and install a shared archive.
   10732 archive_cmds=$lt_archive_cmds
   10733 archive_expsym_cmds=$lt_archive_expsym_cmds
   10734 postinstall_cmds=$lt_postinstall_cmds
   10735 postuninstall_cmds=$lt_postuninstall_cmds
   10736 
   10737 # Commands used to build a loadable module (assumed same as above if empty)
   10738 module_cmds=$lt_module_cmds
   10739 module_expsym_cmds=$lt_module_expsym_cmds
   10740 
   10741 # Commands to strip libraries.
   10742 old_striplib=$lt_old_striplib
   10743 striplib=$lt_striplib
   10744 
   10745 # Dependencies to place before the objects being linked to create a
   10746 # shared library.
   10747 predep_objects=$lt_predep_objects
   10748 
   10749 # Dependencies to place after the objects being linked to create a
   10750 # shared library.
   10751 postdep_objects=$lt_postdep_objects
   10752 
   10753 # Dependencies to place before the objects being linked to create a
   10754 # shared library.
   10755 predeps=$lt_predeps
   10756 
   10757 # Dependencies to place after the objects being linked to create a
   10758 # shared library.
   10759 postdeps=$lt_postdeps
   10760 
   10761 # The library search path used internally by the compiler when linking
   10762 # a shared library.
   10763 compiler_lib_search_path=$lt_compiler_lib_search_path
   10764 
   10765 # Method to check whether dependent libraries are shared objects.
   10766 deplibs_check_method=$lt_deplibs_check_method
   10767 
   10768 # Command to use when deplibs_check_method == file_magic.
   10769 file_magic_cmd=$lt_file_magic_cmd
   10770 
   10771 # Flag that allows shared libraries with undefined symbols to be built.
   10772 allow_undefined_flag=$lt_allow_undefined_flag
   10773 
   10774 # Flag that forces no undefined symbols.
   10775 no_undefined_flag=$lt_no_undefined_flag
   10776 
   10777 # Commands used to finish a libtool library installation in a directory.
   10778 finish_cmds=$lt_finish_cmds
   10779 
   10780 # Same as above, but a single script fragment to be evaled but not shown.
   10781 finish_eval=$lt_finish_eval
   10782 
   10783 # Take the output of nm and produce a listing of raw symbols and C names.
   10784 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10785 
   10786 # Transform the output of nm in a proper C declaration
   10787 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10788 
   10789 # Transform the output of nm in a C name address pair
   10790 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10791 
   10792 # This is the shared library runtime path variable.
   10793 runpath_var=$runpath_var
   10794 
   10795 # This is the shared library path variable.
   10796 shlibpath_var=$shlibpath_var
   10797 
   10798 # Is shlibpath searched before the hard-coded library search path?
   10799 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10800 
   10801 # How to hardcode a shared library path into an executable.
   10802 hardcode_action=$hardcode_action
   10803 
   10804 # Whether we should hardcode library paths into libraries.
   10805 hardcode_into_libs=$hardcode_into_libs
   10806 
   10807 # Flag to hardcode \$libdir into a binary during linking.
   10808 # This must work even if \$libdir does not exist.
   10809 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10810 
   10811 # If ld is used when linking, flag to hardcode \$libdir into
   10812 # a binary during linking. This must work even if \$libdir does
   10813 # not exist.
   10814 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10815 
   10816 # Whether we need a single -rpath flag with a separated argument.
   10817 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10818 
   10819 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10820 # resulting binary.
   10821 hardcode_direct=$hardcode_direct
   10822 
   10823 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10824 # resulting binary.
   10825 hardcode_minus_L=$hardcode_minus_L
   10826 
   10827 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10828 # the resulting binary.
   10829 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10830 
   10831 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10832 # and all subsequent libraries and executables linked against it.
   10833 hardcode_automatic=$hardcode_automatic
   10834 
   10835 # Variables whose values should be saved in libtool wrapper scripts and
   10836 # restored at relink time.
   10837 variables_saved_for_relink="$variables_saved_for_relink"
   10838 
   10839 # Whether libtool must link a program against all its dependency libraries.
   10840 link_all_deplibs=$link_all_deplibs
   10841 
   10842 # Compile-time system search path for libraries
   10843 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10844 
   10845 # Run-time system search path for libraries
   10846 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10847 
   10848 # Fix the shell variable \$srcfile for the compiler.
   10849 fix_srcfile_path="$fix_srcfile_path"
   10850 
   10851 # Set to yes if exported symbols are required.
   10852 always_export_symbols=$always_export_symbols
   10853 
   10854 # The commands to list exported symbols.
   10855 export_symbols_cmds=$lt_export_symbols_cmds
   10856 
   10857 # The commands to extract the exported symbol list from a shared archive.
   10858 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10859 
   10860 # Symbols that should not be listed in the preloaded symbols.
   10861 exclude_expsyms=$lt_exclude_expsyms
   10862 
   10863 # Symbols that must always be exported.
   10864 include_expsyms=$lt_include_expsyms
   10865 
   10866 # ### END LIBTOOL CONFIG
   10867 
   10868 __EOF__
   10869 
   10870 
   10871   case $host_os in
   10872   aix3*)
   10873     cat <<\EOF >> "$cfgfile"
   10874 
   10875 # AIX sometimes has problems with the GCC collect2 program.  For some
   10876 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10877 # vanish in a puff of smoke.
   10878 if test "X${COLLECT_NAMES+set}" != Xset; then
   10879   COLLECT_NAMES=
   10880   export COLLECT_NAMES
   10881 fi
   10882 EOF
   10883     ;;
   10884   esac
   10885 
   10886   # We use sed instead of cat because bash on DJGPP gets confused if
   10887   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10888   # text mode, it properly converts lines to CR/LF.  This bash problem
   10889   # is reportedly fixed, but why not run on old versions too?
   10890   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10891 
   10892   mv -f "$cfgfile" "$ofile" || \
   10893     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10894   chmod +x "$ofile"
   10895 
   10896 else
   10897   # If there is no Makefile yet, we rely on a make rule to execute
   10898   # `config.status --recheck' to rerun these tests and create the
   10899   # libtool script then.
   10900   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10901   if test -f "$ltmain_in"; then
   10902     test -f Makefile && make "$ltmain"
   10903   fi
   10904 fi
   10905 
   10906 
   10907 ac_ext=c
   10908 ac_cpp='$CPP $CPPFLAGS'
   10909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10912 
   10913 CC="$lt_save_CC"
   10914 
   10915 
   10916 # Check whether --with-tags was given.
   10917 if test "${with_tags+set}" = set; then
   10918   withval=$with_tags; tagnames="$withval"
   10919 fi
   10920 
   10921 
   10922 if test -f "$ltmain" && test -n "$tagnames"; then
   10923   if test ! -f "${ofile}"; then
   10924     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10925 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10926   fi
   10927 
   10928   if test -z "$LTCC"; then
   10929     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10930     if test -z "$LTCC"; then
   10931       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10932 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10933     else
   10934       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10935 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10936     fi
   10937   fi
   10938   if test -z "$LTCFLAGS"; then
   10939     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10940   fi
   10941 
   10942   # Extract list of available tagged configurations in $ofile.
   10943   # Note that this assumes the entire list is on one line.
   10944   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10945 
   10946   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10947   for tagname in $tagnames; do
   10948     IFS="$lt_save_ifs"
   10949     # Check whether tagname contains only valid characters
   10950     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10951     "") ;;
   10952     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10953 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10954    { (exit 1); exit 1; }; }
   10955 	;;
   10956     esac
   10957 
   10958     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10959     then
   10960       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10961 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10962    { (exit 1); exit 1; }; }
   10963     fi
   10964 
   10965     # Update the list of available tags.
   10966     if test -n "$tagname"; then
   10967       echo appending configuration tag \"$tagname\" to $ofile
   10968 
   10969       case $tagname in
   10970       CXX)
   10971 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10972 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10973 	    (test "X$CXX" != "Xg++"))) ; then
   10974 	  ac_ext=cpp
   10975 ac_cpp='$CXXCPP $CPPFLAGS'
   10976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10979 
   10980 
   10981 
   10982 
   10983 archive_cmds_need_lc_CXX=no
   10984 allow_undefined_flag_CXX=
   10985 always_export_symbols_CXX=no
   10986 archive_expsym_cmds_CXX=
   10987 export_dynamic_flag_spec_CXX=
   10988 hardcode_direct_CXX=no
   10989 hardcode_libdir_flag_spec_CXX=
   10990 hardcode_libdir_flag_spec_ld_CXX=
   10991 hardcode_libdir_separator_CXX=
   10992 hardcode_minus_L_CXX=no
   10993 hardcode_shlibpath_var_CXX=unsupported
   10994 hardcode_automatic_CXX=no
   10995 module_cmds_CXX=
   10996 module_expsym_cmds_CXX=
   10997 link_all_deplibs_CXX=unknown
   10998 old_archive_cmds_CXX=$old_archive_cmds
   10999 no_undefined_flag_CXX=
   11000 whole_archive_flag_spec_CXX=
   11001 enable_shared_with_static_runtimes_CXX=no
   11002 
   11003 # Dependencies to place before and after the object being linked:
   11004 predep_objects_CXX=
   11005 postdep_objects_CXX=
   11006 predeps_CXX=
   11007 postdeps_CXX=
   11008 compiler_lib_search_path_CXX=
   11009 
   11010 # Source file extension for C++ test sources.
   11011 ac_ext=cpp
   11012 
   11013 # Object file extension for compiled C++ test sources.
   11014 objext=o
   11015 objext_CXX=$objext
   11016 
   11017 # Code to be used in simple compile tests
   11018 lt_simple_compile_test_code="int some_variable = 0;\n"
   11019 
   11020 # Code to be used in simple link tests
   11021 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   11022 
   11023 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11024 
   11025 # If no C compiler was specified, use CC.
   11026 LTCC=${LTCC-"$CC"}
   11027 
   11028 # If no C compiler flags were specified, use CFLAGS.
   11029 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11030 
   11031 # Allow CC to be a program name with arguments.
   11032 compiler=$CC
   11033 
   11034 
   11035 # save warnings/boilerplate of simple test code
   11036 ac_outfile=conftest.$ac_objext
   11037 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   11038 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11039 _lt_compiler_boilerplate=`cat conftest.err`
   11040 $rm conftest*
   11041 
   11042 ac_outfile=conftest.$ac_objext
   11043 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   11044 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11045 _lt_linker_boilerplate=`cat conftest.err`
   11046 $rm conftest*
   11047 
   11048 
   11049 # Allow CC to be a program name with arguments.
   11050 lt_save_CC=$CC
   11051 lt_save_LD=$LD
   11052 lt_save_GCC=$GCC
   11053 GCC=$GXX
   11054 lt_save_with_gnu_ld=$with_gnu_ld
   11055 lt_save_path_LD=$lt_cv_path_LD
   11056 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11057   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11058 else
   11059   $as_unset lt_cv_prog_gnu_ld
   11060 fi
   11061 if test -n "${lt_cv_path_LDCXX+set}"; then
   11062   lt_cv_path_LD=$lt_cv_path_LDCXX
   11063 else
   11064   $as_unset lt_cv_path_LD
   11065 fi
   11066 test -z "${LDCXX+set}" || LD=$LDCXX
   11067 CC=${CXX-"c++"}
   11068 compiler=$CC
   11069 compiler_CXX=$CC
   11070 for cc_temp in $compiler""; do
   11071   case $cc_temp in
   11072     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11073     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11074     \-*) ;;
   11075     *) break;;
   11076   esac
   11077 done
   11078 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11079 
   11080 
   11081 # We don't want -fno-exception wen compiling C++ code, so set the
   11082 # no_builtin_flag separately
   11083 if test "$GXX" = yes; then
   11084   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11085 else
   11086   lt_prog_compiler_no_builtin_flag_CXX=
   11087 fi
   11088 
   11089 if test "$GXX" = yes; then
   11090   # Set up default GNU C++ configuration
   11091 
   11092 
   11093 # Check whether --with-gnu-ld was given.
   11094 if test "${with_gnu_ld+set}" = set; then
   11095   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11096 else
   11097   with_gnu_ld=no
   11098 fi
   11099 
   11100 ac_prog=ld
   11101 if test "$GCC" = yes; then
   11102   # Check if gcc -print-prog-name=ld gives a path.
   11103   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11104 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   11105   case $host in
   11106   *-*-mingw*)
   11107     # gcc leaves a trailing carriage return which upsets mingw
   11108     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11109   *)
   11110     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11111   esac
   11112   case $ac_prog in
   11113     # Accept absolute paths.
   11114     [\\/]* | ?:[\\/]*)
   11115       re_direlt='/[^/][^/]*/\.\./'
   11116       # Canonicalize the pathname of ld
   11117       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11118       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11119 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11120       done
   11121       test -z "$LD" && LD="$ac_prog"
   11122       ;;
   11123   "")
   11124     # If it fails, then pretend we aren't using GCC.
   11125     ac_prog=ld
   11126     ;;
   11127   *)
   11128     # If it is relative, then search for the first ld in PATH.
   11129     with_gnu_ld=unknown
   11130     ;;
   11131   esac
   11132 elif test "$with_gnu_ld" = yes; then
   11133   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   11134 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   11135 else
   11136   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11137 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   11138 fi
   11139 if test "${lt_cv_path_LD+set}" = set; then
   11140   echo $ECHO_N "(cached) $ECHO_C" >&6
   11141 else
   11142   if test -z "$LD"; then
   11143   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11144   for ac_dir in $PATH; do
   11145     IFS="$lt_save_ifs"
   11146     test -z "$ac_dir" && ac_dir=.
   11147     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11148       lt_cv_path_LD="$ac_dir/$ac_prog"
   11149       # Check to see if the program is GNU ld.  I'd rather use --version,
   11150       # but apparently some variants of GNU ld only accept -v.
   11151       # Break only if it was the GNU/non-GNU ld that we prefer.
   11152       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11153       *GNU* | *'with BFD'*)
   11154 	test "$with_gnu_ld" != no && break
   11155 	;;
   11156       *)
   11157 	test "$with_gnu_ld" != yes && break
   11158 	;;
   11159       esac
   11160     fi
   11161   done
   11162   IFS="$lt_save_ifs"
   11163 else
   11164   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11165 fi
   11166 fi
   11167 
   11168 LD="$lt_cv_path_LD"
   11169 if test -n "$LD"; then
   11170   { echo "$as_me:$LINENO: result: $LD" >&5
   11171 echo "${ECHO_T}$LD" >&6; }
   11172 else
   11173   { echo "$as_me:$LINENO: result: no" >&5
   11174 echo "${ECHO_T}no" >&6; }
   11175 fi
   11176 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11177 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11178    { (exit 1); exit 1; }; }
   11179 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11180 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   11181 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11182   echo $ECHO_N "(cached) $ECHO_C" >&6
   11183 else
   11184   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11185 case `$LD -v 2>&1 </dev/null` in
   11186 *GNU* | *'with BFD'*)
   11187   lt_cv_prog_gnu_ld=yes
   11188   ;;
   11189 *)
   11190   lt_cv_prog_gnu_ld=no
   11191   ;;
   11192 esac
   11193 fi
   11194 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11195 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   11196 with_gnu_ld=$lt_cv_prog_gnu_ld
   11197 
   11198 
   11199 
   11200   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11201   # archiving commands below assume that GNU ld is being used.
   11202   if test "$with_gnu_ld" = yes; then
   11203     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11204     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'
   11205 
   11206     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11207     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11208 
   11209     # If archive_cmds runs LD, not CC, wlarc should be empty
   11210     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11211     #     investigate it a little bit more. (MM)
   11212     wlarc='${wl}'
   11213 
   11214     # ancient GNU ld didn't support --whole-archive et. al.
   11215     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11216 	grep 'no-whole-archive' > /dev/null; then
   11217       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11218     else
   11219       whole_archive_flag_spec_CXX=
   11220     fi
   11221   else
   11222     with_gnu_ld=no
   11223     wlarc=
   11224 
   11225     # A generic and very simple default shared library creation
   11226     # command for GNU C++ for the case where it uses the native
   11227     # linker, instead of GNU ld.  If possible, this setting should
   11228     # overridden to take advantage of the native linker features on
   11229     # the platform it is being used on.
   11230     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11231   fi
   11232 
   11233   # Commands to make compiler produce verbose output that lists
   11234   # what "hidden" libraries, object files and flags are used when
   11235   # linking a shared library.
   11236   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11237 
   11238 else
   11239   GXX=no
   11240   with_gnu_ld=no
   11241   wlarc=
   11242 fi
   11243 
   11244 # PORTME: fill in a description of your system's C++ link characteristics
   11245 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11246 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   11247 ld_shlibs_CXX=yes
   11248 case $host_os in
   11249   aix3*)
   11250     # FIXME: insert proper C++ library support
   11251     ld_shlibs_CXX=no
   11252     ;;
   11253   aix4* | aix5*)
   11254     if test "$host_cpu" = ia64; then
   11255       # On IA64, the linker does run time linking by default, so we don't
   11256       # have to do anything special.
   11257       aix_use_runtimelinking=no
   11258       exp_sym_flag='-Bexport'
   11259       no_entry_flag=""
   11260     else
   11261       aix_use_runtimelinking=no
   11262 
   11263       # Test if we are trying to use run time linking or normal
   11264       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11265       # need to do runtime linking.
   11266       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   11267 	for ld_flag in $LDFLAGS; do
   11268 	  case $ld_flag in
   11269 	  *-brtl*)
   11270 	    aix_use_runtimelinking=yes
   11271 	    break
   11272 	    ;;
   11273 	  esac
   11274 	done
   11275 	;;
   11276       esac
   11277 
   11278       exp_sym_flag='-bexport'
   11279       no_entry_flag='-bnoentry'
   11280     fi
   11281 
   11282     # When large executables or shared objects are built, AIX ld can
   11283     # have problems creating the table of contents.  If linking a library
   11284     # or program results in "error TOC overflow" add -mminimal-toc to
   11285     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11286     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11287 
   11288     archive_cmds_CXX=''
   11289     hardcode_direct_CXX=yes
   11290     hardcode_libdir_separator_CXX=':'
   11291     link_all_deplibs_CXX=yes
   11292 
   11293     if test "$GXX" = yes; then
   11294       case $host_os in aix4.[012]|aix4.[012].*)
   11295       # We only want to do this on AIX 4.2 and lower, the check
   11296       # below for broken collect2 doesn't work under 4.3+
   11297 	collect2name=`${CC} -print-prog-name=collect2`
   11298 	if test -f "$collect2name" && \
   11299 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11300 	then
   11301 	  # We have reworked collect2
   11302 	  hardcode_direct_CXX=yes
   11303 	else
   11304 	  # We have old collect2
   11305 	  hardcode_direct_CXX=unsupported
   11306 	  # It fails to find uninstalled libraries when the uninstalled
   11307 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11308 	  # to unsupported forces relinking
   11309 	  hardcode_minus_L_CXX=yes
   11310 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11311 	  hardcode_libdir_separator_CXX=
   11312 	fi
   11313 	;;
   11314       esac
   11315       shared_flag='-shared'
   11316       if test "$aix_use_runtimelinking" = yes; then
   11317 	shared_flag="$shared_flag "'${wl}-G'
   11318       fi
   11319     else
   11320       # not using gcc
   11321       if test "$host_cpu" = ia64; then
   11322 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11323 	# chokes on -Wl,-G. The following line is correct:
   11324 	shared_flag='-G'
   11325       else
   11326 	if test "$aix_use_runtimelinking" = yes; then
   11327 	  shared_flag='${wl}-G'
   11328 	else
   11329 	  shared_flag='${wl}-bM:SRE'
   11330 	fi
   11331       fi
   11332     fi
   11333 
   11334     # It seems that -bexpall does not export symbols beginning with
   11335     # underscore (_), so it is better to generate a list of symbols to export.
   11336     always_export_symbols_CXX=yes
   11337     if test "$aix_use_runtimelinking" = yes; then
   11338       # Warning - without using the other runtime loading flags (-brtl),
   11339       # -berok will link without error, but may produce a broken library.
   11340       allow_undefined_flag_CXX='-berok'
   11341       # Determine the default libpath from the value encoded in an empty executable.
   11342       cat >conftest.$ac_ext <<_ACEOF
   11343 /* confdefs.h.  */
   11344 _ACEOF
   11345 cat confdefs.h >>conftest.$ac_ext
   11346 cat >>conftest.$ac_ext <<_ACEOF
   11347 /* end confdefs.h.  */
   11348 
   11349 int
   11350 main ()
   11351 {
   11352 
   11353   ;
   11354   return 0;
   11355 }
   11356 _ACEOF
   11357 rm -f conftest.$ac_objext conftest$ac_exeext
   11358 if { (ac_try="$ac_link"
   11359 case "(($ac_try" in
   11360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11361   *) ac_try_echo=$ac_try;;
   11362 esac
   11363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11364   (eval "$ac_link") 2>conftest.er1
   11365   ac_status=$?
   11366   grep -v '^ *+' conftest.er1 >conftest.err
   11367   rm -f conftest.er1
   11368   cat conftest.err >&5
   11369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11370   (exit $ac_status); } && {
   11371 	 test -z "$ac_cxx_werror_flag" ||
   11372 	 test ! -s conftest.err
   11373        } && test -s conftest$ac_exeext &&
   11374        $as_test_x conftest$ac_exeext; then
   11375 
   11376 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11377 }'`
   11378 # Check for a 64-bit object if we didn't find anything.
   11379 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11380 }'`; fi
   11381 else
   11382   echo "$as_me: failed program was:" >&5
   11383 sed 's/^/| /' conftest.$ac_ext >&5
   11384 
   11385 
   11386 fi
   11387 
   11388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11389       conftest$ac_exeext conftest.$ac_ext
   11390 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11391 
   11392       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11393 
   11394       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"
   11395      else
   11396       if test "$host_cpu" = ia64; then
   11397 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11398 	allow_undefined_flag_CXX="-z nodefs"
   11399 	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"
   11400       else
   11401 	# Determine the default libpath from the value encoded in an empty executable.
   11402 	cat >conftest.$ac_ext <<_ACEOF
   11403 /* confdefs.h.  */
   11404 _ACEOF
   11405 cat confdefs.h >>conftest.$ac_ext
   11406 cat >>conftest.$ac_ext <<_ACEOF
   11407 /* end confdefs.h.  */
   11408 
   11409 int
   11410 main ()
   11411 {
   11412 
   11413   ;
   11414   return 0;
   11415 }
   11416 _ACEOF
   11417 rm -f conftest.$ac_objext conftest$ac_exeext
   11418 if { (ac_try="$ac_link"
   11419 case "(($ac_try" in
   11420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11421   *) ac_try_echo=$ac_try;;
   11422 esac
   11423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11424   (eval "$ac_link") 2>conftest.er1
   11425   ac_status=$?
   11426   grep -v '^ *+' conftest.er1 >conftest.err
   11427   rm -f conftest.er1
   11428   cat conftest.err >&5
   11429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11430   (exit $ac_status); } && {
   11431 	 test -z "$ac_cxx_werror_flag" ||
   11432 	 test ! -s conftest.err
   11433        } && test -s conftest$ac_exeext &&
   11434        $as_test_x conftest$ac_exeext; then
   11435 
   11436 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11437 }'`
   11438 # Check for a 64-bit object if we didn't find anything.
   11439 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11440 }'`; fi
   11441 else
   11442   echo "$as_me: failed program was:" >&5
   11443 sed 's/^/| /' conftest.$ac_ext >&5
   11444 
   11445 
   11446 fi
   11447 
   11448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11449       conftest$ac_exeext conftest.$ac_ext
   11450 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11451 
   11452 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11453 	# Warning - without using the other run time loading flags,
   11454 	# -berok will link without error, but may produce a broken library.
   11455 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11456 	allow_undefined_flag_CXX=' ${wl}-berok'
   11457 	# Exported symbols can be pulled into shared objects from archives
   11458 	whole_archive_flag_spec_CXX='$convenience'
   11459 	archive_cmds_need_lc_CXX=yes
   11460 	# This is similar to how AIX traditionally builds its shared libraries.
   11461 	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'
   11462       fi
   11463     fi
   11464     ;;
   11465 
   11466   beos*)
   11467     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11468       allow_undefined_flag_CXX=unsupported
   11469       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11470       # support --undefined.  This deserves some investigation.  FIXME
   11471       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11472     else
   11473       ld_shlibs_CXX=no
   11474     fi
   11475     ;;
   11476 
   11477   chorus*)
   11478     case $cc_basename in
   11479       *)
   11480 	# FIXME: insert proper C++ library support
   11481 	ld_shlibs_CXX=no
   11482 	;;
   11483     esac
   11484     ;;
   11485 
   11486   cygwin* | mingw* | pw32*)
   11487     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11488     # as there is no search path for DLLs.
   11489     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11490     allow_undefined_flag_CXX=unsupported
   11491     always_export_symbols_CXX=no
   11492     enable_shared_with_static_runtimes_CXX=yes
   11493 
   11494     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11495       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'
   11496       # If the export-symbols file already is a .def file (1st line
   11497       # is EXPORTS), use it as is; otherwise, prepend...
   11498       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11499 	cp $export_symbols $output_objdir/$soname.def;
   11500       else
   11501 	echo EXPORTS > $output_objdir/$soname.def;
   11502 	cat $export_symbols >> $output_objdir/$soname.def;
   11503       fi~
   11504       $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'
   11505     else
   11506       ld_shlibs_CXX=no
   11507     fi
   11508   ;;
   11509       darwin* | rhapsody*)
   11510         case $host_os in
   11511         rhapsody* | darwin1.[012])
   11512          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11513          ;;
   11514        *) # Darwin 1.3 on
   11515          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11516            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11517          else
   11518            case ${MACOSX_DEPLOYMENT_TARGET} in
   11519              10.[012])
   11520                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11521                ;;
   11522              10.*)
   11523                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11524                ;;
   11525            esac
   11526          fi
   11527          ;;
   11528         esac
   11529       archive_cmds_need_lc_CXX=no
   11530       hardcode_direct_CXX=no
   11531       hardcode_automatic_CXX=yes
   11532       hardcode_shlibpath_var_CXX=unsupported
   11533       whole_archive_flag_spec_CXX=''
   11534       link_all_deplibs_CXX=yes
   11535 
   11536     if test "$GXX" = yes ; then
   11537       lt_int_apple_cc_single_mod=no
   11538       output_verbose_link_cmd='echo'
   11539       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11540        lt_int_apple_cc_single_mod=yes
   11541       fi
   11542       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11543        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11544       else
   11545           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'
   11546         fi
   11547         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11548         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11549           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11550             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}'
   11551           else
   11552             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}'
   11553           fi
   11554             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}'
   11555       else
   11556       case $cc_basename in
   11557         xlc*)
   11558          output_verbose_link_cmd='echo'
   11559           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   11560           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11561           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11562           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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11563           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}'
   11564           ;;
   11565        *)
   11566          ld_shlibs_CXX=no
   11567           ;;
   11568       esac
   11569       fi
   11570         ;;
   11571 
   11572   dgux*)
   11573     case $cc_basename in
   11574       ec++*)
   11575 	# FIXME: insert proper C++ library support
   11576 	ld_shlibs_CXX=no
   11577 	;;
   11578       ghcx*)
   11579 	# Green Hills C++ Compiler
   11580 	# FIXME: insert proper C++ library support
   11581 	ld_shlibs_CXX=no
   11582 	;;
   11583       *)
   11584 	# FIXME: insert proper C++ library support
   11585 	ld_shlibs_CXX=no
   11586 	;;
   11587     esac
   11588     ;;
   11589   freebsd[12]*)
   11590     # C++ shared libraries reported to be fairly broken before switch to ELF
   11591     ld_shlibs_CXX=no
   11592     ;;
   11593   freebsd-elf*)
   11594     archive_cmds_need_lc_CXX=no
   11595     ;;
   11596   freebsd* | kfreebsd*-gnu | dragonfly*)
   11597     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11598     # conventions
   11599     ld_shlibs_CXX=yes
   11600     ;;
   11601   gnu*)
   11602     ;;
   11603   hpux9*)
   11604     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11605     hardcode_libdir_separator_CXX=:
   11606     export_dynamic_flag_spec_CXX='${wl}-E'
   11607     hardcode_direct_CXX=yes
   11608     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11609 				# but as the default
   11610 				# location of the library.
   11611 
   11612     case $cc_basename in
   11613     CC*)
   11614       # FIXME: insert proper C++ library support
   11615       ld_shlibs_CXX=no
   11616       ;;
   11617     aCC*)
   11618       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'
   11619       # Commands to make compiler produce verbose output that lists
   11620       # what "hidden" libraries, object files and flags are used when
   11621       # linking a shared library.
   11622       #
   11623       # There doesn't appear to be a way to prevent this compiler from
   11624       # explicitly linking system object files so we need to strip them
   11625       # from the output so that they don't get included in the library
   11626       # dependencies.
   11627       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'
   11628       ;;
   11629     *)
   11630       if test "$GXX" = yes; then
   11631         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'
   11632       else
   11633         # FIXME: insert proper C++ library support
   11634         ld_shlibs_CXX=no
   11635       fi
   11636       ;;
   11637     esac
   11638     ;;
   11639   hpux10*|hpux11*)
   11640     if test $with_gnu_ld = no; then
   11641       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11642       hardcode_libdir_separator_CXX=:
   11643 
   11644       case $host_cpu in
   11645       hppa*64*|ia64*)
   11646 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11647         ;;
   11648       *)
   11649 	export_dynamic_flag_spec_CXX='${wl}-E'
   11650         ;;
   11651       esac
   11652     fi
   11653     case $host_cpu in
   11654     hppa*64*|ia64*)
   11655       hardcode_direct_CXX=no
   11656       hardcode_shlibpath_var_CXX=no
   11657       ;;
   11658     *)
   11659       hardcode_direct_CXX=yes
   11660       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11661 					      # but as the default
   11662 					      # location of the library.
   11663       ;;
   11664     esac
   11665 
   11666     case $cc_basename in
   11667       CC*)
   11668 	# FIXME: insert proper C++ library support
   11669 	ld_shlibs_CXX=no
   11670 	;;
   11671       aCC*)
   11672 	case $host_cpu in
   11673 	hppa*64*)
   11674 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11675 	  ;;
   11676 	ia64*)
   11677 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11678 	  ;;
   11679 	*)
   11680 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11681 	  ;;
   11682 	esac
   11683 	# Commands to make compiler produce verbose output that lists
   11684 	# what "hidden" libraries, object files and flags are used when
   11685 	# linking a shared library.
   11686 	#
   11687 	# There doesn't appear to be a way to prevent this compiler from
   11688 	# explicitly linking system object files so we need to strip them
   11689 	# from the output so that they don't get included in the library
   11690 	# dependencies.
   11691 	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'
   11692 	;;
   11693       *)
   11694 	if test "$GXX" = yes; then
   11695 	  if test $with_gnu_ld = no; then
   11696 	    case $host_cpu in
   11697 	    hppa*64*)
   11698 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11699 	      ;;
   11700 	    ia64*)
   11701 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11702 	      ;;
   11703 	    *)
   11704 	      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'
   11705 	      ;;
   11706 	    esac
   11707 	  fi
   11708 	else
   11709 	  # FIXME: insert proper C++ library support
   11710 	  ld_shlibs_CXX=no
   11711 	fi
   11712 	;;
   11713     esac
   11714     ;;
   11715   interix3*)
   11716     hardcode_direct_CXX=no
   11717     hardcode_shlibpath_var_CXX=no
   11718     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11719     export_dynamic_flag_spec_CXX='${wl}-E'
   11720     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11721     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11722     # default) and relocated if they conflict, which is a slow very memory
   11723     # consuming and fragmenting process.  To avoid this, we pick a random,
   11724     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11725     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11726     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'
   11727     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'
   11728     ;;
   11729   irix5* | irix6*)
   11730     case $cc_basename in
   11731       CC*)
   11732 	# SGI C++
   11733 	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'
   11734 
   11735 	# Archives containing C++ object files must be created using
   11736 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11737 	# necessary to make sure instantiated templates are included
   11738 	# in the archive.
   11739 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11740 	;;
   11741       *)
   11742 	if test "$GXX" = yes; then
   11743 	  if test "$with_gnu_ld" = no; then
   11744 	    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'
   11745 	  else
   11746 	    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'
   11747 	  fi
   11748 	fi
   11749 	link_all_deplibs_CXX=yes
   11750 	;;
   11751     esac
   11752     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11753     hardcode_libdir_separator_CXX=:
   11754     ;;
   11755   linux*)
   11756     case $cc_basename in
   11757       KCC*)
   11758 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11759 
   11760 	# KCC will only create a shared library if the output file
   11761 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11762 	# to its proper name (with version) after linking.
   11763 	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'
   11764 	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'
   11765 	# Commands to make compiler produce verbose output that lists
   11766 	# what "hidden" libraries, object files and flags are used when
   11767 	# linking a shared library.
   11768 	#
   11769 	# There doesn't appear to be a way to prevent this compiler from
   11770 	# explicitly linking system object files so we need to strip them
   11771 	# from the output so that they don't get included in the library
   11772 	# dependencies.
   11773 	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'
   11774 
   11775 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11776 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11777 
   11778 	# Archives containing C++ object files must be created using
   11779 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11780 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11781 	;;
   11782       icpc*)
   11783 	# Intel C++
   11784 	with_gnu_ld=yes
   11785 	# version 8.0 and above of icpc choke on multiply defined symbols
   11786 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11787 	# earlier do not add the objects themselves.
   11788 	case `$CC -V 2>&1` in
   11789 	*"Version 7."*)
   11790   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11791   	  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'
   11792 	  ;;
   11793 	*)  # Version 8.0 or newer
   11794 	  tmp_idyn=
   11795 	  case $host_cpu in
   11796 	    ia64*) tmp_idyn=' -i_dynamic';;
   11797 	  esac
   11798   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11799 	  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'
   11800 	  ;;
   11801 	esac
   11802 	archive_cmds_need_lc_CXX=no
   11803 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11804 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11805 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11806 	;;
   11807       pgCC*)
   11808         # Portland Group C++ compiler
   11809 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11810   	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'
   11811 
   11812 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11813 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11814 	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'
   11815         ;;
   11816       cxx*)
   11817 	# Compaq C++
   11818 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11819 	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'
   11820 
   11821 	runpath_var=LD_RUN_PATH
   11822 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11823 	hardcode_libdir_separator_CXX=:
   11824 
   11825 	# Commands to make compiler produce verbose output that lists
   11826 	# what "hidden" libraries, object files and flags are used when
   11827 	# linking a shared library.
   11828 	#
   11829 	# There doesn't appear to be a way to prevent this compiler from
   11830 	# explicitly linking system object files so we need to strip them
   11831 	# from the output so that they don't get included in the library
   11832 	# dependencies.
   11833 	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'
   11834 	;;
   11835       *)
   11836 	case `$CC -V 2>&1 | sed 5q` in
   11837 	*Sun\ C*)
   11838 	  # Sun C++ 5.9
   11839 	  no_undefined_flag_CXX=' -zdefs'
   11840 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11841 	  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'
   11842 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   11843 	  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'
   11844 
   11845 	  # Not sure whether something based on
   11846 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   11847 	  # would be better.
   11848 	  output_verbose_link_cmd='echo'
   11849 
   11850 	  # Archives containing C++ object files must be created using
   11851 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11852 	  # necessary to make sure instantiated templates are included
   11853 	  # in the archive.
   11854 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11855 	  ;;
   11856 	esac
   11857 	;;
   11858     esac
   11859     ;;
   11860   lynxos*)
   11861     # FIXME: insert proper C++ library support
   11862     ld_shlibs_CXX=no
   11863     ;;
   11864   m88k*)
   11865     # FIXME: insert proper C++ library support
   11866     ld_shlibs_CXX=no
   11867     ;;
   11868   mvs*)
   11869     case $cc_basename in
   11870       cxx*)
   11871 	# FIXME: insert proper C++ library support
   11872 	ld_shlibs_CXX=no
   11873 	;;
   11874       *)
   11875 	# FIXME: insert proper C++ library support
   11876 	ld_shlibs_CXX=no
   11877 	;;
   11878     esac
   11879     ;;
   11880   netbsd*)
   11881     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11882       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11883       wlarc=
   11884       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11885       hardcode_direct_CXX=yes
   11886       hardcode_shlibpath_var_CXX=no
   11887     fi
   11888     # Workaround some broken pre-1.5 toolchains
   11889     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11890     ;;
   11891   openbsd2*)
   11892     # C++ shared libraries are fairly broken
   11893     ld_shlibs_CXX=no
   11894     ;;
   11895   openbsd*)
   11896     hardcode_direct_CXX=yes
   11897     hardcode_shlibpath_var_CXX=no
   11898     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11899     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11900     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11901       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11902       export_dynamic_flag_spec_CXX='${wl}-E'
   11903       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11904     fi
   11905     output_verbose_link_cmd='echo'
   11906     ;;
   11907   osf3*)
   11908     case $cc_basename in
   11909       KCC*)
   11910 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11911 
   11912 	# KCC will only create a shared library if the output file
   11913 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11914 	# to its proper name (with version) after linking.
   11915 	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'
   11916 
   11917 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11918 	hardcode_libdir_separator_CXX=:
   11919 
   11920 	# Archives containing C++ object files must be created using
   11921 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11922 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11923 
   11924 	;;
   11925       RCC*)
   11926 	# Rational C++ 2.4.1
   11927 	# FIXME: insert proper C++ library support
   11928 	ld_shlibs_CXX=no
   11929 	;;
   11930       cxx*)
   11931 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11932 	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'
   11933 
   11934 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11935 	hardcode_libdir_separator_CXX=:
   11936 
   11937 	# Commands to make compiler produce verbose output that lists
   11938 	# what "hidden" libraries, object files and flags are used when
   11939 	# linking a shared library.
   11940 	#
   11941 	# There doesn't appear to be a way to prevent this compiler from
   11942 	# explicitly linking system object files so we need to strip them
   11943 	# from the output so that they don't get included in the library
   11944 	# dependencies.
   11945 	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'
   11946 	;;
   11947       *)
   11948 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11949 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11950 	  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'
   11951 
   11952 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11953 	  hardcode_libdir_separator_CXX=:
   11954 
   11955 	  # Commands to make compiler produce verbose output that lists
   11956 	  # what "hidden" libraries, object files and flags are used when
   11957 	  # linking a shared library.
   11958 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11959 
   11960 	else
   11961 	  # FIXME: insert proper C++ library support
   11962 	  ld_shlibs_CXX=no
   11963 	fi
   11964 	;;
   11965     esac
   11966     ;;
   11967   osf4* | osf5*)
   11968     case $cc_basename in
   11969       KCC*)
   11970 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11971 
   11972 	# KCC will only create a shared library if the output file
   11973 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11974 	# to its proper name (with version) after linking.
   11975 	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'
   11976 
   11977 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11978 	hardcode_libdir_separator_CXX=:
   11979 
   11980 	# Archives containing C++ object files must be created using
   11981 	# the KAI C++ compiler.
   11982 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11983 	;;
   11984       RCC*)
   11985 	# Rational C++ 2.4.1
   11986 	# FIXME: insert proper C++ library support
   11987 	ld_shlibs_CXX=no
   11988 	;;
   11989       cxx*)
   11990 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11991 	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'
   11992 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11993 	  echo "-hidden">> $lib.exp~
   11994 	  $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~
   11995 	  $rm $lib.exp'
   11996 
   11997 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11998 	hardcode_libdir_separator_CXX=:
   11999 
   12000 	# Commands to make compiler produce verbose output that lists
   12001 	# what "hidden" libraries, object files and flags are used when
   12002 	# linking a shared library.
   12003 	#
   12004 	# There doesn't appear to be a way to prevent this compiler from
   12005 	# explicitly linking system object files so we need to strip them
   12006 	# from the output so that they don't get included in the library
   12007 	# dependencies.
   12008 	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'
   12009 	;;
   12010       *)
   12011 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12012 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12013 	 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'
   12014 
   12015 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12016 	  hardcode_libdir_separator_CXX=:
   12017 
   12018 	  # Commands to make compiler produce verbose output that lists
   12019 	  # what "hidden" libraries, object files and flags are used when
   12020 	  # linking a shared library.
   12021 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12022 
   12023 	else
   12024 	  # FIXME: insert proper C++ library support
   12025 	  ld_shlibs_CXX=no
   12026 	fi
   12027 	;;
   12028     esac
   12029     ;;
   12030   psos*)
   12031     # FIXME: insert proper C++ library support
   12032     ld_shlibs_CXX=no
   12033     ;;
   12034   sunos4*)
   12035     case $cc_basename in
   12036       CC*)
   12037 	# Sun C++ 4.x
   12038 	# FIXME: insert proper C++ library support
   12039 	ld_shlibs_CXX=no
   12040 	;;
   12041       lcc*)
   12042 	# Lucid
   12043 	# FIXME: insert proper C++ library support
   12044 	ld_shlibs_CXX=no
   12045 	;;
   12046       *)
   12047 	# FIXME: insert proper C++ library support
   12048 	ld_shlibs_CXX=no
   12049 	;;
   12050     esac
   12051     ;;
   12052   solaris*)
   12053     case $cc_basename in
   12054       CC*)
   12055 	# Sun C++ 4.2, 5.x and Centerline C++
   12056         archive_cmds_need_lc_CXX=yes
   12057 	no_undefined_flag_CXX=' -zdefs'
   12058 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12059 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12060 	$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'
   12061 
   12062 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12063 	hardcode_shlibpath_var_CXX=no
   12064 	case $host_os in
   12065 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12066 	  *)
   12067 	    # The C++ compiler is used as linker so we must use $wl
   12068 	    # flag to pass the commands to the underlying system
   12069 	    # linker. We must also pass each convience library through
   12070 	    # to the system linker between allextract/defaultextract.
   12071 	    # The C++ compiler will combine linker options so we
   12072 	    # cannot just pass the convience library names through
   12073 	    # without $wl.
   12074 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12075 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
   12076 	    ;;
   12077 	esac
   12078 	link_all_deplibs_CXX=yes
   12079 
   12080 	output_verbose_link_cmd='echo'
   12081 
   12082 	# Archives containing C++ object files must be created using
   12083 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12084 	# necessary to make sure instantiated templates are included
   12085 	# in the archive.
   12086 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12087 	;;
   12088       gcx*)
   12089 	# Green Hills C++ Compiler
   12090 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12091 
   12092 	# The C++ compiler must be used to create the archive.
   12093 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12094 	;;
   12095       *)
   12096 	# GNU C++ compiler with Solaris linker
   12097 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12098 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12099 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12100 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12101 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12102 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12103 
   12104 	    # Commands to make compiler produce verbose output that lists
   12105 	    # what "hidden" libraries, object files and flags are used when
   12106 	    # linking a shared library.
   12107 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12108 	  else
   12109 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12110 	    # platform.
   12111 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12112 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12113 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12114 
   12115 	    # Commands to make compiler produce verbose output that lists
   12116 	    # what "hidden" libraries, object files and flags are used when
   12117 	    # linking a shared library.
   12118 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12119 	  fi
   12120 
   12121 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12122 	fi
   12123 	;;
   12124     esac
   12125     ;;
   12126   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12127     no_undefined_flag_CXX='${wl}-z,text'
   12128     archive_cmds_need_lc_CXX=no
   12129     hardcode_shlibpath_var_CXX=no
   12130     runpath_var='LD_RUN_PATH'
   12131 
   12132     case $cc_basename in
   12133       CC*)
   12134 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12135 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12136 	;;
   12137       *)
   12138 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12139 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12140 	;;
   12141     esac
   12142     ;;
   12143   sysv5* | sco3.2v5* | sco5v6*)
   12144     # Note: We can NOT use -z defs as we might desire, because we do not
   12145     # link with -lc, and that would cause any symbols used from libc to
   12146     # always be unresolved, which means just about no library would
   12147     # ever link correctly.  If we're not using GNU ld we use -z text
   12148     # though, which does catch some bad symbols but isn't as heavy-handed
   12149     # as -z defs.
   12150     # For security reasons, it is highly recommended that you always
   12151     # use absolute paths for naming shared libraries, and exclude the
   12152     # DT_RUNPATH tag from executables and libraries.  But doing so
   12153     # requires that you compile everything twice, which is a pain.
   12154     # So that behaviour is only enabled if SCOABSPATH is set to a
   12155     # non-empty value in the environment.  Most likely only useful for
   12156     # creating official distributions of packages.
   12157     # This is a hack until libtool officially supports absolute path
   12158     # names for shared libraries.
   12159     no_undefined_flag_CXX='${wl}-z,text'
   12160     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12161     archive_cmds_need_lc_CXX=no
   12162     hardcode_shlibpath_var_CXX=no
   12163     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12164     hardcode_libdir_separator_CXX=':'
   12165     link_all_deplibs_CXX=yes
   12166     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12167     runpath_var='LD_RUN_PATH'
   12168 
   12169     case $cc_basename in
   12170       CC*)
   12171 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12172 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12173 	;;
   12174       *)
   12175 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12176 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12177 	;;
   12178     esac
   12179     ;;
   12180   tandem*)
   12181     case $cc_basename in
   12182       NCC*)
   12183 	# NonStop-UX NCC 3.20
   12184 	# FIXME: insert proper C++ library support
   12185 	ld_shlibs_CXX=no
   12186 	;;
   12187       *)
   12188 	# FIXME: insert proper C++ library support
   12189 	ld_shlibs_CXX=no
   12190 	;;
   12191     esac
   12192     ;;
   12193   vxworks*)
   12194     # FIXME: insert proper C++ library support
   12195     ld_shlibs_CXX=no
   12196     ;;
   12197   *)
   12198     # FIXME: insert proper C++ library support
   12199     ld_shlibs_CXX=no
   12200     ;;
   12201 esac
   12202 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12203 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12204 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12205 
   12206 GCC_CXX="$GXX"
   12207 LD_CXX="$LD"
   12208 
   12209 ## CAVEAT EMPTOR:
   12210 ## There is no encapsulation within the following macros, do not change
   12211 ## the running order or otherwise move them around unless you know exactly
   12212 ## what you are doing...
   12213 
   12214 cat > conftest.$ac_ext <<EOF
   12215 class Foo
   12216 {
   12217 public:
   12218   Foo (void) { a = 0; }
   12219 private:
   12220   int a;
   12221 };
   12222 EOF
   12223 
   12224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12225   (eval $ac_compile) 2>&5
   12226   ac_status=$?
   12227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12228   (exit $ac_status); }; then
   12229   # Parse the compiler output and extract the necessary
   12230   # objects, libraries and library flags.
   12231 
   12232   # Sentinel used to keep track of whether or not we are before
   12233   # the conftest object file.
   12234   pre_test_object_deps_done=no
   12235 
   12236   # The `*' in the case matches for architectures that use `case' in
   12237   # $output_verbose_cmd can trigger glob expansion during the loop
   12238   # eval without this substitution.
   12239   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12240 
   12241   for p in `eval $output_verbose_link_cmd`; do
   12242     case $p in
   12243 
   12244     -L* | -R* | -l*)
   12245        # Some compilers place space between "-{L,R}" and the path.
   12246        # Remove the space.
   12247        if test $p = "-L" \
   12248 	  || test $p = "-R"; then
   12249 	 prev=$p
   12250 	 continue
   12251        else
   12252 	 prev=
   12253        fi
   12254 
   12255        if test "$pre_test_object_deps_done" = no; then
   12256 	 case $p in
   12257 	 -L* | -R*)
   12258 	   # Internal compiler library paths should come after those
   12259 	   # provided the user.  The postdeps already come after the
   12260 	   # user supplied libs so there is no need to process them.
   12261 	   if test -z "$compiler_lib_search_path_CXX"; then
   12262 	     compiler_lib_search_path_CXX="${prev}${p}"
   12263 	   else
   12264 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12265 	   fi
   12266 	   ;;
   12267 	 # The "-l" case would never come before the object being
   12268 	 # linked, so don't bother handling this case.
   12269 	 esac
   12270        else
   12271 	 if test -z "$postdeps_CXX"; then
   12272 	   postdeps_CXX="${prev}${p}"
   12273 	 else
   12274 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12275 	 fi
   12276        fi
   12277        ;;
   12278 
   12279     *.$objext)
   12280        # This assumes that the test object file only shows up
   12281        # once in the compiler output.
   12282        if test "$p" = "conftest.$objext"; then
   12283 	 pre_test_object_deps_done=yes
   12284 	 continue
   12285        fi
   12286 
   12287        if test "$pre_test_object_deps_done" = no; then
   12288 	 if test -z "$predep_objects_CXX"; then
   12289 	   predep_objects_CXX="$p"
   12290 	 else
   12291 	   predep_objects_CXX="$predep_objects_CXX $p"
   12292 	 fi
   12293        else
   12294 	 if test -z "$postdep_objects_CXX"; then
   12295 	   postdep_objects_CXX="$p"
   12296 	 else
   12297 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12298 	 fi
   12299        fi
   12300        ;;
   12301 
   12302     *) ;; # Ignore the rest.
   12303 
   12304     esac
   12305   done
   12306 
   12307   # Clean up.
   12308   rm -f a.out a.exe
   12309 else
   12310   echo "libtool.m4: error: problem compiling CXX test program"
   12311 fi
   12312 
   12313 $rm -f confest.$objext
   12314 
   12315 # PORTME: override above test on systems where it is broken
   12316 case $host_os in
   12317 interix3*)
   12318   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12319   # hack all around it, let's just trust "g++" to DTRT.
   12320   predep_objects_CXX=
   12321   postdep_objects_CXX=
   12322   postdeps_CXX=
   12323   ;;
   12324 
   12325 linux*)
   12326   case `$CC -V 2>&1 | sed 5q` in
   12327   *Sun\ C*)
   12328     # Sun C++ 5.9
   12329     postdeps_CXX='-lCstd -lCrun'
   12330     ;;
   12331   esac
   12332   ;;
   12333 
   12334 solaris*)
   12335   case $cc_basename in
   12336   CC*)
   12337     # Adding this requires a known-good setup of shared libraries for
   12338     # Sun compiler versions before 5.6, else PIC objects from an old
   12339     # archive will be linked into the output, leading to subtle bugs.
   12340     postdeps_CXX='-lCstd -lCrun'
   12341     ;;
   12342   esac
   12343   ;;
   12344 esac
   12345 
   12346 
   12347 case " $postdeps_CXX " in
   12348 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12349 esac
   12350 
   12351 lt_prog_compiler_wl_CXX=
   12352 lt_prog_compiler_pic_CXX=
   12353 lt_prog_compiler_static_CXX=
   12354 
   12355 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12356 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12357 
   12358   # C++ specific cases for pic, static, wl, etc.
   12359   if test "$GXX" = yes; then
   12360     lt_prog_compiler_wl_CXX='-Wl,'
   12361     lt_prog_compiler_static_CXX='-static'
   12362 
   12363     case $host_os in
   12364     aix*)
   12365       # All AIX code is PIC.
   12366       if test "$host_cpu" = ia64; then
   12367 	# AIX 5 now supports IA64 processor
   12368 	lt_prog_compiler_static_CXX='-Bstatic'
   12369       fi
   12370       ;;
   12371     amigaos*)
   12372       # FIXME: we need at least 68020 code to build shared libraries, but
   12373       # adding the `-m68020' flag to GCC prevents building anything better,
   12374       # like `-m68040'.
   12375       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12376       ;;
   12377     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12378       # PIC is the default for these OSes.
   12379       ;;
   12380     mingw* | cygwin* | os2* | pw32*)
   12381       # This hack is so that the source file can tell whether it is being
   12382       # built for inclusion in a dll (and should export symbols for example).
   12383       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12384       # (--disable-auto-import) libraries
   12385       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12386       ;;
   12387     darwin* | rhapsody*)
   12388       # PIC is the default on this platform
   12389       # Common symbols not allowed in MH_DYLIB files
   12390       lt_prog_compiler_pic_CXX='-fno-common'
   12391       ;;
   12392     *djgpp*)
   12393       # DJGPP does not support shared libraries at all
   12394       lt_prog_compiler_pic_CXX=
   12395       ;;
   12396     interix3*)
   12397       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12398       # Instead, we relocate shared libraries at runtime.
   12399       ;;
   12400     sysv4*MP*)
   12401       if test -d /usr/nec; then
   12402 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12403       fi
   12404       ;;
   12405     hpux*)
   12406       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12407       # not for PA HP-UX.
   12408       case $host_cpu in
   12409       hppa*64*|ia64*)
   12410 	;;
   12411       *)
   12412 	lt_prog_compiler_pic_CXX='-fPIC'
   12413 	;;
   12414       esac
   12415       ;;
   12416     *)
   12417       lt_prog_compiler_pic_CXX='-fPIC'
   12418       ;;
   12419     esac
   12420   else
   12421     case $host_os in
   12422       aix4* | aix5*)
   12423 	# All AIX code is PIC.
   12424 	if test "$host_cpu" = ia64; then
   12425 	  # AIX 5 now supports IA64 processor
   12426 	  lt_prog_compiler_static_CXX='-Bstatic'
   12427 	else
   12428 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12429 	fi
   12430 	;;
   12431       chorus*)
   12432 	case $cc_basename in
   12433 	cxch68*)
   12434 	  # Green Hills C++ Compiler
   12435 	  # _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"
   12436 	  ;;
   12437 	esac
   12438 	;;
   12439        darwin*)
   12440          # PIC is the default on this platform
   12441          # Common symbols not allowed in MH_DYLIB files
   12442          case $cc_basename in
   12443            xlc*)
   12444            lt_prog_compiler_pic_CXX='-qnocommon'
   12445            lt_prog_compiler_wl_CXX='-Wl,'
   12446            ;;
   12447          esac
   12448        ;;
   12449       dgux*)
   12450 	case $cc_basename in
   12451 	  ec++*)
   12452 	    lt_prog_compiler_pic_CXX='-KPIC'
   12453 	    ;;
   12454 	  ghcx*)
   12455 	    # Green Hills C++ Compiler
   12456 	    lt_prog_compiler_pic_CXX='-pic'
   12457 	    ;;
   12458 	  *)
   12459 	    ;;
   12460 	esac
   12461 	;;
   12462       freebsd* | kfreebsd*-gnu | dragonfly*)
   12463 	# FreeBSD uses GNU C++
   12464 	;;
   12465       hpux9* | hpux10* | hpux11*)
   12466 	case $cc_basename in
   12467 	  CC*)
   12468 	    lt_prog_compiler_wl_CXX='-Wl,'
   12469 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12470 	    if test "$host_cpu" != ia64; then
   12471 	      lt_prog_compiler_pic_CXX='+Z'
   12472 	    fi
   12473 	    ;;
   12474 	  aCC*)
   12475 	    lt_prog_compiler_wl_CXX='-Wl,'
   12476 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12477 	    case $host_cpu in
   12478 	    hppa*64*|ia64*)
   12479 	      # +Z the default
   12480 	      ;;
   12481 	    *)
   12482 	      lt_prog_compiler_pic_CXX='+Z'
   12483 	      ;;
   12484 	    esac
   12485 	    ;;
   12486 	  *)
   12487 	    ;;
   12488 	esac
   12489 	;;
   12490       interix*)
   12491 	# This is c89, which is MS Visual C++ (no shared libs)
   12492 	# Anyone wants to do a port?
   12493 	;;
   12494       irix5* | irix6* | nonstopux*)
   12495 	case $cc_basename in
   12496 	  CC*)
   12497 	    lt_prog_compiler_wl_CXX='-Wl,'
   12498 	    lt_prog_compiler_static_CXX='-non_shared'
   12499 	    # CC pic flag -KPIC is the default.
   12500 	    ;;
   12501 	  *)
   12502 	    ;;
   12503 	esac
   12504 	;;
   12505       linux*)
   12506 	case $cc_basename in
   12507 	  KCC*)
   12508 	    # KAI C++ Compiler
   12509 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12510 	    lt_prog_compiler_pic_CXX='-fPIC'
   12511 	    ;;
   12512 	  icpc* | ecpc*)
   12513 	    # Intel C++
   12514 	    lt_prog_compiler_wl_CXX='-Wl,'
   12515 	    lt_prog_compiler_pic_CXX='-KPIC'
   12516 	    lt_prog_compiler_static_CXX='-static'
   12517 	    ;;
   12518 	  pgCC*)
   12519 	    # Portland Group C++ compiler.
   12520 	    lt_prog_compiler_wl_CXX='-Wl,'
   12521 	    lt_prog_compiler_pic_CXX='-fpic'
   12522 	    lt_prog_compiler_static_CXX='-Bstatic'
   12523 	    ;;
   12524 	  cxx*)
   12525 	    # Compaq C++
   12526 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12527 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12528 	    lt_prog_compiler_pic_CXX=
   12529 	    lt_prog_compiler_static_CXX='-non_shared'
   12530 	    ;;
   12531 	  *)
   12532 	    case `$CC -V 2>&1 | sed 5q` in
   12533 	    *Sun\ C*)
   12534 	      # Sun C++ 5.9
   12535 	      lt_prog_compiler_pic_CXX='-KPIC'
   12536 	      lt_prog_compiler_static_CXX='-Bstatic'
   12537 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12538 	      ;;
   12539 	    esac
   12540 	    ;;
   12541 	esac
   12542 	;;
   12543       lynxos*)
   12544 	;;
   12545       m88k*)
   12546 	;;
   12547       mvs*)
   12548 	case $cc_basename in
   12549 	  cxx*)
   12550 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12551 	    ;;
   12552 	  *)
   12553 	    ;;
   12554 	esac
   12555 	;;
   12556       netbsd*)
   12557 	;;
   12558       osf3* | osf4* | osf5*)
   12559 	case $cc_basename in
   12560 	  KCC*)
   12561 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12562 	    ;;
   12563 	  RCC*)
   12564 	    # Rational C++ 2.4.1
   12565 	    lt_prog_compiler_pic_CXX='-pic'
   12566 	    ;;
   12567 	  cxx*)
   12568 	    # Digital/Compaq C++
   12569 	    lt_prog_compiler_wl_CXX='-Wl,'
   12570 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12571 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12572 	    lt_prog_compiler_pic_CXX=
   12573 	    lt_prog_compiler_static_CXX='-non_shared'
   12574 	    ;;
   12575 	  *)
   12576 	    ;;
   12577 	esac
   12578 	;;
   12579       psos*)
   12580 	;;
   12581       solaris*)
   12582 	case $cc_basename in
   12583 	  CC*)
   12584 	    # Sun C++ 4.2, 5.x and Centerline C++
   12585 	    lt_prog_compiler_pic_CXX='-KPIC'
   12586 	    lt_prog_compiler_static_CXX='-Bstatic'
   12587 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12588 	    ;;
   12589 	  gcx*)
   12590 	    # Green Hills C++ Compiler
   12591 	    lt_prog_compiler_pic_CXX='-PIC'
   12592 	    ;;
   12593 	  *)
   12594 	    ;;
   12595 	esac
   12596 	;;
   12597       sunos4*)
   12598 	case $cc_basename in
   12599 	  CC*)
   12600 	    # Sun C++ 4.x
   12601 	    lt_prog_compiler_pic_CXX='-pic'
   12602 	    lt_prog_compiler_static_CXX='-Bstatic'
   12603 	    ;;
   12604 	  lcc*)
   12605 	    # Lucid
   12606 	    lt_prog_compiler_pic_CXX='-pic'
   12607 	    ;;
   12608 	  *)
   12609 	    ;;
   12610 	esac
   12611 	;;
   12612       tandem*)
   12613 	case $cc_basename in
   12614 	  NCC*)
   12615 	    # NonStop-UX NCC 3.20
   12616 	    lt_prog_compiler_pic_CXX='-KPIC'
   12617 	    ;;
   12618 	  *)
   12619 	    ;;
   12620 	esac
   12621 	;;
   12622       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12623 	case $cc_basename in
   12624 	  CC*)
   12625 	    lt_prog_compiler_wl_CXX='-Wl,'
   12626 	    lt_prog_compiler_pic_CXX='-KPIC'
   12627 	    lt_prog_compiler_static_CXX='-Bstatic'
   12628 	    ;;
   12629 	esac
   12630 	;;
   12631       vxworks*)
   12632 	;;
   12633       *)
   12634 	lt_prog_compiler_can_build_shared_CXX=no
   12635 	;;
   12636     esac
   12637   fi
   12638 
   12639 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12640 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12641 
   12642 #
   12643 # Check to make sure the PIC flag actually works.
   12644 #
   12645 if test -n "$lt_prog_compiler_pic_CXX"; then
   12646 
   12647 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12648 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12649 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12650   echo $ECHO_N "(cached) $ECHO_C" >&6
   12651 else
   12652   lt_prog_compiler_pic_works_CXX=no
   12653   ac_outfile=conftest.$ac_objext
   12654    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12655    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12656    # Insert the option either (1) after the last *FLAGS variable, or
   12657    # (2) before a word containing "conftest.", or (3) at the end.
   12658    # Note that $ac_compile itself does not contain backslashes and begins
   12659    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12660    # The option is referenced via a variable to avoid confusing sed.
   12661    lt_compile=`echo "$ac_compile" | $SED \
   12662    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12663    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12664    -e 's:$: $lt_compiler_flag:'`
   12665    (eval echo "\"\$as_me:12665: $lt_compile\"" >&5)
   12666    (eval "$lt_compile" 2>conftest.err)
   12667    ac_status=$?
   12668    cat conftest.err >&5
   12669    echo "$as_me:12669: \$? = $ac_status" >&5
   12670    if (exit $ac_status) && test -s "$ac_outfile"; then
   12671      # The compiler can only warn and ignore the option if not recognized
   12672      # So say no if there are warnings other than the usual output.
   12673      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12674      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12675      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12676        lt_prog_compiler_pic_works_CXX=yes
   12677      fi
   12678    fi
   12679    $rm conftest*
   12680 
   12681 fi
   12682 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12683 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12684 
   12685 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12686     case $lt_prog_compiler_pic_CXX in
   12687      "" | " "*) ;;
   12688      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12689      esac
   12690 else
   12691     lt_prog_compiler_pic_CXX=
   12692      lt_prog_compiler_can_build_shared_CXX=no
   12693 fi
   12694 
   12695 fi
   12696 case $host_os in
   12697   # For platforms which do not support PIC, -DPIC is meaningless:
   12698   *djgpp*)
   12699     lt_prog_compiler_pic_CXX=
   12700     ;;
   12701   *)
   12702     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12703     ;;
   12704 esac
   12705 
   12706 #
   12707 # Check to make sure the static flag actually works.
   12708 #
   12709 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12710 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12711 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12712 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12713   echo $ECHO_N "(cached) $ECHO_C" >&6
   12714 else
   12715   lt_prog_compiler_static_works_CXX=no
   12716    save_LDFLAGS="$LDFLAGS"
   12717    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12718    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12719    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12720      # The linker can only warn and ignore the option if not recognized
   12721      # So say no if there are warnings
   12722      if test -s conftest.err; then
   12723        # Append any errors to the config.log.
   12724        cat conftest.err 1>&5
   12725        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12726        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12727        if diff conftest.exp conftest.er2 >/dev/null; then
   12728          lt_prog_compiler_static_works_CXX=yes
   12729        fi
   12730      else
   12731        lt_prog_compiler_static_works_CXX=yes
   12732      fi
   12733    fi
   12734    $rm conftest*
   12735    LDFLAGS="$save_LDFLAGS"
   12736 
   12737 fi
   12738 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12739 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12740 
   12741 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12742     :
   12743 else
   12744     lt_prog_compiler_static_CXX=
   12745 fi
   12746 
   12747 
   12748 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12749 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12750 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12751   echo $ECHO_N "(cached) $ECHO_C" >&6
   12752 else
   12753   lt_cv_prog_compiler_c_o_CXX=no
   12754    $rm -r conftest 2>/dev/null
   12755    mkdir conftest
   12756    cd conftest
   12757    mkdir out
   12758    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12759 
   12760    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12761    # Insert the option either (1) after the last *FLAGS variable, or
   12762    # (2) before a word containing "conftest.", or (3) at the end.
   12763    # Note that $ac_compile itself does not contain backslashes and begins
   12764    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12765    lt_compile=`echo "$ac_compile" | $SED \
   12766    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12767    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12768    -e 's:$: $lt_compiler_flag:'`
   12769    (eval echo "\"\$as_me:12769: $lt_compile\"" >&5)
   12770    (eval "$lt_compile" 2>out/conftest.err)
   12771    ac_status=$?
   12772    cat out/conftest.err >&5
   12773    echo "$as_me:12773: \$? = $ac_status" >&5
   12774    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12775    then
   12776      # The compiler can only warn and ignore the option if not recognized
   12777      # So say no if there are warnings
   12778      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12779      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12780      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12781        lt_cv_prog_compiler_c_o_CXX=yes
   12782      fi
   12783    fi
   12784    chmod u+w . 2>&5
   12785    $rm conftest*
   12786    # SGI C++ compiler will create directory out/ii_files/ for
   12787    # template instantiation
   12788    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12789    $rm out/* && rmdir out
   12790    cd ..
   12791    rmdir conftest
   12792    $rm conftest*
   12793 
   12794 fi
   12795 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12796 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12797 
   12798 
   12799 hard_links="nottested"
   12800 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12801   # do not overwrite the value of need_locks provided by the user
   12802   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12803 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12804   hard_links=yes
   12805   $rm conftest*
   12806   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12807   touch conftest.a
   12808   ln conftest.a conftest.b 2>&5 || hard_links=no
   12809   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12810   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12811 echo "${ECHO_T}$hard_links" >&6; }
   12812   if test "$hard_links" = no; then
   12813     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12814 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12815     need_locks=warn
   12816   fi
   12817 else
   12818   need_locks=no
   12819 fi
   12820 
   12821 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12822 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12823 
   12824   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12825   case $host_os in
   12826   aix4* | aix5*)
   12827     # If we're using GNU nm, then we don't want the "-C" option.
   12828     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12829     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12830       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'
   12831     else
   12832       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'
   12833     fi
   12834     ;;
   12835   pw32*)
   12836     export_symbols_cmds_CXX="$ltdll_cmds"
   12837   ;;
   12838   cygwin* | mingw*)
   12839     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'
   12840   ;;
   12841   *)
   12842     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12843   ;;
   12844   esac
   12845 
   12846 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12847 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12848 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12849 
   12850 #
   12851 # Do we need to explicitly link libc?
   12852 #
   12853 case "x$archive_cmds_need_lc_CXX" in
   12854 x|xyes)
   12855   # Assume -lc should be added
   12856   archive_cmds_need_lc_CXX=yes
   12857 
   12858   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12859     case $archive_cmds_CXX in
   12860     *'~'*)
   12861       # FIXME: we may have to deal with multi-command sequences.
   12862       ;;
   12863     '$CC '*)
   12864       # Test whether the compiler implicitly links with -lc since on some
   12865       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12866       # to ld, don't add -lc before -lgcc.
   12867       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12868 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12869       $rm conftest*
   12870       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12871 
   12872       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12873   (eval $ac_compile) 2>&5
   12874   ac_status=$?
   12875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12876   (exit $ac_status); } 2>conftest.err; then
   12877         soname=conftest
   12878         lib=conftest
   12879         libobjs=conftest.$ac_objext
   12880         deplibs=
   12881         wl=$lt_prog_compiler_wl_CXX
   12882 	pic_flag=$lt_prog_compiler_pic_CXX
   12883         compiler_flags=-v
   12884         linker_flags=-v
   12885         verstring=
   12886         output_objdir=.
   12887         libname=conftest
   12888         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12889         allow_undefined_flag_CXX=
   12890         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12891   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12892   ac_status=$?
   12893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12894   (exit $ac_status); }
   12895         then
   12896 	  archive_cmds_need_lc_CXX=no
   12897         else
   12898 	  archive_cmds_need_lc_CXX=yes
   12899         fi
   12900         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12901       else
   12902         cat conftest.err 1>&5
   12903       fi
   12904       $rm conftest*
   12905       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12906 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12907       ;;
   12908     esac
   12909   fi
   12910   ;;
   12911 esac
   12912 
   12913 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12914 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12915 library_names_spec=
   12916 libname_spec='lib$name'
   12917 soname_spec=
   12918 shrext_cmds=".so"
   12919 postinstall_cmds=
   12920 postuninstall_cmds=
   12921 finish_cmds=
   12922 finish_eval=
   12923 shlibpath_var=
   12924 shlibpath_overrides_runpath=unknown
   12925 version_type=none
   12926 dynamic_linker="$host_os ld.so"
   12927 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12928 if test "$GCC" = yes; then
   12929   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12930   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12931     # if the path contains ";" then we assume it to be the separator
   12932     # otherwise default to the standard path separator (i.e. ":") - it is
   12933     # assumed that no part of a normal pathname contains ";" but that should
   12934     # okay in the real world where ";" in dirpaths is itself problematic.
   12935     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12936   else
   12937     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12938   fi
   12939 else
   12940   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12941 fi
   12942 need_lib_prefix=unknown
   12943 hardcode_into_libs=no
   12944 
   12945 # when you set need_version to no, make sure it does not cause -set_version
   12946 # flags to be left without arguments
   12947 need_version=unknown
   12948 
   12949 case $host_os in
   12950 aix3*)
   12951   version_type=linux
   12952   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12953   shlibpath_var=LIBPATH
   12954 
   12955   # AIX 3 has no versioning support, so we append a major version to the name.
   12956   soname_spec='${libname}${release}${shared_ext}$major'
   12957   ;;
   12958 
   12959 aix4* | aix5*)
   12960   version_type=linux
   12961   need_lib_prefix=no
   12962   need_version=no
   12963   hardcode_into_libs=yes
   12964   if test "$host_cpu" = ia64; then
   12965     # AIX 5 supports IA64
   12966     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12967     shlibpath_var=LD_LIBRARY_PATH
   12968   else
   12969     # With GCC up to 2.95.x, collect2 would create an import file
   12970     # for dependence libraries.  The import file would start with
   12971     # the line `#! .'.  This would cause the generated library to
   12972     # depend on `.', always an invalid library.  This was fixed in
   12973     # development snapshots of GCC prior to 3.0.
   12974     case $host_os in
   12975       aix4 | aix4.[01] | aix4.[01].*)
   12976       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12977 	   echo ' yes '
   12978 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12979 	:
   12980       else
   12981 	can_build_shared=no
   12982       fi
   12983       ;;
   12984     esac
   12985     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12986     # soname into executable. Probably we can add versioning support to
   12987     # collect2, so additional links can be useful in future.
   12988     if test "$aix_use_runtimelinking" = yes; then
   12989       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12990       # instead of lib<name>.a to let people know that these are not
   12991       # typical AIX shared libraries.
   12992       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12993     else
   12994       # We preserve .a as extension for shared libraries through AIX4.2
   12995       # and later when we are not doing run time linking.
   12996       library_names_spec='${libname}${release}.a $libname.a'
   12997       soname_spec='${libname}${release}${shared_ext}$major'
   12998     fi
   12999     shlibpath_var=LIBPATH
   13000   fi
   13001   ;;
   13002 
   13003 amigaos*)
   13004   library_names_spec='$libname.ixlibrary $libname.a'
   13005   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13006   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'
   13007   ;;
   13008 
   13009 beos*)
   13010   library_names_spec='${libname}${shared_ext}'
   13011   dynamic_linker="$host_os ld.so"
   13012   shlibpath_var=LIBRARY_PATH
   13013   ;;
   13014 
   13015 bsdi[45]*)
   13016   version_type=linux
   13017   need_version=no
   13018   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13019   soname_spec='${libname}${release}${shared_ext}$major'
   13020   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13021   shlibpath_var=LD_LIBRARY_PATH
   13022   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13023   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13024   # the default ld.so.conf also contains /usr/contrib/lib and
   13025   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13026   # libtool to hard-code these into programs
   13027   ;;
   13028 
   13029 cygwin* | mingw* | pw32*)
   13030   version_type=windows
   13031   shrext_cmds=".dll"
   13032   need_version=no
   13033   need_lib_prefix=no
   13034 
   13035   case $GCC,$host_os in
   13036   yes,cygwin* | yes,mingw* | yes,pw32*)
   13037     library_names_spec='$libname.dll.a'
   13038     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13039     postinstall_cmds='base_file=`basename \${file}`~
   13040       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13041       dldir=$destdir/`dirname \$dlpath`~
   13042       test -d \$dldir || mkdir -p \$dldir~
   13043       $install_prog $dir/$dlname \$dldir/$dlname~
   13044       chmod a+x \$dldir/$dlname'
   13045     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13046       dlpath=$dir/\$dldll~
   13047        $rm \$dlpath'
   13048     shlibpath_overrides_runpath=yes
   13049 
   13050     case $host_os in
   13051     cygwin*)
   13052       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13053       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13054       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13055       ;;
   13056     mingw*)
   13057       # MinGW DLLs use traditional 'lib' prefix
   13058       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13059       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13060       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13061         # It is most probably a Windows format PATH printed by
   13062         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13063         # path with ; separators, and with drive letters. We can handle the
   13064         # drive letters (cygwin fileutils understands them), so leave them,
   13065         # especially as we might pass files found there to a mingw objdump,
   13066         # which wouldn't understand a cygwinified path. Ahh.
   13067         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13068       else
   13069         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13070       fi
   13071       ;;
   13072     pw32*)
   13073       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13074       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13075       ;;
   13076     esac
   13077     ;;
   13078 
   13079   *)
   13080     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13081     ;;
   13082   esac
   13083   dynamic_linker='Win32 ld.exe'
   13084   # FIXME: first we should search . and the directory the executable is in
   13085   shlibpath_var=PATH
   13086   ;;
   13087 
   13088 darwin* | rhapsody*)
   13089   dynamic_linker="$host_os dyld"
   13090   version_type=darwin
   13091   need_lib_prefix=no
   13092   need_version=no
   13093   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13094   soname_spec='${libname}${release}${major}$shared_ext'
   13095   shlibpath_overrides_runpath=yes
   13096   shlibpath_var=DYLD_LIBRARY_PATH
   13097   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13098   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   13099   if test "$GCC" = yes; then
   13100     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   13101   else
   13102     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   13103   fi
   13104   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13105   ;;
   13106 
   13107 dgux*)
   13108   version_type=linux
   13109   need_lib_prefix=no
   13110   need_version=no
   13111   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13112   soname_spec='${libname}${release}${shared_ext}$major'
   13113   shlibpath_var=LD_LIBRARY_PATH
   13114   ;;
   13115 
   13116 freebsd1*)
   13117   dynamic_linker=no
   13118   ;;
   13119 
   13120 kfreebsd*-gnu)
   13121   version_type=linux
   13122   need_lib_prefix=no
   13123   need_version=no
   13124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13125   soname_spec='${libname}${release}${shared_ext}$major'
   13126   shlibpath_var=LD_LIBRARY_PATH
   13127   shlibpath_overrides_runpath=no
   13128   hardcode_into_libs=yes
   13129   dynamic_linker='GNU ld.so'
   13130   ;;
   13131 
   13132 freebsd* | dragonfly*)
   13133   # DragonFly does not have aout.  When/if they implement a new
   13134   # versioning mechanism, adjust this.
   13135   if test -x /usr/bin/objformat; then
   13136     objformat=`/usr/bin/objformat`
   13137   else
   13138     case $host_os in
   13139     freebsd[123]*) objformat=aout ;;
   13140     *) objformat=elf ;;
   13141     esac
   13142   fi
   13143   version_type=freebsd-$objformat
   13144   case $version_type in
   13145     freebsd-elf*)
   13146       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13147       need_version=no
   13148       need_lib_prefix=no
   13149       ;;
   13150     freebsd-*)
   13151       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13152       need_version=yes
   13153       ;;
   13154   esac
   13155   shlibpath_var=LD_LIBRARY_PATH
   13156   case $host_os in
   13157   freebsd2*)
   13158     shlibpath_overrides_runpath=yes
   13159     ;;
   13160   freebsd3.[01]* | freebsdelf3.[01]*)
   13161     shlibpath_overrides_runpath=yes
   13162     hardcode_into_libs=yes
   13163     ;;
   13164   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13165   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13166     shlibpath_overrides_runpath=no
   13167     hardcode_into_libs=yes
   13168     ;;
   13169   freebsd*) # from 4.6 on
   13170     shlibpath_overrides_runpath=yes
   13171     hardcode_into_libs=yes
   13172     ;;
   13173   esac
   13174   ;;
   13175 
   13176 gnu*)
   13177   version_type=linux
   13178   need_lib_prefix=no
   13179   need_version=no
   13180   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13181   soname_spec='${libname}${release}${shared_ext}$major'
   13182   shlibpath_var=LD_LIBRARY_PATH
   13183   hardcode_into_libs=yes
   13184   ;;
   13185 
   13186 hpux9* | hpux10* | hpux11*)
   13187   # Give a soname corresponding to the major version so that dld.sl refuses to
   13188   # link against other versions.
   13189   version_type=sunos
   13190   need_lib_prefix=no
   13191   need_version=no
   13192   case $host_cpu in
   13193   ia64*)
   13194     shrext_cmds='.so'
   13195     hardcode_into_libs=yes
   13196     dynamic_linker="$host_os dld.so"
   13197     shlibpath_var=LD_LIBRARY_PATH
   13198     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13199     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13200     soname_spec='${libname}${release}${shared_ext}$major'
   13201     if test "X$HPUX_IA64_MODE" = X32; then
   13202       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13203     else
   13204       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13205     fi
   13206     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13207     ;;
   13208    hppa*64*)
   13209      shrext_cmds='.sl'
   13210      hardcode_into_libs=yes
   13211      dynamic_linker="$host_os dld.sl"
   13212      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13213      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13214      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13215      soname_spec='${libname}${release}${shared_ext}$major'
   13216      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13217      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13218      ;;
   13219    *)
   13220     shrext_cmds='.sl'
   13221     dynamic_linker="$host_os dld.sl"
   13222     shlibpath_var=SHLIB_PATH
   13223     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13224     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13225     soname_spec='${libname}${release}${shared_ext}$major'
   13226     ;;
   13227   esac
   13228   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13229   postinstall_cmds='chmod 555 $lib'
   13230   ;;
   13231 
   13232 interix3*)
   13233   version_type=linux
   13234   need_lib_prefix=no
   13235   need_version=no
   13236   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13237   soname_spec='${libname}${release}${shared_ext}$major'
   13238   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13239   shlibpath_var=LD_LIBRARY_PATH
   13240   shlibpath_overrides_runpath=no
   13241   hardcode_into_libs=yes
   13242   ;;
   13243 
   13244 irix5* | irix6* | nonstopux*)
   13245   case $host_os in
   13246     nonstopux*) version_type=nonstopux ;;
   13247     *)
   13248 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13249 		version_type=linux
   13250 	else
   13251 		version_type=irix
   13252 	fi ;;
   13253   esac
   13254   need_lib_prefix=no
   13255   need_version=no
   13256   soname_spec='${libname}${release}${shared_ext}$major'
   13257   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13258   case $host_os in
   13259   irix5* | nonstopux*)
   13260     libsuff= shlibsuff=
   13261     ;;
   13262   *)
   13263     case $LD in # libtool.m4 will add one of these switches to LD
   13264     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13265       libsuff= shlibsuff= libmagic=32-bit;;
   13266     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13267       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13268     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13269       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13270     *) libsuff= shlibsuff= libmagic=never-match;;
   13271     esac
   13272     ;;
   13273   esac
   13274   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13275   shlibpath_overrides_runpath=no
   13276   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13277   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13278   hardcode_into_libs=yes
   13279   ;;
   13280 
   13281 # No shared lib support for Linux oldld, aout, or coff.
   13282 linux*oldld* | linux*aout* | linux*coff*)
   13283   dynamic_linker=no
   13284   ;;
   13285 
   13286 # This must be Linux ELF.
   13287 linux*)
   13288   version_type=linux
   13289   need_lib_prefix=no
   13290   need_version=no
   13291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13292   soname_spec='${libname}${release}${shared_ext}$major'
   13293   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13294   shlibpath_var=LD_LIBRARY_PATH
   13295   shlibpath_overrides_runpath=no
   13296   # This implies no fast_install, which is unacceptable.
   13297   # Some rework will be needed to allow for fast_install
   13298   # before this can be enabled.
   13299   hardcode_into_libs=yes
   13300 
   13301   # Append ld.so.conf contents to the search path
   13302   if test -f /etc/ld.so.conf; then
   13303     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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13304     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13305   fi
   13306 
   13307   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13308   # powerpc, because MkLinux only supported shared libraries with the
   13309   # GNU dynamic linker.  Since this was broken with cross compilers,
   13310   # most powerpc-linux boxes support dynamic linking these days and
   13311   # people can always --disable-shared, the test was removed, and we
   13312   # assume the GNU/Linux dynamic linker is in use.
   13313   dynamic_linker='GNU/Linux ld.so'
   13314   ;;
   13315 
   13316 knetbsd*-gnu)
   13317   version_type=linux
   13318   need_lib_prefix=no
   13319   need_version=no
   13320   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13321   soname_spec='${libname}${release}${shared_ext}$major'
   13322   shlibpath_var=LD_LIBRARY_PATH
   13323   shlibpath_overrides_runpath=no
   13324   hardcode_into_libs=yes
   13325   dynamic_linker='GNU ld.so'
   13326   ;;
   13327 
   13328 netbsd*)
   13329   version_type=sunos
   13330   need_lib_prefix=no
   13331   need_version=no
   13332   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13333     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13334     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13335     dynamic_linker='NetBSD (a.out) ld.so'
   13336   else
   13337     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13338     soname_spec='${libname}${release}${shared_ext}$major'
   13339     dynamic_linker='NetBSD ld.elf_so'
   13340   fi
   13341   shlibpath_var=LD_LIBRARY_PATH
   13342   shlibpath_overrides_runpath=yes
   13343   hardcode_into_libs=yes
   13344   ;;
   13345 
   13346 newsos6)
   13347   version_type=linux
   13348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13349   shlibpath_var=LD_LIBRARY_PATH
   13350   shlibpath_overrides_runpath=yes
   13351   ;;
   13352 
   13353 nto-qnx*)
   13354   version_type=linux
   13355   need_lib_prefix=no
   13356   need_version=no
   13357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13358   soname_spec='${libname}${release}${shared_ext}$major'
   13359   shlibpath_var=LD_LIBRARY_PATH
   13360   shlibpath_overrides_runpath=yes
   13361   ;;
   13362 
   13363 openbsd*)
   13364   version_type=sunos
   13365   sys_lib_dlsearch_path_spec="/usr/lib"
   13366   need_lib_prefix=no
   13367   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13368   case $host_os in
   13369     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13370     *)                         need_version=no  ;;
   13371   esac
   13372   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13373   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13374   shlibpath_var=LD_LIBRARY_PATH
   13375   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13376     case $host_os in
   13377       openbsd2.[89] | openbsd2.[89].*)
   13378 	shlibpath_overrides_runpath=no
   13379 	;;
   13380       *)
   13381 	shlibpath_overrides_runpath=yes
   13382 	;;
   13383       esac
   13384   else
   13385     shlibpath_overrides_runpath=yes
   13386   fi
   13387   ;;
   13388 
   13389 os2*)
   13390   libname_spec='$name'
   13391   shrext_cmds=".dll"
   13392   need_lib_prefix=no
   13393   library_names_spec='$libname${shared_ext} $libname.a'
   13394   dynamic_linker='OS/2 ld.exe'
   13395   shlibpath_var=LIBPATH
   13396   ;;
   13397 
   13398 osf3* | osf4* | osf5*)
   13399   version_type=osf
   13400   need_lib_prefix=no
   13401   need_version=no
   13402   soname_spec='${libname}${release}${shared_ext}$major'
   13403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13404   shlibpath_var=LD_LIBRARY_PATH
   13405   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13406   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13407   ;;
   13408 
   13409 solaris*)
   13410   version_type=linux
   13411   need_lib_prefix=no
   13412   need_version=no
   13413   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13414   soname_spec='${libname}${release}${shared_ext}$major'
   13415   shlibpath_var=LD_LIBRARY_PATH
   13416   shlibpath_overrides_runpath=yes
   13417   hardcode_into_libs=yes
   13418   # ldd complains unless libraries are executable
   13419   postinstall_cmds='chmod +x $lib'
   13420   ;;
   13421 
   13422 sunos4*)
   13423   version_type=sunos
   13424   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13425   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13426   shlibpath_var=LD_LIBRARY_PATH
   13427   shlibpath_overrides_runpath=yes
   13428   if test "$with_gnu_ld" = yes; then
   13429     need_lib_prefix=no
   13430   fi
   13431   need_version=yes
   13432   ;;
   13433 
   13434 sysv4 | sysv4.3*)
   13435   version_type=linux
   13436   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13437   soname_spec='${libname}${release}${shared_ext}$major'
   13438   shlibpath_var=LD_LIBRARY_PATH
   13439   case $host_vendor in
   13440     sni)
   13441       shlibpath_overrides_runpath=no
   13442       need_lib_prefix=no
   13443       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13444       runpath_var=LD_RUN_PATH
   13445       ;;
   13446     siemens)
   13447       need_lib_prefix=no
   13448       ;;
   13449     motorola)
   13450       need_lib_prefix=no
   13451       need_version=no
   13452       shlibpath_overrides_runpath=no
   13453       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13454       ;;
   13455   esac
   13456   ;;
   13457 
   13458 sysv4*MP*)
   13459   if test -d /usr/nec ;then
   13460     version_type=linux
   13461     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13462     soname_spec='$libname${shared_ext}.$major'
   13463     shlibpath_var=LD_LIBRARY_PATH
   13464   fi
   13465   ;;
   13466 
   13467 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13468   version_type=freebsd-elf
   13469   need_lib_prefix=no
   13470   need_version=no
   13471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13472   soname_spec='${libname}${release}${shared_ext}$major'
   13473   shlibpath_var=LD_LIBRARY_PATH
   13474   hardcode_into_libs=yes
   13475   if test "$with_gnu_ld" = yes; then
   13476     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13477     shlibpath_overrides_runpath=no
   13478   else
   13479     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13480     shlibpath_overrides_runpath=yes
   13481     case $host_os in
   13482       sco3.2v5*)
   13483         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13484 	;;
   13485     esac
   13486   fi
   13487   sys_lib_dlsearch_path_spec='/usr/lib'
   13488   ;;
   13489 
   13490 uts4*)
   13491   version_type=linux
   13492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13493   soname_spec='${libname}${release}${shared_ext}$major'
   13494   shlibpath_var=LD_LIBRARY_PATH
   13495   ;;
   13496 
   13497 *)
   13498   dynamic_linker=no
   13499   ;;
   13500 esac
   13501 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13502 echo "${ECHO_T}$dynamic_linker" >&6; }
   13503 test "$dynamic_linker" = no && can_build_shared=no
   13504 
   13505 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13506 if test "$GCC" = yes; then
   13507   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13508 fi
   13509 
   13510 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13511 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13512 hardcode_action_CXX=
   13513 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13514    test -n "$runpath_var_CXX" || \
   13515    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13516 
   13517   # We can hardcode non-existant directories.
   13518   if test "$hardcode_direct_CXX" != no &&
   13519      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13520      # have to relink, otherwise we might link with an installed library
   13521      # when we should be linking with a yet-to-be-installed one
   13522      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13523      test "$hardcode_minus_L_CXX" != no; then
   13524     # Linking always hardcodes the temporary library directory.
   13525     hardcode_action_CXX=relink
   13526   else
   13527     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13528     hardcode_action_CXX=immediate
   13529   fi
   13530 else
   13531   # We cannot hardcode anything, or else we can only hardcode existing
   13532   # directories.
   13533   hardcode_action_CXX=unsupported
   13534 fi
   13535 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13536 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13537 
   13538 if test "$hardcode_action_CXX" = relink; then
   13539   # Fast installation is not supported
   13540   enable_fast_install=no
   13541 elif test "$shlibpath_overrides_runpath" = yes ||
   13542      test "$enable_shared" = no; then
   13543   # Fast installation is not necessary
   13544   enable_fast_install=needless
   13545 fi
   13546 
   13547 
   13548 # The else clause should only fire when bootstrapping the
   13549 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13550 # with your package, and you will get complaints that there are
   13551 # no rules to generate ltmain.sh.
   13552 if test -f "$ltmain"; then
   13553   # See if we are running on zsh, and set the options which allow our commands through
   13554   # without removal of \ escapes.
   13555   if test -n "${ZSH_VERSION+set}" ; then
   13556     setopt NO_GLOB_SUBST
   13557   fi
   13558   # Now quote all the things that may contain metacharacters while being
   13559   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13560   # variables and quote the copies for generation of the libtool script.
   13561   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13562     SED SHELL STRIP \
   13563     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13564     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13565     deplibs_check_method reload_flag reload_cmds need_locks \
   13566     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13567     lt_cv_sys_global_symbol_to_c_name_address \
   13568     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13569     old_postinstall_cmds old_postuninstall_cmds \
   13570     compiler_CXX \
   13571     CC_CXX \
   13572     LD_CXX \
   13573     lt_prog_compiler_wl_CXX \
   13574     lt_prog_compiler_pic_CXX \
   13575     lt_prog_compiler_static_CXX \
   13576     lt_prog_compiler_no_builtin_flag_CXX \
   13577     export_dynamic_flag_spec_CXX \
   13578     thread_safe_flag_spec_CXX \
   13579     whole_archive_flag_spec_CXX \
   13580     enable_shared_with_static_runtimes_CXX \
   13581     old_archive_cmds_CXX \
   13582     old_archive_from_new_cmds_CXX \
   13583     predep_objects_CXX \
   13584     postdep_objects_CXX \
   13585     predeps_CXX \
   13586     postdeps_CXX \
   13587     compiler_lib_search_path_CXX \
   13588     archive_cmds_CXX \
   13589     archive_expsym_cmds_CXX \
   13590     postinstall_cmds_CXX \
   13591     postuninstall_cmds_CXX \
   13592     old_archive_from_expsyms_cmds_CXX \
   13593     allow_undefined_flag_CXX \
   13594     no_undefined_flag_CXX \
   13595     export_symbols_cmds_CXX \
   13596     hardcode_libdir_flag_spec_CXX \
   13597     hardcode_libdir_flag_spec_ld_CXX \
   13598     hardcode_libdir_separator_CXX \
   13599     hardcode_automatic_CXX \
   13600     module_cmds_CXX \
   13601     module_expsym_cmds_CXX \
   13602     lt_cv_prog_compiler_c_o_CXX \
   13603     exclude_expsyms_CXX \
   13604     include_expsyms_CXX; do
   13605 
   13606     case $var in
   13607     old_archive_cmds_CXX | \
   13608     old_archive_from_new_cmds_CXX | \
   13609     archive_cmds_CXX | \
   13610     archive_expsym_cmds_CXX | \
   13611     module_cmds_CXX | \
   13612     module_expsym_cmds_CXX | \
   13613     old_archive_from_expsyms_cmds_CXX | \
   13614     export_symbols_cmds_CXX | \
   13615     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13616     postinstall_cmds | postuninstall_cmds | \
   13617     old_postinstall_cmds | old_postuninstall_cmds | \
   13618     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13619       # Double-quote double-evaled strings.
   13620       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13621       ;;
   13622     *)
   13623       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13624       ;;
   13625     esac
   13626   done
   13627 
   13628   case $lt_echo in
   13629   *'\$0 --fallback-echo"')
   13630     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13631     ;;
   13632   esac
   13633 
   13634 cfgfile="$ofile"
   13635 
   13636   cat <<__EOF__ >> "$cfgfile"
   13637 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13638 
   13639 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13640 
   13641 # Shell to use when invoking shell scripts.
   13642 SHELL=$lt_SHELL
   13643 
   13644 # Whether or not to build shared libraries.
   13645 build_libtool_libs=$enable_shared
   13646 
   13647 # Whether or not to build static libraries.
   13648 build_old_libs=$enable_static
   13649 
   13650 # Whether or not to add -lc for building shared libraries.
   13651 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13652 
   13653 # Whether or not to disallow shared libs when runtime libs are static
   13654 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13655 
   13656 # Whether or not to optimize for fast installation.
   13657 fast_install=$enable_fast_install
   13658 
   13659 # The host system.
   13660 host_alias=$host_alias
   13661 host=$host
   13662 host_os=$host_os
   13663 
   13664 # The build system.
   13665 build_alias=$build_alias
   13666 build=$build
   13667 build_os=$build_os
   13668 
   13669 # An echo program that does not interpret backslashes.
   13670 echo=$lt_echo
   13671 
   13672 # The archiver.
   13673 AR=$lt_AR
   13674 AR_FLAGS=$lt_AR_FLAGS
   13675 
   13676 # A C compiler.
   13677 LTCC=$lt_LTCC
   13678 
   13679 # LTCC compiler flags.
   13680 LTCFLAGS=$lt_LTCFLAGS
   13681 
   13682 # A language-specific compiler.
   13683 CC=$lt_compiler_CXX
   13684 
   13685 # Is the compiler the GNU C compiler?
   13686 with_gcc=$GCC_CXX
   13687 
   13688 # An ERE matcher.
   13689 EGREP=$lt_EGREP
   13690 
   13691 # The linker used to build libraries.
   13692 LD=$lt_LD_CXX
   13693 
   13694 # Whether we need hard or soft links.
   13695 LN_S=$lt_LN_S
   13696 
   13697 # A BSD-compatible nm program.
   13698 NM=$lt_NM
   13699 
   13700 # A symbol stripping program
   13701 STRIP=$lt_STRIP
   13702 
   13703 # Used to examine libraries when file_magic_cmd begins "file"
   13704 MAGIC_CMD=$MAGIC_CMD
   13705 
   13706 # Used on cygwin: DLL creation program.
   13707 DLLTOOL="$DLLTOOL"
   13708 
   13709 # Used on cygwin: object dumper.
   13710 OBJDUMP="$OBJDUMP"
   13711 
   13712 # Used on cygwin: assembler.
   13713 AS="$AS"
   13714 
   13715 # The name of the directory that contains temporary libtool files.
   13716 objdir=$objdir
   13717 
   13718 # How to create reloadable object files.
   13719 reload_flag=$lt_reload_flag
   13720 reload_cmds=$lt_reload_cmds
   13721 
   13722 # How to pass a linker flag through the compiler.
   13723 wl=$lt_lt_prog_compiler_wl_CXX
   13724 
   13725 # Object file suffix (normally "o").
   13726 objext="$ac_objext"
   13727 
   13728 # Old archive suffix (normally "a").
   13729 libext="$libext"
   13730 
   13731 # Shared library suffix (normally ".so").
   13732 shrext_cmds='$shrext_cmds'
   13733 
   13734 # Executable file suffix (normally "").
   13735 exeext="$exeext"
   13736 
   13737 # Additional compiler flags for building library objects.
   13738 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13739 pic_mode=$pic_mode
   13740 
   13741 # What is the maximum length of a command?
   13742 max_cmd_len=$lt_cv_sys_max_cmd_len
   13743 
   13744 # Does compiler simultaneously support -c and -o options?
   13745 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13746 
   13747 # Must we lock files when doing compilation?
   13748 need_locks=$lt_need_locks
   13749 
   13750 # Do we need the lib prefix for modules?
   13751 need_lib_prefix=$need_lib_prefix
   13752 
   13753 # Do we need a version for libraries?
   13754 need_version=$need_version
   13755 
   13756 # Whether dlopen is supported.
   13757 dlopen_support=$enable_dlopen
   13758 
   13759 # Whether dlopen of programs is supported.
   13760 dlopen_self=$enable_dlopen_self
   13761 
   13762 # Whether dlopen of statically linked programs is supported.
   13763 dlopen_self_static=$enable_dlopen_self_static
   13764 
   13765 # Compiler flag to prevent dynamic linking.
   13766 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13767 
   13768 # Compiler flag to turn off builtin functions.
   13769 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13770 
   13771 # Compiler flag to allow reflexive dlopens.
   13772 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13773 
   13774 # Compiler flag to generate shared objects directly from archives.
   13775 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13776 
   13777 # Compiler flag to generate thread-safe objects.
   13778 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13779 
   13780 # Library versioning type.
   13781 version_type=$version_type
   13782 
   13783 # Format of library name prefix.
   13784 libname_spec=$lt_libname_spec
   13785 
   13786 # List of archive names.  First name is the real one, the rest are links.
   13787 # The last name is the one that the linker finds with -lNAME.
   13788 library_names_spec=$lt_library_names_spec
   13789 
   13790 # The coded name of the library, if different from the real name.
   13791 soname_spec=$lt_soname_spec
   13792 
   13793 # Commands used to build and install an old-style archive.
   13794 RANLIB=$lt_RANLIB
   13795 old_archive_cmds=$lt_old_archive_cmds_CXX
   13796 old_postinstall_cmds=$lt_old_postinstall_cmds
   13797 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13798 
   13799 # Create an old-style archive from a shared archive.
   13800 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13801 
   13802 # Create a temporary old-style archive to link instead of a shared archive.
   13803 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13804 
   13805 # Commands used to build and install a shared archive.
   13806 archive_cmds=$lt_archive_cmds_CXX
   13807 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13808 postinstall_cmds=$lt_postinstall_cmds
   13809 postuninstall_cmds=$lt_postuninstall_cmds
   13810 
   13811 # Commands used to build a loadable module (assumed same as above if empty)
   13812 module_cmds=$lt_module_cmds_CXX
   13813 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13814 
   13815 # Commands to strip libraries.
   13816 old_striplib=$lt_old_striplib
   13817 striplib=$lt_striplib
   13818 
   13819 # Dependencies to place before the objects being linked to create a
   13820 # shared library.
   13821 predep_objects=$lt_predep_objects_CXX
   13822 
   13823 # Dependencies to place after the objects being linked to create a
   13824 # shared library.
   13825 postdep_objects=$lt_postdep_objects_CXX
   13826 
   13827 # Dependencies to place before the objects being linked to create a
   13828 # shared library.
   13829 predeps=$lt_predeps_CXX
   13830 
   13831 # Dependencies to place after the objects being linked to create a
   13832 # shared library.
   13833 postdeps=$lt_postdeps_CXX
   13834 
   13835 # The library search path used internally by the compiler when linking
   13836 # a shared library.
   13837 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13838 
   13839 # Method to check whether dependent libraries are shared objects.
   13840 deplibs_check_method=$lt_deplibs_check_method
   13841 
   13842 # Command to use when deplibs_check_method == file_magic.
   13843 file_magic_cmd=$lt_file_magic_cmd
   13844 
   13845 # Flag that allows shared libraries with undefined symbols to be built.
   13846 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13847 
   13848 # Flag that forces no undefined symbols.
   13849 no_undefined_flag=$lt_no_undefined_flag_CXX
   13850 
   13851 # Commands used to finish a libtool library installation in a directory.
   13852 finish_cmds=$lt_finish_cmds
   13853 
   13854 # Same as above, but a single script fragment to be evaled but not shown.
   13855 finish_eval=$lt_finish_eval
   13856 
   13857 # Take the output of nm and produce a listing of raw symbols and C names.
   13858 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13859 
   13860 # Transform the output of nm in a proper C declaration
   13861 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13862 
   13863 # Transform the output of nm in a C name address pair
   13864 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13865 
   13866 # This is the shared library runtime path variable.
   13867 runpath_var=$runpath_var
   13868 
   13869 # This is the shared library path variable.
   13870 shlibpath_var=$shlibpath_var
   13871 
   13872 # Is shlibpath searched before the hard-coded library search path?
   13873 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13874 
   13875 # How to hardcode a shared library path into an executable.
   13876 hardcode_action=$hardcode_action_CXX
   13877 
   13878 # Whether we should hardcode library paths into libraries.
   13879 hardcode_into_libs=$hardcode_into_libs
   13880 
   13881 # Flag to hardcode \$libdir into a binary during linking.
   13882 # This must work even if \$libdir does not exist.
   13883 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13884 
   13885 # If ld is used when linking, flag to hardcode \$libdir into
   13886 # a binary during linking. This must work even if \$libdir does
   13887 # not exist.
   13888 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13889 
   13890 # Whether we need a single -rpath flag with a separated argument.
   13891 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13892 
   13893 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13894 # resulting binary.
   13895 hardcode_direct=$hardcode_direct_CXX
   13896 
   13897 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13898 # resulting binary.
   13899 hardcode_minus_L=$hardcode_minus_L_CXX
   13900 
   13901 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13902 # the resulting binary.
   13903 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13904 
   13905 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13906 # and all subsequent libraries and executables linked against it.
   13907 hardcode_automatic=$hardcode_automatic_CXX
   13908 
   13909 # Variables whose values should be saved in libtool wrapper scripts and
   13910 # restored at relink time.
   13911 variables_saved_for_relink="$variables_saved_for_relink"
   13912 
   13913 # Whether libtool must link a program against all its dependency libraries.
   13914 link_all_deplibs=$link_all_deplibs_CXX
   13915 
   13916 # Compile-time system search path for libraries
   13917 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13918 
   13919 # Run-time system search path for libraries
   13920 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13921 
   13922 # Fix the shell variable \$srcfile for the compiler.
   13923 fix_srcfile_path="$fix_srcfile_path_CXX"
   13924 
   13925 # Set to yes if exported symbols are required.
   13926 always_export_symbols=$always_export_symbols_CXX
   13927 
   13928 # The commands to list exported symbols.
   13929 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13930 
   13931 # The commands to extract the exported symbol list from a shared archive.
   13932 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13933 
   13934 # Symbols that should not be listed in the preloaded symbols.
   13935 exclude_expsyms=$lt_exclude_expsyms_CXX
   13936 
   13937 # Symbols that must always be exported.
   13938 include_expsyms=$lt_include_expsyms_CXX
   13939 
   13940 # ### END LIBTOOL TAG CONFIG: $tagname
   13941 
   13942 __EOF__
   13943 
   13944 
   13945 else
   13946   # If there is no Makefile yet, we rely on a make rule to execute
   13947   # `config.status --recheck' to rerun these tests and create the
   13948   # libtool script then.
   13949   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13950   if test -f "$ltmain_in"; then
   13951     test -f Makefile && make "$ltmain"
   13952   fi
   13953 fi
   13954 
   13955 
   13956 ac_ext=c
   13957 ac_cpp='$CPP $CPPFLAGS'
   13958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13961 
   13962 CC=$lt_save_CC
   13963 LDCXX=$LD
   13964 LD=$lt_save_LD
   13965 GCC=$lt_save_GCC
   13966 with_gnu_ldcxx=$with_gnu_ld
   13967 with_gnu_ld=$lt_save_with_gnu_ld
   13968 lt_cv_path_LDCXX=$lt_cv_path_LD
   13969 lt_cv_path_LD=$lt_save_path_LD
   13970 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13971 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13972 
   13973 	else
   13974 	  tagname=""
   13975 	fi
   13976 	;;
   13977 
   13978       F77)
   13979 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13980 
   13981 ac_ext=f
   13982 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13983 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13984 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13985 
   13986 
   13987 archive_cmds_need_lc_F77=no
   13988 allow_undefined_flag_F77=
   13989 always_export_symbols_F77=no
   13990 archive_expsym_cmds_F77=
   13991 export_dynamic_flag_spec_F77=
   13992 hardcode_direct_F77=no
   13993 hardcode_libdir_flag_spec_F77=
   13994 hardcode_libdir_flag_spec_ld_F77=
   13995 hardcode_libdir_separator_F77=
   13996 hardcode_minus_L_F77=no
   13997 hardcode_automatic_F77=no
   13998 module_cmds_F77=
   13999 module_expsym_cmds_F77=
   14000 link_all_deplibs_F77=unknown
   14001 old_archive_cmds_F77=$old_archive_cmds
   14002 no_undefined_flag_F77=
   14003 whole_archive_flag_spec_F77=
   14004 enable_shared_with_static_runtimes_F77=no
   14005 
   14006 # Source file extension for f77 test sources.
   14007 ac_ext=f
   14008 
   14009 # Object file extension for compiled f77 test sources.
   14010 objext=o
   14011 objext_F77=$objext
   14012 
   14013 # Code to be used in simple compile tests
   14014 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   14015 
   14016 # Code to be used in simple link tests
   14017 lt_simple_link_test_code="      program t\n      end\n"
   14018 
   14019 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14020 
   14021 # If no C compiler was specified, use CC.
   14022 LTCC=${LTCC-"$CC"}
   14023 
   14024 # If no C compiler flags were specified, use CFLAGS.
   14025 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14026 
   14027 # Allow CC to be a program name with arguments.
   14028 compiler=$CC
   14029 
   14030 
   14031 # save warnings/boilerplate of simple test code
   14032 ac_outfile=conftest.$ac_objext
   14033 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   14034 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14035 _lt_compiler_boilerplate=`cat conftest.err`
   14036 $rm conftest*
   14037 
   14038 ac_outfile=conftest.$ac_objext
   14039 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   14040 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14041 _lt_linker_boilerplate=`cat conftest.err`
   14042 $rm conftest*
   14043 
   14044 
   14045 # Allow CC to be a program name with arguments.
   14046 lt_save_CC="$CC"
   14047 CC=${F77-"f77"}
   14048 compiler=$CC
   14049 compiler_F77=$CC
   14050 for cc_temp in $compiler""; do
   14051   case $cc_temp in
   14052     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14053     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14054     \-*) ;;
   14055     *) break;;
   14056   esac
   14057 done
   14058 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14059 
   14060 
   14061 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14062 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   14063 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14064 echo "${ECHO_T}$can_build_shared" >&6; }
   14065 
   14066 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14067 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   14068 test "$can_build_shared" = "no" && enable_shared=no
   14069 
   14070 # On AIX, shared libraries and static libraries use the same namespace, and
   14071 # are all built from PIC.
   14072 case $host_os in
   14073 aix3*)
   14074   test "$enable_shared" = yes && enable_static=no
   14075   if test -n "$RANLIB"; then
   14076     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14077     postinstall_cmds='$RANLIB $lib'
   14078   fi
   14079   ;;
   14080 aix4* | aix5*)
   14081   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14082     test "$enable_shared" = yes && enable_static=no
   14083   fi
   14084   ;;
   14085 esac
   14086 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   14087 echo "${ECHO_T}$enable_shared" >&6; }
   14088 
   14089 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14090 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   14091 # Make sure either enable_shared or enable_static is yes.
   14092 test "$enable_shared" = yes || enable_static=yes
   14093 { echo "$as_me:$LINENO: result: $enable_static" >&5
   14094 echo "${ECHO_T}$enable_static" >&6; }
   14095 
   14096 GCC_F77="$G77"
   14097 LD_F77="$LD"
   14098 
   14099 lt_prog_compiler_wl_F77=
   14100 lt_prog_compiler_pic_F77=
   14101 lt_prog_compiler_static_F77=
   14102 
   14103 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14104 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   14105 
   14106   if test "$GCC" = yes; then
   14107     lt_prog_compiler_wl_F77='-Wl,'
   14108     lt_prog_compiler_static_F77='-static'
   14109 
   14110     case $host_os in
   14111       aix*)
   14112       # All AIX code is PIC.
   14113       if test "$host_cpu" = ia64; then
   14114 	# AIX 5 now supports IA64 processor
   14115 	lt_prog_compiler_static_F77='-Bstatic'
   14116       fi
   14117       ;;
   14118 
   14119     amigaos*)
   14120       # FIXME: we need at least 68020 code to build shared libraries, but
   14121       # adding the `-m68020' flag to GCC prevents building anything better,
   14122       # like `-m68040'.
   14123       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14124       ;;
   14125 
   14126     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14127       # PIC is the default for these OSes.
   14128       ;;
   14129 
   14130     mingw* | cygwin* | pw32* | os2*)
   14131       # This hack is so that the source file can tell whether it is being
   14132       # built for inclusion in a dll (and should export symbols for example).
   14133       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14134       # (--disable-auto-import) libraries
   14135       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14136       ;;
   14137 
   14138     darwin* | rhapsody*)
   14139       # PIC is the default on this platform
   14140       # Common symbols not allowed in MH_DYLIB files
   14141       lt_prog_compiler_pic_F77='-fno-common'
   14142       ;;
   14143 
   14144     interix3*)
   14145       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14146       # Instead, we relocate shared libraries at runtime.
   14147       ;;
   14148 
   14149     msdosdjgpp*)
   14150       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14151       # on systems that don't support them.
   14152       lt_prog_compiler_can_build_shared_F77=no
   14153       enable_shared=no
   14154       ;;
   14155 
   14156     sysv4*MP*)
   14157       if test -d /usr/nec; then
   14158 	lt_prog_compiler_pic_F77=-Kconform_pic
   14159       fi
   14160       ;;
   14161 
   14162     hpux*)
   14163       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14164       # not for PA HP-UX.
   14165       case $host_cpu in
   14166       hppa*64*|ia64*)
   14167 	# +Z the default
   14168 	;;
   14169       *)
   14170 	lt_prog_compiler_pic_F77='-fPIC'
   14171 	;;
   14172       esac
   14173       ;;
   14174 
   14175     *)
   14176       lt_prog_compiler_pic_F77='-fPIC'
   14177       ;;
   14178     esac
   14179   else
   14180     # PORTME Check for flag to pass linker flags through the system compiler.
   14181     case $host_os in
   14182     aix*)
   14183       lt_prog_compiler_wl_F77='-Wl,'
   14184       if test "$host_cpu" = ia64; then
   14185 	# AIX 5 now supports IA64 processor
   14186 	lt_prog_compiler_static_F77='-Bstatic'
   14187       else
   14188 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14189       fi
   14190       ;;
   14191       darwin*)
   14192         # PIC is the default on this platform
   14193         # Common symbols not allowed in MH_DYLIB files
   14194        case $cc_basename in
   14195          xlc*)
   14196          lt_prog_compiler_pic_F77='-qnocommon'
   14197          lt_prog_compiler_wl_F77='-Wl,'
   14198          ;;
   14199        esac
   14200        ;;
   14201 
   14202     mingw* | cygwin* | pw32* | os2*)
   14203       # This hack is so that the source file can tell whether it is being
   14204       # built for inclusion in a dll (and should export symbols for example).
   14205       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14206       # (--disable-auto-import) libraries
   14207       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14208       ;;
   14209 
   14210     hpux9* | hpux10* | hpux11*)
   14211       lt_prog_compiler_wl_F77='-Wl,'
   14212       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14213       # not for PA HP-UX.
   14214       case $host_cpu in
   14215       hppa*64*|ia64*)
   14216 	# +Z the default
   14217 	;;
   14218       *)
   14219 	lt_prog_compiler_pic_F77='+Z'
   14220 	;;
   14221       esac
   14222       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14223       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14224       ;;
   14225 
   14226     irix5* | irix6* | nonstopux*)
   14227       lt_prog_compiler_wl_F77='-Wl,'
   14228       # PIC (with -KPIC) is the default.
   14229       lt_prog_compiler_static_F77='-non_shared'
   14230       ;;
   14231 
   14232     newsos6)
   14233       lt_prog_compiler_pic_F77='-KPIC'
   14234       lt_prog_compiler_static_F77='-Bstatic'
   14235       ;;
   14236 
   14237     linux*)
   14238       case $cc_basename in
   14239       icc* | ecc*)
   14240 	lt_prog_compiler_wl_F77='-Wl,'
   14241 	lt_prog_compiler_pic_F77='-KPIC'
   14242 	lt_prog_compiler_static_F77='-static'
   14243         ;;
   14244       pgcc* | pgf77* | pgf90* | pgf95*)
   14245         # Portland Group compilers (*not* the Pentium gcc compiler,
   14246 	# which looks to be a dead project)
   14247 	lt_prog_compiler_wl_F77='-Wl,'
   14248 	lt_prog_compiler_pic_F77='-fpic'
   14249 	lt_prog_compiler_static_F77='-Bstatic'
   14250         ;;
   14251       ccc*)
   14252         lt_prog_compiler_wl_F77='-Wl,'
   14253         # All Alpha code is PIC.
   14254         lt_prog_compiler_static_F77='-non_shared'
   14255         ;;
   14256       como)
   14257         lt_prog_compiler_wl_F77='-lopt='
   14258         ;;
   14259       *)
   14260         case `$CC -V 2>&1 | sed 5q` in
   14261 	*Sun\ C*)
   14262 	  # Sun C 5.9
   14263 	  lt_prog_compiler_pic_F77='-KPIC'
   14264 	  lt_prog_compiler_static_F77='-Bstatic'
   14265 	  lt_prog_compiler_wl_F77='-Wl,'
   14266 	  ;;
   14267 	*Sun\ F*)
   14268 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14269 	  lt_prog_compiler_pic_F77='-KPIC'
   14270 	  lt_prog_compiler_static_F77='-Bstatic'
   14271 	  lt_prog_compiler_wl_F77=''
   14272 	  ;;
   14273 	esac
   14274 	;;
   14275       esac
   14276       ;;
   14277 
   14278     osf3* | osf4* | osf5*)
   14279       lt_prog_compiler_wl_F77='-Wl,'
   14280       # All OSF/1 code is PIC.
   14281       lt_prog_compiler_static_F77='-non_shared'
   14282       ;;
   14283 
   14284     solaris*)
   14285       lt_prog_compiler_pic_F77='-KPIC'
   14286       lt_prog_compiler_static_F77='-Bstatic'
   14287       case $cc_basename in
   14288       f77* | f90* | f95*)
   14289 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14290       *)
   14291 	lt_prog_compiler_wl_F77='-Wl,';;
   14292       esac
   14293       ;;
   14294 
   14295     sunos4*)
   14296       lt_prog_compiler_wl_F77='-Qoption ld '
   14297       lt_prog_compiler_pic_F77='-PIC'
   14298       lt_prog_compiler_static_F77='-Bstatic'
   14299       ;;
   14300 
   14301     sysv4 | sysv4.2uw2* | sysv4.3*)
   14302       lt_prog_compiler_wl_F77='-Wl,'
   14303       lt_prog_compiler_pic_F77='-KPIC'
   14304       lt_prog_compiler_static_F77='-Bstatic'
   14305       ;;
   14306 
   14307     sysv4*MP*)
   14308       if test -d /usr/nec ;then
   14309 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14310 	lt_prog_compiler_static_F77='-Bstatic'
   14311       fi
   14312       ;;
   14313 
   14314     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14315       lt_prog_compiler_wl_F77='-Wl,'
   14316       lt_prog_compiler_pic_F77='-KPIC'
   14317       lt_prog_compiler_static_F77='-Bstatic'
   14318       ;;
   14319 
   14320     unicos*)
   14321       lt_prog_compiler_wl_F77='-Wl,'
   14322       lt_prog_compiler_can_build_shared_F77=no
   14323       ;;
   14324 
   14325     uts4*)
   14326       lt_prog_compiler_pic_F77='-pic'
   14327       lt_prog_compiler_static_F77='-Bstatic'
   14328       ;;
   14329 
   14330     *)
   14331       lt_prog_compiler_can_build_shared_F77=no
   14332       ;;
   14333     esac
   14334   fi
   14335 
   14336 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14337 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14338 
   14339 #
   14340 # Check to make sure the PIC flag actually works.
   14341 #
   14342 if test -n "$lt_prog_compiler_pic_F77"; then
   14343 
   14344 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14345 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14346 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14347   echo $ECHO_N "(cached) $ECHO_C" >&6
   14348 else
   14349   lt_prog_compiler_pic_works_F77=no
   14350   ac_outfile=conftest.$ac_objext
   14351    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14352    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14353    # Insert the option either (1) after the last *FLAGS variable, or
   14354    # (2) before a word containing "conftest.", or (3) at the end.
   14355    # Note that $ac_compile itself does not contain backslashes and begins
   14356    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14357    # The option is referenced via a variable to avoid confusing sed.
   14358    lt_compile=`echo "$ac_compile" | $SED \
   14359    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14360    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14361    -e 's:$: $lt_compiler_flag:'`
   14362    (eval echo "\"\$as_me:14362: $lt_compile\"" >&5)
   14363    (eval "$lt_compile" 2>conftest.err)
   14364    ac_status=$?
   14365    cat conftest.err >&5
   14366    echo "$as_me:14366: \$? = $ac_status" >&5
   14367    if (exit $ac_status) && test -s "$ac_outfile"; then
   14368      # The compiler can only warn and ignore the option if not recognized
   14369      # So say no if there are warnings other than the usual output.
   14370      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14371      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14372      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14373        lt_prog_compiler_pic_works_F77=yes
   14374      fi
   14375    fi
   14376    $rm conftest*
   14377 
   14378 fi
   14379 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14380 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   14381 
   14382 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14383     case $lt_prog_compiler_pic_F77 in
   14384      "" | " "*) ;;
   14385      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14386      esac
   14387 else
   14388     lt_prog_compiler_pic_F77=
   14389      lt_prog_compiler_can_build_shared_F77=no
   14390 fi
   14391 
   14392 fi
   14393 case $host_os in
   14394   # For platforms which do not support PIC, -DPIC is meaningless:
   14395   *djgpp*)
   14396     lt_prog_compiler_pic_F77=
   14397     ;;
   14398   *)
   14399     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14400     ;;
   14401 esac
   14402 
   14403 #
   14404 # Check to make sure the static flag actually works.
   14405 #
   14406 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14407 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14408 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14409 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14410   echo $ECHO_N "(cached) $ECHO_C" >&6
   14411 else
   14412   lt_prog_compiler_static_works_F77=no
   14413    save_LDFLAGS="$LDFLAGS"
   14414    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14415    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   14416    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14417      # The linker can only warn and ignore the option if not recognized
   14418      # So say no if there are warnings
   14419      if test -s conftest.err; then
   14420        # Append any errors to the config.log.
   14421        cat conftest.err 1>&5
   14422        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14423        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14424        if diff conftest.exp conftest.er2 >/dev/null; then
   14425          lt_prog_compiler_static_works_F77=yes
   14426        fi
   14427      else
   14428        lt_prog_compiler_static_works_F77=yes
   14429      fi
   14430    fi
   14431    $rm conftest*
   14432    LDFLAGS="$save_LDFLAGS"
   14433 
   14434 fi
   14435 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14436 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14437 
   14438 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14439     :
   14440 else
   14441     lt_prog_compiler_static_F77=
   14442 fi
   14443 
   14444 
   14445 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14446 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14447 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14448   echo $ECHO_N "(cached) $ECHO_C" >&6
   14449 else
   14450   lt_cv_prog_compiler_c_o_F77=no
   14451    $rm -r conftest 2>/dev/null
   14452    mkdir conftest
   14453    cd conftest
   14454    mkdir out
   14455    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14456 
   14457    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14458    # Insert the option either (1) after the last *FLAGS variable, or
   14459    # (2) before a word containing "conftest.", or (3) at the end.
   14460    # Note that $ac_compile itself does not contain backslashes and begins
   14461    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14462    lt_compile=`echo "$ac_compile" | $SED \
   14463    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14464    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14465    -e 's:$: $lt_compiler_flag:'`
   14466    (eval echo "\"\$as_me:14466: $lt_compile\"" >&5)
   14467    (eval "$lt_compile" 2>out/conftest.err)
   14468    ac_status=$?
   14469    cat out/conftest.err >&5
   14470    echo "$as_me:14470: \$? = $ac_status" >&5
   14471    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14472    then
   14473      # The compiler can only warn and ignore the option if not recognized
   14474      # So say no if there are warnings
   14475      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14476      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14477      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14478        lt_cv_prog_compiler_c_o_F77=yes
   14479      fi
   14480    fi
   14481    chmod u+w . 2>&5
   14482    $rm conftest*
   14483    # SGI C++ compiler will create directory out/ii_files/ for
   14484    # template instantiation
   14485    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14486    $rm out/* && rmdir out
   14487    cd ..
   14488    rmdir conftest
   14489    $rm conftest*
   14490 
   14491 fi
   14492 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14493 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14494 
   14495 
   14496 hard_links="nottested"
   14497 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14498   # do not overwrite the value of need_locks provided by the user
   14499   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14500 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14501   hard_links=yes
   14502   $rm conftest*
   14503   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14504   touch conftest.a
   14505   ln conftest.a conftest.b 2>&5 || hard_links=no
   14506   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14507   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14508 echo "${ECHO_T}$hard_links" >&6; }
   14509   if test "$hard_links" = no; then
   14510     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14511 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14512     need_locks=warn
   14513   fi
   14514 else
   14515   need_locks=no
   14516 fi
   14517 
   14518 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14519 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14520 
   14521   runpath_var=
   14522   allow_undefined_flag_F77=
   14523   enable_shared_with_static_runtimes_F77=no
   14524   archive_cmds_F77=
   14525   archive_expsym_cmds_F77=
   14526   old_archive_From_new_cmds_F77=
   14527   old_archive_from_expsyms_cmds_F77=
   14528   export_dynamic_flag_spec_F77=
   14529   whole_archive_flag_spec_F77=
   14530   thread_safe_flag_spec_F77=
   14531   hardcode_libdir_flag_spec_F77=
   14532   hardcode_libdir_flag_spec_ld_F77=
   14533   hardcode_libdir_separator_F77=
   14534   hardcode_direct_F77=no
   14535   hardcode_minus_L_F77=no
   14536   hardcode_shlibpath_var_F77=unsupported
   14537   link_all_deplibs_F77=unknown
   14538   hardcode_automatic_F77=no
   14539   module_cmds_F77=
   14540   module_expsym_cmds_F77=
   14541   always_export_symbols_F77=no
   14542   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14543   # include_expsyms should be a list of space-separated symbols to be *always*
   14544   # included in the symbol list
   14545   include_expsyms_F77=
   14546   # exclude_expsyms can be an extended regexp of symbols to exclude
   14547   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14548   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14549   # as well as any symbol that contains `d'.
   14550   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14551   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14552   # platforms (ab)use it in PIC code, but their linkers get confused if
   14553   # the symbol is explicitly referenced.  Since portable code cannot
   14554   # rely on this symbol name, it's probably fine to never include it in
   14555   # preloaded symbol tables.
   14556   extract_expsyms_cmds=
   14557   # Just being paranoid about ensuring that cc_basename is set.
   14558   for cc_temp in $compiler""; do
   14559   case $cc_temp in
   14560     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14561     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14562     \-*) ;;
   14563     *) break;;
   14564   esac
   14565 done
   14566 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14567 
   14568   case $host_os in
   14569   cygwin* | mingw* | pw32*)
   14570     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14571     # When not using gcc, we currently assume that we are using
   14572     # Microsoft Visual C++.
   14573     if test "$GCC" != yes; then
   14574       with_gnu_ld=no
   14575     fi
   14576     ;;
   14577   interix*)
   14578     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14579     with_gnu_ld=yes
   14580     ;;
   14581   openbsd*)
   14582     with_gnu_ld=no
   14583     ;;
   14584   esac
   14585 
   14586   ld_shlibs_F77=yes
   14587   if test "$with_gnu_ld" = yes; then
   14588     # If archive_cmds runs LD, not CC, wlarc should be empty
   14589     wlarc='${wl}'
   14590 
   14591     # Set some defaults for GNU ld with shared library support. These
   14592     # are reset later if shared libraries are not supported. Putting them
   14593     # here allows them to be overridden if necessary.
   14594     runpath_var=LD_RUN_PATH
   14595     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14596     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14597     # ancient GNU ld didn't support --whole-archive et. al.
   14598     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14599 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14600       else
   14601   	whole_archive_flag_spec_F77=
   14602     fi
   14603     supports_anon_versioning=no
   14604     case `$LD -v 2>/dev/null` in
   14605       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14606       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14607       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14608       *\ 2.11.*) ;; # other 2.11 versions
   14609       *) supports_anon_versioning=yes ;;
   14610     esac
   14611 
   14612     # See if GNU ld supports shared libraries.
   14613     case $host_os in
   14614     aix3* | aix4* | aix5*)
   14615       # On AIX/PPC, the GNU linker is very broken
   14616       if test "$host_cpu" != ia64; then
   14617 	ld_shlibs_F77=no
   14618 	cat <<EOF 1>&2
   14619 
   14620 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14621 *** to be unable to reliably create shared libraries on AIX.
   14622 *** Therefore, libtool is disabling shared libraries support.  If you
   14623 *** really care for shared libraries, you may want to modify your PATH
   14624 *** so that a non-GNU linker is found, and then restart.
   14625 
   14626 EOF
   14627       fi
   14628       ;;
   14629 
   14630     amigaos*)
   14631       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)'
   14632       hardcode_libdir_flag_spec_F77='-L$libdir'
   14633       hardcode_minus_L_F77=yes
   14634 
   14635       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14636       # that the semantics of dynamic libraries on AmigaOS, at least up
   14637       # to version 4, is to share data among multiple programs linked
   14638       # with the same dynamic library.  Since this doesn't match the
   14639       # behavior of shared libraries on other platforms, we can't use
   14640       # them.
   14641       ld_shlibs_F77=no
   14642       ;;
   14643 
   14644     beos*)
   14645       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14646 	allow_undefined_flag_F77=unsupported
   14647 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14648 	# support --undefined.  This deserves some investigation.  FIXME
   14649 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14650       else
   14651 	ld_shlibs_F77=no
   14652       fi
   14653       ;;
   14654 
   14655     cygwin* | mingw* | pw32*)
   14656       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14657       # as there is no search path for DLLs.
   14658       hardcode_libdir_flag_spec_F77='-L$libdir'
   14659       allow_undefined_flag_F77=unsupported
   14660       always_export_symbols_F77=no
   14661       enable_shared_with_static_runtimes_F77=yes
   14662       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14663 
   14664       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14665         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14666 	# If the export-symbols file already is a .def file (1st line
   14667 	# is EXPORTS), use it as is; otherwise, prepend...
   14668 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14669 	  cp $export_symbols $output_objdir/$soname.def;
   14670 	else
   14671 	  echo EXPORTS > $output_objdir/$soname.def;
   14672 	  cat $export_symbols >> $output_objdir/$soname.def;
   14673 	fi~
   14674 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14675       else
   14676 	ld_shlibs_F77=no
   14677       fi
   14678       ;;
   14679 
   14680     interix3*)
   14681       hardcode_direct_F77=no
   14682       hardcode_shlibpath_var_F77=no
   14683       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14684       export_dynamic_flag_spec_F77='${wl}-E'
   14685       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14686       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14687       # default) and relocated if they conflict, which is a slow very memory
   14688       # consuming and fragmenting process.  To avoid this, we pick a random,
   14689       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14690       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14691       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'
   14692       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'
   14693       ;;
   14694 
   14695     linux*)
   14696       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14697 	tmp_addflag=
   14698 	case $cc_basename,$host_cpu in
   14699 	pgcc*)				# Portland Group C compiler
   14700 	  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'
   14701 	  tmp_addflag=' $pic_flag'
   14702 	  ;;
   14703 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14704 	  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'
   14705 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14706 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14707 	  tmp_addflag=' -i_dynamic' ;;
   14708 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14709 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14710 	ifc* | ifort*)			# Intel Fortran compiler
   14711 	  tmp_addflag=' -nofor_main' ;;
   14712 	esac
   14713 	case `$CC -V 2>&1 | sed 5q` in
   14714 	*Sun\ C*)			# Sun C 5.9
   14715 	  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 /dev/null'
   14716 	  tmp_sharedflag='-G' ;;
   14717 	*Sun\ F*)			# Sun Fortran 8.3
   14718 	  tmp_sharedflag='-G' ;;
   14719 	*)
   14720 	  tmp_sharedflag='-shared' ;;
   14721 	esac
   14722 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14723 
   14724 	if test $supports_anon_versioning = yes; then
   14725 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14726   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14727   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14728 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14729 	fi
   14730       else
   14731 	ld_shlibs_F77=no
   14732       fi
   14733       ;;
   14734 
   14735     netbsd*)
   14736       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14737 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14738 	wlarc=
   14739       else
   14740 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14741 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14742       fi
   14743       ;;
   14744 
   14745     solaris*)
   14746       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14747 	ld_shlibs_F77=no
   14748 	cat <<EOF 1>&2
   14749 
   14750 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14751 *** create shared libraries on Solaris systems.  Therefore, libtool
   14752 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14753 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14754 *** your PATH or compiler configuration so that the native linker is
   14755 *** used, and then restart.
   14756 
   14757 EOF
   14758       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14759 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14760 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14761       else
   14762 	ld_shlibs_F77=no
   14763       fi
   14764       ;;
   14765 
   14766     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14767       case `$LD -v 2>&1` in
   14768         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14769 	ld_shlibs_F77=no
   14770 	cat <<_LT_EOF 1>&2
   14771 
   14772 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14773 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14774 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14775 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14776 *** your PATH or compiler configuration so that the native linker is
   14777 *** used, and then restart.
   14778 
   14779 _LT_EOF
   14780 	;;
   14781 	*)
   14782 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14783 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14784 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14785 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14786 	  else
   14787 	    ld_shlibs_F77=no
   14788 	  fi
   14789 	;;
   14790       esac
   14791       ;;
   14792 
   14793     sunos4*)
   14794       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14795       wlarc=
   14796       hardcode_direct_F77=yes
   14797       hardcode_shlibpath_var_F77=no
   14798       ;;
   14799 
   14800     *)
   14801       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14802 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14803 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14804       else
   14805 	ld_shlibs_F77=no
   14806       fi
   14807       ;;
   14808     esac
   14809 
   14810     if test "$ld_shlibs_F77" = no; then
   14811       runpath_var=
   14812       hardcode_libdir_flag_spec_F77=
   14813       export_dynamic_flag_spec_F77=
   14814       whole_archive_flag_spec_F77=
   14815     fi
   14816   else
   14817     # PORTME fill in a description of your system's linker (not GNU ld)
   14818     case $host_os in
   14819     aix3*)
   14820       allow_undefined_flag_F77=unsupported
   14821       always_export_symbols_F77=yes
   14822       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'
   14823       # Note: this linker hardcodes the directories in LIBPATH if there
   14824       # are no directories specified by -L.
   14825       hardcode_minus_L_F77=yes
   14826       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14827 	# Neither direct hardcoding nor static linking is supported with a
   14828 	# broken collect2.
   14829 	hardcode_direct_F77=unsupported
   14830       fi
   14831       ;;
   14832 
   14833     aix4* | aix5*)
   14834       if test "$host_cpu" = ia64; then
   14835 	# On IA64, the linker does run time linking by default, so we don't
   14836 	# have to do anything special.
   14837 	aix_use_runtimelinking=no
   14838 	exp_sym_flag='-Bexport'
   14839 	no_entry_flag=""
   14840       else
   14841 	# If we're using GNU nm, then we don't want the "-C" option.
   14842 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14843 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14844 	  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'
   14845 	else
   14846 	  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'
   14847 	fi
   14848 	aix_use_runtimelinking=no
   14849 
   14850 	# Test if we are trying to use run time linking or normal
   14851 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14852 	# need to do runtime linking.
   14853 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14854 	  for ld_flag in $LDFLAGS; do
   14855   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14856   	    aix_use_runtimelinking=yes
   14857   	    break
   14858   	  fi
   14859 	  done
   14860 	  ;;
   14861 	esac
   14862 
   14863 	exp_sym_flag='-bexport'
   14864 	no_entry_flag='-bnoentry'
   14865       fi
   14866 
   14867       # When large executables or shared objects are built, AIX ld can
   14868       # have problems creating the table of contents.  If linking a library
   14869       # or program results in "error TOC overflow" add -mminimal-toc to
   14870       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14871       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14872 
   14873       archive_cmds_F77=''
   14874       hardcode_direct_F77=yes
   14875       hardcode_libdir_separator_F77=':'
   14876       link_all_deplibs_F77=yes
   14877 
   14878       if test "$GCC" = yes; then
   14879 	case $host_os in aix4.[012]|aix4.[012].*)
   14880 	# We only want to do this on AIX 4.2 and lower, the check
   14881 	# below for broken collect2 doesn't work under 4.3+
   14882 	  collect2name=`${CC} -print-prog-name=collect2`
   14883 	  if test -f "$collect2name" && \
   14884   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14885 	  then
   14886   	  # We have reworked collect2
   14887   	  hardcode_direct_F77=yes
   14888 	  else
   14889   	  # We have old collect2
   14890   	  hardcode_direct_F77=unsupported
   14891   	  # It fails to find uninstalled libraries when the uninstalled
   14892   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14893   	  # to unsupported forces relinking
   14894   	  hardcode_minus_L_F77=yes
   14895   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14896   	  hardcode_libdir_separator_F77=
   14897 	  fi
   14898 	  ;;
   14899 	esac
   14900 	shared_flag='-shared'
   14901 	if test "$aix_use_runtimelinking" = yes; then
   14902 	  shared_flag="$shared_flag "'${wl}-G'
   14903 	fi
   14904       else
   14905 	# not using gcc
   14906 	if test "$host_cpu" = ia64; then
   14907   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14908   	# chokes on -Wl,-G. The following line is correct:
   14909 	  shared_flag='-G'
   14910 	else
   14911 	  if test "$aix_use_runtimelinking" = yes; then
   14912 	    shared_flag='${wl}-G'
   14913 	  else
   14914 	    shared_flag='${wl}-bM:SRE'
   14915 	  fi
   14916 	fi
   14917       fi
   14918 
   14919       # It seems that -bexpall does not export symbols beginning with
   14920       # underscore (_), so it is better to generate a list of symbols to export.
   14921       always_export_symbols_F77=yes
   14922       if test "$aix_use_runtimelinking" = yes; then
   14923 	# Warning - without using the other runtime loading flags (-brtl),
   14924 	# -berok will link without error, but may produce a broken library.
   14925 	allow_undefined_flag_F77='-berok'
   14926        # Determine the default libpath from the value encoded in an empty executable.
   14927        cat >conftest.$ac_ext <<_ACEOF
   14928       program main
   14929 
   14930       end
   14931 _ACEOF
   14932 rm -f conftest.$ac_objext conftest$ac_exeext
   14933 if { (ac_try="$ac_link"
   14934 case "(($ac_try" in
   14935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14936   *) ac_try_echo=$ac_try;;
   14937 esac
   14938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14939   (eval "$ac_link") 2>conftest.er1
   14940   ac_status=$?
   14941   grep -v '^ *+' conftest.er1 >conftest.err
   14942   rm -f conftest.er1
   14943   cat conftest.err >&5
   14944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14945   (exit $ac_status); } && {
   14946 	 test -z "$ac_f77_werror_flag" ||
   14947 	 test ! -s conftest.err
   14948        } && test -s conftest$ac_exeext &&
   14949        $as_test_x conftest$ac_exeext; then
   14950 
   14951 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14952 }'`
   14953 # Check for a 64-bit object if we didn't find anything.
   14954 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14955 }'`; fi
   14956 else
   14957   echo "$as_me: failed program was:" >&5
   14958 sed 's/^/| /' conftest.$ac_ext >&5
   14959 
   14960 
   14961 fi
   14962 
   14963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14964       conftest$ac_exeext conftest.$ac_ext
   14965 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14966 
   14967        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14968 	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"
   14969        else
   14970 	if test "$host_cpu" = ia64; then
   14971 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14972 	  allow_undefined_flag_F77="-z nodefs"
   14973 	  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"
   14974 	else
   14975 	 # Determine the default libpath from the value encoded in an empty executable.
   14976 	 cat >conftest.$ac_ext <<_ACEOF
   14977       program main
   14978 
   14979       end
   14980 _ACEOF
   14981 rm -f conftest.$ac_objext conftest$ac_exeext
   14982 if { (ac_try="$ac_link"
   14983 case "(($ac_try" in
   14984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14985   *) ac_try_echo=$ac_try;;
   14986 esac
   14987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14988   (eval "$ac_link") 2>conftest.er1
   14989   ac_status=$?
   14990   grep -v '^ *+' conftest.er1 >conftest.err
   14991   rm -f conftest.er1
   14992   cat conftest.err >&5
   14993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14994   (exit $ac_status); } && {
   14995 	 test -z "$ac_f77_werror_flag" ||
   14996 	 test ! -s conftest.err
   14997        } && test -s conftest$ac_exeext &&
   14998        $as_test_x conftest$ac_exeext; then
   14999 
   15000 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15001 }'`
   15002 # Check for a 64-bit object if we didn't find anything.
   15003 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15004 }'`; fi
   15005 else
   15006   echo "$as_me: failed program was:" >&5
   15007 sed 's/^/| /' conftest.$ac_ext >&5
   15008 
   15009 
   15010 fi
   15011 
   15012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15013       conftest$ac_exeext conftest.$ac_ext
   15014 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15015 
   15016 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15017 	  # Warning - without using the other run time loading flags,
   15018 	  # -berok will link without error, but may produce a broken library.
   15019 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15020 	  allow_undefined_flag_F77=' ${wl}-berok'
   15021 	  # Exported symbols can be pulled into shared objects from archives
   15022 	  whole_archive_flag_spec_F77='$convenience'
   15023 	  archive_cmds_need_lc_F77=yes
   15024 	  # This is similar to how AIX traditionally builds its shared libraries.
   15025 	  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'
   15026 	fi
   15027       fi
   15028       ;;
   15029 
   15030     amigaos*)
   15031       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)'
   15032       hardcode_libdir_flag_spec_F77='-L$libdir'
   15033       hardcode_minus_L_F77=yes
   15034       # see comment about different semantics on the GNU ld section
   15035       ld_shlibs_F77=no
   15036       ;;
   15037 
   15038     bsdi[45]*)
   15039       export_dynamic_flag_spec_F77=-rdynamic
   15040       ;;
   15041 
   15042     cygwin* | mingw* | pw32*)
   15043       # When not using gcc, we currently assume that we are using
   15044       # Microsoft Visual C++.
   15045       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15046       # no search path for DLLs.
   15047       hardcode_libdir_flag_spec_F77=' '
   15048       allow_undefined_flag_F77=unsupported
   15049       # Tell ltmain to make .lib files, not .a files.
   15050       libext=lib
   15051       # Tell ltmain to make .dll files, not .so files.
   15052       shrext_cmds=".dll"
   15053       # FIXME: Setting linknames here is a bad hack.
   15054       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15055       # The linker will automatically build a .lib file if we build a DLL.
   15056       old_archive_From_new_cmds_F77='true'
   15057       # FIXME: Should let the user specify the lib program.
   15058       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   15059       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15060       enable_shared_with_static_runtimes_F77=yes
   15061       ;;
   15062 
   15063     darwin* | rhapsody*)
   15064       case $host_os in
   15065         rhapsody* | darwin1.[012])
   15066          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15067          ;;
   15068        *) # Darwin 1.3 on
   15069          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15070            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15071          else
   15072            case ${MACOSX_DEPLOYMENT_TARGET} in
   15073              10.[012])
   15074                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15075                ;;
   15076              10.*)
   15077                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15078                ;;
   15079            esac
   15080          fi
   15081          ;;
   15082       esac
   15083       archive_cmds_need_lc_F77=no
   15084       hardcode_direct_F77=no
   15085       hardcode_automatic_F77=yes
   15086       hardcode_shlibpath_var_F77=unsupported
   15087       whole_archive_flag_spec_F77=''
   15088       link_all_deplibs_F77=yes
   15089     if test "$GCC" = yes ; then
   15090     	output_verbose_link_cmd='echo'
   15091         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   15092       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15093       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15094       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}'
   15095       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}'
   15096     else
   15097       case $cc_basename in
   15098         xlc*)
   15099          output_verbose_link_cmd='echo'
   15100          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   15101          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15102           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15103          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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15104           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}'
   15105           ;;
   15106        *)
   15107          ld_shlibs_F77=no
   15108           ;;
   15109       esac
   15110     fi
   15111       ;;
   15112 
   15113     dgux*)
   15114       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15115       hardcode_libdir_flag_spec_F77='-L$libdir'
   15116       hardcode_shlibpath_var_F77=no
   15117       ;;
   15118 
   15119     freebsd1*)
   15120       ld_shlibs_F77=no
   15121       ;;
   15122 
   15123     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15124     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15125     # does not break anything, and helps significantly (at the cost of a little
   15126     # extra space).
   15127     freebsd2.2*)
   15128       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15129       hardcode_libdir_flag_spec_F77='-R$libdir'
   15130       hardcode_direct_F77=yes
   15131       hardcode_shlibpath_var_F77=no
   15132       ;;
   15133 
   15134     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15135     freebsd2*)
   15136       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15137       hardcode_direct_F77=yes
   15138       hardcode_minus_L_F77=yes
   15139       hardcode_shlibpath_var_F77=no
   15140       ;;
   15141 
   15142     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15143     freebsd* | kfreebsd*-gnu | dragonfly*)
   15144       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15145       hardcode_libdir_flag_spec_F77='-R$libdir'
   15146       hardcode_direct_F77=yes
   15147       hardcode_shlibpath_var_F77=no
   15148       ;;
   15149 
   15150     hpux9*)
   15151       if test "$GCC" = yes; then
   15152 	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'
   15153       else
   15154 	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'
   15155       fi
   15156       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15157       hardcode_libdir_separator_F77=:
   15158       hardcode_direct_F77=yes
   15159 
   15160       # hardcode_minus_L: Not really in the search PATH,
   15161       # but as the default location of the library.
   15162       hardcode_minus_L_F77=yes
   15163       export_dynamic_flag_spec_F77='${wl}-E'
   15164       ;;
   15165 
   15166     hpux10*)
   15167       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15168 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15169       else
   15170 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15171       fi
   15172       if test "$with_gnu_ld" = no; then
   15173 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15174 	hardcode_libdir_separator_F77=:
   15175 
   15176 	hardcode_direct_F77=yes
   15177 	export_dynamic_flag_spec_F77='${wl}-E'
   15178 
   15179 	# hardcode_minus_L: Not really in the search PATH,
   15180 	# but as the default location of the library.
   15181 	hardcode_minus_L_F77=yes
   15182       fi
   15183       ;;
   15184 
   15185     hpux11*)
   15186       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15187 	case $host_cpu in
   15188 	hppa*64*)
   15189 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15190 	  ;;
   15191 	ia64*)
   15192 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15193 	  ;;
   15194 	*)
   15195 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15196 	  ;;
   15197 	esac
   15198       else
   15199 	case $host_cpu in
   15200 	hppa*64*)
   15201 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15202 	  ;;
   15203 	ia64*)
   15204 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15205 	  ;;
   15206 	*)
   15207 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15208 	  ;;
   15209 	esac
   15210       fi
   15211       if test "$with_gnu_ld" = no; then
   15212 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15213 	hardcode_libdir_separator_F77=:
   15214 
   15215 	case $host_cpu in
   15216 	hppa*64*|ia64*)
   15217 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15218 	  hardcode_direct_F77=no
   15219 	  hardcode_shlibpath_var_F77=no
   15220 	  ;;
   15221 	*)
   15222 	  hardcode_direct_F77=yes
   15223 	  export_dynamic_flag_spec_F77='${wl}-E'
   15224 
   15225 	  # hardcode_minus_L: Not really in the search PATH,
   15226 	  # but as the default location of the library.
   15227 	  hardcode_minus_L_F77=yes
   15228 	  ;;
   15229 	esac
   15230       fi
   15231       ;;
   15232 
   15233     irix5* | irix6* | nonstopux*)
   15234       if test "$GCC" = yes; then
   15235 	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'
   15236       else
   15237 	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'
   15238 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15239       fi
   15240       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15241       hardcode_libdir_separator_F77=:
   15242       link_all_deplibs_F77=yes
   15243       ;;
   15244 
   15245     netbsd*)
   15246       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15247 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15248       else
   15249 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15250       fi
   15251       hardcode_libdir_flag_spec_F77='-R$libdir'
   15252       hardcode_direct_F77=yes
   15253       hardcode_shlibpath_var_F77=no
   15254       ;;
   15255 
   15256     newsos6)
   15257       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15258       hardcode_direct_F77=yes
   15259       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15260       hardcode_libdir_separator_F77=:
   15261       hardcode_shlibpath_var_F77=no
   15262       ;;
   15263 
   15264     openbsd*)
   15265       hardcode_direct_F77=yes
   15266       hardcode_shlibpath_var_F77=no
   15267       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15268 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15269 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15270 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15271 	export_dynamic_flag_spec_F77='${wl}-E'
   15272       else
   15273        case $host_os in
   15274 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15275 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15276 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   15277 	   ;;
   15278 	 *)
   15279 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15280 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15281 	   ;;
   15282        esac
   15283       fi
   15284       ;;
   15285 
   15286     os2*)
   15287       hardcode_libdir_flag_spec_F77='-L$libdir'
   15288       hardcode_minus_L_F77=yes
   15289       allow_undefined_flag_F77=unsupported
   15290       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'
   15291       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15292       ;;
   15293 
   15294     osf3*)
   15295       if test "$GCC" = yes; then
   15296 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15297 	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'
   15298       else
   15299 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15300 	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'
   15301       fi
   15302       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15303       hardcode_libdir_separator_F77=:
   15304       ;;
   15305 
   15306     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15307       if test "$GCC" = yes; then
   15308 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15309 	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'
   15310 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15311       else
   15312 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15313 	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'
   15314 	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~
   15315 	$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'
   15316 
   15317 	# Both c and cxx compiler support -rpath directly
   15318 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15319       fi
   15320       hardcode_libdir_separator_F77=:
   15321       ;;
   15322 
   15323     solaris*)
   15324       no_undefined_flag_F77=' -z text'
   15325       if test "$GCC" = yes; then
   15326 	wlarc='${wl}'
   15327 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15328 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15329 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15330       else
   15331 	wlarc=''
   15332 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15333 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15334   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15335       fi
   15336       hardcode_libdir_flag_spec_F77='-R$libdir'
   15337       hardcode_shlibpath_var_F77=no
   15338       case $host_os in
   15339       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15340       *)
   15341  	# The compiler driver will combine linker options so we
   15342  	# cannot just pass the convience library names through
   15343  	# without $wl, iff we do not link with $LD.
   15344  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   15345  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15346  	case $wlarc in
   15347  	'')
   15348  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   15349  	*)
   15350  	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   15351  	esac ;;
   15352       esac
   15353       link_all_deplibs_F77=yes
   15354       ;;
   15355 
   15356     sunos4*)
   15357       if test "x$host_vendor" = xsequent; then
   15358 	# Use $CC to link under sequent, because it throws in some extra .o
   15359 	# files that make .init and .fini sections work.
   15360 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15361       else
   15362 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15363       fi
   15364       hardcode_libdir_flag_spec_F77='-L$libdir'
   15365       hardcode_direct_F77=yes
   15366       hardcode_minus_L_F77=yes
   15367       hardcode_shlibpath_var_F77=no
   15368       ;;
   15369 
   15370     sysv4)
   15371       case $host_vendor in
   15372 	sni)
   15373 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15374 	  hardcode_direct_F77=yes # is this really true???
   15375 	;;
   15376 	siemens)
   15377 	  ## LD is ld it makes a PLAMLIB
   15378 	  ## CC just makes a GrossModule.
   15379 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15380 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15381 	  hardcode_direct_F77=no
   15382         ;;
   15383 	motorola)
   15384 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15385 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15386 	;;
   15387       esac
   15388       runpath_var='LD_RUN_PATH'
   15389       hardcode_shlibpath_var_F77=no
   15390       ;;
   15391 
   15392     sysv4.3*)
   15393       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15394       hardcode_shlibpath_var_F77=no
   15395       export_dynamic_flag_spec_F77='-Bexport'
   15396       ;;
   15397 
   15398     sysv4*MP*)
   15399       if test -d /usr/nec; then
   15400 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15401 	hardcode_shlibpath_var_F77=no
   15402 	runpath_var=LD_RUN_PATH
   15403 	hardcode_runpath_var=yes
   15404 	ld_shlibs_F77=yes
   15405       fi
   15406       ;;
   15407 
   15408     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   15409       no_undefined_flag_F77='${wl}-z,text'
   15410       archive_cmds_need_lc_F77=no
   15411       hardcode_shlibpath_var_F77=no
   15412       runpath_var='LD_RUN_PATH'
   15413 
   15414       if test "$GCC" = yes; then
   15415 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15416 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15417       else
   15418 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15419 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15420       fi
   15421       ;;
   15422 
   15423     sysv5* | sco3.2v5* | sco5v6*)
   15424       # Note: We can NOT use -z defs as we might desire, because we do not
   15425       # link with -lc, and that would cause any symbols used from libc to
   15426       # always be unresolved, which means just about no library would
   15427       # ever link correctly.  If we're not using GNU ld we use -z text
   15428       # though, which does catch some bad symbols but isn't as heavy-handed
   15429       # as -z defs.
   15430       no_undefined_flag_F77='${wl}-z,text'
   15431       allow_undefined_flag_F77='${wl}-z,nodefs'
   15432       archive_cmds_need_lc_F77=no
   15433       hardcode_shlibpath_var_F77=no
   15434       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15435       hardcode_libdir_separator_F77=':'
   15436       link_all_deplibs_F77=yes
   15437       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15438       runpath_var='LD_RUN_PATH'
   15439 
   15440       if test "$GCC" = yes; then
   15441 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15442 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15443       else
   15444 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15445 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15446       fi
   15447       ;;
   15448 
   15449     uts4*)
   15450       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15451       hardcode_libdir_flag_spec_F77='-L$libdir'
   15452       hardcode_shlibpath_var_F77=no
   15453       ;;
   15454 
   15455     *)
   15456       ld_shlibs_F77=no
   15457       ;;
   15458     esac
   15459   fi
   15460 
   15461 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15462 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15463 test "$ld_shlibs_F77" = no && can_build_shared=no
   15464 
   15465 #
   15466 # Do we need to explicitly link libc?
   15467 #
   15468 case "x$archive_cmds_need_lc_F77" in
   15469 x|xyes)
   15470   # Assume -lc should be added
   15471   archive_cmds_need_lc_F77=yes
   15472 
   15473   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15474     case $archive_cmds_F77 in
   15475     *'~'*)
   15476       # FIXME: we may have to deal with multi-command sequences.
   15477       ;;
   15478     '$CC '*)
   15479       # Test whether the compiler implicitly links with -lc since on some
   15480       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15481       # to ld, don't add -lc before -lgcc.
   15482       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15483 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15484       $rm conftest*
   15485       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15486 
   15487       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15488   (eval $ac_compile) 2>&5
   15489   ac_status=$?
   15490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15491   (exit $ac_status); } 2>conftest.err; then
   15492         soname=conftest
   15493         lib=conftest
   15494         libobjs=conftest.$ac_objext
   15495         deplibs=
   15496         wl=$lt_prog_compiler_wl_F77
   15497 	pic_flag=$lt_prog_compiler_pic_F77
   15498         compiler_flags=-v
   15499         linker_flags=-v
   15500         verstring=
   15501         output_objdir=.
   15502         libname=conftest
   15503         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15504         allow_undefined_flag_F77=
   15505         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15506   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15507   ac_status=$?
   15508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15509   (exit $ac_status); }
   15510         then
   15511 	  archive_cmds_need_lc_F77=no
   15512         else
   15513 	  archive_cmds_need_lc_F77=yes
   15514         fi
   15515         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15516       else
   15517         cat conftest.err 1>&5
   15518       fi
   15519       $rm conftest*
   15520       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15521 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15522       ;;
   15523     esac
   15524   fi
   15525   ;;
   15526 esac
   15527 
   15528 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15529 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15530 library_names_spec=
   15531 libname_spec='lib$name'
   15532 soname_spec=
   15533 shrext_cmds=".so"
   15534 postinstall_cmds=
   15535 postuninstall_cmds=
   15536 finish_cmds=
   15537 finish_eval=
   15538 shlibpath_var=
   15539 shlibpath_overrides_runpath=unknown
   15540 version_type=none
   15541 dynamic_linker="$host_os ld.so"
   15542 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15543 if test "$GCC" = yes; then
   15544   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15545   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15546     # if the path contains ";" then we assume it to be the separator
   15547     # otherwise default to the standard path separator (i.e. ":") - it is
   15548     # assumed that no part of a normal pathname contains ";" but that should
   15549     # okay in the real world where ";" in dirpaths is itself problematic.
   15550     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15551   else
   15552     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15553   fi
   15554 else
   15555   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15556 fi
   15557 need_lib_prefix=unknown
   15558 hardcode_into_libs=no
   15559 
   15560 # when you set need_version to no, make sure it does not cause -set_version
   15561 # flags to be left without arguments
   15562 need_version=unknown
   15563 
   15564 case $host_os in
   15565 aix3*)
   15566   version_type=linux
   15567   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15568   shlibpath_var=LIBPATH
   15569 
   15570   # AIX 3 has no versioning support, so we append a major version to the name.
   15571   soname_spec='${libname}${release}${shared_ext}$major'
   15572   ;;
   15573 
   15574 aix4* | aix5*)
   15575   version_type=linux
   15576   need_lib_prefix=no
   15577   need_version=no
   15578   hardcode_into_libs=yes
   15579   if test "$host_cpu" = ia64; then
   15580     # AIX 5 supports IA64
   15581     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15582     shlibpath_var=LD_LIBRARY_PATH
   15583   else
   15584     # With GCC up to 2.95.x, collect2 would create an import file
   15585     # for dependence libraries.  The import file would start with
   15586     # the line `#! .'.  This would cause the generated library to
   15587     # depend on `.', always an invalid library.  This was fixed in
   15588     # development snapshots of GCC prior to 3.0.
   15589     case $host_os in
   15590       aix4 | aix4.[01] | aix4.[01].*)
   15591       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15592 	   echo ' yes '
   15593 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15594 	:
   15595       else
   15596 	can_build_shared=no
   15597       fi
   15598       ;;
   15599     esac
   15600     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15601     # soname into executable. Probably we can add versioning support to
   15602     # collect2, so additional links can be useful in future.
   15603     if test "$aix_use_runtimelinking" = yes; then
   15604       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15605       # instead of lib<name>.a to let people know that these are not
   15606       # typical AIX shared libraries.
   15607       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15608     else
   15609       # We preserve .a as extension for shared libraries through AIX4.2
   15610       # and later when we are not doing run time linking.
   15611       library_names_spec='${libname}${release}.a $libname.a'
   15612       soname_spec='${libname}${release}${shared_ext}$major'
   15613     fi
   15614     shlibpath_var=LIBPATH
   15615   fi
   15616   ;;
   15617 
   15618 amigaos*)
   15619   library_names_spec='$libname.ixlibrary $libname.a'
   15620   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15621   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'
   15622   ;;
   15623 
   15624 beos*)
   15625   library_names_spec='${libname}${shared_ext}'
   15626   dynamic_linker="$host_os ld.so"
   15627   shlibpath_var=LIBRARY_PATH
   15628   ;;
   15629 
   15630 bsdi[45]*)
   15631   version_type=linux
   15632   need_version=no
   15633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15634   soname_spec='${libname}${release}${shared_ext}$major'
   15635   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15636   shlibpath_var=LD_LIBRARY_PATH
   15637   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15638   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15639   # the default ld.so.conf also contains /usr/contrib/lib and
   15640   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15641   # libtool to hard-code these into programs
   15642   ;;
   15643 
   15644 cygwin* | mingw* | pw32*)
   15645   version_type=windows
   15646   shrext_cmds=".dll"
   15647   need_version=no
   15648   need_lib_prefix=no
   15649 
   15650   case $GCC,$host_os in
   15651   yes,cygwin* | yes,mingw* | yes,pw32*)
   15652     library_names_spec='$libname.dll.a'
   15653     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15654     postinstall_cmds='base_file=`basename \${file}`~
   15655       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15656       dldir=$destdir/`dirname \$dlpath`~
   15657       test -d \$dldir || mkdir -p \$dldir~
   15658       $install_prog $dir/$dlname \$dldir/$dlname~
   15659       chmod a+x \$dldir/$dlname'
   15660     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15661       dlpath=$dir/\$dldll~
   15662        $rm \$dlpath'
   15663     shlibpath_overrides_runpath=yes
   15664 
   15665     case $host_os in
   15666     cygwin*)
   15667       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15668       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15669       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15670       ;;
   15671     mingw*)
   15672       # MinGW DLLs use traditional 'lib' prefix
   15673       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15674       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15675       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15676         # It is most probably a Windows format PATH printed by
   15677         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15678         # path with ; separators, and with drive letters. We can handle the
   15679         # drive letters (cygwin fileutils understands them), so leave them,
   15680         # especially as we might pass files found there to a mingw objdump,
   15681         # which wouldn't understand a cygwinified path. Ahh.
   15682         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15683       else
   15684         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15685       fi
   15686       ;;
   15687     pw32*)
   15688       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15689       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15690       ;;
   15691     esac
   15692     ;;
   15693 
   15694   *)
   15695     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15696     ;;
   15697   esac
   15698   dynamic_linker='Win32 ld.exe'
   15699   # FIXME: first we should search . and the directory the executable is in
   15700   shlibpath_var=PATH
   15701   ;;
   15702 
   15703 darwin* | rhapsody*)
   15704   dynamic_linker="$host_os dyld"
   15705   version_type=darwin
   15706   need_lib_prefix=no
   15707   need_version=no
   15708   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15709   soname_spec='${libname}${release}${major}$shared_ext'
   15710   shlibpath_overrides_runpath=yes
   15711   shlibpath_var=DYLD_LIBRARY_PATH
   15712   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15713   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15714   if test "$GCC" = yes; then
   15715     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   15716   else
   15717     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15718   fi
   15719   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15720   ;;
   15721 
   15722 dgux*)
   15723   version_type=linux
   15724   need_lib_prefix=no
   15725   need_version=no
   15726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15727   soname_spec='${libname}${release}${shared_ext}$major'
   15728   shlibpath_var=LD_LIBRARY_PATH
   15729   ;;
   15730 
   15731 freebsd1*)
   15732   dynamic_linker=no
   15733   ;;
   15734 
   15735 kfreebsd*-gnu)
   15736   version_type=linux
   15737   need_lib_prefix=no
   15738   need_version=no
   15739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15740   soname_spec='${libname}${release}${shared_ext}$major'
   15741   shlibpath_var=LD_LIBRARY_PATH
   15742   shlibpath_overrides_runpath=no
   15743   hardcode_into_libs=yes
   15744   dynamic_linker='GNU ld.so'
   15745   ;;
   15746 
   15747 freebsd* | dragonfly*)
   15748   # DragonFly does not have aout.  When/if they implement a new
   15749   # versioning mechanism, adjust this.
   15750   if test -x /usr/bin/objformat; then
   15751     objformat=`/usr/bin/objformat`
   15752   else
   15753     case $host_os in
   15754     freebsd[123]*) objformat=aout ;;
   15755     *) objformat=elf ;;
   15756     esac
   15757   fi
   15758   version_type=freebsd-$objformat
   15759   case $version_type in
   15760     freebsd-elf*)
   15761       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15762       need_version=no
   15763       need_lib_prefix=no
   15764       ;;
   15765     freebsd-*)
   15766       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15767       need_version=yes
   15768       ;;
   15769   esac
   15770   shlibpath_var=LD_LIBRARY_PATH
   15771   case $host_os in
   15772   freebsd2*)
   15773     shlibpath_overrides_runpath=yes
   15774     ;;
   15775   freebsd3.[01]* | freebsdelf3.[01]*)
   15776     shlibpath_overrides_runpath=yes
   15777     hardcode_into_libs=yes
   15778     ;;
   15779   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15780   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15781     shlibpath_overrides_runpath=no
   15782     hardcode_into_libs=yes
   15783     ;;
   15784   freebsd*) # from 4.6 on
   15785     shlibpath_overrides_runpath=yes
   15786     hardcode_into_libs=yes
   15787     ;;
   15788   esac
   15789   ;;
   15790 
   15791 gnu*)
   15792   version_type=linux
   15793   need_lib_prefix=no
   15794   need_version=no
   15795   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15796   soname_spec='${libname}${release}${shared_ext}$major'
   15797   shlibpath_var=LD_LIBRARY_PATH
   15798   hardcode_into_libs=yes
   15799   ;;
   15800 
   15801 hpux9* | hpux10* | hpux11*)
   15802   # Give a soname corresponding to the major version so that dld.sl refuses to
   15803   # link against other versions.
   15804   version_type=sunos
   15805   need_lib_prefix=no
   15806   need_version=no
   15807   case $host_cpu in
   15808   ia64*)
   15809     shrext_cmds='.so'
   15810     hardcode_into_libs=yes
   15811     dynamic_linker="$host_os dld.so"
   15812     shlibpath_var=LD_LIBRARY_PATH
   15813     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15814     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15815     soname_spec='${libname}${release}${shared_ext}$major'
   15816     if test "X$HPUX_IA64_MODE" = X32; then
   15817       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15818     else
   15819       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15820     fi
   15821     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15822     ;;
   15823    hppa*64*)
   15824      shrext_cmds='.sl'
   15825      hardcode_into_libs=yes
   15826      dynamic_linker="$host_os dld.sl"
   15827      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15828      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15829      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15830      soname_spec='${libname}${release}${shared_ext}$major'
   15831      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15832      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15833      ;;
   15834    *)
   15835     shrext_cmds='.sl'
   15836     dynamic_linker="$host_os dld.sl"
   15837     shlibpath_var=SHLIB_PATH
   15838     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15839     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15840     soname_spec='${libname}${release}${shared_ext}$major'
   15841     ;;
   15842   esac
   15843   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15844   postinstall_cmds='chmod 555 $lib'
   15845   ;;
   15846 
   15847 interix3*)
   15848   version_type=linux
   15849   need_lib_prefix=no
   15850   need_version=no
   15851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15852   soname_spec='${libname}${release}${shared_ext}$major'
   15853   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15854   shlibpath_var=LD_LIBRARY_PATH
   15855   shlibpath_overrides_runpath=no
   15856   hardcode_into_libs=yes
   15857   ;;
   15858 
   15859 irix5* | irix6* | nonstopux*)
   15860   case $host_os in
   15861     nonstopux*) version_type=nonstopux ;;
   15862     *)
   15863 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15864 		version_type=linux
   15865 	else
   15866 		version_type=irix
   15867 	fi ;;
   15868   esac
   15869   need_lib_prefix=no
   15870   need_version=no
   15871   soname_spec='${libname}${release}${shared_ext}$major'
   15872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15873   case $host_os in
   15874   irix5* | nonstopux*)
   15875     libsuff= shlibsuff=
   15876     ;;
   15877   *)
   15878     case $LD in # libtool.m4 will add one of these switches to LD
   15879     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15880       libsuff= shlibsuff= libmagic=32-bit;;
   15881     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15882       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15883     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15884       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15885     *) libsuff= shlibsuff= libmagic=never-match;;
   15886     esac
   15887     ;;
   15888   esac
   15889   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15890   shlibpath_overrides_runpath=no
   15891   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15892   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15893   hardcode_into_libs=yes
   15894   ;;
   15895 
   15896 # No shared lib support for Linux oldld, aout, or coff.
   15897 linux*oldld* | linux*aout* | linux*coff*)
   15898   dynamic_linker=no
   15899   ;;
   15900 
   15901 # This must be Linux ELF.
   15902 linux*)
   15903   version_type=linux
   15904   need_lib_prefix=no
   15905   need_version=no
   15906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15907   soname_spec='${libname}${release}${shared_ext}$major'
   15908   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15909   shlibpath_var=LD_LIBRARY_PATH
   15910   shlibpath_overrides_runpath=no
   15911   # This implies no fast_install, which is unacceptable.
   15912   # Some rework will be needed to allow for fast_install
   15913   # before this can be enabled.
   15914   hardcode_into_libs=yes
   15915 
   15916   # Append ld.so.conf contents to the search path
   15917   if test -f /etc/ld.so.conf; then
   15918     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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   15919     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15920   fi
   15921 
   15922   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15923   # powerpc, because MkLinux only supported shared libraries with the
   15924   # GNU dynamic linker.  Since this was broken with cross compilers,
   15925   # most powerpc-linux boxes support dynamic linking these days and
   15926   # people can always --disable-shared, the test was removed, and we
   15927   # assume the GNU/Linux dynamic linker is in use.
   15928   dynamic_linker='GNU/Linux ld.so'
   15929   ;;
   15930 
   15931 knetbsd*-gnu)
   15932   version_type=linux
   15933   need_lib_prefix=no
   15934   need_version=no
   15935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15936   soname_spec='${libname}${release}${shared_ext}$major'
   15937   shlibpath_var=LD_LIBRARY_PATH
   15938   shlibpath_overrides_runpath=no
   15939   hardcode_into_libs=yes
   15940   dynamic_linker='GNU ld.so'
   15941   ;;
   15942 
   15943 netbsd*)
   15944   version_type=sunos
   15945   need_lib_prefix=no
   15946   need_version=no
   15947   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15948     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15949     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15950     dynamic_linker='NetBSD (a.out) ld.so'
   15951   else
   15952     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15953     soname_spec='${libname}${release}${shared_ext}$major'
   15954     dynamic_linker='NetBSD ld.elf_so'
   15955   fi
   15956   shlibpath_var=LD_LIBRARY_PATH
   15957   shlibpath_overrides_runpath=yes
   15958   hardcode_into_libs=yes
   15959   ;;
   15960 
   15961 newsos6)
   15962   version_type=linux
   15963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15964   shlibpath_var=LD_LIBRARY_PATH
   15965   shlibpath_overrides_runpath=yes
   15966   ;;
   15967 
   15968 nto-qnx*)
   15969   version_type=linux
   15970   need_lib_prefix=no
   15971   need_version=no
   15972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15973   soname_spec='${libname}${release}${shared_ext}$major'
   15974   shlibpath_var=LD_LIBRARY_PATH
   15975   shlibpath_overrides_runpath=yes
   15976   ;;
   15977 
   15978 openbsd*)
   15979   version_type=sunos
   15980   sys_lib_dlsearch_path_spec="/usr/lib"
   15981   need_lib_prefix=no
   15982   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15983   case $host_os in
   15984     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15985     *)                         need_version=no  ;;
   15986   esac
   15987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15988   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15989   shlibpath_var=LD_LIBRARY_PATH
   15990   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15991     case $host_os in
   15992       openbsd2.[89] | openbsd2.[89].*)
   15993 	shlibpath_overrides_runpath=no
   15994 	;;
   15995       *)
   15996 	shlibpath_overrides_runpath=yes
   15997 	;;
   15998       esac
   15999   else
   16000     shlibpath_overrides_runpath=yes
   16001   fi
   16002   ;;
   16003 
   16004 os2*)
   16005   libname_spec='$name'
   16006   shrext_cmds=".dll"
   16007   need_lib_prefix=no
   16008   library_names_spec='$libname${shared_ext} $libname.a'
   16009   dynamic_linker='OS/2 ld.exe'
   16010   shlibpath_var=LIBPATH
   16011   ;;
   16012 
   16013 osf3* | osf4* | osf5*)
   16014   version_type=osf
   16015   need_lib_prefix=no
   16016   need_version=no
   16017   soname_spec='${libname}${release}${shared_ext}$major'
   16018   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16019   shlibpath_var=LD_LIBRARY_PATH
   16020   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16021   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16022   ;;
   16023 
   16024 solaris*)
   16025   version_type=linux
   16026   need_lib_prefix=no
   16027   need_version=no
   16028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16029   soname_spec='${libname}${release}${shared_ext}$major'
   16030   shlibpath_var=LD_LIBRARY_PATH
   16031   shlibpath_overrides_runpath=yes
   16032   hardcode_into_libs=yes
   16033   # ldd complains unless libraries are executable
   16034   postinstall_cmds='chmod +x $lib'
   16035   ;;
   16036 
   16037 sunos4*)
   16038   version_type=sunos
   16039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16040   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16041   shlibpath_var=LD_LIBRARY_PATH
   16042   shlibpath_overrides_runpath=yes
   16043   if test "$with_gnu_ld" = yes; then
   16044     need_lib_prefix=no
   16045   fi
   16046   need_version=yes
   16047   ;;
   16048 
   16049 sysv4 | sysv4.3*)
   16050   version_type=linux
   16051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16052   soname_spec='${libname}${release}${shared_ext}$major'
   16053   shlibpath_var=LD_LIBRARY_PATH
   16054   case $host_vendor in
   16055     sni)
   16056       shlibpath_overrides_runpath=no
   16057       need_lib_prefix=no
   16058       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16059       runpath_var=LD_RUN_PATH
   16060       ;;
   16061     siemens)
   16062       need_lib_prefix=no
   16063       ;;
   16064     motorola)
   16065       need_lib_prefix=no
   16066       need_version=no
   16067       shlibpath_overrides_runpath=no
   16068       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16069       ;;
   16070   esac
   16071   ;;
   16072 
   16073 sysv4*MP*)
   16074   if test -d /usr/nec ;then
   16075     version_type=linux
   16076     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16077     soname_spec='$libname${shared_ext}.$major'
   16078     shlibpath_var=LD_LIBRARY_PATH
   16079   fi
   16080   ;;
   16081 
   16082 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16083   version_type=freebsd-elf
   16084   need_lib_prefix=no
   16085   need_version=no
   16086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16087   soname_spec='${libname}${release}${shared_ext}$major'
   16088   shlibpath_var=LD_LIBRARY_PATH
   16089   hardcode_into_libs=yes
   16090   if test "$with_gnu_ld" = yes; then
   16091     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16092     shlibpath_overrides_runpath=no
   16093   else
   16094     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16095     shlibpath_overrides_runpath=yes
   16096     case $host_os in
   16097       sco3.2v5*)
   16098         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16099 	;;
   16100     esac
   16101   fi
   16102   sys_lib_dlsearch_path_spec='/usr/lib'
   16103   ;;
   16104 
   16105 uts4*)
   16106   version_type=linux
   16107   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16108   soname_spec='${libname}${release}${shared_ext}$major'
   16109   shlibpath_var=LD_LIBRARY_PATH
   16110   ;;
   16111 
   16112 *)
   16113   dynamic_linker=no
   16114   ;;
   16115 esac
   16116 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16117 echo "${ECHO_T}$dynamic_linker" >&6; }
   16118 test "$dynamic_linker" = no && can_build_shared=no
   16119 
   16120 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16121 if test "$GCC" = yes; then
   16122   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16123 fi
   16124 
   16125 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16126 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   16127 hardcode_action_F77=
   16128 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16129    test -n "$runpath_var_F77" || \
   16130    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16131 
   16132   # We can hardcode non-existant directories.
   16133   if test "$hardcode_direct_F77" != no &&
   16134      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16135      # have to relink, otherwise we might link with an installed library
   16136      # when we should be linking with a yet-to-be-installed one
   16137      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16138      test "$hardcode_minus_L_F77" != no; then
   16139     # Linking always hardcodes the temporary library directory.
   16140     hardcode_action_F77=relink
   16141   else
   16142     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16143     hardcode_action_F77=immediate
   16144   fi
   16145 else
   16146   # We cannot hardcode anything, or else we can only hardcode existing
   16147   # directories.
   16148   hardcode_action_F77=unsupported
   16149 fi
   16150 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16151 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   16152 
   16153 if test "$hardcode_action_F77" = relink; then
   16154   # Fast installation is not supported
   16155   enable_fast_install=no
   16156 elif test "$shlibpath_overrides_runpath" = yes ||
   16157      test "$enable_shared" = no; then
   16158   # Fast installation is not necessary
   16159   enable_fast_install=needless
   16160 fi
   16161 
   16162 
   16163 # The else clause should only fire when bootstrapping the
   16164 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16165 # with your package, and you will get complaints that there are
   16166 # no rules to generate ltmain.sh.
   16167 if test -f "$ltmain"; then
   16168   # See if we are running on zsh, and set the options which allow our commands through
   16169   # without removal of \ escapes.
   16170   if test -n "${ZSH_VERSION+set}" ; then
   16171     setopt NO_GLOB_SUBST
   16172   fi
   16173   # Now quote all the things that may contain metacharacters while being
   16174   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16175   # variables and quote the copies for generation of the libtool script.
   16176   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16177     SED SHELL STRIP \
   16178     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16179     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16180     deplibs_check_method reload_flag reload_cmds need_locks \
   16181     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16182     lt_cv_sys_global_symbol_to_c_name_address \
   16183     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16184     old_postinstall_cmds old_postuninstall_cmds \
   16185     compiler_F77 \
   16186     CC_F77 \
   16187     LD_F77 \
   16188     lt_prog_compiler_wl_F77 \
   16189     lt_prog_compiler_pic_F77 \
   16190     lt_prog_compiler_static_F77 \
   16191     lt_prog_compiler_no_builtin_flag_F77 \
   16192     export_dynamic_flag_spec_F77 \
   16193     thread_safe_flag_spec_F77 \
   16194     whole_archive_flag_spec_F77 \
   16195     enable_shared_with_static_runtimes_F77 \
   16196     old_archive_cmds_F77 \
   16197     old_archive_from_new_cmds_F77 \
   16198     predep_objects_F77 \
   16199     postdep_objects_F77 \
   16200     predeps_F77 \
   16201     postdeps_F77 \
   16202     compiler_lib_search_path_F77 \
   16203     archive_cmds_F77 \
   16204     archive_expsym_cmds_F77 \
   16205     postinstall_cmds_F77 \
   16206     postuninstall_cmds_F77 \
   16207     old_archive_from_expsyms_cmds_F77 \
   16208     allow_undefined_flag_F77 \
   16209     no_undefined_flag_F77 \
   16210     export_symbols_cmds_F77 \
   16211     hardcode_libdir_flag_spec_F77 \
   16212     hardcode_libdir_flag_spec_ld_F77 \
   16213     hardcode_libdir_separator_F77 \
   16214     hardcode_automatic_F77 \
   16215     module_cmds_F77 \
   16216     module_expsym_cmds_F77 \
   16217     lt_cv_prog_compiler_c_o_F77 \
   16218     exclude_expsyms_F77 \
   16219     include_expsyms_F77; do
   16220 
   16221     case $var in
   16222     old_archive_cmds_F77 | \
   16223     old_archive_from_new_cmds_F77 | \
   16224     archive_cmds_F77 | \
   16225     archive_expsym_cmds_F77 | \
   16226     module_cmds_F77 | \
   16227     module_expsym_cmds_F77 | \
   16228     old_archive_from_expsyms_cmds_F77 | \
   16229     export_symbols_cmds_F77 | \
   16230     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16231     postinstall_cmds | postuninstall_cmds | \
   16232     old_postinstall_cmds | old_postuninstall_cmds | \
   16233     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16234       # Double-quote double-evaled strings.
   16235       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16236       ;;
   16237     *)
   16238       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16239       ;;
   16240     esac
   16241   done
   16242 
   16243   case $lt_echo in
   16244   *'\$0 --fallback-echo"')
   16245     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16246     ;;
   16247   esac
   16248 
   16249 cfgfile="$ofile"
   16250 
   16251   cat <<__EOF__ >> "$cfgfile"
   16252 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16253 
   16254 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16255 
   16256 # Shell to use when invoking shell scripts.
   16257 SHELL=$lt_SHELL
   16258 
   16259 # Whether or not to build shared libraries.
   16260 build_libtool_libs=$enable_shared
   16261 
   16262 # Whether or not to build static libraries.
   16263 build_old_libs=$enable_static
   16264 
   16265 # Whether or not to add -lc for building shared libraries.
   16266 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16267 
   16268 # Whether or not to disallow shared libs when runtime libs are static
   16269 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16270 
   16271 # Whether or not to optimize for fast installation.
   16272 fast_install=$enable_fast_install
   16273 
   16274 # The host system.
   16275 host_alias=$host_alias
   16276 host=$host
   16277 host_os=$host_os
   16278 
   16279 # The build system.
   16280 build_alias=$build_alias
   16281 build=$build
   16282 build_os=$build_os
   16283 
   16284 # An echo program that does not interpret backslashes.
   16285 echo=$lt_echo
   16286 
   16287 # The archiver.
   16288 AR=$lt_AR
   16289 AR_FLAGS=$lt_AR_FLAGS
   16290 
   16291 # A C compiler.
   16292 LTCC=$lt_LTCC
   16293 
   16294 # LTCC compiler flags.
   16295 LTCFLAGS=$lt_LTCFLAGS
   16296 
   16297 # A language-specific compiler.
   16298 CC=$lt_compiler_F77
   16299 
   16300 # Is the compiler the GNU C compiler?
   16301 with_gcc=$GCC_F77
   16302 
   16303 # An ERE matcher.
   16304 EGREP=$lt_EGREP
   16305 
   16306 # The linker used to build libraries.
   16307 LD=$lt_LD_F77
   16308 
   16309 # Whether we need hard or soft links.
   16310 LN_S=$lt_LN_S
   16311 
   16312 # A BSD-compatible nm program.
   16313 NM=$lt_NM
   16314 
   16315 # A symbol stripping program
   16316 STRIP=$lt_STRIP
   16317 
   16318 # Used to examine libraries when file_magic_cmd begins "file"
   16319 MAGIC_CMD=$MAGIC_CMD
   16320 
   16321 # Used on cygwin: DLL creation program.
   16322 DLLTOOL="$DLLTOOL"
   16323 
   16324 # Used on cygwin: object dumper.
   16325 OBJDUMP="$OBJDUMP"
   16326 
   16327 # Used on cygwin: assembler.
   16328 AS="$AS"
   16329 
   16330 # The name of the directory that contains temporary libtool files.
   16331 objdir=$objdir
   16332 
   16333 # How to create reloadable object files.
   16334 reload_flag=$lt_reload_flag
   16335 reload_cmds=$lt_reload_cmds
   16336 
   16337 # How to pass a linker flag through the compiler.
   16338 wl=$lt_lt_prog_compiler_wl_F77
   16339 
   16340 # Object file suffix (normally "o").
   16341 objext="$ac_objext"
   16342 
   16343 # Old archive suffix (normally "a").
   16344 libext="$libext"
   16345 
   16346 # Shared library suffix (normally ".so").
   16347 shrext_cmds='$shrext_cmds'
   16348 
   16349 # Executable file suffix (normally "").
   16350 exeext="$exeext"
   16351 
   16352 # Additional compiler flags for building library objects.
   16353 pic_flag=$lt_lt_prog_compiler_pic_F77
   16354 pic_mode=$pic_mode
   16355 
   16356 # What is the maximum length of a command?
   16357 max_cmd_len=$lt_cv_sys_max_cmd_len
   16358 
   16359 # Does compiler simultaneously support -c and -o options?
   16360 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16361 
   16362 # Must we lock files when doing compilation?
   16363 need_locks=$lt_need_locks
   16364 
   16365 # Do we need the lib prefix for modules?
   16366 need_lib_prefix=$need_lib_prefix
   16367 
   16368 # Do we need a version for libraries?
   16369 need_version=$need_version
   16370 
   16371 # Whether dlopen is supported.
   16372 dlopen_support=$enable_dlopen
   16373 
   16374 # Whether dlopen of programs is supported.
   16375 dlopen_self=$enable_dlopen_self
   16376 
   16377 # Whether dlopen of statically linked programs is supported.
   16378 dlopen_self_static=$enable_dlopen_self_static
   16379 
   16380 # Compiler flag to prevent dynamic linking.
   16381 link_static_flag=$lt_lt_prog_compiler_static_F77
   16382 
   16383 # Compiler flag to turn off builtin functions.
   16384 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16385 
   16386 # Compiler flag to allow reflexive dlopens.
   16387 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16388 
   16389 # Compiler flag to generate shared objects directly from archives.
   16390 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16391 
   16392 # Compiler flag to generate thread-safe objects.
   16393 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16394 
   16395 # Library versioning type.
   16396 version_type=$version_type
   16397 
   16398 # Format of library name prefix.
   16399 libname_spec=$lt_libname_spec
   16400 
   16401 # List of archive names.  First name is the real one, the rest are links.
   16402 # The last name is the one that the linker finds with -lNAME.
   16403 library_names_spec=$lt_library_names_spec
   16404 
   16405 # The coded name of the library, if different from the real name.
   16406 soname_spec=$lt_soname_spec
   16407 
   16408 # Commands used to build and install an old-style archive.
   16409 RANLIB=$lt_RANLIB
   16410 old_archive_cmds=$lt_old_archive_cmds_F77
   16411 old_postinstall_cmds=$lt_old_postinstall_cmds
   16412 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16413 
   16414 # Create an old-style archive from a shared archive.
   16415 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16416 
   16417 # Create a temporary old-style archive to link instead of a shared archive.
   16418 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16419 
   16420 # Commands used to build and install a shared archive.
   16421 archive_cmds=$lt_archive_cmds_F77
   16422 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16423 postinstall_cmds=$lt_postinstall_cmds
   16424 postuninstall_cmds=$lt_postuninstall_cmds
   16425 
   16426 # Commands used to build a loadable module (assumed same as above if empty)
   16427 module_cmds=$lt_module_cmds_F77
   16428 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16429 
   16430 # Commands to strip libraries.
   16431 old_striplib=$lt_old_striplib
   16432 striplib=$lt_striplib
   16433 
   16434 # Dependencies to place before the objects being linked to create a
   16435 # shared library.
   16436 predep_objects=$lt_predep_objects_F77
   16437 
   16438 # Dependencies to place after the objects being linked to create a
   16439 # shared library.
   16440 postdep_objects=$lt_postdep_objects_F77
   16441 
   16442 # Dependencies to place before the objects being linked to create a
   16443 # shared library.
   16444 predeps=$lt_predeps_F77
   16445 
   16446 # Dependencies to place after the objects being linked to create a
   16447 # shared library.
   16448 postdeps=$lt_postdeps_F77
   16449 
   16450 # The library search path used internally by the compiler when linking
   16451 # a shared library.
   16452 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16453 
   16454 # Method to check whether dependent libraries are shared objects.
   16455 deplibs_check_method=$lt_deplibs_check_method
   16456 
   16457 # Command to use when deplibs_check_method == file_magic.
   16458 file_magic_cmd=$lt_file_magic_cmd
   16459 
   16460 # Flag that allows shared libraries with undefined symbols to be built.
   16461 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16462 
   16463 # Flag that forces no undefined symbols.
   16464 no_undefined_flag=$lt_no_undefined_flag_F77
   16465 
   16466 # Commands used to finish a libtool library installation in a directory.
   16467 finish_cmds=$lt_finish_cmds
   16468 
   16469 # Same as above, but a single script fragment to be evaled but not shown.
   16470 finish_eval=$lt_finish_eval
   16471 
   16472 # Take the output of nm and produce a listing of raw symbols and C names.
   16473 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16474 
   16475 # Transform the output of nm in a proper C declaration
   16476 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16477 
   16478 # Transform the output of nm in a C name address pair
   16479 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16480 
   16481 # This is the shared library runtime path variable.
   16482 runpath_var=$runpath_var
   16483 
   16484 # This is the shared library path variable.
   16485 shlibpath_var=$shlibpath_var
   16486 
   16487 # Is shlibpath searched before the hard-coded library search path?
   16488 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16489 
   16490 # How to hardcode a shared library path into an executable.
   16491 hardcode_action=$hardcode_action_F77
   16492 
   16493 # Whether we should hardcode library paths into libraries.
   16494 hardcode_into_libs=$hardcode_into_libs
   16495 
   16496 # Flag to hardcode \$libdir into a binary during linking.
   16497 # This must work even if \$libdir does not exist.
   16498 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16499 
   16500 # If ld is used when linking, flag to hardcode \$libdir into
   16501 # a binary during linking. This must work even if \$libdir does
   16502 # not exist.
   16503 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16504 
   16505 # Whether we need a single -rpath flag with a separated argument.
   16506 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16507 
   16508 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16509 # resulting binary.
   16510 hardcode_direct=$hardcode_direct_F77
   16511 
   16512 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16513 # resulting binary.
   16514 hardcode_minus_L=$hardcode_minus_L_F77
   16515 
   16516 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16517 # the resulting binary.
   16518 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16519 
   16520 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16521 # and all subsequent libraries and executables linked against it.
   16522 hardcode_automatic=$hardcode_automatic_F77
   16523 
   16524 # Variables whose values should be saved in libtool wrapper scripts and
   16525 # restored at relink time.
   16526 variables_saved_for_relink="$variables_saved_for_relink"
   16527 
   16528 # Whether libtool must link a program against all its dependency libraries.
   16529 link_all_deplibs=$link_all_deplibs_F77
   16530 
   16531 # Compile-time system search path for libraries
   16532 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16533 
   16534 # Run-time system search path for libraries
   16535 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16536 
   16537 # Fix the shell variable \$srcfile for the compiler.
   16538 fix_srcfile_path="$fix_srcfile_path_F77"
   16539 
   16540 # Set to yes if exported symbols are required.
   16541 always_export_symbols=$always_export_symbols_F77
   16542 
   16543 # The commands to list exported symbols.
   16544 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16545 
   16546 # The commands to extract the exported symbol list from a shared archive.
   16547 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16548 
   16549 # Symbols that should not be listed in the preloaded symbols.
   16550 exclude_expsyms=$lt_exclude_expsyms_F77
   16551 
   16552 # Symbols that must always be exported.
   16553 include_expsyms=$lt_include_expsyms_F77
   16554 
   16555 # ### END LIBTOOL TAG CONFIG: $tagname
   16556 
   16557 __EOF__
   16558 
   16559 
   16560 else
   16561   # If there is no Makefile yet, we rely on a make rule to execute
   16562   # `config.status --recheck' to rerun these tests and create the
   16563   # libtool script then.
   16564   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16565   if test -f "$ltmain_in"; then
   16566     test -f Makefile && make "$ltmain"
   16567   fi
   16568 fi
   16569 
   16570 
   16571 ac_ext=c
   16572 ac_cpp='$CPP $CPPFLAGS'
   16573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16576 
   16577 CC="$lt_save_CC"
   16578 
   16579 	else
   16580 	  tagname=""
   16581 	fi
   16582 	;;
   16583 
   16584       GCJ)
   16585 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16586 
   16587 
   16588 # Source file extension for Java test sources.
   16589 ac_ext=java
   16590 
   16591 # Object file extension for compiled Java test sources.
   16592 objext=o
   16593 objext_GCJ=$objext
   16594 
   16595 # Code to be used in simple compile tests
   16596 lt_simple_compile_test_code="class foo {}\n"
   16597 
   16598 # Code to be used in simple link tests
   16599 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16600 
   16601 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16602 
   16603 # If no C compiler was specified, use CC.
   16604 LTCC=${LTCC-"$CC"}
   16605 
   16606 # If no C compiler flags were specified, use CFLAGS.
   16607 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16608 
   16609 # Allow CC to be a program name with arguments.
   16610 compiler=$CC
   16611 
   16612 
   16613 # save warnings/boilerplate of simple test code
   16614 ac_outfile=conftest.$ac_objext
   16615 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16616 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16617 _lt_compiler_boilerplate=`cat conftest.err`
   16618 $rm conftest*
   16619 
   16620 ac_outfile=conftest.$ac_objext
   16621 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16622 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16623 _lt_linker_boilerplate=`cat conftest.err`
   16624 $rm conftest*
   16625 
   16626 
   16627 # Allow CC to be a program name with arguments.
   16628 lt_save_CC="$CC"
   16629 CC=${GCJ-"gcj"}
   16630 compiler=$CC
   16631 compiler_GCJ=$CC
   16632 for cc_temp in $compiler""; do
   16633   case $cc_temp in
   16634     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16635     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16636     \-*) ;;
   16637     *) break;;
   16638   esac
   16639 done
   16640 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16641 
   16642 
   16643 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16644 archive_cmds_need_lc_GCJ=no
   16645 
   16646 old_archive_cmds_GCJ=$old_archive_cmds
   16647 
   16648 ## CAVEAT EMPTOR:
   16649 ## There is no encapsulation within the following macros, do not change
   16650 ## the running order or otherwise move them around unless you know exactly
   16651 ## what you are doing...
   16652 
   16653 lt_prog_compiler_no_builtin_flag_GCJ=
   16654 
   16655 if test "$GCC" = yes; then
   16656   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16657 
   16658 
   16659 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16660 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16661 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16662   echo $ECHO_N "(cached) $ECHO_C" >&6
   16663 else
   16664   lt_cv_prog_compiler_rtti_exceptions=no
   16665   ac_outfile=conftest.$ac_objext
   16666    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16667    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16668    # Insert the option either (1) after the last *FLAGS variable, or
   16669    # (2) before a word containing "conftest.", or (3) at the end.
   16670    # Note that $ac_compile itself does not contain backslashes and begins
   16671    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16672    # The option is referenced via a variable to avoid confusing sed.
   16673    lt_compile=`echo "$ac_compile" | $SED \
   16674    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16675    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16676    -e 's:$: $lt_compiler_flag:'`
   16677    (eval echo "\"\$as_me:16677: $lt_compile\"" >&5)
   16678    (eval "$lt_compile" 2>conftest.err)
   16679    ac_status=$?
   16680    cat conftest.err >&5
   16681    echo "$as_me:16681: \$? = $ac_status" >&5
   16682    if (exit $ac_status) && test -s "$ac_outfile"; then
   16683      # The compiler can only warn and ignore the option if not recognized
   16684      # So say no if there are warnings other than the usual output.
   16685      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16686      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16687      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16688        lt_cv_prog_compiler_rtti_exceptions=yes
   16689      fi
   16690    fi
   16691    $rm conftest*
   16692 
   16693 fi
   16694 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16695 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16696 
   16697 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16698     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16699 else
   16700     :
   16701 fi
   16702 
   16703 fi
   16704 
   16705 lt_prog_compiler_wl_GCJ=
   16706 lt_prog_compiler_pic_GCJ=
   16707 lt_prog_compiler_static_GCJ=
   16708 
   16709 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16710 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16711 
   16712   if test "$GCC" = yes; then
   16713     lt_prog_compiler_wl_GCJ='-Wl,'
   16714     lt_prog_compiler_static_GCJ='-static'
   16715 
   16716     case $host_os in
   16717       aix*)
   16718       # All AIX code is PIC.
   16719       if test "$host_cpu" = ia64; then
   16720 	# AIX 5 now supports IA64 processor
   16721 	lt_prog_compiler_static_GCJ='-Bstatic'
   16722       fi
   16723       ;;
   16724 
   16725     amigaos*)
   16726       # FIXME: we need at least 68020 code to build shared libraries, but
   16727       # adding the `-m68020' flag to GCC prevents building anything better,
   16728       # like `-m68040'.
   16729       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16730       ;;
   16731 
   16732     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16733       # PIC is the default for these OSes.
   16734       ;;
   16735 
   16736     mingw* | cygwin* | pw32* | os2*)
   16737       # This hack is so that the source file can tell whether it is being
   16738       # built for inclusion in a dll (and should export symbols for example).
   16739       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16740       # (--disable-auto-import) libraries
   16741       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16742       ;;
   16743 
   16744     darwin* | rhapsody*)
   16745       # PIC is the default on this platform
   16746       # Common symbols not allowed in MH_DYLIB files
   16747       lt_prog_compiler_pic_GCJ='-fno-common'
   16748       ;;
   16749 
   16750     interix3*)
   16751       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16752       # Instead, we relocate shared libraries at runtime.
   16753       ;;
   16754 
   16755     msdosdjgpp*)
   16756       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16757       # on systems that don't support them.
   16758       lt_prog_compiler_can_build_shared_GCJ=no
   16759       enable_shared=no
   16760       ;;
   16761 
   16762     sysv4*MP*)
   16763       if test -d /usr/nec; then
   16764 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16765       fi
   16766       ;;
   16767 
   16768     hpux*)
   16769       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16770       # not for PA HP-UX.
   16771       case $host_cpu in
   16772       hppa*64*|ia64*)
   16773 	# +Z the default
   16774 	;;
   16775       *)
   16776 	lt_prog_compiler_pic_GCJ='-fPIC'
   16777 	;;
   16778       esac
   16779       ;;
   16780 
   16781     *)
   16782       lt_prog_compiler_pic_GCJ='-fPIC'
   16783       ;;
   16784     esac
   16785   else
   16786     # PORTME Check for flag to pass linker flags through the system compiler.
   16787     case $host_os in
   16788     aix*)
   16789       lt_prog_compiler_wl_GCJ='-Wl,'
   16790       if test "$host_cpu" = ia64; then
   16791 	# AIX 5 now supports IA64 processor
   16792 	lt_prog_compiler_static_GCJ='-Bstatic'
   16793       else
   16794 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16795       fi
   16796       ;;
   16797       darwin*)
   16798         # PIC is the default on this platform
   16799         # Common symbols not allowed in MH_DYLIB files
   16800        case $cc_basename in
   16801          xlc*)
   16802          lt_prog_compiler_pic_GCJ='-qnocommon'
   16803          lt_prog_compiler_wl_GCJ='-Wl,'
   16804          ;;
   16805        esac
   16806        ;;
   16807 
   16808     mingw* | cygwin* | pw32* | os2*)
   16809       # This hack is so that the source file can tell whether it is being
   16810       # built for inclusion in a dll (and should export symbols for example).
   16811       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16812       # (--disable-auto-import) libraries
   16813       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16814       ;;
   16815 
   16816     hpux9* | hpux10* | hpux11*)
   16817       lt_prog_compiler_wl_GCJ='-Wl,'
   16818       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16819       # not for PA HP-UX.
   16820       case $host_cpu in
   16821       hppa*64*|ia64*)
   16822 	# +Z the default
   16823 	;;
   16824       *)
   16825 	lt_prog_compiler_pic_GCJ='+Z'
   16826 	;;
   16827       esac
   16828       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16829       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16830       ;;
   16831 
   16832     irix5* | irix6* | nonstopux*)
   16833       lt_prog_compiler_wl_GCJ='-Wl,'
   16834       # PIC (with -KPIC) is the default.
   16835       lt_prog_compiler_static_GCJ='-non_shared'
   16836       ;;
   16837 
   16838     newsos6)
   16839       lt_prog_compiler_pic_GCJ='-KPIC'
   16840       lt_prog_compiler_static_GCJ='-Bstatic'
   16841       ;;
   16842 
   16843     linux*)
   16844       case $cc_basename in
   16845       icc* | ecc*)
   16846 	lt_prog_compiler_wl_GCJ='-Wl,'
   16847 	lt_prog_compiler_pic_GCJ='-KPIC'
   16848 	lt_prog_compiler_static_GCJ='-static'
   16849         ;;
   16850       pgcc* | pgf77* | pgf90* | pgf95*)
   16851         # Portland Group compilers (*not* the Pentium gcc compiler,
   16852 	# which looks to be a dead project)
   16853 	lt_prog_compiler_wl_GCJ='-Wl,'
   16854 	lt_prog_compiler_pic_GCJ='-fpic'
   16855 	lt_prog_compiler_static_GCJ='-Bstatic'
   16856         ;;
   16857       ccc*)
   16858         lt_prog_compiler_wl_GCJ='-Wl,'
   16859         # All Alpha code is PIC.
   16860         lt_prog_compiler_static_GCJ='-non_shared'
   16861         ;;
   16862       como)
   16863         lt_prog_compiler_wl_GCJ='-lopt='
   16864         ;;
   16865       *)
   16866         case `$CC -V 2>&1 | sed 5q` in
   16867 	*Sun\ C*)
   16868 	  # Sun C 5.9
   16869 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16870 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16871 	  lt_prog_compiler_wl_GCJ='-Wl,'
   16872 	  ;;
   16873 	*Sun\ F*)
   16874 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16875 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16876 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16877 	  lt_prog_compiler_wl_GCJ=''
   16878 	  ;;
   16879 	esac
   16880 	;;
   16881       esac
   16882       ;;
   16883 
   16884     osf3* | osf4* | osf5*)
   16885       lt_prog_compiler_wl_GCJ='-Wl,'
   16886       # All OSF/1 code is PIC.
   16887       lt_prog_compiler_static_GCJ='-non_shared'
   16888       ;;
   16889 
   16890     solaris*)
   16891       lt_prog_compiler_pic_GCJ='-KPIC'
   16892       lt_prog_compiler_static_GCJ='-Bstatic'
   16893       case $cc_basename in
   16894       f77* | f90* | f95*)
   16895 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16896       *)
   16897 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16898       esac
   16899       ;;
   16900 
   16901     sunos4*)
   16902       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16903       lt_prog_compiler_pic_GCJ='-PIC'
   16904       lt_prog_compiler_static_GCJ='-Bstatic'
   16905       ;;
   16906 
   16907     sysv4 | sysv4.2uw2* | sysv4.3*)
   16908       lt_prog_compiler_wl_GCJ='-Wl,'
   16909       lt_prog_compiler_pic_GCJ='-KPIC'
   16910       lt_prog_compiler_static_GCJ='-Bstatic'
   16911       ;;
   16912 
   16913     sysv4*MP*)
   16914       if test -d /usr/nec ;then
   16915 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16916 	lt_prog_compiler_static_GCJ='-Bstatic'
   16917       fi
   16918       ;;
   16919 
   16920     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16921       lt_prog_compiler_wl_GCJ='-Wl,'
   16922       lt_prog_compiler_pic_GCJ='-KPIC'
   16923       lt_prog_compiler_static_GCJ='-Bstatic'
   16924       ;;
   16925 
   16926     unicos*)
   16927       lt_prog_compiler_wl_GCJ='-Wl,'
   16928       lt_prog_compiler_can_build_shared_GCJ=no
   16929       ;;
   16930 
   16931     uts4*)
   16932       lt_prog_compiler_pic_GCJ='-pic'
   16933       lt_prog_compiler_static_GCJ='-Bstatic'
   16934       ;;
   16935 
   16936     *)
   16937       lt_prog_compiler_can_build_shared_GCJ=no
   16938       ;;
   16939     esac
   16940   fi
   16941 
   16942 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16943 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16944 
   16945 #
   16946 # Check to make sure the PIC flag actually works.
   16947 #
   16948 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16949 
   16950 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16951 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16952 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16953   echo $ECHO_N "(cached) $ECHO_C" >&6
   16954 else
   16955   lt_prog_compiler_pic_works_GCJ=no
   16956   ac_outfile=conftest.$ac_objext
   16957    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16958    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16959    # Insert the option either (1) after the last *FLAGS variable, or
   16960    # (2) before a word containing "conftest.", or (3) at the end.
   16961    # Note that $ac_compile itself does not contain backslashes and begins
   16962    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16963    # The option is referenced via a variable to avoid confusing sed.
   16964    lt_compile=`echo "$ac_compile" | $SED \
   16965    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16966    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16967    -e 's:$: $lt_compiler_flag:'`
   16968    (eval echo "\"\$as_me:16968: $lt_compile\"" >&5)
   16969    (eval "$lt_compile" 2>conftest.err)
   16970    ac_status=$?
   16971    cat conftest.err >&5
   16972    echo "$as_me:16972: \$? = $ac_status" >&5
   16973    if (exit $ac_status) && test -s "$ac_outfile"; then
   16974      # The compiler can only warn and ignore the option if not recognized
   16975      # So say no if there are warnings other than the usual output.
   16976      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16977      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16978      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16979        lt_prog_compiler_pic_works_GCJ=yes
   16980      fi
   16981    fi
   16982    $rm conftest*
   16983 
   16984 fi
   16985 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16986 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16987 
   16988 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16989     case $lt_prog_compiler_pic_GCJ in
   16990      "" | " "*) ;;
   16991      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16992      esac
   16993 else
   16994     lt_prog_compiler_pic_GCJ=
   16995      lt_prog_compiler_can_build_shared_GCJ=no
   16996 fi
   16997 
   16998 fi
   16999 case $host_os in
   17000   # For platforms which do not support PIC, -DPIC is meaningless:
   17001   *djgpp*)
   17002     lt_prog_compiler_pic_GCJ=
   17003     ;;
   17004   *)
   17005     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17006     ;;
   17007 esac
   17008 
   17009 #
   17010 # Check to make sure the static flag actually works.
   17011 #
   17012 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17013 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17014 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   17015 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   17016   echo $ECHO_N "(cached) $ECHO_C" >&6
   17017 else
   17018   lt_prog_compiler_static_works_GCJ=no
   17019    save_LDFLAGS="$LDFLAGS"
   17020    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17021    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   17022    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17023      # The linker can only warn and ignore the option if not recognized
   17024      # So say no if there are warnings
   17025      if test -s conftest.err; then
   17026        # Append any errors to the config.log.
   17027        cat conftest.err 1>&5
   17028        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17029        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17030        if diff conftest.exp conftest.er2 >/dev/null; then
   17031          lt_prog_compiler_static_works_GCJ=yes
   17032        fi
   17033      else
   17034        lt_prog_compiler_static_works_GCJ=yes
   17035      fi
   17036    fi
   17037    $rm conftest*
   17038    LDFLAGS="$save_LDFLAGS"
   17039 
   17040 fi
   17041 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   17042 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   17043 
   17044 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   17045     :
   17046 else
   17047     lt_prog_compiler_static_GCJ=
   17048 fi
   17049 
   17050 
   17051 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17052 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   17053 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17054   echo $ECHO_N "(cached) $ECHO_C" >&6
   17055 else
   17056   lt_cv_prog_compiler_c_o_GCJ=no
   17057    $rm -r conftest 2>/dev/null
   17058    mkdir conftest
   17059    cd conftest
   17060    mkdir out
   17061    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17062 
   17063    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17064    # Insert the option either (1) after the last *FLAGS variable, or
   17065    # (2) before a word containing "conftest.", or (3) at the end.
   17066    # Note that $ac_compile itself does not contain backslashes and begins
   17067    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17068    lt_compile=`echo "$ac_compile" | $SED \
   17069    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17070    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17071    -e 's:$: $lt_compiler_flag:'`
   17072    (eval echo "\"\$as_me:17072: $lt_compile\"" >&5)
   17073    (eval "$lt_compile" 2>out/conftest.err)
   17074    ac_status=$?
   17075    cat out/conftest.err >&5
   17076    echo "$as_me:17076: \$? = $ac_status" >&5
   17077    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17078    then
   17079      # The compiler can only warn and ignore the option if not recognized
   17080      # So say no if there are warnings
   17081      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17082      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17083      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17084        lt_cv_prog_compiler_c_o_GCJ=yes
   17085      fi
   17086    fi
   17087    chmod u+w . 2>&5
   17088    $rm conftest*
   17089    # SGI C++ compiler will create directory out/ii_files/ for
   17090    # template instantiation
   17091    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17092    $rm out/* && rmdir out
   17093    cd ..
   17094    rmdir conftest
   17095    $rm conftest*
   17096 
   17097 fi
   17098 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17099 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17100 
   17101 
   17102 hard_links="nottested"
   17103 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17104   # do not overwrite the value of need_locks provided by the user
   17105   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17106 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   17107   hard_links=yes
   17108   $rm conftest*
   17109   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17110   touch conftest.a
   17111   ln conftest.a conftest.b 2>&5 || hard_links=no
   17112   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17113   { echo "$as_me:$LINENO: result: $hard_links" >&5
   17114 echo "${ECHO_T}$hard_links" >&6; }
   17115   if test "$hard_links" = no; then
   17116     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17117 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17118     need_locks=warn
   17119   fi
   17120 else
   17121   need_locks=no
   17122 fi
   17123 
   17124 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17125 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   17126 
   17127   runpath_var=
   17128   allow_undefined_flag_GCJ=
   17129   enable_shared_with_static_runtimes_GCJ=no
   17130   archive_cmds_GCJ=
   17131   archive_expsym_cmds_GCJ=
   17132   old_archive_From_new_cmds_GCJ=
   17133   old_archive_from_expsyms_cmds_GCJ=
   17134   export_dynamic_flag_spec_GCJ=
   17135   whole_archive_flag_spec_GCJ=
   17136   thread_safe_flag_spec_GCJ=
   17137   hardcode_libdir_flag_spec_GCJ=
   17138   hardcode_libdir_flag_spec_ld_GCJ=
   17139   hardcode_libdir_separator_GCJ=
   17140   hardcode_direct_GCJ=no
   17141   hardcode_minus_L_GCJ=no
   17142   hardcode_shlibpath_var_GCJ=unsupported
   17143   link_all_deplibs_GCJ=unknown
   17144   hardcode_automatic_GCJ=no
   17145   module_cmds_GCJ=
   17146   module_expsym_cmds_GCJ=
   17147   always_export_symbols_GCJ=no
   17148   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17149   # include_expsyms should be a list of space-separated symbols to be *always*
   17150   # included in the symbol list
   17151   include_expsyms_GCJ=
   17152   # exclude_expsyms can be an extended regexp of symbols to exclude
   17153   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17154   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17155   # as well as any symbol that contains `d'.
   17156   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   17157   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17158   # platforms (ab)use it in PIC code, but their linkers get confused if
   17159   # the symbol is explicitly referenced.  Since portable code cannot
   17160   # rely on this symbol name, it's probably fine to never include it in
   17161   # preloaded symbol tables.
   17162   extract_expsyms_cmds=
   17163   # Just being paranoid about ensuring that cc_basename is set.
   17164   for cc_temp in $compiler""; do
   17165   case $cc_temp in
   17166     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17167     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17168     \-*) ;;
   17169     *) break;;
   17170   esac
   17171 done
   17172 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17173 
   17174   case $host_os in
   17175   cygwin* | mingw* | pw32*)
   17176     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17177     # When not using gcc, we currently assume that we are using
   17178     # Microsoft Visual C++.
   17179     if test "$GCC" != yes; then
   17180       with_gnu_ld=no
   17181     fi
   17182     ;;
   17183   interix*)
   17184     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17185     with_gnu_ld=yes
   17186     ;;
   17187   openbsd*)
   17188     with_gnu_ld=no
   17189     ;;
   17190   esac
   17191 
   17192   ld_shlibs_GCJ=yes
   17193   if test "$with_gnu_ld" = yes; then
   17194     # If archive_cmds runs LD, not CC, wlarc should be empty
   17195     wlarc='${wl}'
   17196 
   17197     # Set some defaults for GNU ld with shared library support. These
   17198     # are reset later if shared libraries are not supported. Putting them
   17199     # here allows them to be overridden if necessary.
   17200     runpath_var=LD_RUN_PATH
   17201     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17202     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17203     # ancient GNU ld didn't support --whole-archive et. al.
   17204     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17205 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17206       else
   17207   	whole_archive_flag_spec_GCJ=
   17208     fi
   17209     supports_anon_versioning=no
   17210     case `$LD -v 2>/dev/null` in
   17211       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17212       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17213       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17214       *\ 2.11.*) ;; # other 2.11 versions
   17215       *) supports_anon_versioning=yes ;;
   17216     esac
   17217 
   17218     # See if GNU ld supports shared libraries.
   17219     case $host_os in
   17220     aix3* | aix4* | aix5*)
   17221       # On AIX/PPC, the GNU linker is very broken
   17222       if test "$host_cpu" != ia64; then
   17223 	ld_shlibs_GCJ=no
   17224 	cat <<EOF 1>&2
   17225 
   17226 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17227 *** to be unable to reliably create shared libraries on AIX.
   17228 *** Therefore, libtool is disabling shared libraries support.  If you
   17229 *** really care for shared libraries, you may want to modify your PATH
   17230 *** so that a non-GNU linker is found, and then restart.
   17231 
   17232 EOF
   17233       fi
   17234       ;;
   17235 
   17236     amigaos*)
   17237       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)'
   17238       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17239       hardcode_minus_L_GCJ=yes
   17240 
   17241       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17242       # that the semantics of dynamic libraries on AmigaOS, at least up
   17243       # to version 4, is to share data among multiple programs linked
   17244       # with the same dynamic library.  Since this doesn't match the
   17245       # behavior of shared libraries on other platforms, we can't use
   17246       # them.
   17247       ld_shlibs_GCJ=no
   17248       ;;
   17249 
   17250     beos*)
   17251       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17252 	allow_undefined_flag_GCJ=unsupported
   17253 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17254 	# support --undefined.  This deserves some investigation.  FIXME
   17255 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17256       else
   17257 	ld_shlibs_GCJ=no
   17258       fi
   17259       ;;
   17260 
   17261     cygwin* | mingw* | pw32*)
   17262       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17263       # as there is no search path for DLLs.
   17264       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17265       allow_undefined_flag_GCJ=unsupported
   17266       always_export_symbols_GCJ=no
   17267       enable_shared_with_static_runtimes_GCJ=yes
   17268       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   17269 
   17270       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17271         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17272 	# If the export-symbols file already is a .def file (1st line
   17273 	# is EXPORTS), use it as is; otherwise, prepend...
   17274 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17275 	  cp $export_symbols $output_objdir/$soname.def;
   17276 	else
   17277 	  echo EXPORTS > $output_objdir/$soname.def;
   17278 	  cat $export_symbols >> $output_objdir/$soname.def;
   17279 	fi~
   17280 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17281       else
   17282 	ld_shlibs_GCJ=no
   17283       fi
   17284       ;;
   17285 
   17286     interix3*)
   17287       hardcode_direct_GCJ=no
   17288       hardcode_shlibpath_var_GCJ=no
   17289       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17290       export_dynamic_flag_spec_GCJ='${wl}-E'
   17291       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17292       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17293       # default) and relocated if they conflict, which is a slow very memory
   17294       # consuming and fragmenting process.  To avoid this, we pick a random,
   17295       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17296       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17297       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'
   17298       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'
   17299       ;;
   17300 
   17301     linux*)
   17302       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17303 	tmp_addflag=
   17304 	case $cc_basename,$host_cpu in
   17305 	pgcc*)				# Portland Group C compiler
   17306 	  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'
   17307 	  tmp_addflag=' $pic_flag'
   17308 	  ;;
   17309 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17310 	  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'
   17311 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17312 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17313 	  tmp_addflag=' -i_dynamic' ;;
   17314 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17315 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17316 	ifc* | ifort*)			# Intel Fortran compiler
   17317 	  tmp_addflag=' -nofor_main' ;;
   17318 	esac
   17319 	case `$CC -V 2>&1 | sed 5q` in
   17320 	*Sun\ C*)			# Sun C 5.9
   17321 	  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 /dev/null'
   17322 	  tmp_sharedflag='-G' ;;
   17323 	*Sun\ F*)			# Sun Fortran 8.3
   17324 	  tmp_sharedflag='-G' ;;
   17325 	*)
   17326 	  tmp_sharedflag='-shared' ;;
   17327 	esac
   17328 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17329 
   17330 	if test $supports_anon_versioning = yes; then
   17331 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17332   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17333   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17334 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17335 	fi
   17336       else
   17337 	ld_shlibs_GCJ=no
   17338       fi
   17339       ;;
   17340 
   17341     netbsd*)
   17342       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17343 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17344 	wlarc=
   17345       else
   17346 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17347 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17348       fi
   17349       ;;
   17350 
   17351     solaris*)
   17352       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17353 	ld_shlibs_GCJ=no
   17354 	cat <<EOF 1>&2
   17355 
   17356 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17357 *** create shared libraries on Solaris systems.  Therefore, libtool
   17358 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17359 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17360 *** your PATH or compiler configuration so that the native linker is
   17361 *** used, and then restart.
   17362 
   17363 EOF
   17364       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17365 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17366 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17367       else
   17368 	ld_shlibs_GCJ=no
   17369       fi
   17370       ;;
   17371 
   17372     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17373       case `$LD -v 2>&1` in
   17374         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17375 	ld_shlibs_GCJ=no
   17376 	cat <<_LT_EOF 1>&2
   17377 
   17378 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17379 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17380 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17381 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17382 *** your PATH or compiler configuration so that the native linker is
   17383 *** used, and then restart.
   17384 
   17385 _LT_EOF
   17386 	;;
   17387 	*)
   17388 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17389 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17390 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17391 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17392 	  else
   17393 	    ld_shlibs_GCJ=no
   17394 	  fi
   17395 	;;
   17396       esac
   17397       ;;
   17398 
   17399     sunos4*)
   17400       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17401       wlarc=
   17402       hardcode_direct_GCJ=yes
   17403       hardcode_shlibpath_var_GCJ=no
   17404       ;;
   17405 
   17406     *)
   17407       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17408 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17409 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17410       else
   17411 	ld_shlibs_GCJ=no
   17412       fi
   17413       ;;
   17414     esac
   17415 
   17416     if test "$ld_shlibs_GCJ" = no; then
   17417       runpath_var=
   17418       hardcode_libdir_flag_spec_GCJ=
   17419       export_dynamic_flag_spec_GCJ=
   17420       whole_archive_flag_spec_GCJ=
   17421     fi
   17422   else
   17423     # PORTME fill in a description of your system's linker (not GNU ld)
   17424     case $host_os in
   17425     aix3*)
   17426       allow_undefined_flag_GCJ=unsupported
   17427       always_export_symbols_GCJ=yes
   17428       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'
   17429       # Note: this linker hardcodes the directories in LIBPATH if there
   17430       # are no directories specified by -L.
   17431       hardcode_minus_L_GCJ=yes
   17432       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17433 	# Neither direct hardcoding nor static linking is supported with a
   17434 	# broken collect2.
   17435 	hardcode_direct_GCJ=unsupported
   17436       fi
   17437       ;;
   17438 
   17439     aix4* | aix5*)
   17440       if test "$host_cpu" = ia64; then
   17441 	# On IA64, the linker does run time linking by default, so we don't
   17442 	# have to do anything special.
   17443 	aix_use_runtimelinking=no
   17444 	exp_sym_flag='-Bexport'
   17445 	no_entry_flag=""
   17446       else
   17447 	# If we're using GNU nm, then we don't want the "-C" option.
   17448 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17449 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17450 	  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'
   17451 	else
   17452 	  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'
   17453 	fi
   17454 	aix_use_runtimelinking=no
   17455 
   17456 	# Test if we are trying to use run time linking or normal
   17457 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17458 	# need to do runtime linking.
   17459 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17460 	  for ld_flag in $LDFLAGS; do
   17461   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17462   	    aix_use_runtimelinking=yes
   17463   	    break
   17464   	  fi
   17465 	  done
   17466 	  ;;
   17467 	esac
   17468 
   17469 	exp_sym_flag='-bexport'
   17470 	no_entry_flag='-bnoentry'
   17471       fi
   17472 
   17473       # When large executables or shared objects are built, AIX ld can
   17474       # have problems creating the table of contents.  If linking a library
   17475       # or program results in "error TOC overflow" add -mminimal-toc to
   17476       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17477       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17478 
   17479       archive_cmds_GCJ=''
   17480       hardcode_direct_GCJ=yes
   17481       hardcode_libdir_separator_GCJ=':'
   17482       link_all_deplibs_GCJ=yes
   17483 
   17484       if test "$GCC" = yes; then
   17485 	case $host_os in aix4.[012]|aix4.[012].*)
   17486 	# We only want to do this on AIX 4.2 and lower, the check
   17487 	# below for broken collect2 doesn't work under 4.3+
   17488 	  collect2name=`${CC} -print-prog-name=collect2`
   17489 	  if test -f "$collect2name" && \
   17490   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17491 	  then
   17492   	  # We have reworked collect2
   17493   	  hardcode_direct_GCJ=yes
   17494 	  else
   17495   	  # We have old collect2
   17496   	  hardcode_direct_GCJ=unsupported
   17497   	  # It fails to find uninstalled libraries when the uninstalled
   17498   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17499   	  # to unsupported forces relinking
   17500   	  hardcode_minus_L_GCJ=yes
   17501   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17502   	  hardcode_libdir_separator_GCJ=
   17503 	  fi
   17504 	  ;;
   17505 	esac
   17506 	shared_flag='-shared'
   17507 	if test "$aix_use_runtimelinking" = yes; then
   17508 	  shared_flag="$shared_flag "'${wl}-G'
   17509 	fi
   17510       else
   17511 	# not using gcc
   17512 	if test "$host_cpu" = ia64; then
   17513   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17514   	# chokes on -Wl,-G. The following line is correct:
   17515 	  shared_flag='-G'
   17516 	else
   17517 	  if test "$aix_use_runtimelinking" = yes; then
   17518 	    shared_flag='${wl}-G'
   17519 	  else
   17520 	    shared_flag='${wl}-bM:SRE'
   17521 	  fi
   17522 	fi
   17523       fi
   17524 
   17525       # It seems that -bexpall does not export symbols beginning with
   17526       # underscore (_), so it is better to generate a list of symbols to export.
   17527       always_export_symbols_GCJ=yes
   17528       if test "$aix_use_runtimelinking" = yes; then
   17529 	# Warning - without using the other runtime loading flags (-brtl),
   17530 	# -berok will link without error, but may produce a broken library.
   17531 	allow_undefined_flag_GCJ='-berok'
   17532        # Determine the default libpath from the value encoded in an empty executable.
   17533        cat >conftest.$ac_ext <<_ACEOF
   17534 /* confdefs.h.  */
   17535 _ACEOF
   17536 cat confdefs.h >>conftest.$ac_ext
   17537 cat >>conftest.$ac_ext <<_ACEOF
   17538 /* end confdefs.h.  */
   17539 
   17540 int
   17541 main ()
   17542 {
   17543 
   17544   ;
   17545   return 0;
   17546 }
   17547 _ACEOF
   17548 rm -f conftest.$ac_objext conftest$ac_exeext
   17549 if { (ac_try="$ac_link"
   17550 case "(($ac_try" in
   17551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17552   *) ac_try_echo=$ac_try;;
   17553 esac
   17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17555   (eval "$ac_link") 2>conftest.er1
   17556   ac_status=$?
   17557   grep -v '^ *+' conftest.er1 >conftest.err
   17558   rm -f conftest.er1
   17559   cat conftest.err >&5
   17560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17561   (exit $ac_status); } && {
   17562 	 test -z "$ac_c_werror_flag" ||
   17563 	 test ! -s conftest.err
   17564        } && test -s conftest$ac_exeext &&
   17565        $as_test_x conftest$ac_exeext; then
   17566 
   17567 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17568 }'`
   17569 # Check for a 64-bit object if we didn't find anything.
   17570 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17571 }'`; fi
   17572 else
   17573   echo "$as_me: failed program was:" >&5
   17574 sed 's/^/| /' conftest.$ac_ext >&5
   17575 
   17576 
   17577 fi
   17578 
   17579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17580       conftest$ac_exeext conftest.$ac_ext
   17581 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17582 
   17583        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17584 	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"
   17585        else
   17586 	if test "$host_cpu" = ia64; then
   17587 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17588 	  allow_undefined_flag_GCJ="-z nodefs"
   17589 	  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"
   17590 	else
   17591 	 # Determine the default libpath from the value encoded in an empty executable.
   17592 	 cat >conftest.$ac_ext <<_ACEOF
   17593 /* confdefs.h.  */
   17594 _ACEOF
   17595 cat confdefs.h >>conftest.$ac_ext
   17596 cat >>conftest.$ac_ext <<_ACEOF
   17597 /* end confdefs.h.  */
   17598 
   17599 int
   17600 main ()
   17601 {
   17602 
   17603   ;
   17604   return 0;
   17605 }
   17606 _ACEOF
   17607 rm -f conftest.$ac_objext conftest$ac_exeext
   17608 if { (ac_try="$ac_link"
   17609 case "(($ac_try" in
   17610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17611   *) ac_try_echo=$ac_try;;
   17612 esac
   17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17614   (eval "$ac_link") 2>conftest.er1
   17615   ac_status=$?
   17616   grep -v '^ *+' conftest.er1 >conftest.err
   17617   rm -f conftest.er1
   17618   cat conftest.err >&5
   17619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17620   (exit $ac_status); } && {
   17621 	 test -z "$ac_c_werror_flag" ||
   17622 	 test ! -s conftest.err
   17623        } && test -s conftest$ac_exeext &&
   17624        $as_test_x conftest$ac_exeext; then
   17625 
   17626 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17627 }'`
   17628 # Check for a 64-bit object if we didn't find anything.
   17629 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17630 }'`; fi
   17631 else
   17632   echo "$as_me: failed program was:" >&5
   17633 sed 's/^/| /' conftest.$ac_ext >&5
   17634 
   17635 
   17636 fi
   17637 
   17638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17639       conftest$ac_exeext conftest.$ac_ext
   17640 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17641 
   17642 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17643 	  # Warning - without using the other run time loading flags,
   17644 	  # -berok will link without error, but may produce a broken library.
   17645 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17646 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17647 	  # Exported symbols can be pulled into shared objects from archives
   17648 	  whole_archive_flag_spec_GCJ='$convenience'
   17649 	  archive_cmds_need_lc_GCJ=yes
   17650 	  # This is similar to how AIX traditionally builds its shared libraries.
   17651 	  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'
   17652 	fi
   17653       fi
   17654       ;;
   17655 
   17656     amigaos*)
   17657       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)'
   17658       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17659       hardcode_minus_L_GCJ=yes
   17660       # see comment about different semantics on the GNU ld section
   17661       ld_shlibs_GCJ=no
   17662       ;;
   17663 
   17664     bsdi[45]*)
   17665       export_dynamic_flag_spec_GCJ=-rdynamic
   17666       ;;
   17667 
   17668     cygwin* | mingw* | pw32*)
   17669       # When not using gcc, we currently assume that we are using
   17670       # Microsoft Visual C++.
   17671       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17672       # no search path for DLLs.
   17673       hardcode_libdir_flag_spec_GCJ=' '
   17674       allow_undefined_flag_GCJ=unsupported
   17675       # Tell ltmain to make .lib files, not .a files.
   17676       libext=lib
   17677       # Tell ltmain to make .dll files, not .so files.
   17678       shrext_cmds=".dll"
   17679       # FIXME: Setting linknames here is a bad hack.
   17680       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17681       # The linker will automatically build a .lib file if we build a DLL.
   17682       old_archive_From_new_cmds_GCJ='true'
   17683       # FIXME: Should let the user specify the lib program.
   17684       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17685       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17686       enable_shared_with_static_runtimes_GCJ=yes
   17687       ;;
   17688 
   17689     darwin* | rhapsody*)
   17690       case $host_os in
   17691         rhapsody* | darwin1.[012])
   17692          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17693          ;;
   17694        *) # Darwin 1.3 on
   17695          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17696            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17697          else
   17698            case ${MACOSX_DEPLOYMENT_TARGET} in
   17699              10.[012])
   17700                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17701                ;;
   17702              10.*)
   17703                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17704                ;;
   17705            esac
   17706          fi
   17707          ;;
   17708       esac
   17709       archive_cmds_need_lc_GCJ=no
   17710       hardcode_direct_GCJ=no
   17711       hardcode_automatic_GCJ=yes
   17712       hardcode_shlibpath_var_GCJ=unsupported
   17713       whole_archive_flag_spec_GCJ=''
   17714       link_all_deplibs_GCJ=yes
   17715     if test "$GCC" = yes ; then
   17716     	output_verbose_link_cmd='echo'
   17717         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17718       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17719       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17720       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}'
   17721       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}'
   17722     else
   17723       case $cc_basename in
   17724         xlc*)
   17725          output_verbose_link_cmd='echo'
   17726          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17727          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17728           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17729          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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17730           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}'
   17731           ;;
   17732        *)
   17733          ld_shlibs_GCJ=no
   17734           ;;
   17735       esac
   17736     fi
   17737       ;;
   17738 
   17739     dgux*)
   17740       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17741       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17742       hardcode_shlibpath_var_GCJ=no
   17743       ;;
   17744 
   17745     freebsd1*)
   17746       ld_shlibs_GCJ=no
   17747       ;;
   17748 
   17749     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17750     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17751     # does not break anything, and helps significantly (at the cost of a little
   17752     # extra space).
   17753     freebsd2.2*)
   17754       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17755       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17756       hardcode_direct_GCJ=yes
   17757       hardcode_shlibpath_var_GCJ=no
   17758       ;;
   17759 
   17760     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17761     freebsd2*)
   17762       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17763       hardcode_direct_GCJ=yes
   17764       hardcode_minus_L_GCJ=yes
   17765       hardcode_shlibpath_var_GCJ=no
   17766       ;;
   17767 
   17768     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17769     freebsd* | kfreebsd*-gnu | dragonfly*)
   17770       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17771       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17772       hardcode_direct_GCJ=yes
   17773       hardcode_shlibpath_var_GCJ=no
   17774       ;;
   17775 
   17776     hpux9*)
   17777       if test "$GCC" = yes; then
   17778 	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'
   17779       else
   17780 	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'
   17781       fi
   17782       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17783       hardcode_libdir_separator_GCJ=:
   17784       hardcode_direct_GCJ=yes
   17785 
   17786       # hardcode_minus_L: Not really in the search PATH,
   17787       # but as the default location of the library.
   17788       hardcode_minus_L_GCJ=yes
   17789       export_dynamic_flag_spec_GCJ='${wl}-E'
   17790       ;;
   17791 
   17792     hpux10*)
   17793       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17794 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17795       else
   17796 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17797       fi
   17798       if test "$with_gnu_ld" = no; then
   17799 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17800 	hardcode_libdir_separator_GCJ=:
   17801 
   17802 	hardcode_direct_GCJ=yes
   17803 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17804 
   17805 	# hardcode_minus_L: Not really in the search PATH,
   17806 	# but as the default location of the library.
   17807 	hardcode_minus_L_GCJ=yes
   17808       fi
   17809       ;;
   17810 
   17811     hpux11*)
   17812       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17813 	case $host_cpu in
   17814 	hppa*64*)
   17815 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17816 	  ;;
   17817 	ia64*)
   17818 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17819 	  ;;
   17820 	*)
   17821 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17822 	  ;;
   17823 	esac
   17824       else
   17825 	case $host_cpu in
   17826 	hppa*64*)
   17827 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17828 	  ;;
   17829 	ia64*)
   17830 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17831 	  ;;
   17832 	*)
   17833 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17834 	  ;;
   17835 	esac
   17836       fi
   17837       if test "$with_gnu_ld" = no; then
   17838 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17839 	hardcode_libdir_separator_GCJ=:
   17840 
   17841 	case $host_cpu in
   17842 	hppa*64*|ia64*)
   17843 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17844 	  hardcode_direct_GCJ=no
   17845 	  hardcode_shlibpath_var_GCJ=no
   17846 	  ;;
   17847 	*)
   17848 	  hardcode_direct_GCJ=yes
   17849 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17850 
   17851 	  # hardcode_minus_L: Not really in the search PATH,
   17852 	  # but as the default location of the library.
   17853 	  hardcode_minus_L_GCJ=yes
   17854 	  ;;
   17855 	esac
   17856       fi
   17857       ;;
   17858 
   17859     irix5* | irix6* | nonstopux*)
   17860       if test "$GCC" = yes; then
   17861 	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'
   17862       else
   17863 	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'
   17864 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17865       fi
   17866       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17867       hardcode_libdir_separator_GCJ=:
   17868       link_all_deplibs_GCJ=yes
   17869       ;;
   17870 
   17871     netbsd*)
   17872       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17873 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17874       else
   17875 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17876       fi
   17877       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17878       hardcode_direct_GCJ=yes
   17879       hardcode_shlibpath_var_GCJ=no
   17880       ;;
   17881 
   17882     newsos6)
   17883       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17884       hardcode_direct_GCJ=yes
   17885       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17886       hardcode_libdir_separator_GCJ=:
   17887       hardcode_shlibpath_var_GCJ=no
   17888       ;;
   17889 
   17890     openbsd*)
   17891       hardcode_direct_GCJ=yes
   17892       hardcode_shlibpath_var_GCJ=no
   17893       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17894 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17895 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17896 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17897 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17898       else
   17899        case $host_os in
   17900 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17901 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17902 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17903 	   ;;
   17904 	 *)
   17905 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17906 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17907 	   ;;
   17908        esac
   17909       fi
   17910       ;;
   17911 
   17912     os2*)
   17913       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17914       hardcode_minus_L_GCJ=yes
   17915       allow_undefined_flag_GCJ=unsupported
   17916       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'
   17917       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17918       ;;
   17919 
   17920     osf3*)
   17921       if test "$GCC" = yes; then
   17922 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17923 	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'
   17924       else
   17925 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17926 	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'
   17927       fi
   17928       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17929       hardcode_libdir_separator_GCJ=:
   17930       ;;
   17931 
   17932     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17933       if test "$GCC" = yes; then
   17934 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17935 	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'
   17936 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17937       else
   17938 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17939 	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'
   17940 	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~
   17941 	$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'
   17942 
   17943 	# Both c and cxx compiler support -rpath directly
   17944 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17945       fi
   17946       hardcode_libdir_separator_GCJ=:
   17947       ;;
   17948 
   17949     solaris*)
   17950       no_undefined_flag_GCJ=' -z text'
   17951       if test "$GCC" = yes; then
   17952 	wlarc='${wl}'
   17953 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17954 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17955 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17956       else
   17957 	wlarc=''
   17958 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17959 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17960   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17961       fi
   17962       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17963       hardcode_shlibpath_var_GCJ=no
   17964       case $host_os in
   17965       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17966       *)
   17967  	# The compiler driver will combine linker options so we
   17968  	# cannot just pass the convience library names through
   17969  	# without $wl, iff we do not link with $LD.
   17970  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17971  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17972  	case $wlarc in
   17973  	'')
   17974  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17975  	*)
   17976  	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   17977  	esac ;;
   17978       esac
   17979       link_all_deplibs_GCJ=yes
   17980       ;;
   17981 
   17982     sunos4*)
   17983       if test "x$host_vendor" = xsequent; then
   17984 	# Use $CC to link under sequent, because it throws in some extra .o
   17985 	# files that make .init and .fini sections work.
   17986 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17987       else
   17988 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17989       fi
   17990       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17991       hardcode_direct_GCJ=yes
   17992       hardcode_minus_L_GCJ=yes
   17993       hardcode_shlibpath_var_GCJ=no
   17994       ;;
   17995 
   17996     sysv4)
   17997       case $host_vendor in
   17998 	sni)
   17999 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18000 	  hardcode_direct_GCJ=yes # is this really true???
   18001 	;;
   18002 	siemens)
   18003 	  ## LD is ld it makes a PLAMLIB
   18004 	  ## CC just makes a GrossModule.
   18005 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18006 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18007 	  hardcode_direct_GCJ=no
   18008         ;;
   18009 	motorola)
   18010 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18011 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18012 	;;
   18013       esac
   18014       runpath_var='LD_RUN_PATH'
   18015       hardcode_shlibpath_var_GCJ=no
   18016       ;;
   18017 
   18018     sysv4.3*)
   18019       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18020       hardcode_shlibpath_var_GCJ=no
   18021       export_dynamic_flag_spec_GCJ='-Bexport'
   18022       ;;
   18023 
   18024     sysv4*MP*)
   18025       if test -d /usr/nec; then
   18026 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18027 	hardcode_shlibpath_var_GCJ=no
   18028 	runpath_var=LD_RUN_PATH
   18029 	hardcode_runpath_var=yes
   18030 	ld_shlibs_GCJ=yes
   18031       fi
   18032       ;;
   18033 
   18034     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   18035       no_undefined_flag_GCJ='${wl}-z,text'
   18036       archive_cmds_need_lc_GCJ=no
   18037       hardcode_shlibpath_var_GCJ=no
   18038       runpath_var='LD_RUN_PATH'
   18039 
   18040       if test "$GCC" = yes; then
   18041 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18042 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18043       else
   18044 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18045 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18046       fi
   18047       ;;
   18048 
   18049     sysv5* | sco3.2v5* | sco5v6*)
   18050       # Note: We can NOT use -z defs as we might desire, because we do not
   18051       # link with -lc, and that would cause any symbols used from libc to
   18052       # always be unresolved, which means just about no library would
   18053       # ever link correctly.  If we're not using GNU ld we use -z text
   18054       # though, which does catch some bad symbols but isn't as heavy-handed
   18055       # as -z defs.
   18056       no_undefined_flag_GCJ='${wl}-z,text'
   18057       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18058       archive_cmds_need_lc_GCJ=no
   18059       hardcode_shlibpath_var_GCJ=no
   18060       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18061       hardcode_libdir_separator_GCJ=':'
   18062       link_all_deplibs_GCJ=yes
   18063       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18064       runpath_var='LD_RUN_PATH'
   18065 
   18066       if test "$GCC" = yes; then
   18067 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18068 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18069       else
   18070 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18071 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18072       fi
   18073       ;;
   18074 
   18075     uts4*)
   18076       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18077       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18078       hardcode_shlibpath_var_GCJ=no
   18079       ;;
   18080 
   18081     *)
   18082       ld_shlibs_GCJ=no
   18083       ;;
   18084     esac
   18085   fi
   18086 
   18087 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18088 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   18089 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18090 
   18091 #
   18092 # Do we need to explicitly link libc?
   18093 #
   18094 case "x$archive_cmds_need_lc_GCJ" in
   18095 x|xyes)
   18096   # Assume -lc should be added
   18097   archive_cmds_need_lc_GCJ=yes
   18098 
   18099   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18100     case $archive_cmds_GCJ in
   18101     *'~'*)
   18102       # FIXME: we may have to deal with multi-command sequences.
   18103       ;;
   18104     '$CC '*)
   18105       # Test whether the compiler implicitly links with -lc since on some
   18106       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18107       # to ld, don't add -lc before -lgcc.
   18108       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18109 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   18110       $rm conftest*
   18111       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   18112 
   18113       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18114   (eval $ac_compile) 2>&5
   18115   ac_status=$?
   18116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18117   (exit $ac_status); } 2>conftest.err; then
   18118         soname=conftest
   18119         lib=conftest
   18120         libobjs=conftest.$ac_objext
   18121         deplibs=
   18122         wl=$lt_prog_compiler_wl_GCJ
   18123 	pic_flag=$lt_prog_compiler_pic_GCJ
   18124         compiler_flags=-v
   18125         linker_flags=-v
   18126         verstring=
   18127         output_objdir=.
   18128         libname=conftest
   18129         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18130         allow_undefined_flag_GCJ=
   18131         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18132   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18133   ac_status=$?
   18134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18135   (exit $ac_status); }
   18136         then
   18137 	  archive_cmds_need_lc_GCJ=no
   18138         else
   18139 	  archive_cmds_need_lc_GCJ=yes
   18140         fi
   18141         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18142       else
   18143         cat conftest.err 1>&5
   18144       fi
   18145       $rm conftest*
   18146       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18147 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   18148       ;;
   18149     esac
   18150   fi
   18151   ;;
   18152 esac
   18153 
   18154 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18155 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   18156 library_names_spec=
   18157 libname_spec='lib$name'
   18158 soname_spec=
   18159 shrext_cmds=".so"
   18160 postinstall_cmds=
   18161 postuninstall_cmds=
   18162 finish_cmds=
   18163 finish_eval=
   18164 shlibpath_var=
   18165 shlibpath_overrides_runpath=unknown
   18166 version_type=none
   18167 dynamic_linker="$host_os ld.so"
   18168 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18169 if test "$GCC" = yes; then
   18170   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18171   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   18172     # if the path contains ";" then we assume it to be the separator
   18173     # otherwise default to the standard path separator (i.e. ":") - it is
   18174     # assumed that no part of a normal pathname contains ";" but that should
   18175     # okay in the real world where ";" in dirpaths is itself problematic.
   18176     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18177   else
   18178     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18179   fi
   18180 else
   18181   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18182 fi
   18183 need_lib_prefix=unknown
   18184 hardcode_into_libs=no
   18185 
   18186 # when you set need_version to no, make sure it does not cause -set_version
   18187 # flags to be left without arguments
   18188 need_version=unknown
   18189 
   18190 case $host_os in
   18191 aix3*)
   18192   version_type=linux
   18193   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18194   shlibpath_var=LIBPATH
   18195 
   18196   # AIX 3 has no versioning support, so we append a major version to the name.
   18197   soname_spec='${libname}${release}${shared_ext}$major'
   18198   ;;
   18199 
   18200 aix4* | aix5*)
   18201   version_type=linux
   18202   need_lib_prefix=no
   18203   need_version=no
   18204   hardcode_into_libs=yes
   18205   if test "$host_cpu" = ia64; then
   18206     # AIX 5 supports IA64
   18207     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18208     shlibpath_var=LD_LIBRARY_PATH
   18209   else
   18210     # With GCC up to 2.95.x, collect2 would create an import file
   18211     # for dependence libraries.  The import file would start with
   18212     # the line `#! .'.  This would cause the generated library to
   18213     # depend on `.', always an invalid library.  This was fixed in
   18214     # development snapshots of GCC prior to 3.0.
   18215     case $host_os in
   18216       aix4 | aix4.[01] | aix4.[01].*)
   18217       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18218 	   echo ' yes '
   18219 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18220 	:
   18221       else
   18222 	can_build_shared=no
   18223       fi
   18224       ;;
   18225     esac
   18226     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18227     # soname into executable. Probably we can add versioning support to
   18228     # collect2, so additional links can be useful in future.
   18229     if test "$aix_use_runtimelinking" = yes; then
   18230       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18231       # instead of lib<name>.a to let people know that these are not
   18232       # typical AIX shared libraries.
   18233       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18234     else
   18235       # We preserve .a as extension for shared libraries through AIX4.2
   18236       # and later when we are not doing run time linking.
   18237       library_names_spec='${libname}${release}.a $libname.a'
   18238       soname_spec='${libname}${release}${shared_ext}$major'
   18239     fi
   18240     shlibpath_var=LIBPATH
   18241   fi
   18242   ;;
   18243 
   18244 amigaos*)
   18245   library_names_spec='$libname.ixlibrary $libname.a'
   18246   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18247   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'
   18248   ;;
   18249 
   18250 beos*)
   18251   library_names_spec='${libname}${shared_ext}'
   18252   dynamic_linker="$host_os ld.so"
   18253   shlibpath_var=LIBRARY_PATH
   18254   ;;
   18255 
   18256 bsdi[45]*)
   18257   version_type=linux
   18258   need_version=no
   18259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18260   soname_spec='${libname}${release}${shared_ext}$major'
   18261   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18262   shlibpath_var=LD_LIBRARY_PATH
   18263   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18264   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18265   # the default ld.so.conf also contains /usr/contrib/lib and
   18266   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18267   # libtool to hard-code these into programs
   18268   ;;
   18269 
   18270 cygwin* | mingw* | pw32*)
   18271   version_type=windows
   18272   shrext_cmds=".dll"
   18273   need_version=no
   18274   need_lib_prefix=no
   18275 
   18276   case $GCC,$host_os in
   18277   yes,cygwin* | yes,mingw* | yes,pw32*)
   18278     library_names_spec='$libname.dll.a'
   18279     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18280     postinstall_cmds='base_file=`basename \${file}`~
   18281       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18282       dldir=$destdir/`dirname \$dlpath`~
   18283       test -d \$dldir || mkdir -p \$dldir~
   18284       $install_prog $dir/$dlname \$dldir/$dlname~
   18285       chmod a+x \$dldir/$dlname'
   18286     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18287       dlpath=$dir/\$dldll~
   18288        $rm \$dlpath'
   18289     shlibpath_overrides_runpath=yes
   18290 
   18291     case $host_os in
   18292     cygwin*)
   18293       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18294       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18295       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18296       ;;
   18297     mingw*)
   18298       # MinGW DLLs use traditional 'lib' prefix
   18299       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18300       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18301       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18302         # It is most probably a Windows format PATH printed by
   18303         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18304         # path with ; separators, and with drive letters. We can handle the
   18305         # drive letters (cygwin fileutils understands them), so leave them,
   18306         # especially as we might pass files found there to a mingw objdump,
   18307         # which wouldn't understand a cygwinified path. Ahh.
   18308         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18309       else
   18310         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18311       fi
   18312       ;;
   18313     pw32*)
   18314       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18315       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18316       ;;
   18317     esac
   18318     ;;
   18319 
   18320   *)
   18321     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18322     ;;
   18323   esac
   18324   dynamic_linker='Win32 ld.exe'
   18325   # FIXME: first we should search . and the directory the executable is in
   18326   shlibpath_var=PATH
   18327   ;;
   18328 
   18329 darwin* | rhapsody*)
   18330   dynamic_linker="$host_os dyld"
   18331   version_type=darwin
   18332   need_lib_prefix=no
   18333   need_version=no
   18334   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18335   soname_spec='${libname}${release}${major}$shared_ext'
   18336   shlibpath_overrides_runpath=yes
   18337   shlibpath_var=DYLD_LIBRARY_PATH
   18338   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18339   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   18340   if test "$GCC" = yes; then
   18341     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   18342   else
   18343     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   18344   fi
   18345   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18346   ;;
   18347 
   18348 dgux*)
   18349   version_type=linux
   18350   need_lib_prefix=no
   18351   need_version=no
   18352   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18353   soname_spec='${libname}${release}${shared_ext}$major'
   18354   shlibpath_var=LD_LIBRARY_PATH
   18355   ;;
   18356 
   18357 freebsd1*)
   18358   dynamic_linker=no
   18359   ;;
   18360 
   18361 kfreebsd*-gnu)
   18362   version_type=linux
   18363   need_lib_prefix=no
   18364   need_version=no
   18365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18366   soname_spec='${libname}${release}${shared_ext}$major'
   18367   shlibpath_var=LD_LIBRARY_PATH
   18368   shlibpath_overrides_runpath=no
   18369   hardcode_into_libs=yes
   18370   dynamic_linker='GNU ld.so'
   18371   ;;
   18372 
   18373 freebsd* | dragonfly*)
   18374   # DragonFly does not have aout.  When/if they implement a new
   18375   # versioning mechanism, adjust this.
   18376   if test -x /usr/bin/objformat; then
   18377     objformat=`/usr/bin/objformat`
   18378   else
   18379     case $host_os in
   18380     freebsd[123]*) objformat=aout ;;
   18381     *) objformat=elf ;;
   18382     esac
   18383   fi
   18384   version_type=freebsd-$objformat
   18385   case $version_type in
   18386     freebsd-elf*)
   18387       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18388       need_version=no
   18389       need_lib_prefix=no
   18390       ;;
   18391     freebsd-*)
   18392       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18393       need_version=yes
   18394       ;;
   18395   esac
   18396   shlibpath_var=LD_LIBRARY_PATH
   18397   case $host_os in
   18398   freebsd2*)
   18399     shlibpath_overrides_runpath=yes
   18400     ;;
   18401   freebsd3.[01]* | freebsdelf3.[01]*)
   18402     shlibpath_overrides_runpath=yes
   18403     hardcode_into_libs=yes
   18404     ;;
   18405   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18406   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18407     shlibpath_overrides_runpath=no
   18408     hardcode_into_libs=yes
   18409     ;;
   18410   freebsd*) # from 4.6 on
   18411     shlibpath_overrides_runpath=yes
   18412     hardcode_into_libs=yes
   18413     ;;
   18414   esac
   18415   ;;
   18416 
   18417 gnu*)
   18418   version_type=linux
   18419   need_lib_prefix=no
   18420   need_version=no
   18421   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18422   soname_spec='${libname}${release}${shared_ext}$major'
   18423   shlibpath_var=LD_LIBRARY_PATH
   18424   hardcode_into_libs=yes
   18425   ;;
   18426 
   18427 hpux9* | hpux10* | hpux11*)
   18428   # Give a soname corresponding to the major version so that dld.sl refuses to
   18429   # link against other versions.
   18430   version_type=sunos
   18431   need_lib_prefix=no
   18432   need_version=no
   18433   case $host_cpu in
   18434   ia64*)
   18435     shrext_cmds='.so'
   18436     hardcode_into_libs=yes
   18437     dynamic_linker="$host_os dld.so"
   18438     shlibpath_var=LD_LIBRARY_PATH
   18439     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18440     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18441     soname_spec='${libname}${release}${shared_ext}$major'
   18442     if test "X$HPUX_IA64_MODE" = X32; then
   18443       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18444     else
   18445       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18446     fi
   18447     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18448     ;;
   18449    hppa*64*)
   18450      shrext_cmds='.sl'
   18451      hardcode_into_libs=yes
   18452      dynamic_linker="$host_os dld.sl"
   18453      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18454      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18455      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18456      soname_spec='${libname}${release}${shared_ext}$major'
   18457      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18458      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18459      ;;
   18460    *)
   18461     shrext_cmds='.sl'
   18462     dynamic_linker="$host_os dld.sl"
   18463     shlibpath_var=SHLIB_PATH
   18464     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18465     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18466     soname_spec='${libname}${release}${shared_ext}$major'
   18467     ;;
   18468   esac
   18469   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18470   postinstall_cmds='chmod 555 $lib'
   18471   ;;
   18472 
   18473 interix3*)
   18474   version_type=linux
   18475   need_lib_prefix=no
   18476   need_version=no
   18477   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18478   soname_spec='${libname}${release}${shared_ext}$major'
   18479   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18480   shlibpath_var=LD_LIBRARY_PATH
   18481   shlibpath_overrides_runpath=no
   18482   hardcode_into_libs=yes
   18483   ;;
   18484 
   18485 irix5* | irix6* | nonstopux*)
   18486   case $host_os in
   18487     nonstopux*) version_type=nonstopux ;;
   18488     *)
   18489 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18490 		version_type=linux
   18491 	else
   18492 		version_type=irix
   18493 	fi ;;
   18494   esac
   18495   need_lib_prefix=no
   18496   need_version=no
   18497   soname_spec='${libname}${release}${shared_ext}$major'
   18498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18499   case $host_os in
   18500   irix5* | nonstopux*)
   18501     libsuff= shlibsuff=
   18502     ;;
   18503   *)
   18504     case $LD in # libtool.m4 will add one of these switches to LD
   18505     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18506       libsuff= shlibsuff= libmagic=32-bit;;
   18507     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18508       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18509     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18510       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18511     *) libsuff= shlibsuff= libmagic=never-match;;
   18512     esac
   18513     ;;
   18514   esac
   18515   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18516   shlibpath_overrides_runpath=no
   18517   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18518   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18519   hardcode_into_libs=yes
   18520   ;;
   18521 
   18522 # No shared lib support for Linux oldld, aout, or coff.
   18523 linux*oldld* | linux*aout* | linux*coff*)
   18524   dynamic_linker=no
   18525   ;;
   18526 
   18527 # This must be Linux ELF.
   18528 linux*)
   18529   version_type=linux
   18530   need_lib_prefix=no
   18531   need_version=no
   18532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18533   soname_spec='${libname}${release}${shared_ext}$major'
   18534   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18535   shlibpath_var=LD_LIBRARY_PATH
   18536   shlibpath_overrides_runpath=no
   18537   # This implies no fast_install, which is unacceptable.
   18538   # Some rework will be needed to allow for fast_install
   18539   # before this can be enabled.
   18540   hardcode_into_libs=yes
   18541 
   18542   # Append ld.so.conf contents to the search path
   18543   if test -f /etc/ld.so.conf; then
   18544     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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18545     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18546   fi
   18547 
   18548   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18549   # powerpc, because MkLinux only supported shared libraries with the
   18550   # GNU dynamic linker.  Since this was broken with cross compilers,
   18551   # most powerpc-linux boxes support dynamic linking these days and
   18552   # people can always --disable-shared, the test was removed, and we
   18553   # assume the GNU/Linux dynamic linker is in use.
   18554   dynamic_linker='GNU/Linux ld.so'
   18555   ;;
   18556 
   18557 knetbsd*-gnu)
   18558   version_type=linux
   18559   need_lib_prefix=no
   18560   need_version=no
   18561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18562   soname_spec='${libname}${release}${shared_ext}$major'
   18563   shlibpath_var=LD_LIBRARY_PATH
   18564   shlibpath_overrides_runpath=no
   18565   hardcode_into_libs=yes
   18566   dynamic_linker='GNU ld.so'
   18567   ;;
   18568 
   18569 netbsd*)
   18570   version_type=sunos
   18571   need_lib_prefix=no
   18572   need_version=no
   18573   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18574     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18575     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18576     dynamic_linker='NetBSD (a.out) ld.so'
   18577   else
   18578     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18579     soname_spec='${libname}${release}${shared_ext}$major'
   18580     dynamic_linker='NetBSD ld.elf_so'
   18581   fi
   18582   shlibpath_var=LD_LIBRARY_PATH
   18583   shlibpath_overrides_runpath=yes
   18584   hardcode_into_libs=yes
   18585   ;;
   18586 
   18587 newsos6)
   18588   version_type=linux
   18589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18590   shlibpath_var=LD_LIBRARY_PATH
   18591   shlibpath_overrides_runpath=yes
   18592   ;;
   18593 
   18594 nto-qnx*)
   18595   version_type=linux
   18596   need_lib_prefix=no
   18597   need_version=no
   18598   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18599   soname_spec='${libname}${release}${shared_ext}$major'
   18600   shlibpath_var=LD_LIBRARY_PATH
   18601   shlibpath_overrides_runpath=yes
   18602   ;;
   18603 
   18604 openbsd*)
   18605   version_type=sunos
   18606   sys_lib_dlsearch_path_spec="/usr/lib"
   18607   need_lib_prefix=no
   18608   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18609   case $host_os in
   18610     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18611     *)                         need_version=no  ;;
   18612   esac
   18613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18614   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18615   shlibpath_var=LD_LIBRARY_PATH
   18616   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18617     case $host_os in
   18618       openbsd2.[89] | openbsd2.[89].*)
   18619 	shlibpath_overrides_runpath=no
   18620 	;;
   18621       *)
   18622 	shlibpath_overrides_runpath=yes
   18623 	;;
   18624       esac
   18625   else
   18626     shlibpath_overrides_runpath=yes
   18627   fi
   18628   ;;
   18629 
   18630 os2*)
   18631   libname_spec='$name'
   18632   shrext_cmds=".dll"
   18633   need_lib_prefix=no
   18634   library_names_spec='$libname${shared_ext} $libname.a'
   18635   dynamic_linker='OS/2 ld.exe'
   18636   shlibpath_var=LIBPATH
   18637   ;;
   18638 
   18639 osf3* | osf4* | osf5*)
   18640   version_type=osf
   18641   need_lib_prefix=no
   18642   need_version=no
   18643   soname_spec='${libname}${release}${shared_ext}$major'
   18644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18645   shlibpath_var=LD_LIBRARY_PATH
   18646   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18647   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18648   ;;
   18649 
   18650 solaris*)
   18651   version_type=linux
   18652   need_lib_prefix=no
   18653   need_version=no
   18654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18655   soname_spec='${libname}${release}${shared_ext}$major'
   18656   shlibpath_var=LD_LIBRARY_PATH
   18657   shlibpath_overrides_runpath=yes
   18658   hardcode_into_libs=yes
   18659   # ldd complains unless libraries are executable
   18660   postinstall_cmds='chmod +x $lib'
   18661   ;;
   18662 
   18663 sunos4*)
   18664   version_type=sunos
   18665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18666   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18667   shlibpath_var=LD_LIBRARY_PATH
   18668   shlibpath_overrides_runpath=yes
   18669   if test "$with_gnu_ld" = yes; then
   18670     need_lib_prefix=no
   18671   fi
   18672   need_version=yes
   18673   ;;
   18674 
   18675 sysv4 | sysv4.3*)
   18676   version_type=linux
   18677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18678   soname_spec='${libname}${release}${shared_ext}$major'
   18679   shlibpath_var=LD_LIBRARY_PATH
   18680   case $host_vendor in
   18681     sni)
   18682       shlibpath_overrides_runpath=no
   18683       need_lib_prefix=no
   18684       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18685       runpath_var=LD_RUN_PATH
   18686       ;;
   18687     siemens)
   18688       need_lib_prefix=no
   18689       ;;
   18690     motorola)
   18691       need_lib_prefix=no
   18692       need_version=no
   18693       shlibpath_overrides_runpath=no
   18694       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18695       ;;
   18696   esac
   18697   ;;
   18698 
   18699 sysv4*MP*)
   18700   if test -d /usr/nec ;then
   18701     version_type=linux
   18702     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18703     soname_spec='$libname${shared_ext}.$major'
   18704     shlibpath_var=LD_LIBRARY_PATH
   18705   fi
   18706   ;;
   18707 
   18708 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18709   version_type=freebsd-elf
   18710   need_lib_prefix=no
   18711   need_version=no
   18712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18713   soname_spec='${libname}${release}${shared_ext}$major'
   18714   shlibpath_var=LD_LIBRARY_PATH
   18715   hardcode_into_libs=yes
   18716   if test "$with_gnu_ld" = yes; then
   18717     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18718     shlibpath_overrides_runpath=no
   18719   else
   18720     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18721     shlibpath_overrides_runpath=yes
   18722     case $host_os in
   18723       sco3.2v5*)
   18724         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18725 	;;
   18726     esac
   18727   fi
   18728   sys_lib_dlsearch_path_spec='/usr/lib'
   18729   ;;
   18730 
   18731 uts4*)
   18732   version_type=linux
   18733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18734   soname_spec='${libname}${release}${shared_ext}$major'
   18735   shlibpath_var=LD_LIBRARY_PATH
   18736   ;;
   18737 
   18738 *)
   18739   dynamic_linker=no
   18740   ;;
   18741 esac
   18742 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18743 echo "${ECHO_T}$dynamic_linker" >&6; }
   18744 test "$dynamic_linker" = no && can_build_shared=no
   18745 
   18746 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18747 if test "$GCC" = yes; then
   18748   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18749 fi
   18750 
   18751 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18752 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18753 hardcode_action_GCJ=
   18754 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18755    test -n "$runpath_var_GCJ" || \
   18756    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18757 
   18758   # We can hardcode non-existant directories.
   18759   if test "$hardcode_direct_GCJ" != no &&
   18760      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18761      # have to relink, otherwise we might link with an installed library
   18762      # when we should be linking with a yet-to-be-installed one
   18763      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18764      test "$hardcode_minus_L_GCJ" != no; then
   18765     # Linking always hardcodes the temporary library directory.
   18766     hardcode_action_GCJ=relink
   18767   else
   18768     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18769     hardcode_action_GCJ=immediate
   18770   fi
   18771 else
   18772   # We cannot hardcode anything, or else we can only hardcode existing
   18773   # directories.
   18774   hardcode_action_GCJ=unsupported
   18775 fi
   18776 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18777 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18778 
   18779 if test "$hardcode_action_GCJ" = relink; then
   18780   # Fast installation is not supported
   18781   enable_fast_install=no
   18782 elif test "$shlibpath_overrides_runpath" = yes ||
   18783      test "$enable_shared" = no; then
   18784   # Fast installation is not necessary
   18785   enable_fast_install=needless
   18786 fi
   18787 
   18788 
   18789 # The else clause should only fire when bootstrapping the
   18790 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18791 # with your package, and you will get complaints that there are
   18792 # no rules to generate ltmain.sh.
   18793 if test -f "$ltmain"; then
   18794   # See if we are running on zsh, and set the options which allow our commands through
   18795   # without removal of \ escapes.
   18796   if test -n "${ZSH_VERSION+set}" ; then
   18797     setopt NO_GLOB_SUBST
   18798   fi
   18799   # Now quote all the things that may contain metacharacters while being
   18800   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18801   # variables and quote the copies for generation of the libtool script.
   18802   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18803     SED SHELL STRIP \
   18804     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18805     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18806     deplibs_check_method reload_flag reload_cmds need_locks \
   18807     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18808     lt_cv_sys_global_symbol_to_c_name_address \
   18809     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18810     old_postinstall_cmds old_postuninstall_cmds \
   18811     compiler_GCJ \
   18812     CC_GCJ \
   18813     LD_GCJ \
   18814     lt_prog_compiler_wl_GCJ \
   18815     lt_prog_compiler_pic_GCJ \
   18816     lt_prog_compiler_static_GCJ \
   18817     lt_prog_compiler_no_builtin_flag_GCJ \
   18818     export_dynamic_flag_spec_GCJ \
   18819     thread_safe_flag_spec_GCJ \
   18820     whole_archive_flag_spec_GCJ \
   18821     enable_shared_with_static_runtimes_GCJ \
   18822     old_archive_cmds_GCJ \
   18823     old_archive_from_new_cmds_GCJ \
   18824     predep_objects_GCJ \
   18825     postdep_objects_GCJ \
   18826     predeps_GCJ \
   18827     postdeps_GCJ \
   18828     compiler_lib_search_path_GCJ \
   18829     archive_cmds_GCJ \
   18830     archive_expsym_cmds_GCJ \
   18831     postinstall_cmds_GCJ \
   18832     postuninstall_cmds_GCJ \
   18833     old_archive_from_expsyms_cmds_GCJ \
   18834     allow_undefined_flag_GCJ \
   18835     no_undefined_flag_GCJ \
   18836     export_symbols_cmds_GCJ \
   18837     hardcode_libdir_flag_spec_GCJ \
   18838     hardcode_libdir_flag_spec_ld_GCJ \
   18839     hardcode_libdir_separator_GCJ \
   18840     hardcode_automatic_GCJ \
   18841     module_cmds_GCJ \
   18842     module_expsym_cmds_GCJ \
   18843     lt_cv_prog_compiler_c_o_GCJ \
   18844     exclude_expsyms_GCJ \
   18845     include_expsyms_GCJ; do
   18846 
   18847     case $var in
   18848     old_archive_cmds_GCJ | \
   18849     old_archive_from_new_cmds_GCJ | \
   18850     archive_cmds_GCJ | \
   18851     archive_expsym_cmds_GCJ | \
   18852     module_cmds_GCJ | \
   18853     module_expsym_cmds_GCJ | \
   18854     old_archive_from_expsyms_cmds_GCJ | \
   18855     export_symbols_cmds_GCJ | \
   18856     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18857     postinstall_cmds | postuninstall_cmds | \
   18858     old_postinstall_cmds | old_postuninstall_cmds | \
   18859     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18860       # Double-quote double-evaled strings.
   18861       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18862       ;;
   18863     *)
   18864       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18865       ;;
   18866     esac
   18867   done
   18868 
   18869   case $lt_echo in
   18870   *'\$0 --fallback-echo"')
   18871     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18872     ;;
   18873   esac
   18874 
   18875 cfgfile="$ofile"
   18876 
   18877   cat <<__EOF__ >> "$cfgfile"
   18878 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18879 
   18880 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18881 
   18882 # Shell to use when invoking shell scripts.
   18883 SHELL=$lt_SHELL
   18884 
   18885 # Whether or not to build shared libraries.
   18886 build_libtool_libs=$enable_shared
   18887 
   18888 # Whether or not to build static libraries.
   18889 build_old_libs=$enable_static
   18890 
   18891 # Whether or not to add -lc for building shared libraries.
   18892 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18893 
   18894 # Whether or not to disallow shared libs when runtime libs are static
   18895 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18896 
   18897 # Whether or not to optimize for fast installation.
   18898 fast_install=$enable_fast_install
   18899 
   18900 # The host system.
   18901 host_alias=$host_alias
   18902 host=$host
   18903 host_os=$host_os
   18904 
   18905 # The build system.
   18906 build_alias=$build_alias
   18907 build=$build
   18908 build_os=$build_os
   18909 
   18910 # An echo program that does not interpret backslashes.
   18911 echo=$lt_echo
   18912 
   18913 # The archiver.
   18914 AR=$lt_AR
   18915 AR_FLAGS=$lt_AR_FLAGS
   18916 
   18917 # A C compiler.
   18918 LTCC=$lt_LTCC
   18919 
   18920 # LTCC compiler flags.
   18921 LTCFLAGS=$lt_LTCFLAGS
   18922 
   18923 # A language-specific compiler.
   18924 CC=$lt_compiler_GCJ
   18925 
   18926 # Is the compiler the GNU C compiler?
   18927 with_gcc=$GCC_GCJ
   18928 
   18929 # An ERE matcher.
   18930 EGREP=$lt_EGREP
   18931 
   18932 # The linker used to build libraries.
   18933 LD=$lt_LD_GCJ
   18934 
   18935 # Whether we need hard or soft links.
   18936 LN_S=$lt_LN_S
   18937 
   18938 # A BSD-compatible nm program.
   18939 NM=$lt_NM
   18940 
   18941 # A symbol stripping program
   18942 STRIP=$lt_STRIP
   18943 
   18944 # Used to examine libraries when file_magic_cmd begins "file"
   18945 MAGIC_CMD=$MAGIC_CMD
   18946 
   18947 # Used on cygwin: DLL creation program.
   18948 DLLTOOL="$DLLTOOL"
   18949 
   18950 # Used on cygwin: object dumper.
   18951 OBJDUMP="$OBJDUMP"
   18952 
   18953 # Used on cygwin: assembler.
   18954 AS="$AS"
   18955 
   18956 # The name of the directory that contains temporary libtool files.
   18957 objdir=$objdir
   18958 
   18959 # How to create reloadable object files.
   18960 reload_flag=$lt_reload_flag
   18961 reload_cmds=$lt_reload_cmds
   18962 
   18963 # How to pass a linker flag through the compiler.
   18964 wl=$lt_lt_prog_compiler_wl_GCJ
   18965 
   18966 # Object file suffix (normally "o").
   18967 objext="$ac_objext"
   18968 
   18969 # Old archive suffix (normally "a").
   18970 libext="$libext"
   18971 
   18972 # Shared library suffix (normally ".so").
   18973 shrext_cmds='$shrext_cmds'
   18974 
   18975 # Executable file suffix (normally "").
   18976 exeext="$exeext"
   18977 
   18978 # Additional compiler flags for building library objects.
   18979 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18980 pic_mode=$pic_mode
   18981 
   18982 # What is the maximum length of a command?
   18983 max_cmd_len=$lt_cv_sys_max_cmd_len
   18984 
   18985 # Does compiler simultaneously support -c and -o options?
   18986 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18987 
   18988 # Must we lock files when doing compilation?
   18989 need_locks=$lt_need_locks
   18990 
   18991 # Do we need the lib prefix for modules?
   18992 need_lib_prefix=$need_lib_prefix
   18993 
   18994 # Do we need a version for libraries?
   18995 need_version=$need_version
   18996 
   18997 # Whether dlopen is supported.
   18998 dlopen_support=$enable_dlopen
   18999 
   19000 # Whether dlopen of programs is supported.
   19001 dlopen_self=$enable_dlopen_self
   19002 
   19003 # Whether dlopen of statically linked programs is supported.
   19004 dlopen_self_static=$enable_dlopen_self_static
   19005 
   19006 # Compiler flag to prevent dynamic linking.
   19007 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19008 
   19009 # Compiler flag to turn off builtin functions.
   19010 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19011 
   19012 # Compiler flag to allow reflexive dlopens.
   19013 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19014 
   19015 # Compiler flag to generate shared objects directly from archives.
   19016 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19017 
   19018 # Compiler flag to generate thread-safe objects.
   19019 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19020 
   19021 # Library versioning type.
   19022 version_type=$version_type
   19023 
   19024 # Format of library name prefix.
   19025 libname_spec=$lt_libname_spec
   19026 
   19027 # List of archive names.  First name is the real one, the rest are links.
   19028 # The last name is the one that the linker finds with -lNAME.
   19029 library_names_spec=$lt_library_names_spec
   19030 
   19031 # The coded name of the library, if different from the real name.
   19032 soname_spec=$lt_soname_spec
   19033 
   19034 # Commands used to build and install an old-style archive.
   19035 RANLIB=$lt_RANLIB
   19036 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19037 old_postinstall_cmds=$lt_old_postinstall_cmds
   19038 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19039 
   19040 # Create an old-style archive from a shared archive.
   19041 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19042 
   19043 # Create a temporary old-style archive to link instead of a shared archive.
   19044 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19045 
   19046 # Commands used to build and install a shared archive.
   19047 archive_cmds=$lt_archive_cmds_GCJ
   19048 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19049 postinstall_cmds=$lt_postinstall_cmds
   19050 postuninstall_cmds=$lt_postuninstall_cmds
   19051 
   19052 # Commands used to build a loadable module (assumed same as above if empty)
   19053 module_cmds=$lt_module_cmds_GCJ
   19054 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19055 
   19056 # Commands to strip libraries.
   19057 old_striplib=$lt_old_striplib
   19058 striplib=$lt_striplib
   19059 
   19060 # Dependencies to place before the objects being linked to create a
   19061 # shared library.
   19062 predep_objects=$lt_predep_objects_GCJ
   19063 
   19064 # Dependencies to place after the objects being linked to create a
   19065 # shared library.
   19066 postdep_objects=$lt_postdep_objects_GCJ
   19067 
   19068 # Dependencies to place before the objects being linked to create a
   19069 # shared library.
   19070 predeps=$lt_predeps_GCJ
   19071 
   19072 # Dependencies to place after the objects being linked to create a
   19073 # shared library.
   19074 postdeps=$lt_postdeps_GCJ
   19075 
   19076 # The library search path used internally by the compiler when linking
   19077 # a shared library.
   19078 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19079 
   19080 # Method to check whether dependent libraries are shared objects.
   19081 deplibs_check_method=$lt_deplibs_check_method
   19082 
   19083 # Command to use when deplibs_check_method == file_magic.
   19084 file_magic_cmd=$lt_file_magic_cmd
   19085 
   19086 # Flag that allows shared libraries with undefined symbols to be built.
   19087 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19088 
   19089 # Flag that forces no undefined symbols.
   19090 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19091 
   19092 # Commands used to finish a libtool library installation in a directory.
   19093 finish_cmds=$lt_finish_cmds
   19094 
   19095 # Same as above, but a single script fragment to be evaled but not shown.
   19096 finish_eval=$lt_finish_eval
   19097 
   19098 # Take the output of nm and produce a listing of raw symbols and C names.
   19099 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19100 
   19101 # Transform the output of nm in a proper C declaration
   19102 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19103 
   19104 # Transform the output of nm in a C name address pair
   19105 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19106 
   19107 # This is the shared library runtime path variable.
   19108 runpath_var=$runpath_var
   19109 
   19110 # This is the shared library path variable.
   19111 shlibpath_var=$shlibpath_var
   19112 
   19113 # Is shlibpath searched before the hard-coded library search path?
   19114 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19115 
   19116 # How to hardcode a shared library path into an executable.
   19117 hardcode_action=$hardcode_action_GCJ
   19118 
   19119 # Whether we should hardcode library paths into libraries.
   19120 hardcode_into_libs=$hardcode_into_libs
   19121 
   19122 # Flag to hardcode \$libdir into a binary during linking.
   19123 # This must work even if \$libdir does not exist.
   19124 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19125 
   19126 # If ld is used when linking, flag to hardcode \$libdir into
   19127 # a binary during linking. This must work even if \$libdir does
   19128 # not exist.
   19129 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19130 
   19131 # Whether we need a single -rpath flag with a separated argument.
   19132 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19133 
   19134 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19135 # resulting binary.
   19136 hardcode_direct=$hardcode_direct_GCJ
   19137 
   19138 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19139 # resulting binary.
   19140 hardcode_minus_L=$hardcode_minus_L_GCJ
   19141 
   19142 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19143 # the resulting binary.
   19144 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19145 
   19146 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19147 # and all subsequent libraries and executables linked against it.
   19148 hardcode_automatic=$hardcode_automatic_GCJ
   19149 
   19150 # Variables whose values should be saved in libtool wrapper scripts and
   19151 # restored at relink time.
   19152 variables_saved_for_relink="$variables_saved_for_relink"
   19153 
   19154 # Whether libtool must link a program against all its dependency libraries.
   19155 link_all_deplibs=$link_all_deplibs_GCJ
   19156 
   19157 # Compile-time system search path for libraries
   19158 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19159 
   19160 # Run-time system search path for libraries
   19161 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19162 
   19163 # Fix the shell variable \$srcfile for the compiler.
   19164 fix_srcfile_path="$fix_srcfile_path_GCJ"
   19165 
   19166 # Set to yes if exported symbols are required.
   19167 always_export_symbols=$always_export_symbols_GCJ
   19168 
   19169 # The commands to list exported symbols.
   19170 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19171 
   19172 # The commands to extract the exported symbol list from a shared archive.
   19173 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19174 
   19175 # Symbols that should not be listed in the preloaded symbols.
   19176 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19177 
   19178 # Symbols that must always be exported.
   19179 include_expsyms=$lt_include_expsyms_GCJ
   19180 
   19181 # ### END LIBTOOL TAG CONFIG: $tagname
   19182 
   19183 __EOF__
   19184 
   19185 
   19186 else
   19187   # If there is no Makefile yet, we rely on a make rule to execute
   19188   # `config.status --recheck' to rerun these tests and create the
   19189   # libtool script then.
   19190   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19191   if test -f "$ltmain_in"; then
   19192     test -f Makefile && make "$ltmain"
   19193   fi
   19194 fi
   19195 
   19196 
   19197 ac_ext=c
   19198 ac_cpp='$CPP $CPPFLAGS'
   19199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19202 
   19203 CC="$lt_save_CC"
   19204 
   19205 	else
   19206 	  tagname=""
   19207 	fi
   19208 	;;
   19209 
   19210       RC)
   19211 
   19212 
   19213 # Source file extension for RC test sources.
   19214 ac_ext=rc
   19215 
   19216 # Object file extension for compiled RC test sources.
   19217 objext=o
   19218 objext_RC=$objext
   19219 
   19220 # Code to be used in simple compile tests
   19221 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   19222 
   19223 # Code to be used in simple link tests
   19224 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19225 
   19226 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19227 
   19228 # If no C compiler was specified, use CC.
   19229 LTCC=${LTCC-"$CC"}
   19230 
   19231 # If no C compiler flags were specified, use CFLAGS.
   19232 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19233 
   19234 # Allow CC to be a program name with arguments.
   19235 compiler=$CC
   19236 
   19237 
   19238 # save warnings/boilerplate of simple test code
   19239 ac_outfile=conftest.$ac_objext
   19240 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   19241 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19242 _lt_compiler_boilerplate=`cat conftest.err`
   19243 $rm conftest*
   19244 
   19245 ac_outfile=conftest.$ac_objext
   19246 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   19247 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19248 _lt_linker_boilerplate=`cat conftest.err`
   19249 $rm conftest*
   19250 
   19251 
   19252 # Allow CC to be a program name with arguments.
   19253 lt_save_CC="$CC"
   19254 CC=${RC-"windres"}
   19255 compiler=$CC
   19256 compiler_RC=$CC
   19257 for cc_temp in $compiler""; do
   19258   case $cc_temp in
   19259     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19260     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19261     \-*) ;;
   19262     *) break;;
   19263   esac
   19264 done
   19265 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19266 
   19267 lt_cv_prog_compiler_c_o_RC=yes
   19268 
   19269 # The else clause should only fire when bootstrapping the
   19270 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19271 # with your package, and you will get complaints that there are
   19272 # no rules to generate ltmain.sh.
   19273 if test -f "$ltmain"; then
   19274   # See if we are running on zsh, and set the options which allow our commands through
   19275   # without removal of \ escapes.
   19276   if test -n "${ZSH_VERSION+set}" ; then
   19277     setopt NO_GLOB_SUBST
   19278   fi
   19279   # Now quote all the things that may contain metacharacters while being
   19280   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19281   # variables and quote the copies for generation of the libtool script.
   19282   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19283     SED SHELL STRIP \
   19284     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19285     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19286     deplibs_check_method reload_flag reload_cmds need_locks \
   19287     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19288     lt_cv_sys_global_symbol_to_c_name_address \
   19289     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19290     old_postinstall_cmds old_postuninstall_cmds \
   19291     compiler_RC \
   19292     CC_RC \
   19293     LD_RC \
   19294     lt_prog_compiler_wl_RC \
   19295     lt_prog_compiler_pic_RC \
   19296     lt_prog_compiler_static_RC \
   19297     lt_prog_compiler_no_builtin_flag_RC \
   19298     export_dynamic_flag_spec_RC \
   19299     thread_safe_flag_spec_RC \
   19300     whole_archive_flag_spec_RC \
   19301     enable_shared_with_static_runtimes_RC \
   19302     old_archive_cmds_RC \
   19303     old_archive_from_new_cmds_RC \
   19304     predep_objects_RC \
   19305     postdep_objects_RC \
   19306     predeps_RC \
   19307     postdeps_RC \
   19308     compiler_lib_search_path_RC \
   19309     archive_cmds_RC \
   19310     archive_expsym_cmds_RC \
   19311     postinstall_cmds_RC \
   19312     postuninstall_cmds_RC \
   19313     old_archive_from_expsyms_cmds_RC \
   19314     allow_undefined_flag_RC \
   19315     no_undefined_flag_RC \
   19316     export_symbols_cmds_RC \
   19317     hardcode_libdir_flag_spec_RC \
   19318     hardcode_libdir_flag_spec_ld_RC \
   19319     hardcode_libdir_separator_RC \
   19320     hardcode_automatic_RC \
   19321     module_cmds_RC \
   19322     module_expsym_cmds_RC \
   19323     lt_cv_prog_compiler_c_o_RC \
   19324     exclude_expsyms_RC \
   19325     include_expsyms_RC; do
   19326 
   19327     case $var in
   19328     old_archive_cmds_RC | \
   19329     old_archive_from_new_cmds_RC | \
   19330     archive_cmds_RC | \
   19331     archive_expsym_cmds_RC | \
   19332     module_cmds_RC | \
   19333     module_expsym_cmds_RC | \
   19334     old_archive_from_expsyms_cmds_RC | \
   19335     export_symbols_cmds_RC | \
   19336     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19337     postinstall_cmds | postuninstall_cmds | \
   19338     old_postinstall_cmds | old_postuninstall_cmds | \
   19339     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19340       # Double-quote double-evaled strings.
   19341       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19342       ;;
   19343     *)
   19344       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19345       ;;
   19346     esac
   19347   done
   19348 
   19349   case $lt_echo in
   19350   *'\$0 --fallback-echo"')
   19351     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19352     ;;
   19353   esac
   19354 
   19355 cfgfile="$ofile"
   19356 
   19357   cat <<__EOF__ >> "$cfgfile"
   19358 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19359 
   19360 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19361 
   19362 # Shell to use when invoking shell scripts.
   19363 SHELL=$lt_SHELL
   19364 
   19365 # Whether or not to build shared libraries.
   19366 build_libtool_libs=$enable_shared
   19367 
   19368 # Whether or not to build static libraries.
   19369 build_old_libs=$enable_static
   19370 
   19371 # Whether or not to add -lc for building shared libraries.
   19372 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19373 
   19374 # Whether or not to disallow shared libs when runtime libs are static
   19375 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19376 
   19377 # Whether or not to optimize for fast installation.
   19378 fast_install=$enable_fast_install
   19379 
   19380 # The host system.
   19381 host_alias=$host_alias
   19382 host=$host
   19383 host_os=$host_os
   19384 
   19385 # The build system.
   19386 build_alias=$build_alias
   19387 build=$build
   19388 build_os=$build_os
   19389 
   19390 # An echo program that does not interpret backslashes.
   19391 echo=$lt_echo
   19392 
   19393 # The archiver.
   19394 AR=$lt_AR
   19395 AR_FLAGS=$lt_AR_FLAGS
   19396 
   19397 # A C compiler.
   19398 LTCC=$lt_LTCC
   19399 
   19400 # LTCC compiler flags.
   19401 LTCFLAGS=$lt_LTCFLAGS
   19402 
   19403 # A language-specific compiler.
   19404 CC=$lt_compiler_RC
   19405 
   19406 # Is the compiler the GNU C compiler?
   19407 with_gcc=$GCC_RC
   19408 
   19409 # An ERE matcher.
   19410 EGREP=$lt_EGREP
   19411 
   19412 # The linker used to build libraries.
   19413 LD=$lt_LD_RC
   19414 
   19415 # Whether we need hard or soft links.
   19416 LN_S=$lt_LN_S
   19417 
   19418 # A BSD-compatible nm program.
   19419 NM=$lt_NM
   19420 
   19421 # A symbol stripping program
   19422 STRIP=$lt_STRIP
   19423 
   19424 # Used to examine libraries when file_magic_cmd begins "file"
   19425 MAGIC_CMD=$MAGIC_CMD
   19426 
   19427 # Used on cygwin: DLL creation program.
   19428 DLLTOOL="$DLLTOOL"
   19429 
   19430 # Used on cygwin: object dumper.
   19431 OBJDUMP="$OBJDUMP"
   19432 
   19433 # Used on cygwin: assembler.
   19434 AS="$AS"
   19435 
   19436 # The name of the directory that contains temporary libtool files.
   19437 objdir=$objdir
   19438 
   19439 # How to create reloadable object files.
   19440 reload_flag=$lt_reload_flag
   19441 reload_cmds=$lt_reload_cmds
   19442 
   19443 # How to pass a linker flag through the compiler.
   19444 wl=$lt_lt_prog_compiler_wl_RC
   19445 
   19446 # Object file suffix (normally "o").
   19447 objext="$ac_objext"
   19448 
   19449 # Old archive suffix (normally "a").
   19450 libext="$libext"
   19451 
   19452 # Shared library suffix (normally ".so").
   19453 shrext_cmds='$shrext_cmds'
   19454 
   19455 # Executable file suffix (normally "").
   19456 exeext="$exeext"
   19457 
   19458 # Additional compiler flags for building library objects.
   19459 pic_flag=$lt_lt_prog_compiler_pic_RC
   19460 pic_mode=$pic_mode
   19461 
   19462 # What is the maximum length of a command?
   19463 max_cmd_len=$lt_cv_sys_max_cmd_len
   19464 
   19465 # Does compiler simultaneously support -c and -o options?
   19466 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19467 
   19468 # Must we lock files when doing compilation?
   19469 need_locks=$lt_need_locks
   19470 
   19471 # Do we need the lib prefix for modules?
   19472 need_lib_prefix=$need_lib_prefix
   19473 
   19474 # Do we need a version for libraries?
   19475 need_version=$need_version
   19476 
   19477 # Whether dlopen is supported.
   19478 dlopen_support=$enable_dlopen
   19479 
   19480 # Whether dlopen of programs is supported.
   19481 dlopen_self=$enable_dlopen_self
   19482 
   19483 # Whether dlopen of statically linked programs is supported.
   19484 dlopen_self_static=$enable_dlopen_self_static
   19485 
   19486 # Compiler flag to prevent dynamic linking.
   19487 link_static_flag=$lt_lt_prog_compiler_static_RC
   19488 
   19489 # Compiler flag to turn off builtin functions.
   19490 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19491 
   19492 # Compiler flag to allow reflexive dlopens.
   19493 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19494 
   19495 # Compiler flag to generate shared objects directly from archives.
   19496 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19497 
   19498 # Compiler flag to generate thread-safe objects.
   19499 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19500 
   19501 # Library versioning type.
   19502 version_type=$version_type
   19503 
   19504 # Format of library name prefix.
   19505 libname_spec=$lt_libname_spec
   19506 
   19507 # List of archive names.  First name is the real one, the rest are links.
   19508 # The last name is the one that the linker finds with -lNAME.
   19509 library_names_spec=$lt_library_names_spec
   19510 
   19511 # The coded name of the library, if different from the real name.
   19512 soname_spec=$lt_soname_spec
   19513 
   19514 # Commands used to build and install an old-style archive.
   19515 RANLIB=$lt_RANLIB
   19516 old_archive_cmds=$lt_old_archive_cmds_RC
   19517 old_postinstall_cmds=$lt_old_postinstall_cmds
   19518 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19519 
   19520 # Create an old-style archive from a shared archive.
   19521 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19522 
   19523 # Create a temporary old-style archive to link instead of a shared archive.
   19524 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19525 
   19526 # Commands used to build and install a shared archive.
   19527 archive_cmds=$lt_archive_cmds_RC
   19528 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19529 postinstall_cmds=$lt_postinstall_cmds
   19530 postuninstall_cmds=$lt_postuninstall_cmds
   19531 
   19532 # Commands used to build a loadable module (assumed same as above if empty)
   19533 module_cmds=$lt_module_cmds_RC
   19534 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19535 
   19536 # Commands to strip libraries.
   19537 old_striplib=$lt_old_striplib
   19538 striplib=$lt_striplib
   19539 
   19540 # Dependencies to place before the objects being linked to create a
   19541 # shared library.
   19542 predep_objects=$lt_predep_objects_RC
   19543 
   19544 # Dependencies to place after the objects being linked to create a
   19545 # shared library.
   19546 postdep_objects=$lt_postdep_objects_RC
   19547 
   19548 # Dependencies to place before the objects being linked to create a
   19549 # shared library.
   19550 predeps=$lt_predeps_RC
   19551 
   19552 # Dependencies to place after the objects being linked to create a
   19553 # shared library.
   19554 postdeps=$lt_postdeps_RC
   19555 
   19556 # The library search path used internally by the compiler when linking
   19557 # a shared library.
   19558 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19559 
   19560 # Method to check whether dependent libraries are shared objects.
   19561 deplibs_check_method=$lt_deplibs_check_method
   19562 
   19563 # Command to use when deplibs_check_method == file_magic.
   19564 file_magic_cmd=$lt_file_magic_cmd
   19565 
   19566 # Flag that allows shared libraries with undefined symbols to be built.
   19567 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19568 
   19569 # Flag that forces no undefined symbols.
   19570 no_undefined_flag=$lt_no_undefined_flag_RC
   19571 
   19572 # Commands used to finish a libtool library installation in a directory.
   19573 finish_cmds=$lt_finish_cmds
   19574 
   19575 # Same as above, but a single script fragment to be evaled but not shown.
   19576 finish_eval=$lt_finish_eval
   19577 
   19578 # Take the output of nm and produce a listing of raw symbols and C names.
   19579 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19580 
   19581 # Transform the output of nm in a proper C declaration
   19582 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19583 
   19584 # Transform the output of nm in a C name address pair
   19585 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19586 
   19587 # This is the shared library runtime path variable.
   19588 runpath_var=$runpath_var
   19589 
   19590 # This is the shared library path variable.
   19591 shlibpath_var=$shlibpath_var
   19592 
   19593 # Is shlibpath searched before the hard-coded library search path?
   19594 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19595 
   19596 # How to hardcode a shared library path into an executable.
   19597 hardcode_action=$hardcode_action_RC
   19598 
   19599 # Whether we should hardcode library paths into libraries.
   19600 hardcode_into_libs=$hardcode_into_libs
   19601 
   19602 # Flag to hardcode \$libdir into a binary during linking.
   19603 # This must work even if \$libdir does not exist.
   19604 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19605 
   19606 # If ld is used when linking, flag to hardcode \$libdir into
   19607 # a binary during linking. This must work even if \$libdir does
   19608 # not exist.
   19609 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19610 
   19611 # Whether we need a single -rpath flag with a separated argument.
   19612 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19613 
   19614 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19615 # resulting binary.
   19616 hardcode_direct=$hardcode_direct_RC
   19617 
   19618 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19619 # resulting binary.
   19620 hardcode_minus_L=$hardcode_minus_L_RC
   19621 
   19622 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19623 # the resulting binary.
   19624 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19625 
   19626 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19627 # and all subsequent libraries and executables linked against it.
   19628 hardcode_automatic=$hardcode_automatic_RC
   19629 
   19630 # Variables whose values should be saved in libtool wrapper scripts and
   19631 # restored at relink time.
   19632 variables_saved_for_relink="$variables_saved_for_relink"
   19633 
   19634 # Whether libtool must link a program against all its dependency libraries.
   19635 link_all_deplibs=$link_all_deplibs_RC
   19636 
   19637 # Compile-time system search path for libraries
   19638 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19639 
   19640 # Run-time system search path for libraries
   19641 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19642 
   19643 # Fix the shell variable \$srcfile for the compiler.
   19644 fix_srcfile_path="$fix_srcfile_path_RC"
   19645 
   19646 # Set to yes if exported symbols are required.
   19647 always_export_symbols=$always_export_symbols_RC
   19648 
   19649 # The commands to list exported symbols.
   19650 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19651 
   19652 # The commands to extract the exported symbol list from a shared archive.
   19653 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19654 
   19655 # Symbols that should not be listed in the preloaded symbols.
   19656 exclude_expsyms=$lt_exclude_expsyms_RC
   19657 
   19658 # Symbols that must always be exported.
   19659 include_expsyms=$lt_include_expsyms_RC
   19660 
   19661 # ### END LIBTOOL TAG CONFIG: $tagname
   19662 
   19663 __EOF__
   19664 
   19665 
   19666 else
   19667   # If there is no Makefile yet, we rely on a make rule to execute
   19668   # `config.status --recheck' to rerun these tests and create the
   19669   # libtool script then.
   19670   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19671   if test -f "$ltmain_in"; then
   19672     test -f Makefile && make "$ltmain"
   19673   fi
   19674 fi
   19675 
   19676 
   19677 ac_ext=c
   19678 ac_cpp='$CPP $CPPFLAGS'
   19679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19682 
   19683 CC="$lt_save_CC"
   19684 
   19685 	;;
   19686 
   19687       *)
   19688 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19689 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19690    { (exit 1); exit 1; }; }
   19691 	;;
   19692       esac
   19693 
   19694       # Append the new tag name to the list of available tags.
   19695       if test -n "$tagname" ; then
   19696       available_tags="$available_tags $tagname"
   19697     fi
   19698     fi
   19699   done
   19700   IFS="$lt_save_ifs"
   19701 
   19702   # Now substitute the updated list of available tags.
   19703   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19704     mv "${ofile}T" "$ofile"
   19705     chmod +x "$ofile"
   19706   else
   19707     rm -f "${ofile}T"
   19708     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19709 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19710    { (exit 1); exit 1; }; }
   19711   fi
   19712 fi
   19713 
   19714 
   19715 
   19716 # This can be used to rebuild libtool when needed
   19717 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19718 
   19719 # Always use our own libtool.
   19720 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19721 
   19722 # Prevent multiple expansion
   19723 
   19724 
   19725 
   19726 
   19727 
   19728 
   19729 
   19730 
   19731 
   19732 
   19733 
   19734 
   19735 
   19736 
   19737 
   19738 
   19739 
   19740 
   19741 
   19742 
   19743 case "$host_os" in
   19744   # On Cygwin, without -no-undefined, a warning is emitted and only a static
   19745   # library is built.
   19746   beos* | mingw* | cygwin*) LTNOUNDEF='-no-undefined' ;;
   19747   *) LTNOUNDEF='' ;;
   19748 esac
   19749 
   19750 
   19751 
   19752 
   19753 { echo "$as_me:$LINENO: checking for inline" >&5
   19754 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
   19755 if test "${ac_cv_c_inline+set}" = set; then
   19756   echo $ECHO_N "(cached) $ECHO_C" >&6
   19757 else
   19758   ac_cv_c_inline=no
   19759 for ac_kw in inline __inline__ __inline; do
   19760   cat >conftest.$ac_ext <<_ACEOF
   19761 /* confdefs.h.  */
   19762 _ACEOF
   19763 cat confdefs.h >>conftest.$ac_ext
   19764 cat >>conftest.$ac_ext <<_ACEOF
   19765 /* end confdefs.h.  */
   19766 #ifndef __cplusplus
   19767 typedef int foo_t;
   19768 static $ac_kw foo_t static_foo () {return 0; }
   19769 $ac_kw foo_t foo () {return 0; }
   19770 #endif
   19771 
   19772 _ACEOF
   19773 rm -f conftest.$ac_objext
   19774 if { (ac_try="$ac_compile"
   19775 case "(($ac_try" in
   19776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19777   *) ac_try_echo=$ac_try;;
   19778 esac
   19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19780   (eval "$ac_compile") 2>conftest.er1
   19781   ac_status=$?
   19782   grep -v '^ *+' conftest.er1 >conftest.err
   19783   rm -f conftest.er1
   19784   cat conftest.err >&5
   19785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19786   (exit $ac_status); } && {
   19787 	 test -z "$ac_c_werror_flag" ||
   19788 	 test ! -s conftest.err
   19789        } && test -s conftest.$ac_objext; then
   19790   ac_cv_c_inline=$ac_kw
   19791 else
   19792   echo "$as_me: failed program was:" >&5
   19793 sed 's/^/| /' conftest.$ac_ext >&5
   19794 
   19795 
   19796 fi
   19797 
   19798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19799   test "$ac_cv_c_inline" != no && break
   19800 done
   19801 
   19802 fi
   19803 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
   19804 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
   19805 
   19806 
   19807 case $ac_cv_c_inline in
   19808   inline | yes) ;;
   19809   *)
   19810     case $ac_cv_c_inline in
   19811       no) ac_val=;;
   19812       *) ac_val=$ac_cv_c_inline;;
   19813     esac
   19814     cat >>confdefs.h <<_ACEOF
   19815 #ifndef __cplusplus
   19816 #define inline $ac_val
   19817 #endif
   19818 _ACEOF
   19819     ;;
   19820 esac
   19821 
   19822 { echo "$as_me:$LINENO: checking for size_t" >&5
   19823 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
   19824 if test "${ac_cv_type_size_t+set}" = set; then
   19825   echo $ECHO_N "(cached) $ECHO_C" >&6
   19826 else
   19827   cat >conftest.$ac_ext <<_ACEOF
   19828 /* confdefs.h.  */
   19829 _ACEOF
   19830 cat confdefs.h >>conftest.$ac_ext
   19831 cat >>conftest.$ac_ext <<_ACEOF
   19832 /* end confdefs.h.  */
   19833 $ac_includes_default
   19834 typedef size_t ac__type_new_;
   19835 int
   19836 main ()
   19837 {
   19838 if ((ac__type_new_ *) 0)
   19839   return 0;
   19840 if (sizeof (ac__type_new_))
   19841   return 0;
   19842   ;
   19843   return 0;
   19844 }
   19845 _ACEOF
   19846 rm -f conftest.$ac_objext
   19847 if { (ac_try="$ac_compile"
   19848 case "(($ac_try" in
   19849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19850   *) ac_try_echo=$ac_try;;
   19851 esac
   19852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19853   (eval "$ac_compile") 2>conftest.er1
   19854   ac_status=$?
   19855   grep -v '^ *+' conftest.er1 >conftest.err
   19856   rm -f conftest.er1
   19857   cat conftest.err >&5
   19858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19859   (exit $ac_status); } && {
   19860 	 test -z "$ac_c_werror_flag" ||
   19861 	 test ! -s conftest.err
   19862        } && test -s conftest.$ac_objext; then
   19863   ac_cv_type_size_t=yes
   19864 else
   19865   echo "$as_me: failed program was:" >&5
   19866 sed 's/^/| /' conftest.$ac_ext >&5
   19867 
   19868 	ac_cv_type_size_t=no
   19869 fi
   19870 
   19871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19872 fi
   19873 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   19874 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
   19875 if test $ac_cv_type_size_t = yes; then
   19876   :
   19877 else
   19878 
   19879 cat >>confdefs.h <<_ACEOF
   19880 #define size_t unsigned int
   19881 _ACEOF
   19882 
   19883 fi
   19884 
   19885 
   19886   { echo "$as_me:$LINENO: checking for long long int" >&5
   19887 echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
   19888 if test "${ac_cv_type_long_long_int+set}" = set; then
   19889   echo $ECHO_N "(cached) $ECHO_C" >&6
   19890 else
   19891   cat >conftest.$ac_ext <<_ACEOF
   19892 /* confdefs.h.  */
   19893 _ACEOF
   19894 cat confdefs.h >>conftest.$ac_ext
   19895 cat >>conftest.$ac_ext <<_ACEOF
   19896 /* end confdefs.h.  */
   19897 long long int ll = 9223372036854775807ll;
   19898 	    long long int nll = -9223372036854775807LL;
   19899 	    typedef int a[((-9223372036854775807LL < 0
   19900 			    && 0 < 9223372036854775807ll)
   19901 			   ? 1 : -1)];
   19902 	    int i = 63;
   19903 int
   19904 main ()
   19905 {
   19906 long long int llmax = 9223372036854775807ll;
   19907 	    return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
   19908 		    | (llmax / ll) | (llmax % ll));
   19909   ;
   19910   return 0;
   19911 }
   19912 _ACEOF
   19913 rm -f conftest.$ac_objext conftest$ac_exeext
   19914 if { (ac_try="$ac_link"
   19915 case "(($ac_try" in
   19916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19917   *) ac_try_echo=$ac_try;;
   19918 esac
   19919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19920   (eval "$ac_link") 2>conftest.er1
   19921   ac_status=$?
   19922   grep -v '^ *+' conftest.er1 >conftest.err
   19923   rm -f conftest.er1
   19924   cat conftest.err >&5
   19925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19926   (exit $ac_status); } && {
   19927 	 test -z "$ac_c_werror_flag" ||
   19928 	 test ! -s conftest.err
   19929        } && test -s conftest$ac_exeext &&
   19930        $as_test_x conftest$ac_exeext; then
   19931   ac_cv_type_long_long_int=yes
   19932 else
   19933   echo "$as_me: failed program was:" >&5
   19934 sed 's/^/| /' conftest.$ac_ext >&5
   19935 
   19936 	ac_cv_type_long_long_int=no
   19937 fi
   19938 
   19939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19940       conftest$ac_exeext conftest.$ac_ext
   19941 fi
   19942 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
   19943 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
   19944   if test $ac_cv_type_long_long_int = yes; then
   19945 
   19946 cat >>confdefs.h <<\_ACEOF
   19947 #define HAVE_LONG_LONG_INT 1
   19948 _ACEOF
   19949 
   19950   fi
   19951 
   19952 
   19953 
   19954   ac_cv_type_long_long=$ac_cv_type_long_long_int
   19955   if test $ac_cv_type_long_long = yes; then
   19956 
   19957 cat >>confdefs.h <<\_ACEOF
   19958 #define HAVE_LONG_LONG 1
   19959 _ACEOF
   19960 
   19961   fi
   19962 
   19963 
   19964   { echo "$as_me:$LINENO: checking for long double" >&5
   19965 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
   19966 if test "${gt_cv_c_long_double+set}" = set; then
   19967   echo $ECHO_N "(cached) $ECHO_C" >&6
   19968 else
   19969   if test "$GCC" = yes; then
   19970        gt_cv_c_long_double=yes
   19971      else
   19972        cat >conftest.$ac_ext <<_ACEOF
   19973 /* confdefs.h.  */
   19974 _ACEOF
   19975 cat confdefs.h >>conftest.$ac_ext
   19976 cat >>conftest.$ac_ext <<_ACEOF
   19977 /* end confdefs.h.  */
   19978 
   19979          /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
   19980          long double foo = 0.0;
   19981          /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
   19982          int array [2*(sizeof(long double) >= sizeof(double)) - 1];
   19983 
   19984 int
   19985 main ()
   19986 {
   19987 
   19988   ;
   19989   return 0;
   19990 }
   19991 _ACEOF
   19992 rm -f conftest.$ac_objext
   19993 if { (ac_try="$ac_compile"
   19994 case "(($ac_try" in
   19995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19996   *) ac_try_echo=$ac_try;;
   19997 esac
   19998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19999   (eval "$ac_compile") 2>conftest.er1
   20000   ac_status=$?
   20001   grep -v '^ *+' conftest.er1 >conftest.err
   20002   rm -f conftest.er1
   20003   cat conftest.err >&5
   20004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20005   (exit $ac_status); } && {
   20006 	 test -z "$ac_c_werror_flag" ||
   20007 	 test ! -s conftest.err
   20008        } && test -s conftest.$ac_objext; then
   20009   gt_cv_c_long_double=yes
   20010 else
   20011   echo "$as_me: failed program was:" >&5
   20012 sed 's/^/| /' conftest.$ac_ext >&5
   20013 
   20014 	gt_cv_c_long_double=no
   20015 fi
   20016 
   20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20018      fi
   20019 fi
   20020 { echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
   20021 echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
   20022   if test $gt_cv_c_long_double = yes; then
   20023 
   20024 cat >>confdefs.h <<\_ACEOF
   20025 #define HAVE_LONG_DOUBLE 1
   20026 _ACEOF
   20027 
   20028   fi
   20029 
   20030 
   20031   { echo "$as_me:$LINENO: checking for wchar_t" >&5
   20032 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
   20033 if test "${gt_cv_c_wchar_t+set}" = set; then
   20034   echo $ECHO_N "(cached) $ECHO_C" >&6
   20035 else
   20036   cat >conftest.$ac_ext <<_ACEOF
   20037 /* confdefs.h.  */
   20038 _ACEOF
   20039 cat confdefs.h >>conftest.$ac_ext
   20040 cat >>conftest.$ac_ext <<_ACEOF
   20041 /* end confdefs.h.  */
   20042 #include <stddef.h>
   20043        wchar_t foo = (wchar_t)'\0';
   20044 int
   20045 main ()
   20046 {
   20047 
   20048   ;
   20049   return 0;
   20050 }
   20051 _ACEOF
   20052 rm -f conftest.$ac_objext
   20053 if { (ac_try="$ac_compile"
   20054 case "(($ac_try" in
   20055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20056   *) ac_try_echo=$ac_try;;
   20057 esac
   20058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20059   (eval "$ac_compile") 2>conftest.er1
   20060   ac_status=$?
   20061   grep -v '^ *+' conftest.er1 >conftest.err
   20062   rm -f conftest.er1
   20063   cat conftest.err >&5
   20064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20065   (exit $ac_status); } && {
   20066 	 test -z "$ac_c_werror_flag" ||
   20067 	 test ! -s conftest.err
   20068        } && test -s conftest.$ac_objext; then
   20069   gt_cv_c_wchar_t=yes
   20070 else
   20071   echo "$as_me: failed program was:" >&5
   20072 sed 's/^/| /' conftest.$ac_ext >&5
   20073 
   20074 	gt_cv_c_wchar_t=no
   20075 fi
   20076 
   20077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20078 fi
   20079 { echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
   20080 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; }
   20081   if test $gt_cv_c_wchar_t = yes; then
   20082 
   20083 cat >>confdefs.h <<\_ACEOF
   20084 #define HAVE_WCHAR_T 1
   20085 _ACEOF
   20086 
   20087   fi
   20088 
   20089 
   20090   { echo "$as_me:$LINENO: checking for wint_t" >&5
   20091 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; }
   20092 if test "${gt_cv_c_wint_t+set}" = set; then
   20093   echo $ECHO_N "(cached) $ECHO_C" >&6
   20094 else
   20095   cat >conftest.$ac_ext <<_ACEOF
   20096 /* confdefs.h.  */
   20097 _ACEOF
   20098 cat confdefs.h >>conftest.$ac_ext
   20099 cat >>conftest.$ac_ext <<_ACEOF
   20100 /* end confdefs.h.  */
   20101 #include <wchar.h>
   20102        wint_t foo = (wchar_t)'\0';
   20103 int
   20104 main ()
   20105 {
   20106 
   20107   ;
   20108   return 0;
   20109 }
   20110 _ACEOF
   20111 rm -f conftest.$ac_objext
   20112 if { (ac_try="$ac_compile"
   20113 case "(($ac_try" in
   20114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20115   *) ac_try_echo=$ac_try;;
   20116 esac
   20117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20118   (eval "$ac_compile") 2>conftest.er1
   20119   ac_status=$?
   20120   grep -v '^ *+' conftest.er1 >conftest.err
   20121   rm -f conftest.er1
   20122   cat conftest.err >&5
   20123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20124   (exit $ac_status); } && {
   20125 	 test -z "$ac_c_werror_flag" ||
   20126 	 test ! -s conftest.err
   20127        } && test -s conftest.$ac_objext; then
   20128   gt_cv_c_wint_t=yes
   20129 else
   20130   echo "$as_me: failed program was:" >&5
   20131 sed 's/^/| /' conftest.$ac_ext >&5
   20132 
   20133 	gt_cv_c_wint_t=no
   20134 fi
   20135 
   20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20137 fi
   20138 { echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
   20139 echo "${ECHO_T}$gt_cv_c_wint_t" >&6; }
   20140   if test $gt_cv_c_wint_t = yes; then
   20141 
   20142 cat >>confdefs.h <<\_ACEOF
   20143 #define HAVE_WINT_T 1
   20144 _ACEOF
   20145 
   20146   fi
   20147 
   20148 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
   20149 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
   20150 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
   20151   echo $ECHO_N "(cached) $ECHO_C" >&6
   20152 else
   20153   cat >conftest.$ac_ext <<_ACEOF
   20154 /* confdefs.h.  */
   20155 _ACEOF
   20156 cat confdefs.h >>conftest.$ac_ext
   20157 cat >>conftest.$ac_ext <<_ACEOF
   20158 /* end confdefs.h.  */
   20159 $ac_includes_default
   20160 typedef ptrdiff_t ac__type_new_;
   20161 int
   20162 main ()
   20163 {
   20164 if ((ac__type_new_ *) 0)
   20165   return 0;
   20166 if (sizeof (ac__type_new_))
   20167   return 0;
   20168   ;
   20169   return 0;
   20170 }
   20171 _ACEOF
   20172 rm -f conftest.$ac_objext
   20173 if { (ac_try="$ac_compile"
   20174 case "(($ac_try" in
   20175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20176   *) ac_try_echo=$ac_try;;
   20177 esac
   20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20179   (eval "$ac_compile") 2>conftest.er1
   20180   ac_status=$?
   20181   grep -v '^ *+' conftest.er1 >conftest.err
   20182   rm -f conftest.er1
   20183   cat conftest.err >&5
   20184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20185   (exit $ac_status); } && {
   20186 	 test -z "$ac_c_werror_flag" ||
   20187 	 test ! -s conftest.err
   20188        } && test -s conftest.$ac_objext; then
   20189   ac_cv_type_ptrdiff_t=yes
   20190 else
   20191   echo "$as_me: failed program was:" >&5
   20192 sed 's/^/| /' conftest.$ac_ext >&5
   20193 
   20194 	ac_cv_type_ptrdiff_t=no
   20195 fi
   20196 
   20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20198 fi
   20199 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
   20200 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
   20201 if test $ac_cv_type_ptrdiff_t = yes; then
   20202   :
   20203 else
   20204 
   20205 cat >>confdefs.h <<\_ACEOF
   20206 #define ptrdiff_t long
   20207 _ACEOF
   20208 
   20209 
   20210 fi
   20211 
   20212 
   20213   { echo "$as_me:$LINENO: checking for inttypes.h" >&5
   20214 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
   20215 if test "${gl_cv_header_inttypes_h+set}" = set; then
   20216   echo $ECHO_N "(cached) $ECHO_C" >&6
   20217 else
   20218   cat >conftest.$ac_ext <<_ACEOF
   20219 /* confdefs.h.  */
   20220 _ACEOF
   20221 cat confdefs.h >>conftest.$ac_ext
   20222 cat >>conftest.$ac_ext <<_ACEOF
   20223 /* end confdefs.h.  */
   20224 #include <sys/types.h>
   20225 #include <inttypes.h>
   20226 int
   20227 main ()
   20228 {
   20229 uintmax_t i = (uintmax_t) -1; return !i;
   20230   ;
   20231   return 0;
   20232 }
   20233 _ACEOF
   20234 rm -f conftest.$ac_objext
   20235 if { (ac_try="$ac_compile"
   20236 case "(($ac_try" in
   20237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20238   *) ac_try_echo=$ac_try;;
   20239 esac
   20240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20241   (eval "$ac_compile") 2>conftest.er1
   20242   ac_status=$?
   20243   grep -v '^ *+' conftest.er1 >conftest.err
   20244   rm -f conftest.er1
   20245   cat conftest.err >&5
   20246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20247   (exit $ac_status); } && {
   20248 	 test -z "$ac_c_werror_flag" ||
   20249 	 test ! -s conftest.err
   20250        } && test -s conftest.$ac_objext; then
   20251   gl_cv_header_inttypes_h=yes
   20252 else
   20253   echo "$as_me: failed program was:" >&5
   20254 sed 's/^/| /' conftest.$ac_ext >&5
   20255 
   20256 	gl_cv_header_inttypes_h=no
   20257 fi
   20258 
   20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20260 fi
   20261 { echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
   20262 echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6; }
   20263   if test $gl_cv_header_inttypes_h = yes; then
   20264 
   20265 cat >>confdefs.h <<_ACEOF
   20266 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
   20267 _ACEOF
   20268 
   20269   fi
   20270 
   20271 
   20272   { echo "$as_me:$LINENO: checking for stdint.h" >&5
   20273 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
   20274 if test "${gl_cv_header_stdint_h+set}" = set; then
   20275   echo $ECHO_N "(cached) $ECHO_C" >&6
   20276 else
   20277   cat >conftest.$ac_ext <<_ACEOF
   20278 /* confdefs.h.  */
   20279 _ACEOF
   20280 cat confdefs.h >>conftest.$ac_ext
   20281 cat >>conftest.$ac_ext <<_ACEOF
   20282 /* end confdefs.h.  */
   20283 #include <sys/types.h>
   20284 #include <stdint.h>
   20285 int
   20286 main ()
   20287 {
   20288 uintmax_t i = (uintmax_t) -1; return !i;
   20289   ;
   20290   return 0;
   20291 }
   20292 _ACEOF
   20293 rm -f conftest.$ac_objext
   20294 if { (ac_try="$ac_compile"
   20295 case "(($ac_try" in
   20296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20297   *) ac_try_echo=$ac_try;;
   20298 esac
   20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20300   (eval "$ac_compile") 2>conftest.er1
   20301   ac_status=$?
   20302   grep -v '^ *+' conftest.er1 >conftest.err
   20303   rm -f conftest.er1
   20304   cat conftest.err >&5
   20305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20306   (exit $ac_status); } && {
   20307 	 test -z "$ac_c_werror_flag" ||
   20308 	 test ! -s conftest.err
   20309        } && test -s conftest.$ac_objext; then
   20310   gl_cv_header_stdint_h=yes
   20311 else
   20312   echo "$as_me: failed program was:" >&5
   20313 sed 's/^/| /' conftest.$ac_ext >&5
   20314 
   20315 	gl_cv_header_stdint_h=no
   20316 fi
   20317 
   20318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20319 fi
   20320 { echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
   20321 echo "${ECHO_T}$gl_cv_header_stdint_h" >&6; }
   20322   if test $gl_cv_header_stdint_h = yes; then
   20323 
   20324 cat >>confdefs.h <<_ACEOF
   20325 #define HAVE_STDINT_H_WITH_UINTMAX 1
   20326 _ACEOF
   20327 
   20328   fi
   20329 
   20330 
   20331 
   20332 
   20333   { echo "$as_me:$LINENO: checking for intmax_t" >&5
   20334 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
   20335 if test "${gt_cv_c_intmax_t+set}" = set; then
   20336   echo $ECHO_N "(cached) $ECHO_C" >&6
   20337 else
   20338   cat >conftest.$ac_ext <<_ACEOF
   20339 /* confdefs.h.  */
   20340 _ACEOF
   20341 cat confdefs.h >>conftest.$ac_ext
   20342 cat >>conftest.$ac_ext <<_ACEOF
   20343 /* end confdefs.h.  */
   20344 
   20345 #include <stddef.h>
   20346 #include <stdlib.h>
   20347 #if HAVE_STDINT_H_WITH_UINTMAX
   20348 #include <stdint.h>
   20349 #endif
   20350 #if HAVE_INTTYPES_H_WITH_UINTMAX
   20351 #include <inttypes.h>
   20352 #endif
   20353 
   20354 int
   20355 main ()
   20356 {
   20357 intmax_t x = -1;
   20358         return !x;
   20359   ;
   20360   return 0;
   20361 }
   20362 _ACEOF
   20363 rm -f conftest.$ac_objext
   20364 if { (ac_try="$ac_compile"
   20365 case "(($ac_try" in
   20366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20367   *) ac_try_echo=$ac_try;;
   20368 esac
   20369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20370   (eval "$ac_compile") 2>conftest.er1
   20371   ac_status=$?
   20372   grep -v '^ *+' conftest.er1 >conftest.err
   20373   rm -f conftest.er1
   20374   cat conftest.err >&5
   20375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20376   (exit $ac_status); } && {
   20377 	 test -z "$ac_c_werror_flag" ||
   20378 	 test ! -s conftest.err
   20379        } && test -s conftest.$ac_objext; then
   20380   gt_cv_c_intmax_t=yes
   20381 else
   20382   echo "$as_me: failed program was:" >&5
   20383 sed 's/^/| /' conftest.$ac_ext >&5
   20384 
   20385 	gt_cv_c_intmax_t=no
   20386 fi
   20387 
   20388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20389 fi
   20390 { echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
   20391 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; }
   20392   if test $gt_cv_c_intmax_t = yes; then
   20393 
   20394 cat >>confdefs.h <<\_ACEOF
   20395 #define HAVE_INTMAX_T 1
   20396 _ACEOF
   20397 
   20398   fi
   20399 
   20400 
   20401 
   20402 for ac_header in stdint.h
   20403 do
   20404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20405 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20406   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   20407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   20408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20409   echo $ECHO_N "(cached) $ECHO_C" >&6
   20410 fi
   20411 ac_res=`eval echo '${'$as_ac_Header'}'`
   20412 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20413 echo "${ECHO_T}$ac_res" >&6; }
   20414 else
   20415   # Is the header compilable?
   20416 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   20418 cat >conftest.$ac_ext <<_ACEOF
   20419 /* confdefs.h.  */
   20420 _ACEOF
   20421 cat confdefs.h >>conftest.$ac_ext
   20422 cat >>conftest.$ac_ext <<_ACEOF
   20423 /* end confdefs.h.  */
   20424 $ac_includes_default
   20425 #include <$ac_header>
   20426 _ACEOF
   20427 rm -f conftest.$ac_objext
   20428 if { (ac_try="$ac_compile"
   20429 case "(($ac_try" in
   20430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20431   *) ac_try_echo=$ac_try;;
   20432 esac
   20433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20434   (eval "$ac_compile") 2>conftest.er1
   20435   ac_status=$?
   20436   grep -v '^ *+' conftest.er1 >conftest.err
   20437   rm -f conftest.er1
   20438   cat conftest.err >&5
   20439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20440   (exit $ac_status); } && {
   20441 	 test -z "$ac_c_werror_flag" ||
   20442 	 test ! -s conftest.err
   20443        } && test -s conftest.$ac_objext; then
   20444   ac_header_compiler=yes
   20445 else
   20446   echo "$as_me: failed program was:" >&5
   20447 sed 's/^/| /' conftest.$ac_ext >&5
   20448 
   20449 	ac_header_compiler=no
   20450 fi
   20451 
   20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20453 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20454 echo "${ECHO_T}$ac_header_compiler" >&6; }
   20455 
   20456 # Is the header present?
   20457 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20458 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   20459 cat >conftest.$ac_ext <<_ACEOF
   20460 /* confdefs.h.  */
   20461 _ACEOF
   20462 cat confdefs.h >>conftest.$ac_ext
   20463 cat >>conftest.$ac_ext <<_ACEOF
   20464 /* end confdefs.h.  */
   20465 #include <$ac_header>
   20466 _ACEOF
   20467 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20468 case "(($ac_try" in
   20469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20470   *) ac_try_echo=$ac_try;;
   20471 esac
   20472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20473   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20474   ac_status=$?
   20475   grep -v '^ *+' conftest.er1 >conftest.err
   20476   rm -f conftest.er1
   20477   cat conftest.err >&5
   20478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20479   (exit $ac_status); } >/dev/null && {
   20480 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20481 	 test ! -s conftest.err
   20482        }; then
   20483   ac_header_preproc=yes
   20484 else
   20485   echo "$as_me: failed program was:" >&5
   20486 sed 's/^/| /' conftest.$ac_ext >&5
   20487 
   20488   ac_header_preproc=no
   20489 fi
   20490 
   20491 rm -f conftest.err conftest.$ac_ext
   20492 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20493 echo "${ECHO_T}$ac_header_preproc" >&6; }
   20494 
   20495 # So?  What about this header?
   20496 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20497   yes:no: )
   20498     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20499 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20500     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20501 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20502     ac_header_preproc=yes
   20503     ;;
   20504   no:yes:* )
   20505     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20507     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20508 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20509     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20510 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20511     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20512 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20513     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20515     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20516 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20517 
   20518     ;;
   20519 esac
   20520 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   20521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   20522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20523   echo $ECHO_N "(cached) $ECHO_C" >&6
   20524 else
   20525   eval "$as_ac_Header=\$ac_header_preproc"
   20526 fi
   20527 ac_res=`eval echo '${'$as_ac_Header'}'`
   20528 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20529 echo "${ECHO_T}$ac_res" >&6; }
   20530 
   20531 fi
   20532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   20533   cat >>confdefs.h <<_ACEOF
   20534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20535 _ACEOF
   20536 
   20537 fi
   20538 
   20539 done
   20540 
   20541     { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
   20542 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
   20543   if test "${gl_cv_size_max+set}" = set; then
   20544   echo $ECHO_N "(cached) $ECHO_C" >&6
   20545 else
   20546 
   20547     gl_cv_size_max=
   20548     cat >conftest.$ac_ext <<_ACEOF
   20549 /* confdefs.h.  */
   20550 _ACEOF
   20551 cat confdefs.h >>conftest.$ac_ext
   20552 cat >>conftest.$ac_ext <<_ACEOF
   20553 /* end confdefs.h.  */
   20554 
   20555 #include <limits.h>
   20556 #if HAVE_STDINT_H
   20557 #include <stdint.h>
   20558 #endif
   20559 #ifdef SIZE_MAX
   20560 Found it
   20561 #endif
   20562 
   20563 _ACEOF
   20564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20565   $EGREP "Found it" >/dev/null 2>&1; then
   20566   gl_cv_size_max=yes
   20567 fi
   20568 rm -f conftest*
   20569 
   20570     if test -z "$gl_cv_size_max"; then
   20571                         if test "$cross_compiling" = yes; then
   20572   # Depending upon the size, compute the lo and hi bounds.
   20573 cat >conftest.$ac_ext <<_ACEOF
   20574 /* confdefs.h.  */
   20575 _ACEOF
   20576 cat confdefs.h >>conftest.$ac_ext
   20577 cat >>conftest.$ac_ext <<_ACEOF
   20578 /* end confdefs.h.  */
   20579 #include <stddef.h>
   20580 #include <limits.h>
   20581 int
   20582 main ()
   20583 {
   20584 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= 0)];
   20585 test_array [0] = 0
   20586 
   20587   ;
   20588   return 0;
   20589 }
   20590 _ACEOF
   20591 rm -f conftest.$ac_objext
   20592 if { (ac_try="$ac_compile"
   20593 case "(($ac_try" in
   20594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20595   *) ac_try_echo=$ac_try;;
   20596 esac
   20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20598   (eval "$ac_compile") 2>conftest.er1
   20599   ac_status=$?
   20600   grep -v '^ *+' conftest.er1 >conftest.err
   20601   rm -f conftest.er1
   20602   cat conftest.err >&5
   20603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20604   (exit $ac_status); } && {
   20605 	 test -z "$ac_c_werror_flag" ||
   20606 	 test ! -s conftest.err
   20607        } && test -s conftest.$ac_objext; then
   20608   ac_lo=0 ac_mid=0
   20609   while :; do
   20610     cat >conftest.$ac_ext <<_ACEOF
   20611 /* confdefs.h.  */
   20612 _ACEOF
   20613 cat confdefs.h >>conftest.$ac_ext
   20614 cat >>conftest.$ac_ext <<_ACEOF
   20615 /* end confdefs.h.  */
   20616 #include <stddef.h>
   20617 #include <limits.h>
   20618 int
   20619 main ()
   20620 {
   20621 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
   20622 test_array [0] = 0
   20623 
   20624   ;
   20625   return 0;
   20626 }
   20627 _ACEOF
   20628 rm -f conftest.$ac_objext
   20629 if { (ac_try="$ac_compile"
   20630 case "(($ac_try" in
   20631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20632   *) ac_try_echo=$ac_try;;
   20633 esac
   20634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20635   (eval "$ac_compile") 2>conftest.er1
   20636   ac_status=$?
   20637   grep -v '^ *+' conftest.er1 >conftest.err
   20638   rm -f conftest.er1
   20639   cat conftest.err >&5
   20640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20641   (exit $ac_status); } && {
   20642 	 test -z "$ac_c_werror_flag" ||
   20643 	 test ! -s conftest.err
   20644        } && test -s conftest.$ac_objext; then
   20645   ac_hi=$ac_mid; break
   20646 else
   20647   echo "$as_me: failed program was:" >&5
   20648 sed 's/^/| /' conftest.$ac_ext >&5
   20649 
   20650 	ac_lo=`expr $ac_mid + 1`
   20651 			if test $ac_lo -le $ac_mid; then
   20652 			  ac_lo= ac_hi=
   20653 			  break
   20654 			fi
   20655 			ac_mid=`expr 2 '*' $ac_mid + 1`
   20656 fi
   20657 
   20658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20659   done
   20660 else
   20661   echo "$as_me: failed program was:" >&5
   20662 sed 's/^/| /' conftest.$ac_ext >&5
   20663 
   20664 	cat >conftest.$ac_ext <<_ACEOF
   20665 /* confdefs.h.  */
   20666 _ACEOF
   20667 cat confdefs.h >>conftest.$ac_ext
   20668 cat >>conftest.$ac_ext <<_ACEOF
   20669 /* end confdefs.h.  */
   20670 #include <stddef.h>
   20671 #include <limits.h>
   20672 int
   20673 main ()
   20674 {
   20675 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) < 0)];
   20676 test_array [0] = 0
   20677 
   20678   ;
   20679   return 0;
   20680 }
   20681 _ACEOF
   20682 rm -f conftest.$ac_objext
   20683 if { (ac_try="$ac_compile"
   20684 case "(($ac_try" in
   20685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20686   *) ac_try_echo=$ac_try;;
   20687 esac
   20688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20689   (eval "$ac_compile") 2>conftest.er1
   20690   ac_status=$?
   20691   grep -v '^ *+' conftest.er1 >conftest.err
   20692   rm -f conftest.er1
   20693   cat conftest.err >&5
   20694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20695   (exit $ac_status); } && {
   20696 	 test -z "$ac_c_werror_flag" ||
   20697 	 test ! -s conftest.err
   20698        } && test -s conftest.$ac_objext; then
   20699   ac_hi=-1 ac_mid=-1
   20700   while :; do
   20701     cat >conftest.$ac_ext <<_ACEOF
   20702 /* confdefs.h.  */
   20703 _ACEOF
   20704 cat confdefs.h >>conftest.$ac_ext
   20705 cat >>conftest.$ac_ext <<_ACEOF
   20706 /* end confdefs.h.  */
   20707 #include <stddef.h>
   20708 #include <limits.h>
   20709 int
   20710 main ()
   20711 {
   20712 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= $ac_mid)];
   20713 test_array [0] = 0
   20714 
   20715   ;
   20716   return 0;
   20717 }
   20718 _ACEOF
   20719 rm -f conftest.$ac_objext
   20720 if { (ac_try="$ac_compile"
   20721 case "(($ac_try" in
   20722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20723   *) ac_try_echo=$ac_try;;
   20724 esac
   20725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20726   (eval "$ac_compile") 2>conftest.er1
   20727   ac_status=$?
   20728   grep -v '^ *+' conftest.er1 >conftest.err
   20729   rm -f conftest.er1
   20730   cat conftest.err >&5
   20731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20732   (exit $ac_status); } && {
   20733 	 test -z "$ac_c_werror_flag" ||
   20734 	 test ! -s conftest.err
   20735        } && test -s conftest.$ac_objext; then
   20736   ac_lo=$ac_mid; break
   20737 else
   20738   echo "$as_me: failed program was:" >&5
   20739 sed 's/^/| /' conftest.$ac_ext >&5
   20740 
   20741 	ac_hi=`expr '(' $ac_mid ')' - 1`
   20742 			if test $ac_mid -le $ac_hi; then
   20743 			  ac_lo= ac_hi=
   20744 			  break
   20745 			fi
   20746 			ac_mid=`expr 2 '*' $ac_mid`
   20747 fi
   20748 
   20749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20750   done
   20751 else
   20752   echo "$as_me: failed program was:" >&5
   20753 sed 's/^/| /' conftest.$ac_ext >&5
   20754 
   20755 	ac_lo= ac_hi=
   20756 fi
   20757 
   20758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20759 fi
   20760 
   20761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20762 # Binary search between lo and hi bounds.
   20763 while test "x$ac_lo" != "x$ac_hi"; do
   20764   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   20765   cat >conftest.$ac_ext <<_ACEOF
   20766 /* confdefs.h.  */
   20767 _ACEOF
   20768 cat confdefs.h >>conftest.$ac_ext
   20769 cat >>conftest.$ac_ext <<_ACEOF
   20770 /* end confdefs.h.  */
   20771 #include <stddef.h>
   20772 #include <limits.h>
   20773 int
   20774 main ()
   20775 {
   20776 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
   20777 test_array [0] = 0
   20778 
   20779   ;
   20780   return 0;
   20781 }
   20782 _ACEOF
   20783 rm -f conftest.$ac_objext
   20784 if { (ac_try="$ac_compile"
   20785 case "(($ac_try" in
   20786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20787   *) ac_try_echo=$ac_try;;
   20788 esac
   20789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20790   (eval "$ac_compile") 2>conftest.er1
   20791   ac_status=$?
   20792   grep -v '^ *+' conftest.er1 >conftest.err
   20793   rm -f conftest.er1
   20794   cat conftest.err >&5
   20795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20796   (exit $ac_status); } && {
   20797 	 test -z "$ac_c_werror_flag" ||
   20798 	 test ! -s conftest.err
   20799        } && test -s conftest.$ac_objext; then
   20800   ac_hi=$ac_mid
   20801 else
   20802   echo "$as_me: failed program was:" >&5
   20803 sed 's/^/| /' conftest.$ac_ext >&5
   20804 
   20805 	ac_lo=`expr '(' $ac_mid ')' + 1`
   20806 fi
   20807 
   20808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20809 done
   20810 case $ac_lo in
   20811 ?*) size_t_bits_minus_1=$ac_lo;;
   20812 '') size_t_bits_minus_1= ;;
   20813 esac
   20814 else
   20815   cat >conftest.$ac_ext <<_ACEOF
   20816 /* confdefs.h.  */
   20817 _ACEOF
   20818 cat confdefs.h >>conftest.$ac_ext
   20819 cat >>conftest.$ac_ext <<_ACEOF
   20820 /* end confdefs.h.  */
   20821 #include <stddef.h>
   20822 #include <limits.h>
   20823 static long int longval () { return sizeof (size_t) * CHAR_BIT - 1; }
   20824 static unsigned long int ulongval () { return sizeof (size_t) * CHAR_BIT - 1; }
   20825 #include <stdio.h>
   20826 #include <stdlib.h>
   20827 int
   20828 main ()
   20829 {
   20830 
   20831   FILE *f = fopen ("conftest.val", "w");
   20832   if (! f)
   20833     return 1;
   20834   if ((sizeof (size_t) * CHAR_BIT - 1) < 0)
   20835     {
   20836       long int i = longval ();
   20837       if (i != (sizeof (size_t) * CHAR_BIT - 1))
   20838 	return 1;
   20839       fprintf (f, "%ld\n", i);
   20840     }
   20841   else
   20842     {
   20843       unsigned long int i = ulongval ();
   20844       if (i != (sizeof (size_t) * CHAR_BIT - 1))
   20845 	return 1;
   20846       fprintf (f, "%lu\n", i);
   20847     }
   20848   return ferror (f) || fclose (f) != 0;
   20849 
   20850   ;
   20851   return 0;
   20852 }
   20853 _ACEOF
   20854 rm -f conftest$ac_exeext
   20855 if { (ac_try="$ac_link"
   20856 case "(($ac_try" in
   20857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20858   *) ac_try_echo=$ac_try;;
   20859 esac
   20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20861   (eval "$ac_link") 2>&5
   20862   ac_status=$?
   20863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20864   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20865   { (case "(($ac_try" in
   20866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20867   *) ac_try_echo=$ac_try;;
   20868 esac
   20869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20870   (eval "$ac_try") 2>&5
   20871   ac_status=$?
   20872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20873   (exit $ac_status); }; }; then
   20874   size_t_bits_minus_1=`cat conftest.val`
   20875 else
   20876   echo "$as_me: program exited with status $ac_status" >&5
   20877 echo "$as_me: failed program was:" >&5
   20878 sed 's/^/| /' conftest.$ac_ext >&5
   20879 
   20880 ( exit $ac_status )
   20881 size_t_bits_minus_1=
   20882 fi
   20883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20884 fi
   20885 rm -f conftest.val
   20886 
   20887       if test "$cross_compiling" = yes; then
   20888   # Depending upon the size, compute the lo and hi bounds.
   20889 cat >conftest.$ac_ext <<_ACEOF
   20890 /* confdefs.h.  */
   20891 _ACEOF
   20892 cat confdefs.h >>conftest.$ac_ext
   20893 cat >>conftest.$ac_ext <<_ACEOF
   20894 /* end confdefs.h.  */
   20895 #include <stddef.h>
   20896 int
   20897 main ()
   20898 {
   20899 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
   20900 test_array [0] = 0
   20901 
   20902   ;
   20903   return 0;
   20904 }
   20905 _ACEOF
   20906 rm -f conftest.$ac_objext
   20907 if { (ac_try="$ac_compile"
   20908 case "(($ac_try" in
   20909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20910   *) ac_try_echo=$ac_try;;
   20911 esac
   20912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20913   (eval "$ac_compile") 2>conftest.er1
   20914   ac_status=$?
   20915   grep -v '^ *+' conftest.er1 >conftest.err
   20916   rm -f conftest.er1
   20917   cat conftest.err >&5
   20918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20919   (exit $ac_status); } && {
   20920 	 test -z "$ac_c_werror_flag" ||
   20921 	 test ! -s conftest.err
   20922        } && test -s conftest.$ac_objext; then
   20923   ac_lo=0 ac_mid=0
   20924   while :; do
   20925     cat >conftest.$ac_ext <<_ACEOF
   20926 /* confdefs.h.  */
   20927 _ACEOF
   20928 cat confdefs.h >>conftest.$ac_ext
   20929 cat >>conftest.$ac_ext <<_ACEOF
   20930 /* end confdefs.h.  */
   20931 #include <stddef.h>
   20932 int
   20933 main ()
   20934 {
   20935 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
   20936 test_array [0] = 0
   20937 
   20938   ;
   20939   return 0;
   20940 }
   20941 _ACEOF
   20942 rm -f conftest.$ac_objext
   20943 if { (ac_try="$ac_compile"
   20944 case "(($ac_try" in
   20945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20946   *) ac_try_echo=$ac_try;;
   20947 esac
   20948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20949   (eval "$ac_compile") 2>conftest.er1
   20950   ac_status=$?
   20951   grep -v '^ *+' conftest.er1 >conftest.err
   20952   rm -f conftest.er1
   20953   cat conftest.err >&5
   20954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20955   (exit $ac_status); } && {
   20956 	 test -z "$ac_c_werror_flag" ||
   20957 	 test ! -s conftest.err
   20958        } && test -s conftest.$ac_objext; then
   20959   ac_hi=$ac_mid; break
   20960 else
   20961   echo "$as_me: failed program was:" >&5
   20962 sed 's/^/| /' conftest.$ac_ext >&5
   20963 
   20964 	ac_lo=`expr $ac_mid + 1`
   20965 			if test $ac_lo -le $ac_mid; then
   20966 			  ac_lo= ac_hi=
   20967 			  break
   20968 			fi
   20969 			ac_mid=`expr 2 '*' $ac_mid + 1`
   20970 fi
   20971 
   20972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20973   done
   20974 else
   20975   echo "$as_me: failed program was:" >&5
   20976 sed 's/^/| /' conftest.$ac_ext >&5
   20977 
   20978 	cat >conftest.$ac_ext <<_ACEOF
   20979 /* confdefs.h.  */
   20980 _ACEOF
   20981 cat confdefs.h >>conftest.$ac_ext
   20982 cat >>conftest.$ac_ext <<_ACEOF
   20983 /* end confdefs.h.  */
   20984 #include <stddef.h>
   20985 int
   20986 main ()
   20987 {
   20988 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
   20989 test_array [0] = 0
   20990 
   20991   ;
   20992   return 0;
   20993 }
   20994 _ACEOF
   20995 rm -f conftest.$ac_objext
   20996 if { (ac_try="$ac_compile"
   20997 case "(($ac_try" in
   20998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20999   *) ac_try_echo=$ac_try;;
   21000 esac
   21001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21002   (eval "$ac_compile") 2>conftest.er1
   21003   ac_status=$?
   21004   grep -v '^ *+' conftest.er1 >conftest.err
   21005   rm -f conftest.er1
   21006   cat conftest.err >&5
   21007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21008   (exit $ac_status); } && {
   21009 	 test -z "$ac_c_werror_flag" ||
   21010 	 test ! -s conftest.err
   21011        } && test -s conftest.$ac_objext; then
   21012   ac_hi=-1 ac_mid=-1
   21013   while :; do
   21014     cat >conftest.$ac_ext <<_ACEOF
   21015 /* confdefs.h.  */
   21016 _ACEOF
   21017 cat confdefs.h >>conftest.$ac_ext
   21018 cat >>conftest.$ac_ext <<_ACEOF
   21019 /* end confdefs.h.  */
   21020 #include <stddef.h>
   21021 int
   21022 main ()
   21023 {
   21024 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
   21025 test_array [0] = 0
   21026 
   21027   ;
   21028   return 0;
   21029 }
   21030 _ACEOF
   21031 rm -f conftest.$ac_objext
   21032 if { (ac_try="$ac_compile"
   21033 case "(($ac_try" in
   21034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21035   *) ac_try_echo=$ac_try;;
   21036 esac
   21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21038   (eval "$ac_compile") 2>conftest.er1
   21039   ac_status=$?
   21040   grep -v '^ *+' conftest.er1 >conftest.err
   21041   rm -f conftest.er1
   21042   cat conftest.err >&5
   21043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21044   (exit $ac_status); } && {
   21045 	 test -z "$ac_c_werror_flag" ||
   21046 	 test ! -s conftest.err
   21047        } && test -s conftest.$ac_objext; then
   21048   ac_lo=$ac_mid; break
   21049 else
   21050   echo "$as_me: failed program was:" >&5
   21051 sed 's/^/| /' conftest.$ac_ext >&5
   21052 
   21053 	ac_hi=`expr '(' $ac_mid ')' - 1`
   21054 			if test $ac_mid -le $ac_hi; then
   21055 			  ac_lo= ac_hi=
   21056 			  break
   21057 			fi
   21058 			ac_mid=`expr 2 '*' $ac_mid`
   21059 fi
   21060 
   21061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21062   done
   21063 else
   21064   echo "$as_me: failed program was:" >&5
   21065 sed 's/^/| /' conftest.$ac_ext >&5
   21066 
   21067 	ac_lo= ac_hi=
   21068 fi
   21069 
   21070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21071 fi
   21072 
   21073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21074 # Binary search between lo and hi bounds.
   21075 while test "x$ac_lo" != "x$ac_hi"; do
   21076   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   21077   cat >conftest.$ac_ext <<_ACEOF
   21078 /* confdefs.h.  */
   21079 _ACEOF
   21080 cat confdefs.h >>conftest.$ac_ext
   21081 cat >>conftest.$ac_ext <<_ACEOF
   21082 /* end confdefs.h.  */
   21083 #include <stddef.h>
   21084 int
   21085 main ()
   21086 {
   21087 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
   21088 test_array [0] = 0
   21089 
   21090   ;
   21091   return 0;
   21092 }
   21093 _ACEOF
   21094 rm -f conftest.$ac_objext
   21095 if { (ac_try="$ac_compile"
   21096 case "(($ac_try" in
   21097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21098   *) ac_try_echo=$ac_try;;
   21099 esac
   21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21101   (eval "$ac_compile") 2>conftest.er1
   21102   ac_status=$?
   21103   grep -v '^ *+' conftest.er1 >conftest.err
   21104   rm -f conftest.er1
   21105   cat conftest.err >&5
   21106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21107   (exit $ac_status); } && {
   21108 	 test -z "$ac_c_werror_flag" ||
   21109 	 test ! -s conftest.err
   21110        } && test -s conftest.$ac_objext; then
   21111   ac_hi=$ac_mid
   21112 else
   21113   echo "$as_me: failed program was:" >&5
   21114 sed 's/^/| /' conftest.$ac_ext >&5
   21115 
   21116 	ac_lo=`expr '(' $ac_mid ')' + 1`
   21117 fi
   21118 
   21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21120 done
   21121 case $ac_lo in
   21122 ?*) fits_in_uint=$ac_lo;;
   21123 '') fits_in_uint= ;;
   21124 esac
   21125 else
   21126   cat >conftest.$ac_ext <<_ACEOF
   21127 /* confdefs.h.  */
   21128 _ACEOF
   21129 cat confdefs.h >>conftest.$ac_ext
   21130 cat >>conftest.$ac_ext <<_ACEOF
   21131 /* end confdefs.h.  */
   21132 #include <stddef.h>
   21133 static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
   21134 static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
   21135 #include <stdio.h>
   21136 #include <stdlib.h>
   21137 int
   21138 main ()
   21139 {
   21140 
   21141   FILE *f = fopen ("conftest.val", "w");
   21142   if (! f)
   21143     return 1;
   21144   if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
   21145     {
   21146       long int i = longval ();
   21147       if (i != (sizeof (size_t) <= sizeof (unsigned int)))
   21148 	return 1;
   21149       fprintf (f, "%ld\n", i);
   21150     }
   21151   else
   21152     {
   21153       unsigned long int i = ulongval ();
   21154       if (i != (sizeof (size_t) <= sizeof (unsigned int)))
   21155 	return 1;
   21156       fprintf (f, "%lu\n", i);
   21157     }
   21158   return ferror (f) || fclose (f) != 0;
   21159 
   21160   ;
   21161   return 0;
   21162 }
   21163 _ACEOF
   21164 rm -f conftest$ac_exeext
   21165 if { (ac_try="$ac_link"
   21166 case "(($ac_try" in
   21167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21168   *) ac_try_echo=$ac_try;;
   21169 esac
   21170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21171   (eval "$ac_link") 2>&5
   21172   ac_status=$?
   21173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21174   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21175   { (case "(($ac_try" in
   21176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21177   *) ac_try_echo=$ac_try;;
   21178 esac
   21179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21180   (eval "$ac_try") 2>&5
   21181   ac_status=$?
   21182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21183   (exit $ac_status); }; }; then
   21184   fits_in_uint=`cat conftest.val`
   21185 else
   21186   echo "$as_me: program exited with status $ac_status" >&5
   21187 echo "$as_me: failed program was:" >&5
   21188 sed 's/^/| /' conftest.$ac_ext >&5
   21189 
   21190 ( exit $ac_status )
   21191 fits_in_uint=
   21192 fi
   21193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21194 fi
   21195 rm -f conftest.val
   21196 
   21197       if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
   21198         if test $fits_in_uint = 1; then
   21199                               cat >conftest.$ac_ext <<_ACEOF
   21200 /* confdefs.h.  */
   21201 _ACEOF
   21202 cat confdefs.h >>conftest.$ac_ext
   21203 cat >>conftest.$ac_ext <<_ACEOF
   21204 /* end confdefs.h.  */
   21205 #include <stddef.h>
   21206             extern size_t foo;
   21207             extern unsigned long foo;
   21208 
   21209 int
   21210 main ()
   21211 {
   21212 
   21213   ;
   21214   return 0;
   21215 }
   21216 _ACEOF
   21217 rm -f conftest.$ac_objext
   21218 if { (ac_try="$ac_compile"
   21219 case "(($ac_try" in
   21220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21221   *) ac_try_echo=$ac_try;;
   21222 esac
   21223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21224   (eval "$ac_compile") 2>conftest.er1
   21225   ac_status=$?
   21226   grep -v '^ *+' conftest.er1 >conftest.err
   21227   rm -f conftest.er1
   21228   cat conftest.err >&5
   21229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21230   (exit $ac_status); } && {
   21231 	 test -z "$ac_c_werror_flag" ||
   21232 	 test ! -s conftest.err
   21233        } && test -s conftest.$ac_objext; then
   21234   fits_in_uint=0
   21235 else
   21236   echo "$as_me: failed program was:" >&5
   21237 sed 's/^/| /' conftest.$ac_ext >&5
   21238 
   21239 
   21240 fi
   21241 
   21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21243         fi
   21244                                 if test $fits_in_uint = 1; then
   21245           gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
   21246         else
   21247           gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
   21248         fi
   21249       else
   21250                 gl_cv_size_max='((size_t)~(size_t)0)'
   21251       fi
   21252     fi
   21253 
   21254 fi
   21255 
   21256   { echo "$as_me:$LINENO: result: $gl_cv_size_max" >&5
   21257 echo "${ECHO_T}$gl_cv_size_max" >&6; }
   21258   if test "$gl_cv_size_max" != yes; then
   21259 
   21260 cat >>confdefs.h <<_ACEOF
   21261 #define SIZE_MAX $gl_cv_size_max
   21262 _ACEOF
   21263 
   21264   fi
   21265 
   21266 
   21267 
   21268 
   21269 
   21270 for ac_header in stdint.h
   21271 do
   21272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   21273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21274   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   21275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   21276 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21277   echo $ECHO_N "(cached) $ECHO_C" >&6
   21278 fi
   21279 ac_res=`eval echo '${'$as_ac_Header'}'`
   21280 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21281 echo "${ECHO_T}$ac_res" >&6; }
   21282 else
   21283   # Is the header compilable?
   21284 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   21285 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   21286 cat >conftest.$ac_ext <<_ACEOF
   21287 /* confdefs.h.  */
   21288 _ACEOF
   21289 cat confdefs.h >>conftest.$ac_ext
   21290 cat >>conftest.$ac_ext <<_ACEOF
   21291 /* end confdefs.h.  */
   21292 $ac_includes_default
   21293 #include <$ac_header>
   21294 _ACEOF
   21295 rm -f conftest.$ac_objext
   21296 if { (ac_try="$ac_compile"
   21297 case "(($ac_try" in
   21298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21299   *) ac_try_echo=$ac_try;;
   21300 esac
   21301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21302   (eval "$ac_compile") 2>conftest.er1
   21303   ac_status=$?
   21304   grep -v '^ *+' conftest.er1 >conftest.err
   21305   rm -f conftest.er1
   21306   cat conftest.err >&5
   21307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21308   (exit $ac_status); } && {
   21309 	 test -z "$ac_c_werror_flag" ||
   21310 	 test ! -s conftest.err
   21311        } && test -s conftest.$ac_objext; then
   21312   ac_header_compiler=yes
   21313 else
   21314   echo "$as_me: failed program was:" >&5
   21315 sed 's/^/| /' conftest.$ac_ext >&5
   21316 
   21317 	ac_header_compiler=no
   21318 fi
   21319 
   21320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21321 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21322 echo "${ECHO_T}$ac_header_compiler" >&6; }
   21323 
   21324 # Is the header present?
   21325 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   21326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   21327 cat >conftest.$ac_ext <<_ACEOF
   21328 /* confdefs.h.  */
   21329 _ACEOF
   21330 cat confdefs.h >>conftest.$ac_ext
   21331 cat >>conftest.$ac_ext <<_ACEOF
   21332 /* end confdefs.h.  */
   21333 #include <$ac_header>
   21334 _ACEOF
   21335 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21336 case "(($ac_try" in
   21337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21338   *) ac_try_echo=$ac_try;;
   21339 esac
   21340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21341   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21342   ac_status=$?
   21343   grep -v '^ *+' conftest.er1 >conftest.err
   21344   rm -f conftest.er1
   21345   cat conftest.err >&5
   21346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21347   (exit $ac_status); } >/dev/null && {
   21348 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21349 	 test ! -s conftest.err
   21350        }; then
   21351   ac_header_preproc=yes
   21352 else
   21353   echo "$as_me: failed program was:" >&5
   21354 sed 's/^/| /' conftest.$ac_ext >&5
   21355 
   21356   ac_header_preproc=no
   21357 fi
   21358 
   21359 rm -f conftest.err conftest.$ac_ext
   21360 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21361 echo "${ECHO_T}$ac_header_preproc" >&6; }
   21362 
   21363 # So?  What about this header?
   21364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21365   yes:no: )
   21366     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   21367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21368     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   21369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   21370     ac_header_preproc=yes
   21371     ;;
   21372   no:yes:* )
   21373     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   21374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   21375     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   21376 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   21377     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   21378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   21379     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   21380 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   21381     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   21382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   21383     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   21384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   21385 
   21386     ;;
   21387 esac
   21388 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   21389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   21390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21391   echo $ECHO_N "(cached) $ECHO_C" >&6
   21392 else
   21393   eval "$as_ac_Header=\$ac_header_preproc"
   21394 fi
   21395 ac_res=`eval echo '${'$as_ac_Header'}'`
   21396 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21397 echo "${ECHO_T}$ac_res" >&6; }
   21398 
   21399 fi
   21400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   21401   cat >>confdefs.h <<_ACEOF
   21402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   21403 _ACEOF
   21404 
   21405 fi
   21406 
   21407 done
   21408 
   21409 
   21410 
   21411 
   21412 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   21413 # for constant arguments.  Useless!
   21414 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
   21415 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
   21416 if test "${ac_cv_working_alloca_h+set}" = set; then
   21417   echo $ECHO_N "(cached) $ECHO_C" >&6
   21418 else
   21419   cat >conftest.$ac_ext <<_ACEOF
   21420 /* confdefs.h.  */
   21421 _ACEOF
   21422 cat confdefs.h >>conftest.$ac_ext
   21423 cat >>conftest.$ac_ext <<_ACEOF
   21424 /* end confdefs.h.  */
   21425 #include <alloca.h>
   21426 int
   21427 main ()
   21428 {
   21429 char *p = (char *) alloca (2 * sizeof (int));
   21430 			  if (p) return 0;
   21431   ;
   21432   return 0;
   21433 }
   21434 _ACEOF
   21435 rm -f conftest.$ac_objext conftest$ac_exeext
   21436 if { (ac_try="$ac_link"
   21437 case "(($ac_try" in
   21438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21439   *) ac_try_echo=$ac_try;;
   21440 esac
   21441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21442   (eval "$ac_link") 2>conftest.er1
   21443   ac_status=$?
   21444   grep -v '^ *+' conftest.er1 >conftest.err
   21445   rm -f conftest.er1
   21446   cat conftest.err >&5
   21447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21448   (exit $ac_status); } && {
   21449 	 test -z "$ac_c_werror_flag" ||
   21450 	 test ! -s conftest.err
   21451        } && test -s conftest$ac_exeext &&
   21452        $as_test_x conftest$ac_exeext; then
   21453   ac_cv_working_alloca_h=yes
   21454 else
   21455   echo "$as_me: failed program was:" >&5
   21456 sed 's/^/| /' conftest.$ac_ext >&5
   21457 
   21458 	ac_cv_working_alloca_h=no
   21459 fi
   21460 
   21461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21462       conftest$ac_exeext conftest.$ac_ext
   21463 fi
   21464 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
   21465 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
   21466 if test $ac_cv_working_alloca_h = yes; then
   21467 
   21468 cat >>confdefs.h <<\_ACEOF
   21469 #define HAVE_ALLOCA_H 1
   21470 _ACEOF
   21471 
   21472 fi
   21473 
   21474 { echo "$as_me:$LINENO: checking for alloca" >&5
   21475 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
   21476 if test "${ac_cv_func_alloca_works+set}" = set; then
   21477   echo $ECHO_N "(cached) $ECHO_C" >&6
   21478 else
   21479   cat >conftest.$ac_ext <<_ACEOF
   21480 /* confdefs.h.  */
   21481 _ACEOF
   21482 cat confdefs.h >>conftest.$ac_ext
   21483 cat >>conftest.$ac_ext <<_ACEOF
   21484 /* end confdefs.h.  */
   21485 #ifdef __GNUC__
   21486 # define alloca __builtin_alloca
   21487 #else
   21488 # ifdef _MSC_VER
   21489 #  include <malloc.h>
   21490 #  define alloca _alloca
   21491 # else
   21492 #  ifdef HAVE_ALLOCA_H
   21493 #   include <alloca.h>
   21494 #  else
   21495 #   ifdef _AIX
   21496  #pragma alloca
   21497 #   else
   21498 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   21499 char *alloca ();
   21500 #    endif
   21501 #   endif
   21502 #  endif
   21503 # endif
   21504 #endif
   21505 
   21506 int
   21507 main ()
   21508 {
   21509 char *p = (char *) alloca (1);
   21510 				    if (p) return 0;
   21511   ;
   21512   return 0;
   21513 }
   21514 _ACEOF
   21515 rm -f conftest.$ac_objext conftest$ac_exeext
   21516 if { (ac_try="$ac_link"
   21517 case "(($ac_try" in
   21518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21519   *) ac_try_echo=$ac_try;;
   21520 esac
   21521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21522   (eval "$ac_link") 2>conftest.er1
   21523   ac_status=$?
   21524   grep -v '^ *+' conftest.er1 >conftest.err
   21525   rm -f conftest.er1
   21526   cat conftest.err >&5
   21527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21528   (exit $ac_status); } && {
   21529 	 test -z "$ac_c_werror_flag" ||
   21530 	 test ! -s conftest.err
   21531        } && test -s conftest$ac_exeext &&
   21532        $as_test_x conftest$ac_exeext; then
   21533   ac_cv_func_alloca_works=yes
   21534 else
   21535   echo "$as_me: failed program was:" >&5
   21536 sed 's/^/| /' conftest.$ac_ext >&5
   21537 
   21538 	ac_cv_func_alloca_works=no
   21539 fi
   21540 
   21541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21542       conftest$ac_exeext conftest.$ac_ext
   21543 fi
   21544 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
   21545 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
   21546 
   21547 if test $ac_cv_func_alloca_works = yes; then
   21548 
   21549 cat >>confdefs.h <<\_ACEOF
   21550 #define HAVE_ALLOCA 1
   21551 _ACEOF
   21552 
   21553 else
   21554   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   21555 # that cause trouble.  Some versions do not even contain alloca or
   21556 # contain a buggy version.  If you still want to use their alloca,
   21557 # use ar to extract alloca.o from them instead of compiling alloca.c.
   21558 
   21559 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   21560 
   21561 cat >>confdefs.h <<\_ACEOF
   21562 #define C_ALLOCA 1
   21563 _ACEOF
   21564 
   21565 
   21566 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
   21567 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
   21568 if test "${ac_cv_os_cray+set}" = set; then
   21569   echo $ECHO_N "(cached) $ECHO_C" >&6
   21570 else
   21571   cat >conftest.$ac_ext <<_ACEOF
   21572 /* confdefs.h.  */
   21573 _ACEOF
   21574 cat confdefs.h >>conftest.$ac_ext
   21575 cat >>conftest.$ac_ext <<_ACEOF
   21576 /* end confdefs.h.  */
   21577 #if defined CRAY && ! defined CRAY2
   21578 webecray
   21579 #else
   21580 wenotbecray
   21581 #endif
   21582 
   21583 _ACEOF
   21584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21585   $EGREP "webecray" >/dev/null 2>&1; then
   21586   ac_cv_os_cray=yes
   21587 else
   21588   ac_cv_os_cray=no
   21589 fi
   21590 rm -f conftest*
   21591 
   21592 fi
   21593 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
   21594 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
   21595 if test $ac_cv_os_cray = yes; then
   21596   for ac_func in _getb67 GETB67 getb67; do
   21597     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21598 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   21599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   21600 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21601   echo $ECHO_N "(cached) $ECHO_C" >&6
   21602 else
   21603   cat >conftest.$ac_ext <<_ACEOF
   21604 /* confdefs.h.  */
   21605 _ACEOF
   21606 cat confdefs.h >>conftest.$ac_ext
   21607 cat >>conftest.$ac_ext <<_ACEOF
   21608 /* end confdefs.h.  */
   21609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21610    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21611 #define $ac_func innocuous_$ac_func
   21612 
   21613 /* System header to define __stub macros and hopefully few prototypes,
   21614     which can conflict with char $ac_func (); below.
   21615     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21616     <limits.h> exists even on freestanding compilers.  */
   21617 
   21618 #ifdef __STDC__
   21619 # include <limits.h>
   21620 #else
   21621 # include <assert.h>
   21622 #endif
   21623 
   21624 #undef $ac_func
   21625 
   21626 /* Override any GCC internal prototype to avoid an error.
   21627    Use char because int might match the return type of a GCC
   21628    builtin and then its argument prototype would still apply.  */
   21629 #ifdef __cplusplus
   21630 extern "C"
   21631 #endif
   21632 char $ac_func ();
   21633 /* The GNU C library defines this for functions which it implements
   21634     to always fail with ENOSYS.  Some functions are actually named
   21635     something starting with __ and the normal name is an alias.  */
   21636 #if defined __stub_$ac_func || defined __stub___$ac_func
   21637 choke me
   21638 #endif
   21639 
   21640 int
   21641 main ()
   21642 {
   21643 return $ac_func ();
   21644   ;
   21645   return 0;
   21646 }
   21647 _ACEOF
   21648 rm -f conftest.$ac_objext conftest$ac_exeext
   21649 if { (ac_try="$ac_link"
   21650 case "(($ac_try" in
   21651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21652   *) ac_try_echo=$ac_try;;
   21653 esac
   21654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21655   (eval "$ac_link") 2>conftest.er1
   21656   ac_status=$?
   21657   grep -v '^ *+' conftest.er1 >conftest.err
   21658   rm -f conftest.er1
   21659   cat conftest.err >&5
   21660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21661   (exit $ac_status); } && {
   21662 	 test -z "$ac_c_werror_flag" ||
   21663 	 test ! -s conftest.err
   21664        } && test -s conftest$ac_exeext &&
   21665        $as_test_x conftest$ac_exeext; then
   21666   eval "$as_ac_var=yes"
   21667 else
   21668   echo "$as_me: failed program was:" >&5
   21669 sed 's/^/| /' conftest.$ac_ext >&5
   21670 
   21671 	eval "$as_ac_var=no"
   21672 fi
   21673 
   21674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21675       conftest$ac_exeext conftest.$ac_ext
   21676 fi
   21677 ac_res=`eval echo '${'$as_ac_var'}'`
   21678 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21679 echo "${ECHO_T}$ac_res" >&6; }
   21680 if test `eval echo '${'$as_ac_var'}'` = yes; then
   21681 
   21682 cat >>confdefs.h <<_ACEOF
   21683 #define CRAY_STACKSEG_END $ac_func
   21684 _ACEOF
   21685 
   21686     break
   21687 fi
   21688 
   21689   done
   21690 fi
   21691 
   21692 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
   21693 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
   21694 if test "${ac_cv_c_stack_direction+set}" = set; then
   21695   echo $ECHO_N "(cached) $ECHO_C" >&6
   21696 else
   21697   if test "$cross_compiling" = yes; then
   21698   ac_cv_c_stack_direction=0
   21699 else
   21700   cat >conftest.$ac_ext <<_ACEOF
   21701 /* confdefs.h.  */
   21702 _ACEOF
   21703 cat confdefs.h >>conftest.$ac_ext
   21704 cat >>conftest.$ac_ext <<_ACEOF
   21705 /* end confdefs.h.  */
   21706 $ac_includes_default
   21707 int
   21708 find_stack_direction ()
   21709 {
   21710   static char *addr = 0;
   21711   auto char dummy;
   21712   if (addr == 0)
   21713     {
   21714       addr = &dummy;
   21715       return find_stack_direction ();
   21716     }
   21717   else
   21718     return (&dummy > addr) ? 1 : -1;
   21719 }
   21720 
   21721 int
   21722 main ()
   21723 {
   21724   return find_stack_direction () < 0;
   21725 }
   21726 _ACEOF
   21727 rm -f conftest$ac_exeext
   21728 if { (ac_try="$ac_link"
   21729 case "(($ac_try" in
   21730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21731   *) ac_try_echo=$ac_try;;
   21732 esac
   21733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21734   (eval "$ac_link") 2>&5
   21735   ac_status=$?
   21736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21737   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21738   { (case "(($ac_try" in
   21739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21740   *) ac_try_echo=$ac_try;;
   21741 esac
   21742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21743   (eval "$ac_try") 2>&5
   21744   ac_status=$?
   21745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21746   (exit $ac_status); }; }; then
   21747   ac_cv_c_stack_direction=1
   21748 else
   21749   echo "$as_me: program exited with status $ac_status" >&5
   21750 echo "$as_me: failed program was:" >&5
   21751 sed 's/^/| /' conftest.$ac_ext >&5
   21752 
   21753 ( exit $ac_status )
   21754 ac_cv_c_stack_direction=-1
   21755 fi
   21756 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21757 fi
   21758 
   21759 
   21760 fi
   21761 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
   21762 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
   21763 
   21764 cat >>confdefs.h <<_ACEOF
   21765 #define STACK_DIRECTION $ac_cv_c_stack_direction
   21766 _ACEOF
   21767 
   21768 
   21769 fi
   21770 
   21771 cat >conftest.$ac_ext <<_ACEOF
   21772 /* confdefs.h.  */
   21773 _ACEOF
   21774 cat confdefs.h >>conftest.$ac_ext
   21775 cat >>conftest.$ac_ext <<_ACEOF
   21776 /* end confdefs.h.  */
   21777 
   21778 #if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H
   21779   Need own alloca
   21780 #endif
   21781 
   21782 _ACEOF
   21783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21784   $EGREP "Need own alloca" >/dev/null 2>&1; then
   21785   ALLOCA_H=alloca.h
   21786 else
   21787   ALLOCA_H=
   21788 fi
   21789 rm -f conftest*
   21790 
   21791 
   21792 
   21793 
   21794 
   21795 
   21796 for ac_func in snprintf vasprintf wcslen
   21797 do
   21798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   21800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   21801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21802   echo $ECHO_N "(cached) $ECHO_C" >&6
   21803 else
   21804   cat >conftest.$ac_ext <<_ACEOF
   21805 /* confdefs.h.  */
   21806 _ACEOF
   21807 cat confdefs.h >>conftest.$ac_ext
   21808 cat >>conftest.$ac_ext <<_ACEOF
   21809 /* end confdefs.h.  */
   21810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21812 #define $ac_func innocuous_$ac_func
   21813 
   21814 /* System header to define __stub macros and hopefully few prototypes,
   21815     which can conflict with char $ac_func (); below.
   21816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21817     <limits.h> exists even on freestanding compilers.  */
   21818 
   21819 #ifdef __STDC__
   21820 # include <limits.h>
   21821 #else
   21822 # include <assert.h>
   21823 #endif
   21824 
   21825 #undef $ac_func
   21826 
   21827 /* Override any GCC internal prototype to avoid an error.
   21828    Use char because int might match the return type of a GCC
   21829    builtin and then its argument prototype would still apply.  */
   21830 #ifdef __cplusplus
   21831 extern "C"
   21832 #endif
   21833 char $ac_func ();
   21834 /* The GNU C library defines this for functions which it implements
   21835     to always fail with ENOSYS.  Some functions are actually named
   21836     something starting with __ and the normal name is an alias.  */
   21837 #if defined __stub_$ac_func || defined __stub___$ac_func
   21838 choke me
   21839 #endif
   21840 
   21841 int
   21842 main ()
   21843 {
   21844 return $ac_func ();
   21845   ;
   21846   return 0;
   21847 }
   21848 _ACEOF
   21849 rm -f conftest.$ac_objext conftest$ac_exeext
   21850 if { (ac_try="$ac_link"
   21851 case "(($ac_try" in
   21852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21853   *) ac_try_echo=$ac_try;;
   21854 esac
   21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21856   (eval "$ac_link") 2>conftest.er1
   21857   ac_status=$?
   21858   grep -v '^ *+' conftest.er1 >conftest.err
   21859   rm -f conftest.er1
   21860   cat conftest.err >&5
   21861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21862   (exit $ac_status); } && {
   21863 	 test -z "$ac_c_werror_flag" ||
   21864 	 test ! -s conftest.err
   21865        } && test -s conftest$ac_exeext &&
   21866        $as_test_x conftest$ac_exeext; then
   21867   eval "$as_ac_var=yes"
   21868 else
   21869   echo "$as_me: failed program was:" >&5
   21870 sed 's/^/| /' conftest.$ac_ext >&5
   21871 
   21872 	eval "$as_ac_var=no"
   21873 fi
   21874 
   21875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21876       conftest$ac_exeext conftest.$ac_ext
   21877 fi
   21878 ac_res=`eval echo '${'$as_ac_var'}'`
   21879 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21880 echo "${ECHO_T}$ac_res" >&6; }
   21881 if test `eval echo '${'$as_ac_var'}'` = yes; then
   21882   cat >>confdefs.h <<_ACEOF
   21883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21884 _ACEOF
   21885 
   21886 fi
   21887 done
   21888 
   21889 { echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
   21890 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; }
   21891 if test "${ac_cv_have_decl__snprintf+set}" = set; then
   21892   echo $ECHO_N "(cached) $ECHO_C" >&6
   21893 else
   21894   cat >conftest.$ac_ext <<_ACEOF
   21895 /* confdefs.h.  */
   21896 _ACEOF
   21897 cat confdefs.h >>conftest.$ac_ext
   21898 cat >>conftest.$ac_ext <<_ACEOF
   21899 /* end confdefs.h.  */
   21900 $ac_includes_default
   21901 int
   21902 main ()
   21903 {
   21904 #ifndef _snprintf
   21905   (void) _snprintf;
   21906 #endif
   21907 
   21908   ;
   21909   return 0;
   21910 }
   21911 _ACEOF
   21912 rm -f conftest.$ac_objext
   21913 if { (ac_try="$ac_compile"
   21914 case "(($ac_try" in
   21915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21916   *) ac_try_echo=$ac_try;;
   21917 esac
   21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21919   (eval "$ac_compile") 2>conftest.er1
   21920   ac_status=$?
   21921   grep -v '^ *+' conftest.er1 >conftest.err
   21922   rm -f conftest.er1
   21923   cat conftest.err >&5
   21924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21925   (exit $ac_status); } && {
   21926 	 test -z "$ac_c_werror_flag" ||
   21927 	 test ! -s conftest.err
   21928        } && test -s conftest.$ac_objext; then
   21929   ac_cv_have_decl__snprintf=yes
   21930 else
   21931   echo "$as_me: failed program was:" >&5
   21932 sed 's/^/| /' conftest.$ac_ext >&5
   21933 
   21934 	ac_cv_have_decl__snprintf=no
   21935 fi
   21936 
   21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21938 fi
   21939 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
   21940 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; }
   21941 if test $ac_cv_have_decl__snprintf = yes; then
   21942 
   21943 cat >>confdefs.h <<_ACEOF
   21944 #define HAVE_DECL__SNPRINTF 1
   21945 _ACEOF
   21946 
   21947 
   21948 else
   21949   cat >>confdefs.h <<_ACEOF
   21950 #define HAVE_DECL__SNPRINTF 0
   21951 _ACEOF
   21952 
   21953 
   21954 fi
   21955 
   21956 
   21957 
   21958 
   21959   { echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
   21960 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; }
   21961 if test "${gt_cv_func_printf_posix+set}" = set; then
   21962   echo $ECHO_N "(cached) $ECHO_C" >&6
   21963 else
   21964 
   21965       if test "$cross_compiling" = yes; then
   21966 
   21967         cat >conftest.$ac_ext <<_ACEOF
   21968 /* confdefs.h.  */
   21969 _ACEOF
   21970 cat confdefs.h >>conftest.$ac_ext
   21971 cat >>conftest.$ac_ext <<_ACEOF
   21972 /* end confdefs.h.  */
   21973 
   21974 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
   21975   notposix
   21976 #endif
   21977 
   21978 _ACEOF
   21979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21980   $EGREP "notposix" >/dev/null 2>&1; then
   21981   gt_cv_func_printf_posix="guessing no"
   21982 else
   21983   gt_cv_func_printf_posix="guessing yes"
   21984 fi
   21985 rm -f conftest*
   21986 
   21987 
   21988 else
   21989   cat >conftest.$ac_ext <<_ACEOF
   21990 /* confdefs.h.  */
   21991 _ACEOF
   21992 cat confdefs.h >>conftest.$ac_ext
   21993 cat >>conftest.$ac_ext <<_ACEOF
   21994 /* end confdefs.h.  */
   21995 
   21996 #include <stdio.h>
   21997 #include <string.h>
   21998 /* The string "%2$d %1$d", with dollar characters protected from the shell's
   21999    dollar expansion (possibly an autoconf bug).  */
   22000 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
   22001 static char buf[100];
   22002 int main ()
   22003 {
   22004   sprintf (buf, format, 33, 55);
   22005   return (strcmp (buf, "55 33") != 0);
   22006 }
   22007 _ACEOF
   22008 rm -f conftest$ac_exeext
   22009 if { (ac_try="$ac_link"
   22010 case "(($ac_try" in
   22011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22012   *) ac_try_echo=$ac_try;;
   22013 esac
   22014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22015   (eval "$ac_link") 2>&5
   22016   ac_status=$?
   22017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22018   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   22019   { (case "(($ac_try" in
   22020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22021   *) ac_try_echo=$ac_try;;
   22022 esac
   22023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22024   (eval "$ac_try") 2>&5
   22025   ac_status=$?
   22026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22027   (exit $ac_status); }; }; then
   22028   gt_cv_func_printf_posix=yes
   22029 else
   22030   echo "$as_me: program exited with status $ac_status" >&5
   22031 echo "$as_me: failed program was:" >&5
   22032 sed 's/^/| /' conftest.$ac_ext >&5
   22033 
   22034 ( exit $ac_status )
   22035 gt_cv_func_printf_posix=no
   22036 fi
   22037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   22038 fi
   22039 
   22040 
   22041 
   22042 fi
   22043 { echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
   22044 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; }
   22045   case $gt_cv_func_printf_posix in
   22046     *yes)
   22047 
   22048 cat >>confdefs.h <<\_ACEOF
   22049 #define HAVE_POSIX_PRINTF 1
   22050 _ACEOF
   22051 
   22052       ;;
   22053   esac
   22054 
   22055 
   22056 ac_aux_dir_abs=`cd $ac_aux_dir && pwd`
   22057 # Extract the first word of "dvips", so it can be a program name with args.
   22058 set dummy dvips; ac_word=$2
   22059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   22060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   22061 if test "${ac_cv_path_DVIPS+set}" = set; then
   22062   echo $ECHO_N "(cached) $ECHO_C" >&6
   22063 else
   22064   case $DVIPS in
   22065   [\\/]* | ?:[\\/]*)
   22066   ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.
   22067   ;;
   22068   *)
   22069   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22070 for as_dir in $PATH
   22071 do
   22072   IFS=$as_save_IFS
   22073   test -z "$as_dir" && as_dir=.
   22074   for ac_exec_ext in '' $ac_executable_extensions; do
   22075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   22076     ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
   22077     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   22078     break 2
   22079   fi
   22080 done
   22081 done
   22082 IFS=$as_save_IFS
   22083 
   22084   test -z "$ac_cv_path_DVIPS" && ac_cv_path_DVIPS="$ac_aux_dir_abs/missing dvips"
   22085   ;;
   22086 esac
   22087 fi
   22088 DVIPS=$ac_cv_path_DVIPS
   22089 if test -n "$DVIPS"; then
   22090   { echo "$as_me:$LINENO: result: $DVIPS" >&5
   22091 echo "${ECHO_T}$DVIPS" >&6; }
   22092 else
   22093   { echo "$as_me:$LINENO: result: no" >&5
   22094 echo "${ECHO_T}no" >&6; }
   22095 fi
   22096 
   22097 
   22098 # Extract the first word of "texi2pdf", so it can be a program name with args.
   22099 set dummy texi2pdf; ac_word=$2
   22100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   22101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   22102 if test "${ac_cv_path_TEXI2PDF+set}" = set; then
   22103   echo $ECHO_N "(cached) $ECHO_C" >&6
   22104 else
   22105   case $TEXI2PDF in
   22106   [\\/]* | ?:[\\/]*)
   22107   ac_cv_path_TEXI2PDF="$TEXI2PDF" # Let the user override the test with a path.
   22108   ;;
   22109   *)
   22110   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22111 for as_dir in $PATH
   22112 do
   22113   IFS=$as_save_IFS
   22114   test -z "$as_dir" && as_dir=.
   22115   for ac_exec_ext in '' $ac_executable_extensions; do
   22116   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   22117     ac_cv_path_TEXI2PDF="$as_dir/$ac_word$ac_exec_ext"
   22118     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   22119     break 2
   22120   fi
   22121 done
   22122 done
   22123 IFS=$as_save_IFS
   22124 
   22125   test -z "$ac_cv_path_TEXI2PDF" && ac_cv_path_TEXI2PDF="$ac_aux_dir_abs/missing texi2pdf"
   22126   ;;
   22127 esac
   22128 fi
   22129 TEXI2PDF=$ac_cv_path_TEXI2PDF
   22130 if test -n "$TEXI2PDF"; then
   22131   { echo "$as_me:$LINENO: result: $TEXI2PDF" >&5
   22132 echo "${ECHO_T}$TEXI2PDF" >&6; }
   22133 else
   22134   { echo "$as_me:$LINENO: result: no" >&5
   22135 echo "${ECHO_T}no" >&6; }
   22136 fi
   22137 
   22138 
   22139 # Extract the first word of "perl", so it can be a program name with args.
   22140 set dummy perl; ac_word=$2
   22141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   22142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   22143 if test "${ac_cv_path_PERL+set}" = set; then
   22144   echo $ECHO_N "(cached) $ECHO_C" >&6
   22145 else
   22146   case $PERL in
   22147   [\\/]* | ?:[\\/]*)
   22148   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   22149   ;;
   22150   *)
   22151   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22152 for as_dir in $PATH
   22153 do
   22154   IFS=$as_save_IFS
   22155   test -z "$as_dir" && as_dir=.
   22156   for ac_exec_ext in '' $ac_executable_extensions; do
   22157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   22158     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   22159     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   22160     break 2
   22161   fi
   22162 done
   22163 done
   22164 IFS=$as_save_IFS
   22165 
   22166   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="$ac_aux_dir_abs/missing perl"
   22167   ;;
   22168 esac
   22169 fi
   22170 PERL=$ac_cv_path_PERL
   22171 if test -n "$PERL"; then
   22172   { echo "$as_me:$LINENO: result: $PERL" >&5
   22173 echo "${ECHO_T}$PERL" >&6; }
   22174 else
   22175   { echo "$as_me:$LINENO: result: no" >&5
   22176 echo "${ECHO_T}no" >&6; }
   22177 fi
   22178 
   22179 
   22180 
   22181 ac_config_files="$ac_config_files Makefile"
   22182 
   22183 
   22184 cat >confcache <<\_ACEOF
   22185 # This file is a shell script that caches the results of configure
   22186 # tests run on this system so they can be shared between configure
   22187 # scripts and configure runs, see configure's option --config-cache.
   22188 # It is not useful on other systems.  If it contains results you don't
   22189 # want to keep, you may remove or edit it.
   22190 #
   22191 # config.status only pays attention to the cache file if you give it
   22192 # the --recheck option to rerun configure.
   22193 #
   22194 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22195 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22196 # following values.
   22197 
   22198 _ACEOF
   22199 
   22200 # The following way of writing the cache mishandles newlines in values,
   22201 # but we know of no workaround that is simple, portable, and efficient.
   22202 # So, we kill variables containing newlines.
   22203 # Ultrix sh set writes to stderr and can't be redirected directly,
   22204 # and sets the high bit in the cache file unless we assign to the vars.
   22205 (
   22206   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22207     eval ac_val=\$$ac_var
   22208     case $ac_val in #(
   22209     *${as_nl}*)
   22210       case $ac_var in #(
   22211       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   22212 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   22213       esac
   22214       case $ac_var in #(
   22215       _ | IFS | as_nl) ;; #(
   22216       *) $as_unset $ac_var ;;
   22217       esac ;;
   22218     esac
   22219   done
   22220 
   22221   (set) 2>&1 |
   22222     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22223     *${as_nl}ac_space=\ *)
   22224       # `set' does not quote correctly, so add quotes (double-quote
   22225       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22226       sed -n \
   22227 	"s/'/'\\\\''/g;
   22228 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22229       ;; #(
   22230     *)
   22231       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22232       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22233       ;;
   22234     esac |
   22235     sort
   22236 ) |
   22237   sed '
   22238      /^ac_cv_env_/b end
   22239      t clear
   22240      :clear
   22241      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22242      t end
   22243      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22244      :end' >>confcache
   22245 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22246   if test -w "$cache_file"; then
   22247     test "x$cache_file" != "x/dev/null" &&
   22248       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22249 echo "$as_me: updating cache $cache_file" >&6;}
   22250     cat confcache >$cache_file
   22251   else
   22252     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22253 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22254   fi
   22255 fi
   22256 rm -f confcache
   22257 
   22258 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22259 # Let make expand exec_prefix.
   22260 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22261 
   22262 DEFS=-DHAVE_CONFIG_H
   22263 
   22264 ac_libobjs=
   22265 ac_ltlibobjs=
   22266 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22267   # 1. Remove the extension, and $U if already installed.
   22268   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22269   ac_i=`echo "$ac_i" | sed "$ac_script"`
   22270   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22271   #    will be set to the directory where LIBOBJS objects are built.
   22272   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22273   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22274 done
   22275 LIBOBJS=$ac_libobjs
   22276 
   22277 LTLIBOBJS=$ac_ltlibobjs
   22278 
   22279 
   22280 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22281   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22282 Usually this means the macro was only invoked conditionally." >&5
   22283 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22284 Usually this means the macro was only invoked conditionally." >&2;}
   22285    { (exit 1); exit 1; }; }
   22286 fi
   22287 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22288   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22289 Usually this means the macro was only invoked conditionally." >&5
   22290 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22291 Usually this means the macro was only invoked conditionally." >&2;}
   22292    { (exit 1); exit 1; }; }
   22293 fi
   22294 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22295   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22296 Usually this means the macro was only invoked conditionally." >&5
   22297 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22298 Usually this means the macro was only invoked conditionally." >&2;}
   22299    { (exit 1); exit 1; }; }
   22300 fi
   22301 
   22302 : ${CONFIG_STATUS=./config.status}
   22303 ac_clean_files_save=$ac_clean_files
   22304 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22305 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22306 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22307 cat >$CONFIG_STATUS <<_ACEOF
   22308 #! $SHELL
   22309 # Generated by $as_me.
   22310 # Run this file to recreate the current configuration.
   22311 # Compiler output produced by configure, useful for debugging
   22312 # configure, is in config.log if it exists.
   22313 
   22314 debug=false
   22315 ac_cs_recheck=false
   22316 ac_cs_silent=false
   22317 SHELL=\${CONFIG_SHELL-$SHELL}
   22318 _ACEOF
   22319 
   22320 cat >>$CONFIG_STATUS <<\_ACEOF
   22321 ## --------------------- ##
   22322 ## M4sh Initialization.  ##
   22323 ## --------------------- ##
   22324 
   22325 # Be more Bourne compatible
   22326 DUALCASE=1; export DUALCASE # for MKS sh
   22327 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22328   emulate sh
   22329   NULLCMD=:
   22330   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   22331   # is contrary to our usage.  Disable this feature.
   22332   alias -g '${1+"$@"}'='"$@"'
   22333   setopt NO_GLOB_SUBST
   22334 else
   22335   case `(set -o) 2>/dev/null` in
   22336   *posix*) set -o posix ;;
   22337 esac
   22338 
   22339 fi
   22340 
   22341 
   22342 
   22343 
   22344 # PATH needs CR
   22345 # Avoid depending upon Character Ranges.
   22346 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22347 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22348 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22349 as_cr_digits='0123456789'
   22350 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22351 
   22352 # The user is always right.
   22353 if test "${PATH_SEPARATOR+set}" != set; then
   22354   echo "#! /bin/sh" >conf$$.sh
   22355   echo  "exit 0"   >>conf$$.sh
   22356   chmod +x conf$$.sh
   22357   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   22358     PATH_SEPARATOR=';'
   22359   else
   22360     PATH_SEPARATOR=:
   22361   fi
   22362   rm -f conf$$.sh
   22363 fi
   22364 
   22365 # Support unset when possible.
   22366 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22367   as_unset=unset
   22368 else
   22369   as_unset=false
   22370 fi
   22371 
   22372 
   22373 # IFS
   22374 # We need space, tab and new line, in precisely that order.  Quoting is
   22375 # there to prevent editors from complaining about space-tab.
   22376 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22377 # splitting by setting IFS to empty value.)
   22378 as_nl='
   22379 '
   22380 IFS=" ""	$as_nl"
   22381 
   22382 # Find who we are.  Look in the path if we contain no directory separator.
   22383 case $0 in
   22384   *[\\/]* ) as_myself=$0 ;;
   22385   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22386 for as_dir in $PATH
   22387 do
   22388   IFS=$as_save_IFS
   22389   test -z "$as_dir" && as_dir=.
   22390   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22391 done
   22392 IFS=$as_save_IFS
   22393 
   22394      ;;
   22395 esac
   22396 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22397 # in which case we are not to be found in the path.
   22398 if test "x$as_myself" = x; then
   22399   as_myself=$0
   22400 fi
   22401 if test ! -f "$as_myself"; then
   22402   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22403   { (exit 1); exit 1; }
   22404 fi
   22405 
   22406 # Work around bugs in pre-3.0 UWIN ksh.
   22407 for as_var in ENV MAIL MAILPATH
   22408 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22409 done
   22410 PS1='$ '
   22411 PS2='> '
   22412 PS4='+ '
   22413 
   22414 # NLS nuisances.
   22415 for as_var in \
   22416   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   22417   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   22418   LC_TELEPHONE LC_TIME
   22419 do
   22420   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   22421     eval $as_var=C; export $as_var
   22422   else
   22423     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22424   fi
   22425 done
   22426 
   22427 # Required to use basename.
   22428 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22429    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22430   as_expr=expr
   22431 else
   22432   as_expr=false
   22433 fi
   22434 
   22435 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22436   as_basename=basename
   22437 else
   22438   as_basename=false
   22439 fi
   22440 
   22441 
   22442 # Name of the executable.
   22443 as_me=`$as_basename -- "$0" ||
   22444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22445 	 X"$0" : 'X\(//\)$' \| \
   22446 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22447 echo X/"$0" |
   22448     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22449 	    s//\1/
   22450 	    q
   22451 	  }
   22452 	  /^X\/\(\/\/\)$/{
   22453 	    s//\1/
   22454 	    q
   22455 	  }
   22456 	  /^X\/\(\/\).*/{
   22457 	    s//\1/
   22458 	    q
   22459 	  }
   22460 	  s/.*/./; q'`
   22461 
   22462 # CDPATH.
   22463 $as_unset CDPATH
   22464 
   22465 
   22466 
   22467   as_lineno_1=$LINENO
   22468   as_lineno_2=$LINENO
   22469   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22470   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22471 
   22472   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22473   # uniformly replaced by the line number.  The first 'sed' inserts a
   22474   # line-number line after each line using $LINENO; the second 'sed'
   22475   # does the real work.  The second script uses 'N' to pair each
   22476   # line-number line with the line containing $LINENO, and appends
   22477   # trailing '-' during substitution so that $LINENO is not a special
   22478   # case at line end.
   22479   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22480   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22481   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22482   sed -n '
   22483     p
   22484     /[$]LINENO/=
   22485   ' <$as_myself |
   22486     sed '
   22487       s/[$]LINENO.*/&-/
   22488       t lineno
   22489       b
   22490       :lineno
   22491       N
   22492       :loop
   22493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22494       t loop
   22495       s/-\n.*//
   22496     ' >$as_me.lineno &&
   22497   chmod +x "$as_me.lineno" ||
   22498     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22499    { (exit 1); exit 1; }; }
   22500 
   22501   # Don't try to exec as it changes $[0], causing all sort of problems
   22502   # (the dirname of $[0] is not the place where we might find the
   22503   # original and so on.  Autoconf is especially sensitive to this).
   22504   . "./$as_me.lineno"
   22505   # Exit status is that of the last command.
   22506   exit
   22507 }
   22508 
   22509 
   22510 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22511   as_dirname=dirname
   22512 else
   22513   as_dirname=false
   22514 fi
   22515 
   22516 ECHO_C= ECHO_N= ECHO_T=
   22517 case `echo -n x` in
   22518 -n*)
   22519   case `echo 'x\c'` in
   22520   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22521   *)   ECHO_C='\c';;
   22522   esac;;
   22523 *)
   22524   ECHO_N='-n';;
   22525 esac
   22526 
   22527 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22528    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22529   as_expr=expr
   22530 else
   22531   as_expr=false
   22532 fi
   22533 
   22534 rm -f conf$$ conf$$.exe conf$$.file
   22535 if test -d conf$$.dir; then
   22536   rm -f conf$$.dir/conf$$.file
   22537 else
   22538   rm -f conf$$.dir
   22539   mkdir conf$$.dir
   22540 fi
   22541 echo >conf$$.file
   22542 if ln -s conf$$.file conf$$ 2>/dev/null; then
   22543   as_ln_s='ln -s'
   22544   # ... but there are two gotchas:
   22545   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22546   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22547   # In both cases, we have to default to `cp -p'.
   22548   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22549     as_ln_s='cp -p'
   22550 elif ln conf$$.file conf$$ 2>/dev/null; then
   22551   as_ln_s=ln
   22552 else
   22553   as_ln_s='cp -p'
   22554 fi
   22555 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22556 rmdir conf$$.dir 2>/dev/null
   22557 
   22558 if mkdir -p . 2>/dev/null; then
   22559   as_mkdir_p=:
   22560 else
   22561   test -d ./-p && rmdir ./-p
   22562   as_mkdir_p=false
   22563 fi
   22564 
   22565 if test -x / >/dev/null 2>&1; then
   22566   as_test_x='test -x'
   22567 else
   22568   if ls -dL / >/dev/null 2>&1; then
   22569     as_ls_L_option=L
   22570   else
   22571     as_ls_L_option=
   22572   fi
   22573   as_test_x='
   22574     eval sh -c '\''
   22575       if test -d "$1"; then
   22576         test -d "$1/.";
   22577       else
   22578 	case $1 in
   22579         -*)set "./$1";;
   22580 	esac;
   22581 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22582 	???[sx]*):;;*)false;;esac;fi
   22583     '\'' sh
   22584   '
   22585 fi
   22586 as_executable_p=$as_test_x
   22587 
   22588 # Sed expression to map a string onto a valid CPP name.
   22589 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22590 
   22591 # Sed expression to map a string onto a valid variable name.
   22592 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22593 
   22594 
   22595 exec 6>&1
   22596 
   22597 # Save the log message, to keep $[0] and so on meaningful, and to
   22598 # report actual input values of CONFIG_FILES etc. instead of their
   22599 # values after options handling.
   22600 ac_log="
   22601 This file was extended by $as_me, which was
   22602 generated by GNU Autoconf 2.61.  Invocation command line was
   22603 
   22604   CONFIG_FILES    = $CONFIG_FILES
   22605   CONFIG_HEADERS  = $CONFIG_HEADERS
   22606   CONFIG_LINKS    = $CONFIG_LINKS
   22607   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22608   $ $0 $@
   22609 
   22610 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22611 "
   22612 
   22613 _ACEOF
   22614 
   22615 cat >>$CONFIG_STATUS <<_ACEOF
   22616 # Files that config.status was made for.
   22617 config_files="$ac_config_files"
   22618 config_headers="$ac_config_headers"
   22619 config_commands="$ac_config_commands"
   22620 
   22621 _ACEOF
   22622 
   22623 cat >>$CONFIG_STATUS <<\_ACEOF
   22624 ac_cs_usage="\
   22625 \`$as_me' instantiates files from templates according to the
   22626 current configuration.
   22627 
   22628 Usage: $0 [OPTIONS] [FILE]...
   22629 
   22630   -h, --help       print this help, then exit
   22631   -V, --version    print version number and configuration settings, then exit
   22632   -q, --quiet      do not print progress messages
   22633   -d, --debug      don't remove temporary files
   22634       --recheck    update $as_me by reconfiguring in the same conditions
   22635   --file=FILE[:TEMPLATE]
   22636 		   instantiate the configuration file FILE
   22637   --header=FILE[:TEMPLATE]
   22638 		   instantiate the configuration header FILE
   22639 
   22640 Configuration files:
   22641 $config_files
   22642 
   22643 Configuration headers:
   22644 $config_headers
   22645 
   22646 Configuration commands:
   22647 $config_commands
   22648 
   22649 Report bugs to <bug-autoconf (at] gnu.org>."
   22650 
   22651 _ACEOF
   22652 cat >>$CONFIG_STATUS <<_ACEOF
   22653 ac_cs_version="\\
   22654 config.status
   22655 configured by $0, generated by GNU Autoconf 2.61,
   22656   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22657 
   22658 Copyright (C) 2006 Free Software Foundation, Inc.
   22659 This config.status script is free software; the Free Software Foundation
   22660 gives unlimited permission to copy, distribute and modify it."
   22661 
   22662 ac_pwd='$ac_pwd'
   22663 srcdir='$srcdir'
   22664 INSTALL='$INSTALL'
   22665 MKDIR_P='$MKDIR_P'
   22666 _ACEOF
   22667 
   22668 cat >>$CONFIG_STATUS <<\_ACEOF
   22669 # If no file are specified by the user, then we need to provide default
   22670 # value.  By we need to know if files were specified by the user.
   22671 ac_need_defaults=:
   22672 while test $# != 0
   22673 do
   22674   case $1 in
   22675   --*=*)
   22676     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22677     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22678     ac_shift=:
   22679     ;;
   22680   *)
   22681     ac_option=$1
   22682     ac_optarg=$2
   22683     ac_shift=shift
   22684     ;;
   22685   esac
   22686 
   22687   case $ac_option in
   22688   # Handling of the options.
   22689   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22690     ac_cs_recheck=: ;;
   22691   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22692     echo "$ac_cs_version"; exit ;;
   22693   --debug | --debu | --deb | --de | --d | -d )
   22694     debug=: ;;
   22695   --file | --fil | --fi | --f )
   22696     $ac_shift
   22697     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   22698     ac_need_defaults=false;;
   22699   --header | --heade | --head | --hea )
   22700     $ac_shift
   22701     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   22702     ac_need_defaults=false;;
   22703   --he | --h)
   22704     # Conflict between --help and --header
   22705     { echo "$as_me: error: ambiguous option: $1
   22706 Try \`$0 --help' for more information." >&2
   22707    { (exit 1); exit 1; }; };;
   22708   --help | --hel | -h )
   22709     echo "$ac_cs_usage"; exit ;;
   22710   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22711   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22712     ac_cs_silent=: ;;
   22713 
   22714   # This is an error.
   22715   -*) { echo "$as_me: error: unrecognized option: $1
   22716 Try \`$0 --help' for more information." >&2
   22717    { (exit 1); exit 1; }; } ;;
   22718 
   22719   *) ac_config_targets="$ac_config_targets $1"
   22720      ac_need_defaults=false ;;
   22721 
   22722   esac
   22723   shift
   22724 done
   22725 
   22726 ac_configure_extra_args=
   22727 
   22728 if $ac_cs_silent; then
   22729   exec 6>/dev/null
   22730   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22731 fi
   22732 
   22733 _ACEOF
   22734 cat >>$CONFIG_STATUS <<_ACEOF
   22735 if \$ac_cs_recheck; then
   22736   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   22737   CONFIG_SHELL=$SHELL
   22738   export CONFIG_SHELL
   22739   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22740 fi
   22741 
   22742 _ACEOF
   22743 cat >>$CONFIG_STATUS <<\_ACEOF
   22744 exec 5>>config.log
   22745 {
   22746   echo
   22747   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22748 ## Running $as_me. ##
   22749 _ASBOX
   22750   echo "$ac_log"
   22751 } >&5
   22752 
   22753 _ACEOF
   22754 cat >>$CONFIG_STATUS <<_ACEOF
   22755 #
   22756 # INIT-COMMANDS
   22757 #
   22758 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22759 
   22760 _ACEOF
   22761 
   22762 cat >>$CONFIG_STATUS <<\_ACEOF
   22763 
   22764 # Handling of arguments.
   22765 for ac_config_target in $ac_config_targets
   22766 do
   22767   case $ac_config_target in
   22768     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22769     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22770     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22771 
   22772   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22773 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22774    { (exit 1); exit 1; }; };;
   22775   esac
   22776 done
   22777 
   22778 
   22779 # If the user did not use the arguments to specify the items to instantiate,
   22780 # then the envvar interface is used.  Set only those that are not.
   22781 # We use the long form for the default assignment because of an extremely
   22782 # bizarre bug on SunOS 4.1.3.
   22783 if $ac_need_defaults; then
   22784   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22785   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22786   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22787 fi
   22788 
   22789 # Have a temporary directory for convenience.  Make it in the build tree
   22790 # simply because there is no reason against having it here, and in addition,
   22791 # creating and moving files from /tmp can sometimes cause problems.
   22792 # Hook for its removal unless debugging.
   22793 # Note that there is a small window in which the directory will not be cleaned:
   22794 # after its creation but before its name has been assigned to `$tmp'.
   22795 $debug ||
   22796 {
   22797   tmp=
   22798   trap 'exit_status=$?
   22799   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22800 ' 0
   22801   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22802 }
   22803 # Create a (secure) tmp directory for tmp files.
   22804 
   22805 {
   22806   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22807   test -n "$tmp" && test -d "$tmp"
   22808 }  ||
   22809 {
   22810   tmp=./conf$$-$RANDOM
   22811   (umask 077 && mkdir "$tmp")
   22812 } ||
   22813 {
   22814    echo "$me: cannot create a temporary directory in ." >&2
   22815    { (exit 1); exit 1; }
   22816 }
   22817 
   22818 #
   22819 # Set up the sed scripts for CONFIG_FILES section.
   22820 #
   22821 
   22822 # No need to generate the scripts if there are no CONFIG_FILES.
   22823 # This happens for instance when ./config.status config.h
   22824 if test -n "$CONFIG_FILES"; then
   22825 
   22826 _ACEOF
   22827 
   22828 
   22829 
   22830 ac_delim='%!_!# '
   22831 for ac_last_try in false false false false false :; do
   22832   cat >conf$$subs.sed <<_ACEOF
   22833 SHELL!$SHELL$ac_delim
   22834 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   22835 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   22836 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   22837 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   22838 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   22839 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   22840 exec_prefix!$exec_prefix$ac_delim
   22841 prefix!$prefix$ac_delim
   22842 program_transform_name!$program_transform_name$ac_delim
   22843 bindir!$bindir$ac_delim
   22844 sbindir!$sbindir$ac_delim
   22845 libexecdir!$libexecdir$ac_delim
   22846 datarootdir!$datarootdir$ac_delim
   22847 datadir!$datadir$ac_delim
   22848 sysconfdir!$sysconfdir$ac_delim
   22849 sharedstatedir!$sharedstatedir$ac_delim
   22850 localstatedir!$localstatedir$ac_delim
   22851 includedir!$includedir$ac_delim
   22852 oldincludedir!$oldincludedir$ac_delim
   22853 docdir!$docdir$ac_delim
   22854 infodir!$infodir$ac_delim
   22855 htmldir!$htmldir$ac_delim
   22856 dvidir!$dvidir$ac_delim
   22857 pdfdir!$pdfdir$ac_delim
   22858 psdir!$psdir$ac_delim
   22859 libdir!$libdir$ac_delim
   22860 localedir!$localedir$ac_delim
   22861 mandir!$mandir$ac_delim
   22862 DEFS!$DEFS$ac_delim
   22863 ECHO_C!$ECHO_C$ac_delim
   22864 ECHO_N!$ECHO_N$ac_delim
   22865 ECHO_T!$ECHO_T$ac_delim
   22866 LIBS!$LIBS$ac_delim
   22867 build_alias!$build_alias$ac_delim
   22868 host_alias!$host_alias$ac_delim
   22869 target_alias!$target_alias$ac_delim
   22870 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   22871 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   22872 INSTALL_DATA!$INSTALL_DATA$ac_delim
   22873 am__isrc!$am__isrc$ac_delim
   22874 CYGPATH_W!$CYGPATH_W$ac_delim
   22875 PACKAGE!$PACKAGE$ac_delim
   22876 VERSION!$VERSION$ac_delim
   22877 ACLOCAL!$ACLOCAL$ac_delim
   22878 AUTOCONF!$AUTOCONF$ac_delim
   22879 AUTOMAKE!$AUTOMAKE$ac_delim
   22880 AUTOHEADER!$AUTOHEADER$ac_delim
   22881 MAKEINFO!$MAKEINFO$ac_delim
   22882 install_sh!$install_sh$ac_delim
   22883 STRIP!$STRIP$ac_delim
   22884 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   22885 mkdir_p!$mkdir_p$ac_delim
   22886 AWK!$AWK$ac_delim
   22887 SET_MAKE!$SET_MAKE$ac_delim
   22888 am__leading_dot!$am__leading_dot$ac_delim
   22889 AMTAR!$AMTAR$ac_delim
   22890 am__tar!$am__tar$ac_delim
   22891 am__untar!$am__untar$ac_delim
   22892 CC!$CC$ac_delim
   22893 CFLAGS!$CFLAGS$ac_delim
   22894 LDFLAGS!$LDFLAGS$ac_delim
   22895 CPPFLAGS!$CPPFLAGS$ac_delim
   22896 ac_ct_CC!$ac_ct_CC$ac_delim
   22897 EXEEXT!$EXEEXT$ac_delim
   22898 OBJEXT!$OBJEXT$ac_delim
   22899 DEPDIR!$DEPDIR$ac_delim
   22900 am__include!$am__include$ac_delim
   22901 am__quote!$am__quote$ac_delim
   22902 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   22903 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   22904 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   22905 CCDEPMODE!$CCDEPMODE$ac_delim
   22906 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   22907 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   22908 CXX!$CXX$ac_delim
   22909 CXXFLAGS!$CXXFLAGS$ac_delim
   22910 ac_ct_CXX!$ac_ct_CXX$ac_delim
   22911 CXXDEPMODE!$CXXDEPMODE$ac_delim
   22912 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   22913 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   22914 build!$build$ac_delim
   22915 build_cpu!$build_cpu$ac_delim
   22916 build_vendor!$build_vendor$ac_delim
   22917 build_os!$build_os$ac_delim
   22918 host!$host$ac_delim
   22919 host_cpu!$host_cpu$ac_delim
   22920 host_vendor!$host_vendor$ac_delim
   22921 host_os!$host_os$ac_delim
   22922 GREP!$GREP$ac_delim
   22923 EGREP!$EGREP$ac_delim
   22924 LN_S!$LN_S$ac_delim
   22925 ECHO!$ECHO$ac_delim
   22926 AR!$AR$ac_delim
   22927 RANLIB!$RANLIB$ac_delim
   22928 DLLTOOL!$DLLTOOL$ac_delim
   22929 AS!$AS$ac_delim
   22930 _ACEOF
   22931 
   22932   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   22933     break
   22934   elif $ac_last_try; then
   22935     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22936 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22937    { (exit 1); exit 1; }; }
   22938   else
   22939     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22940   fi
   22941 done
   22942 
   22943 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22944 if test -n "$ac_eof"; then
   22945   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22946   ac_eof=`expr $ac_eof + 1`
   22947 fi
   22948 
   22949 cat >>$CONFIG_STATUS <<_ACEOF
   22950 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   22951 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22952 _ACEOF
   22953 sed '
   22954 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22955 s/^/s,@/; s/!/@,|#_!!_#|/
   22956 :n
   22957 t n
   22958 s/'"$ac_delim"'$/,g/; t
   22959 s/$/\\/; p
   22960 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22961 ' >>$CONFIG_STATUS <conf$$subs.sed
   22962 rm -f conf$$subs.sed
   22963 cat >>$CONFIG_STATUS <<_ACEOF
   22964 CEOF$ac_eof
   22965 _ACEOF
   22966 
   22967 
   22968 ac_delim='%!_!# '
   22969 for ac_last_try in false false false false false :; do
   22970   cat >conf$$subs.sed <<_ACEOF
   22971 OBJDUMP!$OBJDUMP$ac_delim
   22972 CPP!$CPP$ac_delim
   22973 CXXCPP!$CXXCPP$ac_delim
   22974 F77!$F77$ac_delim
   22975 FFLAGS!$FFLAGS$ac_delim
   22976 ac_ct_F77!$ac_ct_F77$ac_delim
   22977 LIBTOOL!$LIBTOOL$ac_delim
   22978 LTNOUNDEF!$LTNOUNDEF$ac_delim
   22979 ALLOCA!$ALLOCA$ac_delim
   22980 ALLOCA_H!$ALLOCA_H$ac_delim
   22981 DVIPS!$DVIPS$ac_delim
   22982 TEXI2PDF!$TEXI2PDF$ac_delim
   22983 PERL!$PERL$ac_delim
   22984 LIBOBJS!$LIBOBJS$ac_delim
   22985 LTLIBOBJS!$LTLIBOBJS$ac_delim
   22986 _ACEOF
   22987 
   22988   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
   22989     break
   22990   elif $ac_last_try; then
   22991     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22992 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22993    { (exit 1); exit 1; }; }
   22994   else
   22995     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22996   fi
   22997 done
   22998 
   22999 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   23000 if test -n "$ac_eof"; then
   23001   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   23002   ac_eof=`expr $ac_eof + 1`
   23003 fi
   23004 
   23005 cat >>$CONFIG_STATUS <<_ACEOF
   23006 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   23007 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   23008 _ACEOF
   23009 sed '
   23010 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   23011 s/^/s,@/; s/!/@,|#_!!_#|/
   23012 :n
   23013 t n
   23014 s/'"$ac_delim"'$/,g/; t
   23015 s/$/\\/; p
   23016 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   23017 ' >>$CONFIG_STATUS <conf$$subs.sed
   23018 rm -f conf$$subs.sed
   23019 cat >>$CONFIG_STATUS <<_ACEOF
   23020 :end
   23021 s/|#_!!_#|//g
   23022 CEOF$ac_eof
   23023 _ACEOF
   23024 
   23025 
   23026 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23027 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23028 # trailing colons and then remove the whole line if VPATH becomes empty
   23029 # (actually we leave an empty line to preserve line numbers).
   23030 if test "x$srcdir" = x.; then
   23031   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23032 s/:*\$(srcdir):*/:/
   23033 s/:*\${srcdir}:*/:/
   23034 s/:*@srcdir@:*/:/
   23035 s/^\([^=]*=[	 ]*\):*/\1/
   23036 s/:*$//
   23037 s/^[^=]*=[	 ]*$//
   23038 }'
   23039 fi
   23040 
   23041 cat >>$CONFIG_STATUS <<\_ACEOF
   23042 fi # test -n "$CONFIG_FILES"
   23043 
   23044 
   23045 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   23046 do
   23047   case $ac_tag in
   23048   :[FHLC]) ac_mode=$ac_tag; continue;;
   23049   esac
   23050   case $ac_mode$ac_tag in
   23051   :[FHL]*:*);;
   23052   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   23053 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   23054    { (exit 1); exit 1; }; };;
   23055   :[FH]-) ac_tag=-:-;;
   23056   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23057   esac
   23058   ac_save_IFS=$IFS
   23059   IFS=:
   23060   set x $ac_tag
   23061   IFS=$ac_save_IFS
   23062   shift
   23063   ac_file=$1
   23064   shift
   23065 
   23066   case $ac_mode in
   23067   :L) ac_source=$1;;
   23068   :[FH])
   23069     ac_file_inputs=
   23070     for ac_f
   23071     do
   23072       case $ac_f in
   23073       -) ac_f="$tmp/stdin";;
   23074       *) # Look for the file first in the build tree, then in the source tree
   23075 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23076 	 # because $ac_f cannot contain `:'.
   23077 	 test -f "$ac_f" ||
   23078 	   case $ac_f in
   23079 	   [\\/$]*) false;;
   23080 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23081 	   esac ||
   23082 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23083 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23084    { (exit 1); exit 1; }; };;
   23085       esac
   23086       ac_file_inputs="$ac_file_inputs $ac_f"
   23087     done
   23088 
   23089     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23090     # use $as_me), people would be surprised to read:
   23091     #    /* config.h.  Generated by config.status.  */
   23092     configure_input="Generated from "`IFS=:
   23093 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   23094     if test x"$ac_file" != x-; then
   23095       configure_input="$ac_file.  $configure_input"
   23096       { echo "$as_me:$LINENO: creating $ac_file" >&5
   23097 echo "$as_me: creating $ac_file" >&6;}
   23098     fi
   23099 
   23100     case $ac_tag in
   23101     *:-:* | *:-) cat >"$tmp/stdin";;
   23102     esac
   23103     ;;
   23104   esac
   23105 
   23106   ac_dir=`$as_dirname -- "$ac_file" ||
   23107 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23108 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23109 	 X"$ac_file" : 'X\(//\)$' \| \
   23110 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23111 echo X"$ac_file" |
   23112     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23113 	    s//\1/
   23114 	    q
   23115 	  }
   23116 	  /^X\(\/\/\)[^/].*/{
   23117 	    s//\1/
   23118 	    q
   23119 	  }
   23120 	  /^X\(\/\/\)$/{
   23121 	    s//\1/
   23122 	    q
   23123 	  }
   23124 	  /^X\(\/\).*/{
   23125 	    s//\1/
   23126 	    q
   23127 	  }
   23128 	  s/.*/./; q'`
   23129   { as_dir="$ac_dir"
   23130   case $as_dir in #(
   23131   -*) as_dir=./$as_dir;;
   23132   esac
   23133   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23134     as_dirs=
   23135     while :; do
   23136       case $as_dir in #(
   23137       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   23138       *) as_qdir=$as_dir;;
   23139       esac
   23140       as_dirs="'$as_qdir' $as_dirs"
   23141       as_dir=`$as_dirname -- "$as_dir" ||
   23142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23143 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23144 	 X"$as_dir" : 'X\(//\)$' \| \
   23145 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23146 echo X"$as_dir" |
   23147     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23148 	    s//\1/
   23149 	    q
   23150 	  }
   23151 	  /^X\(\/\/\)[^/].*/{
   23152 	    s//\1/
   23153 	    q
   23154 	  }
   23155 	  /^X\(\/\/\)$/{
   23156 	    s//\1/
   23157 	    q
   23158 	  }
   23159 	  /^X\(\/\).*/{
   23160 	    s//\1/
   23161 	    q
   23162 	  }
   23163 	  s/.*/./; q'`
   23164       test -d "$as_dir" && break
   23165     done
   23166     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23167   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23168 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23169    { (exit 1); exit 1; }; }; }
   23170   ac_builddir=.
   23171 
   23172 case "$ac_dir" in
   23173 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23174 *)
   23175   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   23176   # A ".." for each directory in $ac_dir_suffix.
   23177   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   23178   case $ac_top_builddir_sub in
   23179   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23180   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23181   esac ;;
   23182 esac
   23183 ac_abs_top_builddir=$ac_pwd
   23184 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23185 # for backward compatibility:
   23186 ac_top_builddir=$ac_top_build_prefix
   23187 
   23188 case $srcdir in
   23189   .)  # We are building in place.
   23190     ac_srcdir=.
   23191     ac_top_srcdir=$ac_top_builddir_sub
   23192     ac_abs_top_srcdir=$ac_pwd ;;
   23193   [\\/]* | ?:[\\/]* )  # Absolute name.
   23194     ac_srcdir=$srcdir$ac_dir_suffix;
   23195     ac_top_srcdir=$srcdir
   23196     ac_abs_top_srcdir=$srcdir ;;
   23197   *) # Relative name.
   23198     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23199     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23200     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23201 esac
   23202 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23203 
   23204 
   23205   case $ac_mode in
   23206   :F)
   23207   #
   23208   # CONFIG_FILE
   23209   #
   23210 
   23211   case $INSTALL in
   23212   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23213   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23214   esac
   23215   ac_MKDIR_P=$MKDIR_P
   23216   case $MKDIR_P in
   23217   [\\/$]* | ?:[\\/]* ) ;;
   23218   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23219   esac
   23220 _ACEOF
   23221 
   23222 cat >>$CONFIG_STATUS <<\_ACEOF
   23223 # If the template does not know about datarootdir, expand it.
   23224 # FIXME: This hack should be removed a few years after 2.60.
   23225 ac_datarootdir_hack=; ac_datarootdir_seen=
   23226 
   23227 case `sed -n '/datarootdir/ {
   23228   p
   23229   q
   23230 }
   23231 /@datadir@/p
   23232 /@docdir@/p
   23233 /@infodir@/p
   23234 /@localedir@/p
   23235 /@mandir@/p
   23236 ' $ac_file_inputs` in
   23237 *datarootdir*) ac_datarootdir_seen=yes;;
   23238 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23239   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23240 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23241 _ACEOF
   23242 cat >>$CONFIG_STATUS <<_ACEOF
   23243   ac_datarootdir_hack='
   23244   s&@datadir@&$datadir&g
   23245   s&@docdir@&$docdir&g
   23246   s&@infodir@&$infodir&g
   23247   s&@localedir@&$localedir&g
   23248   s&@mandir@&$mandir&g
   23249     s&\\\${datarootdir}&$datarootdir&g' ;;
   23250 esac
   23251 _ACEOF
   23252 
   23253 # Neutralize VPATH when `$srcdir' = `.'.
   23254 # Shell code in configure.ac might set extrasub.
   23255 # FIXME: do we really want to maintain this feature?
   23256 cat >>$CONFIG_STATUS <<_ACEOF
   23257   sed "$ac_vpsub
   23258 $extrasub
   23259 _ACEOF
   23260 cat >>$CONFIG_STATUS <<\_ACEOF
   23261 :t
   23262 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23263 s&@configure_input@&$configure_input&;t t
   23264 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23265 s&@srcdir@&$ac_srcdir&;t t
   23266 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23267 s&@top_srcdir@&$ac_top_srcdir&;t t
   23268 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23269 s&@builddir@&$ac_builddir&;t t
   23270 s&@abs_builddir@&$ac_abs_builddir&;t t
   23271 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23272 s&@INSTALL@&$ac_INSTALL&;t t
   23273 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23274 $ac_datarootdir_hack
   23275 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   23276 
   23277 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23278   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23279   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23280   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23281 which seems to be undefined.  Please make sure it is defined." >&5
   23282 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23283 which seems to be undefined.  Please make sure it is defined." >&2;}
   23284 
   23285   rm -f "$tmp/stdin"
   23286   case $ac_file in
   23287   -) cat "$tmp/out"; rm -f "$tmp/out";;
   23288   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   23289   esac
   23290  ;;
   23291   :H)
   23292   #
   23293   # CONFIG_HEADER
   23294   #
   23295 _ACEOF
   23296 
   23297 # Transform confdefs.h into a sed script `conftest.defines', that
   23298 # substitutes the proper values into config.h.in to produce config.h.
   23299 rm -f conftest.defines conftest.tail
   23300 # First, append a space to every undef/define line, to ease matching.
   23301 echo 's/$/ /' >conftest.defines
   23302 # Then, protect against being on the right side of a sed subst, or in
   23303 # an unquoted here document, in config.status.  If some macros were
   23304 # called several times there might be several #defines for the same
   23305 # symbol, which is useless.  But do not sort them, since the last
   23306 # AC_DEFINE must be honored.
   23307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23308 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   23309 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   23310 # PARAMS is the parameter list in the macro definition--in most cases, it's
   23311 # just an empty string.
   23312 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   23313 ac_dB='\\)[	 (].*,\\1define\\2'
   23314 ac_dC=' '
   23315 ac_dD=' ,'
   23316 
   23317 uniq confdefs.h |
   23318   sed -n '
   23319 	t rset
   23320 	:rset
   23321 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   23322 	t ok
   23323 	d
   23324 	:ok
   23325 	s/[\\&,]/\\&/g
   23326 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   23327 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   23328   ' >>conftest.defines
   23329 
   23330 # Remove the space that was appended to ease matching.
   23331 # Then replace #undef with comments.  This is necessary, for
   23332 # example, in the case of _POSIX_SOURCE, which is predefined and required
   23333 # on some systems where configure will not decide to define it.
   23334 # (The regexp can be short, since the line contains either #define or #undef.)
   23335 echo 's/ $//
   23336 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   23337 
   23338 # Break up conftest.defines:
   23339 ac_max_sed_lines=50
   23340 
   23341 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   23342 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   23343 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   23344 # et cetera.
   23345 ac_in='$ac_file_inputs'
   23346 ac_out='"$tmp/out1"'
   23347 ac_nxt='"$tmp/out2"'
   23348 
   23349 while :
   23350 do
   23351   # Write a here document:
   23352     cat >>$CONFIG_STATUS <<_ACEOF
   23353     # First, check the format of the line:
   23354     cat >"\$tmp/defines.sed" <<\\CEOF
   23355 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   23356 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   23357 b
   23358 :def
   23359 _ACEOF
   23360   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   23361   echo 'CEOF
   23362     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   23363   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   23364   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   23365   grep . conftest.tail >/dev/null || break
   23366   rm -f conftest.defines
   23367   mv conftest.tail conftest.defines
   23368 done
   23369 rm -f conftest.defines conftest.tail
   23370 
   23371 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   23372 cat >>$CONFIG_STATUS <<\_ACEOF
   23373   if test x"$ac_file" != x-; then
   23374     echo "/* $configure_input  */" >"$tmp/config.h"
   23375     cat "$ac_result" >>"$tmp/config.h"
   23376     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   23377       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23378 echo "$as_me: $ac_file is unchanged" >&6;}
   23379     else
   23380       rm -f $ac_file
   23381       mv "$tmp/config.h" $ac_file
   23382     fi
   23383   else
   23384     echo "/* $configure_input  */"
   23385     cat "$ac_result"
   23386   fi
   23387   rm -f "$tmp/out12"
   23388 # Compute $ac_file's index in $config_headers.
   23389 _am_stamp_count=1
   23390 for _am_header in $config_headers :; do
   23391   case $_am_header in
   23392     $ac_file | $ac_file:* )
   23393       break ;;
   23394     * )
   23395       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23396   esac
   23397 done
   23398 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   23399 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23400 	 X$ac_file : 'X\(//\)[^/]' \| \
   23401 	 X$ac_file : 'X\(//\)$' \| \
   23402 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   23403 echo X$ac_file |
   23404     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23405 	    s//\1/
   23406 	    q
   23407 	  }
   23408 	  /^X\(\/\/\)[^/].*/{
   23409 	    s//\1/
   23410 	    q
   23411 	  }
   23412 	  /^X\(\/\/\)$/{
   23413 	    s//\1/
   23414 	    q
   23415 	  }
   23416 	  /^X\(\/\).*/{
   23417 	    s//\1/
   23418 	    q
   23419 	  }
   23420 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23421  ;;
   23422 
   23423   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23424 echo "$as_me: executing $ac_file commands" >&6;}
   23425  ;;
   23426   esac
   23427 
   23428 
   23429   case $ac_file$ac_mode in
   23430     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23431   # Strip MF so we end up with the name of the file.
   23432   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23433   # Check whether this is an Automake generated Makefile or not.
   23434   # We used to match only the files named `Makefile.in', but
   23435   # some people rename them; so instead we look at the file content.
   23436   # Grep'ing the first line is not enough: some people post-process
   23437   # each Makefile.in and add a new line on top of each file to say so.
   23438   # Grep'ing the whole file is not good either: AIX grep has a line
   23439   # limit of 2048, but all sed's we know have understand at least 4000.
   23440   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   23441     dirpart=`$as_dirname -- "$mf" ||
   23442 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23443 	 X"$mf" : 'X\(//\)[^/]' \| \
   23444 	 X"$mf" : 'X\(//\)$' \| \
   23445 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23446 echo X"$mf" |
   23447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23448 	    s//\1/
   23449 	    q
   23450 	  }
   23451 	  /^X\(\/\/\)[^/].*/{
   23452 	    s//\1/
   23453 	    q
   23454 	  }
   23455 	  /^X\(\/\/\)$/{
   23456 	    s//\1/
   23457 	    q
   23458 	  }
   23459 	  /^X\(\/\).*/{
   23460 	    s//\1/
   23461 	    q
   23462 	  }
   23463 	  s/.*/./; q'`
   23464   else
   23465     continue
   23466   fi
   23467   # Extract the definition of DEPDIR, am__include, and am__quote
   23468   # from the Makefile without running `make'.
   23469   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23470   test -z "$DEPDIR" && continue
   23471   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23472   test -z "am__include" && continue
   23473   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23474   # When using ansi2knr, U may be empty or an underscore; expand it
   23475   U=`sed -n 's/^U = //p' < "$mf"`
   23476   # Find all dependency output files, they are included files with
   23477   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23478   # simplest approach to changing $(DEPDIR) to its actual value in the
   23479   # expansion.
   23480   for file in `sed -n "
   23481     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23482        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23483     # Make sure the directory exists.
   23484     test -f "$dirpart/$file" && continue
   23485     fdir=`$as_dirname -- "$file" ||
   23486 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23487 	 X"$file" : 'X\(//\)[^/]' \| \
   23488 	 X"$file" : 'X\(//\)$' \| \
   23489 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23490 echo X"$file" |
   23491     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23492 	    s//\1/
   23493 	    q
   23494 	  }
   23495 	  /^X\(\/\/\)[^/].*/{
   23496 	    s//\1/
   23497 	    q
   23498 	  }
   23499 	  /^X\(\/\/\)$/{
   23500 	    s//\1/
   23501 	    q
   23502 	  }
   23503 	  /^X\(\/\).*/{
   23504 	    s//\1/
   23505 	    q
   23506 	  }
   23507 	  s/.*/./; q'`
   23508     { as_dir=$dirpart/$fdir
   23509   case $as_dir in #(
   23510   -*) as_dir=./$as_dir;;
   23511   esac
   23512   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23513     as_dirs=
   23514     while :; do
   23515       case $as_dir in #(
   23516       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   23517       *) as_qdir=$as_dir;;
   23518       esac
   23519       as_dirs="'$as_qdir' $as_dirs"
   23520       as_dir=`$as_dirname -- "$as_dir" ||
   23521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23522 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23523 	 X"$as_dir" : 'X\(//\)$' \| \
   23524 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23525 echo X"$as_dir" |
   23526     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23527 	    s//\1/
   23528 	    q
   23529 	  }
   23530 	  /^X\(\/\/\)[^/].*/{
   23531 	    s//\1/
   23532 	    q
   23533 	  }
   23534 	  /^X\(\/\/\)$/{
   23535 	    s//\1/
   23536 	    q
   23537 	  }
   23538 	  /^X\(\/\).*/{
   23539 	    s//\1/
   23540 	    q
   23541 	  }
   23542 	  s/.*/./; q'`
   23543       test -d "$as_dir" && break
   23544     done
   23545     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23546   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23547 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23548    { (exit 1); exit 1; }; }; }
   23549     # echo "creating $dirpart/$file"
   23550     echo '# dummy' > "$dirpart/$file"
   23551   done
   23552 done
   23553  ;;
   23554     "Makefile":F)
   23555   sed -e "s,\`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," -e "s,\`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," < $ac_file > $ac_file.tmp
   23556   mv $ac_file.tmp $ac_file
   23557 
   23558 
   23559   sed -e '/@rm -f \$''@/d' < $ac_file > $ac_file.tmp
   23560   mv $ac_file.tmp $ac_file
   23561  ;;
   23562 
   23563   esac
   23564 done # for ac_tag
   23565 
   23566 
   23567 { (exit 0); exit 0; }
   23568 _ACEOF
   23569 chmod +x $CONFIG_STATUS
   23570 ac_clean_files=$ac_clean_files_save
   23571 
   23572 
   23573 # configure is writing to config.log, and then calls config.status.
   23574 # config.status does its own redirection, appending to config.log.
   23575 # Unfortunately, on DOS this fails, as config.log is still kept open
   23576 # by configure, so config.status won't be able to write to it; its
   23577 # output is simply discarded.  So we exec the FD to /dev/null,
   23578 # effectively closing config.log, so it can be properly (re)opened and
   23579 # appended to by config.status.  When coming back to configure, we
   23580 # need to make the FD available again.
   23581 if test "$no_create" != yes; then
   23582   ac_cs_success=:
   23583   ac_config_status_args=
   23584   test "$silent" = yes &&
   23585     ac_config_status_args="$ac_config_status_args --quiet"
   23586   exec 5>/dev/null
   23587   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23588   exec 5>>config.log
   23589   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23590   # would make configure fail if this is the last instruction.
   23591   $ac_cs_success || { (exit 1); exit 1; }
   23592 fi
   23593 
   23594