Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for libFS 1.0.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 # The user is always right.
     43 if test "${PATH_SEPARATOR+set}" != set; then
     44   echo "#! /bin/sh" >conf$$.sh
     45   echo  "exit 0"   >>conf$$.sh
     46   chmod +x conf$$.sh
     47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48     PATH_SEPARATOR=';'
     49   else
     50     PATH_SEPARATOR=:
     51   fi
     52   rm -f conf$$.sh
     53 fi
     54 
     55 # Support unset when possible.
     56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57   as_unset=unset
     58 else
     59   as_unset=false
     60 fi
     61 
     62 
     63 # IFS
     64 # We need space, tab and new line, in precisely that order.  Quoting is
     65 # there to prevent editors from complaining about space-tab.
     66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67 # splitting by setting IFS to empty value.)
     68 as_nl='
     69 '
     70 IFS=" ""	$as_nl"
     71 
     72 # Find who we are.  Look in the path if we contain no directory separator.
     73 case $0 in
     74   *[\\/]* ) as_myself=$0 ;;
     75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76 for as_dir in $PATH
     77 do
     78   IFS=$as_save_IFS
     79   test -z "$as_dir" && as_dir=.
     80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81 done
     82 IFS=$as_save_IFS
     83 
     84      ;;
     85 esac
     86 # We did not find ourselves, most probably we were run as `sh COMMAND'
     87 # in which case we are not to be found in the path.
     88 if test "x$as_myself" = x; then
     89   as_myself=$0
     90 fi
     91 if test ! -f "$as_myself"; then
     92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93   { (exit 1); exit 1; }
     94 fi
     95 
     96 # Work around bugs in pre-3.0 UWIN ksh.
     97 for as_var in ENV MAIL MAILPATH
     98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    114   fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135 	 X"$0" : 'X\(//\)$' \| \
    136 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\/\)$/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  /^X\/\(\/\).*/{
    147 	    s//\1/
    148 	    q
    149 	  }
    150 	  s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes && 	 (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229 	 /*)
    230 	   for as_base in sh bash ksh sh5; do
    231 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232 	   done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239 	 # Try only shells that exist, to save several forks.
    240 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261 	       as_have_required=yes
    262 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
    444     sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449       N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    452       t loop
    453       s/-\n.*//
    454     ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
    458 
    459   # Don't try to exec as it changes $[0], causing all sort of problems
    460   # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
    463   # Exit status is that of the last command.
    464   exit
    465 }
    466 
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492 rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    507     as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
    510 else
    511   as_ln_s='cp -p'
    512 fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
    515 
    516 if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
    518 else
    519   test -d ./-p && rmdir ./-p
    520   as_mkdir_p=false
    521 fi
    522 
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536 	case $1 in
    537         -*)set "./$1";;
    538 	esac;
    539 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540 	???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
    545 
    546 # Sed expression to map a string onto a valid CPP name.
    547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    548 
    549 # Sed expression to map a string onto a valid variable name.
    550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552 
    553 
    554 
    555 # Check that we are running under the correct shell.
    556 SHELL=${CONFIG_SHELL-/bin/sh}
    557 
    558 case X$ECHO in
    559 X*--fallback-echo)
    560   # Remove one level of quotation (which was required for Make).
    561   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    562   ;;
    563 esac
    564 
    565 echo=${ECHO-echo}
    566 if test "X$1" = X--no-reexec; then
    567   # Discard the --no-reexec flag, and continue.
    568   shift
    569 elif test "X$1" = X--fallback-echo; then
    570   # Avoid inline document here, it may be left over
    571   :
    572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    573   # Yippee, $echo works!
    574   :
    575 else
    576   # Restart under the correct shell.
    577   exec $SHELL "$0" --no-reexec ${1+"$@"}
    578 fi
    579 
    580 if test "X$1" = X--fallback-echo; then
    581   # used as fallback echo
    582   shift
    583   cat <<EOF
    584 $*
    585 EOF
    586   exit 0
    587 fi
    588 
    589 # The HP-UX ksh and POSIX shell print the target directory to stdout
    590 # if CDPATH is set.
    591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    592 
    593 if test -z "$ECHO"; then
    594 if test "X${echo_test_string+set}" != Xset; then
    595 # find a string as large as possible, as long as the shell can cope with it
    596   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    597     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    598     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    599        echo_test_string=`eval $cmd` &&
    600        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    601     then
    602       break
    603     fi
    604   done
    605 fi
    606 
    607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    608    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    609    test "X$echo_testing_string" = "X$echo_test_string"; then
    610   :
    611 else
    612   # The Solaris, AIX, and Digital Unix default echo programs unquote
    613   # backslashes.  This makes it impossible to quote backslashes using
    614   #   echo "$something" | sed 's/\\/\\\\/g'
    615   #
    616   # So, first we look for a working echo in the user's PATH.
    617 
    618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    619   for dir in $PATH /usr/ucb; do
    620     IFS="$lt_save_ifs"
    621     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    622        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    623        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    624        test "X$echo_testing_string" = "X$echo_test_string"; then
    625       echo="$dir/echo"
    626       break
    627     fi
    628   done
    629   IFS="$lt_save_ifs"
    630 
    631   if test "X$echo" = Xecho; then
    632     # We didn't find a better echo, so look for alternatives.
    633     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    634        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    635        test "X$echo_testing_string" = "X$echo_test_string"; then
    636       # This shell has a builtin print -r that does the trick.
    637       echo='print -r'
    638     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    639 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    640       # If we have ksh, try running configure again with it.
    641       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    642       export ORIGINAL_CONFIG_SHELL
    643       CONFIG_SHELL=/bin/ksh
    644       export CONFIG_SHELL
    645       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    646     else
    647       # Try using printf.
    648       echo='printf %s\n'
    649       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    650 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    651 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	# Cool, printf works
    653 	:
    654       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    655 	   test "X$echo_testing_string" = 'X\t' &&
    656 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    657 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    658 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    659 	export CONFIG_SHELL
    660 	SHELL="$CONFIG_SHELL"
    661 	export SHELL
    662 	echo="$CONFIG_SHELL $0 --fallback-echo"
    663       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    664 	   test "X$echo_testing_string" = 'X\t' &&
    665 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    666 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    667 	echo="$CONFIG_SHELL $0 --fallback-echo"
    668       else
    669 	# maybe with a smaller string...
    670 	prev=:
    671 
    672 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    673 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    674 	  then
    675 	    break
    676 	  fi
    677 	  prev="$cmd"
    678 	done
    679 
    680 	if test "$prev" != 'sed 50q "$0"'; then
    681 	  echo_test_string=`eval $prev`
    682 	  export echo_test_string
    683 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    684 	else
    685 	  # Oops.  We lost completely, so just stick with echo.
    686 	  echo=echo
    687 	fi
    688       fi
    689     fi
    690   fi
    691 fi
    692 fi
    693 
    694 # Copy echo and quote the copy suitably for passing to libtool from
    695 # the Makefile, instead of quoting the original, which is used later.
    696 ECHO=$echo
    697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    698    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    699 fi
    700 
    701 
    702 
    703 
    704 tagnames=${tagnames+${tagnames},}CXX
    705 
    706 tagnames=${tagnames+${tagnames},}F77
    707 
    708 exec 7<&0 </dev/null 6>&1
    709 
    710 # Name of the host.
    711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    712 # so uname gets run too.
    713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    714 
    715 #
    716 # Initializations.
    717 #
    718 ac_default_prefix=/usr/local
    719 ac_clean_files=
    720 ac_config_libobj_dir=.
    721 LIBOBJS=
    722 cross_compiling=no
    723 subdirs=
    724 MFLAGS=
    725 MAKEFLAGS=
    726 SHELL=${CONFIG_SHELL-/bin/sh}
    727 
    728 # Identity of this package.
    729 PACKAGE_NAME='libFS'
    730 PACKAGE_TARNAME='libFS'
    731 PACKAGE_VERSION='1.0.1'
    732 PACKAGE_STRING='libFS 1.0.1'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 # Factoring default headers for most tests.
    736 ac_includes_default="\
    737 #include <stdio.h>
    738 #ifdef HAVE_SYS_TYPES_H
    739 # include <sys/types.h>
    740 #endif
    741 #ifdef HAVE_SYS_STAT_H
    742 # include <sys/stat.h>
    743 #endif
    744 #ifdef STDC_HEADERS
    745 # include <stdlib.h>
    746 # include <stddef.h>
    747 #else
    748 # ifdef HAVE_STDLIB_H
    749 #  include <stdlib.h>
    750 # endif
    751 #endif
    752 #ifdef HAVE_STRING_H
    753 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    754 #  include <memory.h>
    755 # endif
    756 # include <string.h>
    757 #endif
    758 #ifdef HAVE_STRINGS_H
    759 # include <strings.h>
    760 #endif
    761 #ifdef HAVE_INTTYPES_H
    762 # include <inttypes.h>
    763 #endif
    764 #ifdef HAVE_STDINT_H
    765 # include <stdint.h>
    766 #endif
    767 #ifdef HAVE_UNISTD_H
    768 # include <unistd.h>
    769 #endif"
    770 
    771 ac_subst_vars='SHELL
    772 PATH_SEPARATOR
    773 PACKAGE_NAME
    774 PACKAGE_TARNAME
    775 PACKAGE_VERSION
    776 PACKAGE_STRING
    777 PACKAGE_BUGREPORT
    778 exec_prefix
    779 prefix
    780 program_transform_name
    781 bindir
    782 sbindir
    783 libexecdir
    784 datarootdir
    785 datadir
    786 sysconfdir
    787 sharedstatedir
    788 localstatedir
    789 includedir
    790 oldincludedir
    791 docdir
    792 infodir
    793 htmldir
    794 dvidir
    795 pdfdir
    796 psdir
    797 libdir
    798 localedir
    799 mandir
    800 DEFS
    801 ECHO_C
    802 ECHO_N
    803 ECHO_T
    804 LIBS
    805 build_alias
    806 host_alias
    807 target_alias
    808 INSTALL_PROGRAM
    809 INSTALL_SCRIPT
    810 INSTALL_DATA
    811 am__isrc
    812 CYGPATH_W
    813 PACKAGE
    814 VERSION
    815 ACLOCAL
    816 AUTOCONF
    817 AUTOMAKE
    818 AUTOHEADER
    819 MAKEINFO
    820 install_sh
    821 STRIP
    822 INSTALL_STRIP_PROGRAM
    823 mkdir_p
    824 AWK
    825 SET_MAKE
    826 am__leading_dot
    827 AMTAR
    828 am__tar
    829 am__untar
    830 MAINTAINER_MODE_TRUE
    831 MAINTAINER_MODE_FALSE
    832 MAINT
    833 CC
    834 CFLAGS
    835 LDFLAGS
    836 CPPFLAGS
    837 ac_ct_CC
    838 EXEEXT
    839 OBJEXT
    840 DEPDIR
    841 am__include
    842 am__quote
    843 AMDEP_TRUE
    844 AMDEP_FALSE
    845 AMDEPBACKSLASH
    846 CCDEPMODE
    847 am__fastdepCC_TRUE
    848 am__fastdepCC_FALSE
    849 build
    850 build_cpu
    851 build_vendor
    852 build_os
    853 host
    854 host_cpu
    855 host_vendor
    856 host_os
    857 GREP
    858 EGREP
    859 LN_S
    860 ECHO
    861 AR
    862 RANLIB
    863 CPP
    864 CXX
    865 CXXFLAGS
    866 ac_ct_CXX
    867 CXXDEPMODE
    868 am__fastdepCXX_TRUE
    869 am__fastdepCXX_FALSE
    870 CXXCPP
    871 F77
    872 FFLAGS
    873 ac_ct_F77
    874 LIBTOOL
    875 PKG_CONFIG
    876 FS_CFLAGS
    877 FS_LIBS
    878 XTRANS_CFLAGS
    879 XTRANS_LIBS
    880 MALLOC_ZERO_CFLAGS
    881 XMALLOC_ZERO_CFLAGS
    882 XTMALLOC_ZERO_CFLAGS
    883 LINT
    884 LINT_FLAGS
    885 LINT_TRUE
    886 LINT_FALSE
    887 LINTLIB
    888 MAKE_LINT_LIB_TRUE
    889 MAKE_LINT_LIB_FALSE
    890 LIBOBJS
    891 LTLIBOBJS'
    892 ac_subst_files=''
    893       ac_precious_vars='build_alias
    894 host_alias
    895 target_alias
    896 CC
    897 CFLAGS
    898 LDFLAGS
    899 LIBS
    900 CPPFLAGS
    901 CPP
    902 CXX
    903 CXXFLAGS
    904 CCC
    905 CXXCPP
    906 F77
    907 FFLAGS
    908 PKG_CONFIG
    909 FS_CFLAGS
    910 FS_LIBS
    911 XTRANS_CFLAGS
    912 XTRANS_LIBS'
    913 
    914 
    915 # Initialize some variables set by options.
    916 ac_init_help=
    917 ac_init_version=false
    918 # The variables have the same names as the options, with
    919 # dashes changed to underlines.
    920 cache_file=/dev/null
    921 exec_prefix=NONE
    922 no_create=
    923 no_recursion=
    924 prefix=NONE
    925 program_prefix=NONE
    926 program_suffix=NONE
    927 program_transform_name=s,x,x,
    928 silent=
    929 site=
    930 srcdir=
    931 verbose=
    932 x_includes=NONE
    933 x_libraries=NONE
    934 
    935 # Installation directory options.
    936 # These are left unexpanded so users can "make install exec_prefix=/foo"
    937 # and all the variables that are supposed to be based on exec_prefix
    938 # by default will actually change.
    939 # Use braces instead of parens because sh, perl, etc. also accept them.
    940 # (The list follows the same order as the GNU Coding Standards.)
    941 bindir='${exec_prefix}/bin'
    942 sbindir='${exec_prefix}/sbin'
    943 libexecdir='${exec_prefix}/libexec'
    944 datarootdir='${prefix}/share'
    945 datadir='${datarootdir}'
    946 sysconfdir='${prefix}/etc'
    947 sharedstatedir='${prefix}/com'
    948 localstatedir='${prefix}/var'
    949 includedir='${prefix}/include'
    950 oldincludedir='/usr/include'
    951 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    952 infodir='${datarootdir}/info'
    953 htmldir='${docdir}'
    954 dvidir='${docdir}'
    955 pdfdir='${docdir}'
    956 psdir='${docdir}'
    957 libdir='${exec_prefix}/lib'
    958 localedir='${datarootdir}/locale'
    959 mandir='${datarootdir}/man'
    960 
    961 ac_prev=
    962 ac_dashdash=
    963 for ac_option
    964 do
    965   # If the previous option needs an argument, assign it.
    966   if test -n "$ac_prev"; then
    967     eval $ac_prev=\$ac_option
    968     ac_prev=
    969     continue
    970   fi
    971 
    972   case $ac_option in
    973   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    974   *)	ac_optarg=yes ;;
    975   esac
    976 
    977   # Accept the important Cygnus configure options, so we can diagnose typos.
    978 
    979   case $ac_dashdash$ac_option in
    980   --)
    981     ac_dashdash=yes ;;
    982 
    983   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    984     ac_prev=bindir ;;
    985   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    986     bindir=$ac_optarg ;;
    987 
    988   -build | --build | --buil | --bui | --bu)
    989     ac_prev=build_alias ;;
    990   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    991     build_alias=$ac_optarg ;;
    992 
    993   -cache-file | --cache-file | --cache-fil | --cache-fi \
    994   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    995     ac_prev=cache_file ;;
    996   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    997   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    998     cache_file=$ac_optarg ;;
    999 
   1000   --config-cache | -C)
   1001     cache_file=config.cache ;;
   1002 
   1003   -datadir | --datadir | --datadi | --datad)
   1004     ac_prev=datadir ;;
   1005   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1006     datadir=$ac_optarg ;;
   1007 
   1008   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1009   | --dataroo | --dataro | --datar)
   1010     ac_prev=datarootdir ;;
   1011   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1012   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1013     datarootdir=$ac_optarg ;;
   1014 
   1015   -disable-* | --disable-*)
   1016     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1017     # Reject names that are not valid shell variable names.
   1018     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1019       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1020    { (exit 1); exit 1; }; }
   1021     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1022     eval enable_$ac_feature=no ;;
   1023 
   1024   -docdir | --docdir | --docdi | --doc | --do)
   1025     ac_prev=docdir ;;
   1026   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1027     docdir=$ac_optarg ;;
   1028 
   1029   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1030     ac_prev=dvidir ;;
   1031   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1032     dvidir=$ac_optarg ;;
   1033 
   1034   -enable-* | --enable-*)
   1035     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1036     # Reject names that are not valid shell variable names.
   1037     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1038       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1039    { (exit 1); exit 1; }; }
   1040     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1041     eval enable_$ac_feature=\$ac_optarg ;;
   1042 
   1043   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1044   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1045   | --exec | --exe | --ex)
   1046     ac_prev=exec_prefix ;;
   1047   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1048   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1049   | --exec=* | --exe=* | --ex=*)
   1050     exec_prefix=$ac_optarg ;;
   1051 
   1052   -gas | --gas | --ga | --g)
   1053     # Obsolete; use --with-gas.
   1054     with_gas=yes ;;
   1055 
   1056   -help | --help | --hel | --he | -h)
   1057     ac_init_help=long ;;
   1058   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1059     ac_init_help=recursive ;;
   1060   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1061     ac_init_help=short ;;
   1062 
   1063   -host | --host | --hos | --ho)
   1064     ac_prev=host_alias ;;
   1065   -host=* | --host=* | --hos=* | --ho=*)
   1066     host_alias=$ac_optarg ;;
   1067 
   1068   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1069     ac_prev=htmldir ;;
   1070   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1071   | --ht=*)
   1072     htmldir=$ac_optarg ;;
   1073 
   1074   -includedir | --includedir | --includedi | --included | --include \
   1075   | --includ | --inclu | --incl | --inc)
   1076     ac_prev=includedir ;;
   1077   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1078   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1079     includedir=$ac_optarg ;;
   1080 
   1081   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1082     ac_prev=infodir ;;
   1083   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1084     infodir=$ac_optarg ;;
   1085 
   1086   -libdir | --libdir | --libdi | --libd)
   1087     ac_prev=libdir ;;
   1088   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1089     libdir=$ac_optarg ;;
   1090 
   1091   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1092   | --libexe | --libex | --libe)
   1093     ac_prev=libexecdir ;;
   1094   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1095   | --libexe=* | --libex=* | --libe=*)
   1096     libexecdir=$ac_optarg ;;
   1097 
   1098   -localedir | --localedir | --localedi | --localed | --locale)
   1099     ac_prev=localedir ;;
   1100   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1101     localedir=$ac_optarg ;;
   1102 
   1103   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1104   | --localstate | --localstat | --localsta | --localst | --locals)
   1105     ac_prev=localstatedir ;;
   1106   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1107   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1108     localstatedir=$ac_optarg ;;
   1109 
   1110   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1111     ac_prev=mandir ;;
   1112   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1113     mandir=$ac_optarg ;;
   1114 
   1115   -nfp | --nfp | --nf)
   1116     # Obsolete; use --without-fp.
   1117     with_fp=no ;;
   1118 
   1119   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1120   | --no-cr | --no-c | -n)
   1121     no_create=yes ;;
   1122 
   1123   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1124   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1125     no_recursion=yes ;;
   1126 
   1127   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1128   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1129   | --oldin | --oldi | --old | --ol | --o)
   1130     ac_prev=oldincludedir ;;
   1131   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1132   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1133   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1134     oldincludedir=$ac_optarg ;;
   1135 
   1136   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1137     ac_prev=prefix ;;
   1138   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1139     prefix=$ac_optarg ;;
   1140 
   1141   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1142   | --program-pre | --program-pr | --program-p)
   1143     ac_prev=program_prefix ;;
   1144   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1145   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1146     program_prefix=$ac_optarg ;;
   1147 
   1148   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1149   | --program-suf | --program-su | --program-s)
   1150     ac_prev=program_suffix ;;
   1151   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1152   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1153     program_suffix=$ac_optarg ;;
   1154 
   1155   -program-transform-name | --program-transform-name \
   1156   | --program-transform-nam | --program-transform-na \
   1157   | --program-transform-n | --program-transform- \
   1158   | --program-transform | --program-transfor \
   1159   | --program-transfo | --program-transf \
   1160   | --program-trans | --program-tran \
   1161   | --progr-tra | --program-tr | --program-t)
   1162     ac_prev=program_transform_name ;;
   1163   -program-transform-name=* | --program-transform-name=* \
   1164   | --program-transform-nam=* | --program-transform-na=* \
   1165   | --program-transform-n=* | --program-transform-=* \
   1166   | --program-transform=* | --program-transfor=* \
   1167   | --program-transfo=* | --program-transf=* \
   1168   | --program-trans=* | --program-tran=* \
   1169   | --progr-tra=* | --program-tr=* | --program-t=*)
   1170     program_transform_name=$ac_optarg ;;
   1171 
   1172   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1173     ac_prev=pdfdir ;;
   1174   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1175     pdfdir=$ac_optarg ;;
   1176 
   1177   -psdir | --psdir | --psdi | --psd | --ps)
   1178     ac_prev=psdir ;;
   1179   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1180     psdir=$ac_optarg ;;
   1181 
   1182   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1183   | -silent | --silent | --silen | --sile | --sil)
   1184     silent=yes ;;
   1185 
   1186   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1187     ac_prev=sbindir ;;
   1188   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1189   | --sbi=* | --sb=*)
   1190     sbindir=$ac_optarg ;;
   1191 
   1192   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1193   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1194   | --sharedst | --shareds | --shared | --share | --shar \
   1195   | --sha | --sh)
   1196     ac_prev=sharedstatedir ;;
   1197   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1198   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1199   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1200   | --sha=* | --sh=*)
   1201     sharedstatedir=$ac_optarg ;;
   1202 
   1203   -site | --site | --sit)
   1204     ac_prev=site ;;
   1205   -site=* | --site=* | --sit=*)
   1206     site=$ac_optarg ;;
   1207 
   1208   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1209     ac_prev=srcdir ;;
   1210   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1211     srcdir=$ac_optarg ;;
   1212 
   1213   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1214   | --syscon | --sysco | --sysc | --sys | --sy)
   1215     ac_prev=sysconfdir ;;
   1216   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1217   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1218     sysconfdir=$ac_optarg ;;
   1219 
   1220   -target | --target | --targe | --targ | --tar | --ta | --t)
   1221     ac_prev=target_alias ;;
   1222   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1223     target_alias=$ac_optarg ;;
   1224 
   1225   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1226     verbose=yes ;;
   1227 
   1228   -version | --version | --versio | --versi | --vers | -V)
   1229     ac_init_version=: ;;
   1230 
   1231   -with-* | --with-*)
   1232     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1233     # Reject names that are not valid shell variable names.
   1234     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1235       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1236    { (exit 1); exit 1; }; }
   1237     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1238     eval with_$ac_package=\$ac_optarg ;;
   1239 
   1240   -without-* | --without-*)
   1241     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1242     # Reject names that are not valid shell variable names.
   1243     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1244       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1245    { (exit 1); exit 1; }; }
   1246     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1247     eval with_$ac_package=no ;;
   1248 
   1249   --x)
   1250     # Obsolete; use --with-x.
   1251     with_x=yes ;;
   1252 
   1253   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1254   | --x-incl | --x-inc | --x-in | --x-i)
   1255     ac_prev=x_includes ;;
   1256   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1257   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1258     x_includes=$ac_optarg ;;
   1259 
   1260   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1261   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1262     ac_prev=x_libraries ;;
   1263   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1264   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1265     x_libraries=$ac_optarg ;;
   1266 
   1267   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1268 Try \`$0 --help' for more information." >&2
   1269    { (exit 1); exit 1; }; }
   1270     ;;
   1271 
   1272   *=*)
   1273     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1274     # Reject names that are not valid shell variable names.
   1275     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1276       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1277    { (exit 1); exit 1; }; }
   1278     eval $ac_envvar=\$ac_optarg
   1279     export $ac_envvar ;;
   1280 
   1281   *)
   1282     # FIXME: should be removed in autoconf 3.0.
   1283     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1284     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1285       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1286     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1287     ;;
   1288 
   1289   esac
   1290 done
   1291 
   1292 if test -n "$ac_prev"; then
   1293   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1294   { echo "$as_me: error: missing argument to $ac_option" >&2
   1295    { (exit 1); exit 1; }; }
   1296 fi
   1297 
   1298 # Be sure to have absolute directory names.
   1299 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1300 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1301 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1302 		libdir localedir mandir
   1303 do
   1304   eval ac_val=\$$ac_var
   1305   case $ac_val in
   1306     [\\/$]* | ?:[\\/]* )  continue;;
   1307     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1308   esac
   1309   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1310    { (exit 1); exit 1; }; }
   1311 done
   1312 
   1313 # There might be people who depend on the old broken behavior: `$host'
   1314 # used to hold the argument of --host etc.
   1315 # FIXME: To remove some day.
   1316 build=$build_alias
   1317 host=$host_alias
   1318 target=$target_alias
   1319 
   1320 # FIXME: To remove some day.
   1321 if test "x$host_alias" != x; then
   1322   if test "x$build_alias" = x; then
   1323     cross_compiling=maybe
   1324     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1325     If a cross compiler is detected then cross compile mode will be used." >&2
   1326   elif test "x$build_alias" != "x$host_alias"; then
   1327     cross_compiling=yes
   1328   fi
   1329 fi
   1330 
   1331 ac_tool_prefix=
   1332 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1333 
   1334 test "$silent" = yes && exec 6>/dev/null
   1335 
   1336 
   1337 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1338 ac_ls_di=`ls -di .` &&
   1339 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1340   { echo "$as_me: error: Working directory cannot be determined" >&2
   1341    { (exit 1); exit 1; }; }
   1342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1343   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1344    { (exit 1); exit 1; }; }
   1345 
   1346 
   1347 # Find the source files, if location was not specified.
   1348 if test -z "$srcdir"; then
   1349   ac_srcdir_defaulted=yes
   1350   # Try the directory containing this script, then the parent directory.
   1351   ac_confdir=`$as_dirname -- "$0" ||
   1352 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1353 	 X"$0" : 'X\(//\)[^/]' \| \
   1354 	 X"$0" : 'X\(//\)$' \| \
   1355 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1356 echo X"$0" |
   1357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1358 	    s//\1/
   1359 	    q
   1360 	  }
   1361 	  /^X\(\/\/\)[^/].*/{
   1362 	    s//\1/
   1363 	    q
   1364 	  }
   1365 	  /^X\(\/\/\)$/{
   1366 	    s//\1/
   1367 	    q
   1368 	  }
   1369 	  /^X\(\/\).*/{
   1370 	    s//\1/
   1371 	    q
   1372 	  }
   1373 	  s/.*/./; q'`
   1374   srcdir=$ac_confdir
   1375   if test ! -r "$srcdir/$ac_unique_file"; then
   1376     srcdir=..
   1377   fi
   1378 else
   1379   ac_srcdir_defaulted=no
   1380 fi
   1381 if test ! -r "$srcdir/$ac_unique_file"; then
   1382   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1383   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1384    { (exit 1); exit 1; }; }
   1385 fi
   1386 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1387 ac_abs_confdir=`(
   1388 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1389    { (exit 1); exit 1; }; }
   1390 	pwd)`
   1391 # When building in place, set srcdir=.
   1392 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1393   srcdir=.
   1394 fi
   1395 # Remove unnecessary trailing slashes from srcdir.
   1396 # Double slashes in file names in object file debugging info
   1397 # mess up M-x gdb in Emacs.
   1398 case $srcdir in
   1399 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1400 esac
   1401 for ac_var in $ac_precious_vars; do
   1402   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1403   eval ac_env_${ac_var}_value=\$${ac_var}
   1404   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1405   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1406 done
   1407 
   1408 #
   1409 # Report the --help message.
   1410 #
   1411 if test "$ac_init_help" = "long"; then
   1412   # Omit some internal or obsolete options to make the list less imposing.
   1413   # This message is too long to be a string in the A/UX 3.1 sh.
   1414   cat <<_ACEOF
   1415 \`configure' configures libFS 1.0.1 to adapt to many kinds of systems.
   1416 
   1417 Usage: $0 [OPTION]... [VAR=VALUE]...
   1418 
   1419 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1420 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1421 
   1422 Defaults for the options are specified in brackets.
   1423 
   1424 Configuration:
   1425   -h, --help              display this help and exit
   1426       --help=short        display options specific to this package
   1427       --help=recursive    display the short help of all the included packages
   1428   -V, --version           display version information and exit
   1429   -q, --quiet, --silent   do not print \`checking...' messages
   1430       --cache-file=FILE   cache test results in FILE [disabled]
   1431   -C, --config-cache      alias for \`--cache-file=config.cache'
   1432   -n, --no-create         do not create output files
   1433       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1434 
   1435 Installation directories:
   1436   --prefix=PREFIX         install architecture-independent files in PREFIX
   1437 			  [$ac_default_prefix]
   1438   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1439 			  [PREFIX]
   1440 
   1441 By default, \`make install' will install all the files in
   1442 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1443 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1444 for instance \`--prefix=\$HOME'.
   1445 
   1446 For better control, use the options below.
   1447 
   1448 Fine tuning of the installation directories:
   1449   --bindir=DIR           user executables [EPREFIX/bin]
   1450   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1451   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1452   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1453   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1454   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1455   --libdir=DIR           object code libraries [EPREFIX/lib]
   1456   --includedir=DIR       C header files [PREFIX/include]
   1457   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1458   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1459   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1460   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1461   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1462   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1463   --docdir=DIR           documentation root [DATAROOTDIR/doc/libFS]
   1464   --htmldir=DIR          html documentation [DOCDIR]
   1465   --dvidir=DIR           dvi documentation [DOCDIR]
   1466   --pdfdir=DIR           pdf documentation [DOCDIR]
   1467   --psdir=DIR            ps documentation [DOCDIR]
   1468 _ACEOF
   1469 
   1470   cat <<\_ACEOF
   1471 
   1472 Program names:
   1473   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1474   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1475   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1476 
   1477 System types:
   1478   --build=BUILD     configure for building on BUILD [guessed]
   1479   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1480 _ACEOF
   1481 fi
   1482 
   1483 if test -n "$ac_init_help"; then
   1484   case $ac_init_help in
   1485      short | recursive ) echo "Configuration of libFS 1.0.1:";;
   1486    esac
   1487   cat <<\_ACEOF
   1488 
   1489 Optional Features:
   1490   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1491   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1492   --enable-maintainer-mode  enable make rules and dependencies not useful
   1493 			  (and sometimes confusing) to the casual installer
   1494   --disable-dependency-tracking  speeds up one-time build
   1495   --enable-dependency-tracking   do not reject slow dependency extractors
   1496   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1497   --enable-static[=PKGS]  build static libraries [default=yes]
   1498   --enable-fast-install[=PKGS]
   1499                           optimize for fast installation [default=yes]
   1500   --disable-libtool-lock  avoid locking (might break parallel builds)
   1501   --enable-unix-transport Enable UNIX domain socket transport
   1502   --enable-tcp-transport  Enable TCP socket transport
   1503   --enable-IPv6           Enable IPv6 support
   1504   --enable-local-transport
   1505                           Enable os-specific local transport
   1506   --enable-malloc0returnsnull
   1507                           malloc(0) returns NULL (default: auto)
   1508   --enable-lint-library   Create lint library (default: disabled)
   1509 
   1510 Optional Packages:
   1511   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1512   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1513   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1514   --with-pic              try to use only PIC/non-PIC objects [default=use
   1515                           both]
   1516   --with-tags[=TAGS]      include additional configurations [automatic]
   1517   --with-lint             Use a lint-style source code checker (default:
   1518                           disabled)
   1519   --with-release-version=STRING
   1520                           Use release version string in package name
   1521 
   1522 Some influential environment variables:
   1523   CC          C compiler command
   1524   CFLAGS      C compiler flags
   1525   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1526               nonstandard directory <lib dir>
   1527   LIBS        libraries to pass to the linker, e.g. -l<library>
   1528   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1529               you have headers in a nonstandard directory <include dir>
   1530   CPP         C preprocessor
   1531   CXX         C++ compiler command
   1532   CXXFLAGS    C++ compiler flags
   1533   CXXCPP      C++ preprocessor
   1534   F77         Fortran 77 compiler command
   1535   FFLAGS      Fortran 77 compiler flags
   1536   PKG_CONFIG  path to pkg-config utility
   1537   FS_CFLAGS   C compiler flags for FS, overriding pkg-config
   1538   FS_LIBS     linker flags for FS, overriding pkg-config
   1539   XTRANS_CFLAGS
   1540               C compiler flags for XTRANS, overriding pkg-config
   1541   XTRANS_LIBS linker flags for XTRANS, overriding pkg-config
   1542 
   1543 Use these variables to override the choices made by `configure' or to help
   1544 it to find libraries and programs with nonstandard names/locations.
   1545 
   1546 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1547 _ACEOF
   1548 ac_status=$?
   1549 fi
   1550 
   1551 if test "$ac_init_help" = "recursive"; then
   1552   # If there are subdirs, report their specific --help.
   1553   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1554     test -d "$ac_dir" || continue
   1555     ac_builddir=.
   1556 
   1557 case "$ac_dir" in
   1558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1559 *)
   1560   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1561   # A ".." for each directory in $ac_dir_suffix.
   1562   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1563   case $ac_top_builddir_sub in
   1564   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1565   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1566   esac ;;
   1567 esac
   1568 ac_abs_top_builddir=$ac_pwd
   1569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1570 # for backward compatibility:
   1571 ac_top_builddir=$ac_top_build_prefix
   1572 
   1573 case $srcdir in
   1574   .)  # We are building in place.
   1575     ac_srcdir=.
   1576     ac_top_srcdir=$ac_top_builddir_sub
   1577     ac_abs_top_srcdir=$ac_pwd ;;
   1578   [\\/]* | ?:[\\/]* )  # Absolute name.
   1579     ac_srcdir=$srcdir$ac_dir_suffix;
   1580     ac_top_srcdir=$srcdir
   1581     ac_abs_top_srcdir=$srcdir ;;
   1582   *) # Relative name.
   1583     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1584     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1585     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1586 esac
   1587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1588 
   1589     cd "$ac_dir" || { ac_status=$?; continue; }
   1590     # Check for guested configure.
   1591     if test -f "$ac_srcdir/configure.gnu"; then
   1592       echo &&
   1593       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1594     elif test -f "$ac_srcdir/configure"; then
   1595       echo &&
   1596       $SHELL "$ac_srcdir/configure" --help=recursive
   1597     else
   1598       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1599     fi || ac_status=$?
   1600     cd "$ac_pwd" || { ac_status=$?; break; }
   1601   done
   1602 fi
   1603 
   1604 test -n "$ac_init_help" && exit $ac_status
   1605 if $ac_init_version; then
   1606   cat <<\_ACEOF
   1607 libFS configure 1.0.1
   1608 generated by GNU Autoconf 2.61
   1609 
   1610 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1611 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1612 This configure script is free software; the Free Software Foundation
   1613 gives unlimited permission to copy, distribute and modify it.
   1614 _ACEOF
   1615   exit
   1616 fi
   1617 cat >config.log <<_ACEOF
   1618 This file contains any messages produced by compilers while
   1619 running configure, to aid debugging if configure makes a mistake.
   1620 
   1621 It was created by libFS $as_me 1.0.1, which was
   1622 generated by GNU Autoconf 2.61.  Invocation command line was
   1623 
   1624   $ $0 $@
   1625 
   1626 _ACEOF
   1627 exec 5>>config.log
   1628 {
   1629 cat <<_ASUNAME
   1630 ## --------- ##
   1631 ## Platform. ##
   1632 ## --------- ##
   1633 
   1634 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1635 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1636 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1637 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1638 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1639 
   1640 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1641 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1642 
   1643 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1644 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1645 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1646 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1647 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1648 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1649 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1650 
   1651 _ASUNAME
   1652 
   1653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1654 for as_dir in $PATH
   1655 do
   1656   IFS=$as_save_IFS
   1657   test -z "$as_dir" && as_dir=.
   1658   echo "PATH: $as_dir"
   1659 done
   1660 IFS=$as_save_IFS
   1661 
   1662 } >&5
   1663 
   1664 cat >&5 <<_ACEOF
   1665 
   1666 
   1667 ## ----------- ##
   1668 ## Core tests. ##
   1669 ## ----------- ##
   1670 
   1671 _ACEOF
   1672 
   1673 
   1674 # Keep a trace of the command line.
   1675 # Strip out --no-create and --no-recursion so they do not pile up.
   1676 # Strip out --silent because we don't want to record it for future runs.
   1677 # Also quote any args containing shell meta-characters.
   1678 # Make two passes to allow for proper duplicate-argument suppression.
   1679 ac_configure_args=
   1680 ac_configure_args0=
   1681 ac_configure_args1=
   1682 ac_must_keep_next=false
   1683 for ac_pass in 1 2
   1684 do
   1685   for ac_arg
   1686   do
   1687     case $ac_arg in
   1688     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1689     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1690     | -silent | --silent | --silen | --sile | --sil)
   1691       continue ;;
   1692     *\'*)
   1693       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1694     esac
   1695     case $ac_pass in
   1696     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1697     2)
   1698       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1699       if test $ac_must_keep_next = true; then
   1700 	ac_must_keep_next=false # Got value, back to normal.
   1701       else
   1702 	case $ac_arg in
   1703 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1704 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1705 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1706 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1707 	    case "$ac_configure_args0 " in
   1708 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1709 	    esac
   1710 	    ;;
   1711 	  -* ) ac_must_keep_next=true ;;
   1712 	esac
   1713       fi
   1714       ac_configure_args="$ac_configure_args '$ac_arg'"
   1715       ;;
   1716     esac
   1717   done
   1718 done
   1719 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1720 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1721 
   1722 # When interrupted or exit'd, cleanup temporary files, and complete
   1723 # config.log.  We remove comments because anyway the quotes in there
   1724 # would cause problems or look ugly.
   1725 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1726 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1727 trap 'exit_status=$?
   1728   # Save into config.log some information that might help in debugging.
   1729   {
   1730     echo
   1731 
   1732     cat <<\_ASBOX
   1733 ## ---------------- ##
   1734 ## Cache variables. ##
   1735 ## ---------------- ##
   1736 _ASBOX
   1737     echo
   1738     # The following way of writing the cache mishandles newlines in values,
   1739 (
   1740   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1741     eval ac_val=\$$ac_var
   1742     case $ac_val in #(
   1743     *${as_nl}*)
   1744       case $ac_var in #(
   1745       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1746 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1747       esac
   1748       case $ac_var in #(
   1749       _ | IFS | as_nl) ;; #(
   1750       *) $as_unset $ac_var ;;
   1751       esac ;;
   1752     esac
   1753   done
   1754   (set) 2>&1 |
   1755     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1756     *${as_nl}ac_space=\ *)
   1757       sed -n \
   1758 	"s/'\''/'\''\\\\'\'''\''/g;
   1759 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1760       ;; #(
   1761     *)
   1762       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1763       ;;
   1764     esac |
   1765     sort
   1766 )
   1767     echo
   1768 
   1769     cat <<\_ASBOX
   1770 ## ----------------- ##
   1771 ## Output variables. ##
   1772 ## ----------------- ##
   1773 _ASBOX
   1774     echo
   1775     for ac_var in $ac_subst_vars
   1776     do
   1777       eval ac_val=\$$ac_var
   1778       case $ac_val in
   1779       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1780       esac
   1781       echo "$ac_var='\''$ac_val'\''"
   1782     done | sort
   1783     echo
   1784 
   1785     if test -n "$ac_subst_files"; then
   1786       cat <<\_ASBOX
   1787 ## ------------------- ##
   1788 ## File substitutions. ##
   1789 ## ------------------- ##
   1790 _ASBOX
   1791       echo
   1792       for ac_var in $ac_subst_files
   1793       do
   1794 	eval ac_val=\$$ac_var
   1795 	case $ac_val in
   1796 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1797 	esac
   1798 	echo "$ac_var='\''$ac_val'\''"
   1799       done | sort
   1800       echo
   1801     fi
   1802 
   1803     if test -s confdefs.h; then
   1804       cat <<\_ASBOX
   1805 ## ----------- ##
   1806 ## confdefs.h. ##
   1807 ## ----------- ##
   1808 _ASBOX
   1809       echo
   1810       cat confdefs.h
   1811       echo
   1812     fi
   1813     test "$ac_signal" != 0 &&
   1814       echo "$as_me: caught signal $ac_signal"
   1815     echo "$as_me: exit $exit_status"
   1816   } >&5
   1817   rm -f core *.core core.conftest.* &&
   1818     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1819     exit $exit_status
   1820 ' 0
   1821 for ac_signal in 1 2 13 15; do
   1822   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1823 done
   1824 ac_signal=0
   1825 
   1826 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1827 rm -f -r conftest* confdefs.h
   1828 
   1829 # Predefined preprocessor variables.
   1830 
   1831 cat >>confdefs.h <<_ACEOF
   1832 #define PACKAGE_NAME "$PACKAGE_NAME"
   1833 _ACEOF
   1834 
   1835 
   1836 cat >>confdefs.h <<_ACEOF
   1837 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1838 _ACEOF
   1839 
   1840 
   1841 cat >>confdefs.h <<_ACEOF
   1842 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1843 _ACEOF
   1844 
   1845 
   1846 cat >>confdefs.h <<_ACEOF
   1847 #define PACKAGE_STRING "$PACKAGE_STRING"
   1848 _ACEOF
   1849 
   1850 
   1851 cat >>confdefs.h <<_ACEOF
   1852 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1853 _ACEOF
   1854 
   1855 
   1856 # Let the site file select an alternate cache file if it wants to.
   1857 # Prefer explicitly selected file to automatically selected ones.
   1858 if test -n "$CONFIG_SITE"; then
   1859   set x "$CONFIG_SITE"
   1860 elif test "x$prefix" != xNONE; then
   1861   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1862 else
   1863   set x "$ac_default_prefix/share/config.site" \
   1864 	"$ac_default_prefix/etc/config.site"
   1865 fi
   1866 shift
   1867 for ac_site_file
   1868 do
   1869   if test -r "$ac_site_file"; then
   1870     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1871 echo "$as_me: loading site script $ac_site_file" >&6;}
   1872     sed 's/^/| /' "$ac_site_file" >&5
   1873     . "$ac_site_file"
   1874   fi
   1875 done
   1876 
   1877 if test -r "$cache_file"; then
   1878   # Some versions of bash will fail to source /dev/null (special
   1879   # files actually), so we avoid doing that.
   1880   if test -f "$cache_file"; then
   1881     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1882 echo "$as_me: loading cache $cache_file" >&6;}
   1883     case $cache_file in
   1884       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1885       *)                      . "./$cache_file";;
   1886     esac
   1887   fi
   1888 else
   1889   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1890 echo "$as_me: creating cache $cache_file" >&6;}
   1891   >$cache_file
   1892 fi
   1893 
   1894 # Check that the precious variables saved in the cache have kept the same
   1895 # value.
   1896 ac_cache_corrupted=false
   1897 for ac_var in $ac_precious_vars; do
   1898   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1899   eval ac_new_set=\$ac_env_${ac_var}_set
   1900   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1901   eval ac_new_val=\$ac_env_${ac_var}_value
   1902   case $ac_old_set,$ac_new_set in
   1903     set,)
   1904       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1905 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1906       ac_cache_corrupted=: ;;
   1907     ,set)
   1908       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1909 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1910       ac_cache_corrupted=: ;;
   1911     ,);;
   1912     *)
   1913       if test "x$ac_old_val" != "x$ac_new_val"; then
   1914 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1915 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1916 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1917 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1918 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1919 echo "$as_me:   current value: $ac_new_val" >&2;}
   1920 	ac_cache_corrupted=:
   1921       fi;;
   1922   esac
   1923   # Pass precious variables to config.status.
   1924   if test "$ac_new_set" = set; then
   1925     case $ac_new_val in
   1926     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1927     *) ac_arg=$ac_var=$ac_new_val ;;
   1928     esac
   1929     case " $ac_configure_args " in
   1930       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1931       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1932     esac
   1933   fi
   1934 done
   1935 if $ac_cache_corrupted; then
   1936   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1937 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1938   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1939 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1940    { (exit 1); exit 1; }; }
   1941 fi
   1942 
   1943 
   1944 
   1945 
   1946 
   1947 
   1948 
   1949 
   1950 
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 
   1957 
   1958 
   1959 
   1960 
   1961 
   1962 
   1963 
   1964 
   1965 
   1966 
   1967 ac_ext=c
   1968 ac_cpp='$CPP $CPPFLAGS'
   1969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1972 
   1973 
   1974 am__api_version='1.10'
   1975 
   1976 ac_aux_dir=
   1977 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1978   if test -f "$ac_dir/install-sh"; then
   1979     ac_aux_dir=$ac_dir
   1980     ac_install_sh="$ac_aux_dir/install-sh -c"
   1981     break
   1982   elif test -f "$ac_dir/install.sh"; then
   1983     ac_aux_dir=$ac_dir
   1984     ac_install_sh="$ac_aux_dir/install.sh -c"
   1985     break
   1986   elif test -f "$ac_dir/shtool"; then
   1987     ac_aux_dir=$ac_dir
   1988     ac_install_sh="$ac_aux_dir/shtool install -c"
   1989     break
   1990   fi
   1991 done
   1992 if test -z "$ac_aux_dir"; then
   1993   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1994 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1995    { (exit 1); exit 1; }; }
   1996 fi
   1997 
   1998 # These three variables are undocumented and unsupported,
   1999 # and are intended to be withdrawn in a future Autoconf release.
   2000 # They can cause serious problems if a builder's source tree is in a directory
   2001 # whose full name contains unusual characters.
   2002 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2003 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2004 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2005 
   2006 
   2007 # Find a good install program.  We prefer a C program (faster),
   2008 # so one script is as good as another.  But avoid the broken or
   2009 # incompatible versions:
   2010 # SysV /etc/install, /usr/sbin/install
   2011 # SunOS /usr/etc/install
   2012 # IRIX /sbin/install
   2013 # AIX /bin/install
   2014 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2015 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2016 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2017 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2018 # OS/2's system install, which has a completely different semantic
   2019 # ./install, which can be erroneously created by make from ./install.sh.
   2020 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2021 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2022 if test -z "$INSTALL"; then
   2023 if test "${ac_cv_path_install+set}" = set; then
   2024   echo $ECHO_N "(cached) $ECHO_C" >&6
   2025 else
   2026   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2027 for as_dir in $PATH
   2028 do
   2029   IFS=$as_save_IFS
   2030   test -z "$as_dir" && as_dir=.
   2031   # Account for people who put trailing slashes in PATH elements.
   2032 case $as_dir/ in
   2033   ./ | .// | /cC/* | \
   2034   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2035   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2036   /usr/ucb/* ) ;;
   2037   *)
   2038     # OSF1 and SCO ODT 3.0 have their own names for install.
   2039     # Don't use installbsd from OSF since it installs stuff as root
   2040     # by default.
   2041     for ac_prog in ginstall scoinst install; do
   2042       for ac_exec_ext in '' $ac_executable_extensions; do
   2043 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2044 	  if test $ac_prog = install &&
   2045 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2046 	    # AIX install.  It has an incompatible calling convention.
   2047 	    :
   2048 	  elif test $ac_prog = install &&
   2049 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2050 	    # program-specific install script used by HP pwplus--don't use.
   2051 	    :
   2052 	  else
   2053 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2054 	    break 3
   2055 	  fi
   2056 	fi
   2057       done
   2058     done
   2059     ;;
   2060 esac
   2061 done
   2062 IFS=$as_save_IFS
   2063 
   2064 
   2065 fi
   2066   if test "${ac_cv_path_install+set}" = set; then
   2067     INSTALL=$ac_cv_path_install
   2068   else
   2069     # As a last resort, use the slow shell script.  Don't cache a
   2070     # value for INSTALL within a source directory, because that will
   2071     # break other packages using the cache if that directory is
   2072     # removed, or if the value is a relative name.
   2073     INSTALL=$ac_install_sh
   2074   fi
   2075 fi
   2076 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2077 echo "${ECHO_T}$INSTALL" >&6; }
   2078 
   2079 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2080 # It thinks the first close brace ends the variable substitution.
   2081 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2082 
   2083 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2084 
   2085 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2086 
   2087 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2088 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2089 # Just in case
   2090 sleep 1
   2091 echo timestamp > conftest.file
   2092 # Do `set' in a subshell so we don't clobber the current shell's
   2093 # arguments.  Must try -L first in case configure is actually a
   2094 # symlink; some systems play weird games with the mod time of symlinks
   2095 # (eg FreeBSD returns the mod time of the symlink's containing
   2096 # directory).
   2097 if (
   2098    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2099    if test "$*" = "X"; then
   2100       # -L didn't work.
   2101       set X `ls -t $srcdir/configure conftest.file`
   2102    fi
   2103    rm -f conftest.file
   2104    if test "$*" != "X $srcdir/configure conftest.file" \
   2105       && test "$*" != "X conftest.file $srcdir/configure"; then
   2106 
   2107       # If neither matched, then we have a broken ls.  This can happen
   2108       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2109       # broken ls alias from the environment.  This has actually
   2110       # happened.  Such a system could not be considered "sane".
   2111       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2112 alias in your environment" >&5
   2113 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2114 alias in your environment" >&2;}
   2115    { (exit 1); exit 1; }; }
   2116    fi
   2117 
   2118    test "$2" = conftest.file
   2119    )
   2120 then
   2121    # Ok.
   2122    :
   2123 else
   2124    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2125 Check your system clock" >&5
   2126 echo "$as_me: error: newly created file is older than distributed files!
   2127 Check your system clock" >&2;}
   2128    { (exit 1); exit 1; }; }
   2129 fi
   2130 { echo "$as_me:$LINENO: result: yes" >&5
   2131 echo "${ECHO_T}yes" >&6; }
   2132 test "$program_prefix" != NONE &&
   2133   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2134 # Use a double $ so make ignores it.
   2135 test "$program_suffix" != NONE &&
   2136   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2137 # Double any \ or $.  echo might interpret backslashes.
   2138 # By default was `s,x,x', remove it if useless.
   2139 cat <<\_ACEOF >conftest.sed
   2140 s/[\\$]/&&/g;s/;s,x,x,$//
   2141 _ACEOF
   2142 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2143 rm -f conftest.sed
   2144 
   2145 # expand $ac_aux_dir to an absolute path
   2146 am_aux_dir=`cd $ac_aux_dir && pwd`
   2147 
   2148 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2149 # Use eval to expand $SHELL
   2150 if eval "$MISSING --run true"; then
   2151   am_missing_run="$MISSING --run "
   2152 else
   2153   am_missing_run=
   2154   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2155 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2156 fi
   2157 
   2158 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2159 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2160 if test -z "$MKDIR_P"; then
   2161   if test "${ac_cv_path_mkdir+set}" = set; then
   2162   echo $ECHO_N "(cached) $ECHO_C" >&6
   2163 else
   2164   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2165 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2166 do
   2167   IFS=$as_save_IFS
   2168   test -z "$as_dir" && as_dir=.
   2169   for ac_prog in mkdir gmkdir; do
   2170 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2171 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2172 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2173 	     'mkdir (GNU coreutils) '* | \
   2174 	     'mkdir (coreutils) '* | \
   2175 	     'mkdir (fileutils) '4.1*)
   2176 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2177 	       break 3;;
   2178 	   esac
   2179 	 done
   2180        done
   2181 done
   2182 IFS=$as_save_IFS
   2183 
   2184 fi
   2185 
   2186   if test "${ac_cv_path_mkdir+set}" = set; then
   2187     MKDIR_P="$ac_cv_path_mkdir -p"
   2188   else
   2189     # As a last resort, use the slow shell script.  Don't cache a
   2190     # value for MKDIR_P within a source directory, because that will
   2191     # break other packages using the cache if that directory is
   2192     # removed, or if the value is a relative name.
   2193     test -d ./--version && rmdir ./--version
   2194     MKDIR_P="$ac_install_sh -d"
   2195   fi
   2196 fi
   2197 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2198 echo "${ECHO_T}$MKDIR_P" >&6; }
   2199 
   2200 mkdir_p="$MKDIR_P"
   2201 case $mkdir_p in
   2202   [\\/$]* | ?:[\\/]*) ;;
   2203   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2204 esac
   2205 
   2206 for ac_prog in gawk mawk nawk awk
   2207 do
   2208   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2209 set dummy $ac_prog; ac_word=$2
   2210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2212 if test "${ac_cv_prog_AWK+set}" = set; then
   2213   echo $ECHO_N "(cached) $ECHO_C" >&6
   2214 else
   2215   if test -n "$AWK"; then
   2216   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2217 else
   2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2219 for as_dir in $PATH
   2220 do
   2221   IFS=$as_save_IFS
   2222   test -z "$as_dir" && as_dir=.
   2223   for ac_exec_ext in '' $ac_executable_extensions; do
   2224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2225     ac_cv_prog_AWK="$ac_prog"
   2226     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2227     break 2
   2228   fi
   2229 done
   2230 done
   2231 IFS=$as_save_IFS
   2232 
   2233 fi
   2234 fi
   2235 AWK=$ac_cv_prog_AWK
   2236 if test -n "$AWK"; then
   2237   { echo "$as_me:$LINENO: result: $AWK" >&5
   2238 echo "${ECHO_T}$AWK" >&6; }
   2239 else
   2240   { echo "$as_me:$LINENO: result: no" >&5
   2241 echo "${ECHO_T}no" >&6; }
   2242 fi
   2243 
   2244 
   2245   test -n "$AWK" && break
   2246 done
   2247 
   2248 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2249 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2250 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2251 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2252   echo $ECHO_N "(cached) $ECHO_C" >&6
   2253 else
   2254   cat >conftest.make <<\_ACEOF
   2255 SHELL = /bin/sh
   2256 all:
   2257 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2258 _ACEOF
   2259 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2260 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2261   *@@@%%%=?*=@@@%%%*)
   2262     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2263   *)
   2264     eval ac_cv_prog_make_${ac_make}_set=no;;
   2265 esac
   2266 rm -f conftest.make
   2267 fi
   2268 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2269   { echo "$as_me:$LINENO: result: yes" >&5
   2270 echo "${ECHO_T}yes" >&6; }
   2271   SET_MAKE=
   2272 else
   2273   { echo "$as_me:$LINENO: result: no" >&5
   2274 echo "${ECHO_T}no" >&6; }
   2275   SET_MAKE="MAKE=${MAKE-make}"
   2276 fi
   2277 
   2278 rm -rf .tst 2>/dev/null
   2279 mkdir .tst 2>/dev/null
   2280 if test -d .tst; then
   2281   am__leading_dot=.
   2282 else
   2283   am__leading_dot=_
   2284 fi
   2285 rmdir .tst 2>/dev/null
   2286 
   2287 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2288   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2289   # is not polluted with repeated "-I."
   2290   am__isrc=' -I$(srcdir)'
   2291   # test to see if srcdir already configured
   2292   if test -f $srcdir/config.status; then
   2293     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2294 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2295    { (exit 1); exit 1; }; }
   2296   fi
   2297 fi
   2298 
   2299 # test whether we have cygpath
   2300 if test -z "$CYGPATH_W"; then
   2301   if (cygpath --version) >/dev/null 2>/dev/null; then
   2302     CYGPATH_W='cygpath -w'
   2303   else
   2304     CYGPATH_W=echo
   2305   fi
   2306 fi
   2307 
   2308 
   2309 # Define the identity of the package.
   2310  PACKAGE='libFS'
   2311  VERSION='1.0.1'
   2312 
   2313 
   2314 cat >>confdefs.h <<_ACEOF
   2315 #define PACKAGE "$PACKAGE"
   2316 _ACEOF
   2317 
   2318 
   2319 cat >>confdefs.h <<_ACEOF
   2320 #define VERSION "$VERSION"
   2321 _ACEOF
   2322 
   2323 # Some tools Automake needs.
   2324 
   2325 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2326 
   2327 
   2328 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2329 
   2330 
   2331 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2332 
   2333 
   2334 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2335 
   2336 
   2337 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2338 
   2339 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2340 
   2341 # Installed binaries are usually stripped using `strip' when the user
   2342 # run `make install-strip'.  However `strip' might not be the right
   2343 # tool to use in cross-compilation environments, therefore Automake
   2344 # will honor the `STRIP' environment variable to overrule this program.
   2345 if test "$cross_compiling" != no; then
   2346   if test -n "$ac_tool_prefix"; then
   2347   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2348 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2351 if test "${ac_cv_prog_STRIP+set}" = set; then
   2352   echo $ECHO_N "(cached) $ECHO_C" >&6
   2353 else
   2354   if test -n "$STRIP"; then
   2355   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2356 else
   2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2358 for as_dir in $PATH
   2359 do
   2360   IFS=$as_save_IFS
   2361   test -z "$as_dir" && as_dir=.
   2362   for ac_exec_ext in '' $ac_executable_extensions; do
   2363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2364     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2365     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2366     break 2
   2367   fi
   2368 done
   2369 done
   2370 IFS=$as_save_IFS
   2371 
   2372 fi
   2373 fi
   2374 STRIP=$ac_cv_prog_STRIP
   2375 if test -n "$STRIP"; then
   2376   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2377 echo "${ECHO_T}$STRIP" >&6; }
   2378 else
   2379   { echo "$as_me:$LINENO: result: no" >&5
   2380 echo "${ECHO_T}no" >&6; }
   2381 fi
   2382 
   2383 
   2384 fi
   2385 if test -z "$ac_cv_prog_STRIP"; then
   2386   ac_ct_STRIP=$STRIP
   2387   # Extract the first word of "strip", so it can be a program name with args.
   2388 set dummy strip; ac_word=$2
   2389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2391 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2392   echo $ECHO_N "(cached) $ECHO_C" >&6
   2393 else
   2394   if test -n "$ac_ct_STRIP"; then
   2395   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2396 else
   2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2398 for as_dir in $PATH
   2399 do
   2400   IFS=$as_save_IFS
   2401   test -z "$as_dir" && as_dir=.
   2402   for ac_exec_ext in '' $ac_executable_extensions; do
   2403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2404     ac_cv_prog_ac_ct_STRIP="strip"
   2405     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2406     break 2
   2407   fi
   2408 done
   2409 done
   2410 IFS=$as_save_IFS
   2411 
   2412 fi
   2413 fi
   2414 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2415 if test -n "$ac_ct_STRIP"; then
   2416   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2417 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2418 else
   2419   { echo "$as_me:$LINENO: result: no" >&5
   2420 echo "${ECHO_T}no" >&6; }
   2421 fi
   2422 
   2423   if test "x$ac_ct_STRIP" = x; then
   2424     STRIP=":"
   2425   else
   2426     case $cross_compiling:$ac_tool_warned in
   2427 yes:)
   2428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2429 whose name does not start with the host triplet.  If you think this
   2430 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2432 whose name does not start with the host triplet.  If you think this
   2433 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2434 ac_tool_warned=yes ;;
   2435 esac
   2436     STRIP=$ac_ct_STRIP
   2437   fi
   2438 else
   2439   STRIP="$ac_cv_prog_STRIP"
   2440 fi
   2441 
   2442 fi
   2443 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2444 
   2445 # We need awk for the "check" target.  The system "awk" is bad on
   2446 # some platforms.
   2447 # Always define AMTAR for backward compatibility.
   2448 
   2449 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2450 
   2451 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2452 
   2453 
   2454 
   2455 
   2456 
   2457 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2458 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2459     # Check whether --enable-maintainer-mode was given.
   2460 if test "${enable_maintainer_mode+set}" = set; then
   2461   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2462 else
   2463   USE_MAINTAINER_MODE=no
   2464 fi
   2465 
   2466   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2467 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2468    if test $USE_MAINTAINER_MODE = yes; then
   2469   MAINTAINER_MODE_TRUE=
   2470   MAINTAINER_MODE_FALSE='#'
   2471 else
   2472   MAINTAINER_MODE_TRUE='#'
   2473   MAINTAINER_MODE_FALSE=
   2474 fi
   2475 
   2476   MAINT=$MAINTAINER_MODE_TRUE
   2477 
   2478 
   2479 
   2480 ac_config_headers="$ac_config_headers config.h"
   2481 
   2482 
   2483 # Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
   2484 
   2485 
   2486 	XORG_MACROS_needed_version=1.1
   2487 	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
   2488 	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2489 	{ echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
   2490 echo $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6; }
   2491 	XORG_MACROS_version=1.1.6
   2492 	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
   2493 	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2494 	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
   2495 		{ { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
   2496 echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
   2497    { (exit 1); exit 1; }; }
   2498 	fi
   2499 	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
   2500 		{ { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
   2501 echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
   2502    { (exit 1); exit 1; }; }
   2503 	fi
   2504 	{ echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
   2505 echo "${ECHO_T}yes, $XORG_MACROS_version" >&6; }
   2506 
   2507 
   2508 # Check for progs
   2509 ac_ext=c
   2510 ac_cpp='$CPP $CPPFLAGS'
   2511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2514 if test -n "$ac_tool_prefix"; then
   2515   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2516 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2519 if test "${ac_cv_prog_CC+set}" = set; then
   2520   echo $ECHO_N "(cached) $ECHO_C" >&6
   2521 else
   2522   if test -n "$CC"; then
   2523   ac_cv_prog_CC="$CC" # Let the user override the test.
   2524 else
   2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2526 for as_dir in $PATH
   2527 do
   2528   IFS=$as_save_IFS
   2529   test -z "$as_dir" && as_dir=.
   2530   for ac_exec_ext in '' $ac_executable_extensions; do
   2531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2532     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2533     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2534     break 2
   2535   fi
   2536 done
   2537 done
   2538 IFS=$as_save_IFS
   2539 
   2540 fi
   2541 fi
   2542 CC=$ac_cv_prog_CC
   2543 if test -n "$CC"; then
   2544   { echo "$as_me:$LINENO: result: $CC" >&5
   2545 echo "${ECHO_T}$CC" >&6; }
   2546 else
   2547   { echo "$as_me:$LINENO: result: no" >&5
   2548 echo "${ECHO_T}no" >&6; }
   2549 fi
   2550 
   2551 
   2552 fi
   2553 if test -z "$ac_cv_prog_CC"; then
   2554   ac_ct_CC=$CC
   2555   # Extract the first word of "gcc", so it can be a program name with args.
   2556 set dummy gcc; ac_word=$2
   2557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2560   echo $ECHO_N "(cached) $ECHO_C" >&6
   2561 else
   2562   if test -n "$ac_ct_CC"; then
   2563   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2564 else
   2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2566 for as_dir in $PATH
   2567 do
   2568   IFS=$as_save_IFS
   2569   test -z "$as_dir" && as_dir=.
   2570   for ac_exec_ext in '' $ac_executable_extensions; do
   2571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2572     ac_cv_prog_ac_ct_CC="gcc"
   2573     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2574     break 2
   2575   fi
   2576 done
   2577 done
   2578 IFS=$as_save_IFS
   2579 
   2580 fi
   2581 fi
   2582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2583 if test -n "$ac_ct_CC"; then
   2584   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2585 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2586 else
   2587   { echo "$as_me:$LINENO: result: no" >&5
   2588 echo "${ECHO_T}no" >&6; }
   2589 fi
   2590 
   2591   if test "x$ac_ct_CC" = x; then
   2592     CC=""
   2593   else
   2594     case $cross_compiling:$ac_tool_warned in
   2595 yes:)
   2596 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2597 whose name does not start with the host triplet.  If you think this
   2598 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2599 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2600 whose name does not start with the host triplet.  If you think this
   2601 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2602 ac_tool_warned=yes ;;
   2603 esac
   2604     CC=$ac_ct_CC
   2605   fi
   2606 else
   2607   CC="$ac_cv_prog_CC"
   2608 fi
   2609 
   2610 if test -z "$CC"; then
   2611           if test -n "$ac_tool_prefix"; then
   2612     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2613 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2616 if test "${ac_cv_prog_CC+set}" = set; then
   2617   echo $ECHO_N "(cached) $ECHO_C" >&6
   2618 else
   2619   if test -n "$CC"; then
   2620   ac_cv_prog_CC="$CC" # Let the user override the test.
   2621 else
   2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2623 for as_dir in $PATH
   2624 do
   2625   IFS=$as_save_IFS
   2626   test -z "$as_dir" && as_dir=.
   2627   for ac_exec_ext in '' $ac_executable_extensions; do
   2628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2629     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2630     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2631     break 2
   2632   fi
   2633 done
   2634 done
   2635 IFS=$as_save_IFS
   2636 
   2637 fi
   2638 fi
   2639 CC=$ac_cv_prog_CC
   2640 if test -n "$CC"; then
   2641   { echo "$as_me:$LINENO: result: $CC" >&5
   2642 echo "${ECHO_T}$CC" >&6; }
   2643 else
   2644   { echo "$as_me:$LINENO: result: no" >&5
   2645 echo "${ECHO_T}no" >&6; }
   2646 fi
   2647 
   2648 
   2649   fi
   2650 fi
   2651 if test -z "$CC"; then
   2652   # Extract the first word of "cc", so it can be a program name with args.
   2653 set dummy cc; ac_word=$2
   2654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2656 if test "${ac_cv_prog_CC+set}" = set; then
   2657   echo $ECHO_N "(cached) $ECHO_C" >&6
   2658 else
   2659   if test -n "$CC"; then
   2660   ac_cv_prog_CC="$CC" # Let the user override the test.
   2661 else
   2662   ac_prog_rejected=no
   2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2664 for as_dir in $PATH
   2665 do
   2666   IFS=$as_save_IFS
   2667   test -z "$as_dir" && as_dir=.
   2668   for ac_exec_ext in '' $ac_executable_extensions; do
   2669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2670     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2671        ac_prog_rejected=yes
   2672        continue
   2673      fi
   2674     ac_cv_prog_CC="cc"
   2675     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2676     break 2
   2677   fi
   2678 done
   2679 done
   2680 IFS=$as_save_IFS
   2681 
   2682 if test $ac_prog_rejected = yes; then
   2683   # We found a bogon in the path, so make sure we never use it.
   2684   set dummy $ac_cv_prog_CC
   2685   shift
   2686   if test $# != 0; then
   2687     # We chose a different compiler from the bogus one.
   2688     # However, it has the same basename, so the bogon will be chosen
   2689     # first if we set CC to just the basename; use the full file name.
   2690     shift
   2691     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2692   fi
   2693 fi
   2694 fi
   2695 fi
   2696 CC=$ac_cv_prog_CC
   2697 if test -n "$CC"; then
   2698   { echo "$as_me:$LINENO: result: $CC" >&5
   2699 echo "${ECHO_T}$CC" >&6; }
   2700 else
   2701   { echo "$as_me:$LINENO: result: no" >&5
   2702 echo "${ECHO_T}no" >&6; }
   2703 fi
   2704 
   2705 
   2706 fi
   2707 if test -z "$CC"; then
   2708   if test -n "$ac_tool_prefix"; then
   2709   for ac_prog in cl.exe
   2710   do
   2711     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2712 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2715 if test "${ac_cv_prog_CC+set}" = set; then
   2716   echo $ECHO_N "(cached) $ECHO_C" >&6
   2717 else
   2718   if test -n "$CC"; then
   2719   ac_cv_prog_CC="$CC" # Let the user override the test.
   2720 else
   2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2722 for as_dir in $PATH
   2723 do
   2724   IFS=$as_save_IFS
   2725   test -z "$as_dir" && as_dir=.
   2726   for ac_exec_ext in '' $ac_executable_extensions; do
   2727   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2728     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2729     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2730     break 2
   2731   fi
   2732 done
   2733 done
   2734 IFS=$as_save_IFS
   2735 
   2736 fi
   2737 fi
   2738 CC=$ac_cv_prog_CC
   2739 if test -n "$CC"; then
   2740   { echo "$as_me:$LINENO: result: $CC" >&5
   2741 echo "${ECHO_T}$CC" >&6; }
   2742 else
   2743   { echo "$as_me:$LINENO: result: no" >&5
   2744 echo "${ECHO_T}no" >&6; }
   2745 fi
   2746 
   2747 
   2748     test -n "$CC" && break
   2749   done
   2750 fi
   2751 if test -z "$CC"; then
   2752   ac_ct_CC=$CC
   2753   for ac_prog in cl.exe
   2754 do
   2755   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2756 set dummy $ac_prog; ac_word=$2
   2757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2759 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2760   echo $ECHO_N "(cached) $ECHO_C" >&6
   2761 else
   2762   if test -n "$ac_ct_CC"; then
   2763   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2764 else
   2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2766 for as_dir in $PATH
   2767 do
   2768   IFS=$as_save_IFS
   2769   test -z "$as_dir" && as_dir=.
   2770   for ac_exec_ext in '' $ac_executable_extensions; do
   2771   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2772     ac_cv_prog_ac_ct_CC="$ac_prog"
   2773     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2774     break 2
   2775   fi
   2776 done
   2777 done
   2778 IFS=$as_save_IFS
   2779 
   2780 fi
   2781 fi
   2782 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2783 if test -n "$ac_ct_CC"; then
   2784   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2785 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2786 else
   2787   { echo "$as_me:$LINENO: result: no" >&5
   2788 echo "${ECHO_T}no" >&6; }
   2789 fi
   2790 
   2791 
   2792   test -n "$ac_ct_CC" && break
   2793 done
   2794 
   2795   if test "x$ac_ct_CC" = x; then
   2796     CC=""
   2797   else
   2798     case $cross_compiling:$ac_tool_warned in
   2799 yes:)
   2800 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2801 whose name does not start with the host triplet.  If you think this
   2802 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2803 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2804 whose name does not start with the host triplet.  If you think this
   2805 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2806 ac_tool_warned=yes ;;
   2807 esac
   2808     CC=$ac_ct_CC
   2809   fi
   2810 fi
   2811 
   2812 fi
   2813 
   2814 
   2815 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2816 See \`config.log' for more details." >&5
   2817 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2818 See \`config.log' for more details." >&2;}
   2819    { (exit 1); exit 1; }; }
   2820 
   2821 # Provide some information about the compiler.
   2822 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2823 ac_compiler=`set X $ac_compile; echo $2`
   2824 { (ac_try="$ac_compiler --version >&5"
   2825 case "(($ac_try" in
   2826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2827   *) ac_try_echo=$ac_try;;
   2828 esac
   2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2830   (eval "$ac_compiler --version >&5") 2>&5
   2831   ac_status=$?
   2832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2833   (exit $ac_status); }
   2834 { (ac_try="$ac_compiler -v >&5"
   2835 case "(($ac_try" in
   2836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2837   *) ac_try_echo=$ac_try;;
   2838 esac
   2839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2840   (eval "$ac_compiler -v >&5") 2>&5
   2841   ac_status=$?
   2842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2843   (exit $ac_status); }
   2844 { (ac_try="$ac_compiler -V >&5"
   2845 case "(($ac_try" in
   2846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2847   *) ac_try_echo=$ac_try;;
   2848 esac
   2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2850   (eval "$ac_compiler -V >&5") 2>&5
   2851   ac_status=$?
   2852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2853   (exit $ac_status); }
   2854 
   2855 cat >conftest.$ac_ext <<_ACEOF
   2856 /* confdefs.h.  */
   2857 _ACEOF
   2858 cat confdefs.h >>conftest.$ac_ext
   2859 cat >>conftest.$ac_ext <<_ACEOF
   2860 /* end confdefs.h.  */
   2861 
   2862 int
   2863 main ()
   2864 {
   2865 
   2866   ;
   2867   return 0;
   2868 }
   2869 _ACEOF
   2870 ac_clean_files_save=$ac_clean_files
   2871 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2872 # Try to create an executable without -o first, disregard a.out.
   2873 # It will help us diagnose broken compilers, and finding out an intuition
   2874 # of exeext.
   2875 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2876 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2877 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2878 #
   2879 # List of possible output files, starting from the most likely.
   2880 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2881 # only as a last resort.  b.out is created by i960 compilers.
   2882 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2883 #
   2884 # The IRIX 6 linker writes into existing files which may not be
   2885 # executable, retaining their permissions.  Remove them first so a
   2886 # subsequent execution test works.
   2887 ac_rmfiles=
   2888 for ac_file in $ac_files
   2889 do
   2890   case $ac_file in
   2891     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2892     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2893   esac
   2894 done
   2895 rm -f $ac_rmfiles
   2896 
   2897 if { (ac_try="$ac_link_default"
   2898 case "(($ac_try" in
   2899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2900   *) ac_try_echo=$ac_try;;
   2901 esac
   2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2903   (eval "$ac_link_default") 2>&5
   2904   ac_status=$?
   2905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2906   (exit $ac_status); }; then
   2907   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2908 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2909 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2910 # so that the user can short-circuit this test for compilers unknown to
   2911 # Autoconf.
   2912 for ac_file in $ac_files ''
   2913 do
   2914   test -f "$ac_file" || continue
   2915   case $ac_file in
   2916     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2917 	;;
   2918     [ab].out )
   2919 	# We found the default executable, but exeext='' is most
   2920 	# certainly right.
   2921 	break;;
   2922     *.* )
   2923         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2924 	then :; else
   2925 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2926 	fi
   2927 	# We set ac_cv_exeext here because the later test for it is not
   2928 	# safe: cross compilers may not add the suffix if given an `-o'
   2929 	# argument, so we may need to know it at that point already.
   2930 	# Even if this section looks crufty: it has the advantage of
   2931 	# actually working.
   2932 	break;;
   2933     * )
   2934 	break;;
   2935   esac
   2936 done
   2937 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2938 
   2939 else
   2940   ac_file=''
   2941 fi
   2942 
   2943 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2944 echo "${ECHO_T}$ac_file" >&6; }
   2945 if test -z "$ac_file"; then
   2946   echo "$as_me: failed program was:" >&5
   2947 sed 's/^/| /' conftest.$ac_ext >&5
   2948 
   2949 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2950 See \`config.log' for more details." >&5
   2951 echo "$as_me: error: C compiler cannot create executables
   2952 See \`config.log' for more details." >&2;}
   2953    { (exit 77); exit 77; }; }
   2954 fi
   2955 
   2956 ac_exeext=$ac_cv_exeext
   2957 
   2958 # Check that the compiler produces executables we can run.  If not, either
   2959 # the compiler is broken, or we cross compile.
   2960 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2961 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2962 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2963 # If not cross compiling, check that we can run a simple program.
   2964 if test "$cross_compiling" != yes; then
   2965   if { ac_try='./$ac_file'
   2966   { (case "(($ac_try" in
   2967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2968   *) ac_try_echo=$ac_try;;
   2969 esac
   2970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2971   (eval "$ac_try") 2>&5
   2972   ac_status=$?
   2973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2974   (exit $ac_status); }; }; then
   2975     cross_compiling=no
   2976   else
   2977     if test "$cross_compiling" = maybe; then
   2978 	cross_compiling=yes
   2979     else
   2980 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2981 If you meant to cross compile, use \`--host'.
   2982 See \`config.log' for more details." >&5
   2983 echo "$as_me: error: cannot run C compiled programs.
   2984 If you meant to cross compile, use \`--host'.
   2985 See \`config.log' for more details." >&2;}
   2986    { (exit 1); exit 1; }; }
   2987     fi
   2988   fi
   2989 fi
   2990 { echo "$as_me:$LINENO: result: yes" >&5
   2991 echo "${ECHO_T}yes" >&6; }
   2992 
   2993 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2994 ac_clean_files=$ac_clean_files_save
   2995 # Check that the compiler produces executables we can run.  If not, either
   2996 # the compiler is broken, or we cross compile.
   2997 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2998 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2999 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3000 echo "${ECHO_T}$cross_compiling" >&6; }
   3001 
   3002 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3003 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3004 if { (ac_try="$ac_link"
   3005 case "(($ac_try" in
   3006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3007   *) ac_try_echo=$ac_try;;
   3008 esac
   3009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3010   (eval "$ac_link") 2>&5
   3011   ac_status=$?
   3012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3013   (exit $ac_status); }; then
   3014   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3015 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3016 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3017 # `rm'.
   3018 for ac_file in conftest.exe conftest conftest.*; do
   3019   test -f "$ac_file" || continue
   3020   case $ac_file in
   3021     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3022     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3023 	  break;;
   3024     * ) break;;
   3025   esac
   3026 done
   3027 else
   3028   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3029 See \`config.log' for more details." >&5
   3030 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3031 See \`config.log' for more details." >&2;}
   3032    { (exit 1); exit 1; }; }
   3033 fi
   3034 
   3035 rm -f conftest$ac_cv_exeext
   3036 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3037 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3038 
   3039 rm -f conftest.$ac_ext
   3040 EXEEXT=$ac_cv_exeext
   3041 ac_exeext=$EXEEXT
   3042 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3043 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3044 if test "${ac_cv_objext+set}" = set; then
   3045   echo $ECHO_N "(cached) $ECHO_C" >&6
   3046 else
   3047   cat >conftest.$ac_ext <<_ACEOF
   3048 /* confdefs.h.  */
   3049 _ACEOF
   3050 cat confdefs.h >>conftest.$ac_ext
   3051 cat >>conftest.$ac_ext <<_ACEOF
   3052 /* end confdefs.h.  */
   3053 
   3054 int
   3055 main ()
   3056 {
   3057 
   3058   ;
   3059   return 0;
   3060 }
   3061 _ACEOF
   3062 rm -f conftest.o conftest.obj
   3063 if { (ac_try="$ac_compile"
   3064 case "(($ac_try" in
   3065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3066   *) ac_try_echo=$ac_try;;
   3067 esac
   3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3069   (eval "$ac_compile") 2>&5
   3070   ac_status=$?
   3071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3072   (exit $ac_status); }; then
   3073   for ac_file in conftest.o conftest.obj conftest.*; do
   3074   test -f "$ac_file" || continue;
   3075   case $ac_file in
   3076     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3077     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3078        break;;
   3079   esac
   3080 done
   3081 else
   3082   echo "$as_me: failed program was:" >&5
   3083 sed 's/^/| /' conftest.$ac_ext >&5
   3084 
   3085 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3086 See \`config.log' for more details." >&5
   3087 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3088 See \`config.log' for more details." >&2;}
   3089    { (exit 1); exit 1; }; }
   3090 fi
   3091 
   3092 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3093 fi
   3094 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3095 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3096 OBJEXT=$ac_cv_objext
   3097 ac_objext=$OBJEXT
   3098 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3099 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3100 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3101   echo $ECHO_N "(cached) $ECHO_C" >&6
   3102 else
   3103   cat >conftest.$ac_ext <<_ACEOF
   3104 /* confdefs.h.  */
   3105 _ACEOF
   3106 cat confdefs.h >>conftest.$ac_ext
   3107 cat >>conftest.$ac_ext <<_ACEOF
   3108 /* end confdefs.h.  */
   3109 
   3110 int
   3111 main ()
   3112 {
   3113 #ifndef __GNUC__
   3114        choke me
   3115 #endif
   3116 
   3117   ;
   3118   return 0;
   3119 }
   3120 _ACEOF
   3121 rm -f conftest.$ac_objext
   3122 if { (ac_try="$ac_compile"
   3123 case "(($ac_try" in
   3124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3125   *) ac_try_echo=$ac_try;;
   3126 esac
   3127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3128   (eval "$ac_compile") 2>conftest.er1
   3129   ac_status=$?
   3130   grep -v '^ *+' conftest.er1 >conftest.err
   3131   rm -f conftest.er1
   3132   cat conftest.err >&5
   3133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3134   (exit $ac_status); } && {
   3135 	 test -z "$ac_c_werror_flag" ||
   3136 	 test ! -s conftest.err
   3137        } && test -s conftest.$ac_objext; then
   3138   ac_compiler_gnu=yes
   3139 else
   3140   echo "$as_me: failed program was:" >&5
   3141 sed 's/^/| /' conftest.$ac_ext >&5
   3142 
   3143 	ac_compiler_gnu=no
   3144 fi
   3145 
   3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3148 
   3149 fi
   3150 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3151 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3152 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3153 ac_test_CFLAGS=${CFLAGS+set}
   3154 ac_save_CFLAGS=$CFLAGS
   3155 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3156 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3157 if test "${ac_cv_prog_cc_g+set}" = set; then
   3158   echo $ECHO_N "(cached) $ECHO_C" >&6
   3159 else
   3160   ac_save_c_werror_flag=$ac_c_werror_flag
   3161    ac_c_werror_flag=yes
   3162    ac_cv_prog_cc_g=no
   3163    CFLAGS="-g"
   3164    cat >conftest.$ac_ext <<_ACEOF
   3165 /* confdefs.h.  */
   3166 _ACEOF
   3167 cat confdefs.h >>conftest.$ac_ext
   3168 cat >>conftest.$ac_ext <<_ACEOF
   3169 /* end confdefs.h.  */
   3170 
   3171 int
   3172 main ()
   3173 {
   3174 
   3175   ;
   3176   return 0;
   3177 }
   3178 _ACEOF
   3179 rm -f conftest.$ac_objext
   3180 if { (ac_try="$ac_compile"
   3181 case "(($ac_try" in
   3182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3183   *) ac_try_echo=$ac_try;;
   3184 esac
   3185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3186   (eval "$ac_compile") 2>conftest.er1
   3187   ac_status=$?
   3188   grep -v '^ *+' conftest.er1 >conftest.err
   3189   rm -f conftest.er1
   3190   cat conftest.err >&5
   3191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3192   (exit $ac_status); } && {
   3193 	 test -z "$ac_c_werror_flag" ||
   3194 	 test ! -s conftest.err
   3195        } && test -s conftest.$ac_objext; then
   3196   ac_cv_prog_cc_g=yes
   3197 else
   3198   echo "$as_me: failed program was:" >&5
   3199 sed 's/^/| /' conftest.$ac_ext >&5
   3200 
   3201 	CFLAGS=""
   3202       cat >conftest.$ac_ext <<_ACEOF
   3203 /* confdefs.h.  */
   3204 _ACEOF
   3205 cat confdefs.h >>conftest.$ac_ext
   3206 cat >>conftest.$ac_ext <<_ACEOF
   3207 /* end confdefs.h.  */
   3208 
   3209 int
   3210 main ()
   3211 {
   3212 
   3213   ;
   3214   return 0;
   3215 }
   3216 _ACEOF
   3217 rm -f conftest.$ac_objext
   3218 if { (ac_try="$ac_compile"
   3219 case "(($ac_try" in
   3220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3221   *) ac_try_echo=$ac_try;;
   3222 esac
   3223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3224   (eval "$ac_compile") 2>conftest.er1
   3225   ac_status=$?
   3226   grep -v '^ *+' conftest.er1 >conftest.err
   3227   rm -f conftest.er1
   3228   cat conftest.err >&5
   3229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3230   (exit $ac_status); } && {
   3231 	 test -z "$ac_c_werror_flag" ||
   3232 	 test ! -s conftest.err
   3233        } && test -s conftest.$ac_objext; then
   3234   :
   3235 else
   3236   echo "$as_me: failed program was:" >&5
   3237 sed 's/^/| /' conftest.$ac_ext >&5
   3238 
   3239 	ac_c_werror_flag=$ac_save_c_werror_flag
   3240 	 CFLAGS="-g"
   3241 	 cat >conftest.$ac_ext <<_ACEOF
   3242 /* confdefs.h.  */
   3243 _ACEOF
   3244 cat confdefs.h >>conftest.$ac_ext
   3245 cat >>conftest.$ac_ext <<_ACEOF
   3246 /* end confdefs.h.  */
   3247 
   3248 int
   3249 main ()
   3250 {
   3251 
   3252   ;
   3253   return 0;
   3254 }
   3255 _ACEOF
   3256 rm -f conftest.$ac_objext
   3257 if { (ac_try="$ac_compile"
   3258 case "(($ac_try" in
   3259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3260   *) ac_try_echo=$ac_try;;
   3261 esac
   3262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3263   (eval "$ac_compile") 2>conftest.er1
   3264   ac_status=$?
   3265   grep -v '^ *+' conftest.er1 >conftest.err
   3266   rm -f conftest.er1
   3267   cat conftest.err >&5
   3268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3269   (exit $ac_status); } && {
   3270 	 test -z "$ac_c_werror_flag" ||
   3271 	 test ! -s conftest.err
   3272        } && test -s conftest.$ac_objext; then
   3273   ac_cv_prog_cc_g=yes
   3274 else
   3275   echo "$as_me: failed program was:" >&5
   3276 sed 's/^/| /' conftest.$ac_ext >&5
   3277 
   3278 
   3279 fi
   3280 
   3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3282 fi
   3283 
   3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3285 fi
   3286 
   3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3288    ac_c_werror_flag=$ac_save_c_werror_flag
   3289 fi
   3290 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3291 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3292 if test "$ac_test_CFLAGS" = set; then
   3293   CFLAGS=$ac_save_CFLAGS
   3294 elif test $ac_cv_prog_cc_g = yes; then
   3295   if test "$GCC" = yes; then
   3296     CFLAGS="-g -O2"
   3297   else
   3298     CFLAGS="-g"
   3299   fi
   3300 else
   3301   if test "$GCC" = yes; then
   3302     CFLAGS="-O2"
   3303   else
   3304     CFLAGS=
   3305   fi
   3306 fi
   3307 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3308 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3309 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3310   echo $ECHO_N "(cached) $ECHO_C" >&6
   3311 else
   3312   ac_cv_prog_cc_c89=no
   3313 ac_save_CC=$CC
   3314 cat >conftest.$ac_ext <<_ACEOF
   3315 /* confdefs.h.  */
   3316 _ACEOF
   3317 cat confdefs.h >>conftest.$ac_ext
   3318 cat >>conftest.$ac_ext <<_ACEOF
   3319 /* end confdefs.h.  */
   3320 #include <stdarg.h>
   3321 #include <stdio.h>
   3322 #include <sys/types.h>
   3323 #include <sys/stat.h>
   3324 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3325 struct buf { int x; };
   3326 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3327 static char *e (p, i)
   3328      char **p;
   3329      int i;
   3330 {
   3331   return p[i];
   3332 }
   3333 static char *f (char * (*g) (char **, int), char **p, ...)
   3334 {
   3335   char *s;
   3336   va_list v;
   3337   va_start (v,p);
   3338   s = g (p, va_arg (v,int));
   3339   va_end (v);
   3340   return s;
   3341 }
   3342 
   3343 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3344    function prototypes and stuff, but not '\xHH' hex character constants.
   3345    These don't provoke an error unfortunately, instead are silently treated
   3346    as 'x'.  The following induces an error, until -std is added to get
   3347    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3348    array size at least.  It's necessary to write '\x00'==0 to get something
   3349    that's true only with -std.  */
   3350 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3351 
   3352 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3353    inside strings and character constants.  */
   3354 #define FOO(x) 'x'
   3355 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3356 
   3357 int test (int i, double x);
   3358 struct s1 {int (*f) (int a);};
   3359 struct s2 {int (*f) (double a);};
   3360 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3361 int argc;
   3362 char **argv;
   3363 int
   3364 main ()
   3365 {
   3366 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3367   ;
   3368   return 0;
   3369 }
   3370 _ACEOF
   3371 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3372 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3373 do
   3374   CC="$ac_save_CC $ac_arg"
   3375   rm -f conftest.$ac_objext
   3376 if { (ac_try="$ac_compile"
   3377 case "(($ac_try" in
   3378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3379   *) ac_try_echo=$ac_try;;
   3380 esac
   3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3382   (eval "$ac_compile") 2>conftest.er1
   3383   ac_status=$?
   3384   grep -v '^ *+' conftest.er1 >conftest.err
   3385   rm -f conftest.er1
   3386   cat conftest.err >&5
   3387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3388   (exit $ac_status); } && {
   3389 	 test -z "$ac_c_werror_flag" ||
   3390 	 test ! -s conftest.err
   3391        } && test -s conftest.$ac_objext; then
   3392   ac_cv_prog_cc_c89=$ac_arg
   3393 else
   3394   echo "$as_me: failed program was:" >&5
   3395 sed 's/^/| /' conftest.$ac_ext >&5
   3396 
   3397 
   3398 fi
   3399 
   3400 rm -f core conftest.err conftest.$ac_objext
   3401   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3402 done
   3403 rm -f conftest.$ac_ext
   3404 CC=$ac_save_CC
   3405 
   3406 fi
   3407 # AC_CACHE_VAL
   3408 case "x$ac_cv_prog_cc_c89" in
   3409   x)
   3410     { echo "$as_me:$LINENO: result: none needed" >&5
   3411 echo "${ECHO_T}none needed" >&6; } ;;
   3412   xno)
   3413     { echo "$as_me:$LINENO: result: unsupported" >&5
   3414 echo "${ECHO_T}unsupported" >&6; } ;;
   3415   *)
   3416     CC="$CC $ac_cv_prog_cc_c89"
   3417     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3418 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3419 esac
   3420 
   3421 
   3422 ac_ext=c
   3423 ac_cpp='$CPP $CPPFLAGS'
   3424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3427 DEPDIR="${am__leading_dot}deps"
   3428 
   3429 ac_config_commands="$ac_config_commands depfiles"
   3430 
   3431 
   3432 am_make=${MAKE-make}
   3433 cat > confinc << 'END'
   3434 am__doit:
   3435 	@echo done
   3436 .PHONY: am__doit
   3437 END
   3438 # If we don't find an include directive, just comment out the code.
   3439 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3440 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3441 am__include="#"
   3442 am__quote=
   3443 _am_result=none
   3444 # First try GNU make style include.
   3445 echo "include confinc" > confmf
   3446 # We grep out `Entering directory' and `Leaving directory'
   3447 # messages which can occur if `w' ends up in MAKEFLAGS.
   3448 # In particular we don't look at `^make:' because GNU make might
   3449 # be invoked under some other name (usually "gmake"), in which
   3450 # case it prints its new name instead of `make'.
   3451 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3452    am__include=include
   3453    am__quote=
   3454    _am_result=GNU
   3455 fi
   3456 # Now try BSD make style include.
   3457 if test "$am__include" = "#"; then
   3458    echo '.include "confinc"' > confmf
   3459    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3460       am__include=.include
   3461       am__quote="\""
   3462       _am_result=BSD
   3463    fi
   3464 fi
   3465 
   3466 
   3467 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3468 echo "${ECHO_T}$_am_result" >&6; }
   3469 rm -f confinc confmf
   3470 
   3471 # Check whether --enable-dependency-tracking was given.
   3472 if test "${enable_dependency_tracking+set}" = set; then
   3473   enableval=$enable_dependency_tracking;
   3474 fi
   3475 
   3476 if test "x$enable_dependency_tracking" != xno; then
   3477   am_depcomp="$ac_aux_dir/depcomp"
   3478   AMDEPBACKSLASH='\'
   3479 fi
   3480  if test "x$enable_dependency_tracking" != xno; then
   3481   AMDEP_TRUE=
   3482   AMDEP_FALSE='#'
   3483 else
   3484   AMDEP_TRUE='#'
   3485   AMDEP_FALSE=
   3486 fi
   3487 
   3488 
   3489 
   3490 depcc="$CC"   am_compiler_list=
   3491 
   3492 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3493 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3494 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3495   echo $ECHO_N "(cached) $ECHO_C" >&6
   3496 else
   3497   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3498   # We make a subdir and do the tests there.  Otherwise we can end up
   3499   # making bogus files that we don't know about and never remove.  For
   3500   # instance it was reported that on HP-UX the gcc test will end up
   3501   # making a dummy file named `D' -- because `-MD' means `put the output
   3502   # in D'.
   3503   mkdir conftest.dir
   3504   # Copy depcomp to subdir because otherwise we won't find it if we're
   3505   # using a relative directory.
   3506   cp "$am_depcomp" conftest.dir
   3507   cd conftest.dir
   3508   # We will build objects and dependencies in a subdirectory because
   3509   # it helps to detect inapplicable dependency modes.  For instance
   3510   # both Tru64's cc and ICC support -MD to output dependencies as a
   3511   # side effect of compilation, but ICC will put the dependencies in
   3512   # the current directory while Tru64 will put them in the object
   3513   # directory.
   3514   mkdir sub
   3515 
   3516   am_cv_CC_dependencies_compiler_type=none
   3517   if test "$am_compiler_list" = ""; then
   3518      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3519   fi
   3520   for depmode in $am_compiler_list; do
   3521     # Setup a source with many dependencies, because some compilers
   3522     # like to wrap large dependency lists on column 80 (with \), and
   3523     # we should not choose a depcomp mode which is confused by this.
   3524     #
   3525     # We need to recreate these files for each test, as the compiler may
   3526     # overwrite some of them when testing with obscure command lines.
   3527     # This happens at least with the AIX C compiler.
   3528     : > sub/conftest.c
   3529     for i in 1 2 3 4 5 6; do
   3530       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3531       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3532       # Solaris 8's {/usr,}/bin/sh.
   3533       touch sub/conftst$i.h
   3534     done
   3535     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3536 
   3537     case $depmode in
   3538     nosideeffect)
   3539       # after this tag, mechanisms are not by side-effect, so they'll
   3540       # only be used when explicitly requested
   3541       if test "x$enable_dependency_tracking" = xyes; then
   3542 	continue
   3543       else
   3544 	break
   3545       fi
   3546       ;;
   3547     none) break ;;
   3548     esac
   3549     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3550     # mode.  It turns out that the SunPro C++ compiler does not properly
   3551     # handle `-M -o', and we need to detect this.
   3552     if depmode=$depmode \
   3553        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3554        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3555        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3556          >/dev/null 2>conftest.err &&
   3557        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3558        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3559        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3560        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3561       # icc doesn't choke on unknown options, it will just issue warnings
   3562       # or remarks (even with -Werror).  So we grep stderr for any message
   3563       # that says an option was ignored or not supported.
   3564       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3565       #   icc: Command line warning: ignoring option '-M'; no argument required
   3566       # The diagnosis changed in icc 8.0:
   3567       #   icc: Command line remark: option '-MP' not supported
   3568       if (grep 'ignoring option' conftest.err ||
   3569           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3570         am_cv_CC_dependencies_compiler_type=$depmode
   3571         break
   3572       fi
   3573     fi
   3574   done
   3575 
   3576   cd ..
   3577   rm -rf conftest.dir
   3578 else
   3579   am_cv_CC_dependencies_compiler_type=none
   3580 fi
   3581 
   3582 fi
   3583 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3584 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3585 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3586 
   3587  if
   3588   test "x$enable_dependency_tracking" != xno \
   3589   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3590   am__fastdepCC_TRUE=
   3591   am__fastdepCC_FALSE='#'
   3592 else
   3593   am__fastdepCC_TRUE='#'
   3594   am__fastdepCC_FALSE=
   3595 fi
   3596 
   3597 
   3598 # Check whether --enable-shared was given.
   3599 if test "${enable_shared+set}" = set; then
   3600   enableval=$enable_shared; p=${PACKAGE-default}
   3601     case $enableval in
   3602     yes) enable_shared=yes ;;
   3603     no) enable_shared=no ;;
   3604     *)
   3605       enable_shared=no
   3606       # Look at the argument we got.  We use all the common list separators.
   3607       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3608       for pkg in $enableval; do
   3609 	IFS="$lt_save_ifs"
   3610 	if test "X$pkg" = "X$p"; then
   3611 	  enable_shared=yes
   3612 	fi
   3613       done
   3614       IFS="$lt_save_ifs"
   3615       ;;
   3616     esac
   3617 else
   3618   enable_shared=yes
   3619 fi
   3620 
   3621 
   3622 # Check whether --enable-static was given.
   3623 if test "${enable_static+set}" = set; then
   3624   enableval=$enable_static; p=${PACKAGE-default}
   3625     case $enableval in
   3626     yes) enable_static=yes ;;
   3627     no) enable_static=no ;;
   3628     *)
   3629      enable_static=no
   3630       # Look at the argument we got.  We use all the common list separators.
   3631       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3632       for pkg in $enableval; do
   3633 	IFS="$lt_save_ifs"
   3634 	if test "X$pkg" = "X$p"; then
   3635 	  enable_static=yes
   3636 	fi
   3637       done
   3638       IFS="$lt_save_ifs"
   3639       ;;
   3640     esac
   3641 else
   3642   enable_static=yes
   3643 fi
   3644 
   3645 
   3646 # Check whether --enable-fast-install was given.
   3647 if test "${enable_fast_install+set}" = set; then
   3648   enableval=$enable_fast_install; p=${PACKAGE-default}
   3649     case $enableval in
   3650     yes) enable_fast_install=yes ;;
   3651     no) enable_fast_install=no ;;
   3652     *)
   3653       enable_fast_install=no
   3654       # Look at the argument we got.  We use all the common list separators.
   3655       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3656       for pkg in $enableval; do
   3657 	IFS="$lt_save_ifs"
   3658 	if test "X$pkg" = "X$p"; then
   3659 	  enable_fast_install=yes
   3660 	fi
   3661       done
   3662       IFS="$lt_save_ifs"
   3663       ;;
   3664     esac
   3665 else
   3666   enable_fast_install=yes
   3667 fi
   3668 
   3669 
   3670 # Make sure we can run config.sub.
   3671 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3672   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3673 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3674    { (exit 1); exit 1; }; }
   3675 
   3676 { echo "$as_me:$LINENO: checking build system type" >&5
   3677 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3678 if test "${ac_cv_build+set}" = set; then
   3679   echo $ECHO_N "(cached) $ECHO_C" >&6
   3680 else
   3681   ac_build_alias=$build_alias
   3682 test "x$ac_build_alias" = x &&
   3683   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3684 test "x$ac_build_alias" = x &&
   3685   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3686 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3687    { (exit 1); exit 1; }; }
   3688 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3689   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3690 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3691    { (exit 1); exit 1; }; }
   3692 
   3693 fi
   3694 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3695 echo "${ECHO_T}$ac_cv_build" >&6; }
   3696 case $ac_cv_build in
   3697 *-*-*) ;;
   3698 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3699 echo "$as_me: error: invalid value of canonical build" >&2;}
   3700    { (exit 1); exit 1; }; };;
   3701 esac
   3702 build=$ac_cv_build
   3703 ac_save_IFS=$IFS; IFS='-'
   3704 set x $ac_cv_build
   3705 shift
   3706 build_cpu=$1
   3707 build_vendor=$2
   3708 shift; shift
   3709 # Remember, the first character of IFS is used to create $*,
   3710 # except with old shells:
   3711 build_os=$*
   3712 IFS=$ac_save_IFS
   3713 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3714 
   3715 
   3716 { echo "$as_me:$LINENO: checking host system type" >&5
   3717 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3718 if test "${ac_cv_host+set}" = set; then
   3719   echo $ECHO_N "(cached) $ECHO_C" >&6
   3720 else
   3721   if test "x$host_alias" = x; then
   3722   ac_cv_host=$ac_cv_build
   3723 else
   3724   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3725     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3726 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3727    { (exit 1); exit 1; }; }
   3728 fi
   3729 
   3730 fi
   3731 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3732 echo "${ECHO_T}$ac_cv_host" >&6; }
   3733 case $ac_cv_host in
   3734 *-*-*) ;;
   3735 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3736 echo "$as_me: error: invalid value of canonical host" >&2;}
   3737    { (exit 1); exit 1; }; };;
   3738 esac
   3739 host=$ac_cv_host
   3740 ac_save_IFS=$IFS; IFS='-'
   3741 set x $ac_cv_host
   3742 shift
   3743 host_cpu=$1
   3744 host_vendor=$2
   3745 shift; shift
   3746 # Remember, the first character of IFS is used to create $*,
   3747 # except with old shells:
   3748 host_os=$*
   3749 IFS=$ac_save_IFS
   3750 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3751 
   3752 
   3753 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3754 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3755 if test "${lt_cv_path_SED+set}" = set; then
   3756   echo $ECHO_N "(cached) $ECHO_C" >&6
   3757 else
   3758   # Loop through the user's path and test for sed and gsed.
   3759 # Then use that list of sed's as ones to test for truncation.
   3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3761 for as_dir in $PATH
   3762 do
   3763   IFS=$as_save_IFS
   3764   test -z "$as_dir" && as_dir=.
   3765   for lt_ac_prog in sed gsed; do
   3766     for ac_exec_ext in '' $ac_executable_extensions; do
   3767       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3768         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3769       fi
   3770     done
   3771   done
   3772 done
   3773 lt_ac_max=0
   3774 lt_ac_count=0
   3775 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3776 # along with /bin/sed that truncates output.
   3777 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3778   test ! -f $lt_ac_sed && continue
   3779   cat /dev/null > conftest.in
   3780   lt_ac_count=0
   3781   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3782   # Check for GNU sed and select it if it is found.
   3783   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3784     lt_cv_path_SED=$lt_ac_sed
   3785     break
   3786   fi
   3787   while true; do
   3788     cat conftest.in conftest.in >conftest.tmp
   3789     mv conftest.tmp conftest.in
   3790     cp conftest.in conftest.nl
   3791     echo >>conftest.nl
   3792     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3793     cmp -s conftest.out conftest.nl || break
   3794     # 10000 chars as input seems more than enough
   3795     test $lt_ac_count -gt 10 && break
   3796     lt_ac_count=`expr $lt_ac_count + 1`
   3797     if test $lt_ac_count -gt $lt_ac_max; then
   3798       lt_ac_max=$lt_ac_count
   3799       lt_cv_path_SED=$lt_ac_sed
   3800     fi
   3801   done
   3802 done
   3803 
   3804 fi
   3805 
   3806 SED=$lt_cv_path_SED
   3807 { echo "$as_me:$LINENO: result: $SED" >&5
   3808 echo "${ECHO_T}$SED" >&6; }
   3809 
   3810 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3811 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3812 if test "${ac_cv_path_GREP+set}" = set; then
   3813   echo $ECHO_N "(cached) $ECHO_C" >&6
   3814 else
   3815   # Extract the first word of "grep ggrep" to use in msg output
   3816 if test -z "$GREP"; then
   3817 set dummy grep ggrep; ac_prog_name=$2
   3818 if test "${ac_cv_path_GREP+set}" = set; then
   3819   echo $ECHO_N "(cached) $ECHO_C" >&6
   3820 else
   3821   ac_path_GREP_found=false
   3822 # Loop through the user's path and test for each of PROGNAME-LIST
   3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3824 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3825 do
   3826   IFS=$as_save_IFS
   3827   test -z "$as_dir" && as_dir=.
   3828   for ac_prog in grep ggrep; do
   3829   for ac_exec_ext in '' $ac_executable_extensions; do
   3830     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3831     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3832     # Check for GNU ac_path_GREP and select it if it is found.
   3833   # Check for GNU $ac_path_GREP
   3834 case `"$ac_path_GREP" --version 2>&1` in
   3835 *GNU*)
   3836   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3837 *)
   3838   ac_count=0
   3839   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3840   while :
   3841   do
   3842     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3843     mv "conftest.tmp" "conftest.in"
   3844     cp "conftest.in" "conftest.nl"
   3845     echo 'GREP' >> "conftest.nl"
   3846     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3847     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3848     ac_count=`expr $ac_count + 1`
   3849     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3850       # Best one so far, save it but keep looking for a better one
   3851       ac_cv_path_GREP="$ac_path_GREP"
   3852       ac_path_GREP_max=$ac_count
   3853     fi
   3854     # 10*(2^10) chars as input seems more than enough
   3855     test $ac_count -gt 10 && break
   3856   done
   3857   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3858 esac
   3859 
   3860 
   3861     $ac_path_GREP_found && break 3
   3862   done
   3863 done
   3864 
   3865 done
   3866 IFS=$as_save_IFS
   3867 
   3868 
   3869 fi
   3870 
   3871 GREP="$ac_cv_path_GREP"
   3872 if test -z "$GREP"; then
   3873   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3874 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3875    { (exit 1); exit 1; }; }
   3876 fi
   3877 
   3878 else
   3879   ac_cv_path_GREP=$GREP
   3880 fi
   3881 
   3882 
   3883 fi
   3884 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3885 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3886  GREP="$ac_cv_path_GREP"
   3887 
   3888 
   3889 { echo "$as_me:$LINENO: checking for egrep" >&5
   3890 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3891 if test "${ac_cv_path_EGREP+set}" = set; then
   3892   echo $ECHO_N "(cached) $ECHO_C" >&6
   3893 else
   3894   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3895    then ac_cv_path_EGREP="$GREP -E"
   3896    else
   3897      # Extract the first word of "egrep" to use in msg output
   3898 if test -z "$EGREP"; then
   3899 set dummy egrep; ac_prog_name=$2
   3900 if test "${ac_cv_path_EGREP+set}" = set; then
   3901   echo $ECHO_N "(cached) $ECHO_C" >&6
   3902 else
   3903   ac_path_EGREP_found=false
   3904 # Loop through the user's path and test for each of PROGNAME-LIST
   3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3906 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3907 do
   3908   IFS=$as_save_IFS
   3909   test -z "$as_dir" && as_dir=.
   3910   for ac_prog in egrep; do
   3911   for ac_exec_ext in '' $ac_executable_extensions; do
   3912     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3913     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3914     # Check for GNU ac_path_EGREP and select it if it is found.
   3915   # Check for GNU $ac_path_EGREP
   3916 case `"$ac_path_EGREP" --version 2>&1` in
   3917 *GNU*)
   3918   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3919 *)
   3920   ac_count=0
   3921   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3922   while :
   3923   do
   3924     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3925     mv "conftest.tmp" "conftest.in"
   3926     cp "conftest.in" "conftest.nl"
   3927     echo 'EGREP' >> "conftest.nl"
   3928     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3929     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3930     ac_count=`expr $ac_count + 1`
   3931     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3932       # Best one so far, save it but keep looking for a better one
   3933       ac_cv_path_EGREP="$ac_path_EGREP"
   3934       ac_path_EGREP_max=$ac_count
   3935     fi
   3936     # 10*(2^10) chars as input seems more than enough
   3937     test $ac_count -gt 10 && break
   3938   done
   3939   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3940 esac
   3941 
   3942 
   3943     $ac_path_EGREP_found && break 3
   3944   done
   3945 done
   3946 
   3947 done
   3948 IFS=$as_save_IFS
   3949 
   3950 
   3951 fi
   3952 
   3953 EGREP="$ac_cv_path_EGREP"
   3954 if test -z "$EGREP"; then
   3955   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3956 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3957    { (exit 1); exit 1; }; }
   3958 fi
   3959 
   3960 else
   3961   ac_cv_path_EGREP=$EGREP
   3962 fi
   3963 
   3964 
   3965    fi
   3966 fi
   3967 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3968 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3969  EGREP="$ac_cv_path_EGREP"
   3970 
   3971 
   3972 
   3973 # Check whether --with-gnu-ld was given.
   3974 if test "${with_gnu_ld+set}" = set; then
   3975   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3976 else
   3977   with_gnu_ld=no
   3978 fi
   3979 
   3980 ac_prog=ld
   3981 if test "$GCC" = yes; then
   3982   # Check if gcc -print-prog-name=ld gives a path.
   3983   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3984 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3985   case $host in
   3986   *-*-mingw*)
   3987     # gcc leaves a trailing carriage return which upsets mingw
   3988     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3989   *)
   3990     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3991   esac
   3992   case $ac_prog in
   3993     # Accept absolute paths.
   3994     [\\/]* | ?:[\\/]*)
   3995       re_direlt='/[^/][^/]*/\.\./'
   3996       # Canonicalize the pathname of ld
   3997       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3998       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3999 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4000       done
   4001       test -z "$LD" && LD="$ac_prog"
   4002       ;;
   4003   "")
   4004     # If it fails, then pretend we aren't using GCC.
   4005     ac_prog=ld
   4006     ;;
   4007   *)
   4008     # If it is relative, then search for the first ld in PATH.
   4009     with_gnu_ld=unknown
   4010     ;;
   4011   esac
   4012 elif test "$with_gnu_ld" = yes; then
   4013   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4014 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4015 else
   4016   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4017 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4018 fi
   4019 if test "${lt_cv_path_LD+set}" = set; then
   4020   echo $ECHO_N "(cached) $ECHO_C" >&6
   4021 else
   4022   if test -z "$LD"; then
   4023   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4024   for ac_dir in $PATH; do
   4025     IFS="$lt_save_ifs"
   4026     test -z "$ac_dir" && ac_dir=.
   4027     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4028       lt_cv_path_LD="$ac_dir/$ac_prog"
   4029       # Check to see if the program is GNU ld.  I'd rather use --version,
   4030       # but apparently some variants of GNU ld only accept -v.
   4031       # Break only if it was the GNU/non-GNU ld that we prefer.
   4032       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4033       *GNU* | *'with BFD'*)
   4034 	test "$with_gnu_ld" != no && break
   4035 	;;
   4036       *)
   4037 	test "$with_gnu_ld" != yes && break
   4038 	;;
   4039       esac
   4040     fi
   4041   done
   4042   IFS="$lt_save_ifs"
   4043 else
   4044   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4045 fi
   4046 fi
   4047 
   4048 LD="$lt_cv_path_LD"
   4049 if test -n "$LD"; then
   4050   { echo "$as_me:$LINENO: result: $LD" >&5
   4051 echo "${ECHO_T}$LD" >&6; }
   4052 else
   4053   { echo "$as_me:$LINENO: result: no" >&5
   4054 echo "${ECHO_T}no" >&6; }
   4055 fi
   4056 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4057 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4058    { (exit 1); exit 1; }; }
   4059 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4060 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4061 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4062   echo $ECHO_N "(cached) $ECHO_C" >&6
   4063 else
   4064   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4065 case `$LD -v 2>&1 </dev/null` in
   4066 *GNU* | *'with BFD'*)
   4067   lt_cv_prog_gnu_ld=yes
   4068   ;;
   4069 *)
   4070   lt_cv_prog_gnu_ld=no
   4071   ;;
   4072 esac
   4073 fi
   4074 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4075 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4076 with_gnu_ld=$lt_cv_prog_gnu_ld
   4077 
   4078 
   4079 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4080 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4081 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4082   echo $ECHO_N "(cached) $ECHO_C" >&6
   4083 else
   4084   lt_cv_ld_reload_flag='-r'
   4085 fi
   4086 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4087 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4088 reload_flag=$lt_cv_ld_reload_flag
   4089 case $reload_flag in
   4090 "" | " "*) ;;
   4091 *) reload_flag=" $reload_flag" ;;
   4092 esac
   4093 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4094 case $host_os in
   4095   darwin*)
   4096     if test "$GCC" = yes; then
   4097       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4098     else
   4099       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4100     fi
   4101     ;;
   4102 esac
   4103 
   4104 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4105 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4106 if test "${lt_cv_path_NM+set}" = set; then
   4107   echo $ECHO_N "(cached) $ECHO_C" >&6
   4108 else
   4109   if test -n "$NM"; then
   4110   # Let the user override the test.
   4111   lt_cv_path_NM="$NM"
   4112 else
   4113   lt_nm_to_check="${ac_tool_prefix}nm"
   4114   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4115     lt_nm_to_check="$lt_nm_to_check nm"
   4116   fi
   4117   for lt_tmp_nm in $lt_nm_to_check; do
   4118     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4119     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4120       IFS="$lt_save_ifs"
   4121       test -z "$ac_dir" && ac_dir=.
   4122       tmp_nm="$ac_dir/$lt_tmp_nm"
   4123       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4124 	# Check to see if the nm accepts a BSD-compat flag.
   4125 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4126 	#   nm: unknown option "B" ignored
   4127 	# Tru64's nm complains that /dev/null is an invalid object file
   4128 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4129 	*/dev/null* | *'Invalid file or object type'*)
   4130 	  lt_cv_path_NM="$tmp_nm -B"
   4131 	  break
   4132 	  ;;
   4133 	*)
   4134 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4135 	  */dev/null*)
   4136 	    lt_cv_path_NM="$tmp_nm -p"
   4137 	    break
   4138 	    ;;
   4139 	  *)
   4140 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4141 	    continue # so that we can try to find one that supports BSD flags
   4142 	    ;;
   4143 	  esac
   4144 	  ;;
   4145 	esac
   4146       fi
   4147     done
   4148     IFS="$lt_save_ifs"
   4149   done
   4150   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4151 fi
   4152 fi
   4153 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4154 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4155 NM="$lt_cv_path_NM"
   4156 
   4157 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4158 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4159 LN_S=$as_ln_s
   4160 if test "$LN_S" = "ln -s"; then
   4161   { echo "$as_me:$LINENO: result: yes" >&5
   4162 echo "${ECHO_T}yes" >&6; }
   4163 else
   4164   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4165 echo "${ECHO_T}no, using $LN_S" >&6; }
   4166 fi
   4167 
   4168 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4169 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4170 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4171   echo $ECHO_N "(cached) $ECHO_C" >&6
   4172 else
   4173   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4174 lt_cv_file_magic_test_file=
   4175 lt_cv_deplibs_check_method='unknown'
   4176 # Need to set the preceding variable on all platforms that support
   4177 # interlibrary dependencies.
   4178 # 'none' -- dependencies not supported.
   4179 # `unknown' -- same as none, but documents that we really don't know.
   4180 # 'pass_all' -- all dependencies passed with no checks.
   4181 # 'test_compile' -- check by making test program.
   4182 # 'file_magic [[regex]]' -- check by looking for files in library path
   4183 # which responds to the $file_magic_cmd with a given extended regex.
   4184 # If you have `file' or equivalent on your system and you're not sure
   4185 # whether `pass_all' will *always* work, you probably want this one.
   4186 
   4187 case $host_os in
   4188 aix4* | aix5*)
   4189   lt_cv_deplibs_check_method=pass_all
   4190   ;;
   4191 
   4192 beos*)
   4193   lt_cv_deplibs_check_method=pass_all
   4194   ;;
   4195 
   4196 bsdi[45]*)
   4197   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4198   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4199   lt_cv_file_magic_test_file=/shlib/libc.so
   4200   ;;
   4201 
   4202 cygwin*)
   4203   # func_win32_libid is a shell function defined in ltmain.sh
   4204   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4205   lt_cv_file_magic_cmd='func_win32_libid'
   4206   ;;
   4207 
   4208 mingw* | pw32*)
   4209   # Base MSYS/MinGW do not provide the 'file' command needed by
   4210   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4211   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4212   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4213   ;;
   4214 
   4215 darwin* | rhapsody*)
   4216   lt_cv_deplibs_check_method=pass_all
   4217   ;;
   4218 
   4219 freebsd* | kfreebsd*-gnu | dragonfly*)
   4220   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4221     case $host_cpu in
   4222     i*86 )
   4223       # Not sure whether the presence of OpenBSD here was a mistake.
   4224       # Let's accept both of them until this is cleared up.
   4225       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4226       lt_cv_file_magic_cmd=/usr/bin/file
   4227       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4228       ;;
   4229     esac
   4230   else
   4231     lt_cv_deplibs_check_method=pass_all
   4232   fi
   4233   ;;
   4234 
   4235 gnu*)
   4236   lt_cv_deplibs_check_method=pass_all
   4237   ;;
   4238 
   4239 hpux10.20* | hpux11*)
   4240   lt_cv_file_magic_cmd=/usr/bin/file
   4241   case $host_cpu in
   4242   ia64*)
   4243     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4244     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4245     ;;
   4246   hppa*64*)
   4247     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]'
   4248     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4249     ;;
   4250   *)
   4251     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4252     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4253     ;;
   4254   esac
   4255   ;;
   4256 
   4257 interix3*)
   4258   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4259   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4260   ;;
   4261 
   4262 irix5* | irix6* | nonstopux*)
   4263   case $LD in
   4264   *-32|*"-32 ") libmagic=32-bit;;
   4265   *-n32|*"-n32 ") libmagic=N32;;
   4266   *-64|*"-64 ") libmagic=64-bit;;
   4267   *) libmagic=never-match;;
   4268   esac
   4269   lt_cv_deplibs_check_method=pass_all
   4270   ;;
   4271 
   4272 # This must be Linux ELF.
   4273 linux*)
   4274   lt_cv_deplibs_check_method=pass_all
   4275   ;;
   4276 
   4277 netbsd*)
   4278   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4279     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4280   else
   4281     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4282   fi
   4283   ;;
   4284 
   4285 newos6*)
   4286   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4287   lt_cv_file_magic_cmd=/usr/bin/file
   4288   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4289   ;;
   4290 
   4291 nto-qnx*)
   4292   lt_cv_deplibs_check_method=unknown
   4293   ;;
   4294 
   4295 openbsd*)
   4296   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4297     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4298   else
   4299     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4300   fi
   4301   ;;
   4302 
   4303 osf3* | osf4* | osf5*)
   4304   lt_cv_deplibs_check_method=pass_all
   4305   ;;
   4306 
   4307 solaris*)
   4308   lt_cv_deplibs_check_method=pass_all
   4309   ;;
   4310 
   4311 sysv4 | sysv4.3*)
   4312   case $host_vendor in
   4313   motorola)
   4314     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]'
   4315     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4316     ;;
   4317   ncr)
   4318     lt_cv_deplibs_check_method=pass_all
   4319     ;;
   4320   sequent)
   4321     lt_cv_file_magic_cmd='/bin/file'
   4322     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4323     ;;
   4324   sni)
   4325     lt_cv_file_magic_cmd='/bin/file'
   4326     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4327     lt_cv_file_magic_test_file=/lib/libc.so
   4328     ;;
   4329   siemens)
   4330     lt_cv_deplibs_check_method=pass_all
   4331     ;;
   4332   pc)
   4333     lt_cv_deplibs_check_method=pass_all
   4334     ;;
   4335   esac
   4336   ;;
   4337 
   4338 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4339   lt_cv_deplibs_check_method=pass_all
   4340   ;;
   4341 esac
   4342 
   4343 fi
   4344 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4345 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4346 file_magic_cmd=$lt_cv_file_magic_cmd
   4347 deplibs_check_method=$lt_cv_deplibs_check_method
   4348 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4349 
   4350 
   4351 
   4352 
   4353 # If no C compiler was specified, use CC.
   4354 LTCC=${LTCC-"$CC"}
   4355 
   4356 # If no C compiler flags were specified, use CFLAGS.
   4357 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4358 
   4359 # Allow CC to be a program name with arguments.
   4360 compiler=$CC
   4361 
   4362 
   4363 # Check whether --enable-libtool-lock was given.
   4364 if test "${enable_libtool_lock+set}" = set; then
   4365   enableval=$enable_libtool_lock;
   4366 fi
   4367 
   4368 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4369 
   4370 # Some flags need to be propagated to the compiler or linker for good
   4371 # libtool support.
   4372 case $host in
   4373 ia64-*-hpux*)
   4374   # Find out which ABI we are using.
   4375   echo 'int i;' > conftest.$ac_ext
   4376   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4377   (eval $ac_compile) 2>&5
   4378   ac_status=$?
   4379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4380   (exit $ac_status); }; then
   4381     case `/usr/bin/file conftest.$ac_objext` in
   4382     *ELF-32*)
   4383       HPUX_IA64_MODE="32"
   4384       ;;
   4385     *ELF-64*)
   4386       HPUX_IA64_MODE="64"
   4387       ;;
   4388     esac
   4389   fi
   4390   rm -rf conftest*
   4391   ;;
   4392 *-*-irix6*)
   4393   # Find out which ABI we are using.
   4394   echo '#line 4394 "configure"' > conftest.$ac_ext
   4395   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4396   (eval $ac_compile) 2>&5
   4397   ac_status=$?
   4398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4399   (exit $ac_status); }; then
   4400    if test "$lt_cv_prog_gnu_ld" = yes; then
   4401     case `/usr/bin/file conftest.$ac_objext` in
   4402     *32-bit*)
   4403       LD="${LD-ld} -melf32bsmip"
   4404       ;;
   4405     *N32*)
   4406       LD="${LD-ld} -melf32bmipn32"
   4407       ;;
   4408     *64-bit*)
   4409       LD="${LD-ld} -melf64bmip"
   4410       ;;
   4411     esac
   4412    else
   4413     case `/usr/bin/file conftest.$ac_objext` in
   4414     *32-bit*)
   4415       LD="${LD-ld} -32"
   4416       ;;
   4417     *N32*)
   4418       LD="${LD-ld} -n32"
   4419       ;;
   4420     *64-bit*)
   4421       LD="${LD-ld} -64"
   4422       ;;
   4423     esac
   4424    fi
   4425   fi
   4426   rm -rf conftest*
   4427   ;;
   4428 
   4429 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4430   # Find out which ABI we are using.
   4431   echo 'int i;' > conftest.$ac_ext
   4432   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4433   (eval $ac_compile) 2>&5
   4434   ac_status=$?
   4435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4436   (exit $ac_status); }; then
   4437     case `/usr/bin/file conftest.o` in
   4438     *32-bit*)
   4439       case $host in
   4440         x86_64-*linux*)
   4441           LD="${LD-ld} -m elf_i386"
   4442           ;;
   4443         ppc64-*linux*|powerpc64-*linux*)
   4444           LD="${LD-ld} -m elf32ppclinux"
   4445           ;;
   4446         s390x-*linux*)
   4447           LD="${LD-ld} -m elf_s390"
   4448           ;;
   4449         sparc64-*linux*)
   4450           LD="${LD-ld} -m elf32_sparc"
   4451           ;;
   4452       esac
   4453       ;;
   4454     *64-bit*)
   4455       case $host in
   4456         x86_64-*linux*)
   4457           LD="${LD-ld} -m elf_x86_64"
   4458           ;;
   4459         ppc*-*linux*|powerpc*-*linux*)
   4460           LD="${LD-ld} -m elf64ppc"
   4461           ;;
   4462         s390*-*linux*)
   4463           LD="${LD-ld} -m elf64_s390"
   4464           ;;
   4465         sparc*-*linux*)
   4466           LD="${LD-ld} -m elf64_sparc"
   4467           ;;
   4468       esac
   4469       ;;
   4470     esac
   4471   fi
   4472   rm -rf conftest*
   4473   ;;
   4474 
   4475 *-*-sco3.2v5*)
   4476   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4477   SAVE_CFLAGS="$CFLAGS"
   4478   CFLAGS="$CFLAGS -belf"
   4479   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4480 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4481 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4482   echo $ECHO_N "(cached) $ECHO_C" >&6
   4483 else
   4484   ac_ext=c
   4485 ac_cpp='$CPP $CPPFLAGS'
   4486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4489 
   4490      cat >conftest.$ac_ext <<_ACEOF
   4491 /* confdefs.h.  */
   4492 _ACEOF
   4493 cat confdefs.h >>conftest.$ac_ext
   4494 cat >>conftest.$ac_ext <<_ACEOF
   4495 /* end confdefs.h.  */
   4496 
   4497 int
   4498 main ()
   4499 {
   4500 
   4501   ;
   4502   return 0;
   4503 }
   4504 _ACEOF
   4505 rm -f conftest.$ac_objext conftest$ac_exeext
   4506 if { (ac_try="$ac_link"
   4507 case "(($ac_try" in
   4508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4509   *) ac_try_echo=$ac_try;;
   4510 esac
   4511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4512   (eval "$ac_link") 2>conftest.er1
   4513   ac_status=$?
   4514   grep -v '^ *+' conftest.er1 >conftest.err
   4515   rm -f conftest.er1
   4516   cat conftest.err >&5
   4517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4518   (exit $ac_status); } && {
   4519 	 test -z "$ac_c_werror_flag" ||
   4520 	 test ! -s conftest.err
   4521        } && test -s conftest$ac_exeext &&
   4522        $as_test_x conftest$ac_exeext; then
   4523   lt_cv_cc_needs_belf=yes
   4524 else
   4525   echo "$as_me: failed program was:" >&5
   4526 sed 's/^/| /' conftest.$ac_ext >&5
   4527 
   4528 	lt_cv_cc_needs_belf=no
   4529 fi
   4530 
   4531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4532       conftest$ac_exeext conftest.$ac_ext
   4533      ac_ext=c
   4534 ac_cpp='$CPP $CPPFLAGS'
   4535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4538 
   4539 fi
   4540 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4541 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4542   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4543     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4544     CFLAGS="$SAVE_CFLAGS"
   4545   fi
   4546   ;;
   4547 sparc*-*solaris*)
   4548   # Find out which ABI we are using.
   4549   echo 'int i;' > conftest.$ac_ext
   4550   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4551   (eval $ac_compile) 2>&5
   4552   ac_status=$?
   4553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4554   (exit $ac_status); }; then
   4555     case `/usr/bin/file conftest.o` in
   4556     *64-bit*)
   4557       case $lt_cv_prog_gnu_ld in
   4558       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4559       *)    LD="${LD-ld} -64" ;;
   4560       esac
   4561       ;;
   4562     esac
   4563   fi
   4564   rm -rf conftest*
   4565   ;;
   4566 
   4567 
   4568 esac
   4569 
   4570 need_locks="$enable_libtool_lock"
   4571 
   4572 
   4573 ac_ext=c
   4574 ac_cpp='$CPP $CPPFLAGS'
   4575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4578 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4579 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4580 # On Suns, sometimes $CPP names a directory.
   4581 if test -n "$CPP" && test -d "$CPP"; then
   4582   CPP=
   4583 fi
   4584 if test -z "$CPP"; then
   4585   if test "${ac_cv_prog_CPP+set}" = set; then
   4586   echo $ECHO_N "(cached) $ECHO_C" >&6
   4587 else
   4588       # Double quotes because CPP needs to be expanded
   4589     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4590     do
   4591       ac_preproc_ok=false
   4592 for ac_c_preproc_warn_flag in '' yes
   4593 do
   4594   # Use a header file that comes with gcc, so configuring glibc
   4595   # with a fresh cross-compiler works.
   4596   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4597   # <limits.h> exists even on freestanding compilers.
   4598   # On the NeXT, cc -E runs the code through the compiler's parser,
   4599   # not just through cpp. "Syntax error" is here to catch this case.
   4600   cat >conftest.$ac_ext <<_ACEOF
   4601 /* confdefs.h.  */
   4602 _ACEOF
   4603 cat confdefs.h >>conftest.$ac_ext
   4604 cat >>conftest.$ac_ext <<_ACEOF
   4605 /* end confdefs.h.  */
   4606 #ifdef __STDC__
   4607 # include <limits.h>
   4608 #else
   4609 # include <assert.h>
   4610 #endif
   4611 		     Syntax error
   4612 _ACEOF
   4613 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4614 case "(($ac_try" in
   4615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4616   *) ac_try_echo=$ac_try;;
   4617 esac
   4618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4619   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4620   ac_status=$?
   4621   grep -v '^ *+' conftest.er1 >conftest.err
   4622   rm -f conftest.er1
   4623   cat conftest.err >&5
   4624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4625   (exit $ac_status); } >/dev/null && {
   4626 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4627 	 test ! -s conftest.err
   4628        }; then
   4629   :
   4630 else
   4631   echo "$as_me: failed program was:" >&5
   4632 sed 's/^/| /' conftest.$ac_ext >&5
   4633 
   4634   # Broken: fails on valid input.
   4635 continue
   4636 fi
   4637 
   4638 rm -f conftest.err conftest.$ac_ext
   4639 
   4640   # OK, works on sane cases.  Now check whether nonexistent headers
   4641   # can be detected and how.
   4642   cat >conftest.$ac_ext <<_ACEOF
   4643 /* confdefs.h.  */
   4644 _ACEOF
   4645 cat confdefs.h >>conftest.$ac_ext
   4646 cat >>conftest.$ac_ext <<_ACEOF
   4647 /* end confdefs.h.  */
   4648 #include <ac_nonexistent.h>
   4649 _ACEOF
   4650 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4651 case "(($ac_try" in
   4652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4653   *) ac_try_echo=$ac_try;;
   4654 esac
   4655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4656   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4657   ac_status=$?
   4658   grep -v '^ *+' conftest.er1 >conftest.err
   4659   rm -f conftest.er1
   4660   cat conftest.err >&5
   4661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4662   (exit $ac_status); } >/dev/null && {
   4663 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4664 	 test ! -s conftest.err
   4665        }; then
   4666   # Broken: success on invalid input.
   4667 continue
   4668 else
   4669   echo "$as_me: failed program was:" >&5
   4670 sed 's/^/| /' conftest.$ac_ext >&5
   4671 
   4672   # Passes both tests.
   4673 ac_preproc_ok=:
   4674 break
   4675 fi
   4676 
   4677 rm -f conftest.err conftest.$ac_ext
   4678 
   4679 done
   4680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4681 rm -f conftest.err conftest.$ac_ext
   4682 if $ac_preproc_ok; then
   4683   break
   4684 fi
   4685 
   4686     done
   4687     ac_cv_prog_CPP=$CPP
   4688 
   4689 fi
   4690   CPP=$ac_cv_prog_CPP
   4691 else
   4692   ac_cv_prog_CPP=$CPP
   4693 fi
   4694 { echo "$as_me:$LINENO: result: $CPP" >&5
   4695 echo "${ECHO_T}$CPP" >&6; }
   4696 ac_preproc_ok=false
   4697 for ac_c_preproc_warn_flag in '' yes
   4698 do
   4699   # Use a header file that comes with gcc, so configuring glibc
   4700   # with a fresh cross-compiler works.
   4701   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4702   # <limits.h> exists even on freestanding compilers.
   4703   # On the NeXT, cc -E runs the code through the compiler's parser,
   4704   # not just through cpp. "Syntax error" is here to catch this case.
   4705   cat >conftest.$ac_ext <<_ACEOF
   4706 /* confdefs.h.  */
   4707 _ACEOF
   4708 cat confdefs.h >>conftest.$ac_ext
   4709 cat >>conftest.$ac_ext <<_ACEOF
   4710 /* end confdefs.h.  */
   4711 #ifdef __STDC__
   4712 # include <limits.h>
   4713 #else
   4714 # include <assert.h>
   4715 #endif
   4716 		     Syntax error
   4717 _ACEOF
   4718 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4719 case "(($ac_try" in
   4720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4721   *) ac_try_echo=$ac_try;;
   4722 esac
   4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4724   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4725   ac_status=$?
   4726   grep -v '^ *+' conftest.er1 >conftest.err
   4727   rm -f conftest.er1
   4728   cat conftest.err >&5
   4729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4730   (exit $ac_status); } >/dev/null && {
   4731 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4732 	 test ! -s conftest.err
   4733        }; then
   4734   :
   4735 else
   4736   echo "$as_me: failed program was:" >&5
   4737 sed 's/^/| /' conftest.$ac_ext >&5
   4738 
   4739   # Broken: fails on valid input.
   4740 continue
   4741 fi
   4742 
   4743 rm -f conftest.err conftest.$ac_ext
   4744 
   4745   # OK, works on sane cases.  Now check whether nonexistent headers
   4746   # can be detected and how.
   4747   cat >conftest.$ac_ext <<_ACEOF
   4748 /* confdefs.h.  */
   4749 _ACEOF
   4750 cat confdefs.h >>conftest.$ac_ext
   4751 cat >>conftest.$ac_ext <<_ACEOF
   4752 /* end confdefs.h.  */
   4753 #include <ac_nonexistent.h>
   4754 _ACEOF
   4755 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4756 case "(($ac_try" in
   4757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4758   *) ac_try_echo=$ac_try;;
   4759 esac
   4760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4761   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4762   ac_status=$?
   4763   grep -v '^ *+' conftest.er1 >conftest.err
   4764   rm -f conftest.er1
   4765   cat conftest.err >&5
   4766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4767   (exit $ac_status); } >/dev/null && {
   4768 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4769 	 test ! -s conftest.err
   4770        }; then
   4771   # Broken: success on invalid input.
   4772 continue
   4773 else
   4774   echo "$as_me: failed program was:" >&5
   4775 sed 's/^/| /' conftest.$ac_ext >&5
   4776 
   4777   # Passes both tests.
   4778 ac_preproc_ok=:
   4779 break
   4780 fi
   4781 
   4782 rm -f conftest.err conftest.$ac_ext
   4783 
   4784 done
   4785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4786 rm -f conftest.err conftest.$ac_ext
   4787 if $ac_preproc_ok; then
   4788   :
   4789 else
   4790   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4791 See \`config.log' for more details." >&5
   4792 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4793 See \`config.log' for more details." >&2;}
   4794    { (exit 1); exit 1; }; }
   4795 fi
   4796 
   4797 ac_ext=c
   4798 ac_cpp='$CPP $CPPFLAGS'
   4799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4802 
   4803 
   4804 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4805 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4806 if test "${ac_cv_header_stdc+set}" = set; then
   4807   echo $ECHO_N "(cached) $ECHO_C" >&6
   4808 else
   4809   cat >conftest.$ac_ext <<_ACEOF
   4810 /* confdefs.h.  */
   4811 _ACEOF
   4812 cat confdefs.h >>conftest.$ac_ext
   4813 cat >>conftest.$ac_ext <<_ACEOF
   4814 /* end confdefs.h.  */
   4815 #include <stdlib.h>
   4816 #include <stdarg.h>
   4817 #include <string.h>
   4818 #include <float.h>
   4819 
   4820 int
   4821 main ()
   4822 {
   4823 
   4824   ;
   4825   return 0;
   4826 }
   4827 _ACEOF
   4828 rm -f conftest.$ac_objext
   4829 if { (ac_try="$ac_compile"
   4830 case "(($ac_try" in
   4831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4832   *) ac_try_echo=$ac_try;;
   4833 esac
   4834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4835   (eval "$ac_compile") 2>conftest.er1
   4836   ac_status=$?
   4837   grep -v '^ *+' conftest.er1 >conftest.err
   4838   rm -f conftest.er1
   4839   cat conftest.err >&5
   4840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4841   (exit $ac_status); } && {
   4842 	 test -z "$ac_c_werror_flag" ||
   4843 	 test ! -s conftest.err
   4844        } && test -s conftest.$ac_objext; then
   4845   ac_cv_header_stdc=yes
   4846 else
   4847   echo "$as_me: failed program was:" >&5
   4848 sed 's/^/| /' conftest.$ac_ext >&5
   4849 
   4850 	ac_cv_header_stdc=no
   4851 fi
   4852 
   4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4854 
   4855 if test $ac_cv_header_stdc = yes; then
   4856   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4857   cat >conftest.$ac_ext <<_ACEOF
   4858 /* confdefs.h.  */
   4859 _ACEOF
   4860 cat confdefs.h >>conftest.$ac_ext
   4861 cat >>conftest.$ac_ext <<_ACEOF
   4862 /* end confdefs.h.  */
   4863 #include <string.h>
   4864 
   4865 _ACEOF
   4866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4867   $EGREP "memchr" >/dev/null 2>&1; then
   4868   :
   4869 else
   4870   ac_cv_header_stdc=no
   4871 fi
   4872 rm -f conftest*
   4873 
   4874 fi
   4875 
   4876 if test $ac_cv_header_stdc = yes; then
   4877   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4878   cat >conftest.$ac_ext <<_ACEOF
   4879 /* confdefs.h.  */
   4880 _ACEOF
   4881 cat confdefs.h >>conftest.$ac_ext
   4882 cat >>conftest.$ac_ext <<_ACEOF
   4883 /* end confdefs.h.  */
   4884 #include <stdlib.h>
   4885 
   4886 _ACEOF
   4887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4888   $EGREP "free" >/dev/null 2>&1; then
   4889   :
   4890 else
   4891   ac_cv_header_stdc=no
   4892 fi
   4893 rm -f conftest*
   4894 
   4895 fi
   4896 
   4897 if test $ac_cv_header_stdc = yes; then
   4898   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4899   if test "$cross_compiling" = yes; then
   4900   :
   4901 else
   4902   cat >conftest.$ac_ext <<_ACEOF
   4903 /* confdefs.h.  */
   4904 _ACEOF
   4905 cat confdefs.h >>conftest.$ac_ext
   4906 cat >>conftest.$ac_ext <<_ACEOF
   4907 /* end confdefs.h.  */
   4908 #include <ctype.h>
   4909 #include <stdlib.h>
   4910 #if ((' ' & 0x0FF) == 0x020)
   4911 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4912 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4913 #else
   4914 # define ISLOWER(c) \
   4915 		   (('a' <= (c) && (c) <= 'i') \
   4916 		     || ('j' <= (c) && (c) <= 'r') \
   4917 		     || ('s' <= (c) && (c) <= 'z'))
   4918 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4919 #endif
   4920 
   4921 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4922 int
   4923 main ()
   4924 {
   4925   int i;
   4926   for (i = 0; i < 256; i++)
   4927     if (XOR (islower (i), ISLOWER (i))
   4928 	|| toupper (i) != TOUPPER (i))
   4929       return 2;
   4930   return 0;
   4931 }
   4932 _ACEOF
   4933 rm -f conftest$ac_exeext
   4934 if { (ac_try="$ac_link"
   4935 case "(($ac_try" in
   4936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4937   *) ac_try_echo=$ac_try;;
   4938 esac
   4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4940   (eval "$ac_link") 2>&5
   4941   ac_status=$?
   4942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4943   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4944   { (case "(($ac_try" in
   4945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4946   *) ac_try_echo=$ac_try;;
   4947 esac
   4948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4949   (eval "$ac_try") 2>&5
   4950   ac_status=$?
   4951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4952   (exit $ac_status); }; }; then
   4953   :
   4954 else
   4955   echo "$as_me: program exited with status $ac_status" >&5
   4956 echo "$as_me: failed program was:" >&5
   4957 sed 's/^/| /' conftest.$ac_ext >&5
   4958 
   4959 ( exit $ac_status )
   4960 ac_cv_header_stdc=no
   4961 fi
   4962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4963 fi
   4964 
   4965 
   4966 fi
   4967 fi
   4968 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4969 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4970 if test $ac_cv_header_stdc = yes; then
   4971 
   4972 cat >>confdefs.h <<\_ACEOF
   4973 #define STDC_HEADERS 1
   4974 _ACEOF
   4975 
   4976 fi
   4977 
   4978 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4989 		  inttypes.h stdint.h unistd.h
   4990 do
   4991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4992 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   4993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   4994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4995   echo $ECHO_N "(cached) $ECHO_C" >&6
   4996 else
   4997   cat >conftest.$ac_ext <<_ACEOF
   4998 /* confdefs.h.  */
   4999 _ACEOF
   5000 cat confdefs.h >>conftest.$ac_ext
   5001 cat >>conftest.$ac_ext <<_ACEOF
   5002 /* end confdefs.h.  */
   5003 $ac_includes_default
   5004 
   5005 #include <$ac_header>
   5006 _ACEOF
   5007 rm -f conftest.$ac_objext
   5008 if { (ac_try="$ac_compile"
   5009 case "(($ac_try" in
   5010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5011   *) ac_try_echo=$ac_try;;
   5012 esac
   5013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5014   (eval "$ac_compile") 2>conftest.er1
   5015   ac_status=$?
   5016   grep -v '^ *+' conftest.er1 >conftest.err
   5017   rm -f conftest.er1
   5018   cat conftest.err >&5
   5019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5020   (exit $ac_status); } && {
   5021 	 test -z "$ac_c_werror_flag" ||
   5022 	 test ! -s conftest.err
   5023        } && test -s conftest.$ac_objext; then
   5024   eval "$as_ac_Header=yes"
   5025 else
   5026   echo "$as_me: failed program was:" >&5
   5027 sed 's/^/| /' conftest.$ac_ext >&5
   5028 
   5029 	eval "$as_ac_Header=no"
   5030 fi
   5031 
   5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5033 fi
   5034 ac_res=`eval echo '${'$as_ac_Header'}'`
   5035 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5036 echo "${ECHO_T}$ac_res" >&6; }
   5037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5038   cat >>confdefs.h <<_ACEOF
   5039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5040 _ACEOF
   5041 
   5042 fi
   5043 
   5044 done
   5045 
   5046 
   5047 
   5048 for ac_header in dlfcn.h
   5049 do
   5050 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5051 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5052   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5055   echo $ECHO_N "(cached) $ECHO_C" >&6
   5056 fi
   5057 ac_res=`eval echo '${'$as_ac_Header'}'`
   5058 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5059 echo "${ECHO_T}$ac_res" >&6; }
   5060 else
   5061   # Is the header compilable?
   5062 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5064 cat >conftest.$ac_ext <<_ACEOF
   5065 /* confdefs.h.  */
   5066 _ACEOF
   5067 cat confdefs.h >>conftest.$ac_ext
   5068 cat >>conftest.$ac_ext <<_ACEOF
   5069 /* end confdefs.h.  */
   5070 $ac_includes_default
   5071 #include <$ac_header>
   5072 _ACEOF
   5073 rm -f conftest.$ac_objext
   5074 if { (ac_try="$ac_compile"
   5075 case "(($ac_try" in
   5076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5077   *) ac_try_echo=$ac_try;;
   5078 esac
   5079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5080   (eval "$ac_compile") 2>conftest.er1
   5081   ac_status=$?
   5082   grep -v '^ *+' conftest.er1 >conftest.err
   5083   rm -f conftest.er1
   5084   cat conftest.err >&5
   5085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5086   (exit $ac_status); } && {
   5087 	 test -z "$ac_c_werror_flag" ||
   5088 	 test ! -s conftest.err
   5089        } && test -s conftest.$ac_objext; then
   5090   ac_header_compiler=yes
   5091 else
   5092   echo "$as_me: failed program was:" >&5
   5093 sed 's/^/| /' conftest.$ac_ext >&5
   5094 
   5095 	ac_header_compiler=no
   5096 fi
   5097 
   5098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5099 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5100 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5101 
   5102 # Is the header present?
   5103 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5105 cat >conftest.$ac_ext <<_ACEOF
   5106 /* confdefs.h.  */
   5107 _ACEOF
   5108 cat confdefs.h >>conftest.$ac_ext
   5109 cat >>conftest.$ac_ext <<_ACEOF
   5110 /* end confdefs.h.  */
   5111 #include <$ac_header>
   5112 _ACEOF
   5113 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5114 case "(($ac_try" in
   5115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5116   *) ac_try_echo=$ac_try;;
   5117 esac
   5118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5119   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5120   ac_status=$?
   5121   grep -v '^ *+' conftest.er1 >conftest.err
   5122   rm -f conftest.er1
   5123   cat conftest.err >&5
   5124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5125   (exit $ac_status); } >/dev/null && {
   5126 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5127 	 test ! -s conftest.err
   5128        }; then
   5129   ac_header_preproc=yes
   5130 else
   5131   echo "$as_me: failed program was:" >&5
   5132 sed 's/^/| /' conftest.$ac_ext >&5
   5133 
   5134   ac_header_preproc=no
   5135 fi
   5136 
   5137 rm -f conftest.err conftest.$ac_ext
   5138 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5139 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5140 
   5141 # So?  What about this header?
   5142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5143   yes:no: )
   5144     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5146     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5147 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5148     ac_header_preproc=yes
   5149     ;;
   5150   no:yes:* )
   5151     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5153     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5154 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5155     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5156 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5157     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5158 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5159     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5161     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5162 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5163     ( cat <<\_ASBOX
   5164 ## ---------------------------------------------------------------------- ##
   5165 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5166 ## ---------------------------------------------------------------------- ##
   5167 _ASBOX
   5168      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5169     ;;
   5170 esac
   5171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5174   echo $ECHO_N "(cached) $ECHO_C" >&6
   5175 else
   5176   eval "$as_ac_Header=\$ac_header_preproc"
   5177 fi
   5178 ac_res=`eval echo '${'$as_ac_Header'}'`
   5179 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5180 echo "${ECHO_T}$ac_res" >&6; }
   5181 
   5182 fi
   5183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5184   cat >>confdefs.h <<_ACEOF
   5185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5186 _ACEOF
   5187 
   5188 fi
   5189 
   5190 done
   5191 
   5192 ac_ext=cpp
   5193 ac_cpp='$CXXCPP $CPPFLAGS'
   5194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5197 if test -z "$CXX"; then
   5198   if test -n "$CCC"; then
   5199     CXX=$CCC
   5200   else
   5201     if test -n "$ac_tool_prefix"; then
   5202   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5203   do
   5204     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5208 if test "${ac_cv_prog_CXX+set}" = set; then
   5209   echo $ECHO_N "(cached) $ECHO_C" >&6
   5210 else
   5211   if test -n "$CXX"; then
   5212   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5213 else
   5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5215 for as_dir in $PATH
   5216 do
   5217   IFS=$as_save_IFS
   5218   test -z "$as_dir" && as_dir=.
   5219   for ac_exec_ext in '' $ac_executable_extensions; do
   5220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5221     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5222     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5223     break 2
   5224   fi
   5225 done
   5226 done
   5227 IFS=$as_save_IFS
   5228 
   5229 fi
   5230 fi
   5231 CXX=$ac_cv_prog_CXX
   5232 if test -n "$CXX"; then
   5233   { echo "$as_me:$LINENO: result: $CXX" >&5
   5234 echo "${ECHO_T}$CXX" >&6; }
   5235 else
   5236   { echo "$as_me:$LINENO: result: no" >&5
   5237 echo "${ECHO_T}no" >&6; }
   5238 fi
   5239 
   5240 
   5241     test -n "$CXX" && break
   5242   done
   5243 fi
   5244 if test -z "$CXX"; then
   5245   ac_ct_CXX=$CXX
   5246   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5247 do
   5248   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5249 set dummy $ac_prog; ac_word=$2
   5250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5252 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5253   echo $ECHO_N "(cached) $ECHO_C" >&6
   5254 else
   5255   if test -n "$ac_ct_CXX"; then
   5256   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5257 else
   5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5259 for as_dir in $PATH
   5260 do
   5261   IFS=$as_save_IFS
   5262   test -z "$as_dir" && as_dir=.
   5263   for ac_exec_ext in '' $ac_executable_extensions; do
   5264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5265     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5266     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5267     break 2
   5268   fi
   5269 done
   5270 done
   5271 IFS=$as_save_IFS
   5272 
   5273 fi
   5274 fi
   5275 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5276 if test -n "$ac_ct_CXX"; then
   5277   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5278 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5279 else
   5280   { echo "$as_me:$LINENO: result: no" >&5
   5281 echo "${ECHO_T}no" >&6; }
   5282 fi
   5283 
   5284 
   5285   test -n "$ac_ct_CXX" && break
   5286 done
   5287 
   5288   if test "x$ac_ct_CXX" = x; then
   5289     CXX="g++"
   5290   else
   5291     case $cross_compiling:$ac_tool_warned in
   5292 yes:)
   5293 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5294 whose name does not start with the host triplet.  If you think this
   5295 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5296 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5297 whose name does not start with the host triplet.  If you think this
   5298 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5299 ac_tool_warned=yes ;;
   5300 esac
   5301     CXX=$ac_ct_CXX
   5302   fi
   5303 fi
   5304 
   5305   fi
   5306 fi
   5307 # Provide some information about the compiler.
   5308 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5309 ac_compiler=`set X $ac_compile; echo $2`
   5310 { (ac_try="$ac_compiler --version >&5"
   5311 case "(($ac_try" in
   5312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5313   *) ac_try_echo=$ac_try;;
   5314 esac
   5315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5316   (eval "$ac_compiler --version >&5") 2>&5
   5317   ac_status=$?
   5318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5319   (exit $ac_status); }
   5320 { (ac_try="$ac_compiler -v >&5"
   5321 case "(($ac_try" in
   5322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5323   *) ac_try_echo=$ac_try;;
   5324 esac
   5325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5326   (eval "$ac_compiler -v >&5") 2>&5
   5327   ac_status=$?
   5328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5329   (exit $ac_status); }
   5330 { (ac_try="$ac_compiler -V >&5"
   5331 case "(($ac_try" in
   5332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5333   *) ac_try_echo=$ac_try;;
   5334 esac
   5335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5336   (eval "$ac_compiler -V >&5") 2>&5
   5337   ac_status=$?
   5338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5339   (exit $ac_status); }
   5340 
   5341 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5342 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5343 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5344   echo $ECHO_N "(cached) $ECHO_C" >&6
   5345 else
   5346   cat >conftest.$ac_ext <<_ACEOF
   5347 /* confdefs.h.  */
   5348 _ACEOF
   5349 cat confdefs.h >>conftest.$ac_ext
   5350 cat >>conftest.$ac_ext <<_ACEOF
   5351 /* end confdefs.h.  */
   5352 
   5353 int
   5354 main ()
   5355 {
   5356 #ifndef __GNUC__
   5357        choke me
   5358 #endif
   5359 
   5360   ;
   5361   return 0;
   5362 }
   5363 _ACEOF
   5364 rm -f conftest.$ac_objext
   5365 if { (ac_try="$ac_compile"
   5366 case "(($ac_try" in
   5367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5368   *) ac_try_echo=$ac_try;;
   5369 esac
   5370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5371   (eval "$ac_compile") 2>conftest.er1
   5372   ac_status=$?
   5373   grep -v '^ *+' conftest.er1 >conftest.err
   5374   rm -f conftest.er1
   5375   cat conftest.err >&5
   5376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5377   (exit $ac_status); } && {
   5378 	 test -z "$ac_cxx_werror_flag" ||
   5379 	 test ! -s conftest.err
   5380        } && test -s conftest.$ac_objext; then
   5381   ac_compiler_gnu=yes
   5382 else
   5383   echo "$as_me: failed program was:" >&5
   5384 sed 's/^/| /' conftest.$ac_ext >&5
   5385 
   5386 	ac_compiler_gnu=no
   5387 fi
   5388 
   5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5390 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5391 
   5392 fi
   5393 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5394 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5395 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5396 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5397 ac_save_CXXFLAGS=$CXXFLAGS
   5398 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5399 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5400 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5401   echo $ECHO_N "(cached) $ECHO_C" >&6
   5402 else
   5403   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5404    ac_cxx_werror_flag=yes
   5405    ac_cv_prog_cxx_g=no
   5406    CXXFLAGS="-g"
   5407    cat >conftest.$ac_ext <<_ACEOF
   5408 /* confdefs.h.  */
   5409 _ACEOF
   5410 cat confdefs.h >>conftest.$ac_ext
   5411 cat >>conftest.$ac_ext <<_ACEOF
   5412 /* end confdefs.h.  */
   5413 
   5414 int
   5415 main ()
   5416 {
   5417 
   5418   ;
   5419   return 0;
   5420 }
   5421 _ACEOF
   5422 rm -f conftest.$ac_objext
   5423 if { (ac_try="$ac_compile"
   5424 case "(($ac_try" in
   5425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5426   *) ac_try_echo=$ac_try;;
   5427 esac
   5428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5429   (eval "$ac_compile") 2>conftest.er1
   5430   ac_status=$?
   5431   grep -v '^ *+' conftest.er1 >conftest.err
   5432   rm -f conftest.er1
   5433   cat conftest.err >&5
   5434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5435   (exit $ac_status); } && {
   5436 	 test -z "$ac_cxx_werror_flag" ||
   5437 	 test ! -s conftest.err
   5438        } && test -s conftest.$ac_objext; then
   5439   ac_cv_prog_cxx_g=yes
   5440 else
   5441   echo "$as_me: failed program was:" >&5
   5442 sed 's/^/| /' conftest.$ac_ext >&5
   5443 
   5444 	CXXFLAGS=""
   5445       cat >conftest.$ac_ext <<_ACEOF
   5446 /* confdefs.h.  */
   5447 _ACEOF
   5448 cat confdefs.h >>conftest.$ac_ext
   5449 cat >>conftest.$ac_ext <<_ACEOF
   5450 /* end confdefs.h.  */
   5451 
   5452 int
   5453 main ()
   5454 {
   5455 
   5456   ;
   5457   return 0;
   5458 }
   5459 _ACEOF
   5460 rm -f conftest.$ac_objext
   5461 if { (ac_try="$ac_compile"
   5462 case "(($ac_try" in
   5463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5464   *) ac_try_echo=$ac_try;;
   5465 esac
   5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5467   (eval "$ac_compile") 2>conftest.er1
   5468   ac_status=$?
   5469   grep -v '^ *+' conftest.er1 >conftest.err
   5470   rm -f conftest.er1
   5471   cat conftest.err >&5
   5472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5473   (exit $ac_status); } && {
   5474 	 test -z "$ac_cxx_werror_flag" ||
   5475 	 test ! -s conftest.err
   5476        } && test -s conftest.$ac_objext; then
   5477   :
   5478 else
   5479   echo "$as_me: failed program was:" >&5
   5480 sed 's/^/| /' conftest.$ac_ext >&5
   5481 
   5482 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5483 	 CXXFLAGS="-g"
   5484 	 cat >conftest.$ac_ext <<_ACEOF
   5485 /* confdefs.h.  */
   5486 _ACEOF
   5487 cat confdefs.h >>conftest.$ac_ext
   5488 cat >>conftest.$ac_ext <<_ACEOF
   5489 /* end confdefs.h.  */
   5490 
   5491 int
   5492 main ()
   5493 {
   5494 
   5495   ;
   5496   return 0;
   5497 }
   5498 _ACEOF
   5499 rm -f conftest.$ac_objext
   5500 if { (ac_try="$ac_compile"
   5501 case "(($ac_try" in
   5502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5503   *) ac_try_echo=$ac_try;;
   5504 esac
   5505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5506   (eval "$ac_compile") 2>conftest.er1
   5507   ac_status=$?
   5508   grep -v '^ *+' conftest.er1 >conftest.err
   5509   rm -f conftest.er1
   5510   cat conftest.err >&5
   5511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5512   (exit $ac_status); } && {
   5513 	 test -z "$ac_cxx_werror_flag" ||
   5514 	 test ! -s conftest.err
   5515        } && test -s conftest.$ac_objext; then
   5516   ac_cv_prog_cxx_g=yes
   5517 else
   5518   echo "$as_me: failed program was:" >&5
   5519 sed 's/^/| /' conftest.$ac_ext >&5
   5520 
   5521 
   5522 fi
   5523 
   5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5525 fi
   5526 
   5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5528 fi
   5529 
   5530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5531    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5532 fi
   5533 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5534 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5535 if test "$ac_test_CXXFLAGS" = set; then
   5536   CXXFLAGS=$ac_save_CXXFLAGS
   5537 elif test $ac_cv_prog_cxx_g = yes; then
   5538   if test "$GXX" = yes; then
   5539     CXXFLAGS="-g -O2"
   5540   else
   5541     CXXFLAGS="-g"
   5542   fi
   5543 else
   5544   if test "$GXX" = yes; then
   5545     CXXFLAGS="-O2"
   5546   else
   5547     CXXFLAGS=
   5548   fi
   5549 fi
   5550 ac_ext=cpp
   5551 ac_cpp='$CXXCPP $CPPFLAGS'
   5552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5555 
   5556 depcc="$CXX"  am_compiler_list=
   5557 
   5558 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5559 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5560 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5561   echo $ECHO_N "(cached) $ECHO_C" >&6
   5562 else
   5563   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5564   # We make a subdir and do the tests there.  Otherwise we can end up
   5565   # making bogus files that we don't know about and never remove.  For
   5566   # instance it was reported that on HP-UX the gcc test will end up
   5567   # making a dummy file named `D' -- because `-MD' means `put the output
   5568   # in D'.
   5569   mkdir conftest.dir
   5570   # Copy depcomp to subdir because otherwise we won't find it if we're
   5571   # using a relative directory.
   5572   cp "$am_depcomp" conftest.dir
   5573   cd conftest.dir
   5574   # We will build objects and dependencies in a subdirectory because
   5575   # it helps to detect inapplicable dependency modes.  For instance
   5576   # both Tru64's cc and ICC support -MD to output dependencies as a
   5577   # side effect of compilation, but ICC will put the dependencies in
   5578   # the current directory while Tru64 will put them in the object
   5579   # directory.
   5580   mkdir sub
   5581 
   5582   am_cv_CXX_dependencies_compiler_type=none
   5583   if test "$am_compiler_list" = ""; then
   5584      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5585   fi
   5586   for depmode in $am_compiler_list; do
   5587     # Setup a source with many dependencies, because some compilers
   5588     # like to wrap large dependency lists on column 80 (with \), and
   5589     # we should not choose a depcomp mode which is confused by this.
   5590     #
   5591     # We need to recreate these files for each test, as the compiler may
   5592     # overwrite some of them when testing with obscure command lines.
   5593     # This happens at least with the AIX C compiler.
   5594     : > sub/conftest.c
   5595     for i in 1 2 3 4 5 6; do
   5596       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5597       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5598       # Solaris 8's {/usr,}/bin/sh.
   5599       touch sub/conftst$i.h
   5600     done
   5601     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5602 
   5603     case $depmode in
   5604     nosideeffect)
   5605       # after this tag, mechanisms are not by side-effect, so they'll
   5606       # only be used when explicitly requested
   5607       if test "x$enable_dependency_tracking" = xyes; then
   5608 	continue
   5609       else
   5610 	break
   5611       fi
   5612       ;;
   5613     none) break ;;
   5614     esac
   5615     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5616     # mode.  It turns out that the SunPro C++ compiler does not properly
   5617     # handle `-M -o', and we need to detect this.
   5618     if depmode=$depmode \
   5619        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5620        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5621        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5622          >/dev/null 2>conftest.err &&
   5623        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5624        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5625        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5626        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5627       # icc doesn't choke on unknown options, it will just issue warnings
   5628       # or remarks (even with -Werror).  So we grep stderr for any message
   5629       # that says an option was ignored or not supported.
   5630       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5631       #   icc: Command line warning: ignoring option '-M'; no argument required
   5632       # The diagnosis changed in icc 8.0:
   5633       #   icc: Command line remark: option '-MP' not supported
   5634       if (grep 'ignoring option' conftest.err ||
   5635           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5636         am_cv_CXX_dependencies_compiler_type=$depmode
   5637         break
   5638       fi
   5639     fi
   5640   done
   5641 
   5642   cd ..
   5643   rm -rf conftest.dir
   5644 else
   5645   am_cv_CXX_dependencies_compiler_type=none
   5646 fi
   5647 
   5648 fi
   5649 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5650 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5651 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5652 
   5653  if
   5654   test "x$enable_dependency_tracking" != xno \
   5655   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5656   am__fastdepCXX_TRUE=
   5657   am__fastdepCXX_FALSE='#'
   5658 else
   5659   am__fastdepCXX_TRUE='#'
   5660   am__fastdepCXX_FALSE=
   5661 fi
   5662 
   5663 
   5664 
   5665 
   5666 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5667     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5668     (test "X$CXX" != "Xg++"))) ; then
   5669   ac_ext=cpp
   5670 ac_cpp='$CXXCPP $CPPFLAGS'
   5671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5674 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5675 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5676 if test -z "$CXXCPP"; then
   5677   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5678   echo $ECHO_N "(cached) $ECHO_C" >&6
   5679 else
   5680       # Double quotes because CXXCPP needs to be expanded
   5681     for CXXCPP in "$CXX -E" "/lib/cpp"
   5682     do
   5683       ac_preproc_ok=false
   5684 for ac_cxx_preproc_warn_flag in '' yes
   5685 do
   5686   # Use a header file that comes with gcc, so configuring glibc
   5687   # with a fresh cross-compiler works.
   5688   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5689   # <limits.h> exists even on freestanding compilers.
   5690   # On the NeXT, cc -E runs the code through the compiler's parser,
   5691   # not just through cpp. "Syntax error" is here to catch this case.
   5692   cat >conftest.$ac_ext <<_ACEOF
   5693 /* confdefs.h.  */
   5694 _ACEOF
   5695 cat confdefs.h >>conftest.$ac_ext
   5696 cat >>conftest.$ac_ext <<_ACEOF
   5697 /* end confdefs.h.  */
   5698 #ifdef __STDC__
   5699 # include <limits.h>
   5700 #else
   5701 # include <assert.h>
   5702 #endif
   5703 		     Syntax error
   5704 _ACEOF
   5705 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5706 case "(($ac_try" in
   5707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5708   *) ac_try_echo=$ac_try;;
   5709 esac
   5710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5711   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5712   ac_status=$?
   5713   grep -v '^ *+' conftest.er1 >conftest.err
   5714   rm -f conftest.er1
   5715   cat conftest.err >&5
   5716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5717   (exit $ac_status); } >/dev/null && {
   5718 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5719 	 test ! -s conftest.err
   5720        }; then
   5721   :
   5722 else
   5723   echo "$as_me: failed program was:" >&5
   5724 sed 's/^/| /' conftest.$ac_ext >&5
   5725 
   5726   # Broken: fails on valid input.
   5727 continue
   5728 fi
   5729 
   5730 rm -f conftest.err conftest.$ac_ext
   5731 
   5732   # OK, works on sane cases.  Now check whether nonexistent headers
   5733   # can be detected and how.
   5734   cat >conftest.$ac_ext <<_ACEOF
   5735 /* confdefs.h.  */
   5736 _ACEOF
   5737 cat confdefs.h >>conftest.$ac_ext
   5738 cat >>conftest.$ac_ext <<_ACEOF
   5739 /* end confdefs.h.  */
   5740 #include <ac_nonexistent.h>
   5741 _ACEOF
   5742 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5743 case "(($ac_try" in
   5744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5745   *) ac_try_echo=$ac_try;;
   5746 esac
   5747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5748   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5749   ac_status=$?
   5750   grep -v '^ *+' conftest.er1 >conftest.err
   5751   rm -f conftest.er1
   5752   cat conftest.err >&5
   5753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5754   (exit $ac_status); } >/dev/null && {
   5755 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5756 	 test ! -s conftest.err
   5757        }; then
   5758   # Broken: success on invalid input.
   5759 continue
   5760 else
   5761   echo "$as_me: failed program was:" >&5
   5762 sed 's/^/| /' conftest.$ac_ext >&5
   5763 
   5764   # Passes both tests.
   5765 ac_preproc_ok=:
   5766 break
   5767 fi
   5768 
   5769 rm -f conftest.err conftest.$ac_ext
   5770 
   5771 done
   5772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5773 rm -f conftest.err conftest.$ac_ext
   5774 if $ac_preproc_ok; then
   5775   break
   5776 fi
   5777 
   5778     done
   5779     ac_cv_prog_CXXCPP=$CXXCPP
   5780 
   5781 fi
   5782   CXXCPP=$ac_cv_prog_CXXCPP
   5783 else
   5784   ac_cv_prog_CXXCPP=$CXXCPP
   5785 fi
   5786 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5787 echo "${ECHO_T}$CXXCPP" >&6; }
   5788 ac_preproc_ok=false
   5789 for ac_cxx_preproc_warn_flag in '' yes
   5790 do
   5791   # Use a header file that comes with gcc, so configuring glibc
   5792   # with a fresh cross-compiler works.
   5793   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5794   # <limits.h> exists even on freestanding compilers.
   5795   # On the NeXT, cc -E runs the code through the compiler's parser,
   5796   # not just through cpp. "Syntax error" is here to catch this case.
   5797   cat >conftest.$ac_ext <<_ACEOF
   5798 /* confdefs.h.  */
   5799 _ACEOF
   5800 cat confdefs.h >>conftest.$ac_ext
   5801 cat >>conftest.$ac_ext <<_ACEOF
   5802 /* end confdefs.h.  */
   5803 #ifdef __STDC__
   5804 # include <limits.h>
   5805 #else
   5806 # include <assert.h>
   5807 #endif
   5808 		     Syntax error
   5809 _ACEOF
   5810 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5811 case "(($ac_try" in
   5812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5813   *) ac_try_echo=$ac_try;;
   5814 esac
   5815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5816   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5817   ac_status=$?
   5818   grep -v '^ *+' conftest.er1 >conftest.err
   5819   rm -f conftest.er1
   5820   cat conftest.err >&5
   5821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5822   (exit $ac_status); } >/dev/null && {
   5823 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5824 	 test ! -s conftest.err
   5825        }; then
   5826   :
   5827 else
   5828   echo "$as_me: failed program was:" >&5
   5829 sed 's/^/| /' conftest.$ac_ext >&5
   5830 
   5831   # Broken: fails on valid input.
   5832 continue
   5833 fi
   5834 
   5835 rm -f conftest.err conftest.$ac_ext
   5836 
   5837   # OK, works on sane cases.  Now check whether nonexistent headers
   5838   # can be detected and how.
   5839   cat >conftest.$ac_ext <<_ACEOF
   5840 /* confdefs.h.  */
   5841 _ACEOF
   5842 cat confdefs.h >>conftest.$ac_ext
   5843 cat >>conftest.$ac_ext <<_ACEOF
   5844 /* end confdefs.h.  */
   5845 #include <ac_nonexistent.h>
   5846 _ACEOF
   5847 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5848 case "(($ac_try" in
   5849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5850   *) ac_try_echo=$ac_try;;
   5851 esac
   5852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5853   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5854   ac_status=$?
   5855   grep -v '^ *+' conftest.er1 >conftest.err
   5856   rm -f conftest.er1
   5857   cat conftest.err >&5
   5858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5859   (exit $ac_status); } >/dev/null && {
   5860 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5861 	 test ! -s conftest.err
   5862        }; then
   5863   # Broken: success on invalid input.
   5864 continue
   5865 else
   5866   echo "$as_me: failed program was:" >&5
   5867 sed 's/^/| /' conftest.$ac_ext >&5
   5868 
   5869   # Passes both tests.
   5870 ac_preproc_ok=:
   5871 break
   5872 fi
   5873 
   5874 rm -f conftest.err conftest.$ac_ext
   5875 
   5876 done
   5877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5878 rm -f conftest.err conftest.$ac_ext
   5879 if $ac_preproc_ok; then
   5880   :
   5881 else
   5882   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5883 See \`config.log' for more details." >&5
   5884 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5885 See \`config.log' for more details." >&2;}
   5886    { (exit 1); exit 1; }; }
   5887 fi
   5888 
   5889 ac_ext=cpp
   5890 ac_cpp='$CXXCPP $CPPFLAGS'
   5891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5894 
   5895 fi
   5896 
   5897 
   5898 ac_ext=f
   5899 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5900 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5901 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5902 if test -n "$ac_tool_prefix"; then
   5903   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
   5904   do
   5905     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5909 if test "${ac_cv_prog_F77+set}" = set; then
   5910   echo $ECHO_N "(cached) $ECHO_C" >&6
   5911 else
   5912   if test -n "$F77"; then
   5913   ac_cv_prog_F77="$F77" # Let the user override the test.
   5914 else
   5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5916 for as_dir in $PATH
   5917 do
   5918   IFS=$as_save_IFS
   5919   test -z "$as_dir" && as_dir=.
   5920   for ac_exec_ext in '' $ac_executable_extensions; do
   5921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5922     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5923     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5924     break 2
   5925   fi
   5926 done
   5927 done
   5928 IFS=$as_save_IFS
   5929 
   5930 fi
   5931 fi
   5932 F77=$ac_cv_prog_F77
   5933 if test -n "$F77"; then
   5934   { echo "$as_me:$LINENO: result: $F77" >&5
   5935 echo "${ECHO_T}$F77" >&6; }
   5936 else
   5937   { echo "$as_me:$LINENO: result: no" >&5
   5938 echo "${ECHO_T}no" >&6; }
   5939 fi
   5940 
   5941 
   5942     test -n "$F77" && break
   5943   done
   5944 fi
   5945 if test -z "$F77"; then
   5946   ac_ct_F77=$F77
   5947   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
   5948 do
   5949   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5950 set dummy $ac_prog; ac_word=$2
   5951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5953 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5954   echo $ECHO_N "(cached) $ECHO_C" >&6
   5955 else
   5956   if test -n "$ac_ct_F77"; then
   5957   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5958 else
   5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5960 for as_dir in $PATH
   5961 do
   5962   IFS=$as_save_IFS
   5963   test -z "$as_dir" && as_dir=.
   5964   for ac_exec_ext in '' $ac_executable_extensions; do
   5965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5966     ac_cv_prog_ac_ct_F77="$ac_prog"
   5967     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5968     break 2
   5969   fi
   5970 done
   5971 done
   5972 IFS=$as_save_IFS
   5973 
   5974 fi
   5975 fi
   5976 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5977 if test -n "$ac_ct_F77"; then
   5978   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5979 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5980 else
   5981   { echo "$as_me:$LINENO: result: no" >&5
   5982 echo "${ECHO_T}no" >&6; }
   5983 fi
   5984 
   5985 
   5986   test -n "$ac_ct_F77" && break
   5987 done
   5988 
   5989   if test "x$ac_ct_F77" = x; then
   5990     F77=""
   5991   else
   5992     case $cross_compiling:$ac_tool_warned in
   5993 yes:)
   5994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5995 whose name does not start with the host triplet.  If you think this
   5996 configuration is useful to you, please write to autoconf@gnu.org." >&5
   5997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5998 whose name does not start with the host triplet.  If you think this
   5999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6000 ac_tool_warned=yes ;;
   6001 esac
   6002     F77=$ac_ct_F77
   6003   fi
   6004 fi
   6005 
   6006 
   6007 # Provide some information about the compiler.
   6008 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6009 ac_compiler=`set X $ac_compile; echo $2`
   6010 { (ac_try="$ac_compiler --version >&5"
   6011 case "(($ac_try" in
   6012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6013   *) ac_try_echo=$ac_try;;
   6014 esac
   6015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6016   (eval "$ac_compiler --version >&5") 2>&5
   6017   ac_status=$?
   6018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6019   (exit $ac_status); }
   6020 { (ac_try="$ac_compiler -v >&5"
   6021 case "(($ac_try" in
   6022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6023   *) ac_try_echo=$ac_try;;
   6024 esac
   6025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6026   (eval "$ac_compiler -v >&5") 2>&5
   6027   ac_status=$?
   6028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6029   (exit $ac_status); }
   6030 { (ac_try="$ac_compiler -V >&5"
   6031 case "(($ac_try" in
   6032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6033   *) ac_try_echo=$ac_try;;
   6034 esac
   6035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6036   (eval "$ac_compiler -V >&5") 2>&5
   6037   ac_status=$?
   6038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6039   (exit $ac_status); }
   6040 rm -f a.out
   6041 
   6042 # If we don't use `.F' as extension, the preprocessor is not run on the
   6043 # input file.  (Note that this only needs to work for GNU compilers.)
   6044 ac_save_ext=$ac_ext
   6045 ac_ext=F
   6046 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6047 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6048 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6049   echo $ECHO_N "(cached) $ECHO_C" >&6
   6050 else
   6051   cat >conftest.$ac_ext <<_ACEOF
   6052       program main
   6053 #ifndef __GNUC__
   6054        choke me
   6055 #endif
   6056 
   6057       end
   6058 _ACEOF
   6059 rm -f conftest.$ac_objext
   6060 if { (ac_try="$ac_compile"
   6061 case "(($ac_try" in
   6062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6063   *) ac_try_echo=$ac_try;;
   6064 esac
   6065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6066   (eval "$ac_compile") 2>conftest.er1
   6067   ac_status=$?
   6068   grep -v '^ *+' conftest.er1 >conftest.err
   6069   rm -f conftest.er1
   6070   cat conftest.err >&5
   6071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6072   (exit $ac_status); } && {
   6073 	 test -z "$ac_f77_werror_flag" ||
   6074 	 test ! -s conftest.err
   6075        } && test -s conftest.$ac_objext; then
   6076   ac_compiler_gnu=yes
   6077 else
   6078   echo "$as_me: failed program was:" >&5
   6079 sed 's/^/| /' conftest.$ac_ext >&5
   6080 
   6081 	ac_compiler_gnu=no
   6082 fi
   6083 
   6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6085 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6086 
   6087 fi
   6088 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6089 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6090 ac_ext=$ac_save_ext
   6091 ac_test_FFLAGS=${FFLAGS+set}
   6092 ac_save_FFLAGS=$FFLAGS
   6093 FFLAGS=
   6094 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6095 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6096 if test "${ac_cv_prog_f77_g+set}" = set; then
   6097   echo $ECHO_N "(cached) $ECHO_C" >&6
   6098 else
   6099   FFLAGS=-g
   6100 cat >conftest.$ac_ext <<_ACEOF
   6101       program main
   6102 
   6103       end
   6104 _ACEOF
   6105 rm -f conftest.$ac_objext
   6106 if { (ac_try="$ac_compile"
   6107 case "(($ac_try" in
   6108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6109   *) ac_try_echo=$ac_try;;
   6110 esac
   6111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6112   (eval "$ac_compile") 2>conftest.er1
   6113   ac_status=$?
   6114   grep -v '^ *+' conftest.er1 >conftest.err
   6115   rm -f conftest.er1
   6116   cat conftest.err >&5
   6117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6118   (exit $ac_status); } && {
   6119 	 test -z "$ac_f77_werror_flag" ||
   6120 	 test ! -s conftest.err
   6121        } && test -s conftest.$ac_objext; then
   6122   ac_cv_prog_f77_g=yes
   6123 else
   6124   echo "$as_me: failed program was:" >&5
   6125 sed 's/^/| /' conftest.$ac_ext >&5
   6126 
   6127 	ac_cv_prog_f77_g=no
   6128 fi
   6129 
   6130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6131 
   6132 fi
   6133 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6134 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6135 if test "$ac_test_FFLAGS" = set; then
   6136   FFLAGS=$ac_save_FFLAGS
   6137 elif test $ac_cv_prog_f77_g = yes; then
   6138   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6139     FFLAGS="-g -O2"
   6140   else
   6141     FFLAGS="-g"
   6142   fi
   6143 else
   6144   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6145     FFLAGS="-O2"
   6146   else
   6147     FFLAGS=
   6148   fi
   6149 fi
   6150 
   6151 G77=`test $ac_compiler_gnu = yes && echo yes`
   6152 ac_ext=c
   6153 ac_cpp='$CPP $CPPFLAGS'
   6154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6157 
   6158 
   6159 
   6160 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6161 
   6162 # find the maximum length of command line arguments
   6163 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6164 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6165 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6166   echo $ECHO_N "(cached) $ECHO_C" >&6
   6167 else
   6168     i=0
   6169   teststring="ABCD"
   6170 
   6171   case $build_os in
   6172   msdosdjgpp*)
   6173     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6174     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6175     # during glob expansion).  Even if it were fixed, the result of this
   6176     # check would be larger than it should be.
   6177     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6178     ;;
   6179 
   6180   gnu*)
   6181     # Under GNU Hurd, this test is not required because there is
   6182     # no limit to the length of command line arguments.
   6183     # Libtool will interpret -1 as no limit whatsoever
   6184     lt_cv_sys_max_cmd_len=-1;
   6185     ;;
   6186 
   6187   cygwin* | mingw*)
   6188     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6189     # about 5 minutes as the teststring grows exponentially.
   6190     # Worse, since 9x/ME are not pre-emptively multitasking,
   6191     # you end up with a "frozen" computer, even though with patience
   6192     # the test eventually succeeds (with a max line length of 256k).
   6193     # Instead, let's just punt: use the minimum linelength reported by
   6194     # all of the supported platforms: 8192 (on NT/2K/XP).
   6195     lt_cv_sys_max_cmd_len=8192;
   6196     ;;
   6197 
   6198   amigaos*)
   6199     # On AmigaOS with pdksh, this test takes hours, literally.
   6200     # So we just punt and use a minimum line length of 8192.
   6201     lt_cv_sys_max_cmd_len=8192;
   6202     ;;
   6203 
   6204   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6205     # This has been around since 386BSD, at least.  Likely further.
   6206     if test -x /sbin/sysctl; then
   6207       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6208     elif test -x /usr/sbin/sysctl; then
   6209       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6210     else
   6211       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6212     fi
   6213     # And add a safety zone
   6214     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6215     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6216     ;;
   6217 
   6218   interix*)
   6219     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6220     lt_cv_sys_max_cmd_len=196608
   6221     ;;
   6222 
   6223   osf*)
   6224     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6225     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6226     # nice to cause kernel panics so lets avoid the loop below.
   6227     # First set a reasonable default.
   6228     lt_cv_sys_max_cmd_len=16384
   6229     #
   6230     if test -x /sbin/sysconfig; then
   6231       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6232         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6233       esac
   6234     fi
   6235     ;;
   6236   sco3.2v5*)
   6237     lt_cv_sys_max_cmd_len=102400
   6238     ;;
   6239   sysv5* | sco5v6* | sysv4.2uw2*)
   6240     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6241     if test -n "$kargmax"; then
   6242       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6243     else
   6244       lt_cv_sys_max_cmd_len=32768
   6245     fi
   6246     ;;
   6247   *)
   6248     # If test is not a shell built-in, we'll probably end up computing a
   6249     # maximum length that is only half of the actual maximum length, but
   6250     # we can't tell.
   6251     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6252     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6253 	       = "XX$teststring") >/dev/null 2>&1 &&
   6254 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6255 	    lt_cv_sys_max_cmd_len=$new_result &&
   6256 	    test $i != 17 # 1/2 MB should be enough
   6257     do
   6258       i=`expr $i + 1`
   6259       teststring=$teststring$teststring
   6260     done
   6261     teststring=
   6262     # Add a significant safety factor because C++ compilers can tack on massive
   6263     # amounts of additional arguments before passing them to the linker.
   6264     # It appears as though 1/2 is a usable value.
   6265     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6266     ;;
   6267   esac
   6268 
   6269 fi
   6270 
   6271 if test -n $lt_cv_sys_max_cmd_len ; then
   6272   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6273 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6274 else
   6275   { echo "$as_me:$LINENO: result: none" >&5
   6276 echo "${ECHO_T}none" >&6; }
   6277 fi
   6278 
   6279 
   6280 
   6281 
   6282 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6283 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6284 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6285 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6286   echo $ECHO_N "(cached) $ECHO_C" >&6
   6287 else
   6288 
   6289 # These are sane defaults that work on at least a few old systems.
   6290 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6291 
   6292 # Character class describing NM global symbol codes.
   6293 symcode='[BCDEGRST]'
   6294 
   6295 # Regexp to match symbols that can be accessed directly from C.
   6296 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6297 
   6298 # Transform an extracted symbol line into a proper C declaration
   6299 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6300 
   6301 # Transform an extracted symbol line into symbol name and symbol address
   6302 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'"
   6303 
   6304 # Define system-specific variables.
   6305 case $host_os in
   6306 aix*)
   6307   symcode='[BCDT]'
   6308   ;;
   6309 cygwin* | mingw* | pw32*)
   6310   symcode='[ABCDGISTW]'
   6311   ;;
   6312 hpux*) # Its linker distinguishes data from code symbols
   6313   if test "$host_cpu" = ia64; then
   6314     symcode='[ABCDEGRST]'
   6315   fi
   6316   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6317   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'"
   6318   ;;
   6319 linux*)
   6320   if test "$host_cpu" = ia64; then
   6321     symcode='[ABCDGIRSTW]'
   6322     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6323     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'"
   6324   fi
   6325   ;;
   6326 irix* | nonstopux*)
   6327   symcode='[BCDEGRST]'
   6328   ;;
   6329 osf*)
   6330   symcode='[BCDEGQRST]'
   6331   ;;
   6332 solaris*)
   6333   symcode='[BDRT]'
   6334   ;;
   6335 sco3.2v5*)
   6336   symcode='[DT]'
   6337   ;;
   6338 sysv4.2uw2*)
   6339   symcode='[DT]'
   6340   ;;
   6341 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6342   symcode='[ABDT]'
   6343   ;;
   6344 sysv4)
   6345   symcode='[DFNSTU]'
   6346   ;;
   6347 esac
   6348 
   6349 # Handle CRLF in mingw tool chain
   6350 opt_cr=
   6351 case $build_os in
   6352 mingw*)
   6353   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6354   ;;
   6355 esac
   6356 
   6357 # If we're using GNU nm, then use its standard symbol codes.
   6358 case `$NM -V 2>&1` in
   6359 *GNU* | *'with BFD'*)
   6360   symcode='[ABCDGIRSTW]' ;;
   6361 esac
   6362 
   6363 # Try without a prefix undercore, then with it.
   6364 for ac_symprfx in "" "_"; do
   6365 
   6366   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6367   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6368 
   6369   # Write the raw and C identifiers.
   6370   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6371 
   6372   # Check to see that the pipe works correctly.
   6373   pipe_works=no
   6374 
   6375   rm -f conftest*
   6376   cat > conftest.$ac_ext <<EOF
   6377 #ifdef __cplusplus
   6378 extern "C" {
   6379 #endif
   6380 char nm_test_var;
   6381 void nm_test_func(){}
   6382 #ifdef __cplusplus
   6383 }
   6384 #endif
   6385 int main(){nm_test_var='a';nm_test_func();return(0);}
   6386 EOF
   6387 
   6388   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6389   (eval $ac_compile) 2>&5
   6390   ac_status=$?
   6391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6392   (exit $ac_status); }; then
   6393     # Now try to grab the symbols.
   6394     nlist=conftest.nm
   6395     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6396   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6397   ac_status=$?
   6398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6399   (exit $ac_status); } && test -s "$nlist"; then
   6400       # Try sorting and uniquifying the output.
   6401       if sort "$nlist" | uniq > "$nlist"T; then
   6402 	mv -f "$nlist"T "$nlist"
   6403       else
   6404 	rm -f "$nlist"T
   6405       fi
   6406 
   6407       # Make sure that we snagged all the symbols we need.
   6408       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6409 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6410 	  cat <<EOF > conftest.$ac_ext
   6411 #ifdef __cplusplus
   6412 extern "C" {
   6413 #endif
   6414 
   6415 EOF
   6416 	  # Now generate the symbol file.
   6417 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6418 
   6419 	  cat <<EOF >> conftest.$ac_ext
   6420 #if defined (__STDC__) && __STDC__
   6421 # define lt_ptr_t void *
   6422 #else
   6423 # define lt_ptr_t char *
   6424 # define const
   6425 #endif
   6426 
   6427 /* The mapping between symbol names and symbols. */
   6428 const struct {
   6429   const char *name;
   6430   lt_ptr_t address;
   6431 }
   6432 lt_preloaded_symbols[] =
   6433 {
   6434 EOF
   6435 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6436 	  cat <<\EOF >> conftest.$ac_ext
   6437   {0, (lt_ptr_t) 0}
   6438 };
   6439 
   6440 #ifdef __cplusplus
   6441 }
   6442 #endif
   6443 EOF
   6444 	  # Now try linking the two files.
   6445 	  mv conftest.$ac_objext conftstm.$ac_objext
   6446 	  lt_save_LIBS="$LIBS"
   6447 	  lt_save_CFLAGS="$CFLAGS"
   6448 	  LIBS="conftstm.$ac_objext"
   6449 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6450 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6451   (eval $ac_link) 2>&5
   6452   ac_status=$?
   6453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6454   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6455 	    pipe_works=yes
   6456 	  fi
   6457 	  LIBS="$lt_save_LIBS"
   6458 	  CFLAGS="$lt_save_CFLAGS"
   6459 	else
   6460 	  echo "cannot find nm_test_func in $nlist" >&5
   6461 	fi
   6462       else
   6463 	echo "cannot find nm_test_var in $nlist" >&5
   6464       fi
   6465     else
   6466       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6467     fi
   6468   else
   6469     echo "$progname: failed program was:" >&5
   6470     cat conftest.$ac_ext >&5
   6471   fi
   6472   rm -f conftest* conftst*
   6473 
   6474   # Do not use the global_symbol_pipe unless it works.
   6475   if test "$pipe_works" = yes; then
   6476     break
   6477   else
   6478     lt_cv_sys_global_symbol_pipe=
   6479   fi
   6480 done
   6481 
   6482 fi
   6483 
   6484 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6485   lt_cv_sys_global_symbol_to_cdecl=
   6486 fi
   6487 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6488   { echo "$as_me:$LINENO: result: failed" >&5
   6489 echo "${ECHO_T}failed" >&6; }
   6490 else
   6491   { echo "$as_me:$LINENO: result: ok" >&5
   6492 echo "${ECHO_T}ok" >&6; }
   6493 fi
   6494 
   6495 { echo "$as_me:$LINENO: checking for objdir" >&5
   6496 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6497 if test "${lt_cv_objdir+set}" = set; then
   6498   echo $ECHO_N "(cached) $ECHO_C" >&6
   6499 else
   6500   rm -f .libs 2>/dev/null
   6501 mkdir .libs 2>/dev/null
   6502 if test -d .libs; then
   6503   lt_cv_objdir=.libs
   6504 else
   6505   # MS-DOS does not allow filenames that begin with a dot.
   6506   lt_cv_objdir=_libs
   6507 fi
   6508 rmdir .libs 2>/dev/null
   6509 fi
   6510 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6511 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6512 objdir=$lt_cv_objdir
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 case $host_os in
   6519 aix3*)
   6520   # AIX sometimes has problems with the GCC collect2 program.  For some
   6521   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6522   # vanish in a puff of smoke.
   6523   if test "X${COLLECT_NAMES+set}" != Xset; then
   6524     COLLECT_NAMES=
   6525     export COLLECT_NAMES
   6526   fi
   6527   ;;
   6528 esac
   6529 
   6530 # Sed substitution that helps us do robust quoting.  It backslashifies
   6531 # metacharacters that are still active within double-quoted strings.
   6532 Xsed='sed -e 1s/^X//'
   6533 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6534 
   6535 # Same as above, but do not quote variable references.
   6536 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6537 
   6538 # Sed substitution to delay expansion of an escaped shell variable in a
   6539 # double_quote_subst'ed string.
   6540 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6541 
   6542 # Sed substitution to avoid accidental globbing in evaled expressions
   6543 no_glob_subst='s/\*/\\\*/g'
   6544 
   6545 # Constants:
   6546 rm="rm -f"
   6547 
   6548 # Global variables:
   6549 default_ofile=libtool
   6550 can_build_shared=yes
   6551 
   6552 # All known linkers require a `.a' archive for static linking (except MSVC,
   6553 # which needs '.lib').
   6554 libext=a
   6555 ltmain="$ac_aux_dir/ltmain.sh"
   6556 ofile="$default_ofile"
   6557 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6558 
   6559 if test -n "$ac_tool_prefix"; then
   6560   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6561 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6564 if test "${ac_cv_prog_AR+set}" = set; then
   6565   echo $ECHO_N "(cached) $ECHO_C" >&6
   6566 else
   6567   if test -n "$AR"; then
   6568   ac_cv_prog_AR="$AR" # Let the user override the test.
   6569 else
   6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6571 for as_dir in $PATH
   6572 do
   6573   IFS=$as_save_IFS
   6574   test -z "$as_dir" && as_dir=.
   6575   for ac_exec_ext in '' $ac_executable_extensions; do
   6576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6577     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6579     break 2
   6580   fi
   6581 done
   6582 done
   6583 IFS=$as_save_IFS
   6584 
   6585 fi
   6586 fi
   6587 AR=$ac_cv_prog_AR
   6588 if test -n "$AR"; then
   6589   { echo "$as_me:$LINENO: result: $AR" >&5
   6590 echo "${ECHO_T}$AR" >&6; }
   6591 else
   6592   { echo "$as_me:$LINENO: result: no" >&5
   6593 echo "${ECHO_T}no" >&6; }
   6594 fi
   6595 
   6596 
   6597 fi
   6598 if test -z "$ac_cv_prog_AR"; then
   6599   ac_ct_AR=$AR
   6600   # Extract the first word of "ar", so it can be a program name with args.
   6601 set dummy ar; ac_word=$2
   6602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6604 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6605   echo $ECHO_N "(cached) $ECHO_C" >&6
   6606 else
   6607   if test -n "$ac_ct_AR"; then
   6608   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6609 else
   6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6611 for as_dir in $PATH
   6612 do
   6613   IFS=$as_save_IFS
   6614   test -z "$as_dir" && as_dir=.
   6615   for ac_exec_ext in '' $ac_executable_extensions; do
   6616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6617     ac_cv_prog_ac_ct_AR="ar"
   6618     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6619     break 2
   6620   fi
   6621 done
   6622 done
   6623 IFS=$as_save_IFS
   6624 
   6625 fi
   6626 fi
   6627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6628 if test -n "$ac_ct_AR"; then
   6629   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6630 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6631 else
   6632   { echo "$as_me:$LINENO: result: no" >&5
   6633 echo "${ECHO_T}no" >&6; }
   6634 fi
   6635 
   6636   if test "x$ac_ct_AR" = x; then
   6637     AR="false"
   6638   else
   6639     case $cross_compiling:$ac_tool_warned in
   6640 yes:)
   6641 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6642 whose name does not start with the host triplet.  If you think this
   6643 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6644 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6645 whose name does not start with the host triplet.  If you think this
   6646 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6647 ac_tool_warned=yes ;;
   6648 esac
   6649     AR=$ac_ct_AR
   6650   fi
   6651 else
   6652   AR="$ac_cv_prog_AR"
   6653 fi
   6654 
   6655 if test -n "$ac_tool_prefix"; then
   6656   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6657 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6660 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6661   echo $ECHO_N "(cached) $ECHO_C" >&6
   6662 else
   6663   if test -n "$RANLIB"; then
   6664   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6665 else
   6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6667 for as_dir in $PATH
   6668 do
   6669   IFS=$as_save_IFS
   6670   test -z "$as_dir" && as_dir=.
   6671   for ac_exec_ext in '' $ac_executable_extensions; do
   6672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6673     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6674     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6675     break 2
   6676   fi
   6677 done
   6678 done
   6679 IFS=$as_save_IFS
   6680 
   6681 fi
   6682 fi
   6683 RANLIB=$ac_cv_prog_RANLIB
   6684 if test -n "$RANLIB"; then
   6685   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6686 echo "${ECHO_T}$RANLIB" >&6; }
   6687 else
   6688   { echo "$as_me:$LINENO: result: no" >&5
   6689 echo "${ECHO_T}no" >&6; }
   6690 fi
   6691 
   6692 
   6693 fi
   6694 if test -z "$ac_cv_prog_RANLIB"; then
   6695   ac_ct_RANLIB=$RANLIB
   6696   # Extract the first word of "ranlib", so it can be a program name with args.
   6697 set dummy ranlib; ac_word=$2
   6698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6700 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6701   echo $ECHO_N "(cached) $ECHO_C" >&6
   6702 else
   6703   if test -n "$ac_ct_RANLIB"; then
   6704   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6705 else
   6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6707 for as_dir in $PATH
   6708 do
   6709   IFS=$as_save_IFS
   6710   test -z "$as_dir" && as_dir=.
   6711   for ac_exec_ext in '' $ac_executable_extensions; do
   6712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6713     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6714     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6715     break 2
   6716   fi
   6717 done
   6718 done
   6719 IFS=$as_save_IFS
   6720 
   6721 fi
   6722 fi
   6723 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6724 if test -n "$ac_ct_RANLIB"; then
   6725   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6726 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6727 else
   6728   { echo "$as_me:$LINENO: result: no" >&5
   6729 echo "${ECHO_T}no" >&6; }
   6730 fi
   6731 
   6732   if test "x$ac_ct_RANLIB" = x; then
   6733     RANLIB=":"
   6734   else
   6735     case $cross_compiling:$ac_tool_warned in
   6736 yes:)
   6737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6738 whose name does not start with the host triplet.  If you think this
   6739 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6741 whose name does not start with the host triplet.  If you think this
   6742 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6743 ac_tool_warned=yes ;;
   6744 esac
   6745     RANLIB=$ac_ct_RANLIB
   6746   fi
   6747 else
   6748   RANLIB="$ac_cv_prog_RANLIB"
   6749 fi
   6750 
   6751 if test -n "$ac_tool_prefix"; then
   6752   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6753 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6756 if test "${ac_cv_prog_STRIP+set}" = set; then
   6757   echo $ECHO_N "(cached) $ECHO_C" >&6
   6758 else
   6759   if test -n "$STRIP"; then
   6760   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6761 else
   6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6763 for as_dir in $PATH
   6764 do
   6765   IFS=$as_save_IFS
   6766   test -z "$as_dir" && as_dir=.
   6767   for ac_exec_ext in '' $ac_executable_extensions; do
   6768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6769     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6770     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6771     break 2
   6772   fi
   6773 done
   6774 done
   6775 IFS=$as_save_IFS
   6776 
   6777 fi
   6778 fi
   6779 STRIP=$ac_cv_prog_STRIP
   6780 if test -n "$STRIP"; then
   6781   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6782 echo "${ECHO_T}$STRIP" >&6; }
   6783 else
   6784   { echo "$as_me:$LINENO: result: no" >&5
   6785 echo "${ECHO_T}no" >&6; }
   6786 fi
   6787 
   6788 
   6789 fi
   6790 if test -z "$ac_cv_prog_STRIP"; then
   6791   ac_ct_STRIP=$STRIP
   6792   # Extract the first word of "strip", so it can be a program name with args.
   6793 set dummy strip; ac_word=$2
   6794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6796 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6797   echo $ECHO_N "(cached) $ECHO_C" >&6
   6798 else
   6799   if test -n "$ac_ct_STRIP"; then
   6800   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6801 else
   6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6803 for as_dir in $PATH
   6804 do
   6805   IFS=$as_save_IFS
   6806   test -z "$as_dir" && as_dir=.
   6807   for ac_exec_ext in '' $ac_executable_extensions; do
   6808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6809     ac_cv_prog_ac_ct_STRIP="strip"
   6810     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6811     break 2
   6812   fi
   6813 done
   6814 done
   6815 IFS=$as_save_IFS
   6816 
   6817 fi
   6818 fi
   6819 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6820 if test -n "$ac_ct_STRIP"; then
   6821   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6822 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6823 else
   6824   { echo "$as_me:$LINENO: result: no" >&5
   6825 echo "${ECHO_T}no" >&6; }
   6826 fi
   6827 
   6828   if test "x$ac_ct_STRIP" = x; then
   6829     STRIP=":"
   6830   else
   6831     case $cross_compiling:$ac_tool_warned in
   6832 yes:)
   6833 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6834 whose name does not start with the host triplet.  If you think this
   6835 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6836 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6837 whose name does not start with the host triplet.  If you think this
   6838 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6839 ac_tool_warned=yes ;;
   6840 esac
   6841     STRIP=$ac_ct_STRIP
   6842   fi
   6843 else
   6844   STRIP="$ac_cv_prog_STRIP"
   6845 fi
   6846 
   6847 
   6848 old_CC="$CC"
   6849 old_CFLAGS="$CFLAGS"
   6850 
   6851 # Set sane defaults for various variables
   6852 test -z "$AR" && AR=ar
   6853 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6854 test -z "$AS" && AS=as
   6855 test -z "$CC" && CC=cc
   6856 test -z "$LTCC" && LTCC=$CC
   6857 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6858 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6859 test -z "$LD" && LD=ld
   6860 test -z "$LN_S" && LN_S="ln -s"
   6861 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6862 test -z "$NM" && NM=nm
   6863 test -z "$SED" && SED=sed
   6864 test -z "$OBJDUMP" && OBJDUMP=objdump
   6865 test -z "$RANLIB" && RANLIB=:
   6866 test -z "$STRIP" && STRIP=:
   6867 test -z "$ac_objext" && ac_objext=o
   6868 
   6869 # Determine commands to create old-style static archives.
   6870 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6871 old_postinstall_cmds='chmod 644 $oldlib'
   6872 old_postuninstall_cmds=
   6873 
   6874 if test -n "$RANLIB"; then
   6875   case $host_os in
   6876   openbsd*)
   6877     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6878     ;;
   6879   *)
   6880     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6881     ;;
   6882   esac
   6883   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6884 fi
   6885 
   6886 for cc_temp in $compiler""; do
   6887   case $cc_temp in
   6888     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6889     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6890     \-*) ;;
   6891     *) break;;
   6892   esac
   6893 done
   6894 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6895 
   6896 
   6897 # Only perform the check for file, if the check method requires it
   6898 case $deplibs_check_method in
   6899 file_magic*)
   6900   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6901     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6902 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6903 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6904   echo $ECHO_N "(cached) $ECHO_C" >&6
   6905 else
   6906   case $MAGIC_CMD in
   6907 [\\/*] |  ?:[\\/]*)
   6908   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6909   ;;
   6910 *)
   6911   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6912   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6913   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6914   for ac_dir in $ac_dummy; do
   6915     IFS="$lt_save_ifs"
   6916     test -z "$ac_dir" && ac_dir=.
   6917     if test -f $ac_dir/${ac_tool_prefix}file; then
   6918       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6919       if test -n "$file_magic_test_file"; then
   6920 	case $deplibs_check_method in
   6921 	"file_magic "*)
   6922 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6923 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6924 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6925 	    $EGREP "$file_magic_regex" > /dev/null; then
   6926 	    :
   6927 	  else
   6928 	    cat <<EOF 1>&2
   6929 
   6930 *** Warning: the command libtool uses to detect shared libraries,
   6931 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6932 *** The result is that libtool may fail to recognize shared libraries
   6933 *** as such.  This will affect the creation of libtool libraries that
   6934 *** depend on shared libraries, but programs linked with such libtool
   6935 *** libraries will work regardless of this problem.  Nevertheless, you
   6936 *** may want to report the problem to your system manager and/or to
   6937 *** bug-libtool@gnu.org
   6938 
   6939 EOF
   6940 	  fi ;;
   6941 	esac
   6942       fi
   6943       break
   6944     fi
   6945   done
   6946   IFS="$lt_save_ifs"
   6947   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6948   ;;
   6949 esac
   6950 fi
   6951 
   6952 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6953 if test -n "$MAGIC_CMD"; then
   6954   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6955 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6956 else
   6957   { echo "$as_me:$LINENO: result: no" >&5
   6958 echo "${ECHO_T}no" >&6; }
   6959 fi
   6960 
   6961 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6962   if test -n "$ac_tool_prefix"; then
   6963     { echo "$as_me:$LINENO: checking for file" >&5
   6964 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6965 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6966   echo $ECHO_N "(cached) $ECHO_C" >&6
   6967 else
   6968   case $MAGIC_CMD in
   6969 [\\/*] |  ?:[\\/]*)
   6970   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6971   ;;
   6972 *)
   6973   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6974   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6975   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6976   for ac_dir in $ac_dummy; do
   6977     IFS="$lt_save_ifs"
   6978     test -z "$ac_dir" && ac_dir=.
   6979     if test -f $ac_dir/file; then
   6980       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6981       if test -n "$file_magic_test_file"; then
   6982 	case $deplibs_check_method in
   6983 	"file_magic "*)
   6984 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6985 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6986 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6987 	    $EGREP "$file_magic_regex" > /dev/null; then
   6988 	    :
   6989 	  else
   6990 	    cat <<EOF 1>&2
   6991 
   6992 *** Warning: the command libtool uses to detect shared libraries,
   6993 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6994 *** The result is that libtool may fail to recognize shared libraries
   6995 *** as such.  This will affect the creation of libtool libraries that
   6996 *** depend on shared libraries, but programs linked with such libtool
   6997 *** libraries will work regardless of this problem.  Nevertheless, you
   6998 *** may want to report the problem to your system manager and/or to
   6999 *** bug-libtool@gnu.org
   7000 
   7001 EOF
   7002 	  fi ;;
   7003 	esac
   7004       fi
   7005       break
   7006     fi
   7007   done
   7008   IFS="$lt_save_ifs"
   7009   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7010   ;;
   7011 esac
   7012 fi
   7013 
   7014 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7015 if test -n "$MAGIC_CMD"; then
   7016   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7017 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7018 else
   7019   { echo "$as_me:$LINENO: result: no" >&5
   7020 echo "${ECHO_T}no" >&6; }
   7021 fi
   7022 
   7023   else
   7024     MAGIC_CMD=:
   7025   fi
   7026 fi
   7027 
   7028   fi
   7029   ;;
   7030 esac
   7031 
   7032 enable_dlopen=no
   7033 enable_win32_dll=no
   7034 
   7035 # Check whether --enable-libtool-lock was given.
   7036 if test "${enable_libtool_lock+set}" = set; then
   7037   enableval=$enable_libtool_lock;
   7038 fi
   7039 
   7040 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7041 
   7042 
   7043 # Check whether --with-pic was given.
   7044 if test "${with_pic+set}" = set; then
   7045   withval=$with_pic; pic_mode="$withval"
   7046 else
   7047   pic_mode=default
   7048 fi
   7049 
   7050 test -z "$pic_mode" && pic_mode=default
   7051 
   7052 # Use C for the default configuration in the libtool script
   7053 tagname=
   7054 lt_save_CC="$CC"
   7055 ac_ext=c
   7056 ac_cpp='$CPP $CPPFLAGS'
   7057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7060 
   7061 
   7062 # Source file extension for C test sources.
   7063 ac_ext=c
   7064 
   7065 # Object file extension for compiled C test sources.
   7066 objext=o
   7067 objext=$objext
   7068 
   7069 # Code to be used in simple compile tests
   7070 lt_simple_compile_test_code="int some_variable = 0;\n"
   7071 
   7072 # Code to be used in simple link tests
   7073 lt_simple_link_test_code='int main(){return(0);}\n'
   7074 
   7075 
   7076 # If no C compiler was specified, use CC.
   7077 LTCC=${LTCC-"$CC"}
   7078 
   7079 # If no C compiler flags were specified, use CFLAGS.
   7080 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7081 
   7082 # Allow CC to be a program name with arguments.
   7083 compiler=$CC
   7084 
   7085 
   7086 # save warnings/boilerplate of simple test code
   7087 ac_outfile=conftest.$ac_objext
   7088 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7089 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7090 _lt_compiler_boilerplate=`cat conftest.err`
   7091 $rm conftest*
   7092 
   7093 ac_outfile=conftest.$ac_objext
   7094 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7095 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7096 _lt_linker_boilerplate=`cat conftest.err`
   7097 $rm conftest*
   7098 
   7099 
   7100 
   7101 lt_prog_compiler_no_builtin_flag=
   7102 
   7103 if test "$GCC" = yes; then
   7104   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7105 
   7106 
   7107 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7108 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7109 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7110   echo $ECHO_N "(cached) $ECHO_C" >&6
   7111 else
   7112   lt_cv_prog_compiler_rtti_exceptions=no
   7113   ac_outfile=conftest.$ac_objext
   7114    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7115    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7116    # Insert the option either (1) after the last *FLAGS variable, or
   7117    # (2) before a word containing "conftest.", or (3) at the end.
   7118    # Note that $ac_compile itself does not contain backslashes and begins
   7119    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7120    # The option is referenced via a variable to avoid confusing sed.
   7121    lt_compile=`echo "$ac_compile" | $SED \
   7122    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7123    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7124    -e 's:$: $lt_compiler_flag:'`
   7125    (eval echo "\"\$as_me:7125: $lt_compile\"" >&5)
   7126    (eval "$lt_compile" 2>conftest.err)
   7127    ac_status=$?
   7128    cat conftest.err >&5
   7129    echo "$as_me:7129: \$? = $ac_status" >&5
   7130    if (exit $ac_status) && test -s "$ac_outfile"; then
   7131      # The compiler can only warn and ignore the option if not recognized
   7132      # So say no if there are warnings other than the usual output.
   7133      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7134      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7135      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7136        lt_cv_prog_compiler_rtti_exceptions=yes
   7137      fi
   7138    fi
   7139    $rm conftest*
   7140 
   7141 fi
   7142 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7143 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7144 
   7145 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7146     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7147 else
   7148     :
   7149 fi
   7150 
   7151 fi
   7152 
   7153 lt_prog_compiler_wl=
   7154 lt_prog_compiler_pic=
   7155 lt_prog_compiler_static=
   7156 
   7157 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7158 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7159 
   7160   if test "$GCC" = yes; then
   7161     lt_prog_compiler_wl='-Wl,'
   7162     lt_prog_compiler_static='-static'
   7163 
   7164     case $host_os in
   7165       aix*)
   7166       # All AIX code is PIC.
   7167       if test "$host_cpu" = ia64; then
   7168 	# AIX 5 now supports IA64 processor
   7169 	lt_prog_compiler_static='-Bstatic'
   7170       fi
   7171       ;;
   7172 
   7173     amigaos*)
   7174       # FIXME: we need at least 68020 code to build shared libraries, but
   7175       # adding the `-m68020' flag to GCC prevents building anything better,
   7176       # like `-m68040'.
   7177       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7178       ;;
   7179 
   7180     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7181       # PIC is the default for these OSes.
   7182       ;;
   7183 
   7184     mingw* | pw32* | os2*)
   7185       # This hack is so that the source file can tell whether it is being
   7186       # built for inclusion in a dll (and should export symbols for example).
   7187       lt_prog_compiler_pic='-DDLL_EXPORT'
   7188       ;;
   7189 
   7190     darwin* | rhapsody*)
   7191       # PIC is the default on this platform
   7192       # Common symbols not allowed in MH_DYLIB files
   7193       lt_prog_compiler_pic='-fno-common'
   7194       ;;
   7195 
   7196     interix3*)
   7197       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7198       # Instead, we relocate shared libraries at runtime.
   7199       ;;
   7200 
   7201     msdosdjgpp*)
   7202       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7203       # on systems that don't support them.
   7204       lt_prog_compiler_can_build_shared=no
   7205       enable_shared=no
   7206       ;;
   7207 
   7208     sysv4*MP*)
   7209       if test -d /usr/nec; then
   7210 	lt_prog_compiler_pic=-Kconform_pic
   7211       fi
   7212       ;;
   7213 
   7214     hpux*)
   7215       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7216       # not for PA HP-UX.
   7217       case $host_cpu in
   7218       hppa*64*|ia64*)
   7219 	# +Z the default
   7220 	;;
   7221       *)
   7222 	lt_prog_compiler_pic='-fPIC'
   7223 	;;
   7224       esac
   7225       ;;
   7226 
   7227     *)
   7228       lt_prog_compiler_pic='-fPIC'
   7229       ;;
   7230     esac
   7231   else
   7232     # PORTME Check for flag to pass linker flags through the system compiler.
   7233     case $host_os in
   7234     aix*)
   7235       lt_prog_compiler_wl='-Wl,'
   7236       if test "$host_cpu" = ia64; then
   7237 	# AIX 5 now supports IA64 processor
   7238 	lt_prog_compiler_static='-Bstatic'
   7239       else
   7240 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7241       fi
   7242       ;;
   7243       darwin*)
   7244         # PIC is the default on this platform
   7245         # Common symbols not allowed in MH_DYLIB files
   7246        case $cc_basename in
   7247          xlc*)
   7248          lt_prog_compiler_pic='-qnocommon'
   7249          lt_prog_compiler_wl='-Wl,'
   7250          ;;
   7251        esac
   7252        ;;
   7253 
   7254     mingw* | pw32* | os2*)
   7255       # This hack is so that the source file can tell whether it is being
   7256       # built for inclusion in a dll (and should export symbols for example).
   7257       lt_prog_compiler_pic='-DDLL_EXPORT'
   7258       ;;
   7259 
   7260     hpux9* | hpux10* | hpux11*)
   7261       lt_prog_compiler_wl='-Wl,'
   7262       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7263       # not for PA HP-UX.
   7264       case $host_cpu in
   7265       hppa*64*|ia64*)
   7266 	# +Z the default
   7267 	;;
   7268       *)
   7269 	lt_prog_compiler_pic='+Z'
   7270 	;;
   7271       esac
   7272       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7273       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7274       ;;
   7275 
   7276     irix5* | irix6* | nonstopux*)
   7277       lt_prog_compiler_wl='-Wl,'
   7278       # PIC (with -KPIC) is the default.
   7279       lt_prog_compiler_static='-non_shared'
   7280       ;;
   7281 
   7282     newsos6)
   7283       lt_prog_compiler_pic='-KPIC'
   7284       lt_prog_compiler_static='-Bstatic'
   7285       ;;
   7286 
   7287     linux*)
   7288       case $cc_basename in
   7289       icc* | ecc*)
   7290 	lt_prog_compiler_wl='-Wl,'
   7291 	lt_prog_compiler_pic='-KPIC'
   7292 	lt_prog_compiler_static='-static'
   7293         ;;
   7294       pgcc* | pgf77* | pgf90* | pgf95*)
   7295         # Portland Group compilers (*not* the Pentium gcc compiler,
   7296 	# which looks to be a dead project)
   7297 	lt_prog_compiler_wl='-Wl,'
   7298 	lt_prog_compiler_pic='-fpic'
   7299 	lt_prog_compiler_static='-Bstatic'
   7300         ;;
   7301       ccc*)
   7302         lt_prog_compiler_wl='-Wl,'
   7303         # All Alpha code is PIC.
   7304         lt_prog_compiler_static='-non_shared'
   7305         ;;
   7306       esac
   7307       ;;
   7308 
   7309     osf3* | osf4* | osf5*)
   7310       lt_prog_compiler_wl='-Wl,'
   7311       # All OSF/1 code is PIC.
   7312       lt_prog_compiler_static='-non_shared'
   7313       ;;
   7314 
   7315     solaris*)
   7316       lt_prog_compiler_pic='-KPIC'
   7317       lt_prog_compiler_static='-Bstatic'
   7318       case $cc_basename in
   7319       f77* | f90* | f95*)
   7320 	lt_prog_compiler_wl='-Qoption ld ';;
   7321       *)
   7322 	lt_prog_compiler_wl='-Wl,';;
   7323       esac
   7324       ;;
   7325 
   7326     sunos4*)
   7327       lt_prog_compiler_wl='-Qoption ld '
   7328       lt_prog_compiler_pic='-PIC'
   7329       lt_prog_compiler_static='-Bstatic'
   7330       ;;
   7331 
   7332     sysv4 | sysv4.2uw2* | sysv4.3*)
   7333       lt_prog_compiler_wl='-Wl,'
   7334       lt_prog_compiler_pic='-KPIC'
   7335       lt_prog_compiler_static='-Bstatic'
   7336       ;;
   7337 
   7338     sysv4*MP*)
   7339       if test -d /usr/nec ;then
   7340 	lt_prog_compiler_pic='-Kconform_pic'
   7341 	lt_prog_compiler_static='-Bstatic'
   7342       fi
   7343       ;;
   7344 
   7345     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7346       lt_prog_compiler_wl='-Wl,'
   7347       lt_prog_compiler_pic='-KPIC'
   7348       lt_prog_compiler_static='-Bstatic'
   7349       ;;
   7350 
   7351     unicos*)
   7352       lt_prog_compiler_wl='-Wl,'
   7353       lt_prog_compiler_can_build_shared=no
   7354       ;;
   7355 
   7356     uts4*)
   7357       lt_prog_compiler_pic='-pic'
   7358       lt_prog_compiler_static='-Bstatic'
   7359       ;;
   7360 
   7361     *)
   7362       lt_prog_compiler_can_build_shared=no
   7363       ;;
   7364     esac
   7365   fi
   7366 
   7367 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7368 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7369 
   7370 #
   7371 # Check to make sure the PIC flag actually works.
   7372 #
   7373 if test -n "$lt_prog_compiler_pic"; then
   7374 
   7375 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7376 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7377 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7378   echo $ECHO_N "(cached) $ECHO_C" >&6
   7379 else
   7380   lt_prog_compiler_pic_works=no
   7381   ac_outfile=conftest.$ac_objext
   7382    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7383    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7384    # Insert the option either (1) after the last *FLAGS variable, or
   7385    # (2) before a word containing "conftest.", or (3) at the end.
   7386    # Note that $ac_compile itself does not contain backslashes and begins
   7387    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7388    # The option is referenced via a variable to avoid confusing sed.
   7389    lt_compile=`echo "$ac_compile" | $SED \
   7390    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7391    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7392    -e 's:$: $lt_compiler_flag:'`
   7393    (eval echo "\"\$as_me:7393: $lt_compile\"" >&5)
   7394    (eval "$lt_compile" 2>conftest.err)
   7395    ac_status=$?
   7396    cat conftest.err >&5
   7397    echo "$as_me:7397: \$? = $ac_status" >&5
   7398    if (exit $ac_status) && test -s "$ac_outfile"; then
   7399      # The compiler can only warn and ignore the option if not recognized
   7400      # So say no if there are warnings other than the usual output.
   7401      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7402      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7403      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7404        lt_prog_compiler_pic_works=yes
   7405      fi
   7406    fi
   7407    $rm conftest*
   7408 
   7409 fi
   7410 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7411 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7412 
   7413 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7414     case $lt_prog_compiler_pic in
   7415      "" | " "*) ;;
   7416      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7417      esac
   7418 else
   7419     lt_prog_compiler_pic=
   7420      lt_prog_compiler_can_build_shared=no
   7421 fi
   7422 
   7423 fi
   7424 case $host_os in
   7425   # For platforms which do not support PIC, -DPIC is meaningless:
   7426   *djgpp*)
   7427     lt_prog_compiler_pic=
   7428     ;;
   7429   *)
   7430     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7431     ;;
   7432 esac
   7433 
   7434 #
   7435 # Check to make sure the static flag actually works.
   7436 #
   7437 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7438 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7439 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7440 if test "${lt_prog_compiler_static_works+set}" = set; then
   7441   echo $ECHO_N "(cached) $ECHO_C" >&6
   7442 else
   7443   lt_prog_compiler_static_works=no
   7444    save_LDFLAGS="$LDFLAGS"
   7445    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7446    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7447    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7448      # The linker can only warn and ignore the option if not recognized
   7449      # So say no if there are warnings
   7450      if test -s conftest.err; then
   7451        # Append any errors to the config.log.
   7452        cat conftest.err 1>&5
   7453        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7454        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7455        if diff conftest.exp conftest.er2 >/dev/null; then
   7456          lt_prog_compiler_static_works=yes
   7457        fi
   7458      else
   7459        lt_prog_compiler_static_works=yes
   7460      fi
   7461    fi
   7462    $rm conftest*
   7463    LDFLAGS="$save_LDFLAGS"
   7464 
   7465 fi
   7466 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7467 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7468 
   7469 if test x"$lt_prog_compiler_static_works" = xyes; then
   7470     :
   7471 else
   7472     lt_prog_compiler_static=
   7473 fi
   7474 
   7475 
   7476 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7477 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7478 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7479   echo $ECHO_N "(cached) $ECHO_C" >&6
   7480 else
   7481   lt_cv_prog_compiler_c_o=no
   7482    $rm -r conftest 2>/dev/null
   7483    mkdir conftest
   7484    cd conftest
   7485    mkdir out
   7486    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7487 
   7488    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7489    # Insert the option either (1) after the last *FLAGS variable, or
   7490    # (2) before a word containing "conftest.", or (3) at the end.
   7491    # Note that $ac_compile itself does not contain backslashes and begins
   7492    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7493    lt_compile=`echo "$ac_compile" | $SED \
   7494    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7495    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7496    -e 's:$: $lt_compiler_flag:'`
   7497    (eval echo "\"\$as_me:7497: $lt_compile\"" >&5)
   7498    (eval "$lt_compile" 2>out/conftest.err)
   7499    ac_status=$?
   7500    cat out/conftest.err >&5
   7501    echo "$as_me:7501: \$? = $ac_status" >&5
   7502    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7503    then
   7504      # The compiler can only warn and ignore the option if not recognized
   7505      # So say no if there are warnings
   7506      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7507      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7508      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7509        lt_cv_prog_compiler_c_o=yes
   7510      fi
   7511    fi
   7512    chmod u+w . 2>&5
   7513    $rm conftest*
   7514    # SGI C++ compiler will create directory out/ii_files/ for
   7515    # template instantiation
   7516    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7517    $rm out/* && rmdir out
   7518    cd ..
   7519    rmdir conftest
   7520    $rm conftest*
   7521 
   7522 fi
   7523 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7524 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7525 
   7526 
   7527 hard_links="nottested"
   7528 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7529   # do not overwrite the value of need_locks provided by the user
   7530   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7531 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7532   hard_links=yes
   7533   $rm conftest*
   7534   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7535   touch conftest.a
   7536   ln conftest.a conftest.b 2>&5 || hard_links=no
   7537   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7538   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7539 echo "${ECHO_T}$hard_links" >&6; }
   7540   if test "$hard_links" = no; then
   7541     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7542 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7543     need_locks=warn
   7544   fi
   7545 else
   7546   need_locks=no
   7547 fi
   7548 
   7549 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7550 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7551 
   7552   runpath_var=
   7553   allow_undefined_flag=
   7554   enable_shared_with_static_runtimes=no
   7555   archive_cmds=
   7556   archive_expsym_cmds=
   7557   old_archive_From_new_cmds=
   7558   old_archive_from_expsyms_cmds=
   7559   export_dynamic_flag_spec=
   7560   whole_archive_flag_spec=
   7561   thread_safe_flag_spec=
   7562   hardcode_libdir_flag_spec=
   7563   hardcode_libdir_flag_spec_ld=
   7564   hardcode_libdir_separator=
   7565   hardcode_direct=no
   7566   hardcode_minus_L=no
   7567   hardcode_shlibpath_var=unsupported
   7568   link_all_deplibs=unknown
   7569   hardcode_automatic=no
   7570   module_cmds=
   7571   module_expsym_cmds=
   7572   always_export_symbols=no
   7573   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7574   # include_expsyms should be a list of space-separated symbols to be *always*
   7575   # included in the symbol list
   7576   include_expsyms=
   7577   # exclude_expsyms can be an extended regexp of symbols to exclude
   7578   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7579   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7580   # as well as any symbol that contains `d'.
   7581   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7582   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7583   # platforms (ab)use it in PIC code, but their linkers get confused if
   7584   # the symbol is explicitly referenced.  Since portable code cannot
   7585   # rely on this symbol name, it's probably fine to never include it in
   7586   # preloaded symbol tables.
   7587   extract_expsyms_cmds=
   7588   # Just being paranoid about ensuring that cc_basename is set.
   7589   for cc_temp in $compiler""; do
   7590   case $cc_temp in
   7591     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7592     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7593     \-*) ;;
   7594     *) break;;
   7595   esac
   7596 done
   7597 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7598 
   7599   case $host_os in
   7600   cygwin* | mingw* | pw32*)
   7601     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7602     # When not using gcc, we currently assume that we are using
   7603     # Microsoft Visual C++.
   7604     if test "$GCC" != yes; then
   7605       with_gnu_ld=no
   7606     fi
   7607     ;;
   7608   interix*)
   7609     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7610     with_gnu_ld=yes
   7611     ;;
   7612   openbsd*)
   7613     with_gnu_ld=no
   7614     ;;
   7615   esac
   7616 
   7617   ld_shlibs=yes
   7618   if test "$with_gnu_ld" = yes; then
   7619     # If archive_cmds runs LD, not CC, wlarc should be empty
   7620     wlarc='${wl}'
   7621 
   7622     # Set some defaults for GNU ld with shared library support. These
   7623     # are reset later if shared libraries are not supported. Putting them
   7624     # here allows them to be overridden if necessary.
   7625     runpath_var=LD_RUN_PATH
   7626     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7627     export_dynamic_flag_spec='${wl}--export-dynamic'
   7628     # ancient GNU ld didn't support --whole-archive et. al.
   7629     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7630 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7631       else
   7632   	whole_archive_flag_spec=
   7633     fi
   7634     supports_anon_versioning=no
   7635     case `$LD -v 2>/dev/null` in
   7636       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7637       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7638       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7639       *\ 2.11.*) ;; # other 2.11 versions
   7640       *) supports_anon_versioning=yes ;;
   7641     esac
   7642 
   7643     # See if GNU ld supports shared libraries.
   7644     case $host_os in
   7645     aix3* | aix4* | aix5*)
   7646       # On AIX/PPC, the GNU linker is very broken
   7647       if test "$host_cpu" != ia64; then
   7648 	ld_shlibs=no
   7649 	cat <<EOF 1>&2
   7650 
   7651 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7652 *** to be unable to reliably create shared libraries on AIX.
   7653 *** Therefore, libtool is disabling shared libraries support.  If you
   7654 *** really care for shared libraries, you may want to modify your PATH
   7655 *** so that a non-GNU linker is found, and then restart.
   7656 
   7657 EOF
   7658       fi
   7659       ;;
   7660 
   7661     amigaos*)
   7662       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)'
   7663       hardcode_libdir_flag_spec='-L$libdir'
   7664       hardcode_minus_L=yes
   7665 
   7666       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7667       # that the semantics of dynamic libraries on AmigaOS, at least up
   7668       # to version 4, is to share data among multiple programs linked
   7669       # with the same dynamic library.  Since this doesn't match the
   7670       # behavior of shared libraries on other platforms, we can't use
   7671       # them.
   7672       ld_shlibs=no
   7673       ;;
   7674 
   7675     beos*)
   7676       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7677 	allow_undefined_flag=unsupported
   7678 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7679 	# support --undefined.  This deserves some investigation.  FIXME
   7680 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7681       else
   7682 	ld_shlibs=no
   7683       fi
   7684       ;;
   7685 
   7686     cygwin* | mingw* | pw32*)
   7687       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7688       # as there is no search path for DLLs.
   7689       hardcode_libdir_flag_spec='-L$libdir'
   7690       allow_undefined_flag=unsupported
   7691       always_export_symbols=no
   7692       enable_shared_with_static_runtimes=yes
   7693       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7694 
   7695       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7696         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7697 	# If the export-symbols file already is a .def file (1st line
   7698 	# is EXPORTS), use it as is; otherwise, prepend...
   7699 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7700 	  cp $export_symbols $output_objdir/$soname.def;
   7701 	else
   7702 	  echo EXPORTS > $output_objdir/$soname.def;
   7703 	  cat $export_symbols >> $output_objdir/$soname.def;
   7704 	fi~
   7705 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7706       else
   7707 	ld_shlibs=no
   7708       fi
   7709       ;;
   7710 
   7711     interix3*)
   7712       hardcode_direct=no
   7713       hardcode_shlibpath_var=no
   7714       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7715       export_dynamic_flag_spec='${wl}-E'
   7716       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7717       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7718       # default) and relocated if they conflict, which is a slow very memory
   7719       # consuming and fragmenting process.  To avoid this, we pick a random,
   7720       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7721       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7722       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7723       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'
   7724       ;;
   7725 
   7726     linux*)
   7727       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7728 	tmp_addflag=
   7729 	case $cc_basename,$host_cpu in
   7730 	pgcc*)				# Portland Group C compiler
   7731 	  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'
   7732 	  tmp_addflag=' $pic_flag'
   7733 	  ;;
   7734 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7735 	  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'
   7736 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7737 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7738 	  tmp_addflag=' -i_dynamic' ;;
   7739 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7740 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7741 	ifc* | ifort*)			# Intel Fortran compiler
   7742 	  tmp_addflag=' -nofor_main' ;;
   7743 	esac
   7744 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7745 
   7746 	if test $supports_anon_versioning = yes; then
   7747 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7748   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7749   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7750 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7751 	fi
   7752       else
   7753 	ld_shlibs=no
   7754       fi
   7755       ;;
   7756 
   7757     netbsd*)
   7758       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7759 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7760 	wlarc=
   7761       else
   7762 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7763 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7764       fi
   7765       ;;
   7766 
   7767     solaris*)
   7768       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7769 	ld_shlibs=no
   7770 	cat <<EOF 1>&2
   7771 
   7772 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7773 *** create shared libraries on Solaris systems.  Therefore, libtool
   7774 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7775 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7776 *** your PATH or compiler configuration so that the native linker is
   7777 *** used, and then restart.
   7778 
   7779 EOF
   7780       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7781 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7782 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7783       else
   7784 	ld_shlibs=no
   7785       fi
   7786       ;;
   7787 
   7788     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7789       case `$LD -v 2>&1` in
   7790         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7791 	ld_shlibs=no
   7792 	cat <<_LT_EOF 1>&2
   7793 
   7794 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7795 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7796 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7797 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7798 *** your PATH or compiler configuration so that the native linker is
   7799 *** used, and then restart.
   7800 
   7801 _LT_EOF
   7802 	;;
   7803 	*)
   7804 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7805 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7806 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7807 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7808 	  else
   7809 	    ld_shlibs=no
   7810 	  fi
   7811 	;;
   7812       esac
   7813       ;;
   7814 
   7815     sunos4*)
   7816       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7817       wlarc=
   7818       hardcode_direct=yes
   7819       hardcode_shlibpath_var=no
   7820       ;;
   7821 
   7822     *)
   7823       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7824 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7825 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7826       else
   7827 	ld_shlibs=no
   7828       fi
   7829       ;;
   7830     esac
   7831 
   7832     if test "$ld_shlibs" = no; then
   7833       runpath_var=
   7834       hardcode_libdir_flag_spec=
   7835       export_dynamic_flag_spec=
   7836       whole_archive_flag_spec=
   7837     fi
   7838   else
   7839     # PORTME fill in a description of your system's linker (not GNU ld)
   7840     case $host_os in
   7841     aix3*)
   7842       allow_undefined_flag=unsupported
   7843       always_export_symbols=yes
   7844       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'
   7845       # Note: this linker hardcodes the directories in LIBPATH if there
   7846       # are no directories specified by -L.
   7847       hardcode_minus_L=yes
   7848       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7849 	# Neither direct hardcoding nor static linking is supported with a
   7850 	# broken collect2.
   7851 	hardcode_direct=unsupported
   7852       fi
   7853       ;;
   7854 
   7855     aix4* | aix5*)
   7856       if test "$host_cpu" = ia64; then
   7857 	# On IA64, the linker does run time linking by default, so we don't
   7858 	# have to do anything special.
   7859 	aix_use_runtimelinking=no
   7860 	exp_sym_flag='-Bexport'
   7861 	no_entry_flag=""
   7862       else
   7863 	# If we're using GNU nm, then we don't want the "-C" option.
   7864 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7865 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7866 	  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'
   7867 	else
   7868 	  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'
   7869 	fi
   7870 	aix_use_runtimelinking=no
   7871 
   7872 	# Test if we are trying to use run time linking or normal
   7873 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7874 	# need to do runtime linking.
   7875 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7876 	  for ld_flag in $LDFLAGS; do
   7877   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7878   	    aix_use_runtimelinking=yes
   7879   	    break
   7880   	  fi
   7881 	  done
   7882 	  ;;
   7883 	esac
   7884 
   7885 	exp_sym_flag='-bexport'
   7886 	no_entry_flag='-bnoentry'
   7887       fi
   7888 
   7889       # When large executables or shared objects are built, AIX ld can
   7890       # have problems creating the table of contents.  If linking a library
   7891       # or program results in "error TOC overflow" add -mminimal-toc to
   7892       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7893       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7894 
   7895       archive_cmds=''
   7896       hardcode_direct=yes
   7897       hardcode_libdir_separator=':'
   7898       link_all_deplibs=yes
   7899 
   7900       if test "$GCC" = yes; then
   7901 	case $host_os in aix4.[012]|aix4.[012].*)
   7902 	# We only want to do this on AIX 4.2 and lower, the check
   7903 	# below for broken collect2 doesn't work under 4.3+
   7904 	  collect2name=`${CC} -print-prog-name=collect2`
   7905 	  if test -f "$collect2name" && \
   7906   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7907 	  then
   7908   	  # We have reworked collect2
   7909   	  hardcode_direct=yes
   7910 	  else
   7911   	  # We have old collect2
   7912   	  hardcode_direct=unsupported
   7913   	  # It fails to find uninstalled libraries when the uninstalled
   7914   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7915   	  # to unsupported forces relinking
   7916   	  hardcode_minus_L=yes
   7917   	  hardcode_libdir_flag_spec='-L$libdir'
   7918   	  hardcode_libdir_separator=
   7919 	  fi
   7920 	  ;;
   7921 	esac
   7922 	shared_flag='-shared'
   7923 	if test "$aix_use_runtimelinking" = yes; then
   7924 	  shared_flag="$shared_flag "'${wl}-G'
   7925 	fi
   7926       else
   7927 	# not using gcc
   7928 	if test "$host_cpu" = ia64; then
   7929   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7930   	# chokes on -Wl,-G. The following line is correct:
   7931 	  shared_flag='-G'
   7932 	else
   7933 	  if test "$aix_use_runtimelinking" = yes; then
   7934 	    shared_flag='${wl}-G'
   7935 	  else
   7936 	    shared_flag='${wl}-bM:SRE'
   7937 	  fi
   7938 	fi
   7939       fi
   7940 
   7941       # It seems that -bexpall does not export symbols beginning with
   7942       # underscore (_), so it is better to generate a list of symbols to export.
   7943       always_export_symbols=yes
   7944       if test "$aix_use_runtimelinking" = yes; then
   7945 	# Warning - without using the other runtime loading flags (-brtl),
   7946 	# -berok will link without error, but may produce a broken library.
   7947 	allow_undefined_flag='-berok'
   7948        # Determine the default libpath from the value encoded in an empty executable.
   7949        cat >conftest.$ac_ext <<_ACEOF
   7950 /* confdefs.h.  */
   7951 _ACEOF
   7952 cat confdefs.h >>conftest.$ac_ext
   7953 cat >>conftest.$ac_ext <<_ACEOF
   7954 /* end confdefs.h.  */
   7955 
   7956 int
   7957 main ()
   7958 {
   7959 
   7960   ;
   7961   return 0;
   7962 }
   7963 _ACEOF
   7964 rm -f conftest.$ac_objext conftest$ac_exeext
   7965 if { (ac_try="$ac_link"
   7966 case "(($ac_try" in
   7967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7968   *) ac_try_echo=$ac_try;;
   7969 esac
   7970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7971   (eval "$ac_link") 2>conftest.er1
   7972   ac_status=$?
   7973   grep -v '^ *+' conftest.er1 >conftest.err
   7974   rm -f conftest.er1
   7975   cat conftest.err >&5
   7976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7977   (exit $ac_status); } && {
   7978 	 test -z "$ac_c_werror_flag" ||
   7979 	 test ! -s conftest.err
   7980        } && test -s conftest$ac_exeext &&
   7981        $as_test_x conftest$ac_exeext; then
   7982 
   7983 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7984 }'`
   7985 # Check for a 64-bit object if we didn't find anything.
   7986 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; }
   7987 }'`; fi
   7988 else
   7989   echo "$as_me: failed program was:" >&5
   7990 sed 's/^/| /' conftest.$ac_ext >&5
   7991 
   7992 
   7993 fi
   7994 
   7995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7996       conftest$ac_exeext conftest.$ac_ext
   7997 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7998 
   7999        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8000 	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"
   8001        else
   8002 	if test "$host_cpu" = ia64; then
   8003 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8004 	  allow_undefined_flag="-z nodefs"
   8005 	  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"
   8006 	else
   8007 	 # Determine the default libpath from the value encoded in an empty executable.
   8008 	 cat >conftest.$ac_ext <<_ACEOF
   8009 /* confdefs.h.  */
   8010 _ACEOF
   8011 cat confdefs.h >>conftest.$ac_ext
   8012 cat >>conftest.$ac_ext <<_ACEOF
   8013 /* end confdefs.h.  */
   8014 
   8015 int
   8016 main ()
   8017 {
   8018 
   8019   ;
   8020   return 0;
   8021 }
   8022 _ACEOF
   8023 rm -f conftest.$ac_objext conftest$ac_exeext
   8024 if { (ac_try="$ac_link"
   8025 case "(($ac_try" in
   8026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8027   *) ac_try_echo=$ac_try;;
   8028 esac
   8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8030   (eval "$ac_link") 2>conftest.er1
   8031   ac_status=$?
   8032   grep -v '^ *+' conftest.er1 >conftest.err
   8033   rm -f conftest.er1
   8034   cat conftest.err >&5
   8035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8036   (exit $ac_status); } && {
   8037 	 test -z "$ac_c_werror_flag" ||
   8038 	 test ! -s conftest.err
   8039        } && test -s conftest$ac_exeext &&
   8040        $as_test_x conftest$ac_exeext; then
   8041 
   8042 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8043 }'`
   8044 # Check for a 64-bit object if we didn't find anything.
   8045 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; }
   8046 }'`; fi
   8047 else
   8048   echo "$as_me: failed program was:" >&5
   8049 sed 's/^/| /' conftest.$ac_ext >&5
   8050 
   8051 
   8052 fi
   8053 
   8054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8055       conftest$ac_exeext conftest.$ac_ext
   8056 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8057 
   8058 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8059 	  # Warning - without using the other run time loading flags,
   8060 	  # -berok will link without error, but may produce a broken library.
   8061 	  no_undefined_flag=' ${wl}-bernotok'
   8062 	  allow_undefined_flag=' ${wl}-berok'
   8063 	  # Exported symbols can be pulled into shared objects from archives
   8064 	  whole_archive_flag_spec='$convenience'
   8065 	  archive_cmds_need_lc=yes
   8066 	  # This is similar to how AIX traditionally builds its shared libraries.
   8067 	  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'
   8068 	fi
   8069       fi
   8070       ;;
   8071 
   8072     amigaos*)
   8073       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)'
   8074       hardcode_libdir_flag_spec='-L$libdir'
   8075       hardcode_minus_L=yes
   8076       # see comment about different semantics on the GNU ld section
   8077       ld_shlibs=no
   8078       ;;
   8079 
   8080     bsdi[45]*)
   8081       export_dynamic_flag_spec=-rdynamic
   8082       ;;
   8083 
   8084     cygwin* | mingw* | pw32*)
   8085       # When not using gcc, we currently assume that we are using
   8086       # Microsoft Visual C++.
   8087       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8088       # no search path for DLLs.
   8089       hardcode_libdir_flag_spec=' '
   8090       allow_undefined_flag=unsupported
   8091       # Tell ltmain to make .lib files, not .a files.
   8092       libext=lib
   8093       # Tell ltmain to make .dll files, not .so files.
   8094       shrext_cmds=".dll"
   8095       # FIXME: Setting linknames here is a bad hack.
   8096       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8097       # The linker will automatically build a .lib file if we build a DLL.
   8098       old_archive_From_new_cmds='true'
   8099       # FIXME: Should let the user specify the lib program.
   8100       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8101       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8102       enable_shared_with_static_runtimes=yes
   8103       ;;
   8104 
   8105     darwin* | rhapsody*)
   8106       case $host_os in
   8107         rhapsody* | darwin1.[012])
   8108          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8109          ;;
   8110        *) # Darwin 1.3 on
   8111          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8112            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8113          else
   8114            case ${MACOSX_DEPLOYMENT_TARGET} in
   8115              10.[012])
   8116                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8117                ;;
   8118              10.*)
   8119                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8120                ;;
   8121            esac
   8122          fi
   8123          ;;
   8124       esac
   8125       archive_cmds_need_lc=no
   8126       hardcode_direct=no
   8127       hardcode_automatic=yes
   8128       hardcode_shlibpath_var=unsupported
   8129       whole_archive_flag_spec=''
   8130       link_all_deplibs=yes
   8131     if test "$GCC" = yes ; then
   8132     	output_verbose_link_cmd='echo'
   8133         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8134       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8135       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8136       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}'
   8137       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}'
   8138     else
   8139       case $cc_basename in
   8140         xlc*)
   8141          output_verbose_link_cmd='echo'
   8142          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8143          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8144           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8145          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}'
   8146           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}'
   8147           ;;
   8148        *)
   8149          ld_shlibs=no
   8150           ;;
   8151       esac
   8152     fi
   8153       ;;
   8154 
   8155     dgux*)
   8156       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8157       hardcode_libdir_flag_spec='-L$libdir'
   8158       hardcode_shlibpath_var=no
   8159       ;;
   8160 
   8161     freebsd1*)
   8162       ld_shlibs=no
   8163       ;;
   8164 
   8165     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8166     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8167     # does not break anything, and helps significantly (at the cost of a little
   8168     # extra space).
   8169     freebsd2.2*)
   8170       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8171       hardcode_libdir_flag_spec='-R$libdir'
   8172       hardcode_direct=yes
   8173       hardcode_shlibpath_var=no
   8174       ;;
   8175 
   8176     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8177     freebsd2*)
   8178       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8179       hardcode_direct=yes
   8180       hardcode_minus_L=yes
   8181       hardcode_shlibpath_var=no
   8182       ;;
   8183 
   8184     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8185     freebsd* | kfreebsd*-gnu | dragonfly*)
   8186       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8187       hardcode_libdir_flag_spec='-R$libdir'
   8188       hardcode_direct=yes
   8189       hardcode_shlibpath_var=no
   8190       ;;
   8191 
   8192     hpux9*)
   8193       if test "$GCC" = yes; then
   8194 	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'
   8195       else
   8196 	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'
   8197       fi
   8198       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8199       hardcode_libdir_separator=:
   8200       hardcode_direct=yes
   8201 
   8202       # hardcode_minus_L: Not really in the search PATH,
   8203       # but as the default location of the library.
   8204       hardcode_minus_L=yes
   8205       export_dynamic_flag_spec='${wl}-E'
   8206       ;;
   8207 
   8208     hpux10*)
   8209       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8210 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8211       else
   8212 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8213       fi
   8214       if test "$with_gnu_ld" = no; then
   8215 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8216 	hardcode_libdir_separator=:
   8217 
   8218 	hardcode_direct=yes
   8219 	export_dynamic_flag_spec='${wl}-E'
   8220 
   8221 	# hardcode_minus_L: Not really in the search PATH,
   8222 	# but as the default location of the library.
   8223 	hardcode_minus_L=yes
   8224       fi
   8225       ;;
   8226 
   8227     hpux11*)
   8228       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8229 	case $host_cpu in
   8230 	hppa*64*)
   8231 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8232 	  ;;
   8233 	ia64*)
   8234 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8235 	  ;;
   8236 	*)
   8237 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8238 	  ;;
   8239 	esac
   8240       else
   8241 	case $host_cpu in
   8242 	hppa*64*)
   8243 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8244 	  ;;
   8245 	ia64*)
   8246 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8247 	  ;;
   8248 	*)
   8249 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8250 	  ;;
   8251 	esac
   8252       fi
   8253       if test "$with_gnu_ld" = no; then
   8254 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8255 	hardcode_libdir_separator=:
   8256 
   8257 	case $host_cpu in
   8258 	hppa*64*|ia64*)
   8259 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8260 	  hardcode_direct=no
   8261 	  hardcode_shlibpath_var=no
   8262 	  ;;
   8263 	*)
   8264 	  hardcode_direct=yes
   8265 	  export_dynamic_flag_spec='${wl}-E'
   8266 
   8267 	  # hardcode_minus_L: Not really in the search PATH,
   8268 	  # but as the default location of the library.
   8269 	  hardcode_minus_L=yes
   8270 	  ;;
   8271 	esac
   8272       fi
   8273       ;;
   8274 
   8275     irix5* | irix6* | nonstopux*)
   8276       if test "$GCC" = yes; then
   8277 	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'
   8278       else
   8279 	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'
   8280 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8281       fi
   8282       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8283       hardcode_libdir_separator=:
   8284       link_all_deplibs=yes
   8285       ;;
   8286 
   8287     netbsd*)
   8288       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8289 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8290       else
   8291 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8292       fi
   8293       hardcode_libdir_flag_spec='-R$libdir'
   8294       hardcode_direct=yes
   8295       hardcode_shlibpath_var=no
   8296       ;;
   8297 
   8298     newsos6)
   8299       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8300       hardcode_direct=yes
   8301       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8302       hardcode_libdir_separator=:
   8303       hardcode_shlibpath_var=no
   8304       ;;
   8305 
   8306     openbsd*)
   8307       hardcode_direct=yes
   8308       hardcode_shlibpath_var=no
   8309       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8310 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8311 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8312 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8313 	export_dynamic_flag_spec='${wl}-E'
   8314       else
   8315        case $host_os in
   8316 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8317 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8318 	   hardcode_libdir_flag_spec='-R$libdir'
   8319 	   ;;
   8320 	 *)
   8321 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8322 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8323 	   ;;
   8324        esac
   8325       fi
   8326       ;;
   8327 
   8328     os2*)
   8329       hardcode_libdir_flag_spec='-L$libdir'
   8330       hardcode_minus_L=yes
   8331       allow_undefined_flag=unsupported
   8332       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'
   8333       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8334       ;;
   8335 
   8336     osf3*)
   8337       if test "$GCC" = yes; then
   8338 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8339 	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'
   8340       else
   8341 	allow_undefined_flag=' -expect_unresolved \*'
   8342 	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'
   8343       fi
   8344       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8345       hardcode_libdir_separator=:
   8346       ;;
   8347 
   8348     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8349       if test "$GCC" = yes; then
   8350 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8351 	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'
   8352 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8353       else
   8354 	allow_undefined_flag=' -expect_unresolved \*'
   8355 	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'
   8356 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8357 	$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'
   8358 
   8359 	# Both c and cxx compiler support -rpath directly
   8360 	hardcode_libdir_flag_spec='-rpath $libdir'
   8361       fi
   8362       hardcode_libdir_separator=:
   8363       ;;
   8364 
   8365     solaris*)
   8366       no_undefined_flag=' -z text'
   8367       if test "$GCC" = yes; then
   8368 	wlarc='${wl}'
   8369 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8370 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8371 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8372       else
   8373 	wlarc=''
   8374 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8375 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8376   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8377       fi
   8378       hardcode_libdir_flag_spec='-R$libdir'
   8379       hardcode_shlibpath_var=no
   8380       case $host_os in
   8381       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8382       *)
   8383  	# The compiler driver will combine linker options so we
   8384  	# cannot just pass the convience library names through
   8385  	# without $wl, iff we do not link with $LD.
   8386  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8387  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8388  	case $wlarc in
   8389  	'')
   8390  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8391  	*)
   8392  	  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' ;;
   8393  	esac ;;
   8394       esac
   8395       link_all_deplibs=yes
   8396       ;;
   8397 
   8398     sunos4*)
   8399       if test "x$host_vendor" = xsequent; then
   8400 	# Use $CC to link under sequent, because it throws in some extra .o
   8401 	# files that make .init and .fini sections work.
   8402 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8403       else
   8404 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8405       fi
   8406       hardcode_libdir_flag_spec='-L$libdir'
   8407       hardcode_direct=yes
   8408       hardcode_minus_L=yes
   8409       hardcode_shlibpath_var=no
   8410       ;;
   8411 
   8412     sysv4)
   8413       case $host_vendor in
   8414 	sni)
   8415 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8416 	  hardcode_direct=yes # is this really true???
   8417 	;;
   8418 	siemens)
   8419 	  ## LD is ld it makes a PLAMLIB
   8420 	  ## CC just makes a GrossModule.
   8421 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8422 	  reload_cmds='$CC -r -o $output$reload_objs'
   8423 	  hardcode_direct=no
   8424         ;;
   8425 	motorola)
   8426 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8427 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8428 	;;
   8429       esac
   8430       runpath_var='LD_RUN_PATH'
   8431       hardcode_shlibpath_var=no
   8432       ;;
   8433 
   8434     sysv4.3*)
   8435       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8436       hardcode_shlibpath_var=no
   8437       export_dynamic_flag_spec='-Bexport'
   8438       ;;
   8439 
   8440     sysv4*MP*)
   8441       if test -d /usr/nec; then
   8442 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8443 	hardcode_shlibpath_var=no
   8444 	runpath_var=LD_RUN_PATH
   8445 	hardcode_runpath_var=yes
   8446 	ld_shlibs=yes
   8447       fi
   8448       ;;
   8449 
   8450     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8451       no_undefined_flag='${wl}-z,text'
   8452       archive_cmds_need_lc=no
   8453       hardcode_shlibpath_var=no
   8454       runpath_var='LD_RUN_PATH'
   8455 
   8456       if test "$GCC" = yes; then
   8457 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8458 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8459       else
   8460 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8461 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8462       fi
   8463       ;;
   8464 
   8465     sysv5* | sco3.2v5* | sco5v6*)
   8466       # Note: We can NOT use -z defs as we might desire, because we do not
   8467       # link with -lc, and that would cause any symbols used from libc to
   8468       # always be unresolved, which means just about no library would
   8469       # ever link correctly.  If we're not using GNU ld we use -z text
   8470       # though, which does catch some bad symbols but isn't as heavy-handed
   8471       # as -z defs.
   8472       no_undefined_flag='${wl}-z,text'
   8473       allow_undefined_flag='${wl}-z,nodefs'
   8474       archive_cmds_need_lc=no
   8475       hardcode_shlibpath_var=no
   8476       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8477       hardcode_libdir_separator=':'
   8478       link_all_deplibs=yes
   8479       export_dynamic_flag_spec='${wl}-Bexport'
   8480       runpath_var='LD_RUN_PATH'
   8481 
   8482       if test "$GCC" = yes; then
   8483 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8484 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8485       else
   8486 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8487 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8488       fi
   8489       ;;
   8490 
   8491     uts4*)
   8492       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8493       hardcode_libdir_flag_spec='-L$libdir'
   8494       hardcode_shlibpath_var=no
   8495       ;;
   8496 
   8497     *)
   8498       ld_shlibs=no
   8499       ;;
   8500     esac
   8501   fi
   8502 
   8503 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8504 echo "${ECHO_T}$ld_shlibs" >&6; }
   8505 test "$ld_shlibs" = no && can_build_shared=no
   8506 
   8507 #
   8508 # Do we need to explicitly link libc?
   8509 #
   8510 case "x$archive_cmds_need_lc" in
   8511 x|xyes)
   8512   # Assume -lc should be added
   8513   archive_cmds_need_lc=yes
   8514 
   8515   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8516     case $archive_cmds in
   8517     *'~'*)
   8518       # FIXME: we may have to deal with multi-command sequences.
   8519       ;;
   8520     '$CC '*)
   8521       # Test whether the compiler implicitly links with -lc since on some
   8522       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8523       # to ld, don't add -lc before -lgcc.
   8524       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8525 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8526       $rm conftest*
   8527       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8528 
   8529       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8530   (eval $ac_compile) 2>&5
   8531   ac_status=$?
   8532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8533   (exit $ac_status); } 2>conftest.err; then
   8534         soname=conftest
   8535         lib=conftest
   8536         libobjs=conftest.$ac_objext
   8537         deplibs=
   8538         wl=$lt_prog_compiler_wl
   8539 	pic_flag=$lt_prog_compiler_pic
   8540         compiler_flags=-v
   8541         linker_flags=-v
   8542         verstring=
   8543         output_objdir=.
   8544         libname=conftest
   8545         lt_save_allow_undefined_flag=$allow_undefined_flag
   8546         allow_undefined_flag=
   8547         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8548   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8549   ac_status=$?
   8550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8551   (exit $ac_status); }
   8552         then
   8553 	  archive_cmds_need_lc=no
   8554         else
   8555 	  archive_cmds_need_lc=yes
   8556         fi
   8557         allow_undefined_flag=$lt_save_allow_undefined_flag
   8558       else
   8559         cat conftest.err 1>&5
   8560       fi
   8561       $rm conftest*
   8562       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8563 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8564       ;;
   8565     esac
   8566   fi
   8567   ;;
   8568 esac
   8569 
   8570 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8571 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8572 library_names_spec=
   8573 libname_spec='lib$name'
   8574 soname_spec=
   8575 shrext_cmds=".so"
   8576 postinstall_cmds=
   8577 postuninstall_cmds=
   8578 finish_cmds=
   8579 finish_eval=
   8580 shlibpath_var=
   8581 shlibpath_overrides_runpath=unknown
   8582 version_type=none
   8583 dynamic_linker="$host_os ld.so"
   8584 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8585 if test "$GCC" = yes; then
   8586   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8587   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8588     # if the path contains ";" then we assume it to be the separator
   8589     # otherwise default to the standard path separator (i.e. ":") - it is
   8590     # assumed that no part of a normal pathname contains ";" but that should
   8591     # okay in the real world where ";" in dirpaths is itself problematic.
   8592     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8593   else
   8594     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8595   fi
   8596 else
   8597   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8598 fi
   8599 need_lib_prefix=unknown
   8600 hardcode_into_libs=no
   8601 
   8602 # when you set need_version to no, make sure it does not cause -set_version
   8603 # flags to be left without arguments
   8604 need_version=unknown
   8605 
   8606 case $host_os in
   8607 aix3*)
   8608   version_type=linux
   8609   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8610   shlibpath_var=LIBPATH
   8611 
   8612   # AIX 3 has no versioning support, so we append a major version to the name.
   8613   soname_spec='${libname}${release}${shared_ext}$major'
   8614   ;;
   8615 
   8616 aix4* | aix5*)
   8617   version_type=linux
   8618   need_lib_prefix=no
   8619   need_version=no
   8620   hardcode_into_libs=yes
   8621   if test "$host_cpu" = ia64; then
   8622     # AIX 5 supports IA64
   8623     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8624     shlibpath_var=LD_LIBRARY_PATH
   8625   else
   8626     # With GCC up to 2.95.x, collect2 would create an import file
   8627     # for dependence libraries.  The import file would start with
   8628     # the line `#! .'.  This would cause the generated library to
   8629     # depend on `.', always an invalid library.  This was fixed in
   8630     # development snapshots of GCC prior to 3.0.
   8631     case $host_os in
   8632       aix4 | aix4.[01] | aix4.[01].*)
   8633       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8634 	   echo ' yes '
   8635 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8636 	:
   8637       else
   8638 	can_build_shared=no
   8639       fi
   8640       ;;
   8641     esac
   8642     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8643     # soname into executable. Probably we can add versioning support to
   8644     # collect2, so additional links can be useful in future.
   8645     if test "$aix_use_runtimelinking" = yes; then
   8646       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8647       # instead of lib<name>.a to let people know that these are not
   8648       # typical AIX shared libraries.
   8649       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8650     else
   8651       # We preserve .a as extension for shared libraries through AIX4.2
   8652       # and later when we are not doing run time linking.
   8653       library_names_spec='${libname}${release}.a $libname.a'
   8654       soname_spec='${libname}${release}${shared_ext}$major'
   8655     fi
   8656     shlibpath_var=LIBPATH
   8657   fi
   8658   ;;
   8659 
   8660 amigaos*)
   8661   library_names_spec='$libname.ixlibrary $libname.a'
   8662   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8663   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'
   8664   ;;
   8665 
   8666 beos*)
   8667   library_names_spec='${libname}${shared_ext}'
   8668   dynamic_linker="$host_os ld.so"
   8669   shlibpath_var=LIBRARY_PATH
   8670   ;;
   8671 
   8672 bsdi[45]*)
   8673   version_type=linux
   8674   need_version=no
   8675   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8676   soname_spec='${libname}${release}${shared_ext}$major'
   8677   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8678   shlibpath_var=LD_LIBRARY_PATH
   8679   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8680   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8681   # the default ld.so.conf also contains /usr/contrib/lib and
   8682   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8683   # libtool to hard-code these into programs
   8684   ;;
   8685 
   8686 cygwin* | mingw* | pw32*)
   8687   version_type=windows
   8688   shrext_cmds=".dll"
   8689   need_version=no
   8690   need_lib_prefix=no
   8691 
   8692   case $GCC,$host_os in
   8693   yes,cygwin* | yes,mingw* | yes,pw32*)
   8694     library_names_spec='$libname.dll.a'
   8695     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8696     postinstall_cmds='base_file=`basename \${file}`~
   8697       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8698       dldir=$destdir/`dirname \$dlpath`~
   8699       test -d \$dldir || mkdir -p \$dldir~
   8700       $install_prog $dir/$dlname \$dldir/$dlname~
   8701       chmod a+x \$dldir/$dlname'
   8702     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8703       dlpath=$dir/\$dldll~
   8704        $rm \$dlpath'
   8705     shlibpath_overrides_runpath=yes
   8706 
   8707     case $host_os in
   8708     cygwin*)
   8709       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8710       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8711       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8712       ;;
   8713     mingw*)
   8714       # MinGW DLLs use traditional 'lib' prefix
   8715       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8716       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8717       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8718         # It is most probably a Windows format PATH printed by
   8719         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8720         # path with ; separators, and with drive letters. We can handle the
   8721         # drive letters (cygwin fileutils understands them), so leave them,
   8722         # especially as we might pass files found there to a mingw objdump,
   8723         # which wouldn't understand a cygwinified path. Ahh.
   8724         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8725       else
   8726         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8727       fi
   8728       ;;
   8729     pw32*)
   8730       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8731       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8732       ;;
   8733     esac
   8734     ;;
   8735 
   8736   *)
   8737     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8738     ;;
   8739   esac
   8740   dynamic_linker='Win32 ld.exe'
   8741   # FIXME: first we should search . and the directory the executable is in
   8742   shlibpath_var=PATH
   8743   ;;
   8744 
   8745 darwin* | rhapsody*)
   8746   dynamic_linker="$host_os dyld"
   8747   version_type=darwin
   8748   need_lib_prefix=no
   8749   need_version=no
   8750   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8751   soname_spec='${libname}${release}${major}$shared_ext'
   8752   shlibpath_overrides_runpath=yes
   8753   shlibpath_var=DYLD_LIBRARY_PATH
   8754   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8755   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8756   if test "$GCC" = yes; then
   8757     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"`
   8758   else
   8759     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8760   fi
   8761   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8762   ;;
   8763 
   8764 dgux*)
   8765   version_type=linux
   8766   need_lib_prefix=no
   8767   need_version=no
   8768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8769   soname_spec='${libname}${release}${shared_ext}$major'
   8770   shlibpath_var=LD_LIBRARY_PATH
   8771   ;;
   8772 
   8773 freebsd1*)
   8774   dynamic_linker=no
   8775   ;;
   8776 
   8777 kfreebsd*-gnu)
   8778   version_type=linux
   8779   need_lib_prefix=no
   8780   need_version=no
   8781   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8782   soname_spec='${libname}${release}${shared_ext}$major'
   8783   shlibpath_var=LD_LIBRARY_PATH
   8784   shlibpath_overrides_runpath=no
   8785   hardcode_into_libs=yes
   8786   dynamic_linker='GNU ld.so'
   8787   ;;
   8788 
   8789 freebsd* | dragonfly*)
   8790   # DragonFly does not have aout.  When/if they implement a new
   8791   # versioning mechanism, adjust this.
   8792   if test -x /usr/bin/objformat; then
   8793     objformat=`/usr/bin/objformat`
   8794   else
   8795     case $host_os in
   8796     freebsd[123]*) objformat=aout ;;
   8797     *) objformat=elf ;;
   8798     esac
   8799   fi
   8800   version_type=freebsd-$objformat
   8801   case $version_type in
   8802     freebsd-elf*)
   8803       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8804       need_version=no
   8805       need_lib_prefix=no
   8806       ;;
   8807     freebsd-*)
   8808       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8809       need_version=yes
   8810       ;;
   8811   esac
   8812   shlibpath_var=LD_LIBRARY_PATH
   8813   case $host_os in
   8814   freebsd2*)
   8815     shlibpath_overrides_runpath=yes
   8816     ;;
   8817   freebsd3.[01]* | freebsdelf3.[01]*)
   8818     shlibpath_overrides_runpath=yes
   8819     hardcode_into_libs=yes
   8820     ;;
   8821   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8822   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8823     shlibpath_overrides_runpath=no
   8824     hardcode_into_libs=yes
   8825     ;;
   8826   freebsd*) # from 4.6 on
   8827     shlibpath_overrides_runpath=yes
   8828     hardcode_into_libs=yes
   8829     ;;
   8830   esac
   8831   ;;
   8832 
   8833 gnu*)
   8834   version_type=linux
   8835   need_lib_prefix=no
   8836   need_version=no
   8837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8838   soname_spec='${libname}${release}${shared_ext}$major'
   8839   shlibpath_var=LD_LIBRARY_PATH
   8840   hardcode_into_libs=yes
   8841   ;;
   8842 
   8843 hpux9* | hpux10* | hpux11*)
   8844   # Give a soname corresponding to the major version so that dld.sl refuses to
   8845   # link against other versions.
   8846   version_type=sunos
   8847   need_lib_prefix=no
   8848   need_version=no
   8849   case $host_cpu in
   8850   ia64*)
   8851     shrext_cmds='.so'
   8852     hardcode_into_libs=yes
   8853     dynamic_linker="$host_os dld.so"
   8854     shlibpath_var=LD_LIBRARY_PATH
   8855     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8856     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8857     soname_spec='${libname}${release}${shared_ext}$major'
   8858     if test "X$HPUX_IA64_MODE" = X32; then
   8859       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8860     else
   8861       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8862     fi
   8863     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8864     ;;
   8865    hppa*64*)
   8866      shrext_cmds='.sl'
   8867      hardcode_into_libs=yes
   8868      dynamic_linker="$host_os dld.sl"
   8869      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8870      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8871      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8872      soname_spec='${libname}${release}${shared_ext}$major'
   8873      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8874      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8875      ;;
   8876    *)
   8877     shrext_cmds='.sl'
   8878     dynamic_linker="$host_os dld.sl"
   8879     shlibpath_var=SHLIB_PATH
   8880     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8881     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8882     soname_spec='${libname}${release}${shared_ext}$major'
   8883     ;;
   8884   esac
   8885   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8886   postinstall_cmds='chmod 555 $lib'
   8887   ;;
   8888 
   8889 interix3*)
   8890   version_type=linux
   8891   need_lib_prefix=no
   8892   need_version=no
   8893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8894   soname_spec='${libname}${release}${shared_ext}$major'
   8895   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8896   shlibpath_var=LD_LIBRARY_PATH
   8897   shlibpath_overrides_runpath=no
   8898   hardcode_into_libs=yes
   8899   ;;
   8900 
   8901 irix5* | irix6* | nonstopux*)
   8902   case $host_os in
   8903     nonstopux*) version_type=nonstopux ;;
   8904     *)
   8905 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8906 		version_type=linux
   8907 	else
   8908 		version_type=irix
   8909 	fi ;;
   8910   esac
   8911   need_lib_prefix=no
   8912   need_version=no
   8913   soname_spec='${libname}${release}${shared_ext}$major'
   8914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8915   case $host_os in
   8916   irix5* | nonstopux*)
   8917     libsuff= shlibsuff=
   8918     ;;
   8919   *)
   8920     case $LD in # libtool.m4 will add one of these switches to LD
   8921     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8922       libsuff= shlibsuff= libmagic=32-bit;;
   8923     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8924       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8925     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8926       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8927     *) libsuff= shlibsuff= libmagic=never-match;;
   8928     esac
   8929     ;;
   8930   esac
   8931   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8932   shlibpath_overrides_runpath=no
   8933   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8934   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8935   hardcode_into_libs=yes
   8936   ;;
   8937 
   8938 # No shared lib support for Linux oldld, aout, or coff.
   8939 linux*oldld* | linux*aout* | linux*coff*)
   8940   dynamic_linker=no
   8941   ;;
   8942 
   8943 # This must be Linux ELF.
   8944 linux*)
   8945   version_type=linux
   8946   need_lib_prefix=no
   8947   need_version=no
   8948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8949   soname_spec='${libname}${release}${shared_ext}$major'
   8950   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8951   shlibpath_var=LD_LIBRARY_PATH
   8952   shlibpath_overrides_runpath=no
   8953   # This implies no fast_install, which is unacceptable.
   8954   # Some rework will be needed to allow for fast_install
   8955   # before this can be enabled.
   8956   hardcode_into_libs=yes
   8957 
   8958   # Append ld.so.conf contents to the search path
   8959   if test -f /etc/ld.so.conf; then
   8960     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   8961     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8962   fi
   8963 
   8964   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8965   # powerpc, because MkLinux only supported shared libraries with the
   8966   # GNU dynamic linker.  Since this was broken with cross compilers,
   8967   # most powerpc-linux boxes support dynamic linking these days and
   8968   # people can always --disable-shared, the test was removed, and we
   8969   # assume the GNU/Linux dynamic linker is in use.
   8970   dynamic_linker='GNU/Linux ld.so'
   8971   ;;
   8972 
   8973 knetbsd*-gnu)
   8974   version_type=linux
   8975   need_lib_prefix=no
   8976   need_version=no
   8977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8978   soname_spec='${libname}${release}${shared_ext}$major'
   8979   shlibpath_var=LD_LIBRARY_PATH
   8980   shlibpath_overrides_runpath=no
   8981   hardcode_into_libs=yes
   8982   dynamic_linker='GNU ld.so'
   8983   ;;
   8984 
   8985 netbsd*)
   8986   version_type=sunos
   8987   need_lib_prefix=no
   8988   need_version=no
   8989   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8990     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8991     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8992     dynamic_linker='NetBSD (a.out) ld.so'
   8993   else
   8994     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8995     soname_spec='${libname}${release}${shared_ext}$major'
   8996     dynamic_linker='NetBSD ld.elf_so'
   8997   fi
   8998   shlibpath_var=LD_LIBRARY_PATH
   8999   shlibpath_overrides_runpath=yes
   9000   hardcode_into_libs=yes
   9001   ;;
   9002 
   9003 newsos6)
   9004   version_type=linux
   9005   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9006   shlibpath_var=LD_LIBRARY_PATH
   9007   shlibpath_overrides_runpath=yes
   9008   ;;
   9009 
   9010 nto-qnx*)
   9011   version_type=linux
   9012   need_lib_prefix=no
   9013   need_version=no
   9014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9015   soname_spec='${libname}${release}${shared_ext}$major'
   9016   shlibpath_var=LD_LIBRARY_PATH
   9017   shlibpath_overrides_runpath=yes
   9018   ;;
   9019 
   9020 openbsd*)
   9021   version_type=sunos
   9022   sys_lib_dlsearch_path_spec="/usr/lib"
   9023   need_lib_prefix=no
   9024   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9025   case $host_os in
   9026     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9027     *)                         need_version=no  ;;
   9028   esac
   9029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9030   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9031   shlibpath_var=LD_LIBRARY_PATH
   9032   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9033     case $host_os in
   9034       openbsd2.[89] | openbsd2.[89].*)
   9035 	shlibpath_overrides_runpath=no
   9036 	;;
   9037       *)
   9038 	shlibpath_overrides_runpath=yes
   9039 	;;
   9040       esac
   9041   else
   9042     shlibpath_overrides_runpath=yes
   9043   fi
   9044   ;;
   9045 
   9046 os2*)
   9047   libname_spec='$name'
   9048   shrext_cmds=".dll"
   9049   need_lib_prefix=no
   9050   library_names_spec='$libname${shared_ext} $libname.a'
   9051   dynamic_linker='OS/2 ld.exe'
   9052   shlibpath_var=LIBPATH
   9053   ;;
   9054 
   9055 osf3* | osf4* | osf5*)
   9056   version_type=osf
   9057   need_lib_prefix=no
   9058   need_version=no
   9059   soname_spec='${libname}${release}${shared_ext}$major'
   9060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9061   shlibpath_var=LD_LIBRARY_PATH
   9062   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9063   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9064   ;;
   9065 
   9066 solaris*)
   9067   version_type=linux
   9068   need_lib_prefix=no
   9069   need_version=no
   9070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9071   soname_spec='${libname}${release}${shared_ext}$major'
   9072   shlibpath_var=LD_LIBRARY_PATH
   9073   shlibpath_overrides_runpath=yes
   9074   hardcode_into_libs=yes
   9075   # ldd complains unless libraries are executable
   9076   postinstall_cmds='chmod +x $lib'
   9077   ;;
   9078 
   9079 sunos4*)
   9080   version_type=sunos
   9081   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9082   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9083   shlibpath_var=LD_LIBRARY_PATH
   9084   shlibpath_overrides_runpath=yes
   9085   if test "$with_gnu_ld" = yes; then
   9086     need_lib_prefix=no
   9087   fi
   9088   need_version=yes
   9089   ;;
   9090 
   9091 sysv4 | sysv4.3*)
   9092   version_type=linux
   9093   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9094   soname_spec='${libname}${release}${shared_ext}$major'
   9095   shlibpath_var=LD_LIBRARY_PATH
   9096   case $host_vendor in
   9097     sni)
   9098       shlibpath_overrides_runpath=no
   9099       need_lib_prefix=no
   9100       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9101       runpath_var=LD_RUN_PATH
   9102       ;;
   9103     siemens)
   9104       need_lib_prefix=no
   9105       ;;
   9106     motorola)
   9107       need_lib_prefix=no
   9108       need_version=no
   9109       shlibpath_overrides_runpath=no
   9110       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9111       ;;
   9112   esac
   9113   ;;
   9114 
   9115 sysv4*MP*)
   9116   if test -d /usr/nec ;then
   9117     version_type=linux
   9118     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9119     soname_spec='$libname${shared_ext}.$major'
   9120     shlibpath_var=LD_LIBRARY_PATH
   9121   fi
   9122   ;;
   9123 
   9124 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9125   version_type=freebsd-elf
   9126   need_lib_prefix=no
   9127   need_version=no
   9128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9129   soname_spec='${libname}${release}${shared_ext}$major'
   9130   shlibpath_var=LD_LIBRARY_PATH
   9131   hardcode_into_libs=yes
   9132   if test "$with_gnu_ld" = yes; then
   9133     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9134     shlibpath_overrides_runpath=no
   9135   else
   9136     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9137     shlibpath_overrides_runpath=yes
   9138     case $host_os in
   9139       sco3.2v5*)
   9140         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9141 	;;
   9142     esac
   9143   fi
   9144   sys_lib_dlsearch_path_spec='/usr/lib'
   9145   ;;
   9146 
   9147 uts4*)
   9148   version_type=linux
   9149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9150   soname_spec='${libname}${release}${shared_ext}$major'
   9151   shlibpath_var=LD_LIBRARY_PATH
   9152   ;;
   9153 
   9154 *)
   9155   dynamic_linker=no
   9156   ;;
   9157 esac
   9158 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9159 echo "${ECHO_T}$dynamic_linker" >&6; }
   9160 test "$dynamic_linker" = no && can_build_shared=no
   9161 
   9162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9163 if test "$GCC" = yes; then
   9164   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9165 fi
   9166 
   9167 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9168 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9169 hardcode_action=
   9170 if test -n "$hardcode_libdir_flag_spec" || \
   9171    test -n "$runpath_var" || \
   9172    test "X$hardcode_automatic" = "Xyes" ; then
   9173 
   9174   # We can hardcode non-existant directories.
   9175   if test "$hardcode_direct" != no &&
   9176      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9177      # have to relink, otherwise we might link with an installed library
   9178      # when we should be linking with a yet-to-be-installed one
   9179      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9180      test "$hardcode_minus_L" != no; then
   9181     # Linking always hardcodes the temporary library directory.
   9182     hardcode_action=relink
   9183   else
   9184     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9185     hardcode_action=immediate
   9186   fi
   9187 else
   9188   # We cannot hardcode anything, or else we can only hardcode existing
   9189   # directories.
   9190   hardcode_action=unsupported
   9191 fi
   9192 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9193 echo "${ECHO_T}$hardcode_action" >&6; }
   9194 
   9195 if test "$hardcode_action" = relink; then
   9196   # Fast installation is not supported
   9197   enable_fast_install=no
   9198 elif test "$shlibpath_overrides_runpath" = yes ||
   9199      test "$enable_shared" = no; then
   9200   # Fast installation is not necessary
   9201   enable_fast_install=needless
   9202 fi
   9203 
   9204 striplib=
   9205 old_striplib=
   9206 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9207 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9208 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9209   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9210   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9211   { echo "$as_me:$LINENO: result: yes" >&5
   9212 echo "${ECHO_T}yes" >&6; }
   9213 else
   9214 # FIXME - insert some real tests, host_os isn't really good enough
   9215   case $host_os in
   9216    darwin*)
   9217        if test -n "$STRIP" ; then
   9218          striplib="$STRIP -x"
   9219          { echo "$as_me:$LINENO: result: yes" >&5
   9220 echo "${ECHO_T}yes" >&6; }
   9221        else
   9222   { echo "$as_me:$LINENO: result: no" >&5
   9223 echo "${ECHO_T}no" >&6; }
   9224 fi
   9225        ;;
   9226    *)
   9227   { echo "$as_me:$LINENO: result: no" >&5
   9228 echo "${ECHO_T}no" >&6; }
   9229     ;;
   9230   esac
   9231 fi
   9232 
   9233 if test "x$enable_dlopen" != xyes; then
   9234   enable_dlopen=unknown
   9235   enable_dlopen_self=unknown
   9236   enable_dlopen_self_static=unknown
   9237 else
   9238   lt_cv_dlopen=no
   9239   lt_cv_dlopen_libs=
   9240 
   9241   case $host_os in
   9242   beos*)
   9243     lt_cv_dlopen="load_add_on"
   9244     lt_cv_dlopen_libs=
   9245     lt_cv_dlopen_self=yes
   9246     ;;
   9247 
   9248   mingw* | pw32*)
   9249     lt_cv_dlopen="LoadLibrary"
   9250     lt_cv_dlopen_libs=
   9251    ;;
   9252 
   9253   cygwin*)
   9254     lt_cv_dlopen="dlopen"
   9255     lt_cv_dlopen_libs=
   9256    ;;
   9257 
   9258   darwin*)
   9259   # if libdl is installed we need to link against it
   9260     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9261 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9262 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9263   echo $ECHO_N "(cached) $ECHO_C" >&6
   9264 else
   9265   ac_check_lib_save_LIBS=$LIBS
   9266 LIBS="-ldl  $LIBS"
   9267 cat >conftest.$ac_ext <<_ACEOF
   9268 /* confdefs.h.  */
   9269 _ACEOF
   9270 cat confdefs.h >>conftest.$ac_ext
   9271 cat >>conftest.$ac_ext <<_ACEOF
   9272 /* end confdefs.h.  */
   9273 
   9274 /* Override any GCC internal prototype to avoid an error.
   9275    Use char because int might match the return type of a GCC
   9276    builtin and then its argument prototype would still apply.  */
   9277 #ifdef __cplusplus
   9278 extern "C"
   9279 #endif
   9280 char dlopen ();
   9281 int
   9282 main ()
   9283 {
   9284 return dlopen ();
   9285   ;
   9286   return 0;
   9287 }
   9288 _ACEOF
   9289 rm -f conftest.$ac_objext conftest$ac_exeext
   9290 if { (ac_try="$ac_link"
   9291 case "(($ac_try" in
   9292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9293   *) ac_try_echo=$ac_try;;
   9294 esac
   9295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9296   (eval "$ac_link") 2>conftest.er1
   9297   ac_status=$?
   9298   grep -v '^ *+' conftest.er1 >conftest.err
   9299   rm -f conftest.er1
   9300   cat conftest.err >&5
   9301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9302   (exit $ac_status); } && {
   9303 	 test -z "$ac_c_werror_flag" ||
   9304 	 test ! -s conftest.err
   9305        } && test -s conftest$ac_exeext &&
   9306        $as_test_x conftest$ac_exeext; then
   9307   ac_cv_lib_dl_dlopen=yes
   9308 else
   9309   echo "$as_me: failed program was:" >&5
   9310 sed 's/^/| /' conftest.$ac_ext >&5
   9311 
   9312 	ac_cv_lib_dl_dlopen=no
   9313 fi
   9314 
   9315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9316       conftest$ac_exeext conftest.$ac_ext
   9317 LIBS=$ac_check_lib_save_LIBS
   9318 fi
   9319 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9320 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9321 if test $ac_cv_lib_dl_dlopen = yes; then
   9322   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9323 else
   9324 
   9325     lt_cv_dlopen="dyld"
   9326     lt_cv_dlopen_libs=
   9327     lt_cv_dlopen_self=yes
   9328 
   9329 fi
   9330 
   9331    ;;
   9332 
   9333   *)
   9334     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9335 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9336 if test "${ac_cv_func_shl_load+set}" = set; then
   9337   echo $ECHO_N "(cached) $ECHO_C" >&6
   9338 else
   9339   cat >conftest.$ac_ext <<_ACEOF
   9340 /* confdefs.h.  */
   9341 _ACEOF
   9342 cat confdefs.h >>conftest.$ac_ext
   9343 cat >>conftest.$ac_ext <<_ACEOF
   9344 /* end confdefs.h.  */
   9345 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9347 #define shl_load innocuous_shl_load
   9348 
   9349 /* System header to define __stub macros and hopefully few prototypes,
   9350     which can conflict with char shl_load (); below.
   9351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9352     <limits.h> exists even on freestanding compilers.  */
   9353 
   9354 #ifdef __STDC__
   9355 # include <limits.h>
   9356 #else
   9357 # include <assert.h>
   9358 #endif
   9359 
   9360 #undef shl_load
   9361 
   9362 /* Override any GCC internal prototype to avoid an error.
   9363    Use char because int might match the return type of a GCC
   9364    builtin and then its argument prototype would still apply.  */
   9365 #ifdef __cplusplus
   9366 extern "C"
   9367 #endif
   9368 char shl_load ();
   9369 /* The GNU C library defines this for functions which it implements
   9370     to always fail with ENOSYS.  Some functions are actually named
   9371     something starting with __ and the normal name is an alias.  */
   9372 #if defined __stub_shl_load || defined __stub___shl_load
   9373 choke me
   9374 #endif
   9375 
   9376 int
   9377 main ()
   9378 {
   9379 return shl_load ();
   9380   ;
   9381   return 0;
   9382 }
   9383 _ACEOF
   9384 rm -f conftest.$ac_objext conftest$ac_exeext
   9385 if { (ac_try="$ac_link"
   9386 case "(($ac_try" in
   9387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9388   *) ac_try_echo=$ac_try;;
   9389 esac
   9390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9391   (eval "$ac_link") 2>conftest.er1
   9392   ac_status=$?
   9393   grep -v '^ *+' conftest.er1 >conftest.err
   9394   rm -f conftest.er1
   9395   cat conftest.err >&5
   9396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9397   (exit $ac_status); } && {
   9398 	 test -z "$ac_c_werror_flag" ||
   9399 	 test ! -s conftest.err
   9400        } && test -s conftest$ac_exeext &&
   9401        $as_test_x conftest$ac_exeext; then
   9402   ac_cv_func_shl_load=yes
   9403 else
   9404   echo "$as_me: failed program was:" >&5
   9405 sed 's/^/| /' conftest.$ac_ext >&5
   9406 
   9407 	ac_cv_func_shl_load=no
   9408 fi
   9409 
   9410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9411       conftest$ac_exeext conftest.$ac_ext
   9412 fi
   9413 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9414 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9415 if test $ac_cv_func_shl_load = yes; then
   9416   lt_cv_dlopen="shl_load"
   9417 else
   9418   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9419 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9421   echo $ECHO_N "(cached) $ECHO_C" >&6
   9422 else
   9423   ac_check_lib_save_LIBS=$LIBS
   9424 LIBS="-ldld  $LIBS"
   9425 cat >conftest.$ac_ext <<_ACEOF
   9426 /* confdefs.h.  */
   9427 _ACEOF
   9428 cat confdefs.h >>conftest.$ac_ext
   9429 cat >>conftest.$ac_ext <<_ACEOF
   9430 /* end confdefs.h.  */
   9431 
   9432 /* Override any GCC internal prototype to avoid an error.
   9433    Use char because int might match the return type of a GCC
   9434    builtin and then its argument prototype would still apply.  */
   9435 #ifdef __cplusplus
   9436 extern "C"
   9437 #endif
   9438 char shl_load ();
   9439 int
   9440 main ()
   9441 {
   9442 return shl_load ();
   9443   ;
   9444   return 0;
   9445 }
   9446 _ACEOF
   9447 rm -f conftest.$ac_objext conftest$ac_exeext
   9448 if { (ac_try="$ac_link"
   9449 case "(($ac_try" in
   9450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9451   *) ac_try_echo=$ac_try;;
   9452 esac
   9453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9454   (eval "$ac_link") 2>conftest.er1
   9455   ac_status=$?
   9456   grep -v '^ *+' conftest.er1 >conftest.err
   9457   rm -f conftest.er1
   9458   cat conftest.err >&5
   9459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9460   (exit $ac_status); } && {
   9461 	 test -z "$ac_c_werror_flag" ||
   9462 	 test ! -s conftest.err
   9463        } && test -s conftest$ac_exeext &&
   9464        $as_test_x conftest$ac_exeext; then
   9465   ac_cv_lib_dld_shl_load=yes
   9466 else
   9467   echo "$as_me: failed program was:" >&5
   9468 sed 's/^/| /' conftest.$ac_ext >&5
   9469 
   9470 	ac_cv_lib_dld_shl_load=no
   9471 fi
   9472 
   9473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9474       conftest$ac_exeext conftest.$ac_ext
   9475 LIBS=$ac_check_lib_save_LIBS
   9476 fi
   9477 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9478 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9479 if test $ac_cv_lib_dld_shl_load = yes; then
   9480   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9481 else
   9482   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9483 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9484 if test "${ac_cv_func_dlopen+set}" = set; then
   9485   echo $ECHO_N "(cached) $ECHO_C" >&6
   9486 else
   9487   cat >conftest.$ac_ext <<_ACEOF
   9488 /* confdefs.h.  */
   9489 _ACEOF
   9490 cat confdefs.h >>conftest.$ac_ext
   9491 cat >>conftest.$ac_ext <<_ACEOF
   9492 /* end confdefs.h.  */
   9493 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9494    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9495 #define dlopen innocuous_dlopen
   9496 
   9497 /* System header to define __stub macros and hopefully few prototypes,
   9498     which can conflict with char dlopen (); below.
   9499     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9500     <limits.h> exists even on freestanding compilers.  */
   9501 
   9502 #ifdef __STDC__
   9503 # include <limits.h>
   9504 #else
   9505 # include <assert.h>
   9506 #endif
   9507 
   9508 #undef dlopen
   9509 
   9510 /* Override any GCC internal prototype to avoid an error.
   9511    Use char because int might match the return type of a GCC
   9512    builtin and then its argument prototype would still apply.  */
   9513 #ifdef __cplusplus
   9514 extern "C"
   9515 #endif
   9516 char dlopen ();
   9517 /* The GNU C library defines this for functions which it implements
   9518     to always fail with ENOSYS.  Some functions are actually named
   9519     something starting with __ and the normal name is an alias.  */
   9520 #if defined __stub_dlopen || defined __stub___dlopen
   9521 choke me
   9522 #endif
   9523 
   9524 int
   9525 main ()
   9526 {
   9527 return dlopen ();
   9528   ;
   9529   return 0;
   9530 }
   9531 _ACEOF
   9532 rm -f conftest.$ac_objext conftest$ac_exeext
   9533 if { (ac_try="$ac_link"
   9534 case "(($ac_try" in
   9535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9536   *) ac_try_echo=$ac_try;;
   9537 esac
   9538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9539   (eval "$ac_link") 2>conftest.er1
   9540   ac_status=$?
   9541   grep -v '^ *+' conftest.er1 >conftest.err
   9542   rm -f conftest.er1
   9543   cat conftest.err >&5
   9544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9545   (exit $ac_status); } && {
   9546 	 test -z "$ac_c_werror_flag" ||
   9547 	 test ! -s conftest.err
   9548        } && test -s conftest$ac_exeext &&
   9549        $as_test_x conftest$ac_exeext; then
   9550   ac_cv_func_dlopen=yes
   9551 else
   9552   echo "$as_me: failed program was:" >&5
   9553 sed 's/^/| /' conftest.$ac_ext >&5
   9554 
   9555 	ac_cv_func_dlopen=no
   9556 fi
   9557 
   9558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9559       conftest$ac_exeext conftest.$ac_ext
   9560 fi
   9561 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9562 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9563 if test $ac_cv_func_dlopen = yes; then
   9564   lt_cv_dlopen="dlopen"
   9565 else
   9566   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9567 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9568 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9569   echo $ECHO_N "(cached) $ECHO_C" >&6
   9570 else
   9571   ac_check_lib_save_LIBS=$LIBS
   9572 LIBS="-ldl  $LIBS"
   9573 cat >conftest.$ac_ext <<_ACEOF
   9574 /* confdefs.h.  */
   9575 _ACEOF
   9576 cat confdefs.h >>conftest.$ac_ext
   9577 cat >>conftest.$ac_ext <<_ACEOF
   9578 /* end confdefs.h.  */
   9579 
   9580 /* Override any GCC internal prototype to avoid an error.
   9581    Use char because int might match the return type of a GCC
   9582    builtin and then its argument prototype would still apply.  */
   9583 #ifdef __cplusplus
   9584 extern "C"
   9585 #endif
   9586 char dlopen ();
   9587 int
   9588 main ()
   9589 {
   9590 return dlopen ();
   9591   ;
   9592   return 0;
   9593 }
   9594 _ACEOF
   9595 rm -f conftest.$ac_objext conftest$ac_exeext
   9596 if { (ac_try="$ac_link"
   9597 case "(($ac_try" in
   9598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9599   *) ac_try_echo=$ac_try;;
   9600 esac
   9601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9602   (eval "$ac_link") 2>conftest.er1
   9603   ac_status=$?
   9604   grep -v '^ *+' conftest.er1 >conftest.err
   9605   rm -f conftest.er1
   9606   cat conftest.err >&5
   9607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9608   (exit $ac_status); } && {
   9609 	 test -z "$ac_c_werror_flag" ||
   9610 	 test ! -s conftest.err
   9611        } && test -s conftest$ac_exeext &&
   9612        $as_test_x conftest$ac_exeext; then
   9613   ac_cv_lib_dl_dlopen=yes
   9614 else
   9615   echo "$as_me: failed program was:" >&5
   9616 sed 's/^/| /' conftest.$ac_ext >&5
   9617 
   9618 	ac_cv_lib_dl_dlopen=no
   9619 fi
   9620 
   9621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9622       conftest$ac_exeext conftest.$ac_ext
   9623 LIBS=$ac_check_lib_save_LIBS
   9624 fi
   9625 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9626 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9627 if test $ac_cv_lib_dl_dlopen = yes; then
   9628   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9629 else
   9630   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9631 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9632 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9633   echo $ECHO_N "(cached) $ECHO_C" >&6
   9634 else
   9635   ac_check_lib_save_LIBS=$LIBS
   9636 LIBS="-lsvld  $LIBS"
   9637 cat >conftest.$ac_ext <<_ACEOF
   9638 /* confdefs.h.  */
   9639 _ACEOF
   9640 cat confdefs.h >>conftest.$ac_ext
   9641 cat >>conftest.$ac_ext <<_ACEOF
   9642 /* end confdefs.h.  */
   9643 
   9644 /* Override any GCC internal prototype to avoid an error.
   9645    Use char because int might match the return type of a GCC
   9646    builtin and then its argument prototype would still apply.  */
   9647 #ifdef __cplusplus
   9648 extern "C"
   9649 #endif
   9650 char dlopen ();
   9651 int
   9652 main ()
   9653 {
   9654 return dlopen ();
   9655   ;
   9656   return 0;
   9657 }
   9658 _ACEOF
   9659 rm -f conftest.$ac_objext conftest$ac_exeext
   9660 if { (ac_try="$ac_link"
   9661 case "(($ac_try" in
   9662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9663   *) ac_try_echo=$ac_try;;
   9664 esac
   9665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9666   (eval "$ac_link") 2>conftest.er1
   9667   ac_status=$?
   9668   grep -v '^ *+' conftest.er1 >conftest.err
   9669   rm -f conftest.er1
   9670   cat conftest.err >&5
   9671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9672   (exit $ac_status); } && {
   9673 	 test -z "$ac_c_werror_flag" ||
   9674 	 test ! -s conftest.err
   9675        } && test -s conftest$ac_exeext &&
   9676        $as_test_x conftest$ac_exeext; then
   9677   ac_cv_lib_svld_dlopen=yes
   9678 else
   9679   echo "$as_me: failed program was:" >&5
   9680 sed 's/^/| /' conftest.$ac_ext >&5
   9681 
   9682 	ac_cv_lib_svld_dlopen=no
   9683 fi
   9684 
   9685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9686       conftest$ac_exeext conftest.$ac_ext
   9687 LIBS=$ac_check_lib_save_LIBS
   9688 fi
   9689 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9690 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9691 if test $ac_cv_lib_svld_dlopen = yes; then
   9692   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9693 else
   9694   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9695 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9696 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9697   echo $ECHO_N "(cached) $ECHO_C" >&6
   9698 else
   9699   ac_check_lib_save_LIBS=$LIBS
   9700 LIBS="-ldld  $LIBS"
   9701 cat >conftest.$ac_ext <<_ACEOF
   9702 /* confdefs.h.  */
   9703 _ACEOF
   9704 cat confdefs.h >>conftest.$ac_ext
   9705 cat >>conftest.$ac_ext <<_ACEOF
   9706 /* end confdefs.h.  */
   9707 
   9708 /* Override any GCC internal prototype to avoid an error.
   9709    Use char because int might match the return type of a GCC
   9710    builtin and then its argument prototype would still apply.  */
   9711 #ifdef __cplusplus
   9712 extern "C"
   9713 #endif
   9714 char dld_link ();
   9715 int
   9716 main ()
   9717 {
   9718 return dld_link ();
   9719   ;
   9720   return 0;
   9721 }
   9722 _ACEOF
   9723 rm -f conftest.$ac_objext conftest$ac_exeext
   9724 if { (ac_try="$ac_link"
   9725 case "(($ac_try" in
   9726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9727   *) ac_try_echo=$ac_try;;
   9728 esac
   9729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9730   (eval "$ac_link") 2>conftest.er1
   9731   ac_status=$?
   9732   grep -v '^ *+' conftest.er1 >conftest.err
   9733   rm -f conftest.er1
   9734   cat conftest.err >&5
   9735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9736   (exit $ac_status); } && {
   9737 	 test -z "$ac_c_werror_flag" ||
   9738 	 test ! -s conftest.err
   9739        } && test -s conftest$ac_exeext &&
   9740        $as_test_x conftest$ac_exeext; then
   9741   ac_cv_lib_dld_dld_link=yes
   9742 else
   9743   echo "$as_me: failed program was:" >&5
   9744 sed 's/^/| /' conftest.$ac_ext >&5
   9745 
   9746 	ac_cv_lib_dld_dld_link=no
   9747 fi
   9748 
   9749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9750       conftest$ac_exeext conftest.$ac_ext
   9751 LIBS=$ac_check_lib_save_LIBS
   9752 fi
   9753 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9754 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9755 if test $ac_cv_lib_dld_dld_link = yes; then
   9756   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9757 fi
   9758 
   9759 
   9760 fi
   9761 
   9762 
   9763 fi
   9764 
   9765 
   9766 fi
   9767 
   9768 
   9769 fi
   9770 
   9771 
   9772 fi
   9773 
   9774     ;;
   9775   esac
   9776 
   9777   if test "x$lt_cv_dlopen" != xno; then
   9778     enable_dlopen=yes
   9779   else
   9780     enable_dlopen=no
   9781   fi
   9782 
   9783   case $lt_cv_dlopen in
   9784   dlopen)
   9785     save_CPPFLAGS="$CPPFLAGS"
   9786     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9787 
   9788     save_LDFLAGS="$LDFLAGS"
   9789     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9790 
   9791     save_LIBS="$LIBS"
   9792     LIBS="$lt_cv_dlopen_libs $LIBS"
   9793 
   9794     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9795 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9796 if test "${lt_cv_dlopen_self+set}" = set; then
   9797   echo $ECHO_N "(cached) $ECHO_C" >&6
   9798 else
   9799   	  if test "$cross_compiling" = yes; then :
   9800   lt_cv_dlopen_self=cross
   9801 else
   9802   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9803   lt_status=$lt_dlunknown
   9804   cat > conftest.$ac_ext <<EOF
   9805 #line 9805 "configure"
   9806 #include "confdefs.h"
   9807 
   9808 #if HAVE_DLFCN_H
   9809 #include <dlfcn.h>
   9810 #endif
   9811 
   9812 #include <stdio.h>
   9813 
   9814 #ifdef RTLD_GLOBAL
   9815 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9816 #else
   9817 #  ifdef DL_GLOBAL
   9818 #    define LT_DLGLOBAL		DL_GLOBAL
   9819 #  else
   9820 #    define LT_DLGLOBAL		0
   9821 #  endif
   9822 #endif
   9823 
   9824 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9825    find out it does not work in some platform. */
   9826 #ifndef LT_DLLAZY_OR_NOW
   9827 #  ifdef RTLD_LAZY
   9828 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9829 #  else
   9830 #    ifdef DL_LAZY
   9831 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9832 #    else
   9833 #      ifdef RTLD_NOW
   9834 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9835 #      else
   9836 #        ifdef DL_NOW
   9837 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9838 #        else
   9839 #          define LT_DLLAZY_OR_NOW	0
   9840 #        endif
   9841 #      endif
   9842 #    endif
   9843 #  endif
   9844 #endif
   9845 
   9846 #ifdef __cplusplus
   9847 extern "C" void exit (int);
   9848 #endif
   9849 
   9850 void fnord() { int i=42;}
   9851 int main ()
   9852 {
   9853   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9854   int status = $lt_dlunknown;
   9855 
   9856   if (self)
   9857     {
   9858       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9859       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9860       /* dlclose (self); */
   9861     }
   9862   else
   9863     puts (dlerror ());
   9864 
   9865     exit (status);
   9866 }
   9867 EOF
   9868   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9869   (eval $ac_link) 2>&5
   9870   ac_status=$?
   9871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9872   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9873     (./conftest; exit; ) >&5 2>/dev/null
   9874     lt_status=$?
   9875     case x$lt_status in
   9876       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9877       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9878       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9879     esac
   9880   else :
   9881     # compilation failed
   9882     lt_cv_dlopen_self=no
   9883   fi
   9884 fi
   9885 rm -fr conftest*
   9886 
   9887 
   9888 fi
   9889 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9890 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9891 
   9892     if test "x$lt_cv_dlopen_self" = xyes; then
   9893       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9894       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9895 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9896 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9897   echo $ECHO_N "(cached) $ECHO_C" >&6
   9898 else
   9899   	  if test "$cross_compiling" = yes; then :
   9900   lt_cv_dlopen_self_static=cross
   9901 else
   9902   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9903   lt_status=$lt_dlunknown
   9904   cat > conftest.$ac_ext <<EOF
   9905 #line 9905 "configure"
   9906 #include "confdefs.h"
   9907 
   9908 #if HAVE_DLFCN_H
   9909 #include <dlfcn.h>
   9910 #endif
   9911 
   9912 #include <stdio.h>
   9913 
   9914 #ifdef RTLD_GLOBAL
   9915 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9916 #else
   9917 #  ifdef DL_GLOBAL
   9918 #    define LT_DLGLOBAL		DL_GLOBAL
   9919 #  else
   9920 #    define LT_DLGLOBAL		0
   9921 #  endif
   9922 #endif
   9923 
   9924 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9925    find out it does not work in some platform. */
   9926 #ifndef LT_DLLAZY_OR_NOW
   9927 #  ifdef RTLD_LAZY
   9928 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9929 #  else
   9930 #    ifdef DL_LAZY
   9931 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9932 #    else
   9933 #      ifdef RTLD_NOW
   9934 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9935 #      else
   9936 #        ifdef DL_NOW
   9937 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9938 #        else
   9939 #          define LT_DLLAZY_OR_NOW	0
   9940 #        endif
   9941 #      endif
   9942 #    endif
   9943 #  endif
   9944 #endif
   9945 
   9946 #ifdef __cplusplus
   9947 extern "C" void exit (int);
   9948 #endif
   9949 
   9950 void fnord() { int i=42;}
   9951 int main ()
   9952 {
   9953   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9954   int status = $lt_dlunknown;
   9955 
   9956   if (self)
   9957     {
   9958       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9959       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9960       /* dlclose (self); */
   9961     }
   9962   else
   9963     puts (dlerror ());
   9964 
   9965     exit (status);
   9966 }
   9967 EOF
   9968   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9969   (eval $ac_link) 2>&5
   9970   ac_status=$?
   9971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9972   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9973     (./conftest; exit; ) >&5 2>/dev/null
   9974     lt_status=$?
   9975     case x$lt_status in
   9976       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9977       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9978       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9979     esac
   9980   else :
   9981     # compilation failed
   9982     lt_cv_dlopen_self_static=no
   9983   fi
   9984 fi
   9985 rm -fr conftest*
   9986 
   9987 
   9988 fi
   9989 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9990 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   9991     fi
   9992 
   9993     CPPFLAGS="$save_CPPFLAGS"
   9994     LDFLAGS="$save_LDFLAGS"
   9995     LIBS="$save_LIBS"
   9996     ;;
   9997   esac
   9998 
   9999   case $lt_cv_dlopen_self in
   10000   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10001   *) enable_dlopen_self=unknown ;;
   10002   esac
   10003 
   10004   case $lt_cv_dlopen_self_static in
   10005   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10006   *) enable_dlopen_self_static=unknown ;;
   10007   esac
   10008 fi
   10009 
   10010 
   10011 # Report which library types will actually be built
   10012 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10013 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10014 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10015 echo "${ECHO_T}$can_build_shared" >&6; }
   10016 
   10017 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10018 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10019 test "$can_build_shared" = "no" && enable_shared=no
   10020 
   10021 # On AIX, shared libraries and static libraries use the same namespace, and
   10022 # are all built from PIC.
   10023 case $host_os in
   10024 aix3*)
   10025   test "$enable_shared" = yes && enable_static=no
   10026   if test -n "$RANLIB"; then
   10027     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10028     postinstall_cmds='$RANLIB $lib'
   10029   fi
   10030   ;;
   10031 
   10032 aix4* | aix5*)
   10033   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10034     test "$enable_shared" = yes && enable_static=no
   10035   fi
   10036     ;;
   10037 esac
   10038 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10039 echo "${ECHO_T}$enable_shared" >&6; }
   10040 
   10041 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10042 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10043 # Make sure either enable_shared or enable_static is yes.
   10044 test "$enable_shared" = yes || enable_static=yes
   10045 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10046 echo "${ECHO_T}$enable_static" >&6; }
   10047 
   10048 # The else clause should only fire when bootstrapping the
   10049 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10050 # with your package, and you will get complaints that there are
   10051 # no rules to generate ltmain.sh.
   10052 if test -f "$ltmain"; then
   10053   # See if we are running on zsh, and set the options which allow our commands through
   10054   # without removal of \ escapes.
   10055   if test -n "${ZSH_VERSION+set}" ; then
   10056     setopt NO_GLOB_SUBST
   10057   fi
   10058   # Now quote all the things that may contain metacharacters while being
   10059   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10060   # variables and quote the copies for generation of the libtool script.
   10061   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10062     SED SHELL STRIP \
   10063     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10064     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10065     deplibs_check_method reload_flag reload_cmds need_locks \
   10066     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10067     lt_cv_sys_global_symbol_to_c_name_address \
   10068     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10069     old_postinstall_cmds old_postuninstall_cmds \
   10070     compiler \
   10071     CC \
   10072     LD \
   10073     lt_prog_compiler_wl \
   10074     lt_prog_compiler_pic \
   10075     lt_prog_compiler_static \
   10076     lt_prog_compiler_no_builtin_flag \
   10077     export_dynamic_flag_spec \
   10078     thread_safe_flag_spec \
   10079     whole_archive_flag_spec \
   10080     enable_shared_with_static_runtimes \
   10081     old_archive_cmds \
   10082     old_archive_from_new_cmds \
   10083     predep_objects \
   10084     postdep_objects \
   10085     predeps \
   10086     postdeps \
   10087     compiler_lib_search_path \
   10088     archive_cmds \
   10089     archive_expsym_cmds \
   10090     postinstall_cmds \
   10091     postuninstall_cmds \
   10092     old_archive_from_expsyms_cmds \
   10093     allow_undefined_flag \
   10094     no_undefined_flag \
   10095     export_symbols_cmds \
   10096     hardcode_libdir_flag_spec \
   10097     hardcode_libdir_flag_spec_ld \
   10098     hardcode_libdir_separator \
   10099     hardcode_automatic \
   10100     module_cmds \
   10101     module_expsym_cmds \
   10102     lt_cv_prog_compiler_c_o \
   10103     exclude_expsyms \
   10104     include_expsyms; do
   10105 
   10106     case $var in
   10107     old_archive_cmds | \
   10108     old_archive_from_new_cmds | \
   10109     archive_cmds | \
   10110     archive_expsym_cmds | \
   10111     module_cmds | \
   10112     module_expsym_cmds | \
   10113     old_archive_from_expsyms_cmds | \
   10114     export_symbols_cmds | \
   10115     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10116     postinstall_cmds | postuninstall_cmds | \
   10117     old_postinstall_cmds | old_postuninstall_cmds | \
   10118     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10119       # Double-quote double-evaled strings.
   10120       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10121       ;;
   10122     *)
   10123       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10124       ;;
   10125     esac
   10126   done
   10127 
   10128   case $lt_echo in
   10129   *'\$0 --fallback-echo"')
   10130     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10131     ;;
   10132   esac
   10133 
   10134 cfgfile="${ofile}T"
   10135   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10136   $rm -f "$cfgfile"
   10137   { echo "$as_me:$LINENO: creating $ofile" >&5
   10138 echo "$as_me: creating $ofile" >&6;}
   10139 
   10140   cat <<__EOF__ >> "$cfgfile"
   10141 #! $SHELL
   10142 
   10143 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10144 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10145 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10146 #
   10147 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10148 # Free Software Foundation, Inc.
   10149 #
   10150 # This file is part of GNU Libtool:
   10151 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10152 #
   10153 # This program is free software; you can redistribute it and/or modify
   10154 # it under the terms of the GNU General Public License as published by
   10155 # the Free Software Foundation; either version 2 of the License, or
   10156 # (at your option) any later version.
   10157 #
   10158 # This program is distributed in the hope that it will be useful, but
   10159 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10160 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10161 # General Public License for more details.
   10162 #
   10163 # You should have received a copy of the GNU General Public License
   10164 # along with this program; if not, write to the Free Software
   10165 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10166 #
   10167 # As a special exception to the GNU General Public License, if you
   10168 # distribute this file as part of a program that contains a
   10169 # configuration script generated by Autoconf, you may include it under
   10170 # the same distribution terms that you use for the rest of that program.
   10171 
   10172 # A sed program that does not truncate output.
   10173 SED=$lt_SED
   10174 
   10175 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10176 Xsed="$SED -e 1s/^X//"
   10177 
   10178 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10179 # if CDPATH is set.
   10180 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10181 
   10182 # The names of the tagged configurations supported by this script.
   10183 available_tags=
   10184 
   10185 # ### BEGIN LIBTOOL CONFIG
   10186 
   10187 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10188 
   10189 # Shell to use when invoking shell scripts.
   10190 SHELL=$lt_SHELL
   10191 
   10192 # Whether or not to build shared libraries.
   10193 build_libtool_libs=$enable_shared
   10194 
   10195 # Whether or not to build static libraries.
   10196 build_old_libs=$enable_static
   10197 
   10198 # Whether or not to add -lc for building shared libraries.
   10199 build_libtool_need_lc=$archive_cmds_need_lc
   10200 
   10201 # Whether or not to disallow shared libs when runtime libs are static
   10202 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10203 
   10204 # Whether or not to optimize for fast installation.
   10205 fast_install=$enable_fast_install
   10206 
   10207 # The host system.
   10208 host_alias=$host_alias
   10209 host=$host
   10210 host_os=$host_os
   10211 
   10212 # The build system.
   10213 build_alias=$build_alias
   10214 build=$build
   10215 build_os=$build_os
   10216 
   10217 # An echo program that does not interpret backslashes.
   10218 echo=$lt_echo
   10219 
   10220 # The archiver.
   10221 AR=$lt_AR
   10222 AR_FLAGS=$lt_AR_FLAGS
   10223 
   10224 # A C compiler.
   10225 LTCC=$lt_LTCC
   10226 
   10227 # LTCC compiler flags.
   10228 LTCFLAGS=$lt_LTCFLAGS
   10229 
   10230 # A language-specific compiler.
   10231 CC=$lt_compiler
   10232 
   10233 # Is the compiler the GNU C compiler?
   10234 with_gcc=$GCC
   10235 
   10236 # An ERE matcher.
   10237 EGREP=$lt_EGREP
   10238 
   10239 # The linker used to build libraries.
   10240 LD=$lt_LD
   10241 
   10242 # Whether we need hard or soft links.
   10243 LN_S=$lt_LN_S
   10244 
   10245 # A BSD-compatible nm program.
   10246 NM=$lt_NM
   10247 
   10248 # A symbol stripping program
   10249 STRIP=$lt_STRIP
   10250 
   10251 # Used to examine libraries when file_magic_cmd begins "file"
   10252 MAGIC_CMD=$MAGIC_CMD
   10253 
   10254 # Used on cygwin: DLL creation program.
   10255 DLLTOOL="$DLLTOOL"
   10256 
   10257 # Used on cygwin: object dumper.
   10258 OBJDUMP="$OBJDUMP"
   10259 
   10260 # Used on cygwin: assembler.
   10261 AS="$AS"
   10262 
   10263 # The name of the directory that contains temporary libtool files.
   10264 objdir=$objdir
   10265 
   10266 # How to create reloadable object files.
   10267 reload_flag=$lt_reload_flag
   10268 reload_cmds=$lt_reload_cmds
   10269 
   10270 # How to pass a linker flag through the compiler.
   10271 wl=$lt_lt_prog_compiler_wl
   10272 
   10273 # Object file suffix (normally "o").
   10274 objext="$ac_objext"
   10275 
   10276 # Old archive suffix (normally "a").
   10277 libext="$libext"
   10278 
   10279 # Shared library suffix (normally ".so").
   10280 shrext_cmds='$shrext_cmds'
   10281 
   10282 # Executable file suffix (normally "").
   10283 exeext="$exeext"
   10284 
   10285 # Additional compiler flags for building library objects.
   10286 pic_flag=$lt_lt_prog_compiler_pic
   10287 pic_mode=$pic_mode
   10288 
   10289 # What is the maximum length of a command?
   10290 max_cmd_len=$lt_cv_sys_max_cmd_len
   10291 
   10292 # Does compiler simultaneously support -c and -o options?
   10293 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10294 
   10295 # Must we lock files when doing compilation?
   10296 need_locks=$lt_need_locks
   10297 
   10298 # Do we need the lib prefix for modules?
   10299 need_lib_prefix=$need_lib_prefix
   10300 
   10301 # Do we need a version for libraries?
   10302 need_version=$need_version
   10303 
   10304 # Whether dlopen is supported.
   10305 dlopen_support=$enable_dlopen
   10306 
   10307 # Whether dlopen of programs is supported.
   10308 dlopen_self=$enable_dlopen_self
   10309 
   10310 # Whether dlopen of statically linked programs is supported.
   10311 dlopen_self_static=$enable_dlopen_self_static
   10312 
   10313 # Compiler flag to prevent dynamic linking.
   10314 link_static_flag=$lt_lt_prog_compiler_static
   10315 
   10316 # Compiler flag to turn off builtin functions.
   10317 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10318 
   10319 # Compiler flag to allow reflexive dlopens.
   10320 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10321 
   10322 # Compiler flag to generate shared objects directly from archives.
   10323 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10324 
   10325 # Compiler flag to generate thread-safe objects.
   10326 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10327 
   10328 # Library versioning type.
   10329 version_type=$version_type
   10330 
   10331 # Format of library name prefix.
   10332 libname_spec=$lt_libname_spec
   10333 
   10334 # List of archive names.  First name is the real one, the rest are links.
   10335 # The last name is the one that the linker finds with -lNAME.
   10336 library_names_spec=$lt_library_names_spec
   10337 
   10338 # The coded name of the library, if different from the real name.
   10339 soname_spec=$lt_soname_spec
   10340 
   10341 # Commands used to build and install an old-style archive.
   10342 RANLIB=$lt_RANLIB
   10343 old_archive_cmds=$lt_old_archive_cmds
   10344 old_postinstall_cmds=$lt_old_postinstall_cmds
   10345 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10346 
   10347 # Create an old-style archive from a shared archive.
   10348 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10349 
   10350 # Create a temporary old-style archive to link instead of a shared archive.
   10351 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10352 
   10353 # Commands used to build and install a shared archive.
   10354 archive_cmds=$lt_archive_cmds
   10355 archive_expsym_cmds=$lt_archive_expsym_cmds
   10356 postinstall_cmds=$lt_postinstall_cmds
   10357 postuninstall_cmds=$lt_postuninstall_cmds
   10358 
   10359 # Commands used to build a loadable module (assumed same as above if empty)
   10360 module_cmds=$lt_module_cmds
   10361 module_expsym_cmds=$lt_module_expsym_cmds
   10362 
   10363 # Commands to strip libraries.
   10364 old_striplib=$lt_old_striplib
   10365 striplib=$lt_striplib
   10366 
   10367 # Dependencies to place before the objects being linked to create a
   10368 # shared library.
   10369 predep_objects=$lt_predep_objects
   10370 
   10371 # Dependencies to place after the objects being linked to create a
   10372 # shared library.
   10373 postdep_objects=$lt_postdep_objects
   10374 
   10375 # Dependencies to place before the objects being linked to create a
   10376 # shared library.
   10377 predeps=$lt_predeps
   10378 
   10379 # Dependencies to place after the objects being linked to create a
   10380 # shared library.
   10381 postdeps=$lt_postdeps
   10382 
   10383 # The library search path used internally by the compiler when linking
   10384 # a shared library.
   10385 compiler_lib_search_path=$lt_compiler_lib_search_path
   10386 
   10387 # Method to check whether dependent libraries are shared objects.
   10388 deplibs_check_method=$lt_deplibs_check_method
   10389 
   10390 # Command to use when deplibs_check_method == file_magic.
   10391 file_magic_cmd=$lt_file_magic_cmd
   10392 
   10393 # Flag that allows shared libraries with undefined symbols to be built.
   10394 allow_undefined_flag=$lt_allow_undefined_flag
   10395 
   10396 # Flag that forces no undefined symbols.
   10397 no_undefined_flag=$lt_no_undefined_flag
   10398 
   10399 # Commands used to finish a libtool library installation in a directory.
   10400 finish_cmds=$lt_finish_cmds
   10401 
   10402 # Same as above, but a single script fragment to be evaled but not shown.
   10403 finish_eval=$lt_finish_eval
   10404 
   10405 # Take the output of nm and produce a listing of raw symbols and C names.
   10406 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10407 
   10408 # Transform the output of nm in a proper C declaration
   10409 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10410 
   10411 # Transform the output of nm in a C name address pair
   10412 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10413 
   10414 # This is the shared library runtime path variable.
   10415 runpath_var=$runpath_var
   10416 
   10417 # This is the shared library path variable.
   10418 shlibpath_var=$shlibpath_var
   10419 
   10420 # Is shlibpath searched before the hard-coded library search path?
   10421 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10422 
   10423 # How to hardcode a shared library path into an executable.
   10424 hardcode_action=$hardcode_action
   10425 
   10426 # Whether we should hardcode library paths into libraries.
   10427 hardcode_into_libs=$hardcode_into_libs
   10428 
   10429 # Flag to hardcode \$libdir into a binary during linking.
   10430 # This must work even if \$libdir does not exist.
   10431 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10432 
   10433 # If ld is used when linking, flag to hardcode \$libdir into
   10434 # a binary during linking. This must work even if \$libdir does
   10435 # not exist.
   10436 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10437 
   10438 # Whether we need a single -rpath flag with a separated argument.
   10439 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10440 
   10441 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10442 # resulting binary.
   10443 hardcode_direct=$hardcode_direct
   10444 
   10445 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10446 # resulting binary.
   10447 hardcode_minus_L=$hardcode_minus_L
   10448 
   10449 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10450 # the resulting binary.
   10451 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10452 
   10453 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10454 # and all subsequent libraries and executables linked against it.
   10455 hardcode_automatic=$hardcode_automatic
   10456 
   10457 # Variables whose values should be saved in libtool wrapper scripts and
   10458 # restored at relink time.
   10459 variables_saved_for_relink="$variables_saved_for_relink"
   10460 
   10461 # Whether libtool must link a program against all its dependency libraries.
   10462 link_all_deplibs=$link_all_deplibs
   10463 
   10464 # Compile-time system search path for libraries
   10465 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10466 
   10467 # Run-time system search path for libraries
   10468 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10469 
   10470 # Fix the shell variable \$srcfile for the compiler.
   10471 fix_srcfile_path="$fix_srcfile_path"
   10472 
   10473 # Set to yes if exported symbols are required.
   10474 always_export_symbols=$always_export_symbols
   10475 
   10476 # The commands to list exported symbols.
   10477 export_symbols_cmds=$lt_export_symbols_cmds
   10478 
   10479 # The commands to extract the exported symbol list from a shared archive.
   10480 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10481 
   10482 # Symbols that should not be listed in the preloaded symbols.
   10483 exclude_expsyms=$lt_exclude_expsyms
   10484 
   10485 # Symbols that must always be exported.
   10486 include_expsyms=$lt_include_expsyms
   10487 
   10488 # ### END LIBTOOL CONFIG
   10489 
   10490 __EOF__
   10491 
   10492 
   10493   case $host_os in
   10494   aix3*)
   10495     cat <<\EOF >> "$cfgfile"
   10496 
   10497 # AIX sometimes has problems with the GCC collect2 program.  For some
   10498 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10499 # vanish in a puff of smoke.
   10500 if test "X${COLLECT_NAMES+set}" != Xset; then
   10501   COLLECT_NAMES=
   10502   export COLLECT_NAMES
   10503 fi
   10504 EOF
   10505     ;;
   10506   esac
   10507 
   10508   # We use sed instead of cat because bash on DJGPP gets confused if
   10509   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10510   # text mode, it properly converts lines to CR/LF.  This bash problem
   10511   # is reportedly fixed, but why not run on old versions too?
   10512   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10513 
   10514   mv -f "$cfgfile" "$ofile" || \
   10515     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10516   chmod +x "$ofile"
   10517 
   10518 else
   10519   # If there is no Makefile yet, we rely on a make rule to execute
   10520   # `config.status --recheck' to rerun these tests and create the
   10521   # libtool script then.
   10522   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10523   if test -f "$ltmain_in"; then
   10524     test -f Makefile && make "$ltmain"
   10525   fi
   10526 fi
   10527 
   10528 
   10529 ac_ext=c
   10530 ac_cpp='$CPP $CPPFLAGS'
   10531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10534 
   10535 CC="$lt_save_CC"
   10536 
   10537 
   10538 # Check whether --with-tags was given.
   10539 if test "${with_tags+set}" = set; then
   10540   withval=$with_tags; tagnames="$withval"
   10541 fi
   10542 
   10543 
   10544 if test -f "$ltmain" && test -n "$tagnames"; then
   10545   if test ! -f "${ofile}"; then
   10546     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10547 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10548   fi
   10549 
   10550   if test -z "$LTCC"; then
   10551     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10552     if test -z "$LTCC"; then
   10553       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10554 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10555     else
   10556       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10557 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10558     fi
   10559   fi
   10560   if test -z "$LTCFLAGS"; then
   10561     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10562   fi
   10563 
   10564   # Extract list of available tagged configurations in $ofile.
   10565   # Note that this assumes the entire list is on one line.
   10566   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10567 
   10568   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10569   for tagname in $tagnames; do
   10570     IFS="$lt_save_ifs"
   10571     # Check whether tagname contains only valid characters
   10572     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10573     "") ;;
   10574     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10575 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10576    { (exit 1); exit 1; }; }
   10577 	;;
   10578     esac
   10579 
   10580     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10581     then
   10582       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10583 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10584    { (exit 1); exit 1; }; }
   10585     fi
   10586 
   10587     # Update the list of available tags.
   10588     if test -n "$tagname"; then
   10589       echo appending configuration tag \"$tagname\" to $ofile
   10590 
   10591       case $tagname in
   10592       CXX)
   10593 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10594 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10595 	    (test "X$CXX" != "Xg++"))) ; then
   10596 	  ac_ext=cpp
   10597 ac_cpp='$CXXCPP $CPPFLAGS'
   10598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10601 
   10602 
   10603 
   10604 
   10605 archive_cmds_need_lc_CXX=no
   10606 allow_undefined_flag_CXX=
   10607 always_export_symbols_CXX=no
   10608 archive_expsym_cmds_CXX=
   10609 export_dynamic_flag_spec_CXX=
   10610 hardcode_direct_CXX=no
   10611 hardcode_libdir_flag_spec_CXX=
   10612 hardcode_libdir_flag_spec_ld_CXX=
   10613 hardcode_libdir_separator_CXX=
   10614 hardcode_minus_L_CXX=no
   10615 hardcode_shlibpath_var_CXX=unsupported
   10616 hardcode_automatic_CXX=no
   10617 module_cmds_CXX=
   10618 module_expsym_cmds_CXX=
   10619 link_all_deplibs_CXX=unknown
   10620 old_archive_cmds_CXX=$old_archive_cmds
   10621 no_undefined_flag_CXX=
   10622 whole_archive_flag_spec_CXX=
   10623 enable_shared_with_static_runtimes_CXX=no
   10624 
   10625 # Dependencies to place before and after the object being linked:
   10626 predep_objects_CXX=
   10627 postdep_objects_CXX=
   10628 predeps_CXX=
   10629 postdeps_CXX=
   10630 compiler_lib_search_path_CXX=
   10631 
   10632 # Source file extension for C++ test sources.
   10633 ac_ext=cpp
   10634 
   10635 # Object file extension for compiled C++ test sources.
   10636 objext=o
   10637 objext_CXX=$objext
   10638 
   10639 # Code to be used in simple compile tests
   10640 lt_simple_compile_test_code="int some_variable = 0;\n"
   10641 
   10642 # Code to be used in simple link tests
   10643 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10644 
   10645 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10646 
   10647 # If no C compiler was specified, use CC.
   10648 LTCC=${LTCC-"$CC"}
   10649 
   10650 # If no C compiler flags were specified, use CFLAGS.
   10651 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10652 
   10653 # Allow CC to be a program name with arguments.
   10654 compiler=$CC
   10655 
   10656 
   10657 # save warnings/boilerplate of simple test code
   10658 ac_outfile=conftest.$ac_objext
   10659 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10660 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10661 _lt_compiler_boilerplate=`cat conftest.err`
   10662 $rm conftest*
   10663 
   10664 ac_outfile=conftest.$ac_objext
   10665 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10666 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10667 _lt_linker_boilerplate=`cat conftest.err`
   10668 $rm conftest*
   10669 
   10670 
   10671 # Allow CC to be a program name with arguments.
   10672 lt_save_CC=$CC
   10673 lt_save_LD=$LD
   10674 lt_save_GCC=$GCC
   10675 GCC=$GXX
   10676 lt_save_with_gnu_ld=$with_gnu_ld
   10677 lt_save_path_LD=$lt_cv_path_LD
   10678 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10679   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10680 else
   10681   $as_unset lt_cv_prog_gnu_ld
   10682 fi
   10683 if test -n "${lt_cv_path_LDCXX+set}"; then
   10684   lt_cv_path_LD=$lt_cv_path_LDCXX
   10685 else
   10686   $as_unset lt_cv_path_LD
   10687 fi
   10688 test -z "${LDCXX+set}" || LD=$LDCXX
   10689 CC=${CXX-"c++"}
   10690 compiler=$CC
   10691 compiler_CXX=$CC
   10692 for cc_temp in $compiler""; do
   10693   case $cc_temp in
   10694     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10695     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10696     \-*) ;;
   10697     *) break;;
   10698   esac
   10699 done
   10700 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10701 
   10702 
   10703 # We don't want -fno-exception wen compiling C++ code, so set the
   10704 # no_builtin_flag separately
   10705 if test "$GXX" = yes; then
   10706   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10707 else
   10708   lt_prog_compiler_no_builtin_flag_CXX=
   10709 fi
   10710 
   10711 if test "$GXX" = yes; then
   10712   # Set up default GNU C++ configuration
   10713 
   10714 
   10715 # Check whether --with-gnu-ld was given.
   10716 if test "${with_gnu_ld+set}" = set; then
   10717   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10718 else
   10719   with_gnu_ld=no
   10720 fi
   10721 
   10722 ac_prog=ld
   10723 if test "$GCC" = yes; then
   10724   # Check if gcc -print-prog-name=ld gives a path.
   10725   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10726 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10727   case $host in
   10728   *-*-mingw*)
   10729     # gcc leaves a trailing carriage return which upsets mingw
   10730     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10731   *)
   10732     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10733   esac
   10734   case $ac_prog in
   10735     # Accept absolute paths.
   10736     [\\/]* | ?:[\\/]*)
   10737       re_direlt='/[^/][^/]*/\.\./'
   10738       # Canonicalize the pathname of ld
   10739       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10740       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10741 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10742       done
   10743       test -z "$LD" && LD="$ac_prog"
   10744       ;;
   10745   "")
   10746     # If it fails, then pretend we aren't using GCC.
   10747     ac_prog=ld
   10748     ;;
   10749   *)
   10750     # If it is relative, then search for the first ld in PATH.
   10751     with_gnu_ld=unknown
   10752     ;;
   10753   esac
   10754 elif test "$with_gnu_ld" = yes; then
   10755   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10756 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10757 else
   10758   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10759 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10760 fi
   10761 if test "${lt_cv_path_LD+set}" = set; then
   10762   echo $ECHO_N "(cached) $ECHO_C" >&6
   10763 else
   10764   if test -z "$LD"; then
   10765   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10766   for ac_dir in $PATH; do
   10767     IFS="$lt_save_ifs"
   10768     test -z "$ac_dir" && ac_dir=.
   10769     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10770       lt_cv_path_LD="$ac_dir/$ac_prog"
   10771       # Check to see if the program is GNU ld.  I'd rather use --version,
   10772       # but apparently some variants of GNU ld only accept -v.
   10773       # Break only if it was the GNU/non-GNU ld that we prefer.
   10774       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10775       *GNU* | *'with BFD'*)
   10776 	test "$with_gnu_ld" != no && break
   10777 	;;
   10778       *)
   10779 	test "$with_gnu_ld" != yes && break
   10780 	;;
   10781       esac
   10782     fi
   10783   done
   10784   IFS="$lt_save_ifs"
   10785 else
   10786   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10787 fi
   10788 fi
   10789 
   10790 LD="$lt_cv_path_LD"
   10791 if test -n "$LD"; then
   10792   { echo "$as_me:$LINENO: result: $LD" >&5
   10793 echo "${ECHO_T}$LD" >&6; }
   10794 else
   10795   { echo "$as_me:$LINENO: result: no" >&5
   10796 echo "${ECHO_T}no" >&6; }
   10797 fi
   10798 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10799 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10800    { (exit 1); exit 1; }; }
   10801 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10802 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10803 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10804   echo $ECHO_N "(cached) $ECHO_C" >&6
   10805 else
   10806   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10807 case `$LD -v 2>&1 </dev/null` in
   10808 *GNU* | *'with BFD'*)
   10809   lt_cv_prog_gnu_ld=yes
   10810   ;;
   10811 *)
   10812   lt_cv_prog_gnu_ld=no
   10813   ;;
   10814 esac
   10815 fi
   10816 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10817 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10818 with_gnu_ld=$lt_cv_prog_gnu_ld
   10819 
   10820 
   10821 
   10822   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10823   # archiving commands below assume that GNU ld is being used.
   10824   if test "$with_gnu_ld" = yes; then
   10825     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10826     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'
   10827 
   10828     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10829     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10830 
   10831     # If archive_cmds runs LD, not CC, wlarc should be empty
   10832     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10833     #     investigate it a little bit more. (MM)
   10834     wlarc='${wl}'
   10835 
   10836     # ancient GNU ld didn't support --whole-archive et. al.
   10837     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10838 	grep 'no-whole-archive' > /dev/null; then
   10839       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10840     else
   10841       whole_archive_flag_spec_CXX=
   10842     fi
   10843   else
   10844     with_gnu_ld=no
   10845     wlarc=
   10846 
   10847     # A generic and very simple default shared library creation
   10848     # command for GNU C++ for the case where it uses the native
   10849     # linker, instead of GNU ld.  If possible, this setting should
   10850     # overridden to take advantage of the native linker features on
   10851     # the platform it is being used on.
   10852     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10853   fi
   10854 
   10855   # Commands to make compiler produce verbose output that lists
   10856   # what "hidden" libraries, object files and flags are used when
   10857   # linking a shared library.
   10858   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10859 
   10860 else
   10861   GXX=no
   10862   with_gnu_ld=no
   10863   wlarc=
   10864 fi
   10865 
   10866 # PORTME: fill in a description of your system's C++ link characteristics
   10867 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10868 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10869 ld_shlibs_CXX=yes
   10870 case $host_os in
   10871   aix3*)
   10872     # FIXME: insert proper C++ library support
   10873     ld_shlibs_CXX=no
   10874     ;;
   10875   aix4* | aix5*)
   10876     if test "$host_cpu" = ia64; then
   10877       # On IA64, the linker does run time linking by default, so we don't
   10878       # have to do anything special.
   10879       aix_use_runtimelinking=no
   10880       exp_sym_flag='-Bexport'
   10881       no_entry_flag=""
   10882     else
   10883       aix_use_runtimelinking=no
   10884 
   10885       # Test if we are trying to use run time linking or normal
   10886       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10887       # need to do runtime linking.
   10888       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10889 	for ld_flag in $LDFLAGS; do
   10890 	  case $ld_flag in
   10891 	  *-brtl*)
   10892 	    aix_use_runtimelinking=yes
   10893 	    break
   10894 	    ;;
   10895 	  esac
   10896 	done
   10897 	;;
   10898       esac
   10899 
   10900       exp_sym_flag='-bexport'
   10901       no_entry_flag='-bnoentry'
   10902     fi
   10903 
   10904     # When large executables or shared objects are built, AIX ld can
   10905     # have problems creating the table of contents.  If linking a library
   10906     # or program results in "error TOC overflow" add -mminimal-toc to
   10907     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10908     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10909 
   10910     archive_cmds_CXX=''
   10911     hardcode_direct_CXX=yes
   10912     hardcode_libdir_separator_CXX=':'
   10913     link_all_deplibs_CXX=yes
   10914 
   10915     if test "$GXX" = yes; then
   10916       case $host_os in aix4.[012]|aix4.[012].*)
   10917       # We only want to do this on AIX 4.2 and lower, the check
   10918       # below for broken collect2 doesn't work under 4.3+
   10919 	collect2name=`${CC} -print-prog-name=collect2`
   10920 	if test -f "$collect2name" && \
   10921 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10922 	then
   10923 	  # We have reworked collect2
   10924 	  hardcode_direct_CXX=yes
   10925 	else
   10926 	  # We have old collect2
   10927 	  hardcode_direct_CXX=unsupported
   10928 	  # It fails to find uninstalled libraries when the uninstalled
   10929 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10930 	  # to unsupported forces relinking
   10931 	  hardcode_minus_L_CXX=yes
   10932 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10933 	  hardcode_libdir_separator_CXX=
   10934 	fi
   10935 	;;
   10936       esac
   10937       shared_flag='-shared'
   10938       if test "$aix_use_runtimelinking" = yes; then
   10939 	shared_flag="$shared_flag "'${wl}-G'
   10940       fi
   10941     else
   10942       # not using gcc
   10943       if test "$host_cpu" = ia64; then
   10944 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10945 	# chokes on -Wl,-G. The following line is correct:
   10946 	shared_flag='-G'
   10947       else
   10948 	if test "$aix_use_runtimelinking" = yes; then
   10949 	  shared_flag='${wl}-G'
   10950 	else
   10951 	  shared_flag='${wl}-bM:SRE'
   10952 	fi
   10953       fi
   10954     fi
   10955 
   10956     # It seems that -bexpall does not export symbols beginning with
   10957     # underscore (_), so it is better to generate a list of symbols to export.
   10958     always_export_symbols_CXX=yes
   10959     if test "$aix_use_runtimelinking" = yes; then
   10960       # Warning - without using the other runtime loading flags (-brtl),
   10961       # -berok will link without error, but may produce a broken library.
   10962       allow_undefined_flag_CXX='-berok'
   10963       # Determine the default libpath from the value encoded in an empty executable.
   10964       cat >conftest.$ac_ext <<_ACEOF
   10965 /* confdefs.h.  */
   10966 _ACEOF
   10967 cat confdefs.h >>conftest.$ac_ext
   10968 cat >>conftest.$ac_ext <<_ACEOF
   10969 /* end confdefs.h.  */
   10970 
   10971 int
   10972 main ()
   10973 {
   10974 
   10975   ;
   10976   return 0;
   10977 }
   10978 _ACEOF
   10979 rm -f conftest.$ac_objext conftest$ac_exeext
   10980 if { (ac_try="$ac_link"
   10981 case "(($ac_try" in
   10982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10983   *) ac_try_echo=$ac_try;;
   10984 esac
   10985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10986   (eval "$ac_link") 2>conftest.er1
   10987   ac_status=$?
   10988   grep -v '^ *+' conftest.er1 >conftest.err
   10989   rm -f conftest.er1
   10990   cat conftest.err >&5
   10991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10992   (exit $ac_status); } && {
   10993 	 test -z "$ac_cxx_werror_flag" ||
   10994 	 test ! -s conftest.err
   10995        } && test -s conftest$ac_exeext &&
   10996        $as_test_x conftest$ac_exeext; then
   10997 
   10998 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10999 }'`
   11000 # Check for a 64-bit object if we didn't find anything.
   11001 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; }
   11002 }'`; fi
   11003 else
   11004   echo "$as_me: failed program was:" >&5
   11005 sed 's/^/| /' conftest.$ac_ext >&5
   11006 
   11007 
   11008 fi
   11009 
   11010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11011       conftest$ac_exeext conftest.$ac_ext
   11012 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11013 
   11014       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11015 
   11016       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"
   11017      else
   11018       if test "$host_cpu" = ia64; then
   11019 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11020 	allow_undefined_flag_CXX="-z nodefs"
   11021 	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"
   11022       else
   11023 	# Determine the default libpath from the value encoded in an empty executable.
   11024 	cat >conftest.$ac_ext <<_ACEOF
   11025 /* confdefs.h.  */
   11026 _ACEOF
   11027 cat confdefs.h >>conftest.$ac_ext
   11028 cat >>conftest.$ac_ext <<_ACEOF
   11029 /* end confdefs.h.  */
   11030 
   11031 int
   11032 main ()
   11033 {
   11034 
   11035   ;
   11036   return 0;
   11037 }
   11038 _ACEOF
   11039 rm -f conftest.$ac_objext conftest$ac_exeext
   11040 if { (ac_try="$ac_link"
   11041 case "(($ac_try" in
   11042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11043   *) ac_try_echo=$ac_try;;
   11044 esac
   11045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11046   (eval "$ac_link") 2>conftest.er1
   11047   ac_status=$?
   11048   grep -v '^ *+' conftest.er1 >conftest.err
   11049   rm -f conftest.er1
   11050   cat conftest.err >&5
   11051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11052   (exit $ac_status); } && {
   11053 	 test -z "$ac_cxx_werror_flag" ||
   11054 	 test ! -s conftest.err
   11055        } && test -s conftest$ac_exeext &&
   11056        $as_test_x conftest$ac_exeext; then
   11057 
   11058 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11059 }'`
   11060 # Check for a 64-bit object if we didn't find anything.
   11061 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; }
   11062 }'`; fi
   11063 else
   11064   echo "$as_me: failed program was:" >&5
   11065 sed 's/^/| /' conftest.$ac_ext >&5
   11066 
   11067 
   11068 fi
   11069 
   11070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11071       conftest$ac_exeext conftest.$ac_ext
   11072 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11073 
   11074 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11075 	# Warning - without using the other run time loading flags,
   11076 	# -berok will link without error, but may produce a broken library.
   11077 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11078 	allow_undefined_flag_CXX=' ${wl}-berok'
   11079 	# Exported symbols can be pulled into shared objects from archives
   11080 	whole_archive_flag_spec_CXX='$convenience'
   11081 	archive_cmds_need_lc_CXX=yes
   11082 	# This is similar to how AIX traditionally builds its shared libraries.
   11083 	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'
   11084       fi
   11085     fi
   11086     ;;
   11087 
   11088   beos*)
   11089     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11090       allow_undefined_flag_CXX=unsupported
   11091       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11092       # support --undefined.  This deserves some investigation.  FIXME
   11093       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11094     else
   11095       ld_shlibs_CXX=no
   11096     fi
   11097     ;;
   11098 
   11099   chorus*)
   11100     case $cc_basename in
   11101       *)
   11102 	# FIXME: insert proper C++ library support
   11103 	ld_shlibs_CXX=no
   11104 	;;
   11105     esac
   11106     ;;
   11107 
   11108   cygwin* | mingw* | pw32*)
   11109     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11110     # as there is no search path for DLLs.
   11111     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11112     allow_undefined_flag_CXX=unsupported
   11113     always_export_symbols_CXX=no
   11114     enable_shared_with_static_runtimes_CXX=yes
   11115 
   11116     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11117       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'
   11118       # If the export-symbols file already is a .def file (1st line
   11119       # is EXPORTS), use it as is; otherwise, prepend...
   11120       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11121 	cp $export_symbols $output_objdir/$soname.def;
   11122       else
   11123 	echo EXPORTS > $output_objdir/$soname.def;
   11124 	cat $export_symbols >> $output_objdir/$soname.def;
   11125       fi~
   11126       $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'
   11127     else
   11128       ld_shlibs_CXX=no
   11129     fi
   11130   ;;
   11131       darwin* | rhapsody*)
   11132         case $host_os in
   11133         rhapsody* | darwin1.[012])
   11134          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11135          ;;
   11136        *) # Darwin 1.3 on
   11137          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11138            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11139          else
   11140            case ${MACOSX_DEPLOYMENT_TARGET} in
   11141              10.[012])
   11142                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11143                ;;
   11144              10.*)
   11145                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11146                ;;
   11147            esac
   11148          fi
   11149          ;;
   11150         esac
   11151       archive_cmds_need_lc_CXX=no
   11152       hardcode_direct_CXX=no
   11153       hardcode_automatic_CXX=yes
   11154       hardcode_shlibpath_var_CXX=unsupported
   11155       whole_archive_flag_spec_CXX=''
   11156       link_all_deplibs_CXX=yes
   11157 
   11158     if test "$GXX" = yes ; then
   11159       lt_int_apple_cc_single_mod=no
   11160       output_verbose_link_cmd='echo'
   11161       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11162        lt_int_apple_cc_single_mod=yes
   11163       fi
   11164       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11165        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11166       else
   11167           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'
   11168         fi
   11169         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11170         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11171           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11172             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}'
   11173           else
   11174             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}'
   11175           fi
   11176             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}'
   11177       else
   11178       case $cc_basename in
   11179         xlc*)
   11180          output_verbose_link_cmd='echo'
   11181           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'
   11182           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11183           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11184           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}'
   11185           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}'
   11186           ;;
   11187        *)
   11188          ld_shlibs_CXX=no
   11189           ;;
   11190       esac
   11191       fi
   11192         ;;
   11193 
   11194   dgux*)
   11195     case $cc_basename in
   11196       ec++*)
   11197 	# FIXME: insert proper C++ library support
   11198 	ld_shlibs_CXX=no
   11199 	;;
   11200       ghcx*)
   11201 	# Green Hills C++ Compiler
   11202 	# FIXME: insert proper C++ library support
   11203 	ld_shlibs_CXX=no
   11204 	;;
   11205       *)
   11206 	# FIXME: insert proper C++ library support
   11207 	ld_shlibs_CXX=no
   11208 	;;
   11209     esac
   11210     ;;
   11211   freebsd[12]*)
   11212     # C++ shared libraries reported to be fairly broken before switch to ELF
   11213     ld_shlibs_CXX=no
   11214     ;;
   11215   freebsd-elf*)
   11216     archive_cmds_need_lc_CXX=no
   11217     ;;
   11218   freebsd* | kfreebsd*-gnu | dragonfly*)
   11219     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11220     # conventions
   11221     ld_shlibs_CXX=yes
   11222     ;;
   11223   gnu*)
   11224     ;;
   11225   hpux9*)
   11226     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11227     hardcode_libdir_separator_CXX=:
   11228     export_dynamic_flag_spec_CXX='${wl}-E'
   11229     hardcode_direct_CXX=yes
   11230     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11231 				# but as the default
   11232 				# location of the library.
   11233 
   11234     case $cc_basename in
   11235     CC*)
   11236       # FIXME: insert proper C++ library support
   11237       ld_shlibs_CXX=no
   11238       ;;
   11239     aCC*)
   11240       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'
   11241       # Commands to make compiler produce verbose output that lists
   11242       # what "hidden" libraries, object files and flags are used when
   11243       # linking a shared library.
   11244       #
   11245       # There doesn't appear to be a way to prevent this compiler from
   11246       # explicitly linking system object files so we need to strip them
   11247       # from the output so that they don't get included in the library
   11248       # dependencies.
   11249       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'
   11250       ;;
   11251     *)
   11252       if test "$GXX" = yes; then
   11253         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'
   11254       else
   11255         # FIXME: insert proper C++ library support
   11256         ld_shlibs_CXX=no
   11257       fi
   11258       ;;
   11259     esac
   11260     ;;
   11261   hpux10*|hpux11*)
   11262     if test $with_gnu_ld = no; then
   11263       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11264       hardcode_libdir_separator_CXX=:
   11265 
   11266       case $host_cpu in
   11267       hppa*64*|ia64*)
   11268 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11269         ;;
   11270       *)
   11271 	export_dynamic_flag_spec_CXX='${wl}-E'
   11272         ;;
   11273       esac
   11274     fi
   11275     case $host_cpu in
   11276     hppa*64*|ia64*)
   11277       hardcode_direct_CXX=no
   11278       hardcode_shlibpath_var_CXX=no
   11279       ;;
   11280     *)
   11281       hardcode_direct_CXX=yes
   11282       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11283 					      # but as the default
   11284 					      # location of the library.
   11285       ;;
   11286     esac
   11287 
   11288     case $cc_basename in
   11289       CC*)
   11290 	# FIXME: insert proper C++ library support
   11291 	ld_shlibs_CXX=no
   11292 	;;
   11293       aCC*)
   11294 	case $host_cpu in
   11295 	hppa*64*)
   11296 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11297 	  ;;
   11298 	ia64*)
   11299 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11300 	  ;;
   11301 	*)
   11302 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11303 	  ;;
   11304 	esac
   11305 	# Commands to make compiler produce verbose output that lists
   11306 	# what "hidden" libraries, object files and flags are used when
   11307 	# linking a shared library.
   11308 	#
   11309 	# There doesn't appear to be a way to prevent this compiler from
   11310 	# explicitly linking system object files so we need to strip them
   11311 	# from the output so that they don't get included in the library
   11312 	# dependencies.
   11313 	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'
   11314 	;;
   11315       *)
   11316 	if test "$GXX" = yes; then
   11317 	  if test $with_gnu_ld = no; then
   11318 	    case $host_cpu in
   11319 	    hppa*64*)
   11320 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11321 	      ;;
   11322 	    ia64*)
   11323 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11324 	      ;;
   11325 	    *)
   11326 	      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'
   11327 	      ;;
   11328 	    esac
   11329 	  fi
   11330 	else
   11331 	  # FIXME: insert proper C++ library support
   11332 	  ld_shlibs_CXX=no
   11333 	fi
   11334 	;;
   11335     esac
   11336     ;;
   11337   interix3*)
   11338     hardcode_direct_CXX=no
   11339     hardcode_shlibpath_var_CXX=no
   11340     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11341     export_dynamic_flag_spec_CXX='${wl}-E'
   11342     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11343     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11344     # default) and relocated if they conflict, which is a slow very memory
   11345     # consuming and fragmenting process.  To avoid this, we pick a random,
   11346     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11347     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11348     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'
   11349     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'
   11350     ;;
   11351   irix5* | irix6*)
   11352     case $cc_basename in
   11353       CC*)
   11354 	# SGI C++
   11355 	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'
   11356 
   11357 	# Archives containing C++ object files must be created using
   11358 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11359 	# necessary to make sure instantiated templates are included
   11360 	# in the archive.
   11361 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11362 	;;
   11363       *)
   11364 	if test "$GXX" = yes; then
   11365 	  if test "$with_gnu_ld" = no; then
   11366 	    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'
   11367 	  else
   11368 	    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'
   11369 	  fi
   11370 	fi
   11371 	link_all_deplibs_CXX=yes
   11372 	;;
   11373     esac
   11374     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11375     hardcode_libdir_separator_CXX=:
   11376     ;;
   11377   linux*)
   11378     case $cc_basename in
   11379       KCC*)
   11380 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11381 
   11382 	# KCC will only create a shared library if the output file
   11383 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11384 	# to its proper name (with version) after linking.
   11385 	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'
   11386 	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'
   11387 	# Commands to make compiler produce verbose output that lists
   11388 	# what "hidden" libraries, object files and flags are used when
   11389 	# linking a shared library.
   11390 	#
   11391 	# There doesn't appear to be a way to prevent this compiler from
   11392 	# explicitly linking system object files so we need to strip them
   11393 	# from the output so that they don't get included in the library
   11394 	# dependencies.
   11395 	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'
   11396 
   11397 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11398 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11399 
   11400 	# Archives containing C++ object files must be created using
   11401 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11402 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11403 	;;
   11404       icpc*)
   11405 	# Intel C++
   11406 	with_gnu_ld=yes
   11407 	# version 8.0 and above of icpc choke on multiply defined symbols
   11408 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11409 	# earlier do not add the objects themselves.
   11410 	case `$CC -V 2>&1` in
   11411 	*"Version 7."*)
   11412   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11413   	  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'
   11414 	  ;;
   11415 	*)  # Version 8.0 or newer
   11416 	  tmp_idyn=
   11417 	  case $host_cpu in
   11418 	    ia64*) tmp_idyn=' -i_dynamic';;
   11419 	  esac
   11420   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11421 	  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'
   11422 	  ;;
   11423 	esac
   11424 	archive_cmds_need_lc_CXX=no
   11425 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11426 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11427 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11428 	;;
   11429       pgCC*)
   11430         # Portland Group C++ compiler
   11431 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11432   	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'
   11433 
   11434 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11435 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11436 	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'
   11437         ;;
   11438       cxx*)
   11439 	# Compaq C++
   11440 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11441 	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'
   11442 
   11443 	runpath_var=LD_RUN_PATH
   11444 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11445 	hardcode_libdir_separator_CXX=:
   11446 
   11447 	# Commands to make compiler produce verbose output that lists
   11448 	# what "hidden" libraries, object files and flags are used when
   11449 	# linking a shared library.
   11450 	#
   11451 	# There doesn't appear to be a way to prevent this compiler from
   11452 	# explicitly linking system object files so we need to strip them
   11453 	# from the output so that they don't get included in the library
   11454 	# dependencies.
   11455 	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'
   11456 	;;
   11457     esac
   11458     ;;
   11459   lynxos*)
   11460     # FIXME: insert proper C++ library support
   11461     ld_shlibs_CXX=no
   11462     ;;
   11463   m88k*)
   11464     # FIXME: insert proper C++ library support
   11465     ld_shlibs_CXX=no
   11466     ;;
   11467   mvs*)
   11468     case $cc_basename in
   11469       cxx*)
   11470 	# FIXME: insert proper C++ library support
   11471 	ld_shlibs_CXX=no
   11472 	;;
   11473       *)
   11474 	# FIXME: insert proper C++ library support
   11475 	ld_shlibs_CXX=no
   11476 	;;
   11477     esac
   11478     ;;
   11479   netbsd*)
   11480     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11481       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11482       wlarc=
   11483       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11484       hardcode_direct_CXX=yes
   11485       hardcode_shlibpath_var_CXX=no
   11486     fi
   11487     # Workaround some broken pre-1.5 toolchains
   11488     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11489     ;;
   11490   openbsd2*)
   11491     # C++ shared libraries are fairly broken
   11492     ld_shlibs_CXX=no
   11493     ;;
   11494   openbsd*)
   11495     hardcode_direct_CXX=yes
   11496     hardcode_shlibpath_var_CXX=no
   11497     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11498     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11499     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11500       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11501       export_dynamic_flag_spec_CXX='${wl}-E'
   11502       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11503     fi
   11504     output_verbose_link_cmd='echo'
   11505     ;;
   11506   osf3*)
   11507     case $cc_basename in
   11508       KCC*)
   11509 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11510 
   11511 	# KCC will only create a shared library if the output file
   11512 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11513 	# to its proper name (with version) after linking.
   11514 	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'
   11515 
   11516 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11517 	hardcode_libdir_separator_CXX=:
   11518 
   11519 	# Archives containing C++ object files must be created using
   11520 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11521 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11522 
   11523 	;;
   11524       RCC*)
   11525 	# Rational C++ 2.4.1
   11526 	# FIXME: insert proper C++ library support
   11527 	ld_shlibs_CXX=no
   11528 	;;
   11529       cxx*)
   11530 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11531 	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'
   11532 
   11533 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11534 	hardcode_libdir_separator_CXX=:
   11535 
   11536 	# Commands to make compiler produce verbose output that lists
   11537 	# what "hidden" libraries, object files and flags are used when
   11538 	# linking a shared library.
   11539 	#
   11540 	# There doesn't appear to be a way to prevent this compiler from
   11541 	# explicitly linking system object files so we need to strip them
   11542 	# from the output so that they don't get included in the library
   11543 	# dependencies.
   11544 	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'
   11545 	;;
   11546       *)
   11547 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11548 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11549 	  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'
   11550 
   11551 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11552 	  hardcode_libdir_separator_CXX=:
   11553 
   11554 	  # Commands to make compiler produce verbose output that lists
   11555 	  # what "hidden" libraries, object files and flags are used when
   11556 	  # linking a shared library.
   11557 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11558 
   11559 	else
   11560 	  # FIXME: insert proper C++ library support
   11561 	  ld_shlibs_CXX=no
   11562 	fi
   11563 	;;
   11564     esac
   11565     ;;
   11566   osf4* | osf5*)
   11567     case $cc_basename in
   11568       KCC*)
   11569 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11570 
   11571 	# KCC will only create a shared library if the output file
   11572 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11573 	# to its proper name (with version) after linking.
   11574 	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'
   11575 
   11576 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11577 	hardcode_libdir_separator_CXX=:
   11578 
   11579 	# Archives containing C++ object files must be created using
   11580 	# the KAI C++ compiler.
   11581 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11582 	;;
   11583       RCC*)
   11584 	# Rational C++ 2.4.1
   11585 	# FIXME: insert proper C++ library support
   11586 	ld_shlibs_CXX=no
   11587 	;;
   11588       cxx*)
   11589 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11590 	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'
   11591 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11592 	  echo "-hidden">> $lib.exp~
   11593 	  $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~
   11594 	  $rm $lib.exp'
   11595 
   11596 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11597 	hardcode_libdir_separator_CXX=:
   11598 
   11599 	# Commands to make compiler produce verbose output that lists
   11600 	# what "hidden" libraries, object files and flags are used when
   11601 	# linking a shared library.
   11602 	#
   11603 	# There doesn't appear to be a way to prevent this compiler from
   11604 	# explicitly linking system object files so we need to strip them
   11605 	# from the output so that they don't get included in the library
   11606 	# dependencies.
   11607 	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'
   11608 	;;
   11609       *)
   11610 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11611 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11612 	 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'
   11613 
   11614 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11615 	  hardcode_libdir_separator_CXX=:
   11616 
   11617 	  # Commands to make compiler produce verbose output that lists
   11618 	  # what "hidden" libraries, object files and flags are used when
   11619 	  # linking a shared library.
   11620 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11621 
   11622 	else
   11623 	  # FIXME: insert proper C++ library support
   11624 	  ld_shlibs_CXX=no
   11625 	fi
   11626 	;;
   11627     esac
   11628     ;;
   11629   psos*)
   11630     # FIXME: insert proper C++ library support
   11631     ld_shlibs_CXX=no
   11632     ;;
   11633   sunos4*)
   11634     case $cc_basename in
   11635       CC*)
   11636 	# Sun C++ 4.x
   11637 	# FIXME: insert proper C++ library support
   11638 	ld_shlibs_CXX=no
   11639 	;;
   11640       lcc*)
   11641 	# Lucid
   11642 	# FIXME: insert proper C++ library support
   11643 	ld_shlibs_CXX=no
   11644 	;;
   11645       *)
   11646 	# FIXME: insert proper C++ library support
   11647 	ld_shlibs_CXX=no
   11648 	;;
   11649     esac
   11650     ;;
   11651   solaris*)
   11652     case $cc_basename in
   11653       CC*)
   11654 	# Sun C++ 4.2, 5.x and Centerline C++
   11655         archive_cmds_need_lc_CXX=yes
   11656 	no_undefined_flag_CXX=' -zdefs'
   11657 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11658 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11659 	$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'
   11660 
   11661 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11662 	hardcode_shlibpath_var_CXX=no
   11663 	case $host_os in
   11664 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11665 	  *)
   11666 	    # The C++ compiler is used as linker so we must use $wl
   11667 	    # flag to pass the commands to the underlying system
   11668 	    # linker. We must also pass each convience library through
   11669 	    # to the system linker between allextract/defaultextract.
   11670 	    # The C++ compiler will combine linker options so we
   11671 	    # cannot just pass the convience library names through
   11672 	    # without $wl.
   11673 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11674 	    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'
   11675 	    ;;
   11676 	esac
   11677 	link_all_deplibs_CXX=yes
   11678 
   11679 	output_verbose_link_cmd='echo'
   11680 
   11681 	# Archives containing C++ object files must be created using
   11682 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11683 	# necessary to make sure instantiated templates are included
   11684 	# in the archive.
   11685 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11686 	;;
   11687       gcx*)
   11688 	# Green Hills C++ Compiler
   11689 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11690 
   11691 	# The C++ compiler must be used to create the archive.
   11692 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11693 	;;
   11694       *)
   11695 	# GNU C++ compiler with Solaris linker
   11696 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11697 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11698 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11699 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11700 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11701 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11702 
   11703 	    # Commands to make compiler produce verbose output that lists
   11704 	    # what "hidden" libraries, object files and flags are used when
   11705 	    # linking a shared library.
   11706 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11707 	  else
   11708 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11709 	    # platform.
   11710 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11711 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11712 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11713 
   11714 	    # Commands to make compiler produce verbose output that lists
   11715 	    # what "hidden" libraries, object files and flags are used when
   11716 	    # linking a shared library.
   11717 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11718 	  fi
   11719 
   11720 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11721 	fi
   11722 	;;
   11723     esac
   11724     ;;
   11725   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11726     no_undefined_flag_CXX='${wl}-z,text'
   11727     archive_cmds_need_lc_CXX=no
   11728     hardcode_shlibpath_var_CXX=no
   11729     runpath_var='LD_RUN_PATH'
   11730 
   11731     case $cc_basename in
   11732       CC*)
   11733 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11734 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11735 	;;
   11736       *)
   11737 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11738 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11739 	;;
   11740     esac
   11741     ;;
   11742   sysv5* | sco3.2v5* | sco5v6*)
   11743     # Note: We can NOT use -z defs as we might desire, because we do not
   11744     # link with -lc, and that would cause any symbols used from libc to
   11745     # always be unresolved, which means just about no library would
   11746     # ever link correctly.  If we're not using GNU ld we use -z text
   11747     # though, which does catch some bad symbols but isn't as heavy-handed
   11748     # as -z defs.
   11749     # For security reasons, it is highly recommended that you always
   11750     # use absolute paths for naming shared libraries, and exclude the
   11751     # DT_RUNPATH tag from executables and libraries.  But doing so
   11752     # requires that you compile everything twice, which is a pain.
   11753     # So that behaviour is only enabled if SCOABSPATH is set to a
   11754     # non-empty value in the environment.  Most likely only useful for
   11755     # creating official distributions of packages.
   11756     # This is a hack until libtool officially supports absolute path
   11757     # names for shared libraries.
   11758     no_undefined_flag_CXX='${wl}-z,text'
   11759     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11760     archive_cmds_need_lc_CXX=no
   11761     hardcode_shlibpath_var_CXX=no
   11762     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11763     hardcode_libdir_separator_CXX=':'
   11764     link_all_deplibs_CXX=yes
   11765     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11766     runpath_var='LD_RUN_PATH'
   11767 
   11768     case $cc_basename in
   11769       CC*)
   11770 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11771 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11772 	;;
   11773       *)
   11774 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11775 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11776 	;;
   11777     esac
   11778     ;;
   11779   tandem*)
   11780     case $cc_basename in
   11781       NCC*)
   11782 	# NonStop-UX NCC 3.20
   11783 	# FIXME: insert proper C++ library support
   11784 	ld_shlibs_CXX=no
   11785 	;;
   11786       *)
   11787 	# FIXME: insert proper C++ library support
   11788 	ld_shlibs_CXX=no
   11789 	;;
   11790     esac
   11791     ;;
   11792   vxworks*)
   11793     # FIXME: insert proper C++ library support
   11794     ld_shlibs_CXX=no
   11795     ;;
   11796   *)
   11797     # FIXME: insert proper C++ library support
   11798     ld_shlibs_CXX=no
   11799     ;;
   11800 esac
   11801 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11802 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11803 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11804 
   11805 GCC_CXX="$GXX"
   11806 LD_CXX="$LD"
   11807 
   11808 
   11809 cat > conftest.$ac_ext <<EOF
   11810 class Foo
   11811 {
   11812 public:
   11813   Foo (void) { a = 0; }
   11814 private:
   11815   int a;
   11816 };
   11817 EOF
   11818 
   11819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11820   (eval $ac_compile) 2>&5
   11821   ac_status=$?
   11822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11823   (exit $ac_status); }; then
   11824   # Parse the compiler output and extract the necessary
   11825   # objects, libraries and library flags.
   11826 
   11827   # Sentinel used to keep track of whether or not we are before
   11828   # the conftest object file.
   11829   pre_test_object_deps_done=no
   11830 
   11831   # The `*' in the case matches for architectures that use `case' in
   11832   # $output_verbose_cmd can trigger glob expansion during the loop
   11833   # eval without this substitution.
   11834   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11835 
   11836   for p in `eval $output_verbose_link_cmd`; do
   11837     case $p in
   11838 
   11839     -L* | -R* | -l*)
   11840        # Some compilers place space between "-{L,R}" and the path.
   11841        # Remove the space.
   11842        if test $p = "-L" \
   11843 	  || test $p = "-R"; then
   11844 	 prev=$p
   11845 	 continue
   11846        else
   11847 	 prev=
   11848        fi
   11849 
   11850        if test "$pre_test_object_deps_done" = no; then
   11851 	 case $p in
   11852 	 -L* | -R*)
   11853 	   # Internal compiler library paths should come after those
   11854 	   # provided the user.  The postdeps already come after the
   11855 	   # user supplied libs so there is no need to process them.
   11856 	   if test -z "$compiler_lib_search_path_CXX"; then
   11857 	     compiler_lib_search_path_CXX="${prev}${p}"
   11858 	   else
   11859 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11860 	   fi
   11861 	   ;;
   11862 	 # The "-l" case would never come before the object being
   11863 	 # linked, so don't bother handling this case.
   11864 	 esac
   11865        else
   11866 	 if test -z "$postdeps_CXX"; then
   11867 	   postdeps_CXX="${prev}${p}"
   11868 	 else
   11869 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11870 	 fi
   11871        fi
   11872        ;;
   11873 
   11874     *.$objext)
   11875        # This assumes that the test object file only shows up
   11876        # once in the compiler output.
   11877        if test "$p" = "conftest.$objext"; then
   11878 	 pre_test_object_deps_done=yes
   11879 	 continue
   11880        fi
   11881 
   11882        if test "$pre_test_object_deps_done" = no; then
   11883 	 if test -z "$predep_objects_CXX"; then
   11884 	   predep_objects_CXX="$p"
   11885 	 else
   11886 	   predep_objects_CXX="$predep_objects_CXX $p"
   11887 	 fi
   11888        else
   11889 	 if test -z "$postdep_objects_CXX"; then
   11890 	   postdep_objects_CXX="$p"
   11891 	 else
   11892 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11893 	 fi
   11894        fi
   11895        ;;
   11896 
   11897     *) ;; # Ignore the rest.
   11898 
   11899     esac
   11900   done
   11901 
   11902   # Clean up.
   11903   rm -f a.out a.exe
   11904 else
   11905   echo "libtool.m4: error: problem compiling CXX test program"
   11906 fi
   11907 
   11908 $rm -f confest.$objext
   11909 
   11910 # PORTME: override above test on systems where it is broken
   11911 case $host_os in
   11912 interix3*)
   11913   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11914   # hack all around it, let's just trust "g++" to DTRT.
   11915   predep_objects_CXX=
   11916   postdep_objects_CXX=
   11917   postdeps_CXX=
   11918   ;;
   11919 
   11920 solaris*)
   11921   case $cc_basename in
   11922   CC*)
   11923     # Adding this requires a known-good setup of shared libraries for
   11924     # Sun compiler versions before 5.6, else PIC objects from an old
   11925     # archive will be linked into the output, leading to subtle bugs.
   11926     postdeps_CXX='-lCstd -lCrun'
   11927     ;;
   11928   esac
   11929   ;;
   11930 esac
   11931 
   11932 
   11933 case " $postdeps_CXX " in
   11934 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11935 esac
   11936 
   11937 lt_prog_compiler_wl_CXX=
   11938 lt_prog_compiler_pic_CXX=
   11939 lt_prog_compiler_static_CXX=
   11940 
   11941 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11942 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   11943 
   11944   # C++ specific cases for pic, static, wl, etc.
   11945   if test "$GXX" = yes; then
   11946     lt_prog_compiler_wl_CXX='-Wl,'
   11947     lt_prog_compiler_static_CXX='-static'
   11948 
   11949     case $host_os in
   11950     aix*)
   11951       # All AIX code is PIC.
   11952       if test "$host_cpu" = ia64; then
   11953 	# AIX 5 now supports IA64 processor
   11954 	lt_prog_compiler_static_CXX='-Bstatic'
   11955       fi
   11956       ;;
   11957     amigaos*)
   11958       # FIXME: we need at least 68020 code to build shared libraries, but
   11959       # adding the `-m68020' flag to GCC prevents building anything better,
   11960       # like `-m68040'.
   11961       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11962       ;;
   11963     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11964       # PIC is the default for these OSes.
   11965       ;;
   11966     mingw* | os2* | pw32*)
   11967       # This hack is so that the source file can tell whether it is being
   11968       # built for inclusion in a dll (and should export symbols for example).
   11969       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11970       ;;
   11971     darwin* | rhapsody*)
   11972       # PIC is the default on this platform
   11973       # Common symbols not allowed in MH_DYLIB files
   11974       lt_prog_compiler_pic_CXX='-fno-common'
   11975       ;;
   11976     *djgpp*)
   11977       # DJGPP does not support shared libraries at all
   11978       lt_prog_compiler_pic_CXX=
   11979       ;;
   11980     interix3*)
   11981       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11982       # Instead, we relocate shared libraries at runtime.
   11983       ;;
   11984     sysv4*MP*)
   11985       if test -d /usr/nec; then
   11986 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11987       fi
   11988       ;;
   11989     hpux*)
   11990       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11991       # not for PA HP-UX.
   11992       case $host_cpu in
   11993       hppa*64*|ia64*)
   11994 	;;
   11995       *)
   11996 	lt_prog_compiler_pic_CXX='-fPIC'
   11997 	;;
   11998       esac
   11999       ;;
   12000     *)
   12001       lt_prog_compiler_pic_CXX='-fPIC'
   12002       ;;
   12003     esac
   12004   else
   12005     case $host_os in
   12006       aix4* | aix5*)
   12007 	# All AIX code is PIC.
   12008 	if test "$host_cpu" = ia64; then
   12009 	  # AIX 5 now supports IA64 processor
   12010 	  lt_prog_compiler_static_CXX='-Bstatic'
   12011 	else
   12012 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12013 	fi
   12014 	;;
   12015       chorus*)
   12016 	case $cc_basename in
   12017 	cxch68*)
   12018 	  # Green Hills C++ Compiler
   12019 	  # _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"
   12020 	  ;;
   12021 	esac
   12022 	;;
   12023        darwin*)
   12024          # PIC is the default on this platform
   12025          # Common symbols not allowed in MH_DYLIB files
   12026          case $cc_basename in
   12027            xlc*)
   12028            lt_prog_compiler_pic_CXX='-qnocommon'
   12029            lt_prog_compiler_wl_CXX='-Wl,'
   12030            ;;
   12031          esac
   12032        ;;
   12033       dgux*)
   12034 	case $cc_basename in
   12035 	  ec++*)
   12036 	    lt_prog_compiler_pic_CXX='-KPIC'
   12037 	    ;;
   12038 	  ghcx*)
   12039 	    # Green Hills C++ Compiler
   12040 	    lt_prog_compiler_pic_CXX='-pic'
   12041 	    ;;
   12042 	  *)
   12043 	    ;;
   12044 	esac
   12045 	;;
   12046       freebsd* | kfreebsd*-gnu | dragonfly*)
   12047 	# FreeBSD uses GNU C++
   12048 	;;
   12049       hpux9* | hpux10* | hpux11*)
   12050 	case $cc_basename in
   12051 	  CC*)
   12052 	    lt_prog_compiler_wl_CXX='-Wl,'
   12053 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12054 	    if test "$host_cpu" != ia64; then
   12055 	      lt_prog_compiler_pic_CXX='+Z'
   12056 	    fi
   12057 	    ;;
   12058 	  aCC*)
   12059 	    lt_prog_compiler_wl_CXX='-Wl,'
   12060 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12061 	    case $host_cpu in
   12062 	    hppa*64*|ia64*)
   12063 	      # +Z the default
   12064 	      ;;
   12065 	    *)
   12066 	      lt_prog_compiler_pic_CXX='+Z'
   12067 	      ;;
   12068 	    esac
   12069 	    ;;
   12070 	  *)
   12071 	    ;;
   12072 	esac
   12073 	;;
   12074       interix*)
   12075 	# This is c89, which is MS Visual C++ (no shared libs)
   12076 	# Anyone wants to do a port?
   12077 	;;
   12078       irix5* | irix6* | nonstopux*)
   12079 	case $cc_basename in
   12080 	  CC*)
   12081 	    lt_prog_compiler_wl_CXX='-Wl,'
   12082 	    lt_prog_compiler_static_CXX='-non_shared'
   12083 	    # CC pic flag -KPIC is the default.
   12084 	    ;;
   12085 	  *)
   12086 	    ;;
   12087 	esac
   12088 	;;
   12089       linux*)
   12090 	case $cc_basename in
   12091 	  KCC*)
   12092 	    # KAI C++ Compiler
   12093 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12094 	    lt_prog_compiler_pic_CXX='-fPIC'
   12095 	    ;;
   12096 	  icpc* | ecpc*)
   12097 	    # Intel C++
   12098 	    lt_prog_compiler_wl_CXX='-Wl,'
   12099 	    lt_prog_compiler_pic_CXX='-KPIC'
   12100 	    lt_prog_compiler_static_CXX='-static'
   12101 	    ;;
   12102 	  pgCC*)
   12103 	    # Portland Group C++ compiler.
   12104 	    lt_prog_compiler_wl_CXX='-Wl,'
   12105 	    lt_prog_compiler_pic_CXX='-fpic'
   12106 	    lt_prog_compiler_static_CXX='-Bstatic'
   12107 	    ;;
   12108 	  cxx*)
   12109 	    # Compaq C++
   12110 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12111 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12112 	    lt_prog_compiler_pic_CXX=
   12113 	    lt_prog_compiler_static_CXX='-non_shared'
   12114 	    ;;
   12115 	  *)
   12116 	    ;;
   12117 	esac
   12118 	;;
   12119       lynxos*)
   12120 	;;
   12121       m88k*)
   12122 	;;
   12123       mvs*)
   12124 	case $cc_basename in
   12125 	  cxx*)
   12126 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12127 	    ;;
   12128 	  *)
   12129 	    ;;
   12130 	esac
   12131 	;;
   12132       netbsd*)
   12133 	;;
   12134       osf3* | osf4* | osf5*)
   12135 	case $cc_basename in
   12136 	  KCC*)
   12137 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12138 	    ;;
   12139 	  RCC*)
   12140 	    # Rational C++ 2.4.1
   12141 	    lt_prog_compiler_pic_CXX='-pic'
   12142 	    ;;
   12143 	  cxx*)
   12144 	    # Digital/Compaq C++
   12145 	    lt_prog_compiler_wl_CXX='-Wl,'
   12146 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12147 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12148 	    lt_prog_compiler_pic_CXX=
   12149 	    lt_prog_compiler_static_CXX='-non_shared'
   12150 	    ;;
   12151 	  *)
   12152 	    ;;
   12153 	esac
   12154 	;;
   12155       psos*)
   12156 	;;
   12157       solaris*)
   12158 	case $cc_basename in
   12159 	  CC*)
   12160 	    # Sun C++ 4.2, 5.x and Centerline C++
   12161 	    lt_prog_compiler_pic_CXX='-KPIC'
   12162 	    lt_prog_compiler_static_CXX='-Bstatic'
   12163 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12164 	    ;;
   12165 	  gcx*)
   12166 	    # Green Hills C++ Compiler
   12167 	    lt_prog_compiler_pic_CXX='-PIC'
   12168 	    ;;
   12169 	  *)
   12170 	    ;;
   12171 	esac
   12172 	;;
   12173       sunos4*)
   12174 	case $cc_basename in
   12175 	  CC*)
   12176 	    # Sun C++ 4.x
   12177 	    lt_prog_compiler_pic_CXX='-pic'
   12178 	    lt_prog_compiler_static_CXX='-Bstatic'
   12179 	    ;;
   12180 	  lcc*)
   12181 	    # Lucid
   12182 	    lt_prog_compiler_pic_CXX='-pic'
   12183 	    ;;
   12184 	  *)
   12185 	    ;;
   12186 	esac
   12187 	;;
   12188       tandem*)
   12189 	case $cc_basename in
   12190 	  NCC*)
   12191 	    # NonStop-UX NCC 3.20
   12192 	    lt_prog_compiler_pic_CXX='-KPIC'
   12193 	    ;;
   12194 	  *)
   12195 	    ;;
   12196 	esac
   12197 	;;
   12198       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12199 	case $cc_basename in
   12200 	  CC*)
   12201 	    lt_prog_compiler_wl_CXX='-Wl,'
   12202 	    lt_prog_compiler_pic_CXX='-KPIC'
   12203 	    lt_prog_compiler_static_CXX='-Bstatic'
   12204 	    ;;
   12205 	esac
   12206 	;;
   12207       vxworks*)
   12208 	;;
   12209       *)
   12210 	lt_prog_compiler_can_build_shared_CXX=no
   12211 	;;
   12212     esac
   12213   fi
   12214 
   12215 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12216 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12217 
   12218 #
   12219 # Check to make sure the PIC flag actually works.
   12220 #
   12221 if test -n "$lt_prog_compiler_pic_CXX"; then
   12222 
   12223 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12224 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12225 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12226   echo $ECHO_N "(cached) $ECHO_C" >&6
   12227 else
   12228   lt_prog_compiler_pic_works_CXX=no
   12229   ac_outfile=conftest.$ac_objext
   12230    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12231    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12232    # Insert the option either (1) after the last *FLAGS variable, or
   12233    # (2) before a word containing "conftest.", or (3) at the end.
   12234    # Note that $ac_compile itself does not contain backslashes and begins
   12235    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12236    # The option is referenced via a variable to avoid confusing sed.
   12237    lt_compile=`echo "$ac_compile" | $SED \
   12238    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12239    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12240    -e 's:$: $lt_compiler_flag:'`
   12241    (eval echo "\"\$as_me:12241: $lt_compile\"" >&5)
   12242    (eval "$lt_compile" 2>conftest.err)
   12243    ac_status=$?
   12244    cat conftest.err >&5
   12245    echo "$as_me:12245: \$? = $ac_status" >&5
   12246    if (exit $ac_status) && test -s "$ac_outfile"; then
   12247      # The compiler can only warn and ignore the option if not recognized
   12248      # So say no if there are warnings other than the usual output.
   12249      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12250      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12251      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12252        lt_prog_compiler_pic_works_CXX=yes
   12253      fi
   12254    fi
   12255    $rm conftest*
   12256 
   12257 fi
   12258 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12259 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12260 
   12261 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12262     case $lt_prog_compiler_pic_CXX in
   12263      "" | " "*) ;;
   12264      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12265      esac
   12266 else
   12267     lt_prog_compiler_pic_CXX=
   12268      lt_prog_compiler_can_build_shared_CXX=no
   12269 fi
   12270 
   12271 fi
   12272 case $host_os in
   12273   # For platforms which do not support PIC, -DPIC is meaningless:
   12274   *djgpp*)
   12275     lt_prog_compiler_pic_CXX=
   12276     ;;
   12277   *)
   12278     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12279     ;;
   12280 esac
   12281 
   12282 #
   12283 # Check to make sure the static flag actually works.
   12284 #
   12285 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12286 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12287 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12288 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12289   echo $ECHO_N "(cached) $ECHO_C" >&6
   12290 else
   12291   lt_prog_compiler_static_works_CXX=no
   12292    save_LDFLAGS="$LDFLAGS"
   12293    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12294    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12295    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12296      # The linker can only warn and ignore the option if not recognized
   12297      # So say no if there are warnings
   12298      if test -s conftest.err; then
   12299        # Append any errors to the config.log.
   12300        cat conftest.err 1>&5
   12301        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12302        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12303        if diff conftest.exp conftest.er2 >/dev/null; then
   12304          lt_prog_compiler_static_works_CXX=yes
   12305        fi
   12306      else
   12307        lt_prog_compiler_static_works_CXX=yes
   12308      fi
   12309    fi
   12310    $rm conftest*
   12311    LDFLAGS="$save_LDFLAGS"
   12312 
   12313 fi
   12314 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12315 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12316 
   12317 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12318     :
   12319 else
   12320     lt_prog_compiler_static_CXX=
   12321 fi
   12322 
   12323 
   12324 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12325 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12326 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12327   echo $ECHO_N "(cached) $ECHO_C" >&6
   12328 else
   12329   lt_cv_prog_compiler_c_o_CXX=no
   12330    $rm -r conftest 2>/dev/null
   12331    mkdir conftest
   12332    cd conftest
   12333    mkdir out
   12334    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12335 
   12336    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12337    # Insert the option either (1) after the last *FLAGS variable, or
   12338    # (2) before a word containing "conftest.", or (3) at the end.
   12339    # Note that $ac_compile itself does not contain backslashes and begins
   12340    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12341    lt_compile=`echo "$ac_compile" | $SED \
   12342    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12343    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12344    -e 's:$: $lt_compiler_flag:'`
   12345    (eval echo "\"\$as_me:12345: $lt_compile\"" >&5)
   12346    (eval "$lt_compile" 2>out/conftest.err)
   12347    ac_status=$?
   12348    cat out/conftest.err >&5
   12349    echo "$as_me:12349: \$? = $ac_status" >&5
   12350    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12351    then
   12352      # The compiler can only warn and ignore the option if not recognized
   12353      # So say no if there are warnings
   12354      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12355      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12356      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12357        lt_cv_prog_compiler_c_o_CXX=yes
   12358      fi
   12359    fi
   12360    chmod u+w . 2>&5
   12361    $rm conftest*
   12362    # SGI C++ compiler will create directory out/ii_files/ for
   12363    # template instantiation
   12364    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12365    $rm out/* && rmdir out
   12366    cd ..
   12367    rmdir conftest
   12368    $rm conftest*
   12369 
   12370 fi
   12371 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12372 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12373 
   12374 
   12375 hard_links="nottested"
   12376 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12377   # do not overwrite the value of need_locks provided by the user
   12378   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12379 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12380   hard_links=yes
   12381   $rm conftest*
   12382   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12383   touch conftest.a
   12384   ln conftest.a conftest.b 2>&5 || hard_links=no
   12385   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12386   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12387 echo "${ECHO_T}$hard_links" >&6; }
   12388   if test "$hard_links" = no; then
   12389     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12390 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12391     need_locks=warn
   12392   fi
   12393 else
   12394   need_locks=no
   12395 fi
   12396 
   12397 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12398 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12399 
   12400   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12401   case $host_os in
   12402   aix4* | aix5*)
   12403     # If we're using GNU nm, then we don't want the "-C" option.
   12404     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12405     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12406       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'
   12407     else
   12408       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'
   12409     fi
   12410     ;;
   12411   pw32*)
   12412     export_symbols_cmds_CXX="$ltdll_cmds"
   12413   ;;
   12414   cygwin* | mingw*)
   12415     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'
   12416   ;;
   12417   *)
   12418     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12419   ;;
   12420   esac
   12421 
   12422 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12423 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12424 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12425 
   12426 #
   12427 # Do we need to explicitly link libc?
   12428 #
   12429 case "x$archive_cmds_need_lc_CXX" in
   12430 x|xyes)
   12431   # Assume -lc should be added
   12432   archive_cmds_need_lc_CXX=yes
   12433 
   12434   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12435     case $archive_cmds_CXX in
   12436     *'~'*)
   12437       # FIXME: we may have to deal with multi-command sequences.
   12438       ;;
   12439     '$CC '*)
   12440       # Test whether the compiler implicitly links with -lc since on some
   12441       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12442       # to ld, don't add -lc before -lgcc.
   12443       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12444 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12445       $rm conftest*
   12446       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12447 
   12448       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12449   (eval $ac_compile) 2>&5
   12450   ac_status=$?
   12451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12452   (exit $ac_status); } 2>conftest.err; then
   12453         soname=conftest
   12454         lib=conftest
   12455         libobjs=conftest.$ac_objext
   12456         deplibs=
   12457         wl=$lt_prog_compiler_wl_CXX
   12458 	pic_flag=$lt_prog_compiler_pic_CXX
   12459         compiler_flags=-v
   12460         linker_flags=-v
   12461         verstring=
   12462         output_objdir=.
   12463         libname=conftest
   12464         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12465         allow_undefined_flag_CXX=
   12466         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12467   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12468   ac_status=$?
   12469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12470   (exit $ac_status); }
   12471         then
   12472 	  archive_cmds_need_lc_CXX=no
   12473         else
   12474 	  archive_cmds_need_lc_CXX=yes
   12475         fi
   12476         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12477       else
   12478         cat conftest.err 1>&5
   12479       fi
   12480       $rm conftest*
   12481       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12482 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12483       ;;
   12484     esac
   12485   fi
   12486   ;;
   12487 esac
   12488 
   12489 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12490 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12491 library_names_spec=
   12492 libname_spec='lib$name'
   12493 soname_spec=
   12494 shrext_cmds=".so"
   12495 postinstall_cmds=
   12496 postuninstall_cmds=
   12497 finish_cmds=
   12498 finish_eval=
   12499 shlibpath_var=
   12500 shlibpath_overrides_runpath=unknown
   12501 version_type=none
   12502 dynamic_linker="$host_os ld.so"
   12503 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12504 if test "$GCC" = yes; then
   12505   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12506   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12507     # if the path contains ";" then we assume it to be the separator
   12508     # otherwise default to the standard path separator (i.e. ":") - it is
   12509     # assumed that no part of a normal pathname contains ";" but that should
   12510     # okay in the real world where ";" in dirpaths is itself problematic.
   12511     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12512   else
   12513     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12514   fi
   12515 else
   12516   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12517 fi
   12518 need_lib_prefix=unknown
   12519 hardcode_into_libs=no
   12520 
   12521 # when you set need_version to no, make sure it does not cause -set_version
   12522 # flags to be left without arguments
   12523 need_version=unknown
   12524 
   12525 case $host_os in
   12526 aix3*)
   12527   version_type=linux
   12528   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12529   shlibpath_var=LIBPATH
   12530 
   12531   # AIX 3 has no versioning support, so we append a major version to the name.
   12532   soname_spec='${libname}${release}${shared_ext}$major'
   12533   ;;
   12534 
   12535 aix4* | aix5*)
   12536   version_type=linux
   12537   need_lib_prefix=no
   12538   need_version=no
   12539   hardcode_into_libs=yes
   12540   if test "$host_cpu" = ia64; then
   12541     # AIX 5 supports IA64
   12542     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12543     shlibpath_var=LD_LIBRARY_PATH
   12544   else
   12545     # With GCC up to 2.95.x, collect2 would create an import file
   12546     # for dependence libraries.  The import file would start with
   12547     # the line `#! .'.  This would cause the generated library to
   12548     # depend on `.', always an invalid library.  This was fixed in
   12549     # development snapshots of GCC prior to 3.0.
   12550     case $host_os in
   12551       aix4 | aix4.[01] | aix4.[01].*)
   12552       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12553 	   echo ' yes '
   12554 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12555 	:
   12556       else
   12557 	can_build_shared=no
   12558       fi
   12559       ;;
   12560     esac
   12561     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12562     # soname into executable. Probably we can add versioning support to
   12563     # collect2, so additional links can be useful in future.
   12564     if test "$aix_use_runtimelinking" = yes; then
   12565       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12566       # instead of lib<name>.a to let people know that these are not
   12567       # typical AIX shared libraries.
   12568       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12569     else
   12570       # We preserve .a as extension for shared libraries through AIX4.2
   12571       # and later when we are not doing run time linking.
   12572       library_names_spec='${libname}${release}.a $libname.a'
   12573       soname_spec='${libname}${release}${shared_ext}$major'
   12574     fi
   12575     shlibpath_var=LIBPATH
   12576   fi
   12577   ;;
   12578 
   12579 amigaos*)
   12580   library_names_spec='$libname.ixlibrary $libname.a'
   12581   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12582   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'
   12583   ;;
   12584 
   12585 beos*)
   12586   library_names_spec='${libname}${shared_ext}'
   12587   dynamic_linker="$host_os ld.so"
   12588   shlibpath_var=LIBRARY_PATH
   12589   ;;
   12590 
   12591 bsdi[45]*)
   12592   version_type=linux
   12593   need_version=no
   12594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12595   soname_spec='${libname}${release}${shared_ext}$major'
   12596   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12597   shlibpath_var=LD_LIBRARY_PATH
   12598   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12599   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12600   # the default ld.so.conf also contains /usr/contrib/lib and
   12601   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12602   # libtool to hard-code these into programs
   12603   ;;
   12604 
   12605 cygwin* | mingw* | pw32*)
   12606   version_type=windows
   12607   shrext_cmds=".dll"
   12608   need_version=no
   12609   need_lib_prefix=no
   12610 
   12611   case $GCC,$host_os in
   12612   yes,cygwin* | yes,mingw* | yes,pw32*)
   12613     library_names_spec='$libname.dll.a'
   12614     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12615     postinstall_cmds='base_file=`basename \${file}`~
   12616       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12617       dldir=$destdir/`dirname \$dlpath`~
   12618       test -d \$dldir || mkdir -p \$dldir~
   12619       $install_prog $dir/$dlname \$dldir/$dlname~
   12620       chmod a+x \$dldir/$dlname'
   12621     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12622       dlpath=$dir/\$dldll~
   12623        $rm \$dlpath'
   12624     shlibpath_overrides_runpath=yes
   12625 
   12626     case $host_os in
   12627     cygwin*)
   12628       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12629       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12630       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12631       ;;
   12632     mingw*)
   12633       # MinGW DLLs use traditional 'lib' prefix
   12634       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12635       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12636       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12637         # It is most probably a Windows format PATH printed by
   12638         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12639         # path with ; separators, and with drive letters. We can handle the
   12640         # drive letters (cygwin fileutils understands them), so leave them,
   12641         # especially as we might pass files found there to a mingw objdump,
   12642         # which wouldn't understand a cygwinified path. Ahh.
   12643         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12644       else
   12645         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12646       fi
   12647       ;;
   12648     pw32*)
   12649       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12650       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12651       ;;
   12652     esac
   12653     ;;
   12654 
   12655   *)
   12656     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12657     ;;
   12658   esac
   12659   dynamic_linker='Win32 ld.exe'
   12660   # FIXME: first we should search . and the directory the executable is in
   12661   shlibpath_var=PATH
   12662   ;;
   12663 
   12664 darwin* | rhapsody*)
   12665   dynamic_linker="$host_os dyld"
   12666   version_type=darwin
   12667   need_lib_prefix=no
   12668   need_version=no
   12669   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12670   soname_spec='${libname}${release}${major}$shared_ext'
   12671   shlibpath_overrides_runpath=yes
   12672   shlibpath_var=DYLD_LIBRARY_PATH
   12673   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12674   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12675   if test "$GCC" = yes; then
   12676     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"`
   12677   else
   12678     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12679   fi
   12680   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12681   ;;
   12682 
   12683 dgux*)
   12684   version_type=linux
   12685   need_lib_prefix=no
   12686   need_version=no
   12687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12688   soname_spec='${libname}${release}${shared_ext}$major'
   12689   shlibpath_var=LD_LIBRARY_PATH
   12690   ;;
   12691 
   12692 freebsd1*)
   12693   dynamic_linker=no
   12694   ;;
   12695 
   12696 kfreebsd*-gnu)
   12697   version_type=linux
   12698   need_lib_prefix=no
   12699   need_version=no
   12700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12701   soname_spec='${libname}${release}${shared_ext}$major'
   12702   shlibpath_var=LD_LIBRARY_PATH
   12703   shlibpath_overrides_runpath=no
   12704   hardcode_into_libs=yes
   12705   dynamic_linker='GNU ld.so'
   12706   ;;
   12707 
   12708 freebsd* | dragonfly*)
   12709   # DragonFly does not have aout.  When/if they implement a new
   12710   # versioning mechanism, adjust this.
   12711   if test -x /usr/bin/objformat; then
   12712     objformat=`/usr/bin/objformat`
   12713   else
   12714     case $host_os in
   12715     freebsd[123]*) objformat=aout ;;
   12716     *) objformat=elf ;;
   12717     esac
   12718   fi
   12719   version_type=freebsd-$objformat
   12720   case $version_type in
   12721     freebsd-elf*)
   12722       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12723       need_version=no
   12724       need_lib_prefix=no
   12725       ;;
   12726     freebsd-*)
   12727       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12728       need_version=yes
   12729       ;;
   12730   esac
   12731   shlibpath_var=LD_LIBRARY_PATH
   12732   case $host_os in
   12733   freebsd2*)
   12734     shlibpath_overrides_runpath=yes
   12735     ;;
   12736   freebsd3.[01]* | freebsdelf3.[01]*)
   12737     shlibpath_overrides_runpath=yes
   12738     hardcode_into_libs=yes
   12739     ;;
   12740   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12741   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12742     shlibpath_overrides_runpath=no
   12743     hardcode_into_libs=yes
   12744     ;;
   12745   freebsd*) # from 4.6 on
   12746     shlibpath_overrides_runpath=yes
   12747     hardcode_into_libs=yes
   12748     ;;
   12749   esac
   12750   ;;
   12751 
   12752 gnu*)
   12753   version_type=linux
   12754   need_lib_prefix=no
   12755   need_version=no
   12756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12757   soname_spec='${libname}${release}${shared_ext}$major'
   12758   shlibpath_var=LD_LIBRARY_PATH
   12759   hardcode_into_libs=yes
   12760   ;;
   12761 
   12762 hpux9* | hpux10* | hpux11*)
   12763   # Give a soname corresponding to the major version so that dld.sl refuses to
   12764   # link against other versions.
   12765   version_type=sunos
   12766   need_lib_prefix=no
   12767   need_version=no
   12768   case $host_cpu in
   12769   ia64*)
   12770     shrext_cmds='.so'
   12771     hardcode_into_libs=yes
   12772     dynamic_linker="$host_os dld.so"
   12773     shlibpath_var=LD_LIBRARY_PATH
   12774     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12775     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12776     soname_spec='${libname}${release}${shared_ext}$major'
   12777     if test "X$HPUX_IA64_MODE" = X32; then
   12778       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12779     else
   12780       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12781     fi
   12782     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12783     ;;
   12784    hppa*64*)
   12785      shrext_cmds='.sl'
   12786      hardcode_into_libs=yes
   12787      dynamic_linker="$host_os dld.sl"
   12788      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12789      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12790      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12791      soname_spec='${libname}${release}${shared_ext}$major'
   12792      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12793      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12794      ;;
   12795    *)
   12796     shrext_cmds='.sl'
   12797     dynamic_linker="$host_os dld.sl"
   12798     shlibpath_var=SHLIB_PATH
   12799     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12800     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12801     soname_spec='${libname}${release}${shared_ext}$major'
   12802     ;;
   12803   esac
   12804   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12805   postinstall_cmds='chmod 555 $lib'
   12806   ;;
   12807 
   12808 interix3*)
   12809   version_type=linux
   12810   need_lib_prefix=no
   12811   need_version=no
   12812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12813   soname_spec='${libname}${release}${shared_ext}$major'
   12814   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12815   shlibpath_var=LD_LIBRARY_PATH
   12816   shlibpath_overrides_runpath=no
   12817   hardcode_into_libs=yes
   12818   ;;
   12819 
   12820 irix5* | irix6* | nonstopux*)
   12821   case $host_os in
   12822     nonstopux*) version_type=nonstopux ;;
   12823     *)
   12824 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12825 		version_type=linux
   12826 	else
   12827 		version_type=irix
   12828 	fi ;;
   12829   esac
   12830   need_lib_prefix=no
   12831   need_version=no
   12832   soname_spec='${libname}${release}${shared_ext}$major'
   12833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12834   case $host_os in
   12835   irix5* | nonstopux*)
   12836     libsuff= shlibsuff=
   12837     ;;
   12838   *)
   12839     case $LD in # libtool.m4 will add one of these switches to LD
   12840     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12841       libsuff= shlibsuff= libmagic=32-bit;;
   12842     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12843       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12844     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12845       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12846     *) libsuff= shlibsuff= libmagic=never-match;;
   12847     esac
   12848     ;;
   12849   esac
   12850   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12851   shlibpath_overrides_runpath=no
   12852   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12853   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12854   hardcode_into_libs=yes
   12855   ;;
   12856 
   12857 # No shared lib support for Linux oldld, aout, or coff.
   12858 linux*oldld* | linux*aout* | linux*coff*)
   12859   dynamic_linker=no
   12860   ;;
   12861 
   12862 # This must be Linux ELF.
   12863 linux*)
   12864   version_type=linux
   12865   need_lib_prefix=no
   12866   need_version=no
   12867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12868   soname_spec='${libname}${release}${shared_ext}$major'
   12869   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12870   shlibpath_var=LD_LIBRARY_PATH
   12871   shlibpath_overrides_runpath=no
   12872   # This implies no fast_install, which is unacceptable.
   12873   # Some rework will be needed to allow for fast_install
   12874   # before this can be enabled.
   12875   hardcode_into_libs=yes
   12876 
   12877   # Append ld.so.conf contents to the search path
   12878   if test -f /etc/ld.so.conf; then
   12879     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   12880     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12881   fi
   12882 
   12883   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12884   # powerpc, because MkLinux only supported shared libraries with the
   12885   # GNU dynamic linker.  Since this was broken with cross compilers,
   12886   # most powerpc-linux boxes support dynamic linking these days and
   12887   # people can always --disable-shared, the test was removed, and we
   12888   # assume the GNU/Linux dynamic linker is in use.
   12889   dynamic_linker='GNU/Linux ld.so'
   12890   ;;
   12891 
   12892 knetbsd*-gnu)
   12893   version_type=linux
   12894   need_lib_prefix=no
   12895   need_version=no
   12896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12897   soname_spec='${libname}${release}${shared_ext}$major'
   12898   shlibpath_var=LD_LIBRARY_PATH
   12899   shlibpath_overrides_runpath=no
   12900   hardcode_into_libs=yes
   12901   dynamic_linker='GNU ld.so'
   12902   ;;
   12903 
   12904 netbsd*)
   12905   version_type=sunos
   12906   need_lib_prefix=no
   12907   need_version=no
   12908   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12909     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12910     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12911     dynamic_linker='NetBSD (a.out) ld.so'
   12912   else
   12913     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12914     soname_spec='${libname}${release}${shared_ext}$major'
   12915     dynamic_linker='NetBSD ld.elf_so'
   12916   fi
   12917   shlibpath_var=LD_LIBRARY_PATH
   12918   shlibpath_overrides_runpath=yes
   12919   hardcode_into_libs=yes
   12920   ;;
   12921 
   12922 newsos6)
   12923   version_type=linux
   12924   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12925   shlibpath_var=LD_LIBRARY_PATH
   12926   shlibpath_overrides_runpath=yes
   12927   ;;
   12928 
   12929 nto-qnx*)
   12930   version_type=linux
   12931   need_lib_prefix=no
   12932   need_version=no
   12933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12934   soname_spec='${libname}${release}${shared_ext}$major'
   12935   shlibpath_var=LD_LIBRARY_PATH
   12936   shlibpath_overrides_runpath=yes
   12937   ;;
   12938 
   12939 openbsd*)
   12940   version_type=sunos
   12941   sys_lib_dlsearch_path_spec="/usr/lib"
   12942   need_lib_prefix=no
   12943   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12944   case $host_os in
   12945     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12946     *)                         need_version=no  ;;
   12947   esac
   12948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12949   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12950   shlibpath_var=LD_LIBRARY_PATH
   12951   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12952     case $host_os in
   12953       openbsd2.[89] | openbsd2.[89].*)
   12954 	shlibpath_overrides_runpath=no
   12955 	;;
   12956       *)
   12957 	shlibpath_overrides_runpath=yes
   12958 	;;
   12959       esac
   12960   else
   12961     shlibpath_overrides_runpath=yes
   12962   fi
   12963   ;;
   12964 
   12965 os2*)
   12966   libname_spec='$name'
   12967   shrext_cmds=".dll"
   12968   need_lib_prefix=no
   12969   library_names_spec='$libname${shared_ext} $libname.a'
   12970   dynamic_linker='OS/2 ld.exe'
   12971   shlibpath_var=LIBPATH
   12972   ;;
   12973 
   12974 osf3* | osf4* | osf5*)
   12975   version_type=osf
   12976   need_lib_prefix=no
   12977   need_version=no
   12978   soname_spec='${libname}${release}${shared_ext}$major'
   12979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12980   shlibpath_var=LD_LIBRARY_PATH
   12981   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12982   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12983   ;;
   12984 
   12985 solaris*)
   12986   version_type=linux
   12987   need_lib_prefix=no
   12988   need_version=no
   12989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12990   soname_spec='${libname}${release}${shared_ext}$major'
   12991   shlibpath_var=LD_LIBRARY_PATH
   12992   shlibpath_overrides_runpath=yes
   12993   hardcode_into_libs=yes
   12994   # ldd complains unless libraries are executable
   12995   postinstall_cmds='chmod +x $lib'
   12996   ;;
   12997 
   12998 sunos4*)
   12999   version_type=sunos
   13000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13001   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13002   shlibpath_var=LD_LIBRARY_PATH
   13003   shlibpath_overrides_runpath=yes
   13004   if test "$with_gnu_ld" = yes; then
   13005     need_lib_prefix=no
   13006   fi
   13007   need_version=yes
   13008   ;;
   13009 
   13010 sysv4 | sysv4.3*)
   13011   version_type=linux
   13012   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13013   soname_spec='${libname}${release}${shared_ext}$major'
   13014   shlibpath_var=LD_LIBRARY_PATH
   13015   case $host_vendor in
   13016     sni)
   13017       shlibpath_overrides_runpath=no
   13018       need_lib_prefix=no
   13019       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13020       runpath_var=LD_RUN_PATH
   13021       ;;
   13022     siemens)
   13023       need_lib_prefix=no
   13024       ;;
   13025     motorola)
   13026       need_lib_prefix=no
   13027       need_version=no
   13028       shlibpath_overrides_runpath=no
   13029       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13030       ;;
   13031   esac
   13032   ;;
   13033 
   13034 sysv4*MP*)
   13035   if test -d /usr/nec ;then
   13036     version_type=linux
   13037     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13038     soname_spec='$libname${shared_ext}.$major'
   13039     shlibpath_var=LD_LIBRARY_PATH
   13040   fi
   13041   ;;
   13042 
   13043 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13044   version_type=freebsd-elf
   13045   need_lib_prefix=no
   13046   need_version=no
   13047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13048   soname_spec='${libname}${release}${shared_ext}$major'
   13049   shlibpath_var=LD_LIBRARY_PATH
   13050   hardcode_into_libs=yes
   13051   if test "$with_gnu_ld" = yes; then
   13052     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13053     shlibpath_overrides_runpath=no
   13054   else
   13055     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13056     shlibpath_overrides_runpath=yes
   13057     case $host_os in
   13058       sco3.2v5*)
   13059         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13060 	;;
   13061     esac
   13062   fi
   13063   sys_lib_dlsearch_path_spec='/usr/lib'
   13064   ;;
   13065 
   13066 uts4*)
   13067   version_type=linux
   13068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13069   soname_spec='${libname}${release}${shared_ext}$major'
   13070   shlibpath_var=LD_LIBRARY_PATH
   13071   ;;
   13072 
   13073 *)
   13074   dynamic_linker=no
   13075   ;;
   13076 esac
   13077 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13078 echo "${ECHO_T}$dynamic_linker" >&6; }
   13079 test "$dynamic_linker" = no && can_build_shared=no
   13080 
   13081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13082 if test "$GCC" = yes; then
   13083   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13084 fi
   13085 
   13086 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13087 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13088 hardcode_action_CXX=
   13089 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13090    test -n "$runpath_var_CXX" || \
   13091    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13092 
   13093   # We can hardcode non-existant directories.
   13094   if test "$hardcode_direct_CXX" != no &&
   13095      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13096      # have to relink, otherwise we might link with an installed library
   13097      # when we should be linking with a yet-to-be-installed one
   13098      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13099      test "$hardcode_minus_L_CXX" != no; then
   13100     # Linking always hardcodes the temporary library directory.
   13101     hardcode_action_CXX=relink
   13102   else
   13103     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13104     hardcode_action_CXX=immediate
   13105   fi
   13106 else
   13107   # We cannot hardcode anything, or else we can only hardcode existing
   13108   # directories.
   13109   hardcode_action_CXX=unsupported
   13110 fi
   13111 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13112 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13113 
   13114 if test "$hardcode_action_CXX" = relink; then
   13115   # Fast installation is not supported
   13116   enable_fast_install=no
   13117 elif test "$shlibpath_overrides_runpath" = yes ||
   13118      test "$enable_shared" = no; then
   13119   # Fast installation is not necessary
   13120   enable_fast_install=needless
   13121 fi
   13122 
   13123 
   13124 # The else clause should only fire when bootstrapping the
   13125 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13126 # with your package, and you will get complaints that there are
   13127 # no rules to generate ltmain.sh.
   13128 if test -f "$ltmain"; then
   13129   # See if we are running on zsh, and set the options which allow our commands through
   13130   # without removal of \ escapes.
   13131   if test -n "${ZSH_VERSION+set}" ; then
   13132     setopt NO_GLOB_SUBST
   13133   fi
   13134   # Now quote all the things that may contain metacharacters while being
   13135   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13136   # variables and quote the copies for generation of the libtool script.
   13137   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13138     SED SHELL STRIP \
   13139     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13140     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13141     deplibs_check_method reload_flag reload_cmds need_locks \
   13142     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13143     lt_cv_sys_global_symbol_to_c_name_address \
   13144     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13145     old_postinstall_cmds old_postuninstall_cmds \
   13146     compiler_CXX \
   13147     CC_CXX \
   13148     LD_CXX \
   13149     lt_prog_compiler_wl_CXX \
   13150     lt_prog_compiler_pic_CXX \
   13151     lt_prog_compiler_static_CXX \
   13152     lt_prog_compiler_no_builtin_flag_CXX \
   13153     export_dynamic_flag_spec_CXX \
   13154     thread_safe_flag_spec_CXX \
   13155     whole_archive_flag_spec_CXX \
   13156     enable_shared_with_static_runtimes_CXX \
   13157     old_archive_cmds_CXX \
   13158     old_archive_from_new_cmds_CXX \
   13159     predep_objects_CXX \
   13160     postdep_objects_CXX \
   13161     predeps_CXX \
   13162     postdeps_CXX \
   13163     compiler_lib_search_path_CXX \
   13164     archive_cmds_CXX \
   13165     archive_expsym_cmds_CXX \
   13166     postinstall_cmds_CXX \
   13167     postuninstall_cmds_CXX \
   13168     old_archive_from_expsyms_cmds_CXX \
   13169     allow_undefined_flag_CXX \
   13170     no_undefined_flag_CXX \
   13171     export_symbols_cmds_CXX \
   13172     hardcode_libdir_flag_spec_CXX \
   13173     hardcode_libdir_flag_spec_ld_CXX \
   13174     hardcode_libdir_separator_CXX \
   13175     hardcode_automatic_CXX \
   13176     module_cmds_CXX \
   13177     module_expsym_cmds_CXX \
   13178     lt_cv_prog_compiler_c_o_CXX \
   13179     exclude_expsyms_CXX \
   13180     include_expsyms_CXX; do
   13181 
   13182     case $var in
   13183     old_archive_cmds_CXX | \
   13184     old_archive_from_new_cmds_CXX | \
   13185     archive_cmds_CXX | \
   13186     archive_expsym_cmds_CXX | \
   13187     module_cmds_CXX | \
   13188     module_expsym_cmds_CXX | \
   13189     old_archive_from_expsyms_cmds_CXX | \
   13190     export_symbols_cmds_CXX | \
   13191     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13192     postinstall_cmds | postuninstall_cmds | \
   13193     old_postinstall_cmds | old_postuninstall_cmds | \
   13194     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13195       # Double-quote double-evaled strings.
   13196       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13197       ;;
   13198     *)
   13199       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13200       ;;
   13201     esac
   13202   done
   13203 
   13204   case $lt_echo in
   13205   *'\$0 --fallback-echo"')
   13206     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13207     ;;
   13208   esac
   13209 
   13210 cfgfile="$ofile"
   13211 
   13212   cat <<__EOF__ >> "$cfgfile"
   13213 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13214 
   13215 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13216 
   13217 # Shell to use when invoking shell scripts.
   13218 SHELL=$lt_SHELL
   13219 
   13220 # Whether or not to build shared libraries.
   13221 build_libtool_libs=$enable_shared
   13222 
   13223 # Whether or not to build static libraries.
   13224 build_old_libs=$enable_static
   13225 
   13226 # Whether or not to add -lc for building shared libraries.
   13227 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13228 
   13229 # Whether or not to disallow shared libs when runtime libs are static
   13230 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13231 
   13232 # Whether or not to optimize for fast installation.
   13233 fast_install=$enable_fast_install
   13234 
   13235 # The host system.
   13236 host_alias=$host_alias
   13237 host=$host
   13238 host_os=$host_os
   13239 
   13240 # The build system.
   13241 build_alias=$build_alias
   13242 build=$build
   13243 build_os=$build_os
   13244 
   13245 # An echo program that does not interpret backslashes.
   13246 echo=$lt_echo
   13247 
   13248 # The archiver.
   13249 AR=$lt_AR
   13250 AR_FLAGS=$lt_AR_FLAGS
   13251 
   13252 # A C compiler.
   13253 LTCC=$lt_LTCC
   13254 
   13255 # LTCC compiler flags.
   13256 LTCFLAGS=$lt_LTCFLAGS
   13257 
   13258 # A language-specific compiler.
   13259 CC=$lt_compiler_CXX
   13260 
   13261 # Is the compiler the GNU C compiler?
   13262 with_gcc=$GCC_CXX
   13263 
   13264 # An ERE matcher.
   13265 EGREP=$lt_EGREP
   13266 
   13267 # The linker used to build libraries.
   13268 LD=$lt_LD_CXX
   13269 
   13270 # Whether we need hard or soft links.
   13271 LN_S=$lt_LN_S
   13272 
   13273 # A BSD-compatible nm program.
   13274 NM=$lt_NM
   13275 
   13276 # A symbol stripping program
   13277 STRIP=$lt_STRIP
   13278 
   13279 # Used to examine libraries when file_magic_cmd begins "file"
   13280 MAGIC_CMD=$MAGIC_CMD
   13281 
   13282 # Used on cygwin: DLL creation program.
   13283 DLLTOOL="$DLLTOOL"
   13284 
   13285 # Used on cygwin: object dumper.
   13286 OBJDUMP="$OBJDUMP"
   13287 
   13288 # Used on cygwin: assembler.
   13289 AS="$AS"
   13290 
   13291 # The name of the directory that contains temporary libtool files.
   13292 objdir=$objdir
   13293 
   13294 # How to create reloadable object files.
   13295 reload_flag=$lt_reload_flag
   13296 reload_cmds=$lt_reload_cmds
   13297 
   13298 # How to pass a linker flag through the compiler.
   13299 wl=$lt_lt_prog_compiler_wl_CXX
   13300 
   13301 # Object file suffix (normally "o").
   13302 objext="$ac_objext"
   13303 
   13304 # Old archive suffix (normally "a").
   13305 libext="$libext"
   13306 
   13307 # Shared library suffix (normally ".so").
   13308 shrext_cmds='$shrext_cmds'
   13309 
   13310 # Executable file suffix (normally "").
   13311 exeext="$exeext"
   13312 
   13313 # Additional compiler flags for building library objects.
   13314 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13315 pic_mode=$pic_mode
   13316 
   13317 # What is the maximum length of a command?
   13318 max_cmd_len=$lt_cv_sys_max_cmd_len
   13319 
   13320 # Does compiler simultaneously support -c and -o options?
   13321 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13322 
   13323 # Must we lock files when doing compilation?
   13324 need_locks=$lt_need_locks
   13325 
   13326 # Do we need the lib prefix for modules?
   13327 need_lib_prefix=$need_lib_prefix
   13328 
   13329 # Do we need a version for libraries?
   13330 need_version=$need_version
   13331 
   13332 # Whether dlopen is supported.
   13333 dlopen_support=$enable_dlopen
   13334 
   13335 # Whether dlopen of programs is supported.
   13336 dlopen_self=$enable_dlopen_self
   13337 
   13338 # Whether dlopen of statically linked programs is supported.
   13339 dlopen_self_static=$enable_dlopen_self_static
   13340 
   13341 # Compiler flag to prevent dynamic linking.
   13342 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13343 
   13344 # Compiler flag to turn off builtin functions.
   13345 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13346 
   13347 # Compiler flag to allow reflexive dlopens.
   13348 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13349 
   13350 # Compiler flag to generate shared objects directly from archives.
   13351 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13352 
   13353 # Compiler flag to generate thread-safe objects.
   13354 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13355 
   13356 # Library versioning type.
   13357 version_type=$version_type
   13358 
   13359 # Format of library name prefix.
   13360 libname_spec=$lt_libname_spec
   13361 
   13362 # List of archive names.  First name is the real one, the rest are links.
   13363 # The last name is the one that the linker finds with -lNAME.
   13364 library_names_spec=$lt_library_names_spec
   13365 
   13366 # The coded name of the library, if different from the real name.
   13367 soname_spec=$lt_soname_spec
   13368 
   13369 # Commands used to build and install an old-style archive.
   13370 RANLIB=$lt_RANLIB
   13371 old_archive_cmds=$lt_old_archive_cmds_CXX
   13372 old_postinstall_cmds=$lt_old_postinstall_cmds
   13373 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13374 
   13375 # Create an old-style archive from a shared archive.
   13376 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13377 
   13378 # Create a temporary old-style archive to link instead of a shared archive.
   13379 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13380 
   13381 # Commands used to build and install a shared archive.
   13382 archive_cmds=$lt_archive_cmds_CXX
   13383 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13384 postinstall_cmds=$lt_postinstall_cmds
   13385 postuninstall_cmds=$lt_postuninstall_cmds
   13386 
   13387 # Commands used to build a loadable module (assumed same as above if empty)
   13388 module_cmds=$lt_module_cmds_CXX
   13389 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13390 
   13391 # Commands to strip libraries.
   13392 old_striplib=$lt_old_striplib
   13393 striplib=$lt_striplib
   13394 
   13395 # Dependencies to place before the objects being linked to create a
   13396 # shared library.
   13397 predep_objects=$lt_predep_objects_CXX
   13398 
   13399 # Dependencies to place after the objects being linked to create a
   13400 # shared library.
   13401 postdep_objects=$lt_postdep_objects_CXX
   13402 
   13403 # Dependencies to place before the objects being linked to create a
   13404 # shared library.
   13405 predeps=$lt_predeps_CXX
   13406 
   13407 # Dependencies to place after the objects being linked to create a
   13408 # shared library.
   13409 postdeps=$lt_postdeps_CXX
   13410 
   13411 # The library search path used internally by the compiler when linking
   13412 # a shared library.
   13413 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13414 
   13415 # Method to check whether dependent libraries are shared objects.
   13416 deplibs_check_method=$lt_deplibs_check_method
   13417 
   13418 # Command to use when deplibs_check_method == file_magic.
   13419 file_magic_cmd=$lt_file_magic_cmd
   13420 
   13421 # Flag that allows shared libraries with undefined symbols to be built.
   13422 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13423 
   13424 # Flag that forces no undefined symbols.
   13425 no_undefined_flag=$lt_no_undefined_flag_CXX
   13426 
   13427 # Commands used to finish a libtool library installation in a directory.
   13428 finish_cmds=$lt_finish_cmds
   13429 
   13430 # Same as above, but a single script fragment to be evaled but not shown.
   13431 finish_eval=$lt_finish_eval
   13432 
   13433 # Take the output of nm and produce a listing of raw symbols and C names.
   13434 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13435 
   13436 # Transform the output of nm in a proper C declaration
   13437 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13438 
   13439 # Transform the output of nm in a C name address pair
   13440 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13441 
   13442 # This is the shared library runtime path variable.
   13443 runpath_var=$runpath_var
   13444 
   13445 # This is the shared library path variable.
   13446 shlibpath_var=$shlibpath_var
   13447 
   13448 # Is shlibpath searched before the hard-coded library search path?
   13449 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13450 
   13451 # How to hardcode a shared library path into an executable.
   13452 hardcode_action=$hardcode_action_CXX
   13453 
   13454 # Whether we should hardcode library paths into libraries.
   13455 hardcode_into_libs=$hardcode_into_libs
   13456 
   13457 # Flag to hardcode \$libdir into a binary during linking.
   13458 # This must work even if \$libdir does not exist.
   13459 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13460 
   13461 # If ld is used when linking, flag to hardcode \$libdir into
   13462 # a binary during linking. This must work even if \$libdir does
   13463 # not exist.
   13464 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13465 
   13466 # Whether we need a single -rpath flag with a separated argument.
   13467 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13468 
   13469 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13470 # resulting binary.
   13471 hardcode_direct=$hardcode_direct_CXX
   13472 
   13473 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13474 # resulting binary.
   13475 hardcode_minus_L=$hardcode_minus_L_CXX
   13476 
   13477 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13478 # the resulting binary.
   13479 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13480 
   13481 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13482 # and all subsequent libraries and executables linked against it.
   13483 hardcode_automatic=$hardcode_automatic_CXX
   13484 
   13485 # Variables whose values should be saved in libtool wrapper scripts and
   13486 # restored at relink time.
   13487 variables_saved_for_relink="$variables_saved_for_relink"
   13488 
   13489 # Whether libtool must link a program against all its dependency libraries.
   13490 link_all_deplibs=$link_all_deplibs_CXX
   13491 
   13492 # Compile-time system search path for libraries
   13493 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13494 
   13495 # Run-time system search path for libraries
   13496 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13497 
   13498 # Fix the shell variable \$srcfile for the compiler.
   13499 fix_srcfile_path="$fix_srcfile_path_CXX"
   13500 
   13501 # Set to yes if exported symbols are required.
   13502 always_export_symbols=$always_export_symbols_CXX
   13503 
   13504 # The commands to list exported symbols.
   13505 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13506 
   13507 # The commands to extract the exported symbol list from a shared archive.
   13508 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13509 
   13510 # Symbols that should not be listed in the preloaded symbols.
   13511 exclude_expsyms=$lt_exclude_expsyms_CXX
   13512 
   13513 # Symbols that must always be exported.
   13514 include_expsyms=$lt_include_expsyms_CXX
   13515 
   13516 # ### END LIBTOOL TAG CONFIG: $tagname
   13517 
   13518 __EOF__
   13519 
   13520 
   13521 else
   13522   # If there is no Makefile yet, we rely on a make rule to execute
   13523   # `config.status --recheck' to rerun these tests and create the
   13524   # libtool script then.
   13525   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13526   if test -f "$ltmain_in"; then
   13527     test -f Makefile && make "$ltmain"
   13528   fi
   13529 fi
   13530 
   13531 
   13532 ac_ext=c
   13533 ac_cpp='$CPP $CPPFLAGS'
   13534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13537 
   13538 CC=$lt_save_CC
   13539 LDCXX=$LD
   13540 LD=$lt_save_LD
   13541 GCC=$lt_save_GCC
   13542 with_gnu_ldcxx=$with_gnu_ld
   13543 with_gnu_ld=$lt_save_with_gnu_ld
   13544 lt_cv_path_LDCXX=$lt_cv_path_LD
   13545 lt_cv_path_LD=$lt_save_path_LD
   13546 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13547 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13548 
   13549 	else
   13550 	  tagname=""
   13551 	fi
   13552 	;;
   13553 
   13554       F77)
   13555 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13556 
   13557 ac_ext=f
   13558 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13559 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13560 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13561 
   13562 
   13563 archive_cmds_need_lc_F77=no
   13564 allow_undefined_flag_F77=
   13565 always_export_symbols_F77=no
   13566 archive_expsym_cmds_F77=
   13567 export_dynamic_flag_spec_F77=
   13568 hardcode_direct_F77=no
   13569 hardcode_libdir_flag_spec_F77=
   13570 hardcode_libdir_flag_spec_ld_F77=
   13571 hardcode_libdir_separator_F77=
   13572 hardcode_minus_L_F77=no
   13573 hardcode_automatic_F77=no
   13574 module_cmds_F77=
   13575 module_expsym_cmds_F77=
   13576 link_all_deplibs_F77=unknown
   13577 old_archive_cmds_F77=$old_archive_cmds
   13578 no_undefined_flag_F77=
   13579 whole_archive_flag_spec_F77=
   13580 enable_shared_with_static_runtimes_F77=no
   13581 
   13582 # Source file extension for f77 test sources.
   13583 ac_ext=f
   13584 
   13585 # Object file extension for compiled f77 test sources.
   13586 objext=o
   13587 objext_F77=$objext
   13588 
   13589 # Code to be used in simple compile tests
   13590 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13591 
   13592 # Code to be used in simple link tests
   13593 lt_simple_link_test_code="      program t\n      end\n"
   13594 
   13595 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13596 
   13597 # If no C compiler was specified, use CC.
   13598 LTCC=${LTCC-"$CC"}
   13599 
   13600 # If no C compiler flags were specified, use CFLAGS.
   13601 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13602 
   13603 # Allow CC to be a program name with arguments.
   13604 compiler=$CC
   13605 
   13606 
   13607 # save warnings/boilerplate of simple test code
   13608 ac_outfile=conftest.$ac_objext
   13609 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13610 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13611 _lt_compiler_boilerplate=`cat conftest.err`
   13612 $rm conftest*
   13613 
   13614 ac_outfile=conftest.$ac_objext
   13615 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13616 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13617 _lt_linker_boilerplate=`cat conftest.err`
   13618 $rm conftest*
   13619 
   13620 
   13621 # Allow CC to be a program name with arguments.
   13622 lt_save_CC="$CC"
   13623 CC=${F77-"f77"}
   13624 compiler=$CC
   13625 compiler_F77=$CC
   13626 for cc_temp in $compiler""; do
   13627   case $cc_temp in
   13628     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13629     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13630     \-*) ;;
   13631     *) break;;
   13632   esac
   13633 done
   13634 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13635 
   13636 
   13637 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13638 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13639 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13640 echo "${ECHO_T}$can_build_shared" >&6; }
   13641 
   13642 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13643 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13644 test "$can_build_shared" = "no" && enable_shared=no
   13645 
   13646 # On AIX, shared libraries and static libraries use the same namespace, and
   13647 # are all built from PIC.
   13648 case $host_os in
   13649 aix3*)
   13650   test "$enable_shared" = yes && enable_static=no
   13651   if test -n "$RANLIB"; then
   13652     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13653     postinstall_cmds='$RANLIB $lib'
   13654   fi
   13655   ;;
   13656 aix4* | aix5*)
   13657   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13658     test "$enable_shared" = yes && enable_static=no
   13659   fi
   13660   ;;
   13661 esac
   13662 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13663 echo "${ECHO_T}$enable_shared" >&6; }
   13664 
   13665 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13666 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13667 # Make sure either enable_shared or enable_static is yes.
   13668 test "$enable_shared" = yes || enable_static=yes
   13669 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13670 echo "${ECHO_T}$enable_static" >&6; }
   13671 
   13672 GCC_F77="$G77"
   13673 LD_F77="$LD"
   13674 
   13675 lt_prog_compiler_wl_F77=
   13676 lt_prog_compiler_pic_F77=
   13677 lt_prog_compiler_static_F77=
   13678 
   13679 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13680 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13681 
   13682   if test "$GCC" = yes; then
   13683     lt_prog_compiler_wl_F77='-Wl,'
   13684     lt_prog_compiler_static_F77='-static'
   13685 
   13686     case $host_os in
   13687       aix*)
   13688       # All AIX code is PIC.
   13689       if test "$host_cpu" = ia64; then
   13690 	# AIX 5 now supports IA64 processor
   13691 	lt_prog_compiler_static_F77='-Bstatic'
   13692       fi
   13693       ;;
   13694 
   13695     amigaos*)
   13696       # FIXME: we need at least 68020 code to build shared libraries, but
   13697       # adding the `-m68020' flag to GCC prevents building anything better,
   13698       # like `-m68040'.
   13699       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13700       ;;
   13701 
   13702     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13703       # PIC is the default for these OSes.
   13704       ;;
   13705 
   13706     mingw* | pw32* | os2*)
   13707       # This hack is so that the source file can tell whether it is being
   13708       # built for inclusion in a dll (and should export symbols for example).
   13709       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13710       ;;
   13711 
   13712     darwin* | rhapsody*)
   13713       # PIC is the default on this platform
   13714       # Common symbols not allowed in MH_DYLIB files
   13715       lt_prog_compiler_pic_F77='-fno-common'
   13716       ;;
   13717 
   13718     interix3*)
   13719       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13720       # Instead, we relocate shared libraries at runtime.
   13721       ;;
   13722 
   13723     msdosdjgpp*)
   13724       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13725       # on systems that don't support them.
   13726       lt_prog_compiler_can_build_shared_F77=no
   13727       enable_shared=no
   13728       ;;
   13729 
   13730     sysv4*MP*)
   13731       if test -d /usr/nec; then
   13732 	lt_prog_compiler_pic_F77=-Kconform_pic
   13733       fi
   13734       ;;
   13735 
   13736     hpux*)
   13737       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13738       # not for PA HP-UX.
   13739       case $host_cpu in
   13740       hppa*64*|ia64*)
   13741 	# +Z the default
   13742 	;;
   13743       *)
   13744 	lt_prog_compiler_pic_F77='-fPIC'
   13745 	;;
   13746       esac
   13747       ;;
   13748 
   13749     *)
   13750       lt_prog_compiler_pic_F77='-fPIC'
   13751       ;;
   13752     esac
   13753   else
   13754     # PORTME Check for flag to pass linker flags through the system compiler.
   13755     case $host_os in
   13756     aix*)
   13757       lt_prog_compiler_wl_F77='-Wl,'
   13758       if test "$host_cpu" = ia64; then
   13759 	# AIX 5 now supports IA64 processor
   13760 	lt_prog_compiler_static_F77='-Bstatic'
   13761       else
   13762 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13763       fi
   13764       ;;
   13765       darwin*)
   13766         # PIC is the default on this platform
   13767         # Common symbols not allowed in MH_DYLIB files
   13768        case $cc_basename in
   13769          xlc*)
   13770          lt_prog_compiler_pic_F77='-qnocommon'
   13771          lt_prog_compiler_wl_F77='-Wl,'
   13772          ;;
   13773        esac
   13774        ;;
   13775 
   13776     mingw* | pw32* | os2*)
   13777       # This hack is so that the source file can tell whether it is being
   13778       # built for inclusion in a dll (and should export symbols for example).
   13779       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13780       ;;
   13781 
   13782     hpux9* | hpux10* | hpux11*)
   13783       lt_prog_compiler_wl_F77='-Wl,'
   13784       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13785       # not for PA HP-UX.
   13786       case $host_cpu in
   13787       hppa*64*|ia64*)
   13788 	# +Z the default
   13789 	;;
   13790       *)
   13791 	lt_prog_compiler_pic_F77='+Z'
   13792 	;;
   13793       esac
   13794       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13795       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13796       ;;
   13797 
   13798     irix5* | irix6* | nonstopux*)
   13799       lt_prog_compiler_wl_F77='-Wl,'
   13800       # PIC (with -KPIC) is the default.
   13801       lt_prog_compiler_static_F77='-non_shared'
   13802       ;;
   13803 
   13804     newsos6)
   13805       lt_prog_compiler_pic_F77='-KPIC'
   13806       lt_prog_compiler_static_F77='-Bstatic'
   13807       ;;
   13808 
   13809     linux*)
   13810       case $cc_basename in
   13811       icc* | ecc*)
   13812 	lt_prog_compiler_wl_F77='-Wl,'
   13813 	lt_prog_compiler_pic_F77='-KPIC'
   13814 	lt_prog_compiler_static_F77='-static'
   13815         ;;
   13816       pgcc* | pgf77* | pgf90* | pgf95*)
   13817         # Portland Group compilers (*not* the Pentium gcc compiler,
   13818 	# which looks to be a dead project)
   13819 	lt_prog_compiler_wl_F77='-Wl,'
   13820 	lt_prog_compiler_pic_F77='-fpic'
   13821 	lt_prog_compiler_static_F77='-Bstatic'
   13822         ;;
   13823       ccc*)
   13824         lt_prog_compiler_wl_F77='-Wl,'
   13825         # All Alpha code is PIC.
   13826         lt_prog_compiler_static_F77='-non_shared'
   13827         ;;
   13828       esac
   13829       ;;
   13830 
   13831     osf3* | osf4* | osf5*)
   13832       lt_prog_compiler_wl_F77='-Wl,'
   13833       # All OSF/1 code is PIC.
   13834       lt_prog_compiler_static_F77='-non_shared'
   13835       ;;
   13836 
   13837     solaris*)
   13838       lt_prog_compiler_pic_F77='-KPIC'
   13839       lt_prog_compiler_static_F77='-Bstatic'
   13840       case $cc_basename in
   13841       f77* | f90* | f95*)
   13842 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13843       *)
   13844 	lt_prog_compiler_wl_F77='-Wl,';;
   13845       esac
   13846       ;;
   13847 
   13848     sunos4*)
   13849       lt_prog_compiler_wl_F77='-Qoption ld '
   13850       lt_prog_compiler_pic_F77='-PIC'
   13851       lt_prog_compiler_static_F77='-Bstatic'
   13852       ;;
   13853 
   13854     sysv4 | sysv4.2uw2* | sysv4.3*)
   13855       lt_prog_compiler_wl_F77='-Wl,'
   13856       lt_prog_compiler_pic_F77='-KPIC'
   13857       lt_prog_compiler_static_F77='-Bstatic'
   13858       ;;
   13859 
   13860     sysv4*MP*)
   13861       if test -d /usr/nec ;then
   13862 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13863 	lt_prog_compiler_static_F77='-Bstatic'
   13864       fi
   13865       ;;
   13866 
   13867     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13868       lt_prog_compiler_wl_F77='-Wl,'
   13869       lt_prog_compiler_pic_F77='-KPIC'
   13870       lt_prog_compiler_static_F77='-Bstatic'
   13871       ;;
   13872 
   13873     unicos*)
   13874       lt_prog_compiler_wl_F77='-Wl,'
   13875       lt_prog_compiler_can_build_shared_F77=no
   13876       ;;
   13877 
   13878     uts4*)
   13879       lt_prog_compiler_pic_F77='-pic'
   13880       lt_prog_compiler_static_F77='-Bstatic'
   13881       ;;
   13882 
   13883     *)
   13884       lt_prog_compiler_can_build_shared_F77=no
   13885       ;;
   13886     esac
   13887   fi
   13888 
   13889 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13890 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   13891 
   13892 #
   13893 # Check to make sure the PIC flag actually works.
   13894 #
   13895 if test -n "$lt_prog_compiler_pic_F77"; then
   13896 
   13897 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13898 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   13899 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13900   echo $ECHO_N "(cached) $ECHO_C" >&6
   13901 else
   13902   lt_prog_compiler_pic_works_F77=no
   13903   ac_outfile=conftest.$ac_objext
   13904    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13905    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13906    # Insert the option either (1) after the last *FLAGS variable, or
   13907    # (2) before a word containing "conftest.", or (3) at the end.
   13908    # Note that $ac_compile itself does not contain backslashes and begins
   13909    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13910    # The option is referenced via a variable to avoid confusing sed.
   13911    lt_compile=`echo "$ac_compile" | $SED \
   13912    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13913    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13914    -e 's:$: $lt_compiler_flag:'`
   13915    (eval echo "\"\$as_me:13915: $lt_compile\"" >&5)
   13916    (eval "$lt_compile" 2>conftest.err)
   13917    ac_status=$?
   13918    cat conftest.err >&5
   13919    echo "$as_me:13919: \$? = $ac_status" >&5
   13920    if (exit $ac_status) && test -s "$ac_outfile"; then
   13921      # The compiler can only warn and ignore the option if not recognized
   13922      # So say no if there are warnings other than the usual output.
   13923      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13924      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13925      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13926        lt_prog_compiler_pic_works_F77=yes
   13927      fi
   13928    fi
   13929    $rm conftest*
   13930 
   13931 fi
   13932 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13933 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   13934 
   13935 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13936     case $lt_prog_compiler_pic_F77 in
   13937      "" | " "*) ;;
   13938      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13939      esac
   13940 else
   13941     lt_prog_compiler_pic_F77=
   13942      lt_prog_compiler_can_build_shared_F77=no
   13943 fi
   13944 
   13945 fi
   13946 case $host_os in
   13947   # For platforms which do not support PIC, -DPIC is meaningless:
   13948   *djgpp*)
   13949     lt_prog_compiler_pic_F77=
   13950     ;;
   13951   *)
   13952     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13953     ;;
   13954 esac
   13955 
   13956 #
   13957 # Check to make sure the static flag actually works.
   13958 #
   13959 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13960 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13961 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13962 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13963   echo $ECHO_N "(cached) $ECHO_C" >&6
   13964 else
   13965   lt_prog_compiler_static_works_F77=no
   13966    save_LDFLAGS="$LDFLAGS"
   13967    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13968    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13969    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13970      # The linker can only warn and ignore the option if not recognized
   13971      # So say no if there are warnings
   13972      if test -s conftest.err; then
   13973        # Append any errors to the config.log.
   13974        cat conftest.err 1>&5
   13975        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13976        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13977        if diff conftest.exp conftest.er2 >/dev/null; then
   13978          lt_prog_compiler_static_works_F77=yes
   13979        fi
   13980      else
   13981        lt_prog_compiler_static_works_F77=yes
   13982      fi
   13983    fi
   13984    $rm conftest*
   13985    LDFLAGS="$save_LDFLAGS"
   13986 
   13987 fi
   13988 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13989 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   13990 
   13991 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13992     :
   13993 else
   13994     lt_prog_compiler_static_F77=
   13995 fi
   13996 
   13997 
   13998 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13999 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14000 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14001   echo $ECHO_N "(cached) $ECHO_C" >&6
   14002 else
   14003   lt_cv_prog_compiler_c_o_F77=no
   14004    $rm -r conftest 2>/dev/null
   14005    mkdir conftest
   14006    cd conftest
   14007    mkdir out
   14008    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14009 
   14010    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14011    # Insert the option either (1) after the last *FLAGS variable, or
   14012    # (2) before a word containing "conftest.", or (3) at the end.
   14013    # Note that $ac_compile itself does not contain backslashes and begins
   14014    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14015    lt_compile=`echo "$ac_compile" | $SED \
   14016    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14017    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14018    -e 's:$: $lt_compiler_flag:'`
   14019    (eval echo "\"\$as_me:14019: $lt_compile\"" >&5)
   14020    (eval "$lt_compile" 2>out/conftest.err)
   14021    ac_status=$?
   14022    cat out/conftest.err >&5
   14023    echo "$as_me:14023: \$? = $ac_status" >&5
   14024    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14025    then
   14026      # The compiler can only warn and ignore the option if not recognized
   14027      # So say no if there are warnings
   14028      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14029      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14030      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14031        lt_cv_prog_compiler_c_o_F77=yes
   14032      fi
   14033    fi
   14034    chmod u+w . 2>&5
   14035    $rm conftest*
   14036    # SGI C++ compiler will create directory out/ii_files/ for
   14037    # template instantiation
   14038    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14039    $rm out/* && rmdir out
   14040    cd ..
   14041    rmdir conftest
   14042    $rm conftest*
   14043 
   14044 fi
   14045 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14046 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14047 
   14048 
   14049 hard_links="nottested"
   14050 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14051   # do not overwrite the value of need_locks provided by the user
   14052   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14053 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14054   hard_links=yes
   14055   $rm conftest*
   14056   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14057   touch conftest.a
   14058   ln conftest.a conftest.b 2>&5 || hard_links=no
   14059   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14060   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14061 echo "${ECHO_T}$hard_links" >&6; }
   14062   if test "$hard_links" = no; then
   14063     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14064 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14065     need_locks=warn
   14066   fi
   14067 else
   14068   need_locks=no
   14069 fi
   14070 
   14071 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14072 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14073 
   14074   runpath_var=
   14075   allow_undefined_flag_F77=
   14076   enable_shared_with_static_runtimes_F77=no
   14077   archive_cmds_F77=
   14078   archive_expsym_cmds_F77=
   14079   old_archive_From_new_cmds_F77=
   14080   old_archive_from_expsyms_cmds_F77=
   14081   export_dynamic_flag_spec_F77=
   14082   whole_archive_flag_spec_F77=
   14083   thread_safe_flag_spec_F77=
   14084   hardcode_libdir_flag_spec_F77=
   14085   hardcode_libdir_flag_spec_ld_F77=
   14086   hardcode_libdir_separator_F77=
   14087   hardcode_direct_F77=no
   14088   hardcode_minus_L_F77=no
   14089   hardcode_shlibpath_var_F77=unsupported
   14090   link_all_deplibs_F77=unknown
   14091   hardcode_automatic_F77=no
   14092   module_cmds_F77=
   14093   module_expsym_cmds_F77=
   14094   always_export_symbols_F77=no
   14095   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14096   # include_expsyms should be a list of space-separated symbols to be *always*
   14097   # included in the symbol list
   14098   include_expsyms_F77=
   14099   # exclude_expsyms can be an extended regexp of symbols to exclude
   14100   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14101   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14102   # as well as any symbol that contains `d'.
   14103   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14104   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14105   # platforms (ab)use it in PIC code, but their linkers get confused if
   14106   # the symbol is explicitly referenced.  Since portable code cannot
   14107   # rely on this symbol name, it's probably fine to never include it in
   14108   # preloaded symbol tables.
   14109   extract_expsyms_cmds=
   14110   # Just being paranoid about ensuring that cc_basename is set.
   14111   for cc_temp in $compiler""; do
   14112   case $cc_temp in
   14113     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14114     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14115     \-*) ;;
   14116     *) break;;
   14117   esac
   14118 done
   14119 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14120 
   14121   case $host_os in
   14122   cygwin* | mingw* | pw32*)
   14123     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14124     # When not using gcc, we currently assume that we are using
   14125     # Microsoft Visual C++.
   14126     if test "$GCC" != yes; then
   14127       with_gnu_ld=no
   14128     fi
   14129     ;;
   14130   interix*)
   14131     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14132     with_gnu_ld=yes
   14133     ;;
   14134   openbsd*)
   14135     with_gnu_ld=no
   14136     ;;
   14137   esac
   14138 
   14139   ld_shlibs_F77=yes
   14140   if test "$with_gnu_ld" = yes; then
   14141     # If archive_cmds runs LD, not CC, wlarc should be empty
   14142     wlarc='${wl}'
   14143 
   14144     # Set some defaults for GNU ld with shared library support. These
   14145     # are reset later if shared libraries are not supported. Putting them
   14146     # here allows them to be overridden if necessary.
   14147     runpath_var=LD_RUN_PATH
   14148     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14149     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14150     # ancient GNU ld didn't support --whole-archive et. al.
   14151     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14152 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14153       else
   14154   	whole_archive_flag_spec_F77=
   14155     fi
   14156     supports_anon_versioning=no
   14157     case `$LD -v 2>/dev/null` in
   14158       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14159       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14160       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14161       *\ 2.11.*) ;; # other 2.11 versions
   14162       *) supports_anon_versioning=yes ;;
   14163     esac
   14164 
   14165     # See if GNU ld supports shared libraries.
   14166     case $host_os in
   14167     aix3* | aix4* | aix5*)
   14168       # On AIX/PPC, the GNU linker is very broken
   14169       if test "$host_cpu" != ia64; then
   14170 	ld_shlibs_F77=no
   14171 	cat <<EOF 1>&2
   14172 
   14173 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14174 *** to be unable to reliably create shared libraries on AIX.
   14175 *** Therefore, libtool is disabling shared libraries support.  If you
   14176 *** really care for shared libraries, you may want to modify your PATH
   14177 *** so that a non-GNU linker is found, and then restart.
   14178 
   14179 EOF
   14180       fi
   14181       ;;
   14182 
   14183     amigaos*)
   14184       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)'
   14185       hardcode_libdir_flag_spec_F77='-L$libdir'
   14186       hardcode_minus_L_F77=yes
   14187 
   14188       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14189       # that the semantics of dynamic libraries on AmigaOS, at least up
   14190       # to version 4, is to share data among multiple programs linked
   14191       # with the same dynamic library.  Since this doesn't match the
   14192       # behavior of shared libraries on other platforms, we can't use
   14193       # them.
   14194       ld_shlibs_F77=no
   14195       ;;
   14196 
   14197     beos*)
   14198       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14199 	allow_undefined_flag_F77=unsupported
   14200 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14201 	# support --undefined.  This deserves some investigation.  FIXME
   14202 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14203       else
   14204 	ld_shlibs_F77=no
   14205       fi
   14206       ;;
   14207 
   14208     cygwin* | mingw* | pw32*)
   14209       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14210       # as there is no search path for DLLs.
   14211       hardcode_libdir_flag_spec_F77='-L$libdir'
   14212       allow_undefined_flag_F77=unsupported
   14213       always_export_symbols_F77=no
   14214       enable_shared_with_static_runtimes_F77=yes
   14215       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14216 
   14217       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14218         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14219 	# If the export-symbols file already is a .def file (1st line
   14220 	# is EXPORTS), use it as is; otherwise, prepend...
   14221 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14222 	  cp $export_symbols $output_objdir/$soname.def;
   14223 	else
   14224 	  echo EXPORTS > $output_objdir/$soname.def;
   14225 	  cat $export_symbols >> $output_objdir/$soname.def;
   14226 	fi~
   14227 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14228       else
   14229 	ld_shlibs_F77=no
   14230       fi
   14231       ;;
   14232 
   14233     interix3*)
   14234       hardcode_direct_F77=no
   14235       hardcode_shlibpath_var_F77=no
   14236       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14237       export_dynamic_flag_spec_F77='${wl}-E'
   14238       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14239       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14240       # default) and relocated if they conflict, which is a slow very memory
   14241       # consuming and fragmenting process.  To avoid this, we pick a random,
   14242       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14243       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14244       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'
   14245       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'
   14246       ;;
   14247 
   14248     linux*)
   14249       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14250 	tmp_addflag=
   14251 	case $cc_basename,$host_cpu in
   14252 	pgcc*)				# Portland Group C compiler
   14253 	  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'
   14254 	  tmp_addflag=' $pic_flag'
   14255 	  ;;
   14256 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14257 	  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'
   14258 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14259 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14260 	  tmp_addflag=' -i_dynamic' ;;
   14261 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14262 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14263 	ifc* | ifort*)			# Intel Fortran compiler
   14264 	  tmp_addflag=' -nofor_main' ;;
   14265 	esac
   14266 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14267 
   14268 	if test $supports_anon_versioning = yes; then
   14269 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14270   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14271   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14272 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14273 	fi
   14274       else
   14275 	ld_shlibs_F77=no
   14276       fi
   14277       ;;
   14278 
   14279     netbsd*)
   14280       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14281 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14282 	wlarc=
   14283       else
   14284 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14285 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14286       fi
   14287       ;;
   14288 
   14289     solaris*)
   14290       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14291 	ld_shlibs_F77=no
   14292 	cat <<EOF 1>&2
   14293 
   14294 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14295 *** create shared libraries on Solaris systems.  Therefore, libtool
   14296 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14297 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14298 *** your PATH or compiler configuration so that the native linker is
   14299 *** used, and then restart.
   14300 
   14301 EOF
   14302       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14303 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14304 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14305       else
   14306 	ld_shlibs_F77=no
   14307       fi
   14308       ;;
   14309 
   14310     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14311       case `$LD -v 2>&1` in
   14312         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14313 	ld_shlibs_F77=no
   14314 	cat <<_LT_EOF 1>&2
   14315 
   14316 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14317 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14318 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14319 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14320 *** your PATH or compiler configuration so that the native linker is
   14321 *** used, and then restart.
   14322 
   14323 _LT_EOF
   14324 	;;
   14325 	*)
   14326 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14327 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14328 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14329 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14330 	  else
   14331 	    ld_shlibs_F77=no
   14332 	  fi
   14333 	;;
   14334       esac
   14335       ;;
   14336 
   14337     sunos4*)
   14338       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14339       wlarc=
   14340       hardcode_direct_F77=yes
   14341       hardcode_shlibpath_var_F77=no
   14342       ;;
   14343 
   14344     *)
   14345       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14346 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14347 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14348       else
   14349 	ld_shlibs_F77=no
   14350       fi
   14351       ;;
   14352     esac
   14353 
   14354     if test "$ld_shlibs_F77" = no; then
   14355       runpath_var=
   14356       hardcode_libdir_flag_spec_F77=
   14357       export_dynamic_flag_spec_F77=
   14358       whole_archive_flag_spec_F77=
   14359     fi
   14360   else
   14361     # PORTME fill in a description of your system's linker (not GNU ld)
   14362     case $host_os in
   14363     aix3*)
   14364       allow_undefined_flag_F77=unsupported
   14365       always_export_symbols_F77=yes
   14366       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'
   14367       # Note: this linker hardcodes the directories in LIBPATH if there
   14368       # are no directories specified by -L.
   14369       hardcode_minus_L_F77=yes
   14370       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14371 	# Neither direct hardcoding nor static linking is supported with a
   14372 	# broken collect2.
   14373 	hardcode_direct_F77=unsupported
   14374       fi
   14375       ;;
   14376 
   14377     aix4* | aix5*)
   14378       if test "$host_cpu" = ia64; then
   14379 	# On IA64, the linker does run time linking by default, so we don't
   14380 	# have to do anything special.
   14381 	aix_use_runtimelinking=no
   14382 	exp_sym_flag='-Bexport'
   14383 	no_entry_flag=""
   14384       else
   14385 	# If we're using GNU nm, then we don't want the "-C" option.
   14386 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14387 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14388 	  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'
   14389 	else
   14390 	  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'
   14391 	fi
   14392 	aix_use_runtimelinking=no
   14393 
   14394 	# Test if we are trying to use run time linking or normal
   14395 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14396 	# need to do runtime linking.
   14397 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14398 	  for ld_flag in $LDFLAGS; do
   14399   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14400   	    aix_use_runtimelinking=yes
   14401   	    break
   14402   	  fi
   14403 	  done
   14404 	  ;;
   14405 	esac
   14406 
   14407 	exp_sym_flag='-bexport'
   14408 	no_entry_flag='-bnoentry'
   14409       fi
   14410 
   14411       # When large executables or shared objects are built, AIX ld can
   14412       # have problems creating the table of contents.  If linking a library
   14413       # or program results in "error TOC overflow" add -mminimal-toc to
   14414       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14415       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14416 
   14417       archive_cmds_F77=''
   14418       hardcode_direct_F77=yes
   14419       hardcode_libdir_separator_F77=':'
   14420       link_all_deplibs_F77=yes
   14421 
   14422       if test "$GCC" = yes; then
   14423 	case $host_os in aix4.[012]|aix4.[012].*)
   14424 	# We only want to do this on AIX 4.2 and lower, the check
   14425 	# below for broken collect2 doesn't work under 4.3+
   14426 	  collect2name=`${CC} -print-prog-name=collect2`
   14427 	  if test -f "$collect2name" && \
   14428   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14429 	  then
   14430   	  # We have reworked collect2
   14431   	  hardcode_direct_F77=yes
   14432 	  else
   14433   	  # We have old collect2
   14434   	  hardcode_direct_F77=unsupported
   14435   	  # It fails to find uninstalled libraries when the uninstalled
   14436   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14437   	  # to unsupported forces relinking
   14438   	  hardcode_minus_L_F77=yes
   14439   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14440   	  hardcode_libdir_separator_F77=
   14441 	  fi
   14442 	  ;;
   14443 	esac
   14444 	shared_flag='-shared'
   14445 	if test "$aix_use_runtimelinking" = yes; then
   14446 	  shared_flag="$shared_flag "'${wl}-G'
   14447 	fi
   14448       else
   14449 	# not using gcc
   14450 	if test "$host_cpu" = ia64; then
   14451   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14452   	# chokes on -Wl,-G. The following line is correct:
   14453 	  shared_flag='-G'
   14454 	else
   14455 	  if test "$aix_use_runtimelinking" = yes; then
   14456 	    shared_flag='${wl}-G'
   14457 	  else
   14458 	    shared_flag='${wl}-bM:SRE'
   14459 	  fi
   14460 	fi
   14461       fi
   14462 
   14463       # It seems that -bexpall does not export symbols beginning with
   14464       # underscore (_), so it is better to generate a list of symbols to export.
   14465       always_export_symbols_F77=yes
   14466       if test "$aix_use_runtimelinking" = yes; then
   14467 	# Warning - without using the other runtime loading flags (-brtl),
   14468 	# -berok will link without error, but may produce a broken library.
   14469 	allow_undefined_flag_F77='-berok'
   14470        # Determine the default libpath from the value encoded in an empty executable.
   14471        cat >conftest.$ac_ext <<_ACEOF
   14472       program main
   14473 
   14474       end
   14475 _ACEOF
   14476 rm -f conftest.$ac_objext conftest$ac_exeext
   14477 if { (ac_try="$ac_link"
   14478 case "(($ac_try" in
   14479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14480   *) ac_try_echo=$ac_try;;
   14481 esac
   14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14483   (eval "$ac_link") 2>conftest.er1
   14484   ac_status=$?
   14485   grep -v '^ *+' conftest.er1 >conftest.err
   14486   rm -f conftest.er1
   14487   cat conftest.err >&5
   14488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14489   (exit $ac_status); } && {
   14490 	 test -z "$ac_f77_werror_flag" ||
   14491 	 test ! -s conftest.err
   14492        } && test -s conftest$ac_exeext &&
   14493        $as_test_x conftest$ac_exeext; then
   14494 
   14495 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14496 }'`
   14497 # Check for a 64-bit object if we didn't find anything.
   14498 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; }
   14499 }'`; fi
   14500 else
   14501   echo "$as_me: failed program was:" >&5
   14502 sed 's/^/| /' conftest.$ac_ext >&5
   14503 
   14504 
   14505 fi
   14506 
   14507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14508       conftest$ac_exeext conftest.$ac_ext
   14509 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14510 
   14511        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14512 	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"
   14513        else
   14514 	if test "$host_cpu" = ia64; then
   14515 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14516 	  allow_undefined_flag_F77="-z nodefs"
   14517 	  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"
   14518 	else
   14519 	 # Determine the default libpath from the value encoded in an empty executable.
   14520 	 cat >conftest.$ac_ext <<_ACEOF
   14521       program main
   14522 
   14523       end
   14524 _ACEOF
   14525 rm -f conftest.$ac_objext conftest$ac_exeext
   14526 if { (ac_try="$ac_link"
   14527 case "(($ac_try" in
   14528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14529   *) ac_try_echo=$ac_try;;
   14530 esac
   14531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14532   (eval "$ac_link") 2>conftest.er1
   14533   ac_status=$?
   14534   grep -v '^ *+' conftest.er1 >conftest.err
   14535   rm -f conftest.er1
   14536   cat conftest.err >&5
   14537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14538   (exit $ac_status); } && {
   14539 	 test -z "$ac_f77_werror_flag" ||
   14540 	 test ! -s conftest.err
   14541        } && test -s conftest$ac_exeext &&
   14542        $as_test_x conftest$ac_exeext; then
   14543 
   14544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14545 }'`
   14546 # Check for a 64-bit object if we didn't find anything.
   14547 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; }
   14548 }'`; fi
   14549 else
   14550   echo "$as_me: failed program was:" >&5
   14551 sed 's/^/| /' conftest.$ac_ext >&5
   14552 
   14553 
   14554 fi
   14555 
   14556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14557       conftest$ac_exeext conftest.$ac_ext
   14558 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14559 
   14560 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14561 	  # Warning - without using the other run time loading flags,
   14562 	  # -berok will link without error, but may produce a broken library.
   14563 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14564 	  allow_undefined_flag_F77=' ${wl}-berok'
   14565 	  # Exported symbols can be pulled into shared objects from archives
   14566 	  whole_archive_flag_spec_F77='$convenience'
   14567 	  archive_cmds_need_lc_F77=yes
   14568 	  # This is similar to how AIX traditionally builds its shared libraries.
   14569 	  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'
   14570 	fi
   14571       fi
   14572       ;;
   14573 
   14574     amigaos*)
   14575       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)'
   14576       hardcode_libdir_flag_spec_F77='-L$libdir'
   14577       hardcode_minus_L_F77=yes
   14578       # see comment about different semantics on the GNU ld section
   14579       ld_shlibs_F77=no
   14580       ;;
   14581 
   14582     bsdi[45]*)
   14583       export_dynamic_flag_spec_F77=-rdynamic
   14584       ;;
   14585 
   14586     cygwin* | mingw* | pw32*)
   14587       # When not using gcc, we currently assume that we are using
   14588       # Microsoft Visual C++.
   14589       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14590       # no search path for DLLs.
   14591       hardcode_libdir_flag_spec_F77=' '
   14592       allow_undefined_flag_F77=unsupported
   14593       # Tell ltmain to make .lib files, not .a files.
   14594       libext=lib
   14595       # Tell ltmain to make .dll files, not .so files.
   14596       shrext_cmds=".dll"
   14597       # FIXME: Setting linknames here is a bad hack.
   14598       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14599       # The linker will automatically build a .lib file if we build a DLL.
   14600       old_archive_From_new_cmds_F77='true'
   14601       # FIXME: Should let the user specify the lib program.
   14602       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14603       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14604       enable_shared_with_static_runtimes_F77=yes
   14605       ;;
   14606 
   14607     darwin* | rhapsody*)
   14608       case $host_os in
   14609         rhapsody* | darwin1.[012])
   14610          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14611          ;;
   14612        *) # Darwin 1.3 on
   14613          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14614            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14615          else
   14616            case ${MACOSX_DEPLOYMENT_TARGET} in
   14617              10.[012])
   14618                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14619                ;;
   14620              10.*)
   14621                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14622                ;;
   14623            esac
   14624          fi
   14625          ;;
   14626       esac
   14627       archive_cmds_need_lc_F77=no
   14628       hardcode_direct_F77=no
   14629       hardcode_automatic_F77=yes
   14630       hardcode_shlibpath_var_F77=unsupported
   14631       whole_archive_flag_spec_F77=''
   14632       link_all_deplibs_F77=yes
   14633     if test "$GCC" = yes ; then
   14634     	output_verbose_link_cmd='echo'
   14635         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14636       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14637       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14638       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}'
   14639       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}'
   14640     else
   14641       case $cc_basename in
   14642         xlc*)
   14643          output_verbose_link_cmd='echo'
   14644          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14645          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14646           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14647          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}'
   14648           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}'
   14649           ;;
   14650        *)
   14651          ld_shlibs_F77=no
   14652           ;;
   14653       esac
   14654     fi
   14655       ;;
   14656 
   14657     dgux*)
   14658       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14659       hardcode_libdir_flag_spec_F77='-L$libdir'
   14660       hardcode_shlibpath_var_F77=no
   14661       ;;
   14662 
   14663     freebsd1*)
   14664       ld_shlibs_F77=no
   14665       ;;
   14666 
   14667     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14668     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14669     # does not break anything, and helps significantly (at the cost of a little
   14670     # extra space).
   14671     freebsd2.2*)
   14672       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14673       hardcode_libdir_flag_spec_F77='-R$libdir'
   14674       hardcode_direct_F77=yes
   14675       hardcode_shlibpath_var_F77=no
   14676       ;;
   14677 
   14678     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14679     freebsd2*)
   14680       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14681       hardcode_direct_F77=yes
   14682       hardcode_minus_L_F77=yes
   14683       hardcode_shlibpath_var_F77=no
   14684       ;;
   14685 
   14686     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14687     freebsd* | kfreebsd*-gnu | dragonfly*)
   14688       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14689       hardcode_libdir_flag_spec_F77='-R$libdir'
   14690       hardcode_direct_F77=yes
   14691       hardcode_shlibpath_var_F77=no
   14692       ;;
   14693 
   14694     hpux9*)
   14695       if test "$GCC" = yes; then
   14696 	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'
   14697       else
   14698 	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'
   14699       fi
   14700       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14701       hardcode_libdir_separator_F77=:
   14702       hardcode_direct_F77=yes
   14703 
   14704       # hardcode_minus_L: Not really in the search PATH,
   14705       # but as the default location of the library.
   14706       hardcode_minus_L_F77=yes
   14707       export_dynamic_flag_spec_F77='${wl}-E'
   14708       ;;
   14709 
   14710     hpux10*)
   14711       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14712 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14713       else
   14714 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14715       fi
   14716       if test "$with_gnu_ld" = no; then
   14717 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14718 	hardcode_libdir_separator_F77=:
   14719 
   14720 	hardcode_direct_F77=yes
   14721 	export_dynamic_flag_spec_F77='${wl}-E'
   14722 
   14723 	# hardcode_minus_L: Not really in the search PATH,
   14724 	# but as the default location of the library.
   14725 	hardcode_minus_L_F77=yes
   14726       fi
   14727       ;;
   14728 
   14729     hpux11*)
   14730       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14731 	case $host_cpu in
   14732 	hppa*64*)
   14733 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14734 	  ;;
   14735 	ia64*)
   14736 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14737 	  ;;
   14738 	*)
   14739 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14740 	  ;;
   14741 	esac
   14742       else
   14743 	case $host_cpu in
   14744 	hppa*64*)
   14745 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14746 	  ;;
   14747 	ia64*)
   14748 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14749 	  ;;
   14750 	*)
   14751 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14752 	  ;;
   14753 	esac
   14754       fi
   14755       if test "$with_gnu_ld" = no; then
   14756 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14757 	hardcode_libdir_separator_F77=:
   14758 
   14759 	case $host_cpu in
   14760 	hppa*64*|ia64*)
   14761 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14762 	  hardcode_direct_F77=no
   14763 	  hardcode_shlibpath_var_F77=no
   14764 	  ;;
   14765 	*)
   14766 	  hardcode_direct_F77=yes
   14767 	  export_dynamic_flag_spec_F77='${wl}-E'
   14768 
   14769 	  # hardcode_minus_L: Not really in the search PATH,
   14770 	  # but as the default location of the library.
   14771 	  hardcode_minus_L_F77=yes
   14772 	  ;;
   14773 	esac
   14774       fi
   14775       ;;
   14776 
   14777     irix5* | irix6* | nonstopux*)
   14778       if test "$GCC" = yes; then
   14779 	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'
   14780       else
   14781 	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'
   14782 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14783       fi
   14784       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14785       hardcode_libdir_separator_F77=:
   14786       link_all_deplibs_F77=yes
   14787       ;;
   14788 
   14789     netbsd*)
   14790       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14791 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14792       else
   14793 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14794       fi
   14795       hardcode_libdir_flag_spec_F77='-R$libdir'
   14796       hardcode_direct_F77=yes
   14797       hardcode_shlibpath_var_F77=no
   14798       ;;
   14799 
   14800     newsos6)
   14801       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14802       hardcode_direct_F77=yes
   14803       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14804       hardcode_libdir_separator_F77=:
   14805       hardcode_shlibpath_var_F77=no
   14806       ;;
   14807 
   14808     openbsd*)
   14809       hardcode_direct_F77=yes
   14810       hardcode_shlibpath_var_F77=no
   14811       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14812 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14813 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14814 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14815 	export_dynamic_flag_spec_F77='${wl}-E'
   14816       else
   14817        case $host_os in
   14818 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14819 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14820 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14821 	   ;;
   14822 	 *)
   14823 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14824 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14825 	   ;;
   14826        esac
   14827       fi
   14828       ;;
   14829 
   14830     os2*)
   14831       hardcode_libdir_flag_spec_F77='-L$libdir'
   14832       hardcode_minus_L_F77=yes
   14833       allow_undefined_flag_F77=unsupported
   14834       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'
   14835       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14836       ;;
   14837 
   14838     osf3*)
   14839       if test "$GCC" = yes; then
   14840 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14841 	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'
   14842       else
   14843 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14844 	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'
   14845       fi
   14846       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14847       hardcode_libdir_separator_F77=:
   14848       ;;
   14849 
   14850     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14851       if test "$GCC" = yes; then
   14852 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14853 	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'
   14854 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14855       else
   14856 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14857 	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'
   14858 	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~
   14859 	$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'
   14860 
   14861 	# Both c and cxx compiler support -rpath directly
   14862 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14863       fi
   14864       hardcode_libdir_separator_F77=:
   14865       ;;
   14866 
   14867     solaris*)
   14868       no_undefined_flag_F77=' -z text'
   14869       if test "$GCC" = yes; then
   14870 	wlarc='${wl}'
   14871 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14872 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14873 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14874       else
   14875 	wlarc=''
   14876 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14877 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14878   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14879       fi
   14880       hardcode_libdir_flag_spec_F77='-R$libdir'
   14881       hardcode_shlibpath_var_F77=no
   14882       case $host_os in
   14883       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14884       *)
   14885  	# The compiler driver will combine linker options so we
   14886  	# cannot just pass the convience library names through
   14887  	# without $wl, iff we do not link with $LD.
   14888  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14889  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14890  	case $wlarc in
   14891  	'')
   14892  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14893  	*)
   14894  	  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' ;;
   14895  	esac ;;
   14896       esac
   14897       link_all_deplibs_F77=yes
   14898       ;;
   14899 
   14900     sunos4*)
   14901       if test "x$host_vendor" = xsequent; then
   14902 	# Use $CC to link under sequent, because it throws in some extra .o
   14903 	# files that make .init and .fini sections work.
   14904 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14905       else
   14906 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14907       fi
   14908       hardcode_libdir_flag_spec_F77='-L$libdir'
   14909       hardcode_direct_F77=yes
   14910       hardcode_minus_L_F77=yes
   14911       hardcode_shlibpath_var_F77=no
   14912       ;;
   14913 
   14914     sysv4)
   14915       case $host_vendor in
   14916 	sni)
   14917 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14918 	  hardcode_direct_F77=yes # is this really true???
   14919 	;;
   14920 	siemens)
   14921 	  ## LD is ld it makes a PLAMLIB
   14922 	  ## CC just makes a GrossModule.
   14923 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14924 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14925 	  hardcode_direct_F77=no
   14926         ;;
   14927 	motorola)
   14928 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14929 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14930 	;;
   14931       esac
   14932       runpath_var='LD_RUN_PATH'
   14933       hardcode_shlibpath_var_F77=no
   14934       ;;
   14935 
   14936     sysv4.3*)
   14937       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14938       hardcode_shlibpath_var_F77=no
   14939       export_dynamic_flag_spec_F77='-Bexport'
   14940       ;;
   14941 
   14942     sysv4*MP*)
   14943       if test -d /usr/nec; then
   14944 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14945 	hardcode_shlibpath_var_F77=no
   14946 	runpath_var=LD_RUN_PATH
   14947 	hardcode_runpath_var=yes
   14948 	ld_shlibs_F77=yes
   14949       fi
   14950       ;;
   14951 
   14952     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14953       no_undefined_flag_F77='${wl}-z,text'
   14954       archive_cmds_need_lc_F77=no
   14955       hardcode_shlibpath_var_F77=no
   14956       runpath_var='LD_RUN_PATH'
   14957 
   14958       if test "$GCC" = yes; then
   14959 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14960 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14961       else
   14962 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14963 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14964       fi
   14965       ;;
   14966 
   14967     sysv5* | sco3.2v5* | sco5v6*)
   14968       # Note: We can NOT use -z defs as we might desire, because we do not
   14969       # link with -lc, and that would cause any symbols used from libc to
   14970       # always be unresolved, which means just about no library would
   14971       # ever link correctly.  If we're not using GNU ld we use -z text
   14972       # though, which does catch some bad symbols but isn't as heavy-handed
   14973       # as -z defs.
   14974       no_undefined_flag_F77='${wl}-z,text'
   14975       allow_undefined_flag_F77='${wl}-z,nodefs'
   14976       archive_cmds_need_lc_F77=no
   14977       hardcode_shlibpath_var_F77=no
   14978       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14979       hardcode_libdir_separator_F77=':'
   14980       link_all_deplibs_F77=yes
   14981       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14982       runpath_var='LD_RUN_PATH'
   14983 
   14984       if test "$GCC" = yes; then
   14985 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14986 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14987       else
   14988 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14989 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14990       fi
   14991       ;;
   14992 
   14993     uts4*)
   14994       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14995       hardcode_libdir_flag_spec_F77='-L$libdir'
   14996       hardcode_shlibpath_var_F77=no
   14997       ;;
   14998 
   14999     *)
   15000       ld_shlibs_F77=no
   15001       ;;
   15002     esac
   15003   fi
   15004 
   15005 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15006 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15007 test "$ld_shlibs_F77" = no && can_build_shared=no
   15008 
   15009 #
   15010 # Do we need to explicitly link libc?
   15011 #
   15012 case "x$archive_cmds_need_lc_F77" in
   15013 x|xyes)
   15014   # Assume -lc should be added
   15015   archive_cmds_need_lc_F77=yes
   15016 
   15017   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15018     case $archive_cmds_F77 in
   15019     *'~'*)
   15020       # FIXME: we may have to deal with multi-command sequences.
   15021       ;;
   15022     '$CC '*)
   15023       # Test whether the compiler implicitly links with -lc since on some
   15024       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15025       # to ld, don't add -lc before -lgcc.
   15026       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15027 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15028       $rm conftest*
   15029       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15030 
   15031       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15032   (eval $ac_compile) 2>&5
   15033   ac_status=$?
   15034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15035   (exit $ac_status); } 2>conftest.err; then
   15036         soname=conftest
   15037         lib=conftest
   15038         libobjs=conftest.$ac_objext
   15039         deplibs=
   15040         wl=$lt_prog_compiler_wl_F77
   15041 	pic_flag=$lt_prog_compiler_pic_F77
   15042         compiler_flags=-v
   15043         linker_flags=-v
   15044         verstring=
   15045         output_objdir=.
   15046         libname=conftest
   15047         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15048         allow_undefined_flag_F77=
   15049         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15050   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15051   ac_status=$?
   15052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15053   (exit $ac_status); }
   15054         then
   15055 	  archive_cmds_need_lc_F77=no
   15056         else
   15057 	  archive_cmds_need_lc_F77=yes
   15058         fi
   15059         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15060       else
   15061         cat conftest.err 1>&5
   15062       fi
   15063       $rm conftest*
   15064       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15065 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15066       ;;
   15067     esac
   15068   fi
   15069   ;;
   15070 esac
   15071 
   15072 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15073 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15074 library_names_spec=
   15075 libname_spec='lib$name'
   15076 soname_spec=
   15077 shrext_cmds=".so"
   15078 postinstall_cmds=
   15079 postuninstall_cmds=
   15080 finish_cmds=
   15081 finish_eval=
   15082 shlibpath_var=
   15083 shlibpath_overrides_runpath=unknown
   15084 version_type=none
   15085 dynamic_linker="$host_os ld.so"
   15086 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15087 if test "$GCC" = yes; then
   15088   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15089   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15090     # if the path contains ";" then we assume it to be the separator
   15091     # otherwise default to the standard path separator (i.e. ":") - it is
   15092     # assumed that no part of a normal pathname contains ";" but that should
   15093     # okay in the real world where ";" in dirpaths is itself problematic.
   15094     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15095   else
   15096     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15097   fi
   15098 else
   15099   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15100 fi
   15101 need_lib_prefix=unknown
   15102 hardcode_into_libs=no
   15103 
   15104 # when you set need_version to no, make sure it does not cause -set_version
   15105 # flags to be left without arguments
   15106 need_version=unknown
   15107 
   15108 case $host_os in
   15109 aix3*)
   15110   version_type=linux
   15111   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15112   shlibpath_var=LIBPATH
   15113 
   15114   # AIX 3 has no versioning support, so we append a major version to the name.
   15115   soname_spec='${libname}${release}${shared_ext}$major'
   15116   ;;
   15117 
   15118 aix4* | aix5*)
   15119   version_type=linux
   15120   need_lib_prefix=no
   15121   need_version=no
   15122   hardcode_into_libs=yes
   15123   if test "$host_cpu" = ia64; then
   15124     # AIX 5 supports IA64
   15125     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15126     shlibpath_var=LD_LIBRARY_PATH
   15127   else
   15128     # With GCC up to 2.95.x, collect2 would create an import file
   15129     # for dependence libraries.  The import file would start with
   15130     # the line `#! .'.  This would cause the generated library to
   15131     # depend on `.', always an invalid library.  This was fixed in
   15132     # development snapshots of GCC prior to 3.0.
   15133     case $host_os in
   15134       aix4 | aix4.[01] | aix4.[01].*)
   15135       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15136 	   echo ' yes '
   15137 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15138 	:
   15139       else
   15140 	can_build_shared=no
   15141       fi
   15142       ;;
   15143     esac
   15144     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15145     # soname into executable. Probably we can add versioning support to
   15146     # collect2, so additional links can be useful in future.
   15147     if test "$aix_use_runtimelinking" = yes; then
   15148       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15149       # instead of lib<name>.a to let people know that these are not
   15150       # typical AIX shared libraries.
   15151       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15152     else
   15153       # We preserve .a as extension for shared libraries through AIX4.2
   15154       # and later when we are not doing run time linking.
   15155       library_names_spec='${libname}${release}.a $libname.a'
   15156       soname_spec='${libname}${release}${shared_ext}$major'
   15157     fi
   15158     shlibpath_var=LIBPATH
   15159   fi
   15160   ;;
   15161 
   15162 amigaos*)
   15163   library_names_spec='$libname.ixlibrary $libname.a'
   15164   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15165   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'
   15166   ;;
   15167 
   15168 beos*)
   15169   library_names_spec='${libname}${shared_ext}'
   15170   dynamic_linker="$host_os ld.so"
   15171   shlibpath_var=LIBRARY_PATH
   15172   ;;
   15173 
   15174 bsdi[45]*)
   15175   version_type=linux
   15176   need_version=no
   15177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15178   soname_spec='${libname}${release}${shared_ext}$major'
   15179   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15180   shlibpath_var=LD_LIBRARY_PATH
   15181   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15182   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15183   # the default ld.so.conf also contains /usr/contrib/lib and
   15184   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15185   # libtool to hard-code these into programs
   15186   ;;
   15187 
   15188 cygwin* | mingw* | pw32*)
   15189   version_type=windows
   15190   shrext_cmds=".dll"
   15191   need_version=no
   15192   need_lib_prefix=no
   15193 
   15194   case $GCC,$host_os in
   15195   yes,cygwin* | yes,mingw* | yes,pw32*)
   15196     library_names_spec='$libname.dll.a'
   15197     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15198     postinstall_cmds='base_file=`basename \${file}`~
   15199       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15200       dldir=$destdir/`dirname \$dlpath`~
   15201       test -d \$dldir || mkdir -p \$dldir~
   15202       $install_prog $dir/$dlname \$dldir/$dlname~
   15203       chmod a+x \$dldir/$dlname'
   15204     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15205       dlpath=$dir/\$dldll~
   15206        $rm \$dlpath'
   15207     shlibpath_overrides_runpath=yes
   15208 
   15209     case $host_os in
   15210     cygwin*)
   15211       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15212       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15213       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15214       ;;
   15215     mingw*)
   15216       # MinGW DLLs use traditional 'lib' prefix
   15217       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15218       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15219       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15220         # It is most probably a Windows format PATH printed by
   15221         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15222         # path with ; separators, and with drive letters. We can handle the
   15223         # drive letters (cygwin fileutils understands them), so leave them,
   15224         # especially as we might pass files found there to a mingw objdump,
   15225         # which wouldn't understand a cygwinified path. Ahh.
   15226         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15227       else
   15228         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15229       fi
   15230       ;;
   15231     pw32*)
   15232       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15233       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15234       ;;
   15235     esac
   15236     ;;
   15237 
   15238   *)
   15239     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15240     ;;
   15241   esac
   15242   dynamic_linker='Win32 ld.exe'
   15243   # FIXME: first we should search . and the directory the executable is in
   15244   shlibpath_var=PATH
   15245   ;;
   15246 
   15247 darwin* | rhapsody*)
   15248   dynamic_linker="$host_os dyld"
   15249   version_type=darwin
   15250   need_lib_prefix=no
   15251   need_version=no
   15252   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15253   soname_spec='${libname}${release}${major}$shared_ext'
   15254   shlibpath_overrides_runpath=yes
   15255   shlibpath_var=DYLD_LIBRARY_PATH
   15256   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15257   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15258   if test "$GCC" = yes; then
   15259     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"`
   15260   else
   15261     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15262   fi
   15263   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15264   ;;
   15265 
   15266 dgux*)
   15267   version_type=linux
   15268   need_lib_prefix=no
   15269   need_version=no
   15270   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15271   soname_spec='${libname}${release}${shared_ext}$major'
   15272   shlibpath_var=LD_LIBRARY_PATH
   15273   ;;
   15274 
   15275 freebsd1*)
   15276   dynamic_linker=no
   15277   ;;
   15278 
   15279 kfreebsd*-gnu)
   15280   version_type=linux
   15281   need_lib_prefix=no
   15282   need_version=no
   15283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15284   soname_spec='${libname}${release}${shared_ext}$major'
   15285   shlibpath_var=LD_LIBRARY_PATH
   15286   shlibpath_overrides_runpath=no
   15287   hardcode_into_libs=yes
   15288   dynamic_linker='GNU ld.so'
   15289   ;;
   15290 
   15291 freebsd* | dragonfly*)
   15292   # DragonFly does not have aout.  When/if they implement a new
   15293   # versioning mechanism, adjust this.
   15294   if test -x /usr/bin/objformat; then
   15295     objformat=`/usr/bin/objformat`
   15296   else
   15297     case $host_os in
   15298     freebsd[123]*) objformat=aout ;;
   15299     *) objformat=elf ;;
   15300     esac
   15301   fi
   15302   version_type=freebsd-$objformat
   15303   case $version_type in
   15304     freebsd-elf*)
   15305       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15306       need_version=no
   15307       need_lib_prefix=no
   15308       ;;
   15309     freebsd-*)
   15310       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15311       need_version=yes
   15312       ;;
   15313   esac
   15314   shlibpath_var=LD_LIBRARY_PATH
   15315   case $host_os in
   15316   freebsd2*)
   15317     shlibpath_overrides_runpath=yes
   15318     ;;
   15319   freebsd3.[01]* | freebsdelf3.[01]*)
   15320     shlibpath_overrides_runpath=yes
   15321     hardcode_into_libs=yes
   15322     ;;
   15323   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15324   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15325     shlibpath_overrides_runpath=no
   15326     hardcode_into_libs=yes
   15327     ;;
   15328   freebsd*) # from 4.6 on
   15329     shlibpath_overrides_runpath=yes
   15330     hardcode_into_libs=yes
   15331     ;;
   15332   esac
   15333   ;;
   15334 
   15335 gnu*)
   15336   version_type=linux
   15337   need_lib_prefix=no
   15338   need_version=no
   15339   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15340   soname_spec='${libname}${release}${shared_ext}$major'
   15341   shlibpath_var=LD_LIBRARY_PATH
   15342   hardcode_into_libs=yes
   15343   ;;
   15344 
   15345 hpux9* | hpux10* | hpux11*)
   15346   # Give a soname corresponding to the major version so that dld.sl refuses to
   15347   # link against other versions.
   15348   version_type=sunos
   15349   need_lib_prefix=no
   15350   need_version=no
   15351   case $host_cpu in
   15352   ia64*)
   15353     shrext_cmds='.so'
   15354     hardcode_into_libs=yes
   15355     dynamic_linker="$host_os dld.so"
   15356     shlibpath_var=LD_LIBRARY_PATH
   15357     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15358     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15359     soname_spec='${libname}${release}${shared_ext}$major'
   15360     if test "X$HPUX_IA64_MODE" = X32; then
   15361       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15362     else
   15363       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15364     fi
   15365     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15366     ;;
   15367    hppa*64*)
   15368      shrext_cmds='.sl'
   15369      hardcode_into_libs=yes
   15370      dynamic_linker="$host_os dld.sl"
   15371      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15372      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15373      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15374      soname_spec='${libname}${release}${shared_ext}$major'
   15375      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15376      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15377      ;;
   15378    *)
   15379     shrext_cmds='.sl'
   15380     dynamic_linker="$host_os dld.sl"
   15381     shlibpath_var=SHLIB_PATH
   15382     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15383     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15384     soname_spec='${libname}${release}${shared_ext}$major'
   15385     ;;
   15386   esac
   15387   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15388   postinstall_cmds='chmod 555 $lib'
   15389   ;;
   15390 
   15391 interix3*)
   15392   version_type=linux
   15393   need_lib_prefix=no
   15394   need_version=no
   15395   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15396   soname_spec='${libname}${release}${shared_ext}$major'
   15397   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15398   shlibpath_var=LD_LIBRARY_PATH
   15399   shlibpath_overrides_runpath=no
   15400   hardcode_into_libs=yes
   15401   ;;
   15402 
   15403 irix5* | irix6* | nonstopux*)
   15404   case $host_os in
   15405     nonstopux*) version_type=nonstopux ;;
   15406     *)
   15407 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15408 		version_type=linux
   15409 	else
   15410 		version_type=irix
   15411 	fi ;;
   15412   esac
   15413   need_lib_prefix=no
   15414   need_version=no
   15415   soname_spec='${libname}${release}${shared_ext}$major'
   15416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15417   case $host_os in
   15418   irix5* | nonstopux*)
   15419     libsuff= shlibsuff=
   15420     ;;
   15421   *)
   15422     case $LD in # libtool.m4 will add one of these switches to LD
   15423     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15424       libsuff= shlibsuff= libmagic=32-bit;;
   15425     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15426       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15427     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15428       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15429     *) libsuff= shlibsuff= libmagic=never-match;;
   15430     esac
   15431     ;;
   15432   esac
   15433   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15434   shlibpath_overrides_runpath=no
   15435   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15436   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15437   hardcode_into_libs=yes
   15438   ;;
   15439 
   15440 # No shared lib support for Linux oldld, aout, or coff.
   15441 linux*oldld* | linux*aout* | linux*coff*)
   15442   dynamic_linker=no
   15443   ;;
   15444 
   15445 # This must be Linux ELF.
   15446 linux*)
   15447   version_type=linux
   15448   need_lib_prefix=no
   15449   need_version=no
   15450   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15451   soname_spec='${libname}${release}${shared_ext}$major'
   15452   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15453   shlibpath_var=LD_LIBRARY_PATH
   15454   shlibpath_overrides_runpath=no
   15455   # This implies no fast_install, which is unacceptable.
   15456   # Some rework will be needed to allow for fast_install
   15457   # before this can be enabled.
   15458   hardcode_into_libs=yes
   15459 
   15460   # Append ld.so.conf contents to the search path
   15461   if test -f /etc/ld.so.conf; then
   15462     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   15463     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15464   fi
   15465 
   15466   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15467   # powerpc, because MkLinux only supported shared libraries with the
   15468   # GNU dynamic linker.  Since this was broken with cross compilers,
   15469   # most powerpc-linux boxes support dynamic linking these days and
   15470   # people can always --disable-shared, the test was removed, and we
   15471   # assume the GNU/Linux dynamic linker is in use.
   15472   dynamic_linker='GNU/Linux ld.so'
   15473   ;;
   15474 
   15475 knetbsd*-gnu)
   15476   version_type=linux
   15477   need_lib_prefix=no
   15478   need_version=no
   15479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15480   soname_spec='${libname}${release}${shared_ext}$major'
   15481   shlibpath_var=LD_LIBRARY_PATH
   15482   shlibpath_overrides_runpath=no
   15483   hardcode_into_libs=yes
   15484   dynamic_linker='GNU ld.so'
   15485   ;;
   15486 
   15487 netbsd*)
   15488   version_type=sunos
   15489   need_lib_prefix=no
   15490   need_version=no
   15491   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15492     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15493     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15494     dynamic_linker='NetBSD (a.out) ld.so'
   15495   else
   15496     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15497     soname_spec='${libname}${release}${shared_ext}$major'
   15498     dynamic_linker='NetBSD ld.elf_so'
   15499   fi
   15500   shlibpath_var=LD_LIBRARY_PATH
   15501   shlibpath_overrides_runpath=yes
   15502   hardcode_into_libs=yes
   15503   ;;
   15504 
   15505 newsos6)
   15506   version_type=linux
   15507   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15508   shlibpath_var=LD_LIBRARY_PATH
   15509   shlibpath_overrides_runpath=yes
   15510   ;;
   15511 
   15512 nto-qnx*)
   15513   version_type=linux
   15514   need_lib_prefix=no
   15515   need_version=no
   15516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15517   soname_spec='${libname}${release}${shared_ext}$major'
   15518   shlibpath_var=LD_LIBRARY_PATH
   15519   shlibpath_overrides_runpath=yes
   15520   ;;
   15521 
   15522 openbsd*)
   15523   version_type=sunos
   15524   sys_lib_dlsearch_path_spec="/usr/lib"
   15525   need_lib_prefix=no
   15526   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15527   case $host_os in
   15528     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15529     *)                         need_version=no  ;;
   15530   esac
   15531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15532   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15533   shlibpath_var=LD_LIBRARY_PATH
   15534   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15535     case $host_os in
   15536       openbsd2.[89] | openbsd2.[89].*)
   15537 	shlibpath_overrides_runpath=no
   15538 	;;
   15539       *)
   15540 	shlibpath_overrides_runpath=yes
   15541 	;;
   15542       esac
   15543   else
   15544     shlibpath_overrides_runpath=yes
   15545   fi
   15546   ;;
   15547 
   15548 os2*)
   15549   libname_spec='$name'
   15550   shrext_cmds=".dll"
   15551   need_lib_prefix=no
   15552   library_names_spec='$libname${shared_ext} $libname.a'
   15553   dynamic_linker='OS/2 ld.exe'
   15554   shlibpath_var=LIBPATH
   15555   ;;
   15556 
   15557 osf3* | osf4* | osf5*)
   15558   version_type=osf
   15559   need_lib_prefix=no
   15560   need_version=no
   15561   soname_spec='${libname}${release}${shared_ext}$major'
   15562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15563   shlibpath_var=LD_LIBRARY_PATH
   15564   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15565   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15566   ;;
   15567 
   15568 solaris*)
   15569   version_type=linux
   15570   need_lib_prefix=no
   15571   need_version=no
   15572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15573   soname_spec='${libname}${release}${shared_ext}$major'
   15574   shlibpath_var=LD_LIBRARY_PATH
   15575   shlibpath_overrides_runpath=yes
   15576   hardcode_into_libs=yes
   15577   # ldd complains unless libraries are executable
   15578   postinstall_cmds='chmod +x $lib'
   15579   ;;
   15580 
   15581 sunos4*)
   15582   version_type=sunos
   15583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15584   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15585   shlibpath_var=LD_LIBRARY_PATH
   15586   shlibpath_overrides_runpath=yes
   15587   if test "$with_gnu_ld" = yes; then
   15588     need_lib_prefix=no
   15589   fi
   15590   need_version=yes
   15591   ;;
   15592 
   15593 sysv4 | sysv4.3*)
   15594   version_type=linux
   15595   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15596   soname_spec='${libname}${release}${shared_ext}$major'
   15597   shlibpath_var=LD_LIBRARY_PATH
   15598   case $host_vendor in
   15599     sni)
   15600       shlibpath_overrides_runpath=no
   15601       need_lib_prefix=no
   15602       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15603       runpath_var=LD_RUN_PATH
   15604       ;;
   15605     siemens)
   15606       need_lib_prefix=no
   15607       ;;
   15608     motorola)
   15609       need_lib_prefix=no
   15610       need_version=no
   15611       shlibpath_overrides_runpath=no
   15612       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15613       ;;
   15614   esac
   15615   ;;
   15616 
   15617 sysv4*MP*)
   15618   if test -d /usr/nec ;then
   15619     version_type=linux
   15620     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15621     soname_spec='$libname${shared_ext}.$major'
   15622     shlibpath_var=LD_LIBRARY_PATH
   15623   fi
   15624   ;;
   15625 
   15626 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15627   version_type=freebsd-elf
   15628   need_lib_prefix=no
   15629   need_version=no
   15630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15631   soname_spec='${libname}${release}${shared_ext}$major'
   15632   shlibpath_var=LD_LIBRARY_PATH
   15633   hardcode_into_libs=yes
   15634   if test "$with_gnu_ld" = yes; then
   15635     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15636     shlibpath_overrides_runpath=no
   15637   else
   15638     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15639     shlibpath_overrides_runpath=yes
   15640     case $host_os in
   15641       sco3.2v5*)
   15642         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15643 	;;
   15644     esac
   15645   fi
   15646   sys_lib_dlsearch_path_spec='/usr/lib'
   15647   ;;
   15648 
   15649 uts4*)
   15650   version_type=linux
   15651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15652   soname_spec='${libname}${release}${shared_ext}$major'
   15653   shlibpath_var=LD_LIBRARY_PATH
   15654   ;;
   15655 
   15656 *)
   15657   dynamic_linker=no
   15658   ;;
   15659 esac
   15660 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15661 echo "${ECHO_T}$dynamic_linker" >&6; }
   15662 test "$dynamic_linker" = no && can_build_shared=no
   15663 
   15664 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15665 if test "$GCC" = yes; then
   15666   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15667 fi
   15668 
   15669 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15670 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15671 hardcode_action_F77=
   15672 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15673    test -n "$runpath_var_F77" || \
   15674    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15675 
   15676   # We can hardcode non-existant directories.
   15677   if test "$hardcode_direct_F77" != no &&
   15678      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15679      # have to relink, otherwise we might link with an installed library
   15680      # when we should be linking with a yet-to-be-installed one
   15681      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15682      test "$hardcode_minus_L_F77" != no; then
   15683     # Linking always hardcodes the temporary library directory.
   15684     hardcode_action_F77=relink
   15685   else
   15686     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15687     hardcode_action_F77=immediate
   15688   fi
   15689 else
   15690   # We cannot hardcode anything, or else we can only hardcode existing
   15691   # directories.
   15692   hardcode_action_F77=unsupported
   15693 fi
   15694 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15695 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15696 
   15697 if test "$hardcode_action_F77" = relink; then
   15698   # Fast installation is not supported
   15699   enable_fast_install=no
   15700 elif test "$shlibpath_overrides_runpath" = yes ||
   15701      test "$enable_shared" = no; then
   15702   # Fast installation is not necessary
   15703   enable_fast_install=needless
   15704 fi
   15705 
   15706 
   15707 # The else clause should only fire when bootstrapping the
   15708 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15709 # with your package, and you will get complaints that there are
   15710 # no rules to generate ltmain.sh.
   15711 if test -f "$ltmain"; then
   15712   # See if we are running on zsh, and set the options which allow our commands through
   15713   # without removal of \ escapes.
   15714   if test -n "${ZSH_VERSION+set}" ; then
   15715     setopt NO_GLOB_SUBST
   15716   fi
   15717   # Now quote all the things that may contain metacharacters while being
   15718   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15719   # variables and quote the copies for generation of the libtool script.
   15720   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15721     SED SHELL STRIP \
   15722     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15723     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15724     deplibs_check_method reload_flag reload_cmds need_locks \
   15725     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15726     lt_cv_sys_global_symbol_to_c_name_address \
   15727     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15728     old_postinstall_cmds old_postuninstall_cmds \
   15729     compiler_F77 \
   15730     CC_F77 \
   15731     LD_F77 \
   15732     lt_prog_compiler_wl_F77 \
   15733     lt_prog_compiler_pic_F77 \
   15734     lt_prog_compiler_static_F77 \
   15735     lt_prog_compiler_no_builtin_flag_F77 \
   15736     export_dynamic_flag_spec_F77 \
   15737     thread_safe_flag_spec_F77 \
   15738     whole_archive_flag_spec_F77 \
   15739     enable_shared_with_static_runtimes_F77 \
   15740     old_archive_cmds_F77 \
   15741     old_archive_from_new_cmds_F77 \
   15742     predep_objects_F77 \
   15743     postdep_objects_F77 \
   15744     predeps_F77 \
   15745     postdeps_F77 \
   15746     compiler_lib_search_path_F77 \
   15747     archive_cmds_F77 \
   15748     archive_expsym_cmds_F77 \
   15749     postinstall_cmds_F77 \
   15750     postuninstall_cmds_F77 \
   15751     old_archive_from_expsyms_cmds_F77 \
   15752     allow_undefined_flag_F77 \
   15753     no_undefined_flag_F77 \
   15754     export_symbols_cmds_F77 \
   15755     hardcode_libdir_flag_spec_F77 \
   15756     hardcode_libdir_flag_spec_ld_F77 \
   15757     hardcode_libdir_separator_F77 \
   15758     hardcode_automatic_F77 \
   15759     module_cmds_F77 \
   15760     module_expsym_cmds_F77 \
   15761     lt_cv_prog_compiler_c_o_F77 \
   15762     exclude_expsyms_F77 \
   15763     include_expsyms_F77; do
   15764 
   15765     case $var in
   15766     old_archive_cmds_F77 | \
   15767     old_archive_from_new_cmds_F77 | \
   15768     archive_cmds_F77 | \
   15769     archive_expsym_cmds_F77 | \
   15770     module_cmds_F77 | \
   15771     module_expsym_cmds_F77 | \
   15772     old_archive_from_expsyms_cmds_F77 | \
   15773     export_symbols_cmds_F77 | \
   15774     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15775     postinstall_cmds | postuninstall_cmds | \
   15776     old_postinstall_cmds | old_postuninstall_cmds | \
   15777     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15778       # Double-quote double-evaled strings.
   15779       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15780       ;;
   15781     *)
   15782       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15783       ;;
   15784     esac
   15785   done
   15786 
   15787   case $lt_echo in
   15788   *'\$0 --fallback-echo"')
   15789     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15790     ;;
   15791   esac
   15792 
   15793 cfgfile="$ofile"
   15794 
   15795   cat <<__EOF__ >> "$cfgfile"
   15796 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15797 
   15798 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15799 
   15800 # Shell to use when invoking shell scripts.
   15801 SHELL=$lt_SHELL
   15802 
   15803 # Whether or not to build shared libraries.
   15804 build_libtool_libs=$enable_shared
   15805 
   15806 # Whether or not to build static libraries.
   15807 build_old_libs=$enable_static
   15808 
   15809 # Whether or not to add -lc for building shared libraries.
   15810 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15811 
   15812 # Whether or not to disallow shared libs when runtime libs are static
   15813 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15814 
   15815 # Whether or not to optimize for fast installation.
   15816 fast_install=$enable_fast_install
   15817 
   15818 # The host system.
   15819 host_alias=$host_alias
   15820 host=$host
   15821 host_os=$host_os
   15822 
   15823 # The build system.
   15824 build_alias=$build_alias
   15825 build=$build
   15826 build_os=$build_os
   15827 
   15828 # An echo program that does not interpret backslashes.
   15829 echo=$lt_echo
   15830 
   15831 # The archiver.
   15832 AR=$lt_AR
   15833 AR_FLAGS=$lt_AR_FLAGS
   15834 
   15835 # A C compiler.
   15836 LTCC=$lt_LTCC
   15837 
   15838 # LTCC compiler flags.
   15839 LTCFLAGS=$lt_LTCFLAGS
   15840 
   15841 # A language-specific compiler.
   15842 CC=$lt_compiler_F77
   15843 
   15844 # Is the compiler the GNU C compiler?
   15845 with_gcc=$GCC_F77
   15846 
   15847 # An ERE matcher.
   15848 EGREP=$lt_EGREP
   15849 
   15850 # The linker used to build libraries.
   15851 LD=$lt_LD_F77
   15852 
   15853 # Whether we need hard or soft links.
   15854 LN_S=$lt_LN_S
   15855 
   15856 # A BSD-compatible nm program.
   15857 NM=$lt_NM
   15858 
   15859 # A symbol stripping program
   15860 STRIP=$lt_STRIP
   15861 
   15862 # Used to examine libraries when file_magic_cmd begins "file"
   15863 MAGIC_CMD=$MAGIC_CMD
   15864 
   15865 # Used on cygwin: DLL creation program.
   15866 DLLTOOL="$DLLTOOL"
   15867 
   15868 # Used on cygwin: object dumper.
   15869 OBJDUMP="$OBJDUMP"
   15870 
   15871 # Used on cygwin: assembler.
   15872 AS="$AS"
   15873 
   15874 # The name of the directory that contains temporary libtool files.
   15875 objdir=$objdir
   15876 
   15877 # How to create reloadable object files.
   15878 reload_flag=$lt_reload_flag
   15879 reload_cmds=$lt_reload_cmds
   15880 
   15881 # How to pass a linker flag through the compiler.
   15882 wl=$lt_lt_prog_compiler_wl_F77
   15883 
   15884 # Object file suffix (normally "o").
   15885 objext="$ac_objext"
   15886 
   15887 # Old archive suffix (normally "a").
   15888 libext="$libext"
   15889 
   15890 # Shared library suffix (normally ".so").
   15891 shrext_cmds='$shrext_cmds'
   15892 
   15893 # Executable file suffix (normally "").
   15894 exeext="$exeext"
   15895 
   15896 # Additional compiler flags for building library objects.
   15897 pic_flag=$lt_lt_prog_compiler_pic_F77
   15898 pic_mode=$pic_mode
   15899 
   15900 # What is the maximum length of a command?
   15901 max_cmd_len=$lt_cv_sys_max_cmd_len
   15902 
   15903 # Does compiler simultaneously support -c and -o options?
   15904 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15905 
   15906 # Must we lock files when doing compilation?
   15907 need_locks=$lt_need_locks
   15908 
   15909 # Do we need the lib prefix for modules?
   15910 need_lib_prefix=$need_lib_prefix
   15911 
   15912 # Do we need a version for libraries?
   15913 need_version=$need_version
   15914 
   15915 # Whether dlopen is supported.
   15916 dlopen_support=$enable_dlopen
   15917 
   15918 # Whether dlopen of programs is supported.
   15919 dlopen_self=$enable_dlopen_self
   15920 
   15921 # Whether dlopen of statically linked programs is supported.
   15922 dlopen_self_static=$enable_dlopen_self_static
   15923 
   15924 # Compiler flag to prevent dynamic linking.
   15925 link_static_flag=$lt_lt_prog_compiler_static_F77
   15926 
   15927 # Compiler flag to turn off builtin functions.
   15928 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15929 
   15930 # Compiler flag to allow reflexive dlopens.
   15931 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15932 
   15933 # Compiler flag to generate shared objects directly from archives.
   15934 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15935 
   15936 # Compiler flag to generate thread-safe objects.
   15937 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15938 
   15939 # Library versioning type.
   15940 version_type=$version_type
   15941 
   15942 # Format of library name prefix.
   15943 libname_spec=$lt_libname_spec
   15944 
   15945 # List of archive names.  First name is the real one, the rest are links.
   15946 # The last name is the one that the linker finds with -lNAME.
   15947 library_names_spec=$lt_library_names_spec
   15948 
   15949 # The coded name of the library, if different from the real name.
   15950 soname_spec=$lt_soname_spec
   15951 
   15952 # Commands used to build and install an old-style archive.
   15953 RANLIB=$lt_RANLIB
   15954 old_archive_cmds=$lt_old_archive_cmds_F77
   15955 old_postinstall_cmds=$lt_old_postinstall_cmds
   15956 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15957 
   15958 # Create an old-style archive from a shared archive.
   15959 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15960 
   15961 # Create a temporary old-style archive to link instead of a shared archive.
   15962 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15963 
   15964 # Commands used to build and install a shared archive.
   15965 archive_cmds=$lt_archive_cmds_F77
   15966 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15967 postinstall_cmds=$lt_postinstall_cmds
   15968 postuninstall_cmds=$lt_postuninstall_cmds
   15969 
   15970 # Commands used to build a loadable module (assumed same as above if empty)
   15971 module_cmds=$lt_module_cmds_F77
   15972 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15973 
   15974 # Commands to strip libraries.
   15975 old_striplib=$lt_old_striplib
   15976 striplib=$lt_striplib
   15977 
   15978 # Dependencies to place before the objects being linked to create a
   15979 # shared library.
   15980 predep_objects=$lt_predep_objects_F77
   15981 
   15982 # Dependencies to place after the objects being linked to create a
   15983 # shared library.
   15984 postdep_objects=$lt_postdep_objects_F77
   15985 
   15986 # Dependencies to place before the objects being linked to create a
   15987 # shared library.
   15988 predeps=$lt_predeps_F77
   15989 
   15990 # Dependencies to place after the objects being linked to create a
   15991 # shared library.
   15992 postdeps=$lt_postdeps_F77
   15993 
   15994 # The library search path used internally by the compiler when linking
   15995 # a shared library.
   15996 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   15997 
   15998 # Method to check whether dependent libraries are shared objects.
   15999 deplibs_check_method=$lt_deplibs_check_method
   16000 
   16001 # Command to use when deplibs_check_method == file_magic.
   16002 file_magic_cmd=$lt_file_magic_cmd
   16003 
   16004 # Flag that allows shared libraries with undefined symbols to be built.
   16005 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16006 
   16007 # Flag that forces no undefined symbols.
   16008 no_undefined_flag=$lt_no_undefined_flag_F77
   16009 
   16010 # Commands used to finish a libtool library installation in a directory.
   16011 finish_cmds=$lt_finish_cmds
   16012 
   16013 # Same as above, but a single script fragment to be evaled but not shown.
   16014 finish_eval=$lt_finish_eval
   16015 
   16016 # Take the output of nm and produce a listing of raw symbols and C names.
   16017 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16018 
   16019 # Transform the output of nm in a proper C declaration
   16020 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16021 
   16022 # Transform the output of nm in a C name address pair
   16023 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16024 
   16025 # This is the shared library runtime path variable.
   16026 runpath_var=$runpath_var
   16027 
   16028 # This is the shared library path variable.
   16029 shlibpath_var=$shlibpath_var
   16030 
   16031 # Is shlibpath searched before the hard-coded library search path?
   16032 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16033 
   16034 # How to hardcode a shared library path into an executable.
   16035 hardcode_action=$hardcode_action_F77
   16036 
   16037 # Whether we should hardcode library paths into libraries.
   16038 hardcode_into_libs=$hardcode_into_libs
   16039 
   16040 # Flag to hardcode \$libdir into a binary during linking.
   16041 # This must work even if \$libdir does not exist.
   16042 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16043 
   16044 # If ld is used when linking, flag to hardcode \$libdir into
   16045 # a binary during linking. This must work even if \$libdir does
   16046 # not exist.
   16047 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16048 
   16049 # Whether we need a single -rpath flag with a separated argument.
   16050 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16051 
   16052 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16053 # resulting binary.
   16054 hardcode_direct=$hardcode_direct_F77
   16055 
   16056 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16057 # resulting binary.
   16058 hardcode_minus_L=$hardcode_minus_L_F77
   16059 
   16060 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16061 # the resulting binary.
   16062 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16063 
   16064 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16065 # and all subsequent libraries and executables linked against it.
   16066 hardcode_automatic=$hardcode_automatic_F77
   16067 
   16068 # Variables whose values should be saved in libtool wrapper scripts and
   16069 # restored at relink time.
   16070 variables_saved_for_relink="$variables_saved_for_relink"
   16071 
   16072 # Whether libtool must link a program against all its dependency libraries.
   16073 link_all_deplibs=$link_all_deplibs_F77
   16074 
   16075 # Compile-time system search path for libraries
   16076 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16077 
   16078 # Run-time system search path for libraries
   16079 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16080 
   16081 # Fix the shell variable \$srcfile for the compiler.
   16082 fix_srcfile_path="$fix_srcfile_path_F77"
   16083 
   16084 # Set to yes if exported symbols are required.
   16085 always_export_symbols=$always_export_symbols_F77
   16086 
   16087 # The commands to list exported symbols.
   16088 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16089 
   16090 # The commands to extract the exported symbol list from a shared archive.
   16091 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16092 
   16093 # Symbols that should not be listed in the preloaded symbols.
   16094 exclude_expsyms=$lt_exclude_expsyms_F77
   16095 
   16096 # Symbols that must always be exported.
   16097 include_expsyms=$lt_include_expsyms_F77
   16098 
   16099 # ### END LIBTOOL TAG CONFIG: $tagname
   16100 
   16101 __EOF__
   16102 
   16103 
   16104 else
   16105   # If there is no Makefile yet, we rely on a make rule to execute
   16106   # `config.status --recheck' to rerun these tests and create the
   16107   # libtool script then.
   16108   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16109   if test -f "$ltmain_in"; then
   16110     test -f Makefile && make "$ltmain"
   16111   fi
   16112 fi
   16113 
   16114 
   16115 ac_ext=c
   16116 ac_cpp='$CPP $CPPFLAGS'
   16117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16120 
   16121 CC="$lt_save_CC"
   16122 
   16123 	else
   16124 	  tagname=""
   16125 	fi
   16126 	;;
   16127 
   16128       GCJ)
   16129 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16130 
   16131 
   16132 # Source file extension for Java test sources.
   16133 ac_ext=java
   16134 
   16135 # Object file extension for compiled Java test sources.
   16136 objext=o
   16137 objext_GCJ=$objext
   16138 
   16139 # Code to be used in simple compile tests
   16140 lt_simple_compile_test_code="class foo {}\n"
   16141 
   16142 # Code to be used in simple link tests
   16143 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16144 
   16145 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16146 
   16147 # If no C compiler was specified, use CC.
   16148 LTCC=${LTCC-"$CC"}
   16149 
   16150 # If no C compiler flags were specified, use CFLAGS.
   16151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16152 
   16153 # Allow CC to be a program name with arguments.
   16154 compiler=$CC
   16155 
   16156 
   16157 # save warnings/boilerplate of simple test code
   16158 ac_outfile=conftest.$ac_objext
   16159 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16160 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16161 _lt_compiler_boilerplate=`cat conftest.err`
   16162 $rm conftest*
   16163 
   16164 ac_outfile=conftest.$ac_objext
   16165 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16166 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16167 _lt_linker_boilerplate=`cat conftest.err`
   16168 $rm conftest*
   16169 
   16170 
   16171 # Allow CC to be a program name with arguments.
   16172 lt_save_CC="$CC"
   16173 CC=${GCJ-"gcj"}
   16174 compiler=$CC
   16175 compiler_GCJ=$CC
   16176 for cc_temp in $compiler""; do
   16177   case $cc_temp in
   16178     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16179     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16180     \-*) ;;
   16181     *) break;;
   16182   esac
   16183 done
   16184 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16185 
   16186 
   16187 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16188 archive_cmds_need_lc_GCJ=no
   16189 
   16190 old_archive_cmds_GCJ=$old_archive_cmds
   16191 
   16192 
   16193 lt_prog_compiler_no_builtin_flag_GCJ=
   16194 
   16195 if test "$GCC" = yes; then
   16196   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16197 
   16198 
   16199 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16200 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16201 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16202   echo $ECHO_N "(cached) $ECHO_C" >&6
   16203 else
   16204   lt_cv_prog_compiler_rtti_exceptions=no
   16205   ac_outfile=conftest.$ac_objext
   16206    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16207    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16208    # Insert the option either (1) after the last *FLAGS variable, or
   16209    # (2) before a word containing "conftest.", or (3) at the end.
   16210    # Note that $ac_compile itself does not contain backslashes and begins
   16211    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16212    # The option is referenced via a variable to avoid confusing sed.
   16213    lt_compile=`echo "$ac_compile" | $SED \
   16214    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16215    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16216    -e 's:$: $lt_compiler_flag:'`
   16217    (eval echo "\"\$as_me:16217: $lt_compile\"" >&5)
   16218    (eval "$lt_compile" 2>conftest.err)
   16219    ac_status=$?
   16220    cat conftest.err >&5
   16221    echo "$as_me:16221: \$? = $ac_status" >&5
   16222    if (exit $ac_status) && test -s "$ac_outfile"; then
   16223      # The compiler can only warn and ignore the option if not recognized
   16224      # So say no if there are warnings other than the usual output.
   16225      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16226      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16227      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16228        lt_cv_prog_compiler_rtti_exceptions=yes
   16229      fi
   16230    fi
   16231    $rm conftest*
   16232 
   16233 fi
   16234 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16235 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16236 
   16237 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16238     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16239 else
   16240     :
   16241 fi
   16242 
   16243 fi
   16244 
   16245 lt_prog_compiler_wl_GCJ=
   16246 lt_prog_compiler_pic_GCJ=
   16247 lt_prog_compiler_static_GCJ=
   16248 
   16249 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16250 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16251 
   16252   if test "$GCC" = yes; then
   16253     lt_prog_compiler_wl_GCJ='-Wl,'
   16254     lt_prog_compiler_static_GCJ='-static'
   16255 
   16256     case $host_os in
   16257       aix*)
   16258       # All AIX code is PIC.
   16259       if test "$host_cpu" = ia64; then
   16260 	# AIX 5 now supports IA64 processor
   16261 	lt_prog_compiler_static_GCJ='-Bstatic'
   16262       fi
   16263       ;;
   16264 
   16265     amigaos*)
   16266       # FIXME: we need at least 68020 code to build shared libraries, but
   16267       # adding the `-m68020' flag to GCC prevents building anything better,
   16268       # like `-m68040'.
   16269       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16270       ;;
   16271 
   16272     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16273       # PIC is the default for these OSes.
   16274       ;;
   16275 
   16276     mingw* | pw32* | os2*)
   16277       # This hack is so that the source file can tell whether it is being
   16278       # built for inclusion in a dll (and should export symbols for example).
   16279       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16280       ;;
   16281 
   16282     darwin* | rhapsody*)
   16283       # PIC is the default on this platform
   16284       # Common symbols not allowed in MH_DYLIB files
   16285       lt_prog_compiler_pic_GCJ='-fno-common'
   16286       ;;
   16287 
   16288     interix3*)
   16289       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16290       # Instead, we relocate shared libraries at runtime.
   16291       ;;
   16292 
   16293     msdosdjgpp*)
   16294       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16295       # on systems that don't support them.
   16296       lt_prog_compiler_can_build_shared_GCJ=no
   16297       enable_shared=no
   16298       ;;
   16299 
   16300     sysv4*MP*)
   16301       if test -d /usr/nec; then
   16302 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16303       fi
   16304       ;;
   16305 
   16306     hpux*)
   16307       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16308       # not for PA HP-UX.
   16309       case $host_cpu in
   16310       hppa*64*|ia64*)
   16311 	# +Z the default
   16312 	;;
   16313       *)
   16314 	lt_prog_compiler_pic_GCJ='-fPIC'
   16315 	;;
   16316       esac
   16317       ;;
   16318 
   16319     *)
   16320       lt_prog_compiler_pic_GCJ='-fPIC'
   16321       ;;
   16322     esac
   16323   else
   16324     # PORTME Check for flag to pass linker flags through the system compiler.
   16325     case $host_os in
   16326     aix*)
   16327       lt_prog_compiler_wl_GCJ='-Wl,'
   16328       if test "$host_cpu" = ia64; then
   16329 	# AIX 5 now supports IA64 processor
   16330 	lt_prog_compiler_static_GCJ='-Bstatic'
   16331       else
   16332 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16333       fi
   16334       ;;
   16335       darwin*)
   16336         # PIC is the default on this platform
   16337         # Common symbols not allowed in MH_DYLIB files
   16338        case $cc_basename in
   16339          xlc*)
   16340          lt_prog_compiler_pic_GCJ='-qnocommon'
   16341          lt_prog_compiler_wl_GCJ='-Wl,'
   16342          ;;
   16343        esac
   16344        ;;
   16345 
   16346     mingw* | pw32* | os2*)
   16347       # This hack is so that the source file can tell whether it is being
   16348       # built for inclusion in a dll (and should export symbols for example).
   16349       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16350       ;;
   16351 
   16352     hpux9* | hpux10* | hpux11*)
   16353       lt_prog_compiler_wl_GCJ='-Wl,'
   16354       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16355       # not for PA HP-UX.
   16356       case $host_cpu in
   16357       hppa*64*|ia64*)
   16358 	# +Z the default
   16359 	;;
   16360       *)
   16361 	lt_prog_compiler_pic_GCJ='+Z'
   16362 	;;
   16363       esac
   16364       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16365       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16366       ;;
   16367 
   16368     irix5* | irix6* | nonstopux*)
   16369       lt_prog_compiler_wl_GCJ='-Wl,'
   16370       # PIC (with -KPIC) is the default.
   16371       lt_prog_compiler_static_GCJ='-non_shared'
   16372       ;;
   16373 
   16374     newsos6)
   16375       lt_prog_compiler_pic_GCJ='-KPIC'
   16376       lt_prog_compiler_static_GCJ='-Bstatic'
   16377       ;;
   16378 
   16379     linux*)
   16380       case $cc_basename in
   16381       icc* | ecc*)
   16382 	lt_prog_compiler_wl_GCJ='-Wl,'
   16383 	lt_prog_compiler_pic_GCJ='-KPIC'
   16384 	lt_prog_compiler_static_GCJ='-static'
   16385         ;;
   16386       pgcc* | pgf77* | pgf90* | pgf95*)
   16387         # Portland Group compilers (*not* the Pentium gcc compiler,
   16388 	# which looks to be a dead project)
   16389 	lt_prog_compiler_wl_GCJ='-Wl,'
   16390 	lt_prog_compiler_pic_GCJ='-fpic'
   16391 	lt_prog_compiler_static_GCJ='-Bstatic'
   16392         ;;
   16393       ccc*)
   16394         lt_prog_compiler_wl_GCJ='-Wl,'
   16395         # All Alpha code is PIC.
   16396         lt_prog_compiler_static_GCJ='-non_shared'
   16397         ;;
   16398       esac
   16399       ;;
   16400 
   16401     osf3* | osf4* | osf5*)
   16402       lt_prog_compiler_wl_GCJ='-Wl,'
   16403       # All OSF/1 code is PIC.
   16404       lt_prog_compiler_static_GCJ='-non_shared'
   16405       ;;
   16406 
   16407     solaris*)
   16408       lt_prog_compiler_pic_GCJ='-KPIC'
   16409       lt_prog_compiler_static_GCJ='-Bstatic'
   16410       case $cc_basename in
   16411       f77* | f90* | f95*)
   16412 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16413       *)
   16414 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16415       esac
   16416       ;;
   16417 
   16418     sunos4*)
   16419       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16420       lt_prog_compiler_pic_GCJ='-PIC'
   16421       lt_prog_compiler_static_GCJ='-Bstatic'
   16422       ;;
   16423 
   16424     sysv4 | sysv4.2uw2* | sysv4.3*)
   16425       lt_prog_compiler_wl_GCJ='-Wl,'
   16426       lt_prog_compiler_pic_GCJ='-KPIC'
   16427       lt_prog_compiler_static_GCJ='-Bstatic'
   16428       ;;
   16429 
   16430     sysv4*MP*)
   16431       if test -d /usr/nec ;then
   16432 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16433 	lt_prog_compiler_static_GCJ='-Bstatic'
   16434       fi
   16435       ;;
   16436 
   16437     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16438       lt_prog_compiler_wl_GCJ='-Wl,'
   16439       lt_prog_compiler_pic_GCJ='-KPIC'
   16440       lt_prog_compiler_static_GCJ='-Bstatic'
   16441       ;;
   16442 
   16443     unicos*)
   16444       lt_prog_compiler_wl_GCJ='-Wl,'
   16445       lt_prog_compiler_can_build_shared_GCJ=no
   16446       ;;
   16447 
   16448     uts4*)
   16449       lt_prog_compiler_pic_GCJ='-pic'
   16450       lt_prog_compiler_static_GCJ='-Bstatic'
   16451       ;;
   16452 
   16453     *)
   16454       lt_prog_compiler_can_build_shared_GCJ=no
   16455       ;;
   16456     esac
   16457   fi
   16458 
   16459 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16460 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16461 
   16462 #
   16463 # Check to make sure the PIC flag actually works.
   16464 #
   16465 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16466 
   16467 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16468 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16469 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16470   echo $ECHO_N "(cached) $ECHO_C" >&6
   16471 else
   16472   lt_prog_compiler_pic_works_GCJ=no
   16473   ac_outfile=conftest.$ac_objext
   16474    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16475    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16476    # Insert the option either (1) after the last *FLAGS variable, or
   16477    # (2) before a word containing "conftest.", or (3) at the end.
   16478    # Note that $ac_compile itself does not contain backslashes and begins
   16479    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16480    # The option is referenced via a variable to avoid confusing sed.
   16481    lt_compile=`echo "$ac_compile" | $SED \
   16482    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16483    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16484    -e 's:$: $lt_compiler_flag:'`
   16485    (eval echo "\"\$as_me:16485: $lt_compile\"" >&5)
   16486    (eval "$lt_compile" 2>conftest.err)
   16487    ac_status=$?
   16488    cat conftest.err >&5
   16489    echo "$as_me:16489: \$? = $ac_status" >&5
   16490    if (exit $ac_status) && test -s "$ac_outfile"; then
   16491      # The compiler can only warn and ignore the option if not recognized
   16492      # So say no if there are warnings other than the usual output.
   16493      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16494      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16495      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16496        lt_prog_compiler_pic_works_GCJ=yes
   16497      fi
   16498    fi
   16499    $rm conftest*
   16500 
   16501 fi
   16502 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16503 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16504 
   16505 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16506     case $lt_prog_compiler_pic_GCJ in
   16507      "" | " "*) ;;
   16508      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16509      esac
   16510 else
   16511     lt_prog_compiler_pic_GCJ=
   16512      lt_prog_compiler_can_build_shared_GCJ=no
   16513 fi
   16514 
   16515 fi
   16516 case $host_os in
   16517   # For platforms which do not support PIC, -DPIC is meaningless:
   16518   *djgpp*)
   16519     lt_prog_compiler_pic_GCJ=
   16520     ;;
   16521   *)
   16522     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16523     ;;
   16524 esac
   16525 
   16526 #
   16527 # Check to make sure the static flag actually works.
   16528 #
   16529 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16530 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16531 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16532 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16533   echo $ECHO_N "(cached) $ECHO_C" >&6
   16534 else
   16535   lt_prog_compiler_static_works_GCJ=no
   16536    save_LDFLAGS="$LDFLAGS"
   16537    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16538    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16539    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16540      # The linker can only warn and ignore the option if not recognized
   16541      # So say no if there are warnings
   16542      if test -s conftest.err; then
   16543        # Append any errors to the config.log.
   16544        cat conftest.err 1>&5
   16545        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16546        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16547        if diff conftest.exp conftest.er2 >/dev/null; then
   16548          lt_prog_compiler_static_works_GCJ=yes
   16549        fi
   16550      else
   16551        lt_prog_compiler_static_works_GCJ=yes
   16552      fi
   16553    fi
   16554    $rm conftest*
   16555    LDFLAGS="$save_LDFLAGS"
   16556 
   16557 fi
   16558 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16559 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16560 
   16561 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16562     :
   16563 else
   16564     lt_prog_compiler_static_GCJ=
   16565 fi
   16566 
   16567 
   16568 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16569 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16570 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16571   echo $ECHO_N "(cached) $ECHO_C" >&6
   16572 else
   16573   lt_cv_prog_compiler_c_o_GCJ=no
   16574    $rm -r conftest 2>/dev/null
   16575    mkdir conftest
   16576    cd conftest
   16577    mkdir out
   16578    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16579 
   16580    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16581    # Insert the option either (1) after the last *FLAGS variable, or
   16582    # (2) before a word containing "conftest.", or (3) at the end.
   16583    # Note that $ac_compile itself does not contain backslashes and begins
   16584    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16585    lt_compile=`echo "$ac_compile" | $SED \
   16586    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16587    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16588    -e 's:$: $lt_compiler_flag:'`
   16589    (eval echo "\"\$as_me:16589: $lt_compile\"" >&5)
   16590    (eval "$lt_compile" 2>out/conftest.err)
   16591    ac_status=$?
   16592    cat out/conftest.err >&5
   16593    echo "$as_me:16593: \$? = $ac_status" >&5
   16594    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16595    then
   16596      # The compiler can only warn and ignore the option if not recognized
   16597      # So say no if there are warnings
   16598      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16599      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16600      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16601        lt_cv_prog_compiler_c_o_GCJ=yes
   16602      fi
   16603    fi
   16604    chmod u+w . 2>&5
   16605    $rm conftest*
   16606    # SGI C++ compiler will create directory out/ii_files/ for
   16607    # template instantiation
   16608    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16609    $rm out/* && rmdir out
   16610    cd ..
   16611    rmdir conftest
   16612    $rm conftest*
   16613 
   16614 fi
   16615 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16616 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16617 
   16618 
   16619 hard_links="nottested"
   16620 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16621   # do not overwrite the value of need_locks provided by the user
   16622   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16623 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16624   hard_links=yes
   16625   $rm conftest*
   16626   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16627   touch conftest.a
   16628   ln conftest.a conftest.b 2>&5 || hard_links=no
   16629   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16630   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16631 echo "${ECHO_T}$hard_links" >&6; }
   16632   if test "$hard_links" = no; then
   16633     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16634 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16635     need_locks=warn
   16636   fi
   16637 else
   16638   need_locks=no
   16639 fi
   16640 
   16641 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16642 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16643 
   16644   runpath_var=
   16645   allow_undefined_flag_GCJ=
   16646   enable_shared_with_static_runtimes_GCJ=no
   16647   archive_cmds_GCJ=
   16648   archive_expsym_cmds_GCJ=
   16649   old_archive_From_new_cmds_GCJ=
   16650   old_archive_from_expsyms_cmds_GCJ=
   16651   export_dynamic_flag_spec_GCJ=
   16652   whole_archive_flag_spec_GCJ=
   16653   thread_safe_flag_spec_GCJ=
   16654   hardcode_libdir_flag_spec_GCJ=
   16655   hardcode_libdir_flag_spec_ld_GCJ=
   16656   hardcode_libdir_separator_GCJ=
   16657   hardcode_direct_GCJ=no
   16658   hardcode_minus_L_GCJ=no
   16659   hardcode_shlibpath_var_GCJ=unsupported
   16660   link_all_deplibs_GCJ=unknown
   16661   hardcode_automatic_GCJ=no
   16662   module_cmds_GCJ=
   16663   module_expsym_cmds_GCJ=
   16664   always_export_symbols_GCJ=no
   16665   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16666   # include_expsyms should be a list of space-separated symbols to be *always*
   16667   # included in the symbol list
   16668   include_expsyms_GCJ=
   16669   # exclude_expsyms can be an extended regexp of symbols to exclude
   16670   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16671   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16672   # as well as any symbol that contains `d'.
   16673   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16674   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16675   # platforms (ab)use it in PIC code, but their linkers get confused if
   16676   # the symbol is explicitly referenced.  Since portable code cannot
   16677   # rely on this symbol name, it's probably fine to never include it in
   16678   # preloaded symbol tables.
   16679   extract_expsyms_cmds=
   16680   # Just being paranoid about ensuring that cc_basename is set.
   16681   for cc_temp in $compiler""; do
   16682   case $cc_temp in
   16683     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16684     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16685     \-*) ;;
   16686     *) break;;
   16687   esac
   16688 done
   16689 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16690 
   16691   case $host_os in
   16692   cygwin* | mingw* | pw32*)
   16693     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16694     # When not using gcc, we currently assume that we are using
   16695     # Microsoft Visual C++.
   16696     if test "$GCC" != yes; then
   16697       with_gnu_ld=no
   16698     fi
   16699     ;;
   16700   interix*)
   16701     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16702     with_gnu_ld=yes
   16703     ;;
   16704   openbsd*)
   16705     with_gnu_ld=no
   16706     ;;
   16707   esac
   16708 
   16709   ld_shlibs_GCJ=yes
   16710   if test "$with_gnu_ld" = yes; then
   16711     # If archive_cmds runs LD, not CC, wlarc should be empty
   16712     wlarc='${wl}'
   16713 
   16714     # Set some defaults for GNU ld with shared library support. These
   16715     # are reset later if shared libraries are not supported. Putting them
   16716     # here allows them to be overridden if necessary.
   16717     runpath_var=LD_RUN_PATH
   16718     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16719     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16720     # ancient GNU ld didn't support --whole-archive et. al.
   16721     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16722 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16723       else
   16724   	whole_archive_flag_spec_GCJ=
   16725     fi
   16726     supports_anon_versioning=no
   16727     case `$LD -v 2>/dev/null` in
   16728       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16729       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16730       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16731       *\ 2.11.*) ;; # other 2.11 versions
   16732       *) supports_anon_versioning=yes ;;
   16733     esac
   16734 
   16735     # See if GNU ld supports shared libraries.
   16736     case $host_os in
   16737     aix3* | aix4* | aix5*)
   16738       # On AIX/PPC, the GNU linker is very broken
   16739       if test "$host_cpu" != ia64; then
   16740 	ld_shlibs_GCJ=no
   16741 	cat <<EOF 1>&2
   16742 
   16743 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16744 *** to be unable to reliably create shared libraries on AIX.
   16745 *** Therefore, libtool is disabling shared libraries support.  If you
   16746 *** really care for shared libraries, you may want to modify your PATH
   16747 *** so that a non-GNU linker is found, and then restart.
   16748 
   16749 EOF
   16750       fi
   16751       ;;
   16752 
   16753     amigaos*)
   16754       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)'
   16755       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16756       hardcode_minus_L_GCJ=yes
   16757 
   16758       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16759       # that the semantics of dynamic libraries on AmigaOS, at least up
   16760       # to version 4, is to share data among multiple programs linked
   16761       # with the same dynamic library.  Since this doesn't match the
   16762       # behavior of shared libraries on other platforms, we can't use
   16763       # them.
   16764       ld_shlibs_GCJ=no
   16765       ;;
   16766 
   16767     beos*)
   16768       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16769 	allow_undefined_flag_GCJ=unsupported
   16770 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16771 	# support --undefined.  This deserves some investigation.  FIXME
   16772 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16773       else
   16774 	ld_shlibs_GCJ=no
   16775       fi
   16776       ;;
   16777 
   16778     cygwin* | mingw* | pw32*)
   16779       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16780       # as there is no search path for DLLs.
   16781       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16782       allow_undefined_flag_GCJ=unsupported
   16783       always_export_symbols_GCJ=no
   16784       enable_shared_with_static_runtimes_GCJ=yes
   16785       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16786 
   16787       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16788         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16789 	# If the export-symbols file already is a .def file (1st line
   16790 	# is EXPORTS), use it as is; otherwise, prepend...
   16791 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16792 	  cp $export_symbols $output_objdir/$soname.def;
   16793 	else
   16794 	  echo EXPORTS > $output_objdir/$soname.def;
   16795 	  cat $export_symbols >> $output_objdir/$soname.def;
   16796 	fi~
   16797 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16798       else
   16799 	ld_shlibs_GCJ=no
   16800       fi
   16801       ;;
   16802 
   16803     interix3*)
   16804       hardcode_direct_GCJ=no
   16805       hardcode_shlibpath_var_GCJ=no
   16806       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16807       export_dynamic_flag_spec_GCJ='${wl}-E'
   16808       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16809       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16810       # default) and relocated if they conflict, which is a slow very memory
   16811       # consuming and fragmenting process.  To avoid this, we pick a random,
   16812       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16813       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16814       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'
   16815       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'
   16816       ;;
   16817 
   16818     linux*)
   16819       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16820 	tmp_addflag=
   16821 	case $cc_basename,$host_cpu in
   16822 	pgcc*)				# Portland Group C compiler
   16823 	  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'
   16824 	  tmp_addflag=' $pic_flag'
   16825 	  ;;
   16826 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16827 	  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'
   16828 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16829 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16830 	  tmp_addflag=' -i_dynamic' ;;
   16831 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16832 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16833 	ifc* | ifort*)			# Intel Fortran compiler
   16834 	  tmp_addflag=' -nofor_main' ;;
   16835 	esac
   16836 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16837 
   16838 	if test $supports_anon_versioning = yes; then
   16839 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16840   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16841   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16842 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16843 	fi
   16844       else
   16845 	ld_shlibs_GCJ=no
   16846       fi
   16847       ;;
   16848 
   16849     netbsd*)
   16850       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16851 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16852 	wlarc=
   16853       else
   16854 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16855 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16856       fi
   16857       ;;
   16858 
   16859     solaris*)
   16860       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16861 	ld_shlibs_GCJ=no
   16862 	cat <<EOF 1>&2
   16863 
   16864 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16865 *** create shared libraries on Solaris systems.  Therefore, libtool
   16866 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16867 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16868 *** your PATH or compiler configuration so that the native linker is
   16869 *** used, and then restart.
   16870 
   16871 EOF
   16872       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16873 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16874 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16875       else
   16876 	ld_shlibs_GCJ=no
   16877       fi
   16878       ;;
   16879 
   16880     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16881       case `$LD -v 2>&1` in
   16882         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16883 	ld_shlibs_GCJ=no
   16884 	cat <<_LT_EOF 1>&2
   16885 
   16886 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16887 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16888 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16889 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16890 *** your PATH or compiler configuration so that the native linker is
   16891 *** used, and then restart.
   16892 
   16893 _LT_EOF
   16894 	;;
   16895 	*)
   16896 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16897 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16898 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16899 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16900 	  else
   16901 	    ld_shlibs_GCJ=no
   16902 	  fi
   16903 	;;
   16904       esac
   16905       ;;
   16906 
   16907     sunos4*)
   16908       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16909       wlarc=
   16910       hardcode_direct_GCJ=yes
   16911       hardcode_shlibpath_var_GCJ=no
   16912       ;;
   16913 
   16914     *)
   16915       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16916 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16917 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16918       else
   16919 	ld_shlibs_GCJ=no
   16920       fi
   16921       ;;
   16922     esac
   16923 
   16924     if test "$ld_shlibs_GCJ" = no; then
   16925       runpath_var=
   16926       hardcode_libdir_flag_spec_GCJ=
   16927       export_dynamic_flag_spec_GCJ=
   16928       whole_archive_flag_spec_GCJ=
   16929     fi
   16930   else
   16931     # PORTME fill in a description of your system's linker (not GNU ld)
   16932     case $host_os in
   16933     aix3*)
   16934       allow_undefined_flag_GCJ=unsupported
   16935       always_export_symbols_GCJ=yes
   16936       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'
   16937       # Note: this linker hardcodes the directories in LIBPATH if there
   16938       # are no directories specified by -L.
   16939       hardcode_minus_L_GCJ=yes
   16940       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16941 	# Neither direct hardcoding nor static linking is supported with a
   16942 	# broken collect2.
   16943 	hardcode_direct_GCJ=unsupported
   16944       fi
   16945       ;;
   16946 
   16947     aix4* | aix5*)
   16948       if test "$host_cpu" = ia64; then
   16949 	# On IA64, the linker does run time linking by default, so we don't
   16950 	# have to do anything special.
   16951 	aix_use_runtimelinking=no
   16952 	exp_sym_flag='-Bexport'
   16953 	no_entry_flag=""
   16954       else
   16955 	# If we're using GNU nm, then we don't want the "-C" option.
   16956 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16957 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16958 	  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'
   16959 	else
   16960 	  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'
   16961 	fi
   16962 	aix_use_runtimelinking=no
   16963 
   16964 	# Test if we are trying to use run time linking or normal
   16965 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16966 	# need to do runtime linking.
   16967 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16968 	  for ld_flag in $LDFLAGS; do
   16969   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16970   	    aix_use_runtimelinking=yes
   16971   	    break
   16972   	  fi
   16973 	  done
   16974 	  ;;
   16975 	esac
   16976 
   16977 	exp_sym_flag='-bexport'
   16978 	no_entry_flag='-bnoentry'
   16979       fi
   16980 
   16981       # When large executables or shared objects are built, AIX ld can
   16982       # have problems creating the table of contents.  If linking a library
   16983       # or program results in "error TOC overflow" add -mminimal-toc to
   16984       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16985       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16986 
   16987       archive_cmds_GCJ=''
   16988       hardcode_direct_GCJ=yes
   16989       hardcode_libdir_separator_GCJ=':'
   16990       link_all_deplibs_GCJ=yes
   16991 
   16992       if test "$GCC" = yes; then
   16993 	case $host_os in aix4.[012]|aix4.[012].*)
   16994 	# We only want to do this on AIX 4.2 and lower, the check
   16995 	# below for broken collect2 doesn't work under 4.3+
   16996 	  collect2name=`${CC} -print-prog-name=collect2`
   16997 	  if test -f "$collect2name" && \
   16998   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   16999 	  then
   17000   	  # We have reworked collect2
   17001   	  hardcode_direct_GCJ=yes
   17002 	  else
   17003   	  # We have old collect2
   17004   	  hardcode_direct_GCJ=unsupported
   17005   	  # It fails to find uninstalled libraries when the uninstalled
   17006   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17007   	  # to unsupported forces relinking
   17008   	  hardcode_minus_L_GCJ=yes
   17009   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17010   	  hardcode_libdir_separator_GCJ=
   17011 	  fi
   17012 	  ;;
   17013 	esac
   17014 	shared_flag='-shared'
   17015 	if test "$aix_use_runtimelinking" = yes; then
   17016 	  shared_flag="$shared_flag "'${wl}-G'
   17017 	fi
   17018       else
   17019 	# not using gcc
   17020 	if test "$host_cpu" = ia64; then
   17021   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17022   	# chokes on -Wl,-G. The following line is correct:
   17023 	  shared_flag='-G'
   17024 	else
   17025 	  if test "$aix_use_runtimelinking" = yes; then
   17026 	    shared_flag='${wl}-G'
   17027 	  else
   17028 	    shared_flag='${wl}-bM:SRE'
   17029 	  fi
   17030 	fi
   17031       fi
   17032 
   17033       # It seems that -bexpall does not export symbols beginning with
   17034       # underscore (_), so it is better to generate a list of symbols to export.
   17035       always_export_symbols_GCJ=yes
   17036       if test "$aix_use_runtimelinking" = yes; then
   17037 	# Warning - without using the other runtime loading flags (-brtl),
   17038 	# -berok will link without error, but may produce a broken library.
   17039 	allow_undefined_flag_GCJ='-berok'
   17040        # Determine the default libpath from the value encoded in an empty executable.
   17041        cat >conftest.$ac_ext <<_ACEOF
   17042 /* confdefs.h.  */
   17043 _ACEOF
   17044 cat confdefs.h >>conftest.$ac_ext
   17045 cat >>conftest.$ac_ext <<_ACEOF
   17046 /* end confdefs.h.  */
   17047 
   17048 int
   17049 main ()
   17050 {
   17051 
   17052   ;
   17053   return 0;
   17054 }
   17055 _ACEOF
   17056 rm -f conftest.$ac_objext conftest$ac_exeext
   17057 if { (ac_try="$ac_link"
   17058 case "(($ac_try" in
   17059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17060   *) ac_try_echo=$ac_try;;
   17061 esac
   17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17063   (eval "$ac_link") 2>conftest.er1
   17064   ac_status=$?
   17065   grep -v '^ *+' conftest.er1 >conftest.err
   17066   rm -f conftest.er1
   17067   cat conftest.err >&5
   17068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17069   (exit $ac_status); } && {
   17070 	 test -z "$ac_c_werror_flag" ||
   17071 	 test ! -s conftest.err
   17072        } && test -s conftest$ac_exeext &&
   17073        $as_test_x conftest$ac_exeext; then
   17074 
   17075 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17076 }'`
   17077 # Check for a 64-bit object if we didn't find anything.
   17078 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; }
   17079 }'`; fi
   17080 else
   17081   echo "$as_me: failed program was:" >&5
   17082 sed 's/^/| /' conftest.$ac_ext >&5
   17083 
   17084 
   17085 fi
   17086 
   17087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17088       conftest$ac_exeext conftest.$ac_ext
   17089 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17090 
   17091        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17092 	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"
   17093        else
   17094 	if test "$host_cpu" = ia64; then
   17095 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17096 	  allow_undefined_flag_GCJ="-z nodefs"
   17097 	  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"
   17098 	else
   17099 	 # Determine the default libpath from the value encoded in an empty executable.
   17100 	 cat >conftest.$ac_ext <<_ACEOF
   17101 /* confdefs.h.  */
   17102 _ACEOF
   17103 cat confdefs.h >>conftest.$ac_ext
   17104 cat >>conftest.$ac_ext <<_ACEOF
   17105 /* end confdefs.h.  */
   17106 
   17107 int
   17108 main ()
   17109 {
   17110 
   17111   ;
   17112   return 0;
   17113 }
   17114 _ACEOF
   17115 rm -f conftest.$ac_objext conftest$ac_exeext
   17116 if { (ac_try="$ac_link"
   17117 case "(($ac_try" in
   17118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17119   *) ac_try_echo=$ac_try;;
   17120 esac
   17121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17122   (eval "$ac_link") 2>conftest.er1
   17123   ac_status=$?
   17124   grep -v '^ *+' conftest.er1 >conftest.err
   17125   rm -f conftest.er1
   17126   cat conftest.err >&5
   17127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17128   (exit $ac_status); } && {
   17129 	 test -z "$ac_c_werror_flag" ||
   17130 	 test ! -s conftest.err
   17131        } && test -s conftest$ac_exeext &&
   17132        $as_test_x conftest$ac_exeext; then
   17133 
   17134 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17135 }'`
   17136 # Check for a 64-bit object if we didn't find anything.
   17137 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; }
   17138 }'`; fi
   17139 else
   17140   echo "$as_me: failed program was:" >&5
   17141 sed 's/^/| /' conftest.$ac_ext >&5
   17142 
   17143 
   17144 fi
   17145 
   17146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17147       conftest$ac_exeext conftest.$ac_ext
   17148 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17149 
   17150 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17151 	  # Warning - without using the other run time loading flags,
   17152 	  # -berok will link without error, but may produce a broken library.
   17153 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17154 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17155 	  # Exported symbols can be pulled into shared objects from archives
   17156 	  whole_archive_flag_spec_GCJ='$convenience'
   17157 	  archive_cmds_need_lc_GCJ=yes
   17158 	  # This is similar to how AIX traditionally builds its shared libraries.
   17159 	  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'
   17160 	fi
   17161       fi
   17162       ;;
   17163 
   17164     amigaos*)
   17165       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)'
   17166       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17167       hardcode_minus_L_GCJ=yes
   17168       # see comment about different semantics on the GNU ld section
   17169       ld_shlibs_GCJ=no
   17170       ;;
   17171 
   17172     bsdi[45]*)
   17173       export_dynamic_flag_spec_GCJ=-rdynamic
   17174       ;;
   17175 
   17176     cygwin* | mingw* | pw32*)
   17177       # When not using gcc, we currently assume that we are using
   17178       # Microsoft Visual C++.
   17179       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17180       # no search path for DLLs.
   17181       hardcode_libdir_flag_spec_GCJ=' '
   17182       allow_undefined_flag_GCJ=unsupported
   17183       # Tell ltmain to make .lib files, not .a files.
   17184       libext=lib
   17185       # Tell ltmain to make .dll files, not .so files.
   17186       shrext_cmds=".dll"
   17187       # FIXME: Setting linknames here is a bad hack.
   17188       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17189       # The linker will automatically build a .lib file if we build a DLL.
   17190       old_archive_From_new_cmds_GCJ='true'
   17191       # FIXME: Should let the user specify the lib program.
   17192       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17193       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17194       enable_shared_with_static_runtimes_GCJ=yes
   17195       ;;
   17196 
   17197     darwin* | rhapsody*)
   17198       case $host_os in
   17199         rhapsody* | darwin1.[012])
   17200          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17201          ;;
   17202        *) # Darwin 1.3 on
   17203          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17204            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17205          else
   17206            case ${MACOSX_DEPLOYMENT_TARGET} in
   17207              10.[012])
   17208                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17209                ;;
   17210              10.*)
   17211                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17212                ;;
   17213            esac
   17214          fi
   17215          ;;
   17216       esac
   17217       archive_cmds_need_lc_GCJ=no
   17218       hardcode_direct_GCJ=no
   17219       hardcode_automatic_GCJ=yes
   17220       hardcode_shlibpath_var_GCJ=unsupported
   17221       whole_archive_flag_spec_GCJ=''
   17222       link_all_deplibs_GCJ=yes
   17223     if test "$GCC" = yes ; then
   17224     	output_verbose_link_cmd='echo'
   17225         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17226       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17227       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17228       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}'
   17229       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}'
   17230     else
   17231       case $cc_basename in
   17232         xlc*)
   17233          output_verbose_link_cmd='echo'
   17234          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17235          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17236           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17237          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}'
   17238           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}'
   17239           ;;
   17240        *)
   17241          ld_shlibs_GCJ=no
   17242           ;;
   17243       esac
   17244     fi
   17245       ;;
   17246 
   17247     dgux*)
   17248       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17249       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17250       hardcode_shlibpath_var_GCJ=no
   17251       ;;
   17252 
   17253     freebsd1*)
   17254       ld_shlibs_GCJ=no
   17255       ;;
   17256 
   17257     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17258     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17259     # does not break anything, and helps significantly (at the cost of a little
   17260     # extra space).
   17261     freebsd2.2*)
   17262       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17263       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17264       hardcode_direct_GCJ=yes
   17265       hardcode_shlibpath_var_GCJ=no
   17266       ;;
   17267 
   17268     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17269     freebsd2*)
   17270       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17271       hardcode_direct_GCJ=yes
   17272       hardcode_minus_L_GCJ=yes
   17273       hardcode_shlibpath_var_GCJ=no
   17274       ;;
   17275 
   17276     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17277     freebsd* | kfreebsd*-gnu | dragonfly*)
   17278       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17279       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17280       hardcode_direct_GCJ=yes
   17281       hardcode_shlibpath_var_GCJ=no
   17282       ;;
   17283 
   17284     hpux9*)
   17285       if test "$GCC" = yes; then
   17286 	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'
   17287       else
   17288 	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'
   17289       fi
   17290       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17291       hardcode_libdir_separator_GCJ=:
   17292       hardcode_direct_GCJ=yes
   17293 
   17294       # hardcode_minus_L: Not really in the search PATH,
   17295       # but as the default location of the library.
   17296       hardcode_minus_L_GCJ=yes
   17297       export_dynamic_flag_spec_GCJ='${wl}-E'
   17298       ;;
   17299 
   17300     hpux10*)
   17301       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17302 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17303       else
   17304 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17305       fi
   17306       if test "$with_gnu_ld" = no; then
   17307 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17308 	hardcode_libdir_separator_GCJ=:
   17309 
   17310 	hardcode_direct_GCJ=yes
   17311 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17312 
   17313 	# hardcode_minus_L: Not really in the search PATH,
   17314 	# but as the default location of the library.
   17315 	hardcode_minus_L_GCJ=yes
   17316       fi
   17317       ;;
   17318 
   17319     hpux11*)
   17320       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17321 	case $host_cpu in
   17322 	hppa*64*)
   17323 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17324 	  ;;
   17325 	ia64*)
   17326 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17327 	  ;;
   17328 	*)
   17329 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17330 	  ;;
   17331 	esac
   17332       else
   17333 	case $host_cpu in
   17334 	hppa*64*)
   17335 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17336 	  ;;
   17337 	ia64*)
   17338 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17339 	  ;;
   17340 	*)
   17341 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17342 	  ;;
   17343 	esac
   17344       fi
   17345       if test "$with_gnu_ld" = no; then
   17346 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17347 	hardcode_libdir_separator_GCJ=:
   17348 
   17349 	case $host_cpu in
   17350 	hppa*64*|ia64*)
   17351 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17352 	  hardcode_direct_GCJ=no
   17353 	  hardcode_shlibpath_var_GCJ=no
   17354 	  ;;
   17355 	*)
   17356 	  hardcode_direct_GCJ=yes
   17357 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17358 
   17359 	  # hardcode_minus_L: Not really in the search PATH,
   17360 	  # but as the default location of the library.
   17361 	  hardcode_minus_L_GCJ=yes
   17362 	  ;;
   17363 	esac
   17364       fi
   17365       ;;
   17366 
   17367     irix5* | irix6* | nonstopux*)
   17368       if test "$GCC" = yes; then
   17369 	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'
   17370       else
   17371 	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'
   17372 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17373       fi
   17374       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17375       hardcode_libdir_separator_GCJ=:
   17376       link_all_deplibs_GCJ=yes
   17377       ;;
   17378 
   17379     netbsd*)
   17380       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17381 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17382       else
   17383 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17384       fi
   17385       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17386       hardcode_direct_GCJ=yes
   17387       hardcode_shlibpath_var_GCJ=no
   17388       ;;
   17389 
   17390     newsos6)
   17391       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17392       hardcode_direct_GCJ=yes
   17393       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17394       hardcode_libdir_separator_GCJ=:
   17395       hardcode_shlibpath_var_GCJ=no
   17396       ;;
   17397 
   17398     openbsd*)
   17399       hardcode_direct_GCJ=yes
   17400       hardcode_shlibpath_var_GCJ=no
   17401       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17402 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17403 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17404 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17405 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17406       else
   17407        case $host_os in
   17408 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17409 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17410 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17411 	   ;;
   17412 	 *)
   17413 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17414 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17415 	   ;;
   17416        esac
   17417       fi
   17418       ;;
   17419 
   17420     os2*)
   17421       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17422       hardcode_minus_L_GCJ=yes
   17423       allow_undefined_flag_GCJ=unsupported
   17424       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'
   17425       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17426       ;;
   17427 
   17428     osf3*)
   17429       if test "$GCC" = yes; then
   17430 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17431 	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'
   17432       else
   17433 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17434 	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'
   17435       fi
   17436       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17437       hardcode_libdir_separator_GCJ=:
   17438       ;;
   17439 
   17440     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17441       if test "$GCC" = yes; then
   17442 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17443 	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'
   17444 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17445       else
   17446 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17447 	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'
   17448 	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~
   17449 	$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'
   17450 
   17451 	# Both c and cxx compiler support -rpath directly
   17452 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17453       fi
   17454       hardcode_libdir_separator_GCJ=:
   17455       ;;
   17456 
   17457     solaris*)
   17458       no_undefined_flag_GCJ=' -z text'
   17459       if test "$GCC" = yes; then
   17460 	wlarc='${wl}'
   17461 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17462 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17463 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17464       else
   17465 	wlarc=''
   17466 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17467 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17468   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17469       fi
   17470       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17471       hardcode_shlibpath_var_GCJ=no
   17472       case $host_os in
   17473       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17474       *)
   17475  	# The compiler driver will combine linker options so we
   17476  	# cannot just pass the convience library names through
   17477  	# without $wl, iff we do not link with $LD.
   17478  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17479  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17480  	case $wlarc in
   17481  	'')
   17482  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17483  	*)
   17484  	  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' ;;
   17485  	esac ;;
   17486       esac
   17487       link_all_deplibs_GCJ=yes
   17488       ;;
   17489 
   17490     sunos4*)
   17491       if test "x$host_vendor" = xsequent; then
   17492 	# Use $CC to link under sequent, because it throws in some extra .o
   17493 	# files that make .init and .fini sections work.
   17494 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17495       else
   17496 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17497       fi
   17498       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17499       hardcode_direct_GCJ=yes
   17500       hardcode_minus_L_GCJ=yes
   17501       hardcode_shlibpath_var_GCJ=no
   17502       ;;
   17503 
   17504     sysv4)
   17505       case $host_vendor in
   17506 	sni)
   17507 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17508 	  hardcode_direct_GCJ=yes # is this really true???
   17509 	;;
   17510 	siemens)
   17511 	  ## LD is ld it makes a PLAMLIB
   17512 	  ## CC just makes a GrossModule.
   17513 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17514 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17515 	  hardcode_direct_GCJ=no
   17516         ;;
   17517 	motorola)
   17518 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17519 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17520 	;;
   17521       esac
   17522       runpath_var='LD_RUN_PATH'
   17523       hardcode_shlibpath_var_GCJ=no
   17524       ;;
   17525 
   17526     sysv4.3*)
   17527       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17528       hardcode_shlibpath_var_GCJ=no
   17529       export_dynamic_flag_spec_GCJ='-Bexport'
   17530       ;;
   17531 
   17532     sysv4*MP*)
   17533       if test -d /usr/nec; then
   17534 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17535 	hardcode_shlibpath_var_GCJ=no
   17536 	runpath_var=LD_RUN_PATH
   17537 	hardcode_runpath_var=yes
   17538 	ld_shlibs_GCJ=yes
   17539       fi
   17540       ;;
   17541 
   17542     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17543       no_undefined_flag_GCJ='${wl}-z,text'
   17544       archive_cmds_need_lc_GCJ=no
   17545       hardcode_shlibpath_var_GCJ=no
   17546       runpath_var='LD_RUN_PATH'
   17547 
   17548       if test "$GCC" = yes; then
   17549 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17550 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17551       else
   17552 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17553 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17554       fi
   17555       ;;
   17556 
   17557     sysv5* | sco3.2v5* | sco5v6*)
   17558       # Note: We can NOT use -z defs as we might desire, because we do not
   17559       # link with -lc, and that would cause any symbols used from libc to
   17560       # always be unresolved, which means just about no library would
   17561       # ever link correctly.  If we're not using GNU ld we use -z text
   17562       # though, which does catch some bad symbols but isn't as heavy-handed
   17563       # as -z defs.
   17564       no_undefined_flag_GCJ='${wl}-z,text'
   17565       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17566       archive_cmds_need_lc_GCJ=no
   17567       hardcode_shlibpath_var_GCJ=no
   17568       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17569       hardcode_libdir_separator_GCJ=':'
   17570       link_all_deplibs_GCJ=yes
   17571       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17572       runpath_var='LD_RUN_PATH'
   17573 
   17574       if test "$GCC" = yes; then
   17575 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17576 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17577       else
   17578 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17579 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17580       fi
   17581       ;;
   17582 
   17583     uts4*)
   17584       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17585       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17586       hardcode_shlibpath_var_GCJ=no
   17587       ;;
   17588 
   17589     *)
   17590       ld_shlibs_GCJ=no
   17591       ;;
   17592     esac
   17593   fi
   17594 
   17595 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17596 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17597 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17598 
   17599 #
   17600 # Do we need to explicitly link libc?
   17601 #
   17602 case "x$archive_cmds_need_lc_GCJ" in
   17603 x|xyes)
   17604   # Assume -lc should be added
   17605   archive_cmds_need_lc_GCJ=yes
   17606 
   17607   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17608     case $archive_cmds_GCJ in
   17609     *'~'*)
   17610       # FIXME: we may have to deal with multi-command sequences.
   17611       ;;
   17612     '$CC '*)
   17613       # Test whether the compiler implicitly links with -lc since on some
   17614       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17615       # to ld, don't add -lc before -lgcc.
   17616       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17617 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17618       $rm conftest*
   17619       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17620 
   17621       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17622   (eval $ac_compile) 2>&5
   17623   ac_status=$?
   17624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17625   (exit $ac_status); } 2>conftest.err; then
   17626         soname=conftest
   17627         lib=conftest
   17628         libobjs=conftest.$ac_objext
   17629         deplibs=
   17630         wl=$lt_prog_compiler_wl_GCJ
   17631 	pic_flag=$lt_prog_compiler_pic_GCJ
   17632         compiler_flags=-v
   17633         linker_flags=-v
   17634         verstring=
   17635         output_objdir=.
   17636         libname=conftest
   17637         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17638         allow_undefined_flag_GCJ=
   17639         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17640   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17641   ac_status=$?
   17642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17643   (exit $ac_status); }
   17644         then
   17645 	  archive_cmds_need_lc_GCJ=no
   17646         else
   17647 	  archive_cmds_need_lc_GCJ=yes
   17648         fi
   17649         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17650       else
   17651         cat conftest.err 1>&5
   17652       fi
   17653       $rm conftest*
   17654       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17655 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17656       ;;
   17657     esac
   17658   fi
   17659   ;;
   17660 esac
   17661 
   17662 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17663 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17664 library_names_spec=
   17665 libname_spec='lib$name'
   17666 soname_spec=
   17667 shrext_cmds=".so"
   17668 postinstall_cmds=
   17669 postuninstall_cmds=
   17670 finish_cmds=
   17671 finish_eval=
   17672 shlibpath_var=
   17673 shlibpath_overrides_runpath=unknown
   17674 version_type=none
   17675 dynamic_linker="$host_os ld.so"
   17676 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17677 if test "$GCC" = yes; then
   17678   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17679   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17680     # if the path contains ";" then we assume it to be the separator
   17681     # otherwise default to the standard path separator (i.e. ":") - it is
   17682     # assumed that no part of a normal pathname contains ";" but that should
   17683     # okay in the real world where ";" in dirpaths is itself problematic.
   17684     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17685   else
   17686     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17687   fi
   17688 else
   17689   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17690 fi
   17691 need_lib_prefix=unknown
   17692 hardcode_into_libs=no
   17693 
   17694 # when you set need_version to no, make sure it does not cause -set_version
   17695 # flags to be left without arguments
   17696 need_version=unknown
   17697 
   17698 case $host_os in
   17699 aix3*)
   17700   version_type=linux
   17701   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17702   shlibpath_var=LIBPATH
   17703 
   17704   # AIX 3 has no versioning support, so we append a major version to the name.
   17705   soname_spec='${libname}${release}${shared_ext}$major'
   17706   ;;
   17707 
   17708 aix4* | aix5*)
   17709   version_type=linux
   17710   need_lib_prefix=no
   17711   need_version=no
   17712   hardcode_into_libs=yes
   17713   if test "$host_cpu" = ia64; then
   17714     # AIX 5 supports IA64
   17715     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17716     shlibpath_var=LD_LIBRARY_PATH
   17717   else
   17718     # With GCC up to 2.95.x, collect2 would create an import file
   17719     # for dependence libraries.  The import file would start with
   17720     # the line `#! .'.  This would cause the generated library to
   17721     # depend on `.', always an invalid library.  This was fixed in
   17722     # development snapshots of GCC prior to 3.0.
   17723     case $host_os in
   17724       aix4 | aix4.[01] | aix4.[01].*)
   17725       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17726 	   echo ' yes '
   17727 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17728 	:
   17729       else
   17730 	can_build_shared=no
   17731       fi
   17732       ;;
   17733     esac
   17734     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17735     # soname into executable. Probably we can add versioning support to
   17736     # collect2, so additional links can be useful in future.
   17737     if test "$aix_use_runtimelinking" = yes; then
   17738       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17739       # instead of lib<name>.a to let people know that these are not
   17740       # typical AIX shared libraries.
   17741       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17742     else
   17743       # We preserve .a as extension for shared libraries through AIX4.2
   17744       # and later when we are not doing run time linking.
   17745       library_names_spec='${libname}${release}.a $libname.a'
   17746       soname_spec='${libname}${release}${shared_ext}$major'
   17747     fi
   17748     shlibpath_var=LIBPATH
   17749   fi
   17750   ;;
   17751 
   17752 amigaos*)
   17753   library_names_spec='$libname.ixlibrary $libname.a'
   17754   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17755   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'
   17756   ;;
   17757 
   17758 beos*)
   17759   library_names_spec='${libname}${shared_ext}'
   17760   dynamic_linker="$host_os ld.so"
   17761   shlibpath_var=LIBRARY_PATH
   17762   ;;
   17763 
   17764 bsdi[45]*)
   17765   version_type=linux
   17766   need_version=no
   17767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17768   soname_spec='${libname}${release}${shared_ext}$major'
   17769   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17770   shlibpath_var=LD_LIBRARY_PATH
   17771   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17772   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17773   # the default ld.so.conf also contains /usr/contrib/lib and
   17774   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17775   # libtool to hard-code these into programs
   17776   ;;
   17777 
   17778 cygwin* | mingw* | pw32*)
   17779   version_type=windows
   17780   shrext_cmds=".dll"
   17781   need_version=no
   17782   need_lib_prefix=no
   17783 
   17784   case $GCC,$host_os in
   17785   yes,cygwin* | yes,mingw* | yes,pw32*)
   17786     library_names_spec='$libname.dll.a'
   17787     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17788     postinstall_cmds='base_file=`basename \${file}`~
   17789       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17790       dldir=$destdir/`dirname \$dlpath`~
   17791       test -d \$dldir || mkdir -p \$dldir~
   17792       $install_prog $dir/$dlname \$dldir/$dlname~
   17793       chmod a+x \$dldir/$dlname'
   17794     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17795       dlpath=$dir/\$dldll~
   17796        $rm \$dlpath'
   17797     shlibpath_overrides_runpath=yes
   17798 
   17799     case $host_os in
   17800     cygwin*)
   17801       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17802       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17803       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17804       ;;
   17805     mingw*)
   17806       # MinGW DLLs use traditional 'lib' prefix
   17807       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17808       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17809       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17810         # It is most probably a Windows format PATH printed by
   17811         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17812         # path with ; separators, and with drive letters. We can handle the
   17813         # drive letters (cygwin fileutils understands them), so leave them,
   17814         # especially as we might pass files found there to a mingw objdump,
   17815         # which wouldn't understand a cygwinified path. Ahh.
   17816         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17817       else
   17818         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17819       fi
   17820       ;;
   17821     pw32*)
   17822       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17823       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17824       ;;
   17825     esac
   17826     ;;
   17827 
   17828   *)
   17829     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17830     ;;
   17831   esac
   17832   dynamic_linker='Win32 ld.exe'
   17833   # FIXME: first we should search . and the directory the executable is in
   17834   shlibpath_var=PATH
   17835   ;;
   17836 
   17837 darwin* | rhapsody*)
   17838   dynamic_linker="$host_os dyld"
   17839   version_type=darwin
   17840   need_lib_prefix=no
   17841   need_version=no
   17842   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17843   soname_spec='${libname}${release}${major}$shared_ext'
   17844   shlibpath_overrides_runpath=yes
   17845   shlibpath_var=DYLD_LIBRARY_PATH
   17846   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17847   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17848   if test "$GCC" = yes; then
   17849     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"`
   17850   else
   17851     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17852   fi
   17853   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17854   ;;
   17855 
   17856 dgux*)
   17857   version_type=linux
   17858   need_lib_prefix=no
   17859   need_version=no
   17860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17861   soname_spec='${libname}${release}${shared_ext}$major'
   17862   shlibpath_var=LD_LIBRARY_PATH
   17863   ;;
   17864 
   17865 freebsd1*)
   17866   dynamic_linker=no
   17867   ;;
   17868 
   17869 kfreebsd*-gnu)
   17870   version_type=linux
   17871   need_lib_prefix=no
   17872   need_version=no
   17873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17874   soname_spec='${libname}${release}${shared_ext}$major'
   17875   shlibpath_var=LD_LIBRARY_PATH
   17876   shlibpath_overrides_runpath=no
   17877   hardcode_into_libs=yes
   17878   dynamic_linker='GNU ld.so'
   17879   ;;
   17880 
   17881 freebsd* | dragonfly*)
   17882   # DragonFly does not have aout.  When/if they implement a new
   17883   # versioning mechanism, adjust this.
   17884   if test -x /usr/bin/objformat; then
   17885     objformat=`/usr/bin/objformat`
   17886   else
   17887     case $host_os in
   17888     freebsd[123]*) objformat=aout ;;
   17889     *) objformat=elf ;;
   17890     esac
   17891   fi
   17892   version_type=freebsd-$objformat
   17893   case $version_type in
   17894     freebsd-elf*)
   17895       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17896       need_version=no
   17897       need_lib_prefix=no
   17898       ;;
   17899     freebsd-*)
   17900       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17901       need_version=yes
   17902       ;;
   17903   esac
   17904   shlibpath_var=LD_LIBRARY_PATH
   17905   case $host_os in
   17906   freebsd2*)
   17907     shlibpath_overrides_runpath=yes
   17908     ;;
   17909   freebsd3.[01]* | freebsdelf3.[01]*)
   17910     shlibpath_overrides_runpath=yes
   17911     hardcode_into_libs=yes
   17912     ;;
   17913   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17914   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17915     shlibpath_overrides_runpath=no
   17916     hardcode_into_libs=yes
   17917     ;;
   17918   freebsd*) # from 4.6 on
   17919     shlibpath_overrides_runpath=yes
   17920     hardcode_into_libs=yes
   17921     ;;
   17922   esac
   17923   ;;
   17924 
   17925 gnu*)
   17926   version_type=linux
   17927   need_lib_prefix=no
   17928   need_version=no
   17929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17930   soname_spec='${libname}${release}${shared_ext}$major'
   17931   shlibpath_var=LD_LIBRARY_PATH
   17932   hardcode_into_libs=yes
   17933   ;;
   17934 
   17935 hpux9* | hpux10* | hpux11*)
   17936   # Give a soname corresponding to the major version so that dld.sl refuses to
   17937   # link against other versions.
   17938   version_type=sunos
   17939   need_lib_prefix=no
   17940   need_version=no
   17941   case $host_cpu in
   17942   ia64*)
   17943     shrext_cmds='.so'
   17944     hardcode_into_libs=yes
   17945     dynamic_linker="$host_os dld.so"
   17946     shlibpath_var=LD_LIBRARY_PATH
   17947     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17948     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17949     soname_spec='${libname}${release}${shared_ext}$major'
   17950     if test "X$HPUX_IA64_MODE" = X32; then
   17951       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17952     else
   17953       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17954     fi
   17955     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17956     ;;
   17957    hppa*64*)
   17958      shrext_cmds='.sl'
   17959      hardcode_into_libs=yes
   17960      dynamic_linker="$host_os dld.sl"
   17961      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17962      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17963      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17964      soname_spec='${libname}${release}${shared_ext}$major'
   17965      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17966      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17967      ;;
   17968    *)
   17969     shrext_cmds='.sl'
   17970     dynamic_linker="$host_os dld.sl"
   17971     shlibpath_var=SHLIB_PATH
   17972     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17973     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17974     soname_spec='${libname}${release}${shared_ext}$major'
   17975     ;;
   17976   esac
   17977   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17978   postinstall_cmds='chmod 555 $lib'
   17979   ;;
   17980 
   17981 interix3*)
   17982   version_type=linux
   17983   need_lib_prefix=no
   17984   need_version=no
   17985   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17986   soname_spec='${libname}${release}${shared_ext}$major'
   17987   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17988   shlibpath_var=LD_LIBRARY_PATH
   17989   shlibpath_overrides_runpath=no
   17990   hardcode_into_libs=yes
   17991   ;;
   17992 
   17993 irix5* | irix6* | nonstopux*)
   17994   case $host_os in
   17995     nonstopux*) version_type=nonstopux ;;
   17996     *)
   17997 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17998 		version_type=linux
   17999 	else
   18000 		version_type=irix
   18001 	fi ;;
   18002   esac
   18003   need_lib_prefix=no
   18004   need_version=no
   18005   soname_spec='${libname}${release}${shared_ext}$major'
   18006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18007   case $host_os in
   18008   irix5* | nonstopux*)
   18009     libsuff= shlibsuff=
   18010     ;;
   18011   *)
   18012     case $LD in # libtool.m4 will add one of these switches to LD
   18013     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18014       libsuff= shlibsuff= libmagic=32-bit;;
   18015     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18016       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18017     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18018       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18019     *) libsuff= shlibsuff= libmagic=never-match;;
   18020     esac
   18021     ;;
   18022   esac
   18023   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18024   shlibpath_overrides_runpath=no
   18025   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18026   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18027   hardcode_into_libs=yes
   18028   ;;
   18029 
   18030 # No shared lib support for Linux oldld, aout, or coff.
   18031 linux*oldld* | linux*aout* | linux*coff*)
   18032   dynamic_linker=no
   18033   ;;
   18034 
   18035 # This must be Linux ELF.
   18036 linux*)
   18037   version_type=linux
   18038   need_lib_prefix=no
   18039   need_version=no
   18040   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18041   soname_spec='${libname}${release}${shared_ext}$major'
   18042   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18043   shlibpath_var=LD_LIBRARY_PATH
   18044   shlibpath_overrides_runpath=no
   18045   # This implies no fast_install, which is unacceptable.
   18046   # Some rework will be needed to allow for fast_install
   18047   # before this can be enabled.
   18048   hardcode_into_libs=yes
   18049 
   18050   # Append ld.so.conf contents to the search path
   18051   if test -f /etc/ld.so.conf; then
   18052     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18053     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18054   fi
   18055 
   18056   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18057   # powerpc, because MkLinux only supported shared libraries with the
   18058   # GNU dynamic linker.  Since this was broken with cross compilers,
   18059   # most powerpc-linux boxes support dynamic linking these days and
   18060   # people can always --disable-shared, the test was removed, and we
   18061   # assume the GNU/Linux dynamic linker is in use.
   18062   dynamic_linker='GNU/Linux ld.so'
   18063   ;;
   18064 
   18065 knetbsd*-gnu)
   18066   version_type=linux
   18067   need_lib_prefix=no
   18068   need_version=no
   18069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18070   soname_spec='${libname}${release}${shared_ext}$major'
   18071   shlibpath_var=LD_LIBRARY_PATH
   18072   shlibpath_overrides_runpath=no
   18073   hardcode_into_libs=yes
   18074   dynamic_linker='GNU ld.so'
   18075   ;;
   18076 
   18077 netbsd*)
   18078   version_type=sunos
   18079   need_lib_prefix=no
   18080   need_version=no
   18081   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18082     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18083     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18084     dynamic_linker='NetBSD (a.out) ld.so'
   18085   else
   18086     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18087     soname_spec='${libname}${release}${shared_ext}$major'
   18088     dynamic_linker='NetBSD ld.elf_so'
   18089   fi
   18090   shlibpath_var=LD_LIBRARY_PATH
   18091   shlibpath_overrides_runpath=yes
   18092   hardcode_into_libs=yes
   18093   ;;
   18094 
   18095 newsos6)
   18096   version_type=linux
   18097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18098   shlibpath_var=LD_LIBRARY_PATH
   18099   shlibpath_overrides_runpath=yes
   18100   ;;
   18101 
   18102 nto-qnx*)
   18103   version_type=linux
   18104   need_lib_prefix=no
   18105   need_version=no
   18106   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18107   soname_spec='${libname}${release}${shared_ext}$major'
   18108   shlibpath_var=LD_LIBRARY_PATH
   18109   shlibpath_overrides_runpath=yes
   18110   ;;
   18111 
   18112 openbsd*)
   18113   version_type=sunos
   18114   sys_lib_dlsearch_path_spec="/usr/lib"
   18115   need_lib_prefix=no
   18116   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18117   case $host_os in
   18118     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18119     *)                         need_version=no  ;;
   18120   esac
   18121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18122   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18123   shlibpath_var=LD_LIBRARY_PATH
   18124   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18125     case $host_os in
   18126       openbsd2.[89] | openbsd2.[89].*)
   18127 	shlibpath_overrides_runpath=no
   18128 	;;
   18129       *)
   18130 	shlibpath_overrides_runpath=yes
   18131 	;;
   18132       esac
   18133   else
   18134     shlibpath_overrides_runpath=yes
   18135   fi
   18136   ;;
   18137 
   18138 os2*)
   18139   libname_spec='$name'
   18140   shrext_cmds=".dll"
   18141   need_lib_prefix=no
   18142   library_names_spec='$libname${shared_ext} $libname.a'
   18143   dynamic_linker='OS/2 ld.exe'
   18144   shlibpath_var=LIBPATH
   18145   ;;
   18146 
   18147 osf3* | osf4* | osf5*)
   18148   version_type=osf
   18149   need_lib_prefix=no
   18150   need_version=no
   18151   soname_spec='${libname}${release}${shared_ext}$major'
   18152   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18153   shlibpath_var=LD_LIBRARY_PATH
   18154   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18155   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18156   ;;
   18157 
   18158 solaris*)
   18159   version_type=linux
   18160   need_lib_prefix=no
   18161   need_version=no
   18162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18163   soname_spec='${libname}${release}${shared_ext}$major'
   18164   shlibpath_var=LD_LIBRARY_PATH
   18165   shlibpath_overrides_runpath=yes
   18166   hardcode_into_libs=yes
   18167   # ldd complains unless libraries are executable
   18168   postinstall_cmds='chmod +x $lib'
   18169   ;;
   18170 
   18171 sunos4*)
   18172   version_type=sunos
   18173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18174   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18175   shlibpath_var=LD_LIBRARY_PATH
   18176   shlibpath_overrides_runpath=yes
   18177   if test "$with_gnu_ld" = yes; then
   18178     need_lib_prefix=no
   18179   fi
   18180   need_version=yes
   18181   ;;
   18182 
   18183 sysv4 | sysv4.3*)
   18184   version_type=linux
   18185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18186   soname_spec='${libname}${release}${shared_ext}$major'
   18187   shlibpath_var=LD_LIBRARY_PATH
   18188   case $host_vendor in
   18189     sni)
   18190       shlibpath_overrides_runpath=no
   18191       need_lib_prefix=no
   18192       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18193       runpath_var=LD_RUN_PATH
   18194       ;;
   18195     siemens)
   18196       need_lib_prefix=no
   18197       ;;
   18198     motorola)
   18199       need_lib_prefix=no
   18200       need_version=no
   18201       shlibpath_overrides_runpath=no
   18202       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18203       ;;
   18204   esac
   18205   ;;
   18206 
   18207 sysv4*MP*)
   18208   if test -d /usr/nec ;then
   18209     version_type=linux
   18210     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18211     soname_spec='$libname${shared_ext}.$major'
   18212     shlibpath_var=LD_LIBRARY_PATH
   18213   fi
   18214   ;;
   18215 
   18216 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18217   version_type=freebsd-elf
   18218   need_lib_prefix=no
   18219   need_version=no
   18220   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18221   soname_spec='${libname}${release}${shared_ext}$major'
   18222   shlibpath_var=LD_LIBRARY_PATH
   18223   hardcode_into_libs=yes
   18224   if test "$with_gnu_ld" = yes; then
   18225     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18226     shlibpath_overrides_runpath=no
   18227   else
   18228     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18229     shlibpath_overrides_runpath=yes
   18230     case $host_os in
   18231       sco3.2v5*)
   18232         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18233 	;;
   18234     esac
   18235   fi
   18236   sys_lib_dlsearch_path_spec='/usr/lib'
   18237   ;;
   18238 
   18239 uts4*)
   18240   version_type=linux
   18241   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18242   soname_spec='${libname}${release}${shared_ext}$major'
   18243   shlibpath_var=LD_LIBRARY_PATH
   18244   ;;
   18245 
   18246 *)
   18247   dynamic_linker=no
   18248   ;;
   18249 esac
   18250 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18251 echo "${ECHO_T}$dynamic_linker" >&6; }
   18252 test "$dynamic_linker" = no && can_build_shared=no
   18253 
   18254 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18255 if test "$GCC" = yes; then
   18256   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18257 fi
   18258 
   18259 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18260 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18261 hardcode_action_GCJ=
   18262 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18263    test -n "$runpath_var_GCJ" || \
   18264    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18265 
   18266   # We can hardcode non-existant directories.
   18267   if test "$hardcode_direct_GCJ" != no &&
   18268      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18269      # have to relink, otherwise we might link with an installed library
   18270      # when we should be linking with a yet-to-be-installed one
   18271      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18272      test "$hardcode_minus_L_GCJ" != no; then
   18273     # Linking always hardcodes the temporary library directory.
   18274     hardcode_action_GCJ=relink
   18275   else
   18276     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18277     hardcode_action_GCJ=immediate
   18278   fi
   18279 else
   18280   # We cannot hardcode anything, or else we can only hardcode existing
   18281   # directories.
   18282   hardcode_action_GCJ=unsupported
   18283 fi
   18284 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18285 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18286 
   18287 if test "$hardcode_action_GCJ" = relink; then
   18288   # Fast installation is not supported
   18289   enable_fast_install=no
   18290 elif test "$shlibpath_overrides_runpath" = yes ||
   18291      test "$enable_shared" = no; then
   18292   # Fast installation is not necessary
   18293   enable_fast_install=needless
   18294 fi
   18295 
   18296 
   18297 # The else clause should only fire when bootstrapping the
   18298 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18299 # with your package, and you will get complaints that there are
   18300 # no rules to generate ltmain.sh.
   18301 if test -f "$ltmain"; then
   18302   # See if we are running on zsh, and set the options which allow our commands through
   18303   # without removal of \ escapes.
   18304   if test -n "${ZSH_VERSION+set}" ; then
   18305     setopt NO_GLOB_SUBST
   18306   fi
   18307   # Now quote all the things that may contain metacharacters while being
   18308   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18309   # variables and quote the copies for generation of the libtool script.
   18310   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18311     SED SHELL STRIP \
   18312     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18313     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18314     deplibs_check_method reload_flag reload_cmds need_locks \
   18315     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18316     lt_cv_sys_global_symbol_to_c_name_address \
   18317     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18318     old_postinstall_cmds old_postuninstall_cmds \
   18319     compiler_GCJ \
   18320     CC_GCJ \
   18321     LD_GCJ \
   18322     lt_prog_compiler_wl_GCJ \
   18323     lt_prog_compiler_pic_GCJ \
   18324     lt_prog_compiler_static_GCJ \
   18325     lt_prog_compiler_no_builtin_flag_GCJ \
   18326     export_dynamic_flag_spec_GCJ \
   18327     thread_safe_flag_spec_GCJ \
   18328     whole_archive_flag_spec_GCJ \
   18329     enable_shared_with_static_runtimes_GCJ \
   18330     old_archive_cmds_GCJ \
   18331     old_archive_from_new_cmds_GCJ \
   18332     predep_objects_GCJ \
   18333     postdep_objects_GCJ \
   18334     predeps_GCJ \
   18335     postdeps_GCJ \
   18336     compiler_lib_search_path_GCJ \
   18337     archive_cmds_GCJ \
   18338     archive_expsym_cmds_GCJ \
   18339     postinstall_cmds_GCJ \
   18340     postuninstall_cmds_GCJ \
   18341     old_archive_from_expsyms_cmds_GCJ \
   18342     allow_undefined_flag_GCJ \
   18343     no_undefined_flag_GCJ \
   18344     export_symbols_cmds_GCJ \
   18345     hardcode_libdir_flag_spec_GCJ \
   18346     hardcode_libdir_flag_spec_ld_GCJ \
   18347     hardcode_libdir_separator_GCJ \
   18348     hardcode_automatic_GCJ \
   18349     module_cmds_GCJ \
   18350     module_expsym_cmds_GCJ \
   18351     lt_cv_prog_compiler_c_o_GCJ \
   18352     exclude_expsyms_GCJ \
   18353     include_expsyms_GCJ; do
   18354 
   18355     case $var in
   18356     old_archive_cmds_GCJ | \
   18357     old_archive_from_new_cmds_GCJ | \
   18358     archive_cmds_GCJ | \
   18359     archive_expsym_cmds_GCJ | \
   18360     module_cmds_GCJ | \
   18361     module_expsym_cmds_GCJ | \
   18362     old_archive_from_expsyms_cmds_GCJ | \
   18363     export_symbols_cmds_GCJ | \
   18364     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18365     postinstall_cmds | postuninstall_cmds | \
   18366     old_postinstall_cmds | old_postuninstall_cmds | \
   18367     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18368       # Double-quote double-evaled strings.
   18369       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18370       ;;
   18371     *)
   18372       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18373       ;;
   18374     esac
   18375   done
   18376 
   18377   case $lt_echo in
   18378   *'\$0 --fallback-echo"')
   18379     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18380     ;;
   18381   esac
   18382 
   18383 cfgfile="$ofile"
   18384 
   18385   cat <<__EOF__ >> "$cfgfile"
   18386 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18387 
   18388 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18389 
   18390 # Shell to use when invoking shell scripts.
   18391 SHELL=$lt_SHELL
   18392 
   18393 # Whether or not to build shared libraries.
   18394 build_libtool_libs=$enable_shared
   18395 
   18396 # Whether or not to build static libraries.
   18397 build_old_libs=$enable_static
   18398 
   18399 # Whether or not to add -lc for building shared libraries.
   18400 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18401 
   18402 # Whether or not to disallow shared libs when runtime libs are static
   18403 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18404 
   18405 # Whether or not to optimize for fast installation.
   18406 fast_install=$enable_fast_install
   18407 
   18408 # The host system.
   18409 host_alias=$host_alias
   18410 host=$host
   18411 host_os=$host_os
   18412 
   18413 # The build system.
   18414 build_alias=$build_alias
   18415 build=$build
   18416 build_os=$build_os
   18417 
   18418 # An echo program that does not interpret backslashes.
   18419 echo=$lt_echo
   18420 
   18421 # The archiver.
   18422 AR=$lt_AR
   18423 AR_FLAGS=$lt_AR_FLAGS
   18424 
   18425 # A C compiler.
   18426 LTCC=$lt_LTCC
   18427 
   18428 # LTCC compiler flags.
   18429 LTCFLAGS=$lt_LTCFLAGS
   18430 
   18431 # A language-specific compiler.
   18432 CC=$lt_compiler_GCJ
   18433 
   18434 # Is the compiler the GNU C compiler?
   18435 with_gcc=$GCC_GCJ
   18436 
   18437 # An ERE matcher.
   18438 EGREP=$lt_EGREP
   18439 
   18440 # The linker used to build libraries.
   18441 LD=$lt_LD_GCJ
   18442 
   18443 # Whether we need hard or soft links.
   18444 LN_S=$lt_LN_S
   18445 
   18446 # A BSD-compatible nm program.
   18447 NM=$lt_NM
   18448 
   18449 # A symbol stripping program
   18450 STRIP=$lt_STRIP
   18451 
   18452 # Used to examine libraries when file_magic_cmd begins "file"
   18453 MAGIC_CMD=$MAGIC_CMD
   18454 
   18455 # Used on cygwin: DLL creation program.
   18456 DLLTOOL="$DLLTOOL"
   18457 
   18458 # Used on cygwin: object dumper.
   18459 OBJDUMP="$OBJDUMP"
   18460 
   18461 # Used on cygwin: assembler.
   18462 AS="$AS"
   18463 
   18464 # The name of the directory that contains temporary libtool files.
   18465 objdir=$objdir
   18466 
   18467 # How to create reloadable object files.
   18468 reload_flag=$lt_reload_flag
   18469 reload_cmds=$lt_reload_cmds
   18470 
   18471 # How to pass a linker flag through the compiler.
   18472 wl=$lt_lt_prog_compiler_wl_GCJ
   18473 
   18474 # Object file suffix (normally "o").
   18475 objext="$ac_objext"
   18476 
   18477 # Old archive suffix (normally "a").
   18478 libext="$libext"
   18479 
   18480 # Shared library suffix (normally ".so").
   18481 shrext_cmds='$shrext_cmds'
   18482 
   18483 # Executable file suffix (normally "").
   18484 exeext="$exeext"
   18485 
   18486 # Additional compiler flags for building library objects.
   18487 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18488 pic_mode=$pic_mode
   18489 
   18490 # What is the maximum length of a command?
   18491 max_cmd_len=$lt_cv_sys_max_cmd_len
   18492 
   18493 # Does compiler simultaneously support -c and -o options?
   18494 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18495 
   18496 # Must we lock files when doing compilation?
   18497 need_locks=$lt_need_locks
   18498 
   18499 # Do we need the lib prefix for modules?
   18500 need_lib_prefix=$need_lib_prefix
   18501 
   18502 # Do we need a version for libraries?
   18503 need_version=$need_version
   18504 
   18505 # Whether dlopen is supported.
   18506 dlopen_support=$enable_dlopen
   18507 
   18508 # Whether dlopen of programs is supported.
   18509 dlopen_self=$enable_dlopen_self
   18510 
   18511 # Whether dlopen of statically linked programs is supported.
   18512 dlopen_self_static=$enable_dlopen_self_static
   18513 
   18514 # Compiler flag to prevent dynamic linking.
   18515 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18516 
   18517 # Compiler flag to turn off builtin functions.
   18518 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18519 
   18520 # Compiler flag to allow reflexive dlopens.
   18521 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18522 
   18523 # Compiler flag to generate shared objects directly from archives.
   18524 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18525 
   18526 # Compiler flag to generate thread-safe objects.
   18527 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18528 
   18529 # Library versioning type.
   18530 version_type=$version_type
   18531 
   18532 # Format of library name prefix.
   18533 libname_spec=$lt_libname_spec
   18534 
   18535 # List of archive names.  First name is the real one, the rest are links.
   18536 # The last name is the one that the linker finds with -lNAME.
   18537 library_names_spec=$lt_library_names_spec
   18538 
   18539 # The coded name of the library, if different from the real name.
   18540 soname_spec=$lt_soname_spec
   18541 
   18542 # Commands used to build and install an old-style archive.
   18543 RANLIB=$lt_RANLIB
   18544 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18545 old_postinstall_cmds=$lt_old_postinstall_cmds
   18546 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18547 
   18548 # Create an old-style archive from a shared archive.
   18549 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18550 
   18551 # Create a temporary old-style archive to link instead of a shared archive.
   18552 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18553 
   18554 # Commands used to build and install a shared archive.
   18555 archive_cmds=$lt_archive_cmds_GCJ
   18556 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18557 postinstall_cmds=$lt_postinstall_cmds
   18558 postuninstall_cmds=$lt_postuninstall_cmds
   18559 
   18560 # Commands used to build a loadable module (assumed same as above if empty)
   18561 module_cmds=$lt_module_cmds_GCJ
   18562 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18563 
   18564 # Commands to strip libraries.
   18565 old_striplib=$lt_old_striplib
   18566 striplib=$lt_striplib
   18567 
   18568 # Dependencies to place before the objects being linked to create a
   18569 # shared library.
   18570 predep_objects=$lt_predep_objects_GCJ
   18571 
   18572 # Dependencies to place after the objects being linked to create a
   18573 # shared library.
   18574 postdep_objects=$lt_postdep_objects_GCJ
   18575 
   18576 # Dependencies to place before the objects being linked to create a
   18577 # shared library.
   18578 predeps=$lt_predeps_GCJ
   18579 
   18580 # Dependencies to place after the objects being linked to create a
   18581 # shared library.
   18582 postdeps=$lt_postdeps_GCJ
   18583 
   18584 # The library search path used internally by the compiler when linking
   18585 # a shared library.
   18586 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18587 
   18588 # Method to check whether dependent libraries are shared objects.
   18589 deplibs_check_method=$lt_deplibs_check_method
   18590 
   18591 # Command to use when deplibs_check_method == file_magic.
   18592 file_magic_cmd=$lt_file_magic_cmd
   18593 
   18594 # Flag that allows shared libraries with undefined symbols to be built.
   18595 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18596 
   18597 # Flag that forces no undefined symbols.
   18598 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18599 
   18600 # Commands used to finish a libtool library installation in a directory.
   18601 finish_cmds=$lt_finish_cmds
   18602 
   18603 # Same as above, but a single script fragment to be evaled but not shown.
   18604 finish_eval=$lt_finish_eval
   18605 
   18606 # Take the output of nm and produce a listing of raw symbols and C names.
   18607 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18608 
   18609 # Transform the output of nm in a proper C declaration
   18610 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18611 
   18612 # Transform the output of nm in a C name address pair
   18613 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18614 
   18615 # This is the shared library runtime path variable.
   18616 runpath_var=$runpath_var
   18617 
   18618 # This is the shared library path variable.
   18619 shlibpath_var=$shlibpath_var
   18620 
   18621 # Is shlibpath searched before the hard-coded library search path?
   18622 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18623 
   18624 # How to hardcode a shared library path into an executable.
   18625 hardcode_action=$hardcode_action_GCJ
   18626 
   18627 # Whether we should hardcode library paths into libraries.
   18628 hardcode_into_libs=$hardcode_into_libs
   18629 
   18630 # Flag to hardcode \$libdir into a binary during linking.
   18631 # This must work even if \$libdir does not exist.
   18632 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18633 
   18634 # If ld is used when linking, flag to hardcode \$libdir into
   18635 # a binary during linking. This must work even if \$libdir does
   18636 # not exist.
   18637 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18638 
   18639 # Whether we need a single -rpath flag with a separated argument.
   18640 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18641 
   18642 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18643 # resulting binary.
   18644 hardcode_direct=$hardcode_direct_GCJ
   18645 
   18646 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18647 # resulting binary.
   18648 hardcode_minus_L=$hardcode_minus_L_GCJ
   18649 
   18650 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18651 # the resulting binary.
   18652 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18653 
   18654 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18655 # and all subsequent libraries and executables linked against it.
   18656 hardcode_automatic=$hardcode_automatic_GCJ
   18657 
   18658 # Variables whose values should be saved in libtool wrapper scripts and
   18659 # restored at relink time.
   18660 variables_saved_for_relink="$variables_saved_for_relink"
   18661 
   18662 # Whether libtool must link a program against all its dependency libraries.
   18663 link_all_deplibs=$link_all_deplibs_GCJ
   18664 
   18665 # Compile-time system search path for libraries
   18666 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18667 
   18668 # Run-time system search path for libraries
   18669 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18670 
   18671 # Fix the shell variable \$srcfile for the compiler.
   18672 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18673 
   18674 # Set to yes if exported symbols are required.
   18675 always_export_symbols=$always_export_symbols_GCJ
   18676 
   18677 # The commands to list exported symbols.
   18678 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18679 
   18680 # The commands to extract the exported symbol list from a shared archive.
   18681 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18682 
   18683 # Symbols that should not be listed in the preloaded symbols.
   18684 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18685 
   18686 # Symbols that must always be exported.
   18687 include_expsyms=$lt_include_expsyms_GCJ
   18688 
   18689 # ### END LIBTOOL TAG CONFIG: $tagname
   18690 
   18691 __EOF__
   18692 
   18693 
   18694 else
   18695   # If there is no Makefile yet, we rely on a make rule to execute
   18696   # `config.status --recheck' to rerun these tests and create the
   18697   # libtool script then.
   18698   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18699   if test -f "$ltmain_in"; then
   18700     test -f Makefile && make "$ltmain"
   18701   fi
   18702 fi
   18703 
   18704 
   18705 ac_ext=c
   18706 ac_cpp='$CPP $CPPFLAGS'
   18707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18710 
   18711 CC="$lt_save_CC"
   18712 
   18713 	else
   18714 	  tagname=""
   18715 	fi
   18716 	;;
   18717 
   18718       RC)
   18719 
   18720 
   18721 # Source file extension for RC test sources.
   18722 ac_ext=rc
   18723 
   18724 # Object file extension for compiled RC test sources.
   18725 objext=o
   18726 objext_RC=$objext
   18727 
   18728 # Code to be used in simple compile tests
   18729 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18730 
   18731 # Code to be used in simple link tests
   18732 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18733 
   18734 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18735 
   18736 # If no C compiler was specified, use CC.
   18737 LTCC=${LTCC-"$CC"}
   18738 
   18739 # If no C compiler flags were specified, use CFLAGS.
   18740 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18741 
   18742 # Allow CC to be a program name with arguments.
   18743 compiler=$CC
   18744 
   18745 
   18746 # save warnings/boilerplate of simple test code
   18747 ac_outfile=conftest.$ac_objext
   18748 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18749 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18750 _lt_compiler_boilerplate=`cat conftest.err`
   18751 $rm conftest*
   18752 
   18753 ac_outfile=conftest.$ac_objext
   18754 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18755 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18756 _lt_linker_boilerplate=`cat conftest.err`
   18757 $rm conftest*
   18758 
   18759 
   18760 # Allow CC to be a program name with arguments.
   18761 lt_save_CC="$CC"
   18762 CC=${RC-"windres"}
   18763 compiler=$CC
   18764 compiler_RC=$CC
   18765 for cc_temp in $compiler""; do
   18766   case $cc_temp in
   18767     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18768     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18769     \-*) ;;
   18770     *) break;;
   18771   esac
   18772 done
   18773 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18774 
   18775 lt_cv_prog_compiler_c_o_RC=yes
   18776 
   18777 # The else clause should only fire when bootstrapping the
   18778 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18779 # with your package, and you will get complaints that there are
   18780 # no rules to generate ltmain.sh.
   18781 if test -f "$ltmain"; then
   18782   # See if we are running on zsh, and set the options which allow our commands through
   18783   # without removal of \ escapes.
   18784   if test -n "${ZSH_VERSION+set}" ; then
   18785     setopt NO_GLOB_SUBST
   18786   fi
   18787   # Now quote all the things that may contain metacharacters while being
   18788   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18789   # variables and quote the copies for generation of the libtool script.
   18790   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18791     SED SHELL STRIP \
   18792     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18793     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18794     deplibs_check_method reload_flag reload_cmds need_locks \
   18795     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18796     lt_cv_sys_global_symbol_to_c_name_address \
   18797     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18798     old_postinstall_cmds old_postuninstall_cmds \
   18799     compiler_RC \
   18800     CC_RC \
   18801     LD_RC \
   18802     lt_prog_compiler_wl_RC \
   18803     lt_prog_compiler_pic_RC \
   18804     lt_prog_compiler_static_RC \
   18805     lt_prog_compiler_no_builtin_flag_RC \
   18806     export_dynamic_flag_spec_RC \
   18807     thread_safe_flag_spec_RC \
   18808     whole_archive_flag_spec_RC \
   18809     enable_shared_with_static_runtimes_RC \
   18810     old_archive_cmds_RC \
   18811     old_archive_from_new_cmds_RC \
   18812     predep_objects_RC \
   18813     postdep_objects_RC \
   18814     predeps_RC \
   18815     postdeps_RC \
   18816     compiler_lib_search_path_RC \
   18817     archive_cmds_RC \
   18818     archive_expsym_cmds_RC \
   18819     postinstall_cmds_RC \
   18820     postuninstall_cmds_RC \
   18821     old_archive_from_expsyms_cmds_RC \
   18822     allow_undefined_flag_RC \
   18823     no_undefined_flag_RC \
   18824     export_symbols_cmds_RC \
   18825     hardcode_libdir_flag_spec_RC \
   18826     hardcode_libdir_flag_spec_ld_RC \
   18827     hardcode_libdir_separator_RC \
   18828     hardcode_automatic_RC \
   18829     module_cmds_RC \
   18830     module_expsym_cmds_RC \
   18831     lt_cv_prog_compiler_c_o_RC \
   18832     exclude_expsyms_RC \
   18833     include_expsyms_RC; do
   18834 
   18835     case $var in
   18836     old_archive_cmds_RC | \
   18837     old_archive_from_new_cmds_RC | \
   18838     archive_cmds_RC | \
   18839     archive_expsym_cmds_RC | \
   18840     module_cmds_RC | \
   18841     module_expsym_cmds_RC | \
   18842     old_archive_from_expsyms_cmds_RC | \
   18843     export_symbols_cmds_RC | \
   18844     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18845     postinstall_cmds | postuninstall_cmds | \
   18846     old_postinstall_cmds | old_postuninstall_cmds | \
   18847     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18848       # Double-quote double-evaled strings.
   18849       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18850       ;;
   18851     *)
   18852       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18853       ;;
   18854     esac
   18855   done
   18856 
   18857   case $lt_echo in
   18858   *'\$0 --fallback-echo"')
   18859     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18860     ;;
   18861   esac
   18862 
   18863 cfgfile="$ofile"
   18864 
   18865   cat <<__EOF__ >> "$cfgfile"
   18866 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18867 
   18868 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18869 
   18870 # Shell to use when invoking shell scripts.
   18871 SHELL=$lt_SHELL
   18872 
   18873 # Whether or not to build shared libraries.
   18874 build_libtool_libs=$enable_shared
   18875 
   18876 # Whether or not to build static libraries.
   18877 build_old_libs=$enable_static
   18878 
   18879 # Whether or not to add -lc for building shared libraries.
   18880 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18881 
   18882 # Whether or not to disallow shared libs when runtime libs are static
   18883 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18884 
   18885 # Whether or not to optimize for fast installation.
   18886 fast_install=$enable_fast_install
   18887 
   18888 # The host system.
   18889 host_alias=$host_alias
   18890 host=$host
   18891 host_os=$host_os
   18892 
   18893 # The build system.
   18894 build_alias=$build_alias
   18895 build=$build
   18896 build_os=$build_os
   18897 
   18898 # An echo program that does not interpret backslashes.
   18899 echo=$lt_echo
   18900 
   18901 # The archiver.
   18902 AR=$lt_AR
   18903 AR_FLAGS=$lt_AR_FLAGS
   18904 
   18905 # A C compiler.
   18906 LTCC=$lt_LTCC
   18907 
   18908 # LTCC compiler flags.
   18909 LTCFLAGS=$lt_LTCFLAGS
   18910 
   18911 # A language-specific compiler.
   18912 CC=$lt_compiler_RC
   18913 
   18914 # Is the compiler the GNU C compiler?
   18915 with_gcc=$GCC_RC
   18916 
   18917 # An ERE matcher.
   18918 EGREP=$lt_EGREP
   18919 
   18920 # The linker used to build libraries.
   18921 LD=$lt_LD_RC
   18922 
   18923 # Whether we need hard or soft links.
   18924 LN_S=$lt_LN_S
   18925 
   18926 # A BSD-compatible nm program.
   18927 NM=$lt_NM
   18928 
   18929 # A symbol stripping program
   18930 STRIP=$lt_STRIP
   18931 
   18932 # Used to examine libraries when file_magic_cmd begins "file"
   18933 MAGIC_CMD=$MAGIC_CMD
   18934 
   18935 # Used on cygwin: DLL creation program.
   18936 DLLTOOL="$DLLTOOL"
   18937 
   18938 # Used on cygwin: object dumper.
   18939 OBJDUMP="$OBJDUMP"
   18940 
   18941 # Used on cygwin: assembler.
   18942 AS="$AS"
   18943 
   18944 # The name of the directory that contains temporary libtool files.
   18945 objdir=$objdir
   18946 
   18947 # How to create reloadable object files.
   18948 reload_flag=$lt_reload_flag
   18949 reload_cmds=$lt_reload_cmds
   18950 
   18951 # How to pass a linker flag through the compiler.
   18952 wl=$lt_lt_prog_compiler_wl_RC
   18953 
   18954 # Object file suffix (normally "o").
   18955 objext="$ac_objext"
   18956 
   18957 # Old archive suffix (normally "a").
   18958 libext="$libext"
   18959 
   18960 # Shared library suffix (normally ".so").
   18961 shrext_cmds='$shrext_cmds'
   18962 
   18963 # Executable file suffix (normally "").
   18964 exeext="$exeext"
   18965 
   18966 # Additional compiler flags for building library objects.
   18967 pic_flag=$lt_lt_prog_compiler_pic_RC
   18968 pic_mode=$pic_mode
   18969 
   18970 # What is the maximum length of a command?
   18971 max_cmd_len=$lt_cv_sys_max_cmd_len
   18972 
   18973 # Does compiler simultaneously support -c and -o options?
   18974 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18975 
   18976 # Must we lock files when doing compilation?
   18977 need_locks=$lt_need_locks
   18978 
   18979 # Do we need the lib prefix for modules?
   18980 need_lib_prefix=$need_lib_prefix
   18981 
   18982 # Do we need a version for libraries?
   18983 need_version=$need_version
   18984 
   18985 # Whether dlopen is supported.
   18986 dlopen_support=$enable_dlopen
   18987 
   18988 # Whether dlopen of programs is supported.
   18989 dlopen_self=$enable_dlopen_self
   18990 
   18991 # Whether dlopen of statically linked programs is supported.
   18992 dlopen_self_static=$enable_dlopen_self_static
   18993 
   18994 # Compiler flag to prevent dynamic linking.
   18995 link_static_flag=$lt_lt_prog_compiler_static_RC
   18996 
   18997 # Compiler flag to turn off builtin functions.
   18998 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   18999 
   19000 # Compiler flag to allow reflexive dlopens.
   19001 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19002 
   19003 # Compiler flag to generate shared objects directly from archives.
   19004 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19005 
   19006 # Compiler flag to generate thread-safe objects.
   19007 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19008 
   19009 # Library versioning type.
   19010 version_type=$version_type
   19011 
   19012 # Format of library name prefix.
   19013 libname_spec=$lt_libname_spec
   19014 
   19015 # List of archive names.  First name is the real one, the rest are links.
   19016 # The last name is the one that the linker finds with -lNAME.
   19017 library_names_spec=$lt_library_names_spec
   19018 
   19019 # The coded name of the library, if different from the real name.
   19020 soname_spec=$lt_soname_spec
   19021 
   19022 # Commands used to build and install an old-style archive.
   19023 RANLIB=$lt_RANLIB
   19024 old_archive_cmds=$lt_old_archive_cmds_RC
   19025 old_postinstall_cmds=$lt_old_postinstall_cmds
   19026 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19027 
   19028 # Create an old-style archive from a shared archive.
   19029 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19030 
   19031 # Create a temporary old-style archive to link instead of a shared archive.
   19032 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19033 
   19034 # Commands used to build and install a shared archive.
   19035 archive_cmds=$lt_archive_cmds_RC
   19036 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19037 postinstall_cmds=$lt_postinstall_cmds
   19038 postuninstall_cmds=$lt_postuninstall_cmds
   19039 
   19040 # Commands used to build a loadable module (assumed same as above if empty)
   19041 module_cmds=$lt_module_cmds_RC
   19042 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19043 
   19044 # Commands to strip libraries.
   19045 old_striplib=$lt_old_striplib
   19046 striplib=$lt_striplib
   19047 
   19048 # Dependencies to place before the objects being linked to create a
   19049 # shared library.
   19050 predep_objects=$lt_predep_objects_RC
   19051 
   19052 # Dependencies to place after the objects being linked to create a
   19053 # shared library.
   19054 postdep_objects=$lt_postdep_objects_RC
   19055 
   19056 # Dependencies to place before the objects being linked to create a
   19057 # shared library.
   19058 predeps=$lt_predeps_RC
   19059 
   19060 # Dependencies to place after the objects being linked to create a
   19061 # shared library.
   19062 postdeps=$lt_postdeps_RC
   19063 
   19064 # The library search path used internally by the compiler when linking
   19065 # a shared library.
   19066 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19067 
   19068 # Method to check whether dependent libraries are shared objects.
   19069 deplibs_check_method=$lt_deplibs_check_method
   19070 
   19071 # Command to use when deplibs_check_method == file_magic.
   19072 file_magic_cmd=$lt_file_magic_cmd
   19073 
   19074 # Flag that allows shared libraries with undefined symbols to be built.
   19075 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19076 
   19077 # Flag that forces no undefined symbols.
   19078 no_undefined_flag=$lt_no_undefined_flag_RC
   19079 
   19080 # Commands used to finish a libtool library installation in a directory.
   19081 finish_cmds=$lt_finish_cmds
   19082 
   19083 # Same as above, but a single script fragment to be evaled but not shown.
   19084 finish_eval=$lt_finish_eval
   19085 
   19086 # Take the output of nm and produce a listing of raw symbols and C names.
   19087 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19088 
   19089 # Transform the output of nm in a proper C declaration
   19090 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19091 
   19092 # Transform the output of nm in a C name address pair
   19093 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19094 
   19095 # This is the shared library runtime path variable.
   19096 runpath_var=$runpath_var
   19097 
   19098 # This is the shared library path variable.
   19099 shlibpath_var=$shlibpath_var
   19100 
   19101 # Is shlibpath searched before the hard-coded library search path?
   19102 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19103 
   19104 # How to hardcode a shared library path into an executable.
   19105 hardcode_action=$hardcode_action_RC
   19106 
   19107 # Whether we should hardcode library paths into libraries.
   19108 hardcode_into_libs=$hardcode_into_libs
   19109 
   19110 # Flag to hardcode \$libdir into a binary during linking.
   19111 # This must work even if \$libdir does not exist.
   19112 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19113 
   19114 # If ld is used when linking, flag to hardcode \$libdir into
   19115 # a binary during linking. This must work even if \$libdir does
   19116 # not exist.
   19117 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19118 
   19119 # Whether we need a single -rpath flag with a separated argument.
   19120 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19121 
   19122 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19123 # resulting binary.
   19124 hardcode_direct=$hardcode_direct_RC
   19125 
   19126 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19127 # resulting binary.
   19128 hardcode_minus_L=$hardcode_minus_L_RC
   19129 
   19130 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19131 # the resulting binary.
   19132 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19133 
   19134 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19135 # and all subsequent libraries and executables linked against it.
   19136 hardcode_automatic=$hardcode_automatic_RC
   19137 
   19138 # Variables whose values should be saved in libtool wrapper scripts and
   19139 # restored at relink time.
   19140 variables_saved_for_relink="$variables_saved_for_relink"
   19141 
   19142 # Whether libtool must link a program against all its dependency libraries.
   19143 link_all_deplibs=$link_all_deplibs_RC
   19144 
   19145 # Compile-time system search path for libraries
   19146 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19147 
   19148 # Run-time system search path for libraries
   19149 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19150 
   19151 # Fix the shell variable \$srcfile for the compiler.
   19152 fix_srcfile_path="$fix_srcfile_path_RC"
   19153 
   19154 # Set to yes if exported symbols are required.
   19155 always_export_symbols=$always_export_symbols_RC
   19156 
   19157 # The commands to list exported symbols.
   19158 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19159 
   19160 # The commands to extract the exported symbol list from a shared archive.
   19161 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19162 
   19163 # Symbols that should not be listed in the preloaded symbols.
   19164 exclude_expsyms=$lt_exclude_expsyms_RC
   19165 
   19166 # Symbols that must always be exported.
   19167 include_expsyms=$lt_include_expsyms_RC
   19168 
   19169 # ### END LIBTOOL TAG CONFIG: $tagname
   19170 
   19171 __EOF__
   19172 
   19173 
   19174 else
   19175   # If there is no Makefile yet, we rely on a make rule to execute
   19176   # `config.status --recheck' to rerun these tests and create the
   19177   # libtool script then.
   19178   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19179   if test -f "$ltmain_in"; then
   19180     test -f Makefile && make "$ltmain"
   19181   fi
   19182 fi
   19183 
   19184 
   19185 ac_ext=c
   19186 ac_cpp='$CPP $CPPFLAGS'
   19187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19190 
   19191 CC="$lt_save_CC"
   19192 
   19193 	;;
   19194 
   19195       *)
   19196 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19197 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19198    { (exit 1); exit 1; }; }
   19199 	;;
   19200       esac
   19201 
   19202       # Append the new tag name to the list of available tags.
   19203       if test -n "$tagname" ; then
   19204       available_tags="$available_tags $tagname"
   19205     fi
   19206     fi
   19207   done
   19208   IFS="$lt_save_ifs"
   19209 
   19210   # Now substitute the updated list of available tags.
   19211   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19212     mv "${ofile}T" "$ofile"
   19213     chmod +x "$ofile"
   19214   else
   19215     rm -f "${ofile}T"
   19216     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19217 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19218    { (exit 1); exit 1; }; }
   19219   fi
   19220 fi
   19221 
   19222 
   19223 
   19224 # This can be used to rebuild libtool when needed
   19225 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19226 
   19227 # Always use our own libtool.
   19228 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19229 
   19230 # Prevent multiple expansion
   19231 
   19232 
   19233 
   19234 
   19235 
   19236 
   19237 
   19238 
   19239 
   19240 
   19241 
   19242 
   19243 
   19244 
   19245 
   19246 
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 # Check for dependencies
   19253 
   19254 
   19255 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19256 	if test -n "$ac_tool_prefix"; then
   19257   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19258 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19261 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   19262   echo $ECHO_N "(cached) $ECHO_C" >&6
   19263 else
   19264   case $PKG_CONFIG in
   19265   [\\/]* | ?:[\\/]*)
   19266   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19267   ;;
   19268   *)
   19269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19270 for as_dir in $PATH
   19271 do
   19272   IFS=$as_save_IFS
   19273   test -z "$as_dir" && as_dir=.
   19274   for ac_exec_ext in '' $ac_executable_extensions; do
   19275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19276     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19277     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19278     break 2
   19279   fi
   19280 done
   19281 done
   19282 IFS=$as_save_IFS
   19283 
   19284   ;;
   19285 esac
   19286 fi
   19287 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19288 if test -n "$PKG_CONFIG"; then
   19289   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   19290 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   19291 else
   19292   { echo "$as_me:$LINENO: result: no" >&5
   19293 echo "${ECHO_T}no" >&6; }
   19294 fi
   19295 
   19296 
   19297 fi
   19298 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19299   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19300   # Extract the first word of "pkg-config", so it can be a program name with args.
   19301 set dummy pkg-config; ac_word=$2
   19302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19304 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   19305   echo $ECHO_N "(cached) $ECHO_C" >&6
   19306 else
   19307   case $ac_pt_PKG_CONFIG in
   19308   [\\/]* | ?:[\\/]*)
   19309   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19310   ;;
   19311   *)
   19312   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19313 for as_dir in $PATH
   19314 do
   19315   IFS=$as_save_IFS
   19316   test -z "$as_dir" && as_dir=.
   19317   for ac_exec_ext in '' $ac_executable_extensions; do
   19318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19319     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19320     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19321     break 2
   19322   fi
   19323 done
   19324 done
   19325 IFS=$as_save_IFS
   19326 
   19327   ;;
   19328 esac
   19329 fi
   19330 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19331 if test -n "$ac_pt_PKG_CONFIG"; then
   19332   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   19333 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   19334 else
   19335   { echo "$as_me:$LINENO: result: no" >&5
   19336 echo "${ECHO_T}no" >&6; }
   19337 fi
   19338 
   19339   if test "x$ac_pt_PKG_CONFIG" = x; then
   19340     PKG_CONFIG=""
   19341   else
   19342     case $cross_compiling:$ac_tool_warned in
   19343 yes:)
   19344 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19345 whose name does not start with the host triplet.  If you think this
   19346 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19347 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19348 whose name does not start with the host triplet.  If you think this
   19349 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19350 ac_tool_warned=yes ;;
   19351 esac
   19352     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19353   fi
   19354 else
   19355   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19356 fi
   19357 
   19358 fi
   19359 if test -n "$PKG_CONFIG"; then
   19360 	_pkg_min_version=0.9.0
   19361 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   19362 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   19363 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19364 		{ echo "$as_me:$LINENO: result: yes" >&5
   19365 echo "${ECHO_T}yes" >&6; }
   19366 	else
   19367 		{ echo "$as_me:$LINENO: result: no" >&5
   19368 echo "${ECHO_T}no" >&6; }
   19369 		PKG_CONFIG=""
   19370 	fi
   19371 
   19372 fi
   19373 
   19374 pkg_failed=no
   19375 { echo "$as_me:$LINENO: checking for FS" >&5
   19376 echo $ECHO_N "checking for FS... $ECHO_C" >&6; }
   19377 
   19378 if test -n "$PKG_CONFIG"; then
   19379         if test -n "$PKG_CONFIG" && \
   19380     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto fontsproto\"") >&5
   19381   ($PKG_CONFIG --exists --print-errors "xproto fontsproto") 2>&5
   19382   ac_status=$?
   19383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19384   (exit $ac_status); }; then
   19385   pkg_cv_FS_CFLAGS=`$PKG_CONFIG --cflags "xproto fontsproto" 2>/dev/null`
   19386 else
   19387   pkg_failed=yes
   19388 fi
   19389 else
   19390 	pkg_failed=untried
   19391 fi
   19392 if test -n "$PKG_CONFIG"; then
   19393         if test -n "$PKG_CONFIG" && \
   19394     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto fontsproto\"") >&5
   19395   ($PKG_CONFIG --exists --print-errors "xproto fontsproto") 2>&5
   19396   ac_status=$?
   19397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19398   (exit $ac_status); }; then
   19399   pkg_cv_FS_LIBS=`$PKG_CONFIG --libs "xproto fontsproto" 2>/dev/null`
   19400 else
   19401   pkg_failed=yes
   19402 fi
   19403 else
   19404 	pkg_failed=untried
   19405 fi
   19406 
   19407 if test $pkg_failed = yes; then
   19408 	FS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto fontsproto"`
   19409 	# Put the nasty error message in config.log where it belongs
   19410 	echo "$FS_PKG_ERRORS" 1>&5
   19411 
   19412 	{ { echo "$as_me:$LINENO: error: Package requirements (xproto fontsproto) were not met.
   19413 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19414 installed software in a non-standard prefix.
   19415 
   19416 Alternatively you may set the FS_CFLAGS and FS_LIBS environment variables
   19417 to avoid the need to call pkg-config.  See the pkg-config man page for
   19418 more details." >&5
   19419 echo "$as_me: error: Package requirements (xproto fontsproto) were not met.
   19420 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19421 installed software in a non-standard prefix.
   19422 
   19423 Alternatively you may set the FS_CFLAGS and FS_LIBS environment variables
   19424 to avoid the need to call pkg-config.  See the pkg-config man page for
   19425 more details." >&2;}
   19426    { (exit 1); exit 1; }; }
   19427 elif test $pkg_failed = untried; then
   19428 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19429 is in your PATH or set the PKG_CONFIG environment variable to the full
   19430 path to pkg-config.
   19431 
   19432 Alternatively you may set the FS_CFLAGS and FS_LIBS environment variables
   19433 to avoid the need to call pkg-config.  See the pkg-config man page for
   19434 more details.
   19435 
   19436 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19437 See \`config.log' for more details." >&5
   19438 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19439 is in your PATH or set the PKG_CONFIG environment variable to the full
   19440 path to pkg-config.
   19441 
   19442 Alternatively you may set the FS_CFLAGS and FS_LIBS environment variables
   19443 to avoid the need to call pkg-config.  See the pkg-config man page for
   19444 more details.
   19445 
   19446 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19447 See \`config.log' for more details." >&2;}
   19448    { (exit 1); exit 1; }; }
   19449 else
   19450 	FS_CFLAGS=$pkg_cv_FS_CFLAGS
   19451 	FS_LIBS=$pkg_cv_FS_LIBS
   19452         { echo "$as_me:$LINENO: result: yes" >&5
   19453 echo "${ECHO_T}yes" >&6; }
   19454 	:
   19455 fi
   19456 
   19457 
   19458 #
   19459 # Split out so we don't include xtrans C flags in fs.pc
   19460 #
   19461 
   19462 pkg_failed=no
   19463 { echo "$as_me:$LINENO: checking for XTRANS" >&5
   19464 echo $ECHO_N "checking for XTRANS... $ECHO_C" >&6; }
   19465 
   19466 if test -n "$PKG_CONFIG"; then
   19467         if test -n "$PKG_CONFIG" && \
   19468     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtrans\"") >&5
   19469   ($PKG_CONFIG --exists --print-errors "xtrans") 2>&5
   19470   ac_status=$?
   19471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19472   (exit $ac_status); }; then
   19473   pkg_cv_XTRANS_CFLAGS=`$PKG_CONFIG --cflags "xtrans" 2>/dev/null`
   19474 else
   19475   pkg_failed=yes
   19476 fi
   19477 else
   19478 	pkg_failed=untried
   19479 fi
   19480 if test -n "$PKG_CONFIG"; then
   19481         if test -n "$PKG_CONFIG" && \
   19482     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtrans\"") >&5
   19483   ($PKG_CONFIG --exists --print-errors "xtrans") 2>&5
   19484   ac_status=$?
   19485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19486   (exit $ac_status); }; then
   19487   pkg_cv_XTRANS_LIBS=`$PKG_CONFIG --libs "xtrans" 2>/dev/null`
   19488 else
   19489   pkg_failed=yes
   19490 fi
   19491 else
   19492 	pkg_failed=untried
   19493 fi
   19494 
   19495 if test $pkg_failed = yes; then
   19496 	XTRANS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xtrans"`
   19497 	# Put the nasty error message in config.log where it belongs
   19498 	echo "$XTRANS_PKG_ERRORS" 1>&5
   19499 
   19500 	{ { echo "$as_me:$LINENO: error: Package requirements (xtrans) were not met.
   19501 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19502 installed software in a non-standard prefix.
   19503 
   19504 Alternatively you may set the XTRANS_CFLAGS and XTRANS_LIBS environment variables
   19505 to avoid the need to call pkg-config.  See the pkg-config man page for
   19506 more details." >&5
   19507 echo "$as_me: error: Package requirements (xtrans) were not met.
   19508 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19509 installed software in a non-standard prefix.
   19510 
   19511 Alternatively you may set the XTRANS_CFLAGS and XTRANS_LIBS environment variables
   19512 to avoid the need to call pkg-config.  See the pkg-config man page for
   19513 more details." >&2;}
   19514    { (exit 1); exit 1; }; }
   19515 elif test $pkg_failed = untried; then
   19516 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19517 is in your PATH or set the PKG_CONFIG environment variable to the full
   19518 path to pkg-config.
   19519 
   19520 Alternatively you may set the XTRANS_CFLAGS and XTRANS_LIBS environment variables
   19521 to avoid the need to call pkg-config.  See the pkg-config man page for
   19522 more details.
   19523 
   19524 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19525 See \`config.log' for more details." >&5
   19526 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19527 is in your PATH or set the PKG_CONFIG environment variable to the full
   19528 path to pkg-config.
   19529 
   19530 Alternatively you may set the XTRANS_CFLAGS and XTRANS_LIBS environment variables
   19531 to avoid the need to call pkg-config.  See the pkg-config man page for
   19532 more details.
   19533 
   19534 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19535 See \`config.log' for more details." >&2;}
   19536    { (exit 1); exit 1; }; }
   19537 else
   19538 	XTRANS_CFLAGS=$pkg_cv_XTRANS_CFLAGS
   19539 	XTRANS_LIBS=$pkg_cv_XTRANS_LIBS
   19540         { echo "$as_me:$LINENO: result: yes" >&5
   19541 echo "${ECHO_T}yes" >&6; }
   19542 	:
   19543 fi
   19544 
   19545 
   19546 
   19547 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   19548 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
   19549 if test "${ac_cv_type_signal+set}" = set; then
   19550   echo $ECHO_N "(cached) $ECHO_C" >&6
   19551 else
   19552   cat >conftest.$ac_ext <<_ACEOF
   19553 /* confdefs.h.  */
   19554 _ACEOF
   19555 cat confdefs.h >>conftest.$ac_ext
   19556 cat >>conftest.$ac_ext <<_ACEOF
   19557 /* end confdefs.h.  */
   19558 #include <sys/types.h>
   19559 #include <signal.h>
   19560 
   19561 int
   19562 main ()
   19563 {
   19564 return *(signal (0, 0)) (0) == 1;
   19565   ;
   19566   return 0;
   19567 }
   19568 _ACEOF
   19569 rm -f conftest.$ac_objext
   19570 if { (ac_try="$ac_compile"
   19571 case "(($ac_try" in
   19572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19573   *) ac_try_echo=$ac_try;;
   19574 esac
   19575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19576   (eval "$ac_compile") 2>conftest.er1
   19577   ac_status=$?
   19578   grep -v '^ *+' conftest.er1 >conftest.err
   19579   rm -f conftest.er1
   19580   cat conftest.err >&5
   19581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19582   (exit $ac_status); } && {
   19583 	 test -z "$ac_c_werror_flag" ||
   19584 	 test ! -s conftest.err
   19585        } && test -s conftest.$ac_objext; then
   19586   ac_cv_type_signal=int
   19587 else
   19588   echo "$as_me: failed program was:" >&5
   19589 sed 's/^/| /' conftest.$ac_ext >&5
   19590 
   19591 	ac_cv_type_signal=void
   19592 fi
   19593 
   19594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19595 fi
   19596 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   19597 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
   19598 
   19599 cat >>confdefs.h <<_ACEOF
   19600 #define RETSIGTYPE $ac_cv_type_signal
   19601 _ACEOF
   19602 
   19603 
   19604 
   19605 
   19606 
   19607  case $host_os in
   19608 	mingw*)	unixdef="no"   ;;
   19609 	*)	unixdef="yes"  ;;
   19610  esac
   19611  # Check whether --enable-unix-transport was given.
   19612 if test "${enable_unix_transport+set}" = set; then
   19613   enableval=$enable_unix_transport; UNIXCONN=$enableval
   19614 else
   19615   UNIXCONN=$unixdef
   19616 fi
   19617 
   19618  { echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
   19619 echo $ECHO_N "checking if Xtrans should support UNIX socket connections... $ECHO_C" >&6; }
   19620  if test "$UNIXCONN" = "yes"; then
   19621 
   19622 cat >>confdefs.h <<\_ACEOF
   19623 #define UNIXCONN 1
   19624 _ACEOF
   19625 
   19626  fi
   19627  { echo "$as_me:$LINENO: result: $UNIXCONN" >&5
   19628 echo "${ECHO_T}$UNIXCONN" >&6; }
   19629  # Check whether --enable-tcp-transport was given.
   19630 if test "${enable_tcp_transport+set}" = set; then
   19631   enableval=$enable_tcp_transport; TCPCONN=$enableval
   19632 else
   19633   TCPCONN=yes
   19634 fi
   19635 
   19636  { echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
   19637 echo $ECHO_N "checking if Xtrans should support TCP socket connections... $ECHO_C" >&6; }
   19638  { echo "$as_me:$LINENO: result: $TCPCONN" >&5
   19639 echo "${ECHO_T}$TCPCONN" >&6; }
   19640  if test "$TCPCONN" = "yes"; then
   19641 
   19642 cat >>confdefs.h <<\_ACEOF
   19643 #define TCPCONN 1
   19644 _ACEOF
   19645 
   19646 
   19647  # SVR4 hides these in libraries other than libc
   19648  { echo "$as_me:$LINENO: checking for library containing socket" >&5
   19649 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
   19650 if test "${ac_cv_search_socket+set}" = set; then
   19651   echo $ECHO_N "(cached) $ECHO_C" >&6
   19652 else
   19653   ac_func_search_save_LIBS=$LIBS
   19654 cat >conftest.$ac_ext <<_ACEOF
   19655 /* confdefs.h.  */
   19656 _ACEOF
   19657 cat confdefs.h >>conftest.$ac_ext
   19658 cat >>conftest.$ac_ext <<_ACEOF
   19659 /* end confdefs.h.  */
   19660 
   19661 /* Override any GCC internal prototype to avoid an error.
   19662    Use char because int might match the return type of a GCC
   19663    builtin and then its argument prototype would still apply.  */
   19664 #ifdef __cplusplus
   19665 extern "C"
   19666 #endif
   19667 char socket ();
   19668 int
   19669 main ()
   19670 {
   19671 return socket ();
   19672   ;
   19673   return 0;
   19674 }
   19675 _ACEOF
   19676 for ac_lib in '' socket; do
   19677   if test -z "$ac_lib"; then
   19678     ac_res="none required"
   19679   else
   19680     ac_res=-l$ac_lib
   19681     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19682   fi
   19683   rm -f conftest.$ac_objext conftest$ac_exeext
   19684 if { (ac_try="$ac_link"
   19685 case "(($ac_try" in
   19686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19687   *) ac_try_echo=$ac_try;;
   19688 esac
   19689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19690   (eval "$ac_link") 2>conftest.er1
   19691   ac_status=$?
   19692   grep -v '^ *+' conftest.er1 >conftest.err
   19693   rm -f conftest.er1
   19694   cat conftest.err >&5
   19695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19696   (exit $ac_status); } && {
   19697 	 test -z "$ac_c_werror_flag" ||
   19698 	 test ! -s conftest.err
   19699        } && test -s conftest$ac_exeext &&
   19700        $as_test_x conftest$ac_exeext; then
   19701   ac_cv_search_socket=$ac_res
   19702 else
   19703   echo "$as_me: failed program was:" >&5
   19704 sed 's/^/| /' conftest.$ac_ext >&5
   19705 
   19706 
   19707 fi
   19708 
   19709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19710       conftest$ac_exeext
   19711   if test "${ac_cv_search_socket+set}" = set; then
   19712   break
   19713 fi
   19714 done
   19715 if test "${ac_cv_search_socket+set}" = set; then
   19716   :
   19717 else
   19718   ac_cv_search_socket=no
   19719 fi
   19720 rm conftest.$ac_ext
   19721 LIBS=$ac_func_search_save_LIBS
   19722 fi
   19723 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
   19724 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
   19725 ac_res=$ac_cv_search_socket
   19726 if test "$ac_res" != no; then
   19727   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19728 
   19729 fi
   19730 
   19731  { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
   19732 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
   19733 if test "${ac_cv_search_gethostbyname+set}" = set; then
   19734   echo $ECHO_N "(cached) $ECHO_C" >&6
   19735 else
   19736   ac_func_search_save_LIBS=$LIBS
   19737 cat >conftest.$ac_ext <<_ACEOF
   19738 /* confdefs.h.  */
   19739 _ACEOF
   19740 cat confdefs.h >>conftest.$ac_ext
   19741 cat >>conftest.$ac_ext <<_ACEOF
   19742 /* end confdefs.h.  */
   19743 
   19744 /* Override any GCC internal prototype to avoid an error.
   19745    Use char because int might match the return type of a GCC
   19746    builtin and then its argument prototype would still apply.  */
   19747 #ifdef __cplusplus
   19748 extern "C"
   19749 #endif
   19750 char gethostbyname ();
   19751 int
   19752 main ()
   19753 {
   19754 return gethostbyname ();
   19755   ;
   19756   return 0;
   19757 }
   19758 _ACEOF
   19759 for ac_lib in '' nsl; do
   19760   if test -z "$ac_lib"; then
   19761     ac_res="none required"
   19762   else
   19763     ac_res=-l$ac_lib
   19764     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19765   fi
   19766   rm -f conftest.$ac_objext conftest$ac_exeext
   19767 if { (ac_try="$ac_link"
   19768 case "(($ac_try" in
   19769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19770   *) ac_try_echo=$ac_try;;
   19771 esac
   19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19773   (eval "$ac_link") 2>conftest.er1
   19774   ac_status=$?
   19775   grep -v '^ *+' conftest.er1 >conftest.err
   19776   rm -f conftest.er1
   19777   cat conftest.err >&5
   19778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19779   (exit $ac_status); } && {
   19780 	 test -z "$ac_c_werror_flag" ||
   19781 	 test ! -s conftest.err
   19782        } && test -s conftest$ac_exeext &&
   19783        $as_test_x conftest$ac_exeext; then
   19784   ac_cv_search_gethostbyname=$ac_res
   19785 else
   19786   echo "$as_me: failed program was:" >&5
   19787 sed 's/^/| /' conftest.$ac_ext >&5
   19788 
   19789 
   19790 fi
   19791 
   19792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19793       conftest$ac_exeext
   19794   if test "${ac_cv_search_gethostbyname+set}" = set; then
   19795   break
   19796 fi
   19797 done
   19798 if test "${ac_cv_search_gethostbyname+set}" = set; then
   19799   :
   19800 else
   19801   ac_cv_search_gethostbyname=no
   19802 fi
   19803 rm conftest.$ac_ext
   19804 LIBS=$ac_func_search_save_LIBS
   19805 fi
   19806 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
   19807 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
   19808 ac_res=$ac_cv_search_gethostbyname
   19809 if test "$ac_res" != no; then
   19810   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19811 
   19812 fi
   19813 
   19814 
   19815  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   19816  # Check whether --enable-ipv6 was given.
   19817 if test "${enable_ipv6+set}" = set; then
   19818   enableval=$enable_ipv6; IPV6CONN=$enableval
   19819 else
   19820   { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
   19821 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
   19822 if test "${ac_cv_func_getaddrinfo+set}" = set; then
   19823   echo $ECHO_N "(cached) $ECHO_C" >&6
   19824 else
   19825   cat >conftest.$ac_ext <<_ACEOF
   19826 /* confdefs.h.  */
   19827 _ACEOF
   19828 cat confdefs.h >>conftest.$ac_ext
   19829 cat >>conftest.$ac_ext <<_ACEOF
   19830 /* end confdefs.h.  */
   19831 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
   19832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   19833 #define getaddrinfo innocuous_getaddrinfo
   19834 
   19835 /* System header to define __stub macros and hopefully few prototypes,
   19836     which can conflict with char getaddrinfo (); below.
   19837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   19838     <limits.h> exists even on freestanding compilers.  */
   19839 
   19840 #ifdef __STDC__
   19841 # include <limits.h>
   19842 #else
   19843 # include <assert.h>
   19844 #endif
   19845 
   19846 #undef getaddrinfo
   19847 
   19848 /* Override any GCC internal prototype to avoid an error.
   19849    Use char because int might match the return type of a GCC
   19850    builtin and then its argument prototype would still apply.  */
   19851 #ifdef __cplusplus
   19852 extern "C"
   19853 #endif
   19854 char getaddrinfo ();
   19855 /* The GNU C library defines this for functions which it implements
   19856     to always fail with ENOSYS.  Some functions are actually named
   19857     something starting with __ and the normal name is an alias.  */
   19858 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
   19859 choke me
   19860 #endif
   19861 
   19862 int
   19863 main ()
   19864 {
   19865 return getaddrinfo ();
   19866   ;
   19867   return 0;
   19868 }
   19869 _ACEOF
   19870 rm -f conftest.$ac_objext conftest$ac_exeext
   19871 if { (ac_try="$ac_link"
   19872 case "(($ac_try" in
   19873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19874   *) ac_try_echo=$ac_try;;
   19875 esac
   19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19877   (eval "$ac_link") 2>conftest.er1
   19878   ac_status=$?
   19879   grep -v '^ *+' conftest.er1 >conftest.err
   19880   rm -f conftest.er1
   19881   cat conftest.err >&5
   19882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19883   (exit $ac_status); } && {
   19884 	 test -z "$ac_c_werror_flag" ||
   19885 	 test ! -s conftest.err
   19886        } && test -s conftest$ac_exeext &&
   19887        $as_test_x conftest$ac_exeext; then
   19888   ac_cv_func_getaddrinfo=yes
   19889 else
   19890   echo "$as_me: failed program was:" >&5
   19891 sed 's/^/| /' conftest.$ac_ext >&5
   19892 
   19893 	ac_cv_func_getaddrinfo=no
   19894 fi
   19895 
   19896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19897       conftest$ac_exeext conftest.$ac_ext
   19898 fi
   19899 { echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
   19900 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
   19901 if test $ac_cv_func_getaddrinfo = yes; then
   19902   IPV6CONN=yes
   19903 else
   19904   IPV6CONN=no
   19905 fi
   19906 
   19907 fi
   19908 
   19909  { echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
   19910 echo $ECHO_N "checking if IPv6 support should be built... $ECHO_C" >&6; }
   19911  if test "$IPV6CONN" = "yes"; then
   19912 
   19913 cat >>confdefs.h <<\_ACEOF
   19914 #define IPv6 1
   19915 _ACEOF
   19916 
   19917  fi
   19918  { echo "$as_me:$LINENO: result: $IPV6CONN" >&5
   19919 echo "${ECHO_T}$IPV6CONN" >&6; }
   19920 
   19921  # 4.3BSD-Reno added a new member to struct sockaddr_in
   19922  { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
   19923 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
   19924 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
   19925   echo $ECHO_N "(cached) $ECHO_C" >&6
   19926 else
   19927   cat >conftest.$ac_ext <<_ACEOF
   19928 /* confdefs.h.  */
   19929 _ACEOF
   19930 cat confdefs.h >>conftest.$ac_ext
   19931 cat >>conftest.$ac_ext <<_ACEOF
   19932 /* end confdefs.h.  */
   19933 
   19934 #include <sys/types.h>
   19935 #include <sys/socket.h>
   19936 #include <netinet/in.h>
   19937 
   19938 
   19939 int
   19940 main ()
   19941 {
   19942 static struct sockaddr_in ac_aggr;
   19943 if (ac_aggr.sin_len)
   19944 return 0;
   19945   ;
   19946   return 0;
   19947 }
   19948 _ACEOF
   19949 rm -f conftest.$ac_objext
   19950 if { (ac_try="$ac_compile"
   19951 case "(($ac_try" in
   19952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19953   *) ac_try_echo=$ac_try;;
   19954 esac
   19955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19956   (eval "$ac_compile") 2>conftest.er1
   19957   ac_status=$?
   19958   grep -v '^ *+' conftest.er1 >conftest.err
   19959   rm -f conftest.er1
   19960   cat conftest.err >&5
   19961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19962   (exit $ac_status); } && {
   19963 	 test -z "$ac_c_werror_flag" ||
   19964 	 test ! -s conftest.err
   19965        } && test -s conftest.$ac_objext; then
   19966   ac_cv_member_struct_sockaddr_in_sin_len=yes
   19967 else
   19968   echo "$as_me: failed program was:" >&5
   19969 sed 's/^/| /' conftest.$ac_ext >&5
   19970 
   19971 	cat >conftest.$ac_ext <<_ACEOF
   19972 /* confdefs.h.  */
   19973 _ACEOF
   19974 cat confdefs.h >>conftest.$ac_ext
   19975 cat >>conftest.$ac_ext <<_ACEOF
   19976 /* end confdefs.h.  */
   19977 
   19978 #include <sys/types.h>
   19979 #include <sys/socket.h>
   19980 #include <netinet/in.h>
   19981 
   19982 
   19983 int
   19984 main ()
   19985 {
   19986 static struct sockaddr_in ac_aggr;
   19987 if (sizeof ac_aggr.sin_len)
   19988 return 0;
   19989   ;
   19990   return 0;
   19991 }
   19992 _ACEOF
   19993 rm -f conftest.$ac_objext
   19994 if { (ac_try="$ac_compile"
   19995 case "(($ac_try" in
   19996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19997   *) ac_try_echo=$ac_try;;
   19998 esac
   19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20000   (eval "$ac_compile") 2>conftest.er1
   20001   ac_status=$?
   20002   grep -v '^ *+' conftest.er1 >conftest.err
   20003   rm -f conftest.er1
   20004   cat conftest.err >&5
   20005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20006   (exit $ac_status); } && {
   20007 	 test -z "$ac_c_werror_flag" ||
   20008 	 test ! -s conftest.err
   20009        } && test -s conftest.$ac_objext; then
   20010   ac_cv_member_struct_sockaddr_in_sin_len=yes
   20011 else
   20012   echo "$as_me: failed program was:" >&5
   20013 sed 's/^/| /' conftest.$ac_ext >&5
   20014 
   20015 	ac_cv_member_struct_sockaddr_in_sin_len=no
   20016 fi
   20017 
   20018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20019 fi
   20020 
   20021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20022 fi
   20023 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
   20024 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
   20025 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
   20026 
   20027 cat >>confdefs.h <<\_ACEOF
   20028 #define BSD44SOCKETS 1
   20029 _ACEOF
   20030 
   20031 fi
   20032 
   20033 
   20034  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   20035  { echo "$as_me:$LINENO: checking for socklen_t" >&5
   20036 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
   20037 if test "${ac_cv_type_socklen_t+set}" = set; then
   20038   echo $ECHO_N "(cached) $ECHO_C" >&6
   20039 else
   20040   cat >conftest.$ac_ext <<_ACEOF
   20041 /* confdefs.h.  */
   20042 _ACEOF
   20043 cat confdefs.h >>conftest.$ac_ext
   20044 cat >>conftest.$ac_ext <<_ACEOF
   20045 /* end confdefs.h.  */
   20046 
   20047 $ac_includes_default
   20048 #include <sys/socket.h>
   20049 
   20050 typedef socklen_t ac__type_new_;
   20051 int
   20052 main ()
   20053 {
   20054 if ((ac__type_new_ *) 0)
   20055   return 0;
   20056 if (sizeof (ac__type_new_))
   20057   return 0;
   20058   ;
   20059   return 0;
   20060 }
   20061 _ACEOF
   20062 rm -f conftest.$ac_objext
   20063 if { (ac_try="$ac_compile"
   20064 case "(($ac_try" in
   20065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20066   *) ac_try_echo=$ac_try;;
   20067 esac
   20068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20069   (eval "$ac_compile") 2>conftest.er1
   20070   ac_status=$?
   20071   grep -v '^ *+' conftest.er1 >conftest.err
   20072   rm -f conftest.er1
   20073   cat conftest.err >&5
   20074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20075   (exit $ac_status); } && {
   20076 	 test -z "$ac_c_werror_flag" ||
   20077 	 test ! -s conftest.err
   20078        } && test -s conftest.$ac_objext; then
   20079   ac_cv_type_socklen_t=yes
   20080 else
   20081   echo "$as_me: failed program was:" >&5
   20082 sed 's/^/| /' conftest.$ac_ext >&5
   20083 
   20084 	ac_cv_type_socklen_t=no
   20085 fi
   20086 
   20087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20088 fi
   20089 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
   20090 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
   20091 if test $ac_cv_type_socklen_t = yes; then
   20092 
   20093 cat >>confdefs.h <<_ACEOF
   20094 #define HAVE_SOCKLEN_T 1
   20095 _ACEOF
   20096 
   20097 
   20098 fi
   20099 
   20100 
   20101 
   20102  fi
   20103  case $host_os in
   20104 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   20105 	*)			localdef="no"  ;;
   20106  esac
   20107  # Check whether --enable-local-transport was given.
   20108 if test "${enable_local_transport+set}" = set; then
   20109   enableval=$enable_local_transport; LOCALCONN=$enableval
   20110 else
   20111   LOCALCONN=$localdef
   20112 fi
   20113 
   20114  { echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
   20115 echo $ECHO_N "checking if Xtrans should support os-specific local connections... $ECHO_C" >&6; }
   20116  { echo "$as_me:$LINENO: result: $LOCALCONN" >&5
   20117 echo "${ECHO_T}$LOCALCONN" >&6; }
   20118  if test "$LOCALCONN" = "yes"; then
   20119 
   20120 cat >>confdefs.h <<\_ACEOF
   20121 #define LOCALCONN 1
   20122 _ACEOF
   20123 
   20124  fi
   20125 
   20126 
   20127 
   20128 
   20129 # Check whether --enable-malloc0returnsnull was given.
   20130 if test "${enable_malloc0returnsnull+set}" = set; then
   20131   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20132 else
   20133   MALLOC_ZERO_RETURNS_NULL=auto
   20134 fi
   20135 
   20136 
   20137 { echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   20138 echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6; }
   20139 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20140 	if test "$cross_compiling" = yes; then
   20141   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   20142 See \`config.log' for more details." >&5
   20143 echo "$as_me: error: cannot run test program while cross compiling
   20144 See \`config.log' for more details." >&2;}
   20145    { (exit 1); exit 1; }; }
   20146 else
   20147   cat >conftest.$ac_ext <<_ACEOF
   20148 
   20149 char *malloc();
   20150 char *realloc();
   20151 char *calloc();
   20152 main() {
   20153     char *m0, *r0, *c0, *p;
   20154     m0 = malloc(0);
   20155     p = malloc(10);
   20156     r0 = realloc(p,0);
   20157     c0 = calloc(0);
   20158     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   20159 }
   20160 _ACEOF
   20161 rm -f conftest$ac_exeext
   20162 if { (ac_try="$ac_link"
   20163 case "(($ac_try" in
   20164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20165   *) ac_try_echo=$ac_try;;
   20166 esac
   20167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20168   (eval "$ac_link") 2>&5
   20169   ac_status=$?
   20170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20171   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20172   { (case "(($ac_try" in
   20173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20174   *) ac_try_echo=$ac_try;;
   20175 esac
   20176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20177   (eval "$ac_try") 2>&5
   20178   ac_status=$?
   20179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20180   (exit $ac_status); }; }; then
   20181   MALLOC_ZERO_RETURNS_NULL=yes
   20182 else
   20183   echo "$as_me: program exited with status $ac_status" >&5
   20184 echo "$as_me: failed program was:" >&5
   20185 sed 's/^/| /' conftest.$ac_ext >&5
   20186 
   20187 ( exit $ac_status )
   20188 MALLOC_ZERO_RETURNS_NULL=no
   20189 fi
   20190 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20191 fi
   20192 
   20193 
   20194 fi
   20195 { echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20196 echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20197 
   20198 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20199 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20200 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20201 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20202 else
   20203 	MALLOC_ZERO_CFLAGS=""
   20204 	XMALLOC_ZERO_CFLAGS=""
   20205 	XTMALLOC_ZERO_CFLAGS=""
   20206 fi
   20207 
   20208 
   20209 
   20210 
   20211 
   20212 
   20213 
   20214 
   20215 # Allow checking code with lint, sparse, etc.
   20216 
   20217 # Check whether --with-lint was given.
   20218 if test "${with_lint+set}" = set; then
   20219   withval=$with_lint; use_lint=$withval
   20220 else
   20221   use_lint=no
   20222 fi
   20223 
   20224 if test "x$use_lint" = "xyes" ; then
   20225 	LINT="lint"
   20226 else
   20227 	LINT="$use_lint"
   20228 fi
   20229 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   20230     case $LINT in
   20231 	lint|*/lint)
   20232 	    case $host_os in
   20233 		solaris*)
   20234 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20235 			;;
   20236 	    esac
   20237 	    ;;
   20238     esac
   20239 fi
   20240 
   20241 
   20242 
   20243  if test x$LINT != xno; then
   20244   LINT_TRUE=
   20245   LINT_FALSE='#'
   20246 else
   20247   LINT_TRUE='#'
   20248   LINT_FALSE=
   20249 fi
   20250 
   20251 
   20252 
   20253 
   20254 
   20255 # Build lint "library" for more indepth checks of programs calling this library
   20256 # Check whether --enable-lint-library was given.
   20257 if test "${enable_lint_library+set}" = set; then
   20258   enableval=$enable_lint_library; make_lint_lib=$enableval
   20259 else
   20260   make_lint_lib=no
   20261 fi
   20262 
   20263 if test "x$make_lint_lib" != "xno" ; then
   20264 	if test "x$LINT" = "xno" ; then
   20265 		{ { echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   20266 echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   20267    { (exit 1); exit 1; }; }
   20268 	fi
   20269 	if test "x$make_lint_lib" = "xyes" ; then
   20270 		LINTLIB=llib-lFS.ln
   20271 	else
   20272 		LINTLIB=$make_lint_lib
   20273 	fi
   20274 fi
   20275 
   20276  if test x$make_lint_lib != xno; then
   20277   MAKE_LINT_LIB_TRUE=
   20278   MAKE_LINT_LIB_FALSE='#'
   20279 else
   20280   MAKE_LINT_LIB_TRUE='#'
   20281   MAKE_LINT_LIB_FALSE=
   20282 fi
   20283 
   20284 
   20285 
   20286 
   20287 
   20288 
   20289 # Check whether --with-release-version was given.
   20290 if test "${with_release_version+set}" = set; then
   20291   withval=$with_release_version; RELEASE_VERSION="$withval"
   20292 else
   20293   RELEASE_VERSION=""
   20294 fi
   20295 
   20296 	if test "x$RELEASE_VERSION" != "x"; then
   20297 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20298 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20299 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20300 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20301 	fi
   20302 
   20303 cat >>confdefs.h <<_ACEOF
   20304 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20305 _ACEOF
   20306 
   20307 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20308 	if test "x$PVM" = "x"; then
   20309 		PVM="0"
   20310 	fi
   20311 
   20312 cat >>confdefs.h <<_ACEOF
   20313 #define PACKAGE_VERSION_MINOR $PVM
   20314 _ACEOF
   20315 
   20316 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20317 	if test "x$PVP" = "x"; then
   20318 		PVP="0"
   20319 	fi
   20320 
   20321 cat >>confdefs.h <<_ACEOF
   20322 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20323 _ACEOF
   20324 
   20325 
   20326 
   20327 ac_config_files="$ac_config_files Makefile src/Makefile libfs.pc"
   20328 
   20329 cat >confcache <<\_ACEOF
   20330 # This file is a shell script that caches the results of configure
   20331 # tests run on this system so they can be shared between configure
   20332 # scripts and configure runs, see configure's option --config-cache.
   20333 # It is not useful on other systems.  If it contains results you don't
   20334 # want to keep, you may remove or edit it.
   20335 #
   20336 # config.status only pays attention to the cache file if you give it
   20337 # the --recheck option to rerun configure.
   20338 #
   20339 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20340 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20341 # following values.
   20342 
   20343 _ACEOF
   20344 
   20345 # The following way of writing the cache mishandles newlines in values,
   20346 # but we know of no workaround that is simple, portable, and efficient.
   20347 # So, we kill variables containing newlines.
   20348 # Ultrix sh set writes to stderr and can't be redirected directly,
   20349 # and sets the high bit in the cache file unless we assign to the vars.
   20350 (
   20351   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20352     eval ac_val=\$$ac_var
   20353     case $ac_val in #(
   20354     *${as_nl}*)
   20355       case $ac_var in #(
   20356       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   20357 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   20358       esac
   20359       case $ac_var in #(
   20360       _ | IFS | as_nl) ;; #(
   20361       *) $as_unset $ac_var ;;
   20362       esac ;;
   20363     esac
   20364   done
   20365 
   20366   (set) 2>&1 |
   20367     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20368     *${as_nl}ac_space=\ *)
   20369       # `set' does not quote correctly, so add quotes (double-quote
   20370       # substitution turns \\\\ into \\, and sed turns \\ into \).
   20371       sed -n \
   20372 	"s/'/'\\\\''/g;
   20373 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20374       ;; #(
   20375     *)
   20376       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20377       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20378       ;;
   20379     esac |
   20380     sort
   20381 ) |
   20382   sed '
   20383      /^ac_cv_env_/b end
   20384      t clear
   20385      :clear
   20386      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20387      t end
   20388      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20389      :end' >>confcache
   20390 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20391   if test -w "$cache_file"; then
   20392     test "x$cache_file" != "x/dev/null" &&
   20393       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   20394 echo "$as_me: updating cache $cache_file" >&6;}
   20395     cat confcache >$cache_file
   20396   else
   20397     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   20398 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20399   fi
   20400 fi
   20401 rm -f confcache
   20402 
   20403 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20404 # Let make expand exec_prefix.
   20405 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20406 
   20407 DEFS=-DHAVE_CONFIG_H
   20408 
   20409 ac_libobjs=
   20410 ac_ltlibobjs=
   20411 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20412   # 1. Remove the extension, and $U if already installed.
   20413   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20414   ac_i=`echo "$ac_i" | sed "$ac_script"`
   20415   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20416   #    will be set to the directory where LIBOBJS objects are built.
   20417   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20418   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   20419 done
   20420 LIBOBJS=$ac_libobjs
   20421 
   20422 LTLIBOBJS=$ac_ltlibobjs
   20423 
   20424 
   20425 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   20426   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   20427 Usually this means the macro was only invoked conditionally." >&5
   20428 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   20429 Usually this means the macro was only invoked conditionally." >&2;}
   20430    { (exit 1); exit 1; }; }
   20431 fi
   20432 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20433   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   20434 Usually this means the macro was only invoked conditionally." >&5
   20435 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   20436 Usually this means the macro was only invoked conditionally." >&2;}
   20437    { (exit 1); exit 1; }; }
   20438 fi
   20439 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20440   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20441 Usually this means the macro was only invoked conditionally." >&5
   20442 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20443 Usually this means the macro was only invoked conditionally." >&2;}
   20444    { (exit 1); exit 1; }; }
   20445 fi
   20446 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20447   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   20448 Usually this means the macro was only invoked conditionally." >&5
   20449 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   20450 Usually this means the macro was only invoked conditionally." >&2;}
   20451    { (exit 1); exit 1; }; }
   20452 fi
   20453 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   20454   { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   20455 Usually this means the macro was only invoked conditionally." >&5
   20456 echo "$as_me: error: conditional \"LINT\" was never defined.
   20457 Usually this means the macro was only invoked conditionally." >&2;}
   20458    { (exit 1); exit 1; }; }
   20459 fi
   20460 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   20461   { { echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   20462 Usually this means the macro was only invoked conditionally." >&5
   20463 echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   20464 Usually this means the macro was only invoked conditionally." >&2;}
   20465    { (exit 1); exit 1; }; }
   20466 fi
   20467 
   20468 : ${CONFIG_STATUS=./config.status}
   20469 ac_clean_files_save=$ac_clean_files
   20470 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20471 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   20472 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20473 cat >$CONFIG_STATUS <<_ACEOF
   20474 #! $SHELL
   20475 # Generated by $as_me.
   20476 # Run this file to recreate the current configuration.
   20477 # Compiler output produced by configure, useful for debugging
   20478 # configure, is in config.log if it exists.
   20479 
   20480 debug=false
   20481 ac_cs_recheck=false
   20482 ac_cs_silent=false
   20483 SHELL=\${CONFIG_SHELL-$SHELL}
   20484 _ACEOF
   20485 
   20486 cat >>$CONFIG_STATUS <<\_ACEOF
   20487 ## --------------------- ##
   20488 ## M4sh Initialization.  ##
   20489 ## --------------------- ##
   20490 
   20491 # Be more Bourne compatible
   20492 DUALCASE=1; export DUALCASE # for MKS sh
   20493 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   20494   emulate sh
   20495   NULLCMD=:
   20496   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   20497   # is contrary to our usage.  Disable this feature.
   20498   alias -g '${1+"$@"}'='"$@"'
   20499   setopt NO_GLOB_SUBST
   20500 else
   20501   case `(set -o) 2>/dev/null` in
   20502   *posix*) set -o posix ;;
   20503 esac
   20504 
   20505 fi
   20506 
   20507 
   20508 
   20509 
   20510 # PATH needs CR
   20511 # Avoid depending upon Character Ranges.
   20512 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20513 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20514 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20515 as_cr_digits='0123456789'
   20516 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20517 
   20518 # The user is always right.
   20519 if test "${PATH_SEPARATOR+set}" != set; then
   20520   echo "#! /bin/sh" >conf$$.sh
   20521   echo  "exit 0"   >>conf$$.sh
   20522   chmod +x conf$$.sh
   20523   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   20524     PATH_SEPARATOR=';'
   20525   else
   20526     PATH_SEPARATOR=:
   20527   fi
   20528   rm -f conf$$.sh
   20529 fi
   20530 
   20531 # Support unset when possible.
   20532 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   20533   as_unset=unset
   20534 else
   20535   as_unset=false
   20536 fi
   20537 
   20538 
   20539 # IFS
   20540 # We need space, tab and new line, in precisely that order.  Quoting is
   20541 # there to prevent editors from complaining about space-tab.
   20542 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20543 # splitting by setting IFS to empty value.)
   20544 as_nl='
   20545 '
   20546 IFS=" ""	$as_nl"
   20547 
   20548 # Find who we are.  Look in the path if we contain no directory separator.
   20549 case $0 in
   20550   *[\\/]* ) as_myself=$0 ;;
   20551   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20552 for as_dir in $PATH
   20553 do
   20554   IFS=$as_save_IFS
   20555   test -z "$as_dir" && as_dir=.
   20556   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20557 done
   20558 IFS=$as_save_IFS
   20559 
   20560      ;;
   20561 esac
   20562 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20563 # in which case we are not to be found in the path.
   20564 if test "x$as_myself" = x; then
   20565   as_myself=$0
   20566 fi
   20567 if test ! -f "$as_myself"; then
   20568   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20569   { (exit 1); exit 1; }
   20570 fi
   20571 
   20572 # Work around bugs in pre-3.0 UWIN ksh.
   20573 for as_var in ENV MAIL MAILPATH
   20574 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20575 done
   20576 PS1='$ '
   20577 PS2='> '
   20578 PS4='+ '
   20579 
   20580 # NLS nuisances.
   20581 for as_var in \
   20582   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   20583   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   20584   LC_TELEPHONE LC_TIME
   20585 do
   20586   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   20587     eval $as_var=C; export $as_var
   20588   else
   20589     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20590   fi
   20591 done
   20592 
   20593 # Required to use basename.
   20594 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20595    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20596   as_expr=expr
   20597 else
   20598   as_expr=false
   20599 fi
   20600 
   20601 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20602   as_basename=basename
   20603 else
   20604   as_basename=false
   20605 fi
   20606 
   20607 
   20608 # Name of the executable.
   20609 as_me=`$as_basename -- "$0" ||
   20610 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20611 	 X"$0" : 'X\(//\)$' \| \
   20612 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20613 echo X/"$0" |
   20614     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20615 	    s//\1/
   20616 	    q
   20617 	  }
   20618 	  /^X\/\(\/\/\)$/{
   20619 	    s//\1/
   20620 	    q
   20621 	  }
   20622 	  /^X\/\(\/\).*/{
   20623 	    s//\1/
   20624 	    q
   20625 	  }
   20626 	  s/.*/./; q'`
   20627 
   20628 # CDPATH.
   20629 $as_unset CDPATH
   20630 
   20631 
   20632 
   20633   as_lineno_1=$LINENO
   20634   as_lineno_2=$LINENO
   20635   test "x$as_lineno_1" != "x$as_lineno_2" &&
   20636   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   20637 
   20638   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   20639   # uniformly replaced by the line number.  The first 'sed' inserts a
   20640   # line-number line after each line using $LINENO; the second 'sed'
   20641   # does the real work.  The second script uses 'N' to pair each
   20642   # line-number line with the line containing $LINENO, and appends
   20643   # trailing '-' during substitution so that $LINENO is not a special
   20644   # case at line end.
   20645   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   20646   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   20647   # E. McMahon (1931-1989) for sed's syntax.  :-)
   20648   sed -n '
   20649     p
   20650     /[$]LINENO/=
   20651   ' <$as_myself |
   20652     sed '
   20653       s/[$]LINENO.*/&-/
   20654       t lineno
   20655       b
   20656       :lineno
   20657       N
   20658       :loop
   20659       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   20660       t loop
   20661       s/-\n.*//
   20662     ' >$as_me.lineno &&
   20663   chmod +x "$as_me.lineno" ||
   20664     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   20665    { (exit 1); exit 1; }; }
   20666 
   20667   # Don't try to exec as it changes $[0], causing all sort of problems
   20668   # (the dirname of $[0] is not the place where we might find the
   20669   # original and so on.  Autoconf is especially sensitive to this).
   20670   . "./$as_me.lineno"
   20671   # Exit status is that of the last command.
   20672   exit
   20673 }
   20674 
   20675 
   20676 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20677   as_dirname=dirname
   20678 else
   20679   as_dirname=false
   20680 fi
   20681 
   20682 ECHO_C= ECHO_N= ECHO_T=
   20683 case `echo -n x` in
   20684 -n*)
   20685   case `echo 'x\c'` in
   20686   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20687   *)   ECHO_C='\c';;
   20688   esac;;
   20689 *)
   20690   ECHO_N='-n';;
   20691 esac
   20692 
   20693 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20694    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20695   as_expr=expr
   20696 else
   20697   as_expr=false
   20698 fi
   20699 
   20700 rm -f conf$$ conf$$.exe conf$$.file
   20701 if test -d conf$$.dir; then
   20702   rm -f conf$$.dir/conf$$.file
   20703 else
   20704   rm -f conf$$.dir
   20705   mkdir conf$$.dir
   20706 fi
   20707 echo >conf$$.file
   20708 if ln -s conf$$.file conf$$ 2>/dev/null; then
   20709   as_ln_s='ln -s'
   20710   # ... but there are two gotchas:
   20711   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20712   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20713   # In both cases, we have to default to `cp -p'.
   20714   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20715     as_ln_s='cp -p'
   20716 elif ln conf$$.file conf$$ 2>/dev/null; then
   20717   as_ln_s=ln
   20718 else
   20719   as_ln_s='cp -p'
   20720 fi
   20721 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20722 rmdir conf$$.dir 2>/dev/null
   20723 
   20724 if mkdir -p . 2>/dev/null; then
   20725   as_mkdir_p=:
   20726 else
   20727   test -d ./-p && rmdir ./-p
   20728   as_mkdir_p=false
   20729 fi
   20730 
   20731 if test -x / >/dev/null 2>&1; then
   20732   as_test_x='test -x'
   20733 else
   20734   if ls -dL / >/dev/null 2>&1; then
   20735     as_ls_L_option=L
   20736   else
   20737     as_ls_L_option=
   20738   fi
   20739   as_test_x='
   20740     eval sh -c '\''
   20741       if test -d "$1"; then
   20742         test -d "$1/.";
   20743       else
   20744 	case $1 in
   20745         -*)set "./$1";;
   20746 	esac;
   20747 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   20748 	???[sx]*):;;*)false;;esac;fi
   20749     '\'' sh
   20750   '
   20751 fi
   20752 as_executable_p=$as_test_x
   20753 
   20754 # Sed expression to map a string onto a valid CPP name.
   20755 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20756 
   20757 # Sed expression to map a string onto a valid variable name.
   20758 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20759 
   20760 
   20761 exec 6>&1
   20762 
   20763 # Save the log message, to keep $[0] and so on meaningful, and to
   20764 # report actual input values of CONFIG_FILES etc. instead of their
   20765 # values after options handling.
   20766 ac_log="
   20767 This file was extended by libFS $as_me 1.0.1, which was
   20768 generated by GNU Autoconf 2.61.  Invocation command line was
   20769 
   20770   CONFIG_FILES    = $CONFIG_FILES
   20771   CONFIG_HEADERS  = $CONFIG_HEADERS
   20772   CONFIG_LINKS    = $CONFIG_LINKS
   20773   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20774   $ $0 $@
   20775 
   20776 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20777 "
   20778 
   20779 _ACEOF
   20780 
   20781 cat >>$CONFIG_STATUS <<_ACEOF
   20782 # Files that config.status was made for.
   20783 config_files="$ac_config_files"
   20784 config_headers="$ac_config_headers"
   20785 config_commands="$ac_config_commands"
   20786 
   20787 _ACEOF
   20788 
   20789 cat >>$CONFIG_STATUS <<\_ACEOF
   20790 ac_cs_usage="\
   20791 \`$as_me' instantiates files from templates according to the
   20792 current configuration.
   20793 
   20794 Usage: $0 [OPTIONS] [FILE]...
   20795 
   20796   -h, --help       print this help, then exit
   20797   -V, --version    print version number and configuration settings, then exit
   20798   -q, --quiet      do not print progress messages
   20799   -d, --debug      don't remove temporary files
   20800       --recheck    update $as_me by reconfiguring in the same conditions
   20801   --file=FILE[:TEMPLATE]
   20802 		   instantiate the configuration file FILE
   20803   --header=FILE[:TEMPLATE]
   20804 		   instantiate the configuration header FILE
   20805 
   20806 Configuration files:
   20807 $config_files
   20808 
   20809 Configuration headers:
   20810 $config_headers
   20811 
   20812 Configuration commands:
   20813 $config_commands
   20814 
   20815 Report bugs to <bug-autoconf (at] gnu.org>."
   20816 
   20817 _ACEOF
   20818 cat >>$CONFIG_STATUS <<_ACEOF
   20819 ac_cs_version="\\
   20820 libFS config.status 1.0.1
   20821 configured by $0, generated by GNU Autoconf 2.61,
   20822   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   20823 
   20824 Copyright (C) 2006 Free Software Foundation, Inc.
   20825 This config.status script is free software; the Free Software Foundation
   20826 gives unlimited permission to copy, distribute and modify it."
   20827 
   20828 ac_pwd='$ac_pwd'
   20829 srcdir='$srcdir'
   20830 INSTALL='$INSTALL'
   20831 MKDIR_P='$MKDIR_P'
   20832 _ACEOF
   20833 
   20834 cat >>$CONFIG_STATUS <<\_ACEOF
   20835 # If no file are specified by the user, then we need to provide default
   20836 # value.  By we need to know if files were specified by the user.
   20837 ac_need_defaults=:
   20838 while test $# != 0
   20839 do
   20840   case $1 in
   20841   --*=*)
   20842     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20843     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20844     ac_shift=:
   20845     ;;
   20846   *)
   20847     ac_option=$1
   20848     ac_optarg=$2
   20849     ac_shift=shift
   20850     ;;
   20851   esac
   20852 
   20853   case $ac_option in
   20854   # Handling of the options.
   20855   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20856     ac_cs_recheck=: ;;
   20857   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20858     echo "$ac_cs_version"; exit ;;
   20859   --debug | --debu | --deb | --de | --d | -d )
   20860     debug=: ;;
   20861   --file | --fil | --fi | --f )
   20862     $ac_shift
   20863     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   20864     ac_need_defaults=false;;
   20865   --header | --heade | --head | --hea )
   20866     $ac_shift
   20867     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   20868     ac_need_defaults=false;;
   20869   --he | --h)
   20870     # Conflict between --help and --header
   20871     { echo "$as_me: error: ambiguous option: $1
   20872 Try \`$0 --help' for more information." >&2
   20873    { (exit 1); exit 1; }; };;
   20874   --help | --hel | -h )
   20875     echo "$ac_cs_usage"; exit ;;
   20876   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20877   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20878     ac_cs_silent=: ;;
   20879 
   20880   # This is an error.
   20881   -*) { echo "$as_me: error: unrecognized option: $1
   20882 Try \`$0 --help' for more information." >&2
   20883    { (exit 1); exit 1; }; } ;;
   20884 
   20885   *) ac_config_targets="$ac_config_targets $1"
   20886      ac_need_defaults=false ;;
   20887 
   20888   esac
   20889   shift
   20890 done
   20891 
   20892 ac_configure_extra_args=
   20893 
   20894 if $ac_cs_silent; then
   20895   exec 6>/dev/null
   20896   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20897 fi
   20898 
   20899 _ACEOF
   20900 cat >>$CONFIG_STATUS <<_ACEOF
   20901 if \$ac_cs_recheck; then
   20902   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   20903   CONFIG_SHELL=$SHELL
   20904   export CONFIG_SHELL
   20905   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20906 fi
   20907 
   20908 _ACEOF
   20909 cat >>$CONFIG_STATUS <<\_ACEOF
   20910 exec 5>>config.log
   20911 {
   20912   echo
   20913   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20914 ## Running $as_me. ##
   20915 _ASBOX
   20916   echo "$ac_log"
   20917 } >&5
   20918 
   20919 _ACEOF
   20920 cat >>$CONFIG_STATUS <<_ACEOF
   20921 #
   20922 # INIT-COMMANDS
   20923 #
   20924 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20925 
   20926 _ACEOF
   20927 
   20928 cat >>$CONFIG_STATUS <<\_ACEOF
   20929 
   20930 # Handling of arguments.
   20931 for ac_config_target in $ac_config_targets
   20932 do
   20933   case $ac_config_target in
   20934     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20935     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20936     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20937     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20938     "libfs.pc") CONFIG_FILES="$CONFIG_FILES libfs.pc" ;;
   20939 
   20940   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   20941 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   20942    { (exit 1); exit 1; }; };;
   20943   esac
   20944 done
   20945 
   20946 
   20947 # If the user did not use the arguments to specify the items to instantiate,
   20948 # then the envvar interface is used.  Set only those that are not.
   20949 # We use the long form for the default assignment because of an extremely
   20950 # bizarre bug on SunOS 4.1.3.
   20951 if $ac_need_defaults; then
   20952   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20953   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20954   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20955 fi
   20956 
   20957 # Have a temporary directory for convenience.  Make it in the build tree
   20958 # simply because there is no reason against having it here, and in addition,
   20959 # creating and moving files from /tmp can sometimes cause problems.
   20960 # Hook for its removal unless debugging.
   20961 # Note that there is a small window in which the directory will not be cleaned:
   20962 # after its creation but before its name has been assigned to `$tmp'.
   20963 $debug ||
   20964 {
   20965   tmp=
   20966   trap 'exit_status=$?
   20967   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   20968 ' 0
   20969   trap '{ (exit 1); exit 1; }' 1 2 13 15
   20970 }
   20971 # Create a (secure) tmp directory for tmp files.
   20972 
   20973 {
   20974   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20975   test -n "$tmp" && test -d "$tmp"
   20976 }  ||
   20977 {
   20978   tmp=./conf$$-$RANDOM
   20979   (umask 077 && mkdir "$tmp")
   20980 } ||
   20981 {
   20982    echo "$me: cannot create a temporary directory in ." >&2
   20983    { (exit 1); exit 1; }
   20984 }
   20985 
   20986 #
   20987 # Set up the sed scripts for CONFIG_FILES section.
   20988 #
   20989 
   20990 # No need to generate the scripts if there are no CONFIG_FILES.
   20991 # This happens for instance when ./config.status config.h
   20992 if test -n "$CONFIG_FILES"; then
   20993 
   20994 _ACEOF
   20995 
   20996 
   20997 
   20998 ac_delim='%!_!# '
   20999 for ac_last_try in false false false false false :; do
   21000   cat >conf$$subs.sed <<_ACEOF
   21001 SHELL!$SHELL$ac_delim
   21002 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   21003 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   21004 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   21005 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   21006 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   21007 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   21008 exec_prefix!$exec_prefix$ac_delim
   21009 prefix!$prefix$ac_delim
   21010 program_transform_name!$program_transform_name$ac_delim
   21011 bindir!$bindir$ac_delim
   21012 sbindir!$sbindir$ac_delim
   21013 libexecdir!$libexecdir$ac_delim
   21014 datarootdir!$datarootdir$ac_delim
   21015 datadir!$datadir$ac_delim
   21016 sysconfdir!$sysconfdir$ac_delim
   21017 sharedstatedir!$sharedstatedir$ac_delim
   21018 localstatedir!$localstatedir$ac_delim
   21019 includedir!$includedir$ac_delim
   21020 oldincludedir!$oldincludedir$ac_delim
   21021 docdir!$docdir$ac_delim
   21022 infodir!$infodir$ac_delim
   21023 htmldir!$htmldir$ac_delim
   21024 dvidir!$dvidir$ac_delim
   21025 pdfdir!$pdfdir$ac_delim
   21026 psdir!$psdir$ac_delim
   21027 libdir!$libdir$ac_delim
   21028 localedir!$localedir$ac_delim
   21029 mandir!$mandir$ac_delim
   21030 DEFS!$DEFS$ac_delim
   21031 ECHO_C!$ECHO_C$ac_delim
   21032 ECHO_N!$ECHO_N$ac_delim
   21033 ECHO_T!$ECHO_T$ac_delim
   21034 LIBS!$LIBS$ac_delim
   21035 build_alias!$build_alias$ac_delim
   21036 host_alias!$host_alias$ac_delim
   21037 target_alias!$target_alias$ac_delim
   21038 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   21039 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   21040 INSTALL_DATA!$INSTALL_DATA$ac_delim
   21041 am__isrc!$am__isrc$ac_delim
   21042 CYGPATH_W!$CYGPATH_W$ac_delim
   21043 PACKAGE!$PACKAGE$ac_delim
   21044 VERSION!$VERSION$ac_delim
   21045 ACLOCAL!$ACLOCAL$ac_delim
   21046 AUTOCONF!$AUTOCONF$ac_delim
   21047 AUTOMAKE!$AUTOMAKE$ac_delim
   21048 AUTOHEADER!$AUTOHEADER$ac_delim
   21049 MAKEINFO!$MAKEINFO$ac_delim
   21050 install_sh!$install_sh$ac_delim
   21051 STRIP!$STRIP$ac_delim
   21052 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   21053 mkdir_p!$mkdir_p$ac_delim
   21054 AWK!$AWK$ac_delim
   21055 SET_MAKE!$SET_MAKE$ac_delim
   21056 am__leading_dot!$am__leading_dot$ac_delim
   21057 AMTAR!$AMTAR$ac_delim
   21058 am__tar!$am__tar$ac_delim
   21059 am__untar!$am__untar$ac_delim
   21060 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   21061 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   21062 MAINT!$MAINT$ac_delim
   21063 CC!$CC$ac_delim
   21064 CFLAGS!$CFLAGS$ac_delim
   21065 LDFLAGS!$LDFLAGS$ac_delim
   21066 CPPFLAGS!$CPPFLAGS$ac_delim
   21067 ac_ct_CC!$ac_ct_CC$ac_delim
   21068 EXEEXT!$EXEEXT$ac_delim
   21069 OBJEXT!$OBJEXT$ac_delim
   21070 DEPDIR!$DEPDIR$ac_delim
   21071 am__include!$am__include$ac_delim
   21072 am__quote!$am__quote$ac_delim
   21073 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   21074 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   21075 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   21076 CCDEPMODE!$CCDEPMODE$ac_delim
   21077 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   21078 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   21079 build!$build$ac_delim
   21080 build_cpu!$build_cpu$ac_delim
   21081 build_vendor!$build_vendor$ac_delim
   21082 build_os!$build_os$ac_delim
   21083 host!$host$ac_delim
   21084 host_cpu!$host_cpu$ac_delim
   21085 host_vendor!$host_vendor$ac_delim
   21086 host_os!$host_os$ac_delim
   21087 GREP!$GREP$ac_delim
   21088 EGREP!$EGREP$ac_delim
   21089 LN_S!$LN_S$ac_delim
   21090 ECHO!$ECHO$ac_delim
   21091 AR!$AR$ac_delim
   21092 RANLIB!$RANLIB$ac_delim
   21093 CPP!$CPP$ac_delim
   21094 CXX!$CXX$ac_delim
   21095 CXXFLAGS!$CXXFLAGS$ac_delim
   21096 ac_ct_CXX!$ac_ct_CXX$ac_delim
   21097 CXXDEPMODE!$CXXDEPMODE$ac_delim
   21098 _ACEOF
   21099 
   21100   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   21101     break
   21102   elif $ac_last_try; then
   21103     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21104 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21105    { (exit 1); exit 1; }; }
   21106   else
   21107     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21108   fi
   21109 done
   21110 
   21111 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21112 if test -n "$ac_eof"; then
   21113   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21114   ac_eof=`expr $ac_eof + 1`
   21115 fi
   21116 
   21117 cat >>$CONFIG_STATUS <<_ACEOF
   21118 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   21119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21120 _ACEOF
   21121 sed '
   21122 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21123 s/^/s,@/; s/!/@,|#_!!_#|/
   21124 :n
   21125 t n
   21126 s/'"$ac_delim"'$/,g/; t
   21127 s/$/\\/; p
   21128 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21129 ' >>$CONFIG_STATUS <conf$$subs.sed
   21130 rm -f conf$$subs.sed
   21131 cat >>$CONFIG_STATUS <<_ACEOF
   21132 CEOF$ac_eof
   21133 _ACEOF
   21134 
   21135 
   21136 ac_delim='%!_!# '
   21137 for ac_last_try in false false false false false :; do
   21138   cat >conf$$subs.sed <<_ACEOF
   21139 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   21140 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   21141 CXXCPP!$CXXCPP$ac_delim
   21142 F77!$F77$ac_delim
   21143 FFLAGS!$FFLAGS$ac_delim
   21144 ac_ct_F77!$ac_ct_F77$ac_delim
   21145 LIBTOOL!$LIBTOOL$ac_delim
   21146 PKG_CONFIG!$PKG_CONFIG$ac_delim
   21147 FS_CFLAGS!$FS_CFLAGS$ac_delim
   21148 FS_LIBS!$FS_LIBS$ac_delim
   21149 XTRANS_CFLAGS!$XTRANS_CFLAGS$ac_delim
   21150 XTRANS_LIBS!$XTRANS_LIBS$ac_delim
   21151 MALLOC_ZERO_CFLAGS!$MALLOC_ZERO_CFLAGS$ac_delim
   21152 XMALLOC_ZERO_CFLAGS!$XMALLOC_ZERO_CFLAGS$ac_delim
   21153 XTMALLOC_ZERO_CFLAGS!$XTMALLOC_ZERO_CFLAGS$ac_delim
   21154 LINT!$LINT$ac_delim
   21155 LINT_FLAGS!$LINT_FLAGS$ac_delim
   21156 LINT_TRUE!$LINT_TRUE$ac_delim
   21157 LINT_FALSE!$LINT_FALSE$ac_delim
   21158 LINTLIB!$LINTLIB$ac_delim
   21159 MAKE_LINT_LIB_TRUE!$MAKE_LINT_LIB_TRUE$ac_delim
   21160 MAKE_LINT_LIB_FALSE!$MAKE_LINT_LIB_FALSE$ac_delim
   21161 LIBOBJS!$LIBOBJS$ac_delim
   21162 LTLIBOBJS!$LTLIBOBJS$ac_delim
   21163 _ACEOF
   21164 
   21165   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
   21166     break
   21167   elif $ac_last_try; then
   21168     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21169 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21170    { (exit 1); exit 1; }; }
   21171   else
   21172     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21173   fi
   21174 done
   21175 
   21176 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21177 if test -n "$ac_eof"; then
   21178   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21179   ac_eof=`expr $ac_eof + 1`
   21180 fi
   21181 
   21182 cat >>$CONFIG_STATUS <<_ACEOF
   21183 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   21184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   21185 _ACEOF
   21186 sed '
   21187 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21188 s/^/s,@/; s/!/@,|#_!!_#|/
   21189 :n
   21190 t n
   21191 s/'"$ac_delim"'$/,g/; t
   21192 s/$/\\/; p
   21193 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21194 ' >>$CONFIG_STATUS <conf$$subs.sed
   21195 rm -f conf$$subs.sed
   21196 cat >>$CONFIG_STATUS <<_ACEOF
   21197 :end
   21198 s/|#_!!_#|//g
   21199 CEOF$ac_eof
   21200 _ACEOF
   21201 
   21202 
   21203 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21204 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21205 # trailing colons and then remove the whole line if VPATH becomes empty
   21206 # (actually we leave an empty line to preserve line numbers).
   21207 if test "x$srcdir" = x.; then
   21208   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21209 s/:*\$(srcdir):*/:/
   21210 s/:*\${srcdir}:*/:/
   21211 s/:*@srcdir@:*/:/
   21212 s/^\([^=]*=[	 ]*\):*/\1/
   21213 s/:*$//
   21214 s/^[^=]*=[	 ]*$//
   21215 }'
   21216 fi
   21217 
   21218 cat >>$CONFIG_STATUS <<\_ACEOF
   21219 fi # test -n "$CONFIG_FILES"
   21220 
   21221 
   21222 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   21223 do
   21224   case $ac_tag in
   21225   :[FHLC]) ac_mode=$ac_tag; continue;;
   21226   esac
   21227   case $ac_mode$ac_tag in
   21228   :[FHL]*:*);;
   21229   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   21230 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   21231    { (exit 1); exit 1; }; };;
   21232   :[FH]-) ac_tag=-:-;;
   21233   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21234   esac
   21235   ac_save_IFS=$IFS
   21236   IFS=:
   21237   set x $ac_tag
   21238   IFS=$ac_save_IFS
   21239   shift
   21240   ac_file=$1
   21241   shift
   21242 
   21243   case $ac_mode in
   21244   :L) ac_source=$1;;
   21245   :[FH])
   21246     ac_file_inputs=
   21247     for ac_f
   21248     do
   21249       case $ac_f in
   21250       -) ac_f="$tmp/stdin";;
   21251       *) # Look for the file first in the build tree, then in the source tree
   21252 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21253 	 # because $ac_f cannot contain `:'.
   21254 	 test -f "$ac_f" ||
   21255 	   case $ac_f in
   21256 	   [\\/$]*) false;;
   21257 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21258 	   esac ||
   21259 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21260 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21261    { (exit 1); exit 1; }; };;
   21262       esac
   21263       ac_file_inputs="$ac_file_inputs $ac_f"
   21264     done
   21265 
   21266     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21267     # use $as_me), people would be surprised to read:
   21268     #    /* config.h.  Generated by config.status.  */
   21269     configure_input="Generated from "`IFS=:
   21270 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   21271     if test x"$ac_file" != x-; then
   21272       configure_input="$ac_file.  $configure_input"
   21273       { echo "$as_me:$LINENO: creating $ac_file" >&5
   21274 echo "$as_me: creating $ac_file" >&6;}
   21275     fi
   21276 
   21277     case $ac_tag in
   21278     *:-:* | *:-) cat >"$tmp/stdin";;
   21279     esac
   21280     ;;
   21281   esac
   21282 
   21283   ac_dir=`$as_dirname -- "$ac_file" ||
   21284 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21285 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21286 	 X"$ac_file" : 'X\(//\)$' \| \
   21287 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21288 echo X"$ac_file" |
   21289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21290 	    s//\1/
   21291 	    q
   21292 	  }
   21293 	  /^X\(\/\/\)[^/].*/{
   21294 	    s//\1/
   21295 	    q
   21296 	  }
   21297 	  /^X\(\/\/\)$/{
   21298 	    s//\1/
   21299 	    q
   21300 	  }
   21301 	  /^X\(\/\).*/{
   21302 	    s//\1/
   21303 	    q
   21304 	  }
   21305 	  s/.*/./; q'`
   21306   { as_dir="$ac_dir"
   21307   case $as_dir in #(
   21308   -*) as_dir=./$as_dir;;
   21309   esac
   21310   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21311     as_dirs=
   21312     while :; do
   21313       case $as_dir in #(
   21314       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21315       *) as_qdir=$as_dir;;
   21316       esac
   21317       as_dirs="'$as_qdir' $as_dirs"
   21318       as_dir=`$as_dirname -- "$as_dir" ||
   21319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21320 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21321 	 X"$as_dir" : 'X\(//\)$' \| \
   21322 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21323 echo X"$as_dir" |
   21324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21325 	    s//\1/
   21326 	    q
   21327 	  }
   21328 	  /^X\(\/\/\)[^/].*/{
   21329 	    s//\1/
   21330 	    q
   21331 	  }
   21332 	  /^X\(\/\/\)$/{
   21333 	    s//\1/
   21334 	    q
   21335 	  }
   21336 	  /^X\(\/\).*/{
   21337 	    s//\1/
   21338 	    q
   21339 	  }
   21340 	  s/.*/./; q'`
   21341       test -d "$as_dir" && break
   21342     done
   21343     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21344   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21345 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21346    { (exit 1); exit 1; }; }; }
   21347   ac_builddir=.
   21348 
   21349 case "$ac_dir" in
   21350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21351 *)
   21352   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   21353   # A ".." for each directory in $ac_dir_suffix.
   21354   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   21355   case $ac_top_builddir_sub in
   21356   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21357   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21358   esac ;;
   21359 esac
   21360 ac_abs_top_builddir=$ac_pwd
   21361 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21362 # for backward compatibility:
   21363 ac_top_builddir=$ac_top_build_prefix
   21364 
   21365 case $srcdir in
   21366   .)  # We are building in place.
   21367     ac_srcdir=.
   21368     ac_top_srcdir=$ac_top_builddir_sub
   21369     ac_abs_top_srcdir=$ac_pwd ;;
   21370   [\\/]* | ?:[\\/]* )  # Absolute name.
   21371     ac_srcdir=$srcdir$ac_dir_suffix;
   21372     ac_top_srcdir=$srcdir
   21373     ac_abs_top_srcdir=$srcdir ;;
   21374   *) # Relative name.
   21375     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21376     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21377     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21378 esac
   21379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21380 
   21381 
   21382   case $ac_mode in
   21383   :F)
   21384   #
   21385   # CONFIG_FILE
   21386   #
   21387 
   21388   case $INSTALL in
   21389   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21390   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21391   esac
   21392   ac_MKDIR_P=$MKDIR_P
   21393   case $MKDIR_P in
   21394   [\\/$]* | ?:[\\/]* ) ;;
   21395   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21396   esac
   21397 _ACEOF
   21398 
   21399 cat >>$CONFIG_STATUS <<\_ACEOF
   21400 # If the template does not know about datarootdir, expand it.
   21401 # FIXME: This hack should be removed a few years after 2.60.
   21402 ac_datarootdir_hack=; ac_datarootdir_seen=
   21403 
   21404 case `sed -n '/datarootdir/ {
   21405   p
   21406   q
   21407 }
   21408 /@datadir@/p
   21409 /@docdir@/p
   21410 /@infodir@/p
   21411 /@localedir@/p
   21412 /@mandir@/p
   21413 ' $ac_file_inputs` in
   21414 *datarootdir*) ac_datarootdir_seen=yes;;
   21415 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21416   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21417 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21418 _ACEOF
   21419 cat >>$CONFIG_STATUS <<_ACEOF
   21420   ac_datarootdir_hack='
   21421   s&@datadir@&$datadir&g
   21422   s&@docdir@&$docdir&g
   21423   s&@infodir@&$infodir&g
   21424   s&@localedir@&$localedir&g
   21425   s&@mandir@&$mandir&g
   21426     s&\\\${datarootdir}&$datarootdir&g' ;;
   21427 esac
   21428 _ACEOF
   21429 
   21430 # Neutralize VPATH when `$srcdir' = `.'.
   21431 # Shell code in configure.ac might set extrasub.
   21432 # FIXME: do we really want to maintain this feature?
   21433 cat >>$CONFIG_STATUS <<_ACEOF
   21434   sed "$ac_vpsub
   21435 $extrasub
   21436 _ACEOF
   21437 cat >>$CONFIG_STATUS <<\_ACEOF
   21438 :t
   21439 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21440 s&@configure_input@&$configure_input&;t t
   21441 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21442 s&@srcdir@&$ac_srcdir&;t t
   21443 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21444 s&@top_srcdir@&$ac_top_srcdir&;t t
   21445 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21446 s&@builddir@&$ac_builddir&;t t
   21447 s&@abs_builddir@&$ac_abs_builddir&;t t
   21448 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21449 s&@INSTALL@&$ac_INSTALL&;t t
   21450 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21451 $ac_datarootdir_hack
   21452 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   21453 
   21454 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21455   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   21456   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   21457   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21458 which seems to be undefined.  Please make sure it is defined." >&5
   21459 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21460 which seems to be undefined.  Please make sure it is defined." >&2;}
   21461 
   21462   rm -f "$tmp/stdin"
   21463   case $ac_file in
   21464   -) cat "$tmp/out"; rm -f "$tmp/out";;
   21465   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   21466   esac
   21467  ;;
   21468   :H)
   21469   #
   21470   # CONFIG_HEADER
   21471   #
   21472 _ACEOF
   21473 
   21474 # Transform confdefs.h into a sed script `conftest.defines', that
   21475 # substitutes the proper values into config.h.in to produce config.h.
   21476 rm -f conftest.defines conftest.tail
   21477 # First, append a space to every undef/define line, to ease matching.
   21478 echo 's/$/ /' >conftest.defines
   21479 # Then, protect against being on the right side of a sed subst, or in
   21480 # an unquoted here document, in config.status.  If some macros were
   21481 # called several times there might be several #defines for the same
   21482 # symbol, which is useless.  But do not sort them, since the last
   21483 # AC_DEFINE must be honored.
   21484 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21485 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   21486 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   21487 # PARAMS is the parameter list in the macro definition--in most cases, it's
   21488 # just an empty string.
   21489 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   21490 ac_dB='\\)[	 (].*,\\1define\\2'
   21491 ac_dC=' '
   21492 ac_dD=' ,'
   21493 
   21494 uniq confdefs.h |
   21495   sed -n '
   21496 	t rset
   21497 	:rset
   21498 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   21499 	t ok
   21500 	d
   21501 	:ok
   21502 	s/[\\&,]/\\&/g
   21503 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   21504 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   21505   ' >>conftest.defines
   21506 
   21507 # Remove the space that was appended to ease matching.
   21508 # Then replace #undef with comments.  This is necessary, for
   21509 # example, in the case of _POSIX_SOURCE, which is predefined and required
   21510 # on some systems where configure will not decide to define it.
   21511 # (The regexp can be short, since the line contains either #define or #undef.)
   21512 echo 's/ $//
   21513 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   21514 
   21515 # Break up conftest.defines:
   21516 ac_max_sed_lines=50
   21517 
   21518 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   21519 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   21520 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   21521 # et cetera.
   21522 ac_in='$ac_file_inputs'
   21523 ac_out='"$tmp/out1"'
   21524 ac_nxt='"$tmp/out2"'
   21525 
   21526 while :
   21527 do
   21528   # Write a here document:
   21529     cat >>$CONFIG_STATUS <<_ACEOF
   21530     # First, check the format of the line:
   21531     cat >"\$tmp/defines.sed" <<\\CEOF
   21532 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   21533 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   21534 b
   21535 :def
   21536 _ACEOF
   21537   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   21538   echo 'CEOF
   21539     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   21540   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   21541   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   21542   grep . conftest.tail >/dev/null || break
   21543   rm -f conftest.defines
   21544   mv conftest.tail conftest.defines
   21545 done
   21546 rm -f conftest.defines conftest.tail
   21547 
   21548 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   21549 cat >>$CONFIG_STATUS <<\_ACEOF
   21550   if test x"$ac_file" != x-; then
   21551     echo "/* $configure_input  */" >"$tmp/config.h"
   21552     cat "$ac_result" >>"$tmp/config.h"
   21553     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   21554       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   21555 echo "$as_me: $ac_file is unchanged" >&6;}
   21556     else
   21557       rm -f $ac_file
   21558       mv "$tmp/config.h" $ac_file
   21559     fi
   21560   else
   21561     echo "/* $configure_input  */"
   21562     cat "$ac_result"
   21563   fi
   21564   rm -f "$tmp/out12"
   21565 # Compute $ac_file's index in $config_headers.
   21566 _am_stamp_count=1
   21567 for _am_header in $config_headers :; do
   21568   case $_am_header in
   21569     $ac_file | $ac_file:* )
   21570       break ;;
   21571     * )
   21572       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21573   esac
   21574 done
   21575 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   21576 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21577 	 X$ac_file : 'X\(//\)[^/]' \| \
   21578 	 X$ac_file : 'X\(//\)$' \| \
   21579 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   21580 echo X$ac_file |
   21581     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21582 	    s//\1/
   21583 	    q
   21584 	  }
   21585 	  /^X\(\/\/\)[^/].*/{
   21586 	    s//\1/
   21587 	    q
   21588 	  }
   21589 	  /^X\(\/\/\)$/{
   21590 	    s//\1/
   21591 	    q
   21592 	  }
   21593 	  /^X\(\/\).*/{
   21594 	    s//\1/
   21595 	    q
   21596 	  }
   21597 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21598  ;;
   21599 
   21600   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   21601 echo "$as_me: executing $ac_file commands" >&6;}
   21602  ;;
   21603   esac
   21604 
   21605 
   21606   case $ac_file$ac_mode in
   21607     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   21608   # Strip MF so we end up with the name of the file.
   21609   mf=`echo "$mf" | sed -e 's/:.*$//'`
   21610   # Check whether this is an Automake generated Makefile or not.
   21611   # We used to match only the files named `Makefile.in', but
   21612   # some people rename them; so instead we look at the file content.
   21613   # Grep'ing the first line is not enough: some people post-process
   21614   # each Makefile.in and add a new line on top of each file to say so.
   21615   # Grep'ing the whole file is not good either: AIX grep has a line
   21616   # limit of 2048, but all sed's we know have understand at least 4000.
   21617   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   21618     dirpart=`$as_dirname -- "$mf" ||
   21619 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21620 	 X"$mf" : 'X\(//\)[^/]' \| \
   21621 	 X"$mf" : 'X\(//\)$' \| \
   21622 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21623 echo X"$mf" |
   21624     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21625 	    s//\1/
   21626 	    q
   21627 	  }
   21628 	  /^X\(\/\/\)[^/].*/{
   21629 	    s//\1/
   21630 	    q
   21631 	  }
   21632 	  /^X\(\/\/\)$/{
   21633 	    s//\1/
   21634 	    q
   21635 	  }
   21636 	  /^X\(\/\).*/{
   21637 	    s//\1/
   21638 	    q
   21639 	  }
   21640 	  s/.*/./; q'`
   21641   else
   21642     continue
   21643   fi
   21644   # Extract the definition of DEPDIR, am__include, and am__quote
   21645   # from the Makefile without running `make'.
   21646   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21647   test -z "$DEPDIR" && continue
   21648   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21649   test -z "am__include" && continue
   21650   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21651   # When using ansi2knr, U may be empty or an underscore; expand it
   21652   U=`sed -n 's/^U = //p' < "$mf"`
   21653   # Find all dependency output files, they are included files with
   21654   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21655   # simplest approach to changing $(DEPDIR) to its actual value in the
   21656   # expansion.
   21657   for file in `sed -n "
   21658     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21659        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   21660     # Make sure the directory exists.
   21661     test -f "$dirpart/$file" && continue
   21662     fdir=`$as_dirname -- "$file" ||
   21663 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21664 	 X"$file" : 'X\(//\)[^/]' \| \
   21665 	 X"$file" : 'X\(//\)$' \| \
   21666 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21667 echo X"$file" |
   21668     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21669 	    s//\1/
   21670 	    q
   21671 	  }
   21672 	  /^X\(\/\/\)[^/].*/{
   21673 	    s//\1/
   21674 	    q
   21675 	  }
   21676 	  /^X\(\/\/\)$/{
   21677 	    s//\1/
   21678 	    q
   21679 	  }
   21680 	  /^X\(\/\).*/{
   21681 	    s//\1/
   21682 	    q
   21683 	  }
   21684 	  s/.*/./; q'`
   21685     { as_dir=$dirpart/$fdir
   21686   case $as_dir in #(
   21687   -*) as_dir=./$as_dir;;
   21688   esac
   21689   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21690     as_dirs=
   21691     while :; do
   21692       case $as_dir in #(
   21693       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21694       *) as_qdir=$as_dir;;
   21695       esac
   21696       as_dirs="'$as_qdir' $as_dirs"
   21697       as_dir=`$as_dirname -- "$as_dir" ||
   21698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21699 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21700 	 X"$as_dir" : 'X\(//\)$' \| \
   21701 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21702 echo X"$as_dir" |
   21703     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21704 	    s//\1/
   21705 	    q
   21706 	  }
   21707 	  /^X\(\/\/\)[^/].*/{
   21708 	    s//\1/
   21709 	    q
   21710 	  }
   21711 	  /^X\(\/\/\)$/{
   21712 	    s//\1/
   21713 	    q
   21714 	  }
   21715 	  /^X\(\/\).*/{
   21716 	    s//\1/
   21717 	    q
   21718 	  }
   21719 	  s/.*/./; q'`
   21720       test -d "$as_dir" && break
   21721     done
   21722     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21723   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21724 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21725    { (exit 1); exit 1; }; }; }
   21726     # echo "creating $dirpart/$file"
   21727     echo '# dummy' > "$dirpart/$file"
   21728   done
   21729 done
   21730  ;;
   21731 
   21732   esac
   21733 done # for ac_tag
   21734 
   21735 
   21736 { (exit 0); exit 0; }
   21737 _ACEOF
   21738 chmod +x $CONFIG_STATUS
   21739 ac_clean_files=$ac_clean_files_save
   21740 
   21741 
   21742 # configure is writing to config.log, and then calls config.status.
   21743 # config.status does its own redirection, appending to config.log.
   21744 # Unfortunately, on DOS this fails, as config.log is still kept open
   21745 # by configure, so config.status won't be able to write to it; its
   21746 # output is simply discarded.  So we exec the FD to /dev/null,
   21747 # effectively closing config.log, so it can be properly (re)opened and
   21748 # appended to by config.status.  When coming back to configure, we
   21749 # need to make the FD available again.
   21750 if test "$no_create" != yes; then
   21751   ac_cs_success=:
   21752   ac_config_status_args=
   21753   test "$silent" = yes &&
   21754     ac_config_status_args="$ac_config_status_args --quiet"
   21755   exec 5>/dev/null
   21756   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21757   exec 5>>config.log
   21758   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21759   # would make configure fail if this is the last instruction.
   21760   $ac_cs_success || { (exit 1); exit 1; }
   21761 fi
   21762 
   21763