Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for libFS 1.0.2.
      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.2'
    732 PACKAGE_STRING='libFS 1.0.2'
    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 CWARNFLAGS
    876 PKG_CONFIG
    877 FS_CFLAGS
    878 FS_LIBS
    879 XTRANS_CFLAGS
    880 XTRANS_LIBS
    881 MALLOC_ZERO_CFLAGS
    882 XMALLOC_ZERO_CFLAGS
    883 XTMALLOC_ZERO_CFLAGS
    884 LINT
    885 LINT_FLAGS
    886 LINT_TRUE
    887 LINT_FALSE
    888 LINTLIB
    889 MAKE_LINT_LIB_TRUE
    890 MAKE_LINT_LIB_FALSE
    891 CHANGELOG_CMD
    892 distcleancheck_listfiles
    893 LIBOBJS
    894 LTLIBOBJS'
    895 ac_subst_files=''
    896       ac_precious_vars='build_alias
    897 host_alias
    898 target_alias
    899 CC
    900 CFLAGS
    901 LDFLAGS
    902 LIBS
    903 CPPFLAGS
    904 CPP
    905 CXX
    906 CXXFLAGS
    907 CCC
    908 CXXCPP
    909 F77
    910 FFLAGS
    911 PKG_CONFIG
    912 FS_CFLAGS
    913 FS_LIBS
    914 XTRANS_CFLAGS
    915 XTRANS_LIBS'
    916 
    917 
    918 # Initialize some variables set by options.
    919 ac_init_help=
    920 ac_init_version=false
    921 # The variables have the same names as the options, with
    922 # dashes changed to underlines.
    923 cache_file=/dev/null
    924 exec_prefix=NONE
    925 no_create=
    926 no_recursion=
    927 prefix=NONE
    928 program_prefix=NONE
    929 program_suffix=NONE
    930 program_transform_name=s,x,x,
    931 silent=
    932 site=
    933 srcdir=
    934 verbose=
    935 x_includes=NONE
    936 x_libraries=NONE
    937 
    938 # Installation directory options.
    939 # These are left unexpanded so users can "make install exec_prefix=/foo"
    940 # and all the variables that are supposed to be based on exec_prefix
    941 # by default will actually change.
    942 # Use braces instead of parens because sh, perl, etc. also accept them.
    943 # (The list follows the same order as the GNU Coding Standards.)
    944 bindir='${exec_prefix}/bin'
    945 sbindir='${exec_prefix}/sbin'
    946 libexecdir='${exec_prefix}/libexec'
    947 datarootdir='${prefix}/share'
    948 datadir='${datarootdir}'
    949 sysconfdir='${prefix}/etc'
    950 sharedstatedir='${prefix}/com'
    951 localstatedir='${prefix}/var'
    952 includedir='${prefix}/include'
    953 oldincludedir='/usr/include'
    954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    955 infodir='${datarootdir}/info'
    956 htmldir='${docdir}'
    957 dvidir='${docdir}'
    958 pdfdir='${docdir}'
    959 psdir='${docdir}'
    960 libdir='${exec_prefix}/lib'
    961 localedir='${datarootdir}/locale'
    962 mandir='${datarootdir}/man'
    963 
    964 ac_prev=
    965 ac_dashdash=
    966 for ac_option
    967 do
    968   # If the previous option needs an argument, assign it.
    969   if test -n "$ac_prev"; then
    970     eval $ac_prev=\$ac_option
    971     ac_prev=
    972     continue
    973   fi
    974 
    975   case $ac_option in
    976   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    977   *)	ac_optarg=yes ;;
    978   esac
    979 
    980   # Accept the important Cygnus configure options, so we can diagnose typos.
    981 
    982   case $ac_dashdash$ac_option in
    983   --)
    984     ac_dashdash=yes ;;
    985 
    986   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    987     ac_prev=bindir ;;
    988   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    989     bindir=$ac_optarg ;;
    990 
    991   -build | --build | --buil | --bui | --bu)
    992     ac_prev=build_alias ;;
    993   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    994     build_alias=$ac_optarg ;;
    995 
    996   -cache-file | --cache-file | --cache-fil | --cache-fi \
    997   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    998     ac_prev=cache_file ;;
    999   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1000   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1001     cache_file=$ac_optarg ;;
   1002 
   1003   --config-cache | -C)
   1004     cache_file=config.cache ;;
   1005 
   1006   -datadir | --datadir | --datadi | --datad)
   1007     ac_prev=datadir ;;
   1008   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1009     datadir=$ac_optarg ;;
   1010 
   1011   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1012   | --dataroo | --dataro | --datar)
   1013     ac_prev=datarootdir ;;
   1014   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1015   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1016     datarootdir=$ac_optarg ;;
   1017 
   1018   -disable-* | --disable-*)
   1019     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1020     # Reject names that are not valid shell variable names.
   1021     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1022       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1023    { (exit 1); exit 1; }; }
   1024     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1025     eval enable_$ac_feature=no ;;
   1026 
   1027   -docdir | --docdir | --docdi | --doc | --do)
   1028     ac_prev=docdir ;;
   1029   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1030     docdir=$ac_optarg ;;
   1031 
   1032   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1033     ac_prev=dvidir ;;
   1034   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1035     dvidir=$ac_optarg ;;
   1036 
   1037   -enable-* | --enable-*)
   1038     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1039     # Reject names that are not valid shell variable names.
   1040     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1041       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1042    { (exit 1); exit 1; }; }
   1043     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1044     eval enable_$ac_feature=\$ac_optarg ;;
   1045 
   1046   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1047   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1048   | --exec | --exe | --ex)
   1049     ac_prev=exec_prefix ;;
   1050   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1051   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1052   | --exec=* | --exe=* | --ex=*)
   1053     exec_prefix=$ac_optarg ;;
   1054 
   1055   -gas | --gas | --ga | --g)
   1056     # Obsolete; use --with-gas.
   1057     with_gas=yes ;;
   1058 
   1059   -help | --help | --hel | --he | -h)
   1060     ac_init_help=long ;;
   1061   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1062     ac_init_help=recursive ;;
   1063   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1064     ac_init_help=short ;;
   1065 
   1066   -host | --host | --hos | --ho)
   1067     ac_prev=host_alias ;;
   1068   -host=* | --host=* | --hos=* | --ho=*)
   1069     host_alias=$ac_optarg ;;
   1070 
   1071   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1072     ac_prev=htmldir ;;
   1073   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1074   | --ht=*)
   1075     htmldir=$ac_optarg ;;
   1076 
   1077   -includedir | --includedir | --includedi | --included | --include \
   1078   | --includ | --inclu | --incl | --inc)
   1079     ac_prev=includedir ;;
   1080   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1081   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1082     includedir=$ac_optarg ;;
   1083 
   1084   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1085     ac_prev=infodir ;;
   1086   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1087     infodir=$ac_optarg ;;
   1088 
   1089   -libdir | --libdir | --libdi | --libd)
   1090     ac_prev=libdir ;;
   1091   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1092     libdir=$ac_optarg ;;
   1093 
   1094   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1095   | --libexe | --libex | --libe)
   1096     ac_prev=libexecdir ;;
   1097   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1098   | --libexe=* | --libex=* | --libe=*)
   1099     libexecdir=$ac_optarg ;;
   1100 
   1101   -localedir | --localedir | --localedi | --localed | --locale)
   1102     ac_prev=localedir ;;
   1103   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1104     localedir=$ac_optarg ;;
   1105 
   1106   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1107   | --localstate | --localstat | --localsta | --localst | --locals)
   1108     ac_prev=localstatedir ;;
   1109   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1110   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1111     localstatedir=$ac_optarg ;;
   1112 
   1113   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1114     ac_prev=mandir ;;
   1115   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1116     mandir=$ac_optarg ;;
   1117 
   1118   -nfp | --nfp | --nf)
   1119     # Obsolete; use --without-fp.
   1120     with_fp=no ;;
   1121 
   1122   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1123   | --no-cr | --no-c | -n)
   1124     no_create=yes ;;
   1125 
   1126   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1127   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1128     no_recursion=yes ;;
   1129 
   1130   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1131   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1132   | --oldin | --oldi | --old | --ol | --o)
   1133     ac_prev=oldincludedir ;;
   1134   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1135   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1136   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1137     oldincludedir=$ac_optarg ;;
   1138 
   1139   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1140     ac_prev=prefix ;;
   1141   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1142     prefix=$ac_optarg ;;
   1143 
   1144   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1145   | --program-pre | --program-pr | --program-p)
   1146     ac_prev=program_prefix ;;
   1147   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1148   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1149     program_prefix=$ac_optarg ;;
   1150 
   1151   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1152   | --program-suf | --program-su | --program-s)
   1153     ac_prev=program_suffix ;;
   1154   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1155   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1156     program_suffix=$ac_optarg ;;
   1157 
   1158   -program-transform-name | --program-transform-name \
   1159   | --program-transform-nam | --program-transform-na \
   1160   | --program-transform-n | --program-transform- \
   1161   | --program-transform | --program-transfor \
   1162   | --program-transfo | --program-transf \
   1163   | --program-trans | --program-tran \
   1164   | --progr-tra | --program-tr | --program-t)
   1165     ac_prev=program_transform_name ;;
   1166   -program-transform-name=* | --program-transform-name=* \
   1167   | --program-transform-nam=* | --program-transform-na=* \
   1168   | --program-transform-n=* | --program-transform-=* \
   1169   | --program-transform=* | --program-transfor=* \
   1170   | --program-transfo=* | --program-transf=* \
   1171   | --program-trans=* | --program-tran=* \
   1172   | --progr-tra=* | --program-tr=* | --program-t=*)
   1173     program_transform_name=$ac_optarg ;;
   1174 
   1175   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1176     ac_prev=pdfdir ;;
   1177   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1178     pdfdir=$ac_optarg ;;
   1179 
   1180   -psdir | --psdir | --psdi | --psd | --ps)
   1181     ac_prev=psdir ;;
   1182   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1183     psdir=$ac_optarg ;;
   1184 
   1185   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1186   | -silent | --silent | --silen | --sile | --sil)
   1187     silent=yes ;;
   1188 
   1189   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1190     ac_prev=sbindir ;;
   1191   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1192   | --sbi=* | --sb=*)
   1193     sbindir=$ac_optarg ;;
   1194 
   1195   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1196   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1197   | --sharedst | --shareds | --shared | --share | --shar \
   1198   | --sha | --sh)
   1199     ac_prev=sharedstatedir ;;
   1200   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1201   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1202   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1203   | --sha=* | --sh=*)
   1204     sharedstatedir=$ac_optarg ;;
   1205 
   1206   -site | --site | --sit)
   1207     ac_prev=site ;;
   1208   -site=* | --site=* | --sit=*)
   1209     site=$ac_optarg ;;
   1210 
   1211   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1212     ac_prev=srcdir ;;
   1213   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1214     srcdir=$ac_optarg ;;
   1215 
   1216   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1217   | --syscon | --sysco | --sysc | --sys | --sy)
   1218     ac_prev=sysconfdir ;;
   1219   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1220   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1221     sysconfdir=$ac_optarg ;;
   1222 
   1223   -target | --target | --targe | --targ | --tar | --ta | --t)
   1224     ac_prev=target_alias ;;
   1225   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1226     target_alias=$ac_optarg ;;
   1227 
   1228   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1229     verbose=yes ;;
   1230 
   1231   -version | --version | --versio | --versi | --vers | -V)
   1232     ac_init_version=: ;;
   1233 
   1234   -with-* | --with-*)
   1235     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1236     # Reject names that are not valid shell variable names.
   1237     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1238       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1239    { (exit 1); exit 1; }; }
   1240     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1241     eval with_$ac_package=\$ac_optarg ;;
   1242 
   1243   -without-* | --without-*)
   1244     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1245     # Reject names that are not valid shell variable names.
   1246     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1247       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1248    { (exit 1); exit 1; }; }
   1249     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1250     eval with_$ac_package=no ;;
   1251 
   1252   --x)
   1253     # Obsolete; use --with-x.
   1254     with_x=yes ;;
   1255 
   1256   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1257   | --x-incl | --x-inc | --x-in | --x-i)
   1258     ac_prev=x_includes ;;
   1259   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1260   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1261     x_includes=$ac_optarg ;;
   1262 
   1263   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1264   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1265     ac_prev=x_libraries ;;
   1266   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1267   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1268     x_libraries=$ac_optarg ;;
   1269 
   1270   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1271 Try \`$0 --help' for more information." >&2
   1272    { (exit 1); exit 1; }; }
   1273     ;;
   1274 
   1275   *=*)
   1276     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1277     # Reject names that are not valid shell variable names.
   1278     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1279       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1280    { (exit 1); exit 1; }; }
   1281     eval $ac_envvar=\$ac_optarg
   1282     export $ac_envvar ;;
   1283 
   1284   *)
   1285     # FIXME: should be removed in autoconf 3.0.
   1286     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1287     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1288       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1289     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1290     ;;
   1291 
   1292   esac
   1293 done
   1294 
   1295 if test -n "$ac_prev"; then
   1296   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1297   { echo "$as_me: error: missing argument to $ac_option" >&2
   1298    { (exit 1); exit 1; }; }
   1299 fi
   1300 
   1301 # Be sure to have absolute directory names.
   1302 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1303 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1304 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1305 		libdir localedir mandir
   1306 do
   1307   eval ac_val=\$$ac_var
   1308   case $ac_val in
   1309     [\\/$]* | ?:[\\/]* )  continue;;
   1310     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1311   esac
   1312   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1313    { (exit 1); exit 1; }; }
   1314 done
   1315 
   1316 # There might be people who depend on the old broken behavior: `$host'
   1317 # used to hold the argument of --host etc.
   1318 # FIXME: To remove some day.
   1319 build=$build_alias
   1320 host=$host_alias
   1321 target=$target_alias
   1322 
   1323 # FIXME: To remove some day.
   1324 if test "x$host_alias" != x; then
   1325   if test "x$build_alias" = x; then
   1326     cross_compiling=maybe
   1327     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1328     If a cross compiler is detected then cross compile mode will be used." >&2
   1329   elif test "x$build_alias" != "x$host_alias"; then
   1330     cross_compiling=yes
   1331   fi
   1332 fi
   1333 
   1334 ac_tool_prefix=
   1335 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1336 
   1337 test "$silent" = yes && exec 6>/dev/null
   1338 
   1339 
   1340 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1341 ac_ls_di=`ls -di .` &&
   1342 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1343   { echo "$as_me: error: Working directory cannot be determined" >&2
   1344    { (exit 1); exit 1; }; }
   1345 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1346   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1347    { (exit 1); exit 1; }; }
   1348 
   1349 
   1350 # Find the source files, if location was not specified.
   1351 if test -z "$srcdir"; then
   1352   ac_srcdir_defaulted=yes
   1353   # Try the directory containing this script, then the parent directory.
   1354   ac_confdir=`$as_dirname -- "$0" ||
   1355 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1356 	 X"$0" : 'X\(//\)[^/]' \| \
   1357 	 X"$0" : 'X\(//\)$' \| \
   1358 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1359 echo X"$0" |
   1360     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1361 	    s//\1/
   1362 	    q
   1363 	  }
   1364 	  /^X\(\/\/\)[^/].*/{
   1365 	    s//\1/
   1366 	    q
   1367 	  }
   1368 	  /^X\(\/\/\)$/{
   1369 	    s//\1/
   1370 	    q
   1371 	  }
   1372 	  /^X\(\/\).*/{
   1373 	    s//\1/
   1374 	    q
   1375 	  }
   1376 	  s/.*/./; q'`
   1377   srcdir=$ac_confdir
   1378   if test ! -r "$srcdir/$ac_unique_file"; then
   1379     srcdir=..
   1380   fi
   1381 else
   1382   ac_srcdir_defaulted=no
   1383 fi
   1384 if test ! -r "$srcdir/$ac_unique_file"; then
   1385   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1386   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1387    { (exit 1); exit 1; }; }
   1388 fi
   1389 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1390 ac_abs_confdir=`(
   1391 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1392    { (exit 1); exit 1; }; }
   1393 	pwd)`
   1394 # When building in place, set srcdir=.
   1395 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1396   srcdir=.
   1397 fi
   1398 # Remove unnecessary trailing slashes from srcdir.
   1399 # Double slashes in file names in object file debugging info
   1400 # mess up M-x gdb in Emacs.
   1401 case $srcdir in
   1402 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1403 esac
   1404 for ac_var in $ac_precious_vars; do
   1405   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1406   eval ac_env_${ac_var}_value=\$${ac_var}
   1407   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1408   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1409 done
   1410 
   1411 #
   1412 # Report the --help message.
   1413 #
   1414 if test "$ac_init_help" = "long"; then
   1415   # Omit some internal or obsolete options to make the list less imposing.
   1416   # This message is too long to be a string in the A/UX 3.1 sh.
   1417   cat <<_ACEOF
   1418 \`configure' configures libFS 1.0.2 to adapt to many kinds of systems.
   1419 
   1420 Usage: $0 [OPTION]... [VAR=VALUE]...
   1421 
   1422 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1423 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1424 
   1425 Defaults for the options are specified in brackets.
   1426 
   1427 Configuration:
   1428   -h, --help              display this help and exit
   1429       --help=short        display options specific to this package
   1430       --help=recursive    display the short help of all the included packages
   1431   -V, --version           display version information and exit
   1432   -q, --quiet, --silent   do not print \`checking...' messages
   1433       --cache-file=FILE   cache test results in FILE [disabled]
   1434   -C, --config-cache      alias for \`--cache-file=config.cache'
   1435   -n, --no-create         do not create output files
   1436       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1437 
   1438 Installation directories:
   1439   --prefix=PREFIX         install architecture-independent files in PREFIX
   1440 			  [$ac_default_prefix]
   1441   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1442 			  [PREFIX]
   1443 
   1444 By default, \`make install' will install all the files in
   1445 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1446 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1447 for instance \`--prefix=\$HOME'.
   1448 
   1449 For better control, use the options below.
   1450 
   1451 Fine tuning of the installation directories:
   1452   --bindir=DIR           user executables [EPREFIX/bin]
   1453   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1454   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1455   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1456   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1457   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1458   --libdir=DIR           object code libraries [EPREFIX/lib]
   1459   --includedir=DIR       C header files [PREFIX/include]
   1460   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1461   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1462   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1463   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1464   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1465   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1466   --docdir=DIR           documentation root [DATAROOTDIR/doc/libFS]
   1467   --htmldir=DIR          html documentation [DOCDIR]
   1468   --dvidir=DIR           dvi documentation [DOCDIR]
   1469   --pdfdir=DIR           pdf documentation [DOCDIR]
   1470   --psdir=DIR            ps documentation [DOCDIR]
   1471 _ACEOF
   1472 
   1473   cat <<\_ACEOF
   1474 
   1475 Program names:
   1476   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1477   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1478   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1479 
   1480 System types:
   1481   --build=BUILD     configure for building on BUILD [guessed]
   1482   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1483 _ACEOF
   1484 fi
   1485 
   1486 if test -n "$ac_init_help"; then
   1487   case $ac_init_help in
   1488      short | recursive ) echo "Configuration of libFS 1.0.2:";;
   1489    esac
   1490   cat <<\_ACEOF
   1491 
   1492 Optional Features:
   1493   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1494   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1495   --enable-maintainer-mode  enable make rules and dependencies not useful
   1496 			  (and sometimes confusing) to the casual installer
   1497   --disable-dependency-tracking  speeds up one-time build
   1498   --enable-dependency-tracking   do not reject slow dependency extractors
   1499   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1500   --enable-static[=PKGS]  build static libraries [default=yes]
   1501   --enable-fast-install[=PKGS]
   1502                           optimize for fast installation [default=yes]
   1503   --disable-libtool-lock  avoid locking (might break parallel builds)
   1504   --enable-unix-transport Enable UNIX domain socket transport
   1505   --enable-tcp-transport  Enable TCP socket transport
   1506   --enable-ipv6           Enable IPv6 support
   1507   --enable-local-transport
   1508                           Enable os-specific local transport
   1509   --enable-malloc0returnsnull
   1510                           malloc(0) returns NULL (default: auto)
   1511   --enable-lint-library   Create lint library (default: disabled)
   1512 
   1513 Optional Packages:
   1514   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1515   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1516   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1517   --with-pic              try to use only PIC/non-PIC objects [default=use
   1518                           both]
   1519   --with-tags[=TAGS]      include additional configurations [automatic]
   1520   --with-lint             Use a lint-style source code checker (default:
   1521                           disabled)
   1522   --with-release-version=STRING
   1523                           Use release version string in package name
   1524 
   1525 Some influential environment variables:
   1526   CC          C compiler command
   1527   CFLAGS      C compiler flags
   1528   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1529               nonstandard directory <lib dir>
   1530   LIBS        libraries to pass to the linker, e.g. -l<library>
   1531   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1532               you have headers in a nonstandard directory <include dir>
   1533   CPP         C preprocessor
   1534   CXX         C++ compiler command
   1535   CXXFLAGS    C++ compiler flags
   1536   CXXCPP      C++ preprocessor
   1537   F77         Fortran 77 compiler command
   1538   FFLAGS      Fortran 77 compiler flags
   1539   PKG_CONFIG  path to pkg-config utility
   1540   FS_CFLAGS   C compiler flags for FS, overriding pkg-config
   1541   FS_LIBS     linker flags for FS, overriding pkg-config
   1542   XTRANS_CFLAGS
   1543               C compiler flags for XTRANS, overriding pkg-config
   1544   XTRANS_LIBS linker flags for XTRANS, overriding pkg-config
   1545 
   1546 Use these variables to override the choices made by `configure' or to help
   1547 it to find libraries and programs with nonstandard names/locations.
   1548 
   1549 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1550 _ACEOF
   1551 ac_status=$?
   1552 fi
   1553 
   1554 if test "$ac_init_help" = "recursive"; then
   1555   # If there are subdirs, report their specific --help.
   1556   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1557     test -d "$ac_dir" || continue
   1558     ac_builddir=.
   1559 
   1560 case "$ac_dir" in
   1561 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1562 *)
   1563   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1564   # A ".." for each directory in $ac_dir_suffix.
   1565   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1566   case $ac_top_builddir_sub in
   1567   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1568   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1569   esac ;;
   1570 esac
   1571 ac_abs_top_builddir=$ac_pwd
   1572 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1573 # for backward compatibility:
   1574 ac_top_builddir=$ac_top_build_prefix
   1575 
   1576 case $srcdir in
   1577   .)  # We are building in place.
   1578     ac_srcdir=.
   1579     ac_top_srcdir=$ac_top_builddir_sub
   1580     ac_abs_top_srcdir=$ac_pwd ;;
   1581   [\\/]* | ?:[\\/]* )  # Absolute name.
   1582     ac_srcdir=$srcdir$ac_dir_suffix;
   1583     ac_top_srcdir=$srcdir
   1584     ac_abs_top_srcdir=$srcdir ;;
   1585   *) # Relative name.
   1586     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1587     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1588     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1589 esac
   1590 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1591 
   1592     cd "$ac_dir" || { ac_status=$?; continue; }
   1593     # Check for guested configure.
   1594     if test -f "$ac_srcdir/configure.gnu"; then
   1595       echo &&
   1596       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1597     elif test -f "$ac_srcdir/configure"; then
   1598       echo &&
   1599       $SHELL "$ac_srcdir/configure" --help=recursive
   1600     else
   1601       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1602     fi || ac_status=$?
   1603     cd "$ac_pwd" || { ac_status=$?; break; }
   1604   done
   1605 fi
   1606 
   1607 test -n "$ac_init_help" && exit $ac_status
   1608 if $ac_init_version; then
   1609   cat <<\_ACEOF
   1610 libFS configure 1.0.2
   1611 generated by GNU Autoconf 2.61
   1612 
   1613 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1614 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1615 This configure script is free software; the Free Software Foundation
   1616 gives unlimited permission to copy, distribute and modify it.
   1617 _ACEOF
   1618   exit
   1619 fi
   1620 cat >config.log <<_ACEOF
   1621 This file contains any messages produced by compilers while
   1622 running configure, to aid debugging if configure makes a mistake.
   1623 
   1624 It was created by libFS $as_me 1.0.2, which was
   1625 generated by GNU Autoconf 2.61.  Invocation command line was
   1626 
   1627   $ $0 $@
   1628 
   1629 _ACEOF
   1630 exec 5>>config.log
   1631 {
   1632 cat <<_ASUNAME
   1633 ## --------- ##
   1634 ## Platform. ##
   1635 ## --------- ##
   1636 
   1637 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1638 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1639 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1640 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1641 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1642 
   1643 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1644 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1645 
   1646 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1647 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1648 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1649 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1650 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1651 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1652 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1653 
   1654 _ASUNAME
   1655 
   1656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1657 for as_dir in $PATH
   1658 do
   1659   IFS=$as_save_IFS
   1660   test -z "$as_dir" && as_dir=.
   1661   echo "PATH: $as_dir"
   1662 done
   1663 IFS=$as_save_IFS
   1664 
   1665 } >&5
   1666 
   1667 cat >&5 <<_ACEOF
   1668 
   1669 
   1670 ## ----------- ##
   1671 ## Core tests. ##
   1672 ## ----------- ##
   1673 
   1674 _ACEOF
   1675 
   1676 
   1677 # Keep a trace of the command line.
   1678 # Strip out --no-create and --no-recursion so they do not pile up.
   1679 # Strip out --silent because we don't want to record it for future runs.
   1680 # Also quote any args containing shell meta-characters.
   1681 # Make two passes to allow for proper duplicate-argument suppression.
   1682 ac_configure_args=
   1683 ac_configure_args0=
   1684 ac_configure_args1=
   1685 ac_must_keep_next=false
   1686 for ac_pass in 1 2
   1687 do
   1688   for ac_arg
   1689   do
   1690     case $ac_arg in
   1691     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1692     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1693     | -silent | --silent | --silen | --sile | --sil)
   1694       continue ;;
   1695     *\'*)
   1696       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1697     esac
   1698     case $ac_pass in
   1699     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1700     2)
   1701       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1702       if test $ac_must_keep_next = true; then
   1703 	ac_must_keep_next=false # Got value, back to normal.
   1704       else
   1705 	case $ac_arg in
   1706 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1707 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1708 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1709 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1710 	    case "$ac_configure_args0 " in
   1711 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1712 	    esac
   1713 	    ;;
   1714 	  -* ) ac_must_keep_next=true ;;
   1715 	esac
   1716       fi
   1717       ac_configure_args="$ac_configure_args '$ac_arg'"
   1718       ;;
   1719     esac
   1720   done
   1721 done
   1722 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1723 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1724 
   1725 # When interrupted or exit'd, cleanup temporary files, and complete
   1726 # config.log.  We remove comments because anyway the quotes in there
   1727 # would cause problems or look ugly.
   1728 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1729 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1730 trap 'exit_status=$?
   1731   # Save into config.log some information that might help in debugging.
   1732   {
   1733     echo
   1734 
   1735     cat <<\_ASBOX
   1736 ## ---------------- ##
   1737 ## Cache variables. ##
   1738 ## ---------------- ##
   1739 _ASBOX
   1740     echo
   1741     # The following way of writing the cache mishandles newlines in values,
   1742 (
   1743   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1744     eval ac_val=\$$ac_var
   1745     case $ac_val in #(
   1746     *${as_nl}*)
   1747       case $ac_var in #(
   1748       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1749 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1750       esac
   1751       case $ac_var in #(
   1752       _ | IFS | as_nl) ;; #(
   1753       *) $as_unset $ac_var ;;
   1754       esac ;;
   1755     esac
   1756   done
   1757   (set) 2>&1 |
   1758     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1759     *${as_nl}ac_space=\ *)
   1760       sed -n \
   1761 	"s/'\''/'\''\\\\'\'''\''/g;
   1762 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1763       ;; #(
   1764     *)
   1765       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1766       ;;
   1767     esac |
   1768     sort
   1769 )
   1770     echo
   1771 
   1772     cat <<\_ASBOX
   1773 ## ----------------- ##
   1774 ## Output variables. ##
   1775 ## ----------------- ##
   1776 _ASBOX
   1777     echo
   1778     for ac_var in $ac_subst_vars
   1779     do
   1780       eval ac_val=\$$ac_var
   1781       case $ac_val in
   1782       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1783       esac
   1784       echo "$ac_var='\''$ac_val'\''"
   1785     done | sort
   1786     echo
   1787 
   1788     if test -n "$ac_subst_files"; then
   1789       cat <<\_ASBOX
   1790 ## ------------------- ##
   1791 ## File substitutions. ##
   1792 ## ------------------- ##
   1793 _ASBOX
   1794       echo
   1795       for ac_var in $ac_subst_files
   1796       do
   1797 	eval ac_val=\$$ac_var
   1798 	case $ac_val in
   1799 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1800 	esac
   1801 	echo "$ac_var='\''$ac_val'\''"
   1802       done | sort
   1803       echo
   1804     fi
   1805 
   1806     if test -s confdefs.h; then
   1807       cat <<\_ASBOX
   1808 ## ----------- ##
   1809 ## confdefs.h. ##
   1810 ## ----------- ##
   1811 _ASBOX
   1812       echo
   1813       cat confdefs.h
   1814       echo
   1815     fi
   1816     test "$ac_signal" != 0 &&
   1817       echo "$as_me: caught signal $ac_signal"
   1818     echo "$as_me: exit $exit_status"
   1819   } >&5
   1820   rm -f core *.core core.conftest.* &&
   1821     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1822     exit $exit_status
   1823 ' 0
   1824 for ac_signal in 1 2 13 15; do
   1825   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1826 done
   1827 ac_signal=0
   1828 
   1829 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1830 rm -f -r conftest* confdefs.h
   1831 
   1832 # Predefined preprocessor variables.
   1833 
   1834 cat >>confdefs.h <<_ACEOF
   1835 #define PACKAGE_NAME "$PACKAGE_NAME"
   1836 _ACEOF
   1837 
   1838 
   1839 cat >>confdefs.h <<_ACEOF
   1840 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1841 _ACEOF
   1842 
   1843 
   1844 cat >>confdefs.h <<_ACEOF
   1845 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1846 _ACEOF
   1847 
   1848 
   1849 cat >>confdefs.h <<_ACEOF
   1850 #define PACKAGE_STRING "$PACKAGE_STRING"
   1851 _ACEOF
   1852 
   1853 
   1854 cat >>confdefs.h <<_ACEOF
   1855 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1856 _ACEOF
   1857 
   1858 
   1859 # Let the site file select an alternate cache file if it wants to.
   1860 # Prefer explicitly selected file to automatically selected ones.
   1861 if test -n "$CONFIG_SITE"; then
   1862   set x "$CONFIG_SITE"
   1863 elif test "x$prefix" != xNONE; then
   1864   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1865 else
   1866   set x "$ac_default_prefix/share/config.site" \
   1867 	"$ac_default_prefix/etc/config.site"
   1868 fi
   1869 shift
   1870 for ac_site_file
   1871 do
   1872   if test -r "$ac_site_file"; then
   1873     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1874 echo "$as_me: loading site script $ac_site_file" >&6;}
   1875     sed 's/^/| /' "$ac_site_file" >&5
   1876     . "$ac_site_file"
   1877   fi
   1878 done
   1879 
   1880 if test -r "$cache_file"; then
   1881   # Some versions of bash will fail to source /dev/null (special
   1882   # files actually), so we avoid doing that.
   1883   if test -f "$cache_file"; then
   1884     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1885 echo "$as_me: loading cache $cache_file" >&6;}
   1886     case $cache_file in
   1887       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1888       *)                      . "./$cache_file";;
   1889     esac
   1890   fi
   1891 else
   1892   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1893 echo "$as_me: creating cache $cache_file" >&6;}
   1894   >$cache_file
   1895 fi
   1896 
   1897 # Check that the precious variables saved in the cache have kept the same
   1898 # value.
   1899 ac_cache_corrupted=false
   1900 for ac_var in $ac_precious_vars; do
   1901   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1902   eval ac_new_set=\$ac_env_${ac_var}_set
   1903   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1904   eval ac_new_val=\$ac_env_${ac_var}_value
   1905   case $ac_old_set,$ac_new_set in
   1906     set,)
   1907       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1908 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1909       ac_cache_corrupted=: ;;
   1910     ,set)
   1911       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1912 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1913       ac_cache_corrupted=: ;;
   1914     ,);;
   1915     *)
   1916       if test "x$ac_old_val" != "x$ac_new_val"; then
   1917 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1918 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1919 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1920 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1921 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1922 echo "$as_me:   current value: $ac_new_val" >&2;}
   1923 	ac_cache_corrupted=:
   1924       fi;;
   1925   esac
   1926   # Pass precious variables to config.status.
   1927   if test "$ac_new_set" = set; then
   1928     case $ac_new_val in
   1929     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1930     *) ac_arg=$ac_var=$ac_new_val ;;
   1931     esac
   1932     case " $ac_configure_args " in
   1933       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1934       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1935     esac
   1936   fi
   1937 done
   1938 if $ac_cache_corrupted; then
   1939   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1940 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1941   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1942 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1943    { (exit 1); exit 1; }; }
   1944 fi
   1945 
   1946 
   1947 
   1948 
   1949 
   1950 
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 
   1957 
   1958 
   1959 
   1960 
   1961 
   1962 
   1963 
   1964 
   1965 
   1966 
   1967 
   1968 
   1969 
   1970 ac_ext=c
   1971 ac_cpp='$CPP $CPPFLAGS'
   1972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1975 
   1976 
   1977 am__api_version='1.10'
   1978 
   1979 ac_aux_dir=
   1980 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1981   if test -f "$ac_dir/install-sh"; then
   1982     ac_aux_dir=$ac_dir
   1983     ac_install_sh="$ac_aux_dir/install-sh -c"
   1984     break
   1985   elif test -f "$ac_dir/install.sh"; then
   1986     ac_aux_dir=$ac_dir
   1987     ac_install_sh="$ac_aux_dir/install.sh -c"
   1988     break
   1989   elif test -f "$ac_dir/shtool"; then
   1990     ac_aux_dir=$ac_dir
   1991     ac_install_sh="$ac_aux_dir/shtool install -c"
   1992     break
   1993   fi
   1994 done
   1995 if test -z "$ac_aux_dir"; then
   1996   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1997 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1998    { (exit 1); exit 1; }; }
   1999 fi
   2000 
   2001 # These three variables are undocumented and unsupported,
   2002 # and are intended to be withdrawn in a future Autoconf release.
   2003 # They can cause serious problems if a builder's source tree is in a directory
   2004 # whose full name contains unusual characters.
   2005 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2006 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2007 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2008 
   2009 
   2010 # Find a good install program.  We prefer a C program (faster),
   2011 # so one script is as good as another.  But avoid the broken or
   2012 # incompatible versions:
   2013 # SysV /etc/install, /usr/sbin/install
   2014 # SunOS /usr/etc/install
   2015 # IRIX /sbin/install
   2016 # AIX /bin/install
   2017 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2018 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2019 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2020 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2021 # OS/2's system install, which has a completely different semantic
   2022 # ./install, which can be erroneously created by make from ./install.sh.
   2023 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2024 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2025 if test -z "$INSTALL"; then
   2026 if test "${ac_cv_path_install+set}" = set; then
   2027   echo $ECHO_N "(cached) $ECHO_C" >&6
   2028 else
   2029   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2030 for as_dir in $PATH
   2031 do
   2032   IFS=$as_save_IFS
   2033   test -z "$as_dir" && as_dir=.
   2034   # Account for people who put trailing slashes in PATH elements.
   2035 case $as_dir/ in
   2036   ./ | .// | /cC/* | \
   2037   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2038   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2039   /usr/ucb/* ) ;;
   2040   *)
   2041     # OSF1 and SCO ODT 3.0 have their own names for install.
   2042     # Don't use installbsd from OSF since it installs stuff as root
   2043     # by default.
   2044     for ac_prog in ginstall scoinst install; do
   2045       for ac_exec_ext in '' $ac_executable_extensions; do
   2046 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2047 	  if test $ac_prog = install &&
   2048 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2049 	    # AIX install.  It has an incompatible calling convention.
   2050 	    :
   2051 	  elif test $ac_prog = install &&
   2052 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2053 	    # program-specific install script used by HP pwplus--don't use.
   2054 	    :
   2055 	  else
   2056 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2057 	    break 3
   2058 	  fi
   2059 	fi
   2060       done
   2061     done
   2062     ;;
   2063 esac
   2064 done
   2065 IFS=$as_save_IFS
   2066 
   2067 
   2068 fi
   2069   if test "${ac_cv_path_install+set}" = set; then
   2070     INSTALL=$ac_cv_path_install
   2071   else
   2072     # As a last resort, use the slow shell script.  Don't cache a
   2073     # value for INSTALL within a source directory, because that will
   2074     # break other packages using the cache if that directory is
   2075     # removed, or if the value is a relative name.
   2076     INSTALL=$ac_install_sh
   2077   fi
   2078 fi
   2079 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2080 echo "${ECHO_T}$INSTALL" >&6; }
   2081 
   2082 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2083 # It thinks the first close brace ends the variable substitution.
   2084 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2085 
   2086 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2087 
   2088 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2089 
   2090 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2091 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2092 # Just in case
   2093 sleep 1
   2094 echo timestamp > conftest.file
   2095 # Do `set' in a subshell so we don't clobber the current shell's
   2096 # arguments.  Must try -L first in case configure is actually a
   2097 # symlink; some systems play weird games with the mod time of symlinks
   2098 # (eg FreeBSD returns the mod time of the symlink's containing
   2099 # directory).
   2100 if (
   2101    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2102    if test "$*" = "X"; then
   2103       # -L didn't work.
   2104       set X `ls -t $srcdir/configure conftest.file`
   2105    fi
   2106    rm -f conftest.file
   2107    if test "$*" != "X $srcdir/configure conftest.file" \
   2108       && test "$*" != "X conftest.file $srcdir/configure"; then
   2109 
   2110       # If neither matched, then we have a broken ls.  This can happen
   2111       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2112       # broken ls alias from the environment.  This has actually
   2113       # happened.  Such a system could not be considered "sane".
   2114       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2115 alias in your environment" >&5
   2116 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2117 alias in your environment" >&2;}
   2118    { (exit 1); exit 1; }; }
   2119    fi
   2120 
   2121    test "$2" = conftest.file
   2122    )
   2123 then
   2124    # Ok.
   2125    :
   2126 else
   2127    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2128 Check your system clock" >&5
   2129 echo "$as_me: error: newly created file is older than distributed files!
   2130 Check your system clock" >&2;}
   2131    { (exit 1); exit 1; }; }
   2132 fi
   2133 { echo "$as_me:$LINENO: result: yes" >&5
   2134 echo "${ECHO_T}yes" >&6; }
   2135 test "$program_prefix" != NONE &&
   2136   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2137 # Use a double $ so make ignores it.
   2138 test "$program_suffix" != NONE &&
   2139   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2140 # Double any \ or $.  echo might interpret backslashes.
   2141 # By default was `s,x,x', remove it if useless.
   2142 cat <<\_ACEOF >conftest.sed
   2143 s/[\\$]/&&/g;s/;s,x,x,$//
   2144 _ACEOF
   2145 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2146 rm -f conftest.sed
   2147 
   2148 # expand $ac_aux_dir to an absolute path
   2149 am_aux_dir=`cd $ac_aux_dir && pwd`
   2150 
   2151 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2152 # Use eval to expand $SHELL
   2153 if eval "$MISSING --run true"; then
   2154   am_missing_run="$MISSING --run "
   2155 else
   2156   am_missing_run=
   2157   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2158 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2159 fi
   2160 
   2161 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2162 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2163 if test -z "$MKDIR_P"; then
   2164   if test "${ac_cv_path_mkdir+set}" = set; then
   2165   echo $ECHO_N "(cached) $ECHO_C" >&6
   2166 else
   2167   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2168 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2169 do
   2170   IFS=$as_save_IFS
   2171   test -z "$as_dir" && as_dir=.
   2172   for ac_prog in mkdir gmkdir; do
   2173 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2174 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2175 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2176 	     'mkdir (GNU coreutils) '* | \
   2177 	     'mkdir (coreutils) '* | \
   2178 	     'mkdir (fileutils) '4.1*)
   2179 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2180 	       break 3;;
   2181 	   esac
   2182 	 done
   2183        done
   2184 done
   2185 IFS=$as_save_IFS
   2186 
   2187 fi
   2188 
   2189   if test "${ac_cv_path_mkdir+set}" = set; then
   2190     MKDIR_P="$ac_cv_path_mkdir -p"
   2191   else
   2192     # As a last resort, use the slow shell script.  Don't cache a
   2193     # value for MKDIR_P within a source directory, because that will
   2194     # break other packages using the cache if that directory is
   2195     # removed, or if the value is a relative name.
   2196     test -d ./--version && rmdir ./--version
   2197     MKDIR_P="$ac_install_sh -d"
   2198   fi
   2199 fi
   2200 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2201 echo "${ECHO_T}$MKDIR_P" >&6; }
   2202 
   2203 mkdir_p="$MKDIR_P"
   2204 case $mkdir_p in
   2205   [\\/$]* | ?:[\\/]*) ;;
   2206   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2207 esac
   2208 
   2209 for ac_prog in gawk mawk nawk awk
   2210 do
   2211   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2212 set dummy $ac_prog; ac_word=$2
   2213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2215 if test "${ac_cv_prog_AWK+set}" = set; then
   2216   echo $ECHO_N "(cached) $ECHO_C" >&6
   2217 else
   2218   if test -n "$AWK"; then
   2219   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2220 else
   2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2222 for as_dir in $PATH
   2223 do
   2224   IFS=$as_save_IFS
   2225   test -z "$as_dir" && as_dir=.
   2226   for ac_exec_ext in '' $ac_executable_extensions; do
   2227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2228     ac_cv_prog_AWK="$ac_prog"
   2229     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2230     break 2
   2231   fi
   2232 done
   2233 done
   2234 IFS=$as_save_IFS
   2235 
   2236 fi
   2237 fi
   2238 AWK=$ac_cv_prog_AWK
   2239 if test -n "$AWK"; then
   2240   { echo "$as_me:$LINENO: result: $AWK" >&5
   2241 echo "${ECHO_T}$AWK" >&6; }
   2242 else
   2243   { echo "$as_me:$LINENO: result: no" >&5
   2244 echo "${ECHO_T}no" >&6; }
   2245 fi
   2246 
   2247 
   2248   test -n "$AWK" && break
   2249 done
   2250 
   2251 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2252 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2253 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2254 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2255   echo $ECHO_N "(cached) $ECHO_C" >&6
   2256 else
   2257   cat >conftest.make <<\_ACEOF
   2258 SHELL = /bin/sh
   2259 all:
   2260 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2261 _ACEOF
   2262 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2263 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2264   *@@@%%%=?*=@@@%%%*)
   2265     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2266   *)
   2267     eval ac_cv_prog_make_${ac_make}_set=no;;
   2268 esac
   2269 rm -f conftest.make
   2270 fi
   2271 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2272   { echo "$as_me:$LINENO: result: yes" >&5
   2273 echo "${ECHO_T}yes" >&6; }
   2274   SET_MAKE=
   2275 else
   2276   { echo "$as_me:$LINENO: result: no" >&5
   2277 echo "${ECHO_T}no" >&6; }
   2278   SET_MAKE="MAKE=${MAKE-make}"
   2279 fi
   2280 
   2281 rm -rf .tst 2>/dev/null
   2282 mkdir .tst 2>/dev/null
   2283 if test -d .tst; then
   2284   am__leading_dot=.
   2285 else
   2286   am__leading_dot=_
   2287 fi
   2288 rmdir .tst 2>/dev/null
   2289 
   2290 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2291   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2292   # is not polluted with repeated "-I."
   2293   am__isrc=' -I$(srcdir)'
   2294   # test to see if srcdir already configured
   2295   if test -f $srcdir/config.status; then
   2296     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2297 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2298    { (exit 1); exit 1; }; }
   2299   fi
   2300 fi
   2301 
   2302 # test whether we have cygpath
   2303 if test -z "$CYGPATH_W"; then
   2304   if (cygpath --version) >/dev/null 2>/dev/null; then
   2305     CYGPATH_W='cygpath -w'
   2306   else
   2307     CYGPATH_W=echo
   2308   fi
   2309 fi
   2310 
   2311 
   2312 # Define the identity of the package.
   2313  PACKAGE='libFS'
   2314  VERSION='1.0.2'
   2315 
   2316 
   2317 cat >>confdefs.h <<_ACEOF
   2318 #define PACKAGE "$PACKAGE"
   2319 _ACEOF
   2320 
   2321 
   2322 cat >>confdefs.h <<_ACEOF
   2323 #define VERSION "$VERSION"
   2324 _ACEOF
   2325 
   2326 # Some tools Automake needs.
   2327 
   2328 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2329 
   2330 
   2331 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2332 
   2333 
   2334 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2335 
   2336 
   2337 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2338 
   2339 
   2340 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2341 
   2342 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2343 
   2344 # Installed binaries are usually stripped using `strip' when the user
   2345 # run `make install-strip'.  However `strip' might not be the right
   2346 # tool to use in cross-compilation environments, therefore Automake
   2347 # will honor the `STRIP' environment variable to overrule this program.
   2348 if test "$cross_compiling" != no; then
   2349   if test -n "$ac_tool_prefix"; then
   2350   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2351 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2354 if test "${ac_cv_prog_STRIP+set}" = set; then
   2355   echo $ECHO_N "(cached) $ECHO_C" >&6
   2356 else
   2357   if test -n "$STRIP"; then
   2358   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2359 else
   2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2361 for as_dir in $PATH
   2362 do
   2363   IFS=$as_save_IFS
   2364   test -z "$as_dir" && as_dir=.
   2365   for ac_exec_ext in '' $ac_executable_extensions; do
   2366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2367     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2368     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2369     break 2
   2370   fi
   2371 done
   2372 done
   2373 IFS=$as_save_IFS
   2374 
   2375 fi
   2376 fi
   2377 STRIP=$ac_cv_prog_STRIP
   2378 if test -n "$STRIP"; then
   2379   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2380 echo "${ECHO_T}$STRIP" >&6; }
   2381 else
   2382   { echo "$as_me:$LINENO: result: no" >&5
   2383 echo "${ECHO_T}no" >&6; }
   2384 fi
   2385 
   2386 
   2387 fi
   2388 if test -z "$ac_cv_prog_STRIP"; then
   2389   ac_ct_STRIP=$STRIP
   2390   # Extract the first word of "strip", so it can be a program name with args.
   2391 set dummy strip; ac_word=$2
   2392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2394 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2395   echo $ECHO_N "(cached) $ECHO_C" >&6
   2396 else
   2397   if test -n "$ac_ct_STRIP"; then
   2398   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2399 else
   2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2401 for as_dir in $PATH
   2402 do
   2403   IFS=$as_save_IFS
   2404   test -z "$as_dir" && as_dir=.
   2405   for ac_exec_ext in '' $ac_executable_extensions; do
   2406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2407     ac_cv_prog_ac_ct_STRIP="strip"
   2408     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2409     break 2
   2410   fi
   2411 done
   2412 done
   2413 IFS=$as_save_IFS
   2414 
   2415 fi
   2416 fi
   2417 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2418 if test -n "$ac_ct_STRIP"; then
   2419   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2420 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2421 else
   2422   { echo "$as_me:$LINENO: result: no" >&5
   2423 echo "${ECHO_T}no" >&6; }
   2424 fi
   2425 
   2426   if test "x$ac_ct_STRIP" = x; then
   2427     STRIP=":"
   2428   else
   2429     case $cross_compiling:$ac_tool_warned in
   2430 yes:)
   2431 { echo "$as_me:$LINENO: 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." >&5
   2434 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2435 whose name does not start with the host triplet.  If you think this
   2436 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2437 ac_tool_warned=yes ;;
   2438 esac
   2439     STRIP=$ac_ct_STRIP
   2440   fi
   2441 else
   2442   STRIP="$ac_cv_prog_STRIP"
   2443 fi
   2444 
   2445 fi
   2446 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2447 
   2448 # We need awk for the "check" target.  The system "awk" is bad on
   2449 # some platforms.
   2450 # Always define AMTAR for backward compatibility.
   2451 
   2452 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2453 
   2454 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2455 
   2456 
   2457 
   2458 
   2459 
   2460 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2461 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2462     # Check whether --enable-maintainer-mode was given.
   2463 if test "${enable_maintainer_mode+set}" = set; then
   2464   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2465 else
   2466   USE_MAINTAINER_MODE=no
   2467 fi
   2468 
   2469   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2470 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2471    if test $USE_MAINTAINER_MODE = yes; then
   2472   MAINTAINER_MODE_TRUE=
   2473   MAINTAINER_MODE_FALSE='#'
   2474 else
   2475   MAINTAINER_MODE_TRUE='#'
   2476   MAINTAINER_MODE_FALSE=
   2477 fi
   2478 
   2479   MAINT=$MAINTAINER_MODE_TRUE
   2480 
   2481 
   2482 
   2483 # Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG, XORG_WITH_LINT
   2484 
   2485 
   2486 
   2487 
   2488 
   2489 
   2490 
   2491 
   2492 
   2493 
   2494 
   2495 ac_config_headers="$ac_config_headers config.h"
   2496 
   2497 
   2498 # Check for progs
   2499 ac_ext=c
   2500 ac_cpp='$CPP $CPPFLAGS'
   2501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2504 if test -n "$ac_tool_prefix"; then
   2505   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2506 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2509 if test "${ac_cv_prog_CC+set}" = set; then
   2510   echo $ECHO_N "(cached) $ECHO_C" >&6
   2511 else
   2512   if test -n "$CC"; then
   2513   ac_cv_prog_CC="$CC" # Let the user override the test.
   2514 else
   2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2516 for as_dir in $PATH
   2517 do
   2518   IFS=$as_save_IFS
   2519   test -z "$as_dir" && as_dir=.
   2520   for ac_exec_ext in '' $ac_executable_extensions; do
   2521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2522     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2523     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2524     break 2
   2525   fi
   2526 done
   2527 done
   2528 IFS=$as_save_IFS
   2529 
   2530 fi
   2531 fi
   2532 CC=$ac_cv_prog_CC
   2533 if test -n "$CC"; then
   2534   { echo "$as_me:$LINENO: result: $CC" >&5
   2535 echo "${ECHO_T}$CC" >&6; }
   2536 else
   2537   { echo "$as_me:$LINENO: result: no" >&5
   2538 echo "${ECHO_T}no" >&6; }
   2539 fi
   2540 
   2541 
   2542 fi
   2543 if test -z "$ac_cv_prog_CC"; then
   2544   ac_ct_CC=$CC
   2545   # Extract the first word of "gcc", so it can be a program name with args.
   2546 set dummy gcc; ac_word=$2
   2547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2550   echo $ECHO_N "(cached) $ECHO_C" >&6
   2551 else
   2552   if test -n "$ac_ct_CC"; then
   2553   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2554 else
   2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2556 for as_dir in $PATH
   2557 do
   2558   IFS=$as_save_IFS
   2559   test -z "$as_dir" && as_dir=.
   2560   for ac_exec_ext in '' $ac_executable_extensions; do
   2561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2562     ac_cv_prog_ac_ct_CC="gcc"
   2563     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2564     break 2
   2565   fi
   2566 done
   2567 done
   2568 IFS=$as_save_IFS
   2569 
   2570 fi
   2571 fi
   2572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2573 if test -n "$ac_ct_CC"; then
   2574   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2575 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2576 else
   2577   { echo "$as_me:$LINENO: result: no" >&5
   2578 echo "${ECHO_T}no" >&6; }
   2579 fi
   2580 
   2581   if test "x$ac_ct_CC" = x; then
   2582     CC=""
   2583   else
   2584     case $cross_compiling:$ac_tool_warned in
   2585 yes:)
   2586 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2587 whose name does not start with the host triplet.  If you think this
   2588 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2589 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2590 whose name does not start with the host triplet.  If you think this
   2591 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2592 ac_tool_warned=yes ;;
   2593 esac
   2594     CC=$ac_ct_CC
   2595   fi
   2596 else
   2597   CC="$ac_cv_prog_CC"
   2598 fi
   2599 
   2600 if test -z "$CC"; then
   2601           if test -n "$ac_tool_prefix"; then
   2602     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2603 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2606 if test "${ac_cv_prog_CC+set}" = set; then
   2607   echo $ECHO_N "(cached) $ECHO_C" >&6
   2608 else
   2609   if test -n "$CC"; then
   2610   ac_cv_prog_CC="$CC" # Let the user override the test.
   2611 else
   2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2613 for as_dir in $PATH
   2614 do
   2615   IFS=$as_save_IFS
   2616   test -z "$as_dir" && as_dir=.
   2617   for ac_exec_ext in '' $ac_executable_extensions; do
   2618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2619     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2620     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2621     break 2
   2622   fi
   2623 done
   2624 done
   2625 IFS=$as_save_IFS
   2626 
   2627 fi
   2628 fi
   2629 CC=$ac_cv_prog_CC
   2630 if test -n "$CC"; then
   2631   { echo "$as_me:$LINENO: result: $CC" >&5
   2632 echo "${ECHO_T}$CC" >&6; }
   2633 else
   2634   { echo "$as_me:$LINENO: result: no" >&5
   2635 echo "${ECHO_T}no" >&6; }
   2636 fi
   2637 
   2638 
   2639   fi
   2640 fi
   2641 if test -z "$CC"; then
   2642   # Extract the first word of "cc", so it can be a program name with args.
   2643 set dummy cc; ac_word=$2
   2644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2646 if test "${ac_cv_prog_CC+set}" = set; then
   2647   echo $ECHO_N "(cached) $ECHO_C" >&6
   2648 else
   2649   if test -n "$CC"; then
   2650   ac_cv_prog_CC="$CC" # Let the user override the test.
   2651 else
   2652   ac_prog_rejected=no
   2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2654 for as_dir in $PATH
   2655 do
   2656   IFS=$as_save_IFS
   2657   test -z "$as_dir" && as_dir=.
   2658   for ac_exec_ext in '' $ac_executable_extensions; do
   2659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2660     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2661        ac_prog_rejected=yes
   2662        continue
   2663      fi
   2664     ac_cv_prog_CC="cc"
   2665     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2666     break 2
   2667   fi
   2668 done
   2669 done
   2670 IFS=$as_save_IFS
   2671 
   2672 if test $ac_prog_rejected = yes; then
   2673   # We found a bogon in the path, so make sure we never use it.
   2674   set dummy $ac_cv_prog_CC
   2675   shift
   2676   if test $# != 0; then
   2677     # We chose a different compiler from the bogus one.
   2678     # However, it has the same basename, so the bogon will be chosen
   2679     # first if we set CC to just the basename; use the full file name.
   2680     shift
   2681     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2682   fi
   2683 fi
   2684 fi
   2685 fi
   2686 CC=$ac_cv_prog_CC
   2687 if test -n "$CC"; then
   2688   { echo "$as_me:$LINENO: result: $CC" >&5
   2689 echo "${ECHO_T}$CC" >&6; }
   2690 else
   2691   { echo "$as_me:$LINENO: result: no" >&5
   2692 echo "${ECHO_T}no" >&6; }
   2693 fi
   2694 
   2695 
   2696 fi
   2697 if test -z "$CC"; then
   2698   if test -n "$ac_tool_prefix"; then
   2699   for ac_prog in cl.exe
   2700   do
   2701     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2702 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2705 if test "${ac_cv_prog_CC+set}" = set; then
   2706   echo $ECHO_N "(cached) $ECHO_C" >&6
   2707 else
   2708   if test -n "$CC"; then
   2709   ac_cv_prog_CC="$CC" # Let the user override the test.
   2710 else
   2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2712 for as_dir in $PATH
   2713 do
   2714   IFS=$as_save_IFS
   2715   test -z "$as_dir" && as_dir=.
   2716   for ac_exec_ext in '' $ac_executable_extensions; do
   2717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2718     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2719     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2720     break 2
   2721   fi
   2722 done
   2723 done
   2724 IFS=$as_save_IFS
   2725 
   2726 fi
   2727 fi
   2728 CC=$ac_cv_prog_CC
   2729 if test -n "$CC"; then
   2730   { echo "$as_me:$LINENO: result: $CC" >&5
   2731 echo "${ECHO_T}$CC" >&6; }
   2732 else
   2733   { echo "$as_me:$LINENO: result: no" >&5
   2734 echo "${ECHO_T}no" >&6; }
   2735 fi
   2736 
   2737 
   2738     test -n "$CC" && break
   2739   done
   2740 fi
   2741 if test -z "$CC"; then
   2742   ac_ct_CC=$CC
   2743   for ac_prog in cl.exe
   2744 do
   2745   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2746 set dummy $ac_prog; ac_word=$2
   2747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2749 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2750   echo $ECHO_N "(cached) $ECHO_C" >&6
   2751 else
   2752   if test -n "$ac_ct_CC"; then
   2753   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2754 else
   2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2756 for as_dir in $PATH
   2757 do
   2758   IFS=$as_save_IFS
   2759   test -z "$as_dir" && as_dir=.
   2760   for ac_exec_ext in '' $ac_executable_extensions; do
   2761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2762     ac_cv_prog_ac_ct_CC="$ac_prog"
   2763     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2764     break 2
   2765   fi
   2766 done
   2767 done
   2768 IFS=$as_save_IFS
   2769 
   2770 fi
   2771 fi
   2772 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2773 if test -n "$ac_ct_CC"; then
   2774   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2775 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2776 else
   2777   { echo "$as_me:$LINENO: result: no" >&5
   2778 echo "${ECHO_T}no" >&6; }
   2779 fi
   2780 
   2781 
   2782   test -n "$ac_ct_CC" && break
   2783 done
   2784 
   2785   if test "x$ac_ct_CC" = x; then
   2786     CC=""
   2787   else
   2788     case $cross_compiling:$ac_tool_warned in
   2789 yes:)
   2790 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2791 whose name does not start with the host triplet.  If you think this
   2792 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2793 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2794 whose name does not start with the host triplet.  If you think this
   2795 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2796 ac_tool_warned=yes ;;
   2797 esac
   2798     CC=$ac_ct_CC
   2799   fi
   2800 fi
   2801 
   2802 fi
   2803 
   2804 
   2805 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2806 See \`config.log' for more details." >&5
   2807 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2808 See \`config.log' for more details." >&2;}
   2809    { (exit 1); exit 1; }; }
   2810 
   2811 # Provide some information about the compiler.
   2812 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2813 ac_compiler=`set X $ac_compile; echo $2`
   2814 { (ac_try="$ac_compiler --version >&5"
   2815 case "(($ac_try" in
   2816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2817   *) ac_try_echo=$ac_try;;
   2818 esac
   2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2820   (eval "$ac_compiler --version >&5") 2>&5
   2821   ac_status=$?
   2822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2823   (exit $ac_status); }
   2824 { (ac_try="$ac_compiler -v >&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 -v >&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 
   2845 cat >conftest.$ac_ext <<_ACEOF
   2846 /* confdefs.h.  */
   2847 _ACEOF
   2848 cat confdefs.h >>conftest.$ac_ext
   2849 cat >>conftest.$ac_ext <<_ACEOF
   2850 /* end confdefs.h.  */
   2851 
   2852 int
   2853 main ()
   2854 {
   2855 
   2856   ;
   2857   return 0;
   2858 }
   2859 _ACEOF
   2860 ac_clean_files_save=$ac_clean_files
   2861 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2862 # Try to create an executable without -o first, disregard a.out.
   2863 # It will help us diagnose broken compilers, and finding out an intuition
   2864 # of exeext.
   2865 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2867 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2868 #
   2869 # List of possible output files, starting from the most likely.
   2870 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2871 # only as a last resort.  b.out is created by i960 compilers.
   2872 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2873 #
   2874 # The IRIX 6 linker writes into existing files which may not be
   2875 # executable, retaining their permissions.  Remove them first so a
   2876 # subsequent execution test works.
   2877 ac_rmfiles=
   2878 for ac_file in $ac_files
   2879 do
   2880   case $ac_file in
   2881     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2882     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2883   esac
   2884 done
   2885 rm -f $ac_rmfiles
   2886 
   2887 if { (ac_try="$ac_link_default"
   2888 case "(($ac_try" in
   2889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2890   *) ac_try_echo=$ac_try;;
   2891 esac
   2892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2893   (eval "$ac_link_default") 2>&5
   2894   ac_status=$?
   2895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2896   (exit $ac_status); }; then
   2897   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2898 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2899 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2900 # so that the user can short-circuit this test for compilers unknown to
   2901 # Autoconf.
   2902 for ac_file in $ac_files ''
   2903 do
   2904   test -f "$ac_file" || continue
   2905   case $ac_file in
   2906     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2907 	;;
   2908     [ab].out )
   2909 	# We found the default executable, but exeext='' is most
   2910 	# certainly right.
   2911 	break;;
   2912     *.* )
   2913         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2914 	then :; else
   2915 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2916 	fi
   2917 	# We set ac_cv_exeext here because the later test for it is not
   2918 	# safe: cross compilers may not add the suffix if given an `-o'
   2919 	# argument, so we may need to know it at that point already.
   2920 	# Even if this section looks crufty: it has the advantage of
   2921 	# actually working.
   2922 	break;;
   2923     * )
   2924 	break;;
   2925   esac
   2926 done
   2927 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2928 
   2929 else
   2930   ac_file=''
   2931 fi
   2932 
   2933 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2934 echo "${ECHO_T}$ac_file" >&6; }
   2935 if test -z "$ac_file"; then
   2936   echo "$as_me: failed program was:" >&5
   2937 sed 's/^/| /' conftest.$ac_ext >&5
   2938 
   2939 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2940 See \`config.log' for more details." >&5
   2941 echo "$as_me: error: C compiler cannot create executables
   2942 See \`config.log' for more details." >&2;}
   2943    { (exit 77); exit 77; }; }
   2944 fi
   2945 
   2946 ac_exeext=$ac_cv_exeext
   2947 
   2948 # Check that the compiler produces executables we can run.  If not, either
   2949 # the compiler is broken, or we cross compile.
   2950 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2951 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2952 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2953 # If not cross compiling, check that we can run a simple program.
   2954 if test "$cross_compiling" != yes; then
   2955   if { ac_try='./$ac_file'
   2956   { (case "(($ac_try" in
   2957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2958   *) ac_try_echo=$ac_try;;
   2959 esac
   2960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2961   (eval "$ac_try") 2>&5
   2962   ac_status=$?
   2963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2964   (exit $ac_status); }; }; then
   2965     cross_compiling=no
   2966   else
   2967     if test "$cross_compiling" = maybe; then
   2968 	cross_compiling=yes
   2969     else
   2970 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2971 If you meant to cross compile, use \`--host'.
   2972 See \`config.log' for more details." >&5
   2973 echo "$as_me: error: cannot run C compiled programs.
   2974 If you meant to cross compile, use \`--host'.
   2975 See \`config.log' for more details." >&2;}
   2976    { (exit 1); exit 1; }; }
   2977     fi
   2978   fi
   2979 fi
   2980 { echo "$as_me:$LINENO: result: yes" >&5
   2981 echo "${ECHO_T}yes" >&6; }
   2982 
   2983 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2984 ac_clean_files=$ac_clean_files_save
   2985 # Check that the compiler produces executables we can run.  If not, either
   2986 # the compiler is broken, or we cross compile.
   2987 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2988 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2989 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2990 echo "${ECHO_T}$cross_compiling" >&6; }
   2991 
   2992 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2993 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2994 if { (ac_try="$ac_link"
   2995 case "(($ac_try" in
   2996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2997   *) ac_try_echo=$ac_try;;
   2998 esac
   2999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3000   (eval "$ac_link") 2>&5
   3001   ac_status=$?
   3002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3003   (exit $ac_status); }; then
   3004   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3005 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3006 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3007 # `rm'.
   3008 for ac_file in conftest.exe conftest conftest.*; do
   3009   test -f "$ac_file" || continue
   3010   case $ac_file in
   3011     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3012     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3013 	  break;;
   3014     * ) break;;
   3015   esac
   3016 done
   3017 else
   3018   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3019 See \`config.log' for more details." >&5
   3020 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3021 See \`config.log' for more details." >&2;}
   3022    { (exit 1); exit 1; }; }
   3023 fi
   3024 
   3025 rm -f conftest$ac_cv_exeext
   3026 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3027 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3028 
   3029 rm -f conftest.$ac_ext
   3030 EXEEXT=$ac_cv_exeext
   3031 ac_exeext=$EXEEXT
   3032 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3033 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3034 if test "${ac_cv_objext+set}" = set; then
   3035   echo $ECHO_N "(cached) $ECHO_C" >&6
   3036 else
   3037   cat >conftest.$ac_ext <<_ACEOF
   3038 /* confdefs.h.  */
   3039 _ACEOF
   3040 cat confdefs.h >>conftest.$ac_ext
   3041 cat >>conftest.$ac_ext <<_ACEOF
   3042 /* end confdefs.h.  */
   3043 
   3044 int
   3045 main ()
   3046 {
   3047 
   3048   ;
   3049   return 0;
   3050 }
   3051 _ACEOF
   3052 rm -f conftest.o conftest.obj
   3053 if { (ac_try="$ac_compile"
   3054 case "(($ac_try" in
   3055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3056   *) ac_try_echo=$ac_try;;
   3057 esac
   3058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3059   (eval "$ac_compile") 2>&5
   3060   ac_status=$?
   3061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3062   (exit $ac_status); }; then
   3063   for ac_file in conftest.o conftest.obj conftest.*; do
   3064   test -f "$ac_file" || continue;
   3065   case $ac_file in
   3066     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3067     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3068        break;;
   3069   esac
   3070 done
   3071 else
   3072   echo "$as_me: failed program was:" >&5
   3073 sed 's/^/| /' conftest.$ac_ext >&5
   3074 
   3075 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3076 See \`config.log' for more details." >&5
   3077 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3078 See \`config.log' for more details." >&2;}
   3079    { (exit 1); exit 1; }; }
   3080 fi
   3081 
   3082 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3083 fi
   3084 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3085 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3086 OBJEXT=$ac_cv_objext
   3087 ac_objext=$OBJEXT
   3088 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3089 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3090 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3091   echo $ECHO_N "(cached) $ECHO_C" >&6
   3092 else
   3093   cat >conftest.$ac_ext <<_ACEOF
   3094 /* confdefs.h.  */
   3095 _ACEOF
   3096 cat confdefs.h >>conftest.$ac_ext
   3097 cat >>conftest.$ac_ext <<_ACEOF
   3098 /* end confdefs.h.  */
   3099 
   3100 int
   3101 main ()
   3102 {
   3103 #ifndef __GNUC__
   3104        choke me
   3105 #endif
   3106 
   3107   ;
   3108   return 0;
   3109 }
   3110 _ACEOF
   3111 rm -f conftest.$ac_objext
   3112 if { (ac_try="$ac_compile"
   3113 case "(($ac_try" in
   3114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3115   *) ac_try_echo=$ac_try;;
   3116 esac
   3117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3118   (eval "$ac_compile") 2>conftest.er1
   3119   ac_status=$?
   3120   grep -v '^ *+' conftest.er1 >conftest.err
   3121   rm -f conftest.er1
   3122   cat conftest.err >&5
   3123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3124   (exit $ac_status); } && {
   3125 	 test -z "$ac_c_werror_flag" ||
   3126 	 test ! -s conftest.err
   3127        } && test -s conftest.$ac_objext; then
   3128   ac_compiler_gnu=yes
   3129 else
   3130   echo "$as_me: failed program was:" >&5
   3131 sed 's/^/| /' conftest.$ac_ext >&5
   3132 
   3133 	ac_compiler_gnu=no
   3134 fi
   3135 
   3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3137 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3138 
   3139 fi
   3140 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3141 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3142 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3143 ac_test_CFLAGS=${CFLAGS+set}
   3144 ac_save_CFLAGS=$CFLAGS
   3145 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3146 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3147 if test "${ac_cv_prog_cc_g+set}" = set; then
   3148   echo $ECHO_N "(cached) $ECHO_C" >&6
   3149 else
   3150   ac_save_c_werror_flag=$ac_c_werror_flag
   3151    ac_c_werror_flag=yes
   3152    ac_cv_prog_cc_g=no
   3153    CFLAGS="-g"
   3154    cat >conftest.$ac_ext <<_ACEOF
   3155 /* confdefs.h.  */
   3156 _ACEOF
   3157 cat confdefs.h >>conftest.$ac_ext
   3158 cat >>conftest.$ac_ext <<_ACEOF
   3159 /* end confdefs.h.  */
   3160 
   3161 int
   3162 main ()
   3163 {
   3164 
   3165   ;
   3166   return 0;
   3167 }
   3168 _ACEOF
   3169 rm -f conftest.$ac_objext
   3170 if { (ac_try="$ac_compile"
   3171 case "(($ac_try" in
   3172   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3173   *) ac_try_echo=$ac_try;;
   3174 esac
   3175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3176   (eval "$ac_compile") 2>conftest.er1
   3177   ac_status=$?
   3178   grep -v '^ *+' conftest.er1 >conftest.err
   3179   rm -f conftest.er1
   3180   cat conftest.err >&5
   3181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3182   (exit $ac_status); } && {
   3183 	 test -z "$ac_c_werror_flag" ||
   3184 	 test ! -s conftest.err
   3185        } && test -s conftest.$ac_objext; then
   3186   ac_cv_prog_cc_g=yes
   3187 else
   3188   echo "$as_me: failed program was:" >&5
   3189 sed 's/^/| /' conftest.$ac_ext >&5
   3190 
   3191 	CFLAGS=""
   3192       cat >conftest.$ac_ext <<_ACEOF
   3193 /* confdefs.h.  */
   3194 _ACEOF
   3195 cat confdefs.h >>conftest.$ac_ext
   3196 cat >>conftest.$ac_ext <<_ACEOF
   3197 /* end confdefs.h.  */
   3198 
   3199 int
   3200 main ()
   3201 {
   3202 
   3203   ;
   3204   return 0;
   3205 }
   3206 _ACEOF
   3207 rm -f conftest.$ac_objext
   3208 if { (ac_try="$ac_compile"
   3209 case "(($ac_try" in
   3210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3211   *) ac_try_echo=$ac_try;;
   3212 esac
   3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3214   (eval "$ac_compile") 2>conftest.er1
   3215   ac_status=$?
   3216   grep -v '^ *+' conftest.er1 >conftest.err
   3217   rm -f conftest.er1
   3218   cat conftest.err >&5
   3219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3220   (exit $ac_status); } && {
   3221 	 test -z "$ac_c_werror_flag" ||
   3222 	 test ! -s conftest.err
   3223        } && test -s conftest.$ac_objext; then
   3224   :
   3225 else
   3226   echo "$as_me: failed program was:" >&5
   3227 sed 's/^/| /' conftest.$ac_ext >&5
   3228 
   3229 	ac_c_werror_flag=$ac_save_c_werror_flag
   3230 	 CFLAGS="-g"
   3231 	 cat >conftest.$ac_ext <<_ACEOF
   3232 /* confdefs.h.  */
   3233 _ACEOF
   3234 cat confdefs.h >>conftest.$ac_ext
   3235 cat >>conftest.$ac_ext <<_ACEOF
   3236 /* end confdefs.h.  */
   3237 
   3238 int
   3239 main ()
   3240 {
   3241 
   3242   ;
   3243   return 0;
   3244 }
   3245 _ACEOF
   3246 rm -f conftest.$ac_objext
   3247 if { (ac_try="$ac_compile"
   3248 case "(($ac_try" in
   3249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3250   *) ac_try_echo=$ac_try;;
   3251 esac
   3252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3253   (eval "$ac_compile") 2>conftest.er1
   3254   ac_status=$?
   3255   grep -v '^ *+' conftest.er1 >conftest.err
   3256   rm -f conftest.er1
   3257   cat conftest.err >&5
   3258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3259   (exit $ac_status); } && {
   3260 	 test -z "$ac_c_werror_flag" ||
   3261 	 test ! -s conftest.err
   3262        } && test -s conftest.$ac_objext; then
   3263   ac_cv_prog_cc_g=yes
   3264 else
   3265   echo "$as_me: failed program was:" >&5
   3266 sed 's/^/| /' conftest.$ac_ext >&5
   3267 
   3268 
   3269 fi
   3270 
   3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3272 fi
   3273 
   3274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3275 fi
   3276 
   3277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3278    ac_c_werror_flag=$ac_save_c_werror_flag
   3279 fi
   3280 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3281 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3282 if test "$ac_test_CFLAGS" = set; then
   3283   CFLAGS=$ac_save_CFLAGS
   3284 elif test $ac_cv_prog_cc_g = yes; then
   3285   if test "$GCC" = yes; then
   3286     CFLAGS="-g -O2"
   3287   else
   3288     CFLAGS="-g"
   3289   fi
   3290 else
   3291   if test "$GCC" = yes; then
   3292     CFLAGS="-O2"
   3293   else
   3294     CFLAGS=
   3295   fi
   3296 fi
   3297 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3298 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3299 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3300   echo $ECHO_N "(cached) $ECHO_C" >&6
   3301 else
   3302   ac_cv_prog_cc_c89=no
   3303 ac_save_CC=$CC
   3304 cat >conftest.$ac_ext <<_ACEOF
   3305 /* confdefs.h.  */
   3306 _ACEOF
   3307 cat confdefs.h >>conftest.$ac_ext
   3308 cat >>conftest.$ac_ext <<_ACEOF
   3309 /* end confdefs.h.  */
   3310 #include <stdarg.h>
   3311 #include <stdio.h>
   3312 #include <sys/types.h>
   3313 #include <sys/stat.h>
   3314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3315 struct buf { int x; };
   3316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3317 static char *e (p, i)
   3318      char **p;
   3319      int i;
   3320 {
   3321   return p[i];
   3322 }
   3323 static char *f (char * (*g) (char **, int), char **p, ...)
   3324 {
   3325   char *s;
   3326   va_list v;
   3327   va_start (v,p);
   3328   s = g (p, va_arg (v,int));
   3329   va_end (v);
   3330   return s;
   3331 }
   3332 
   3333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3334    function prototypes and stuff, but not '\xHH' hex character constants.
   3335    These don't provoke an error unfortunately, instead are silently treated
   3336    as 'x'.  The following induces an error, until -std is added to get
   3337    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3338    array size at least.  It's necessary to write '\x00'==0 to get something
   3339    that's true only with -std.  */
   3340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3341 
   3342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3343    inside strings and character constants.  */
   3344 #define FOO(x) 'x'
   3345 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3346 
   3347 int test (int i, double x);
   3348 struct s1 {int (*f) (int a);};
   3349 struct s2 {int (*f) (double a);};
   3350 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3351 int argc;
   3352 char **argv;
   3353 int
   3354 main ()
   3355 {
   3356 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3357   ;
   3358   return 0;
   3359 }
   3360 _ACEOF
   3361 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3362 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3363 do
   3364   CC="$ac_save_CC $ac_arg"
   3365   rm -f conftest.$ac_objext
   3366 if { (ac_try="$ac_compile"
   3367 case "(($ac_try" in
   3368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3369   *) ac_try_echo=$ac_try;;
   3370 esac
   3371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3372   (eval "$ac_compile") 2>conftest.er1
   3373   ac_status=$?
   3374   grep -v '^ *+' conftest.er1 >conftest.err
   3375   rm -f conftest.er1
   3376   cat conftest.err >&5
   3377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3378   (exit $ac_status); } && {
   3379 	 test -z "$ac_c_werror_flag" ||
   3380 	 test ! -s conftest.err
   3381        } && test -s conftest.$ac_objext; then
   3382   ac_cv_prog_cc_c89=$ac_arg
   3383 else
   3384   echo "$as_me: failed program was:" >&5
   3385 sed 's/^/| /' conftest.$ac_ext >&5
   3386 
   3387 
   3388 fi
   3389 
   3390 rm -f core conftest.err conftest.$ac_objext
   3391   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3392 done
   3393 rm -f conftest.$ac_ext
   3394 CC=$ac_save_CC
   3395 
   3396 fi
   3397 # AC_CACHE_VAL
   3398 case "x$ac_cv_prog_cc_c89" in
   3399   x)
   3400     { echo "$as_me:$LINENO: result: none needed" >&5
   3401 echo "${ECHO_T}none needed" >&6; } ;;
   3402   xno)
   3403     { echo "$as_me:$LINENO: result: unsupported" >&5
   3404 echo "${ECHO_T}unsupported" >&6; } ;;
   3405   *)
   3406     CC="$CC $ac_cv_prog_cc_c89"
   3407     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3408 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3409 esac
   3410 
   3411 
   3412 ac_ext=c
   3413 ac_cpp='$CPP $CPPFLAGS'
   3414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3417 DEPDIR="${am__leading_dot}deps"
   3418 
   3419 ac_config_commands="$ac_config_commands depfiles"
   3420 
   3421 
   3422 am_make=${MAKE-make}
   3423 cat > confinc << 'END'
   3424 am__doit:
   3425 	@echo done
   3426 .PHONY: am__doit
   3427 END
   3428 # If we don't find an include directive, just comment out the code.
   3429 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3430 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3431 am__include="#"
   3432 am__quote=
   3433 _am_result=none
   3434 # First try GNU make style include.
   3435 echo "include confinc" > confmf
   3436 # We grep out `Entering directory' and `Leaving directory'
   3437 # messages which can occur if `w' ends up in MAKEFLAGS.
   3438 # In particular we don't look at `^make:' because GNU make might
   3439 # be invoked under some other name (usually "gmake"), in which
   3440 # case it prints its new name instead of `make'.
   3441 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3442    am__include=include
   3443    am__quote=
   3444    _am_result=GNU
   3445 fi
   3446 # Now try BSD make style include.
   3447 if test "$am__include" = "#"; then
   3448    echo '.include "confinc"' > confmf
   3449    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3450       am__include=.include
   3451       am__quote="\""
   3452       _am_result=BSD
   3453    fi
   3454 fi
   3455 
   3456 
   3457 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3458 echo "${ECHO_T}$_am_result" >&6; }
   3459 rm -f confinc confmf
   3460 
   3461 # Check whether --enable-dependency-tracking was given.
   3462 if test "${enable_dependency_tracking+set}" = set; then
   3463   enableval=$enable_dependency_tracking;
   3464 fi
   3465 
   3466 if test "x$enable_dependency_tracking" != xno; then
   3467   am_depcomp="$ac_aux_dir/depcomp"
   3468   AMDEPBACKSLASH='\'
   3469 fi
   3470  if test "x$enable_dependency_tracking" != xno; then
   3471   AMDEP_TRUE=
   3472   AMDEP_FALSE='#'
   3473 else
   3474   AMDEP_TRUE='#'
   3475   AMDEP_FALSE=
   3476 fi
   3477 
   3478 
   3479 
   3480 depcc="$CC"   am_compiler_list=
   3481 
   3482 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3483 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3484 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3485   echo $ECHO_N "(cached) $ECHO_C" >&6
   3486 else
   3487   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3488   # We make a subdir and do the tests there.  Otherwise we can end up
   3489   # making bogus files that we don't know about and never remove.  For
   3490   # instance it was reported that on HP-UX the gcc test will end up
   3491   # making a dummy file named `D' -- because `-MD' means `put the output
   3492   # in D'.
   3493   mkdir conftest.dir
   3494   # Copy depcomp to subdir because otherwise we won't find it if we're
   3495   # using a relative directory.
   3496   cp "$am_depcomp" conftest.dir
   3497   cd conftest.dir
   3498   # We will build objects and dependencies in a subdirectory because
   3499   # it helps to detect inapplicable dependency modes.  For instance
   3500   # both Tru64's cc and ICC support -MD to output dependencies as a
   3501   # side effect of compilation, but ICC will put the dependencies in
   3502   # the current directory while Tru64 will put them in the object
   3503   # directory.
   3504   mkdir sub
   3505 
   3506   am_cv_CC_dependencies_compiler_type=none
   3507   if test "$am_compiler_list" = ""; then
   3508      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3509   fi
   3510   for depmode in $am_compiler_list; do
   3511     # Setup a source with many dependencies, because some compilers
   3512     # like to wrap large dependency lists on column 80 (with \), and
   3513     # we should not choose a depcomp mode which is confused by this.
   3514     #
   3515     # We need to recreate these files for each test, as the compiler may
   3516     # overwrite some of them when testing with obscure command lines.
   3517     # This happens at least with the AIX C compiler.
   3518     : > sub/conftest.c
   3519     for i in 1 2 3 4 5 6; do
   3520       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3521       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3522       # Solaris 8's {/usr,}/bin/sh.
   3523       touch sub/conftst$i.h
   3524     done
   3525     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3526 
   3527     case $depmode in
   3528     nosideeffect)
   3529       # after this tag, mechanisms are not by side-effect, so they'll
   3530       # only be used when explicitly requested
   3531       if test "x$enable_dependency_tracking" = xyes; then
   3532 	continue
   3533       else
   3534 	break
   3535       fi
   3536       ;;
   3537     none) break ;;
   3538     esac
   3539     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3540     # mode.  It turns out that the SunPro C++ compiler does not properly
   3541     # handle `-M -o', and we need to detect this.
   3542     if depmode=$depmode \
   3543        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3544        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3545        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3546          >/dev/null 2>conftest.err &&
   3547        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3548        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3549        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3550        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3551       # icc doesn't choke on unknown options, it will just issue warnings
   3552       # or remarks (even with -Werror).  So we grep stderr for any message
   3553       # that says an option was ignored or not supported.
   3554       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3555       #   icc: Command line warning: ignoring option '-M'; no argument required
   3556       # The diagnosis changed in icc 8.0:
   3557       #   icc: Command line remark: option '-MP' not supported
   3558       if (grep 'ignoring option' conftest.err ||
   3559           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3560         am_cv_CC_dependencies_compiler_type=$depmode
   3561         break
   3562       fi
   3563     fi
   3564   done
   3565 
   3566   cd ..
   3567   rm -rf conftest.dir
   3568 else
   3569   am_cv_CC_dependencies_compiler_type=none
   3570 fi
   3571 
   3572 fi
   3573 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3574 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3575 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3576 
   3577  if
   3578   test "x$enable_dependency_tracking" != xno \
   3579   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3580   am__fastdepCC_TRUE=
   3581   am__fastdepCC_FALSE='#'
   3582 else
   3583   am__fastdepCC_TRUE='#'
   3584   am__fastdepCC_FALSE=
   3585 fi
   3586 
   3587 
   3588 # Check whether --enable-shared was given.
   3589 if test "${enable_shared+set}" = set; then
   3590   enableval=$enable_shared; p=${PACKAGE-default}
   3591     case $enableval in
   3592     yes) enable_shared=yes ;;
   3593     no) enable_shared=no ;;
   3594     *)
   3595       enable_shared=no
   3596       # Look at the argument we got.  We use all the common list separators.
   3597       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3598       for pkg in $enableval; do
   3599 	IFS="$lt_save_ifs"
   3600 	if test "X$pkg" = "X$p"; then
   3601 	  enable_shared=yes
   3602 	fi
   3603       done
   3604       IFS="$lt_save_ifs"
   3605       ;;
   3606     esac
   3607 else
   3608   enable_shared=yes
   3609 fi
   3610 
   3611 
   3612 # Check whether --enable-static was given.
   3613 if test "${enable_static+set}" = set; then
   3614   enableval=$enable_static; p=${PACKAGE-default}
   3615     case $enableval in
   3616     yes) enable_static=yes ;;
   3617     no) enable_static=no ;;
   3618     *)
   3619      enable_static=no
   3620       # Look at the argument we got.  We use all the common list separators.
   3621       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3622       for pkg in $enableval; do
   3623 	IFS="$lt_save_ifs"
   3624 	if test "X$pkg" = "X$p"; then
   3625 	  enable_static=yes
   3626 	fi
   3627       done
   3628       IFS="$lt_save_ifs"
   3629       ;;
   3630     esac
   3631 else
   3632   enable_static=yes
   3633 fi
   3634 
   3635 
   3636 # Check whether --enable-fast-install was given.
   3637 if test "${enable_fast_install+set}" = set; then
   3638   enableval=$enable_fast_install; p=${PACKAGE-default}
   3639     case $enableval in
   3640     yes) enable_fast_install=yes ;;
   3641     no) enable_fast_install=no ;;
   3642     *)
   3643       enable_fast_install=no
   3644       # Look at the argument we got.  We use all the common list separators.
   3645       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3646       for pkg in $enableval; do
   3647 	IFS="$lt_save_ifs"
   3648 	if test "X$pkg" = "X$p"; then
   3649 	  enable_fast_install=yes
   3650 	fi
   3651       done
   3652       IFS="$lt_save_ifs"
   3653       ;;
   3654     esac
   3655 else
   3656   enable_fast_install=yes
   3657 fi
   3658 
   3659 
   3660 # Make sure we can run config.sub.
   3661 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3662   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3663 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3664    { (exit 1); exit 1; }; }
   3665 
   3666 { echo "$as_me:$LINENO: checking build system type" >&5
   3667 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3668 if test "${ac_cv_build+set}" = set; then
   3669   echo $ECHO_N "(cached) $ECHO_C" >&6
   3670 else
   3671   ac_build_alias=$build_alias
   3672 test "x$ac_build_alias" = x &&
   3673   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3674 test "x$ac_build_alias" = x &&
   3675   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3676 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3677    { (exit 1); exit 1; }; }
   3678 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3679   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3680 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3681    { (exit 1); exit 1; }; }
   3682 
   3683 fi
   3684 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3685 echo "${ECHO_T}$ac_cv_build" >&6; }
   3686 case $ac_cv_build in
   3687 *-*-*) ;;
   3688 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3689 echo "$as_me: error: invalid value of canonical build" >&2;}
   3690    { (exit 1); exit 1; }; };;
   3691 esac
   3692 build=$ac_cv_build
   3693 ac_save_IFS=$IFS; IFS='-'
   3694 set x $ac_cv_build
   3695 shift
   3696 build_cpu=$1
   3697 build_vendor=$2
   3698 shift; shift
   3699 # Remember, the first character of IFS is used to create $*,
   3700 # except with old shells:
   3701 build_os=$*
   3702 IFS=$ac_save_IFS
   3703 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3704 
   3705 
   3706 { echo "$as_me:$LINENO: checking host system type" >&5
   3707 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3708 if test "${ac_cv_host+set}" = set; then
   3709   echo $ECHO_N "(cached) $ECHO_C" >&6
   3710 else
   3711   if test "x$host_alias" = x; then
   3712   ac_cv_host=$ac_cv_build
   3713 else
   3714   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3715     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3716 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3717    { (exit 1); exit 1; }; }
   3718 fi
   3719 
   3720 fi
   3721 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3722 echo "${ECHO_T}$ac_cv_host" >&6; }
   3723 case $ac_cv_host in
   3724 *-*-*) ;;
   3725 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3726 echo "$as_me: error: invalid value of canonical host" >&2;}
   3727    { (exit 1); exit 1; }; };;
   3728 esac
   3729 host=$ac_cv_host
   3730 ac_save_IFS=$IFS; IFS='-'
   3731 set x $ac_cv_host
   3732 shift
   3733 host_cpu=$1
   3734 host_vendor=$2
   3735 shift; shift
   3736 # Remember, the first character of IFS is used to create $*,
   3737 # except with old shells:
   3738 host_os=$*
   3739 IFS=$ac_save_IFS
   3740 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3741 
   3742 
   3743 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3744 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3745 if test "${lt_cv_path_SED+set}" = set; then
   3746   echo $ECHO_N "(cached) $ECHO_C" >&6
   3747 else
   3748   # Loop through the user's path and test for sed and gsed.
   3749 # Then use that list of sed's as ones to test for truncation.
   3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3751 for as_dir in $PATH
   3752 do
   3753   IFS=$as_save_IFS
   3754   test -z "$as_dir" && as_dir=.
   3755   for lt_ac_prog in sed gsed; do
   3756     for ac_exec_ext in '' $ac_executable_extensions; do
   3757       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3758         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3759       fi
   3760     done
   3761   done
   3762 done
   3763 lt_ac_max=0
   3764 lt_ac_count=0
   3765 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3766 # along with /bin/sed that truncates output.
   3767 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3768   test ! -f $lt_ac_sed && continue
   3769   cat /dev/null > conftest.in
   3770   lt_ac_count=0
   3771   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3772   # Check for GNU sed and select it if it is found.
   3773   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3774     lt_cv_path_SED=$lt_ac_sed
   3775     break
   3776   fi
   3777   while true; do
   3778     cat conftest.in conftest.in >conftest.tmp
   3779     mv conftest.tmp conftest.in
   3780     cp conftest.in conftest.nl
   3781     echo >>conftest.nl
   3782     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3783     cmp -s conftest.out conftest.nl || break
   3784     # 10000 chars as input seems more than enough
   3785     test $lt_ac_count -gt 10 && break
   3786     lt_ac_count=`expr $lt_ac_count + 1`
   3787     if test $lt_ac_count -gt $lt_ac_max; then
   3788       lt_ac_max=$lt_ac_count
   3789       lt_cv_path_SED=$lt_ac_sed
   3790     fi
   3791   done
   3792 done
   3793 
   3794 fi
   3795 
   3796 SED=$lt_cv_path_SED
   3797 { echo "$as_me:$LINENO: result: $SED" >&5
   3798 echo "${ECHO_T}$SED" >&6; }
   3799 
   3800 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3801 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3802 if test "${ac_cv_path_GREP+set}" = set; then
   3803   echo $ECHO_N "(cached) $ECHO_C" >&6
   3804 else
   3805   # Extract the first word of "grep ggrep" to use in msg output
   3806 if test -z "$GREP"; then
   3807 set dummy grep ggrep; ac_prog_name=$2
   3808 if test "${ac_cv_path_GREP+set}" = set; then
   3809   echo $ECHO_N "(cached) $ECHO_C" >&6
   3810 else
   3811   ac_path_GREP_found=false
   3812 # Loop through the user's path and test for each of PROGNAME-LIST
   3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3814 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3815 do
   3816   IFS=$as_save_IFS
   3817   test -z "$as_dir" && as_dir=.
   3818   for ac_prog in grep ggrep; do
   3819   for ac_exec_ext in '' $ac_executable_extensions; do
   3820     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3821     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3822     # Check for GNU ac_path_GREP and select it if it is found.
   3823   # Check for GNU $ac_path_GREP
   3824 case `"$ac_path_GREP" --version 2>&1` in
   3825 *GNU*)
   3826   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3827 *)
   3828   ac_count=0
   3829   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3830   while :
   3831   do
   3832     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3833     mv "conftest.tmp" "conftest.in"
   3834     cp "conftest.in" "conftest.nl"
   3835     echo 'GREP' >> "conftest.nl"
   3836     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3837     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3838     ac_count=`expr $ac_count + 1`
   3839     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3840       # Best one so far, save it but keep looking for a better one
   3841       ac_cv_path_GREP="$ac_path_GREP"
   3842       ac_path_GREP_max=$ac_count
   3843     fi
   3844     # 10*(2^10) chars as input seems more than enough
   3845     test $ac_count -gt 10 && break
   3846   done
   3847   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3848 esac
   3849 
   3850 
   3851     $ac_path_GREP_found && break 3
   3852   done
   3853 done
   3854 
   3855 done
   3856 IFS=$as_save_IFS
   3857 
   3858 
   3859 fi
   3860 
   3861 GREP="$ac_cv_path_GREP"
   3862 if test -z "$GREP"; then
   3863   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3864 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3865    { (exit 1); exit 1; }; }
   3866 fi
   3867 
   3868 else
   3869   ac_cv_path_GREP=$GREP
   3870 fi
   3871 
   3872 
   3873 fi
   3874 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3875 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3876  GREP="$ac_cv_path_GREP"
   3877 
   3878 
   3879 { echo "$as_me:$LINENO: checking for egrep" >&5
   3880 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3881 if test "${ac_cv_path_EGREP+set}" = set; then
   3882   echo $ECHO_N "(cached) $ECHO_C" >&6
   3883 else
   3884   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3885    then ac_cv_path_EGREP="$GREP -E"
   3886    else
   3887      # Extract the first word of "egrep" to use in msg output
   3888 if test -z "$EGREP"; then
   3889 set dummy egrep; ac_prog_name=$2
   3890 if test "${ac_cv_path_EGREP+set}" = set; then
   3891   echo $ECHO_N "(cached) $ECHO_C" >&6
   3892 else
   3893   ac_path_EGREP_found=false
   3894 # Loop through the user's path and test for each of PROGNAME-LIST
   3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3896 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3897 do
   3898   IFS=$as_save_IFS
   3899   test -z "$as_dir" && as_dir=.
   3900   for ac_prog in egrep; do
   3901   for ac_exec_ext in '' $ac_executable_extensions; do
   3902     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3903     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3904     # Check for GNU ac_path_EGREP and select it if it is found.
   3905   # Check for GNU $ac_path_EGREP
   3906 case `"$ac_path_EGREP" --version 2>&1` in
   3907 *GNU*)
   3908   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3909 *)
   3910   ac_count=0
   3911   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3912   while :
   3913   do
   3914     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3915     mv "conftest.tmp" "conftest.in"
   3916     cp "conftest.in" "conftest.nl"
   3917     echo 'EGREP' >> "conftest.nl"
   3918     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3919     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3920     ac_count=`expr $ac_count + 1`
   3921     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3922       # Best one so far, save it but keep looking for a better one
   3923       ac_cv_path_EGREP="$ac_path_EGREP"
   3924       ac_path_EGREP_max=$ac_count
   3925     fi
   3926     # 10*(2^10) chars as input seems more than enough
   3927     test $ac_count -gt 10 && break
   3928   done
   3929   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3930 esac
   3931 
   3932 
   3933     $ac_path_EGREP_found && break 3
   3934   done
   3935 done
   3936 
   3937 done
   3938 IFS=$as_save_IFS
   3939 
   3940 
   3941 fi
   3942 
   3943 EGREP="$ac_cv_path_EGREP"
   3944 if test -z "$EGREP"; then
   3945   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3946 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3947    { (exit 1); exit 1; }; }
   3948 fi
   3949 
   3950 else
   3951   ac_cv_path_EGREP=$EGREP
   3952 fi
   3953 
   3954 
   3955    fi
   3956 fi
   3957 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3958 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3959  EGREP="$ac_cv_path_EGREP"
   3960 
   3961 
   3962 
   3963 # Check whether --with-gnu-ld was given.
   3964 if test "${with_gnu_ld+set}" = set; then
   3965   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3966 else
   3967   with_gnu_ld=no
   3968 fi
   3969 
   3970 ac_prog=ld
   3971 if test "$GCC" = yes; then
   3972   # Check if gcc -print-prog-name=ld gives a path.
   3973   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3974 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3975   case $host in
   3976   *-*-mingw*)
   3977     # gcc leaves a trailing carriage return which upsets mingw
   3978     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3979   *)
   3980     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3981   esac
   3982   case $ac_prog in
   3983     # Accept absolute paths.
   3984     [\\/]* | ?:[\\/]*)
   3985       re_direlt='/[^/][^/]*/\.\./'
   3986       # Canonicalize the pathname of ld
   3987       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3988       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3989 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3990       done
   3991       test -z "$LD" && LD="$ac_prog"
   3992       ;;
   3993   "")
   3994     # If it fails, then pretend we aren't using GCC.
   3995     ac_prog=ld
   3996     ;;
   3997   *)
   3998     # If it is relative, then search for the first ld in PATH.
   3999     with_gnu_ld=unknown
   4000     ;;
   4001   esac
   4002 elif test "$with_gnu_ld" = yes; then
   4003   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4004 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4005 else
   4006   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4007 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4008 fi
   4009 if test "${lt_cv_path_LD+set}" = set; then
   4010   echo $ECHO_N "(cached) $ECHO_C" >&6
   4011 else
   4012   if test -z "$LD"; then
   4013   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4014   for ac_dir in $PATH; do
   4015     IFS="$lt_save_ifs"
   4016     test -z "$ac_dir" && ac_dir=.
   4017     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4018       lt_cv_path_LD="$ac_dir/$ac_prog"
   4019       # Check to see if the program is GNU ld.  I'd rather use --version,
   4020       # but apparently some variants of GNU ld only accept -v.
   4021       # Break only if it was the GNU/non-GNU ld that we prefer.
   4022       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4023       *GNU* | *'with BFD'*)
   4024 	test "$with_gnu_ld" != no && break
   4025 	;;
   4026       *)
   4027 	test "$with_gnu_ld" != yes && break
   4028 	;;
   4029       esac
   4030     fi
   4031   done
   4032   IFS="$lt_save_ifs"
   4033 else
   4034   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4035 fi
   4036 fi
   4037 
   4038 LD="$lt_cv_path_LD"
   4039 if test -n "$LD"; then
   4040   { echo "$as_me:$LINENO: result: $LD" >&5
   4041 echo "${ECHO_T}$LD" >&6; }
   4042 else
   4043   { echo "$as_me:$LINENO: result: no" >&5
   4044 echo "${ECHO_T}no" >&6; }
   4045 fi
   4046 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4047 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4048    { (exit 1); exit 1; }; }
   4049 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4050 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4051 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4052   echo $ECHO_N "(cached) $ECHO_C" >&6
   4053 else
   4054   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4055 case `$LD -v 2>&1 </dev/null` in
   4056 *GNU* | *'with BFD'*)
   4057   lt_cv_prog_gnu_ld=yes
   4058   ;;
   4059 *)
   4060   lt_cv_prog_gnu_ld=no
   4061   ;;
   4062 esac
   4063 fi
   4064 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4065 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4066 with_gnu_ld=$lt_cv_prog_gnu_ld
   4067 
   4068 
   4069 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4070 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4071 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4072   echo $ECHO_N "(cached) $ECHO_C" >&6
   4073 else
   4074   lt_cv_ld_reload_flag='-r'
   4075 fi
   4076 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4077 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4078 reload_flag=$lt_cv_ld_reload_flag
   4079 case $reload_flag in
   4080 "" | " "*) ;;
   4081 *) reload_flag=" $reload_flag" ;;
   4082 esac
   4083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4084 case $host_os in
   4085   darwin*)
   4086     if test "$GCC" = yes; then
   4087       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4088     else
   4089       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4090     fi
   4091     ;;
   4092 esac
   4093 
   4094 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4095 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4096 if test "${lt_cv_path_NM+set}" = set; then
   4097   echo $ECHO_N "(cached) $ECHO_C" >&6
   4098 else
   4099   if test -n "$NM"; then
   4100   # Let the user override the test.
   4101   lt_cv_path_NM="$NM"
   4102 else
   4103   lt_nm_to_check="${ac_tool_prefix}nm"
   4104   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4105     lt_nm_to_check="$lt_nm_to_check nm"
   4106   fi
   4107   for lt_tmp_nm in $lt_nm_to_check; do
   4108     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4109     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4110       IFS="$lt_save_ifs"
   4111       test -z "$ac_dir" && ac_dir=.
   4112       tmp_nm="$ac_dir/$lt_tmp_nm"
   4113       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4114 	# Check to see if the nm accepts a BSD-compat flag.
   4115 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4116 	#   nm: unknown option "B" ignored
   4117 	# Tru64's nm complains that /dev/null is an invalid object file
   4118 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4119 	*/dev/null* | *'Invalid file or object type'*)
   4120 	  lt_cv_path_NM="$tmp_nm -B"
   4121 	  break
   4122 	  ;;
   4123 	*)
   4124 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4125 	  */dev/null*)
   4126 	    lt_cv_path_NM="$tmp_nm -p"
   4127 	    break
   4128 	    ;;
   4129 	  *)
   4130 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4131 	    continue # so that we can try to find one that supports BSD flags
   4132 	    ;;
   4133 	  esac
   4134 	  ;;
   4135 	esac
   4136       fi
   4137     done
   4138     IFS="$lt_save_ifs"
   4139   done
   4140   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4141 fi
   4142 fi
   4143 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4144 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4145 NM="$lt_cv_path_NM"
   4146 
   4147 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4149 LN_S=$as_ln_s
   4150 if test "$LN_S" = "ln -s"; then
   4151   { echo "$as_me:$LINENO: result: yes" >&5
   4152 echo "${ECHO_T}yes" >&6; }
   4153 else
   4154   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4155 echo "${ECHO_T}no, using $LN_S" >&6; }
   4156 fi
   4157 
   4158 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4159 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4160 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4161   echo $ECHO_N "(cached) $ECHO_C" >&6
   4162 else
   4163   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4164 lt_cv_file_magic_test_file=
   4165 lt_cv_deplibs_check_method='unknown'
   4166 # Need to set the preceding variable on all platforms that support
   4167 # interlibrary dependencies.
   4168 # 'none' -- dependencies not supported.
   4169 # `unknown' -- same as none, but documents that we really don't know.
   4170 # 'pass_all' -- all dependencies passed with no checks.
   4171 # 'test_compile' -- check by making test program.
   4172 # 'file_magic [[regex]]' -- check by looking for files in library path
   4173 # which responds to the $file_magic_cmd with a given extended regex.
   4174 # If you have `file' or equivalent on your system and you're not sure
   4175 # whether `pass_all' will *always* work, you probably want this one.
   4176 
   4177 case $host_os in
   4178 aix4* | aix5*)
   4179   lt_cv_deplibs_check_method=pass_all
   4180   ;;
   4181 
   4182 beos*)
   4183   lt_cv_deplibs_check_method=pass_all
   4184   ;;
   4185 
   4186 bsdi[45]*)
   4187   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4188   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4189   lt_cv_file_magic_test_file=/shlib/libc.so
   4190   ;;
   4191 
   4192 cygwin*)
   4193   # func_win32_libid is a shell function defined in ltmain.sh
   4194   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4195   lt_cv_file_magic_cmd='func_win32_libid'
   4196   ;;
   4197 
   4198 mingw* | pw32*)
   4199   # Base MSYS/MinGW do not provide the 'file' command needed by
   4200   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4201   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4202   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4203   ;;
   4204 
   4205 darwin* | rhapsody*)
   4206   lt_cv_deplibs_check_method=pass_all
   4207   ;;
   4208 
   4209 freebsd* | kfreebsd*-gnu | dragonfly*)
   4210   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4211     case $host_cpu in
   4212     i*86 )
   4213       # Not sure whether the presence of OpenBSD here was a mistake.
   4214       # Let's accept both of them until this is cleared up.
   4215       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4216       lt_cv_file_magic_cmd=/usr/bin/file
   4217       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4218       ;;
   4219     esac
   4220   else
   4221     lt_cv_deplibs_check_method=pass_all
   4222   fi
   4223   ;;
   4224 
   4225 gnu*)
   4226   lt_cv_deplibs_check_method=pass_all
   4227   ;;
   4228 
   4229 hpux10.20* | hpux11*)
   4230   lt_cv_file_magic_cmd=/usr/bin/file
   4231   case $host_cpu in
   4232   ia64*)
   4233     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4234     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4235     ;;
   4236   hppa*64*)
   4237     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]'
   4238     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4239     ;;
   4240   *)
   4241     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4242     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4243     ;;
   4244   esac
   4245   ;;
   4246 
   4247 interix3*)
   4248   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4249   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4250   ;;
   4251 
   4252 irix5* | irix6* | nonstopux*)
   4253   case $LD in
   4254   *-32|*"-32 ") libmagic=32-bit;;
   4255   *-n32|*"-n32 ") libmagic=N32;;
   4256   *-64|*"-64 ") libmagic=64-bit;;
   4257   *) libmagic=never-match;;
   4258   esac
   4259   lt_cv_deplibs_check_method=pass_all
   4260   ;;
   4261 
   4262 # This must be Linux ELF.
   4263 linux*)
   4264   lt_cv_deplibs_check_method=pass_all
   4265   ;;
   4266 
   4267 netbsd*)
   4268   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4269     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4270   else
   4271     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4272   fi
   4273   ;;
   4274 
   4275 newos6*)
   4276   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4277   lt_cv_file_magic_cmd=/usr/bin/file
   4278   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4279   ;;
   4280 
   4281 nto-qnx*)
   4282   lt_cv_deplibs_check_method=unknown
   4283   ;;
   4284 
   4285 openbsd*)
   4286   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4287     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4288   else
   4289     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4290   fi
   4291   ;;
   4292 
   4293 osf3* | osf4* | osf5*)
   4294   lt_cv_deplibs_check_method=pass_all
   4295   ;;
   4296 
   4297 solaris*)
   4298   lt_cv_deplibs_check_method=pass_all
   4299   ;;
   4300 
   4301 sysv4 | sysv4.3*)
   4302   case $host_vendor in
   4303   motorola)
   4304     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]'
   4305     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4306     ;;
   4307   ncr)
   4308     lt_cv_deplibs_check_method=pass_all
   4309     ;;
   4310   sequent)
   4311     lt_cv_file_magic_cmd='/bin/file'
   4312     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4313     ;;
   4314   sni)
   4315     lt_cv_file_magic_cmd='/bin/file'
   4316     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4317     lt_cv_file_magic_test_file=/lib/libc.so
   4318     ;;
   4319   siemens)
   4320     lt_cv_deplibs_check_method=pass_all
   4321     ;;
   4322   pc)
   4323     lt_cv_deplibs_check_method=pass_all
   4324     ;;
   4325   esac
   4326   ;;
   4327 
   4328 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4329   lt_cv_deplibs_check_method=pass_all
   4330   ;;
   4331 esac
   4332 
   4333 fi
   4334 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4335 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4336 file_magic_cmd=$lt_cv_file_magic_cmd
   4337 deplibs_check_method=$lt_cv_deplibs_check_method
   4338 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4339 
   4340 
   4341 
   4342 
   4343 # If no C compiler was specified, use CC.
   4344 LTCC=${LTCC-"$CC"}
   4345 
   4346 # If no C compiler flags were specified, use CFLAGS.
   4347 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4348 
   4349 # Allow CC to be a program name with arguments.
   4350 compiler=$CC
   4351 
   4352 
   4353 # Check whether --enable-libtool-lock was given.
   4354 if test "${enable_libtool_lock+set}" = set; then
   4355   enableval=$enable_libtool_lock;
   4356 fi
   4357 
   4358 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4359 
   4360 # Some flags need to be propagated to the compiler or linker for good
   4361 # libtool support.
   4362 case $host in
   4363 ia64-*-hpux*)
   4364   # Find out which ABI we are using.
   4365   echo 'int i;' > conftest.$ac_ext
   4366   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4367   (eval $ac_compile) 2>&5
   4368   ac_status=$?
   4369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4370   (exit $ac_status); }; then
   4371     case `/usr/bin/file conftest.$ac_objext` in
   4372     *ELF-32*)
   4373       HPUX_IA64_MODE="32"
   4374       ;;
   4375     *ELF-64*)
   4376       HPUX_IA64_MODE="64"
   4377       ;;
   4378     esac
   4379   fi
   4380   rm -rf conftest*
   4381   ;;
   4382 *-*-irix6*)
   4383   # Find out which ABI we are using.
   4384   echo '#line 4384 "configure"' > conftest.$ac_ext
   4385   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4386   (eval $ac_compile) 2>&5
   4387   ac_status=$?
   4388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4389   (exit $ac_status); }; then
   4390    if test "$lt_cv_prog_gnu_ld" = yes; then
   4391     case `/usr/bin/file conftest.$ac_objext` in
   4392     *32-bit*)
   4393       LD="${LD-ld} -melf32bsmip"
   4394       ;;
   4395     *N32*)
   4396       LD="${LD-ld} -melf32bmipn32"
   4397       ;;
   4398     *64-bit*)
   4399       LD="${LD-ld} -melf64bmip"
   4400       ;;
   4401     esac
   4402    else
   4403     case `/usr/bin/file conftest.$ac_objext` in
   4404     *32-bit*)
   4405       LD="${LD-ld} -32"
   4406       ;;
   4407     *N32*)
   4408       LD="${LD-ld} -n32"
   4409       ;;
   4410     *64-bit*)
   4411       LD="${LD-ld} -64"
   4412       ;;
   4413     esac
   4414    fi
   4415   fi
   4416   rm -rf conftest*
   4417   ;;
   4418 
   4419 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4420   # Find out which ABI we are using.
   4421   echo 'int i;' > conftest.$ac_ext
   4422   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4423   (eval $ac_compile) 2>&5
   4424   ac_status=$?
   4425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4426   (exit $ac_status); }; then
   4427     case `/usr/bin/file conftest.o` in
   4428     *32-bit*)
   4429       case $host in
   4430         x86_64-*linux*)
   4431           LD="${LD-ld} -m elf_i386"
   4432           ;;
   4433         ppc64-*linux*|powerpc64-*linux*)
   4434           LD="${LD-ld} -m elf32ppclinux"
   4435           ;;
   4436         s390x-*linux*)
   4437           LD="${LD-ld} -m elf_s390"
   4438           ;;
   4439         sparc64-*linux*)
   4440           LD="${LD-ld} -m elf32_sparc"
   4441           ;;
   4442       esac
   4443       ;;
   4444     *64-bit*)
   4445       case $host in
   4446         x86_64-*linux*)
   4447           LD="${LD-ld} -m elf_x86_64"
   4448           ;;
   4449         ppc*-*linux*|powerpc*-*linux*)
   4450           LD="${LD-ld} -m elf64ppc"
   4451           ;;
   4452         s390*-*linux*)
   4453           LD="${LD-ld} -m elf64_s390"
   4454           ;;
   4455         sparc*-*linux*)
   4456           LD="${LD-ld} -m elf64_sparc"
   4457           ;;
   4458       esac
   4459       ;;
   4460     esac
   4461   fi
   4462   rm -rf conftest*
   4463   ;;
   4464 
   4465 *-*-sco3.2v5*)
   4466   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4467   SAVE_CFLAGS="$CFLAGS"
   4468   CFLAGS="$CFLAGS -belf"
   4469   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4470 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4471 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4472   echo $ECHO_N "(cached) $ECHO_C" >&6
   4473 else
   4474   ac_ext=c
   4475 ac_cpp='$CPP $CPPFLAGS'
   4476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4479 
   4480      cat >conftest.$ac_ext <<_ACEOF
   4481 /* confdefs.h.  */
   4482 _ACEOF
   4483 cat confdefs.h >>conftest.$ac_ext
   4484 cat >>conftest.$ac_ext <<_ACEOF
   4485 /* end confdefs.h.  */
   4486 
   4487 int
   4488 main ()
   4489 {
   4490 
   4491   ;
   4492   return 0;
   4493 }
   4494 _ACEOF
   4495 rm -f conftest.$ac_objext conftest$ac_exeext
   4496 if { (ac_try="$ac_link"
   4497 case "(($ac_try" in
   4498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4499   *) ac_try_echo=$ac_try;;
   4500 esac
   4501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4502   (eval "$ac_link") 2>conftest.er1
   4503   ac_status=$?
   4504   grep -v '^ *+' conftest.er1 >conftest.err
   4505   rm -f conftest.er1
   4506   cat conftest.err >&5
   4507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4508   (exit $ac_status); } && {
   4509 	 test -z "$ac_c_werror_flag" ||
   4510 	 test ! -s conftest.err
   4511        } && test -s conftest$ac_exeext &&
   4512        $as_test_x conftest$ac_exeext; then
   4513   lt_cv_cc_needs_belf=yes
   4514 else
   4515   echo "$as_me: failed program was:" >&5
   4516 sed 's/^/| /' conftest.$ac_ext >&5
   4517 
   4518 	lt_cv_cc_needs_belf=no
   4519 fi
   4520 
   4521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4522       conftest$ac_exeext conftest.$ac_ext
   4523      ac_ext=c
   4524 ac_cpp='$CPP $CPPFLAGS'
   4525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4528 
   4529 fi
   4530 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4531 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4532   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4533     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4534     CFLAGS="$SAVE_CFLAGS"
   4535   fi
   4536   ;;
   4537 sparc*-*solaris*)
   4538   # Find out which ABI we are using.
   4539   echo 'int i;' > conftest.$ac_ext
   4540   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4541   (eval $ac_compile) 2>&5
   4542   ac_status=$?
   4543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4544   (exit $ac_status); }; then
   4545     case `/usr/bin/file conftest.o` in
   4546     *64-bit*)
   4547       case $lt_cv_prog_gnu_ld in
   4548       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4549       *)    LD="${LD-ld} -64" ;;
   4550       esac
   4551       ;;
   4552     esac
   4553   fi
   4554   rm -rf conftest*
   4555   ;;
   4556 
   4557 
   4558 esac
   4559 
   4560 need_locks="$enable_libtool_lock"
   4561 
   4562 
   4563 ac_ext=c
   4564 ac_cpp='$CPP $CPPFLAGS'
   4565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4568 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4569 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4570 # On Suns, sometimes $CPP names a directory.
   4571 if test -n "$CPP" && test -d "$CPP"; then
   4572   CPP=
   4573 fi
   4574 if test -z "$CPP"; then
   4575   if test "${ac_cv_prog_CPP+set}" = set; then
   4576   echo $ECHO_N "(cached) $ECHO_C" >&6
   4577 else
   4578       # Double quotes because CPP needs to be expanded
   4579     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4580     do
   4581       ac_preproc_ok=false
   4582 for ac_c_preproc_warn_flag in '' yes
   4583 do
   4584   # Use a header file that comes with gcc, so configuring glibc
   4585   # with a fresh cross-compiler works.
   4586   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4587   # <limits.h> exists even on freestanding compilers.
   4588   # On the NeXT, cc -E runs the code through the compiler's parser,
   4589   # not just through cpp. "Syntax error" is here to catch this case.
   4590   cat >conftest.$ac_ext <<_ACEOF
   4591 /* confdefs.h.  */
   4592 _ACEOF
   4593 cat confdefs.h >>conftest.$ac_ext
   4594 cat >>conftest.$ac_ext <<_ACEOF
   4595 /* end confdefs.h.  */
   4596 #ifdef __STDC__
   4597 # include <limits.h>
   4598 #else
   4599 # include <assert.h>
   4600 #endif
   4601 		     Syntax error
   4602 _ACEOF
   4603 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4604 case "(($ac_try" in
   4605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4606   *) ac_try_echo=$ac_try;;
   4607 esac
   4608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4609   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4610   ac_status=$?
   4611   grep -v '^ *+' conftest.er1 >conftest.err
   4612   rm -f conftest.er1
   4613   cat conftest.err >&5
   4614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4615   (exit $ac_status); } >/dev/null && {
   4616 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4617 	 test ! -s conftest.err
   4618        }; then
   4619   :
   4620 else
   4621   echo "$as_me: failed program was:" >&5
   4622 sed 's/^/| /' conftest.$ac_ext >&5
   4623 
   4624   # Broken: fails on valid input.
   4625 continue
   4626 fi
   4627 
   4628 rm -f conftest.err conftest.$ac_ext
   4629 
   4630   # OK, works on sane cases.  Now check whether nonexistent headers
   4631   # can be detected and how.
   4632   cat >conftest.$ac_ext <<_ACEOF
   4633 /* confdefs.h.  */
   4634 _ACEOF
   4635 cat confdefs.h >>conftest.$ac_ext
   4636 cat >>conftest.$ac_ext <<_ACEOF
   4637 /* end confdefs.h.  */
   4638 #include <ac_nonexistent.h>
   4639 _ACEOF
   4640 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4641 case "(($ac_try" in
   4642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4643   *) ac_try_echo=$ac_try;;
   4644 esac
   4645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4646   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4647   ac_status=$?
   4648   grep -v '^ *+' conftest.er1 >conftest.err
   4649   rm -f conftest.er1
   4650   cat conftest.err >&5
   4651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4652   (exit $ac_status); } >/dev/null && {
   4653 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4654 	 test ! -s conftest.err
   4655        }; then
   4656   # Broken: success on invalid input.
   4657 continue
   4658 else
   4659   echo "$as_me: failed program was:" >&5
   4660 sed 's/^/| /' conftest.$ac_ext >&5
   4661 
   4662   # Passes both tests.
   4663 ac_preproc_ok=:
   4664 break
   4665 fi
   4666 
   4667 rm -f conftest.err conftest.$ac_ext
   4668 
   4669 done
   4670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4671 rm -f conftest.err conftest.$ac_ext
   4672 if $ac_preproc_ok; then
   4673   break
   4674 fi
   4675 
   4676     done
   4677     ac_cv_prog_CPP=$CPP
   4678 
   4679 fi
   4680   CPP=$ac_cv_prog_CPP
   4681 else
   4682   ac_cv_prog_CPP=$CPP
   4683 fi
   4684 { echo "$as_me:$LINENO: result: $CPP" >&5
   4685 echo "${ECHO_T}$CPP" >&6; }
   4686 ac_preproc_ok=false
   4687 for ac_c_preproc_warn_flag in '' yes
   4688 do
   4689   # Use a header file that comes with gcc, so configuring glibc
   4690   # with a fresh cross-compiler works.
   4691   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4692   # <limits.h> exists even on freestanding compilers.
   4693   # On the NeXT, cc -E runs the code through the compiler's parser,
   4694   # not just through cpp. "Syntax error" is here to catch this case.
   4695   cat >conftest.$ac_ext <<_ACEOF
   4696 /* confdefs.h.  */
   4697 _ACEOF
   4698 cat confdefs.h >>conftest.$ac_ext
   4699 cat >>conftest.$ac_ext <<_ACEOF
   4700 /* end confdefs.h.  */
   4701 #ifdef __STDC__
   4702 # include <limits.h>
   4703 #else
   4704 # include <assert.h>
   4705 #endif
   4706 		     Syntax error
   4707 _ACEOF
   4708 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4709 case "(($ac_try" in
   4710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4711   *) ac_try_echo=$ac_try;;
   4712 esac
   4713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4714   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4715   ac_status=$?
   4716   grep -v '^ *+' conftest.er1 >conftest.err
   4717   rm -f conftest.er1
   4718   cat conftest.err >&5
   4719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4720   (exit $ac_status); } >/dev/null && {
   4721 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4722 	 test ! -s conftest.err
   4723        }; then
   4724   :
   4725 else
   4726   echo "$as_me: failed program was:" >&5
   4727 sed 's/^/| /' conftest.$ac_ext >&5
   4728 
   4729   # Broken: fails on valid input.
   4730 continue
   4731 fi
   4732 
   4733 rm -f conftest.err conftest.$ac_ext
   4734 
   4735   # OK, works on sane cases.  Now check whether nonexistent headers
   4736   # can be detected and how.
   4737   cat >conftest.$ac_ext <<_ACEOF
   4738 /* confdefs.h.  */
   4739 _ACEOF
   4740 cat confdefs.h >>conftest.$ac_ext
   4741 cat >>conftest.$ac_ext <<_ACEOF
   4742 /* end confdefs.h.  */
   4743 #include <ac_nonexistent.h>
   4744 _ACEOF
   4745 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4746 case "(($ac_try" in
   4747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4748   *) ac_try_echo=$ac_try;;
   4749 esac
   4750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4751   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4752   ac_status=$?
   4753   grep -v '^ *+' conftest.er1 >conftest.err
   4754   rm -f conftest.er1
   4755   cat conftest.err >&5
   4756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4757   (exit $ac_status); } >/dev/null && {
   4758 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4759 	 test ! -s conftest.err
   4760        }; then
   4761   # Broken: success on invalid input.
   4762 continue
   4763 else
   4764   echo "$as_me: failed program was:" >&5
   4765 sed 's/^/| /' conftest.$ac_ext >&5
   4766 
   4767   # Passes both tests.
   4768 ac_preproc_ok=:
   4769 break
   4770 fi
   4771 
   4772 rm -f conftest.err conftest.$ac_ext
   4773 
   4774 done
   4775 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4776 rm -f conftest.err conftest.$ac_ext
   4777 if $ac_preproc_ok; then
   4778   :
   4779 else
   4780   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4781 See \`config.log' for more details." >&5
   4782 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4783 See \`config.log' for more details." >&2;}
   4784    { (exit 1); exit 1; }; }
   4785 fi
   4786 
   4787 ac_ext=c
   4788 ac_cpp='$CPP $CPPFLAGS'
   4789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4792 
   4793 
   4794 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4795 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4796 if test "${ac_cv_header_stdc+set}" = set; then
   4797   echo $ECHO_N "(cached) $ECHO_C" >&6
   4798 else
   4799   cat >conftest.$ac_ext <<_ACEOF
   4800 /* confdefs.h.  */
   4801 _ACEOF
   4802 cat confdefs.h >>conftest.$ac_ext
   4803 cat >>conftest.$ac_ext <<_ACEOF
   4804 /* end confdefs.h.  */
   4805 #include <stdlib.h>
   4806 #include <stdarg.h>
   4807 #include <string.h>
   4808 #include <float.h>
   4809 
   4810 int
   4811 main ()
   4812 {
   4813 
   4814   ;
   4815   return 0;
   4816 }
   4817 _ACEOF
   4818 rm -f conftest.$ac_objext
   4819 if { (ac_try="$ac_compile"
   4820 case "(($ac_try" in
   4821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4822   *) ac_try_echo=$ac_try;;
   4823 esac
   4824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4825   (eval "$ac_compile") 2>conftest.er1
   4826   ac_status=$?
   4827   grep -v '^ *+' conftest.er1 >conftest.err
   4828   rm -f conftest.er1
   4829   cat conftest.err >&5
   4830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4831   (exit $ac_status); } && {
   4832 	 test -z "$ac_c_werror_flag" ||
   4833 	 test ! -s conftest.err
   4834        } && test -s conftest.$ac_objext; then
   4835   ac_cv_header_stdc=yes
   4836 else
   4837   echo "$as_me: failed program was:" >&5
   4838 sed 's/^/| /' conftest.$ac_ext >&5
   4839 
   4840 	ac_cv_header_stdc=no
   4841 fi
   4842 
   4843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4844 
   4845 if test $ac_cv_header_stdc = yes; then
   4846   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4847   cat >conftest.$ac_ext <<_ACEOF
   4848 /* confdefs.h.  */
   4849 _ACEOF
   4850 cat confdefs.h >>conftest.$ac_ext
   4851 cat >>conftest.$ac_ext <<_ACEOF
   4852 /* end confdefs.h.  */
   4853 #include <string.h>
   4854 
   4855 _ACEOF
   4856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4857   $EGREP "memchr" >/dev/null 2>&1; then
   4858   :
   4859 else
   4860   ac_cv_header_stdc=no
   4861 fi
   4862 rm -f conftest*
   4863 
   4864 fi
   4865 
   4866 if test $ac_cv_header_stdc = yes; then
   4867   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4868   cat >conftest.$ac_ext <<_ACEOF
   4869 /* confdefs.h.  */
   4870 _ACEOF
   4871 cat confdefs.h >>conftest.$ac_ext
   4872 cat >>conftest.$ac_ext <<_ACEOF
   4873 /* end confdefs.h.  */
   4874 #include <stdlib.h>
   4875 
   4876 _ACEOF
   4877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4878   $EGREP "free" >/dev/null 2>&1; then
   4879   :
   4880 else
   4881   ac_cv_header_stdc=no
   4882 fi
   4883 rm -f conftest*
   4884 
   4885 fi
   4886 
   4887 if test $ac_cv_header_stdc = yes; then
   4888   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4889   if test "$cross_compiling" = yes; then
   4890   :
   4891 else
   4892   cat >conftest.$ac_ext <<_ACEOF
   4893 /* confdefs.h.  */
   4894 _ACEOF
   4895 cat confdefs.h >>conftest.$ac_ext
   4896 cat >>conftest.$ac_ext <<_ACEOF
   4897 /* end confdefs.h.  */
   4898 #include <ctype.h>
   4899 #include <stdlib.h>
   4900 #if ((' ' & 0x0FF) == 0x020)
   4901 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4902 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4903 #else
   4904 # define ISLOWER(c) \
   4905 		   (('a' <= (c) && (c) <= 'i') \
   4906 		     || ('j' <= (c) && (c) <= 'r') \
   4907 		     || ('s' <= (c) && (c) <= 'z'))
   4908 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4909 #endif
   4910 
   4911 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4912 int
   4913 main ()
   4914 {
   4915   int i;
   4916   for (i = 0; i < 256; i++)
   4917     if (XOR (islower (i), ISLOWER (i))
   4918 	|| toupper (i) != TOUPPER (i))
   4919       return 2;
   4920   return 0;
   4921 }
   4922 _ACEOF
   4923 rm -f conftest$ac_exeext
   4924 if { (ac_try="$ac_link"
   4925 case "(($ac_try" in
   4926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4927   *) ac_try_echo=$ac_try;;
   4928 esac
   4929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4930   (eval "$ac_link") 2>&5
   4931   ac_status=$?
   4932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4933   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4934   { (case "(($ac_try" in
   4935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4936   *) ac_try_echo=$ac_try;;
   4937 esac
   4938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4939   (eval "$ac_try") 2>&5
   4940   ac_status=$?
   4941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4942   (exit $ac_status); }; }; then
   4943   :
   4944 else
   4945   echo "$as_me: program exited with status $ac_status" >&5
   4946 echo "$as_me: failed program was:" >&5
   4947 sed 's/^/| /' conftest.$ac_ext >&5
   4948 
   4949 ( exit $ac_status )
   4950 ac_cv_header_stdc=no
   4951 fi
   4952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4953 fi
   4954 
   4955 
   4956 fi
   4957 fi
   4958 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4959 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4960 if test $ac_cv_header_stdc = yes; then
   4961 
   4962 cat >>confdefs.h <<\_ACEOF
   4963 #define STDC_HEADERS 1
   4964 _ACEOF
   4965 
   4966 fi
   4967 
   4968 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4979 		  inttypes.h stdint.h unistd.h
   4980 do
   4981 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4982 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   4983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   4984 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4985   echo $ECHO_N "(cached) $ECHO_C" >&6
   4986 else
   4987   cat >conftest.$ac_ext <<_ACEOF
   4988 /* confdefs.h.  */
   4989 _ACEOF
   4990 cat confdefs.h >>conftest.$ac_ext
   4991 cat >>conftest.$ac_ext <<_ACEOF
   4992 /* end confdefs.h.  */
   4993 $ac_includes_default
   4994 
   4995 #include <$ac_header>
   4996 _ACEOF
   4997 rm -f conftest.$ac_objext
   4998 if { (ac_try="$ac_compile"
   4999 case "(($ac_try" in
   5000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5001   *) ac_try_echo=$ac_try;;
   5002 esac
   5003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5004   (eval "$ac_compile") 2>conftest.er1
   5005   ac_status=$?
   5006   grep -v '^ *+' conftest.er1 >conftest.err
   5007   rm -f conftest.er1
   5008   cat conftest.err >&5
   5009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5010   (exit $ac_status); } && {
   5011 	 test -z "$ac_c_werror_flag" ||
   5012 	 test ! -s conftest.err
   5013        } && test -s conftest.$ac_objext; then
   5014   eval "$as_ac_Header=yes"
   5015 else
   5016   echo "$as_me: failed program was:" >&5
   5017 sed 's/^/| /' conftest.$ac_ext >&5
   5018 
   5019 	eval "$as_ac_Header=no"
   5020 fi
   5021 
   5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5023 fi
   5024 ac_res=`eval echo '${'$as_ac_Header'}'`
   5025 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5026 echo "${ECHO_T}$ac_res" >&6; }
   5027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5028   cat >>confdefs.h <<_ACEOF
   5029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5030 _ACEOF
   5031 
   5032 fi
   5033 
   5034 done
   5035 
   5036 
   5037 
   5038 for ac_header in dlfcn.h
   5039 do
   5040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5042   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5045   echo $ECHO_N "(cached) $ECHO_C" >&6
   5046 fi
   5047 ac_res=`eval echo '${'$as_ac_Header'}'`
   5048 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5049 echo "${ECHO_T}$ac_res" >&6; }
   5050 else
   5051   # Is the header compilable?
   5052 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5054 cat >conftest.$ac_ext <<_ACEOF
   5055 /* confdefs.h.  */
   5056 _ACEOF
   5057 cat confdefs.h >>conftest.$ac_ext
   5058 cat >>conftest.$ac_ext <<_ACEOF
   5059 /* end confdefs.h.  */
   5060 $ac_includes_default
   5061 #include <$ac_header>
   5062 _ACEOF
   5063 rm -f conftest.$ac_objext
   5064 if { (ac_try="$ac_compile"
   5065 case "(($ac_try" in
   5066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5067   *) ac_try_echo=$ac_try;;
   5068 esac
   5069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5070   (eval "$ac_compile") 2>conftest.er1
   5071   ac_status=$?
   5072   grep -v '^ *+' conftest.er1 >conftest.err
   5073   rm -f conftest.er1
   5074   cat conftest.err >&5
   5075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5076   (exit $ac_status); } && {
   5077 	 test -z "$ac_c_werror_flag" ||
   5078 	 test ! -s conftest.err
   5079        } && test -s conftest.$ac_objext; then
   5080   ac_header_compiler=yes
   5081 else
   5082   echo "$as_me: failed program was:" >&5
   5083 sed 's/^/| /' conftest.$ac_ext >&5
   5084 
   5085 	ac_header_compiler=no
   5086 fi
   5087 
   5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5089 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5090 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5091 
   5092 # Is the header present?
   5093 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5095 cat >conftest.$ac_ext <<_ACEOF
   5096 /* confdefs.h.  */
   5097 _ACEOF
   5098 cat confdefs.h >>conftest.$ac_ext
   5099 cat >>conftest.$ac_ext <<_ACEOF
   5100 /* end confdefs.h.  */
   5101 #include <$ac_header>
   5102 _ACEOF
   5103 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5104 case "(($ac_try" in
   5105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5106   *) ac_try_echo=$ac_try;;
   5107 esac
   5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5109   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5110   ac_status=$?
   5111   grep -v '^ *+' conftest.er1 >conftest.err
   5112   rm -f conftest.er1
   5113   cat conftest.err >&5
   5114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5115   (exit $ac_status); } >/dev/null && {
   5116 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5117 	 test ! -s conftest.err
   5118        }; then
   5119   ac_header_preproc=yes
   5120 else
   5121   echo "$as_me: failed program was:" >&5
   5122 sed 's/^/| /' conftest.$ac_ext >&5
   5123 
   5124   ac_header_preproc=no
   5125 fi
   5126 
   5127 rm -f conftest.err conftest.$ac_ext
   5128 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5129 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5130 
   5131 # So?  What about this header?
   5132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5133   yes:no: )
   5134     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5136     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5138     ac_header_preproc=yes
   5139     ;;
   5140   no:yes:* )
   5141     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5143     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5144 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5145     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5147     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5148 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5149     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5151     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5153     ( cat <<\_ASBOX
   5154 ## ---------------------------------------------------------------------- ##
   5155 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5156 ## ---------------------------------------------------------------------- ##
   5157 _ASBOX
   5158      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5159     ;;
   5160 esac
   5161 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5164   echo $ECHO_N "(cached) $ECHO_C" >&6
   5165 else
   5166   eval "$as_ac_Header=\$ac_header_preproc"
   5167 fi
   5168 ac_res=`eval echo '${'$as_ac_Header'}'`
   5169 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5170 echo "${ECHO_T}$ac_res" >&6; }
   5171 
   5172 fi
   5173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5174   cat >>confdefs.h <<_ACEOF
   5175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5176 _ACEOF
   5177 
   5178 fi
   5179 
   5180 done
   5181 
   5182 ac_ext=cpp
   5183 ac_cpp='$CXXCPP $CPPFLAGS'
   5184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5187 if test -z "$CXX"; then
   5188   if test -n "$CCC"; then
   5189     CXX=$CCC
   5190   else
   5191     if test -n "$ac_tool_prefix"; then
   5192   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5193   do
   5194     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5198 if test "${ac_cv_prog_CXX+set}" = set; then
   5199   echo $ECHO_N "(cached) $ECHO_C" >&6
   5200 else
   5201   if test -n "$CXX"; then
   5202   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5203 else
   5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5205 for as_dir in $PATH
   5206 do
   5207   IFS=$as_save_IFS
   5208   test -z "$as_dir" && as_dir=.
   5209   for ac_exec_ext in '' $ac_executable_extensions; do
   5210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5211     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5212     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5213     break 2
   5214   fi
   5215 done
   5216 done
   5217 IFS=$as_save_IFS
   5218 
   5219 fi
   5220 fi
   5221 CXX=$ac_cv_prog_CXX
   5222 if test -n "$CXX"; then
   5223   { echo "$as_me:$LINENO: result: $CXX" >&5
   5224 echo "${ECHO_T}$CXX" >&6; }
   5225 else
   5226   { echo "$as_me:$LINENO: result: no" >&5
   5227 echo "${ECHO_T}no" >&6; }
   5228 fi
   5229 
   5230 
   5231     test -n "$CXX" && break
   5232   done
   5233 fi
   5234 if test -z "$CXX"; then
   5235   ac_ct_CXX=$CXX
   5236   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5237 do
   5238   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5239 set dummy $ac_prog; ac_word=$2
   5240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5243   echo $ECHO_N "(cached) $ECHO_C" >&6
   5244 else
   5245   if test -n "$ac_ct_CXX"; then
   5246   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5247 else
   5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5249 for as_dir in $PATH
   5250 do
   5251   IFS=$as_save_IFS
   5252   test -z "$as_dir" && as_dir=.
   5253   for ac_exec_ext in '' $ac_executable_extensions; do
   5254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5255     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5256     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5257     break 2
   5258   fi
   5259 done
   5260 done
   5261 IFS=$as_save_IFS
   5262 
   5263 fi
   5264 fi
   5265 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5266 if test -n "$ac_ct_CXX"; then
   5267   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5268 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5269 else
   5270   { echo "$as_me:$LINENO: result: no" >&5
   5271 echo "${ECHO_T}no" >&6; }
   5272 fi
   5273 
   5274 
   5275   test -n "$ac_ct_CXX" && break
   5276 done
   5277 
   5278   if test "x$ac_ct_CXX" = x; then
   5279     CXX="g++"
   5280   else
   5281     case $cross_compiling:$ac_tool_warned in
   5282 yes:)
   5283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5284 whose name does not start with the host triplet.  If you think this
   5285 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5287 whose name does not start with the host triplet.  If you think this
   5288 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5289 ac_tool_warned=yes ;;
   5290 esac
   5291     CXX=$ac_ct_CXX
   5292   fi
   5293 fi
   5294 
   5295   fi
   5296 fi
   5297 # Provide some information about the compiler.
   5298 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5299 ac_compiler=`set X $ac_compile; echo $2`
   5300 { (ac_try="$ac_compiler --version >&5"
   5301 case "(($ac_try" in
   5302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5303   *) ac_try_echo=$ac_try;;
   5304 esac
   5305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5306   (eval "$ac_compiler --version >&5") 2>&5
   5307   ac_status=$?
   5308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5309   (exit $ac_status); }
   5310 { (ac_try="$ac_compiler -v >&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 -v >&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 
   5331 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5332 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5333 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5334   echo $ECHO_N "(cached) $ECHO_C" >&6
   5335 else
   5336   cat >conftest.$ac_ext <<_ACEOF
   5337 /* confdefs.h.  */
   5338 _ACEOF
   5339 cat confdefs.h >>conftest.$ac_ext
   5340 cat >>conftest.$ac_ext <<_ACEOF
   5341 /* end confdefs.h.  */
   5342 
   5343 int
   5344 main ()
   5345 {
   5346 #ifndef __GNUC__
   5347        choke me
   5348 #endif
   5349 
   5350   ;
   5351   return 0;
   5352 }
   5353 _ACEOF
   5354 rm -f conftest.$ac_objext
   5355 if { (ac_try="$ac_compile"
   5356 case "(($ac_try" in
   5357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5358   *) ac_try_echo=$ac_try;;
   5359 esac
   5360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5361   (eval "$ac_compile") 2>conftest.er1
   5362   ac_status=$?
   5363   grep -v '^ *+' conftest.er1 >conftest.err
   5364   rm -f conftest.er1
   5365   cat conftest.err >&5
   5366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5367   (exit $ac_status); } && {
   5368 	 test -z "$ac_cxx_werror_flag" ||
   5369 	 test ! -s conftest.err
   5370        } && test -s conftest.$ac_objext; then
   5371   ac_compiler_gnu=yes
   5372 else
   5373   echo "$as_me: failed program was:" >&5
   5374 sed 's/^/| /' conftest.$ac_ext >&5
   5375 
   5376 	ac_compiler_gnu=no
   5377 fi
   5378 
   5379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5380 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5381 
   5382 fi
   5383 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5384 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5385 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5386 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5387 ac_save_CXXFLAGS=$CXXFLAGS
   5388 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5389 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5390 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5391   echo $ECHO_N "(cached) $ECHO_C" >&6
   5392 else
   5393   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5394    ac_cxx_werror_flag=yes
   5395    ac_cv_prog_cxx_g=no
   5396    CXXFLAGS="-g"
   5397    cat >conftest.$ac_ext <<_ACEOF
   5398 /* confdefs.h.  */
   5399 _ACEOF
   5400 cat confdefs.h >>conftest.$ac_ext
   5401 cat >>conftest.$ac_ext <<_ACEOF
   5402 /* end confdefs.h.  */
   5403 
   5404 int
   5405 main ()
   5406 {
   5407 
   5408   ;
   5409   return 0;
   5410 }
   5411 _ACEOF
   5412 rm -f conftest.$ac_objext
   5413 if { (ac_try="$ac_compile"
   5414 case "(($ac_try" in
   5415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5416   *) ac_try_echo=$ac_try;;
   5417 esac
   5418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5419   (eval "$ac_compile") 2>conftest.er1
   5420   ac_status=$?
   5421   grep -v '^ *+' conftest.er1 >conftest.err
   5422   rm -f conftest.er1
   5423   cat conftest.err >&5
   5424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5425   (exit $ac_status); } && {
   5426 	 test -z "$ac_cxx_werror_flag" ||
   5427 	 test ! -s conftest.err
   5428        } && test -s conftest.$ac_objext; then
   5429   ac_cv_prog_cxx_g=yes
   5430 else
   5431   echo "$as_me: failed program was:" >&5
   5432 sed 's/^/| /' conftest.$ac_ext >&5
   5433 
   5434 	CXXFLAGS=""
   5435       cat >conftest.$ac_ext <<_ACEOF
   5436 /* confdefs.h.  */
   5437 _ACEOF
   5438 cat confdefs.h >>conftest.$ac_ext
   5439 cat >>conftest.$ac_ext <<_ACEOF
   5440 /* end confdefs.h.  */
   5441 
   5442 int
   5443 main ()
   5444 {
   5445 
   5446   ;
   5447   return 0;
   5448 }
   5449 _ACEOF
   5450 rm -f conftest.$ac_objext
   5451 if { (ac_try="$ac_compile"
   5452 case "(($ac_try" in
   5453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5454   *) ac_try_echo=$ac_try;;
   5455 esac
   5456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5457   (eval "$ac_compile") 2>conftest.er1
   5458   ac_status=$?
   5459   grep -v '^ *+' conftest.er1 >conftest.err
   5460   rm -f conftest.er1
   5461   cat conftest.err >&5
   5462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5463   (exit $ac_status); } && {
   5464 	 test -z "$ac_cxx_werror_flag" ||
   5465 	 test ! -s conftest.err
   5466        } && test -s conftest.$ac_objext; then
   5467   :
   5468 else
   5469   echo "$as_me: failed program was:" >&5
   5470 sed 's/^/| /' conftest.$ac_ext >&5
   5471 
   5472 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5473 	 CXXFLAGS="-g"
   5474 	 cat >conftest.$ac_ext <<_ACEOF
   5475 /* confdefs.h.  */
   5476 _ACEOF
   5477 cat confdefs.h >>conftest.$ac_ext
   5478 cat >>conftest.$ac_ext <<_ACEOF
   5479 /* end confdefs.h.  */
   5480 
   5481 int
   5482 main ()
   5483 {
   5484 
   5485   ;
   5486   return 0;
   5487 }
   5488 _ACEOF
   5489 rm -f conftest.$ac_objext
   5490 if { (ac_try="$ac_compile"
   5491 case "(($ac_try" in
   5492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5493   *) ac_try_echo=$ac_try;;
   5494 esac
   5495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5496   (eval "$ac_compile") 2>conftest.er1
   5497   ac_status=$?
   5498   grep -v '^ *+' conftest.er1 >conftest.err
   5499   rm -f conftest.er1
   5500   cat conftest.err >&5
   5501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5502   (exit $ac_status); } && {
   5503 	 test -z "$ac_cxx_werror_flag" ||
   5504 	 test ! -s conftest.err
   5505        } && test -s conftest.$ac_objext; then
   5506   ac_cv_prog_cxx_g=yes
   5507 else
   5508   echo "$as_me: failed program was:" >&5
   5509 sed 's/^/| /' conftest.$ac_ext >&5
   5510 
   5511 
   5512 fi
   5513 
   5514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5515 fi
   5516 
   5517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5518 fi
   5519 
   5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5521    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5522 fi
   5523 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5524 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5525 if test "$ac_test_CXXFLAGS" = set; then
   5526   CXXFLAGS=$ac_save_CXXFLAGS
   5527 elif test $ac_cv_prog_cxx_g = yes; then
   5528   if test "$GXX" = yes; then
   5529     CXXFLAGS="-g -O2"
   5530   else
   5531     CXXFLAGS="-g"
   5532   fi
   5533 else
   5534   if test "$GXX" = yes; then
   5535     CXXFLAGS="-O2"
   5536   else
   5537     CXXFLAGS=
   5538   fi
   5539 fi
   5540 ac_ext=cpp
   5541 ac_cpp='$CXXCPP $CPPFLAGS'
   5542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5545 
   5546 depcc="$CXX"  am_compiler_list=
   5547 
   5548 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5549 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5550 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5551   echo $ECHO_N "(cached) $ECHO_C" >&6
   5552 else
   5553   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5554   # We make a subdir and do the tests there.  Otherwise we can end up
   5555   # making bogus files that we don't know about and never remove.  For
   5556   # instance it was reported that on HP-UX the gcc test will end up
   5557   # making a dummy file named `D' -- because `-MD' means `put the output
   5558   # in D'.
   5559   mkdir conftest.dir
   5560   # Copy depcomp to subdir because otherwise we won't find it if we're
   5561   # using a relative directory.
   5562   cp "$am_depcomp" conftest.dir
   5563   cd conftest.dir
   5564   # We will build objects and dependencies in a subdirectory because
   5565   # it helps to detect inapplicable dependency modes.  For instance
   5566   # both Tru64's cc and ICC support -MD to output dependencies as a
   5567   # side effect of compilation, but ICC will put the dependencies in
   5568   # the current directory while Tru64 will put them in the object
   5569   # directory.
   5570   mkdir sub
   5571 
   5572   am_cv_CXX_dependencies_compiler_type=none
   5573   if test "$am_compiler_list" = ""; then
   5574      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5575   fi
   5576   for depmode in $am_compiler_list; do
   5577     # Setup a source with many dependencies, because some compilers
   5578     # like to wrap large dependency lists on column 80 (with \), and
   5579     # we should not choose a depcomp mode which is confused by this.
   5580     #
   5581     # We need to recreate these files for each test, as the compiler may
   5582     # overwrite some of them when testing with obscure command lines.
   5583     # This happens at least with the AIX C compiler.
   5584     : > sub/conftest.c
   5585     for i in 1 2 3 4 5 6; do
   5586       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5587       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5588       # Solaris 8's {/usr,}/bin/sh.
   5589       touch sub/conftst$i.h
   5590     done
   5591     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5592 
   5593     case $depmode in
   5594     nosideeffect)
   5595       # after this tag, mechanisms are not by side-effect, so they'll
   5596       # only be used when explicitly requested
   5597       if test "x$enable_dependency_tracking" = xyes; then
   5598 	continue
   5599       else
   5600 	break
   5601       fi
   5602       ;;
   5603     none) break ;;
   5604     esac
   5605     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5606     # mode.  It turns out that the SunPro C++ compiler does not properly
   5607     # handle `-M -o', and we need to detect this.
   5608     if depmode=$depmode \
   5609        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5610        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5611        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5612          >/dev/null 2>conftest.err &&
   5613        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5614        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5615        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5616        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5617       # icc doesn't choke on unknown options, it will just issue warnings
   5618       # or remarks (even with -Werror).  So we grep stderr for any message
   5619       # that says an option was ignored or not supported.
   5620       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5621       #   icc: Command line warning: ignoring option '-M'; no argument required
   5622       # The diagnosis changed in icc 8.0:
   5623       #   icc: Command line remark: option '-MP' not supported
   5624       if (grep 'ignoring option' conftest.err ||
   5625           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5626         am_cv_CXX_dependencies_compiler_type=$depmode
   5627         break
   5628       fi
   5629     fi
   5630   done
   5631 
   5632   cd ..
   5633   rm -rf conftest.dir
   5634 else
   5635   am_cv_CXX_dependencies_compiler_type=none
   5636 fi
   5637 
   5638 fi
   5639 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5640 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5641 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5642 
   5643  if
   5644   test "x$enable_dependency_tracking" != xno \
   5645   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5646   am__fastdepCXX_TRUE=
   5647   am__fastdepCXX_FALSE='#'
   5648 else
   5649   am__fastdepCXX_TRUE='#'
   5650   am__fastdepCXX_FALSE=
   5651 fi
   5652 
   5653 
   5654 
   5655 
   5656 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5657     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5658     (test "X$CXX" != "Xg++"))) ; then
   5659   ac_ext=cpp
   5660 ac_cpp='$CXXCPP $CPPFLAGS'
   5661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5664 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5665 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5666 if test -z "$CXXCPP"; then
   5667   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5668   echo $ECHO_N "(cached) $ECHO_C" >&6
   5669 else
   5670       # Double quotes because CXXCPP needs to be expanded
   5671     for CXXCPP in "$CXX -E" "/lib/cpp"
   5672     do
   5673       ac_preproc_ok=false
   5674 for ac_cxx_preproc_warn_flag in '' yes
   5675 do
   5676   # Use a header file that comes with gcc, so configuring glibc
   5677   # with a fresh cross-compiler works.
   5678   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5679   # <limits.h> exists even on freestanding compilers.
   5680   # On the NeXT, cc -E runs the code through the compiler's parser,
   5681   # not just through cpp. "Syntax error" is here to catch this case.
   5682   cat >conftest.$ac_ext <<_ACEOF
   5683 /* confdefs.h.  */
   5684 _ACEOF
   5685 cat confdefs.h >>conftest.$ac_ext
   5686 cat >>conftest.$ac_ext <<_ACEOF
   5687 /* end confdefs.h.  */
   5688 #ifdef __STDC__
   5689 # include <limits.h>
   5690 #else
   5691 # include <assert.h>
   5692 #endif
   5693 		     Syntax error
   5694 _ACEOF
   5695 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5696 case "(($ac_try" in
   5697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5698   *) ac_try_echo=$ac_try;;
   5699 esac
   5700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5701   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5702   ac_status=$?
   5703   grep -v '^ *+' conftest.er1 >conftest.err
   5704   rm -f conftest.er1
   5705   cat conftest.err >&5
   5706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5707   (exit $ac_status); } >/dev/null && {
   5708 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5709 	 test ! -s conftest.err
   5710        }; then
   5711   :
   5712 else
   5713   echo "$as_me: failed program was:" >&5
   5714 sed 's/^/| /' conftest.$ac_ext >&5
   5715 
   5716   # Broken: fails on valid input.
   5717 continue
   5718 fi
   5719 
   5720 rm -f conftest.err conftest.$ac_ext
   5721 
   5722   # OK, works on sane cases.  Now check whether nonexistent headers
   5723   # can be detected and how.
   5724   cat >conftest.$ac_ext <<_ACEOF
   5725 /* confdefs.h.  */
   5726 _ACEOF
   5727 cat confdefs.h >>conftest.$ac_ext
   5728 cat >>conftest.$ac_ext <<_ACEOF
   5729 /* end confdefs.h.  */
   5730 #include <ac_nonexistent.h>
   5731 _ACEOF
   5732 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5733 case "(($ac_try" in
   5734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5735   *) ac_try_echo=$ac_try;;
   5736 esac
   5737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5738   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5739   ac_status=$?
   5740   grep -v '^ *+' conftest.er1 >conftest.err
   5741   rm -f conftest.er1
   5742   cat conftest.err >&5
   5743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5744   (exit $ac_status); } >/dev/null && {
   5745 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5746 	 test ! -s conftest.err
   5747        }; then
   5748   # Broken: success on invalid input.
   5749 continue
   5750 else
   5751   echo "$as_me: failed program was:" >&5
   5752 sed 's/^/| /' conftest.$ac_ext >&5
   5753 
   5754   # Passes both tests.
   5755 ac_preproc_ok=:
   5756 break
   5757 fi
   5758 
   5759 rm -f conftest.err conftest.$ac_ext
   5760 
   5761 done
   5762 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5763 rm -f conftest.err conftest.$ac_ext
   5764 if $ac_preproc_ok; then
   5765   break
   5766 fi
   5767 
   5768     done
   5769     ac_cv_prog_CXXCPP=$CXXCPP
   5770 
   5771 fi
   5772   CXXCPP=$ac_cv_prog_CXXCPP
   5773 else
   5774   ac_cv_prog_CXXCPP=$CXXCPP
   5775 fi
   5776 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5777 echo "${ECHO_T}$CXXCPP" >&6; }
   5778 ac_preproc_ok=false
   5779 for ac_cxx_preproc_warn_flag in '' yes
   5780 do
   5781   # Use a header file that comes with gcc, so configuring glibc
   5782   # with a fresh cross-compiler works.
   5783   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5784   # <limits.h> exists even on freestanding compilers.
   5785   # On the NeXT, cc -E runs the code through the compiler's parser,
   5786   # not just through cpp. "Syntax error" is here to catch this case.
   5787   cat >conftest.$ac_ext <<_ACEOF
   5788 /* confdefs.h.  */
   5789 _ACEOF
   5790 cat confdefs.h >>conftest.$ac_ext
   5791 cat >>conftest.$ac_ext <<_ACEOF
   5792 /* end confdefs.h.  */
   5793 #ifdef __STDC__
   5794 # include <limits.h>
   5795 #else
   5796 # include <assert.h>
   5797 #endif
   5798 		     Syntax error
   5799 _ACEOF
   5800 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5801 case "(($ac_try" in
   5802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5803   *) ac_try_echo=$ac_try;;
   5804 esac
   5805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5806   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5807   ac_status=$?
   5808   grep -v '^ *+' conftest.er1 >conftest.err
   5809   rm -f conftest.er1
   5810   cat conftest.err >&5
   5811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5812   (exit $ac_status); } >/dev/null && {
   5813 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5814 	 test ! -s conftest.err
   5815        }; then
   5816   :
   5817 else
   5818   echo "$as_me: failed program was:" >&5
   5819 sed 's/^/| /' conftest.$ac_ext >&5
   5820 
   5821   # Broken: fails on valid input.
   5822 continue
   5823 fi
   5824 
   5825 rm -f conftest.err conftest.$ac_ext
   5826 
   5827   # OK, works on sane cases.  Now check whether nonexistent headers
   5828   # can be detected and how.
   5829   cat >conftest.$ac_ext <<_ACEOF
   5830 /* confdefs.h.  */
   5831 _ACEOF
   5832 cat confdefs.h >>conftest.$ac_ext
   5833 cat >>conftest.$ac_ext <<_ACEOF
   5834 /* end confdefs.h.  */
   5835 #include <ac_nonexistent.h>
   5836 _ACEOF
   5837 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5838 case "(($ac_try" in
   5839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5840   *) ac_try_echo=$ac_try;;
   5841 esac
   5842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5843   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5844   ac_status=$?
   5845   grep -v '^ *+' conftest.er1 >conftest.err
   5846   rm -f conftest.er1
   5847   cat conftest.err >&5
   5848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5849   (exit $ac_status); } >/dev/null && {
   5850 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5851 	 test ! -s conftest.err
   5852        }; then
   5853   # Broken: success on invalid input.
   5854 continue
   5855 else
   5856   echo "$as_me: failed program was:" >&5
   5857 sed 's/^/| /' conftest.$ac_ext >&5
   5858 
   5859   # Passes both tests.
   5860 ac_preproc_ok=:
   5861 break
   5862 fi
   5863 
   5864 rm -f conftest.err conftest.$ac_ext
   5865 
   5866 done
   5867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5868 rm -f conftest.err conftest.$ac_ext
   5869 if $ac_preproc_ok; then
   5870   :
   5871 else
   5872   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5873 See \`config.log' for more details." >&5
   5874 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5875 See \`config.log' for more details." >&2;}
   5876    { (exit 1); exit 1; }; }
   5877 fi
   5878 
   5879 ac_ext=cpp
   5880 ac_cpp='$CXXCPP $CPPFLAGS'
   5881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5884 
   5885 fi
   5886 
   5887 
   5888 ac_ext=f
   5889 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5890 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5891 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5892 if test -n "$ac_tool_prefix"; then
   5893   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
   5894   do
   5895     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5896 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5899 if test "${ac_cv_prog_F77+set}" = set; then
   5900   echo $ECHO_N "(cached) $ECHO_C" >&6
   5901 else
   5902   if test -n "$F77"; then
   5903   ac_cv_prog_F77="$F77" # Let the user override the test.
   5904 else
   5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5906 for as_dir in $PATH
   5907 do
   5908   IFS=$as_save_IFS
   5909   test -z "$as_dir" && as_dir=.
   5910   for ac_exec_ext in '' $ac_executable_extensions; do
   5911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5912     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5913     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5914     break 2
   5915   fi
   5916 done
   5917 done
   5918 IFS=$as_save_IFS
   5919 
   5920 fi
   5921 fi
   5922 F77=$ac_cv_prog_F77
   5923 if test -n "$F77"; then
   5924   { echo "$as_me:$LINENO: result: $F77" >&5
   5925 echo "${ECHO_T}$F77" >&6; }
   5926 else
   5927   { echo "$as_me:$LINENO: result: no" >&5
   5928 echo "${ECHO_T}no" >&6; }
   5929 fi
   5930 
   5931 
   5932     test -n "$F77" && break
   5933   done
   5934 fi
   5935 if test -z "$F77"; then
   5936   ac_ct_F77=$F77
   5937   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
   5938 do
   5939   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5940 set dummy $ac_prog; ac_word=$2
   5941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5943 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5944   echo $ECHO_N "(cached) $ECHO_C" >&6
   5945 else
   5946   if test -n "$ac_ct_F77"; then
   5947   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5948 else
   5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5950 for as_dir in $PATH
   5951 do
   5952   IFS=$as_save_IFS
   5953   test -z "$as_dir" && as_dir=.
   5954   for ac_exec_ext in '' $ac_executable_extensions; do
   5955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5956     ac_cv_prog_ac_ct_F77="$ac_prog"
   5957     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5958     break 2
   5959   fi
   5960 done
   5961 done
   5962 IFS=$as_save_IFS
   5963 
   5964 fi
   5965 fi
   5966 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5967 if test -n "$ac_ct_F77"; then
   5968   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5969 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5970 else
   5971   { echo "$as_me:$LINENO: result: no" >&5
   5972 echo "${ECHO_T}no" >&6; }
   5973 fi
   5974 
   5975 
   5976   test -n "$ac_ct_F77" && break
   5977 done
   5978 
   5979   if test "x$ac_ct_F77" = x; then
   5980     F77=""
   5981   else
   5982     case $cross_compiling:$ac_tool_warned in
   5983 yes:)
   5984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5985 whose name does not start with the host triplet.  If you think this
   5986 configuration is useful to you, please write to autoconf@gnu.org." >&5
   5987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5988 whose name does not start with the host triplet.  If you think this
   5989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   5990 ac_tool_warned=yes ;;
   5991 esac
   5992     F77=$ac_ct_F77
   5993   fi
   5994 fi
   5995 
   5996 
   5997 # Provide some information about the compiler.
   5998 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   5999 ac_compiler=`set X $ac_compile; echo $2`
   6000 { (ac_try="$ac_compiler --version >&5"
   6001 case "(($ac_try" in
   6002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6003   *) ac_try_echo=$ac_try;;
   6004 esac
   6005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6006   (eval "$ac_compiler --version >&5") 2>&5
   6007   ac_status=$?
   6008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6009   (exit $ac_status); }
   6010 { (ac_try="$ac_compiler -v >&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 -v >&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 rm -f a.out
   6031 
   6032 # If we don't use `.F' as extension, the preprocessor is not run on the
   6033 # input file.  (Note that this only needs to work for GNU compilers.)
   6034 ac_save_ext=$ac_ext
   6035 ac_ext=F
   6036 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6037 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6038 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6039   echo $ECHO_N "(cached) $ECHO_C" >&6
   6040 else
   6041   cat >conftest.$ac_ext <<_ACEOF
   6042       program main
   6043 #ifndef __GNUC__
   6044        choke me
   6045 #endif
   6046 
   6047       end
   6048 _ACEOF
   6049 rm -f conftest.$ac_objext
   6050 if { (ac_try="$ac_compile"
   6051 case "(($ac_try" in
   6052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6053   *) ac_try_echo=$ac_try;;
   6054 esac
   6055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6056   (eval "$ac_compile") 2>conftest.er1
   6057   ac_status=$?
   6058   grep -v '^ *+' conftest.er1 >conftest.err
   6059   rm -f conftest.er1
   6060   cat conftest.err >&5
   6061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6062   (exit $ac_status); } && {
   6063 	 test -z "$ac_f77_werror_flag" ||
   6064 	 test ! -s conftest.err
   6065        } && test -s conftest.$ac_objext; then
   6066   ac_compiler_gnu=yes
   6067 else
   6068   echo "$as_me: failed program was:" >&5
   6069 sed 's/^/| /' conftest.$ac_ext >&5
   6070 
   6071 	ac_compiler_gnu=no
   6072 fi
   6073 
   6074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6075 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6076 
   6077 fi
   6078 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6079 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6080 ac_ext=$ac_save_ext
   6081 ac_test_FFLAGS=${FFLAGS+set}
   6082 ac_save_FFLAGS=$FFLAGS
   6083 FFLAGS=
   6084 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6085 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6086 if test "${ac_cv_prog_f77_g+set}" = set; then
   6087   echo $ECHO_N "(cached) $ECHO_C" >&6
   6088 else
   6089   FFLAGS=-g
   6090 cat >conftest.$ac_ext <<_ACEOF
   6091       program main
   6092 
   6093       end
   6094 _ACEOF
   6095 rm -f conftest.$ac_objext
   6096 if { (ac_try="$ac_compile"
   6097 case "(($ac_try" in
   6098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6099   *) ac_try_echo=$ac_try;;
   6100 esac
   6101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6102   (eval "$ac_compile") 2>conftest.er1
   6103   ac_status=$?
   6104   grep -v '^ *+' conftest.er1 >conftest.err
   6105   rm -f conftest.er1
   6106   cat conftest.err >&5
   6107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6108   (exit $ac_status); } && {
   6109 	 test -z "$ac_f77_werror_flag" ||
   6110 	 test ! -s conftest.err
   6111        } && test -s conftest.$ac_objext; then
   6112   ac_cv_prog_f77_g=yes
   6113 else
   6114   echo "$as_me: failed program was:" >&5
   6115 sed 's/^/| /' conftest.$ac_ext >&5
   6116 
   6117 	ac_cv_prog_f77_g=no
   6118 fi
   6119 
   6120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6121 
   6122 fi
   6123 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6124 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6125 if test "$ac_test_FFLAGS" = set; then
   6126   FFLAGS=$ac_save_FFLAGS
   6127 elif test $ac_cv_prog_f77_g = yes; then
   6128   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6129     FFLAGS="-g -O2"
   6130   else
   6131     FFLAGS="-g"
   6132   fi
   6133 else
   6134   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6135     FFLAGS="-O2"
   6136   else
   6137     FFLAGS=
   6138   fi
   6139 fi
   6140 
   6141 G77=`test $ac_compiler_gnu = yes && echo yes`
   6142 ac_ext=c
   6143 ac_cpp='$CPP $CPPFLAGS'
   6144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6147 
   6148 
   6149 
   6150 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6151 
   6152 # find the maximum length of command line arguments
   6153 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6154 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6155 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6156   echo $ECHO_N "(cached) $ECHO_C" >&6
   6157 else
   6158     i=0
   6159   teststring="ABCD"
   6160 
   6161   case $build_os in
   6162   msdosdjgpp*)
   6163     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6164     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6165     # during glob expansion).  Even if it were fixed, the result of this
   6166     # check would be larger than it should be.
   6167     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6168     ;;
   6169 
   6170   gnu*)
   6171     # Under GNU Hurd, this test is not required because there is
   6172     # no limit to the length of command line arguments.
   6173     # Libtool will interpret -1 as no limit whatsoever
   6174     lt_cv_sys_max_cmd_len=-1;
   6175     ;;
   6176 
   6177   cygwin* | mingw*)
   6178     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6179     # about 5 minutes as the teststring grows exponentially.
   6180     # Worse, since 9x/ME are not pre-emptively multitasking,
   6181     # you end up with a "frozen" computer, even though with patience
   6182     # the test eventually succeeds (with a max line length of 256k).
   6183     # Instead, let's just punt: use the minimum linelength reported by
   6184     # all of the supported platforms: 8192 (on NT/2K/XP).
   6185     lt_cv_sys_max_cmd_len=8192;
   6186     ;;
   6187 
   6188   amigaos*)
   6189     # On AmigaOS with pdksh, this test takes hours, literally.
   6190     # So we just punt and use a minimum line length of 8192.
   6191     lt_cv_sys_max_cmd_len=8192;
   6192     ;;
   6193 
   6194   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6195     # This has been around since 386BSD, at least.  Likely further.
   6196     if test -x /sbin/sysctl; then
   6197       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6198     elif test -x /usr/sbin/sysctl; then
   6199       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6200     else
   6201       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6202     fi
   6203     # And add a safety zone
   6204     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6205     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6206     ;;
   6207 
   6208   interix*)
   6209     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6210     lt_cv_sys_max_cmd_len=196608
   6211     ;;
   6212 
   6213   osf*)
   6214     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6215     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6216     # nice to cause kernel panics so lets avoid the loop below.
   6217     # First set a reasonable default.
   6218     lt_cv_sys_max_cmd_len=16384
   6219     #
   6220     if test -x /sbin/sysconfig; then
   6221       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6222         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6223       esac
   6224     fi
   6225     ;;
   6226   sco3.2v5*)
   6227     lt_cv_sys_max_cmd_len=102400
   6228     ;;
   6229   sysv5* | sco5v6* | sysv4.2uw2*)
   6230     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6231     if test -n "$kargmax"; then
   6232       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6233     else
   6234       lt_cv_sys_max_cmd_len=32768
   6235     fi
   6236     ;;
   6237   *)
   6238     # If test is not a shell built-in, we'll probably end up computing a
   6239     # maximum length that is only half of the actual maximum length, but
   6240     # we can't tell.
   6241     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6242     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6243 	       = "XX$teststring") >/dev/null 2>&1 &&
   6244 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6245 	    lt_cv_sys_max_cmd_len=$new_result &&
   6246 	    test $i != 17 # 1/2 MB should be enough
   6247     do
   6248       i=`expr $i + 1`
   6249       teststring=$teststring$teststring
   6250     done
   6251     teststring=
   6252     # Add a significant safety factor because C++ compilers can tack on massive
   6253     # amounts of additional arguments before passing them to the linker.
   6254     # It appears as though 1/2 is a usable value.
   6255     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6256     ;;
   6257   esac
   6258 
   6259 fi
   6260 
   6261 if test -n $lt_cv_sys_max_cmd_len ; then
   6262   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6263 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6264 else
   6265   { echo "$as_me:$LINENO: result: none" >&5
   6266 echo "${ECHO_T}none" >&6; }
   6267 fi
   6268 
   6269 
   6270 
   6271 
   6272 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6273 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6274 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6275 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6276   echo $ECHO_N "(cached) $ECHO_C" >&6
   6277 else
   6278 
   6279 # These are sane defaults that work on at least a few old systems.
   6280 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6281 
   6282 # Character class describing NM global symbol codes.
   6283 symcode='[BCDEGRST]'
   6284 
   6285 # Regexp to match symbols that can be accessed directly from C.
   6286 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6287 
   6288 # Transform an extracted symbol line into a proper C declaration
   6289 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6290 
   6291 # Transform an extracted symbol line into symbol name and symbol address
   6292 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'"
   6293 
   6294 # Define system-specific variables.
   6295 case $host_os in
   6296 aix*)
   6297   symcode='[BCDT]'
   6298   ;;
   6299 cygwin* | mingw* | pw32*)
   6300   symcode='[ABCDGISTW]'
   6301   ;;
   6302 hpux*) # Its linker distinguishes data from code symbols
   6303   if test "$host_cpu" = ia64; then
   6304     symcode='[ABCDEGRST]'
   6305   fi
   6306   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6307   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'"
   6308   ;;
   6309 linux*)
   6310   if test "$host_cpu" = ia64; then
   6311     symcode='[ABCDGIRSTW]'
   6312     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6313     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'"
   6314   fi
   6315   ;;
   6316 irix* | nonstopux*)
   6317   symcode='[BCDEGRST]'
   6318   ;;
   6319 osf*)
   6320   symcode='[BCDEGQRST]'
   6321   ;;
   6322 solaris*)
   6323   symcode='[BDRT]'
   6324   ;;
   6325 sco3.2v5*)
   6326   symcode='[DT]'
   6327   ;;
   6328 sysv4.2uw2*)
   6329   symcode='[DT]'
   6330   ;;
   6331 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6332   symcode='[ABDT]'
   6333   ;;
   6334 sysv4)
   6335   symcode='[DFNSTU]'
   6336   ;;
   6337 esac
   6338 
   6339 # Handle CRLF in mingw tool chain
   6340 opt_cr=
   6341 case $build_os in
   6342 mingw*)
   6343   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6344   ;;
   6345 esac
   6346 
   6347 # If we're using GNU nm, then use its standard symbol codes.
   6348 case `$NM -V 2>&1` in
   6349 *GNU* | *'with BFD'*)
   6350   symcode='[ABCDGIRSTW]' ;;
   6351 esac
   6352 
   6353 # Try without a prefix undercore, then with it.
   6354 for ac_symprfx in "" "_"; do
   6355 
   6356   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6357   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6358 
   6359   # Write the raw and C identifiers.
   6360   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6361 
   6362   # Check to see that the pipe works correctly.
   6363   pipe_works=no
   6364 
   6365   rm -f conftest*
   6366   cat > conftest.$ac_ext <<EOF
   6367 #ifdef __cplusplus
   6368 extern "C" {
   6369 #endif
   6370 char nm_test_var;
   6371 void nm_test_func(){}
   6372 #ifdef __cplusplus
   6373 }
   6374 #endif
   6375 int main(){nm_test_var='a';nm_test_func();return(0);}
   6376 EOF
   6377 
   6378   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6379   (eval $ac_compile) 2>&5
   6380   ac_status=$?
   6381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6382   (exit $ac_status); }; then
   6383     # Now try to grab the symbols.
   6384     nlist=conftest.nm
   6385     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6386   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6387   ac_status=$?
   6388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6389   (exit $ac_status); } && test -s "$nlist"; then
   6390       # Try sorting and uniquifying the output.
   6391       if sort "$nlist" | uniq > "$nlist"T; then
   6392 	mv -f "$nlist"T "$nlist"
   6393       else
   6394 	rm -f "$nlist"T
   6395       fi
   6396 
   6397       # Make sure that we snagged all the symbols we need.
   6398       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6399 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6400 	  cat <<EOF > conftest.$ac_ext
   6401 #ifdef __cplusplus
   6402 extern "C" {
   6403 #endif
   6404 
   6405 EOF
   6406 	  # Now generate the symbol file.
   6407 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6408 
   6409 	  cat <<EOF >> conftest.$ac_ext
   6410 #if defined (__STDC__) && __STDC__
   6411 # define lt_ptr_t void *
   6412 #else
   6413 # define lt_ptr_t char *
   6414 # define const
   6415 #endif
   6416 
   6417 /* The mapping between symbol names and symbols. */
   6418 const struct {
   6419   const char *name;
   6420   lt_ptr_t address;
   6421 }
   6422 lt_preloaded_symbols[] =
   6423 {
   6424 EOF
   6425 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6426 	  cat <<\EOF >> conftest.$ac_ext
   6427   {0, (lt_ptr_t) 0}
   6428 };
   6429 
   6430 #ifdef __cplusplus
   6431 }
   6432 #endif
   6433 EOF
   6434 	  # Now try linking the two files.
   6435 	  mv conftest.$ac_objext conftstm.$ac_objext
   6436 	  lt_save_LIBS="$LIBS"
   6437 	  lt_save_CFLAGS="$CFLAGS"
   6438 	  LIBS="conftstm.$ac_objext"
   6439 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6440 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6441   (eval $ac_link) 2>&5
   6442   ac_status=$?
   6443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6444   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6445 	    pipe_works=yes
   6446 	  fi
   6447 	  LIBS="$lt_save_LIBS"
   6448 	  CFLAGS="$lt_save_CFLAGS"
   6449 	else
   6450 	  echo "cannot find nm_test_func in $nlist" >&5
   6451 	fi
   6452       else
   6453 	echo "cannot find nm_test_var in $nlist" >&5
   6454       fi
   6455     else
   6456       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6457     fi
   6458   else
   6459     echo "$progname: failed program was:" >&5
   6460     cat conftest.$ac_ext >&5
   6461   fi
   6462   rm -f conftest* conftst*
   6463 
   6464   # Do not use the global_symbol_pipe unless it works.
   6465   if test "$pipe_works" = yes; then
   6466     break
   6467   else
   6468     lt_cv_sys_global_symbol_pipe=
   6469   fi
   6470 done
   6471 
   6472 fi
   6473 
   6474 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6475   lt_cv_sys_global_symbol_to_cdecl=
   6476 fi
   6477 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6478   { echo "$as_me:$LINENO: result: failed" >&5
   6479 echo "${ECHO_T}failed" >&6; }
   6480 else
   6481   { echo "$as_me:$LINENO: result: ok" >&5
   6482 echo "${ECHO_T}ok" >&6; }
   6483 fi
   6484 
   6485 { echo "$as_me:$LINENO: checking for objdir" >&5
   6486 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6487 if test "${lt_cv_objdir+set}" = set; then
   6488   echo $ECHO_N "(cached) $ECHO_C" >&6
   6489 else
   6490   rm -f .libs 2>/dev/null
   6491 mkdir .libs 2>/dev/null
   6492 if test -d .libs; then
   6493   lt_cv_objdir=.libs
   6494 else
   6495   # MS-DOS does not allow filenames that begin with a dot.
   6496   lt_cv_objdir=_libs
   6497 fi
   6498 rmdir .libs 2>/dev/null
   6499 fi
   6500 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6501 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6502 objdir=$lt_cv_objdir
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 case $host_os in
   6509 aix3*)
   6510   # AIX sometimes has problems with the GCC collect2 program.  For some
   6511   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6512   # vanish in a puff of smoke.
   6513   if test "X${COLLECT_NAMES+set}" != Xset; then
   6514     COLLECT_NAMES=
   6515     export COLLECT_NAMES
   6516   fi
   6517   ;;
   6518 esac
   6519 
   6520 # Sed substitution that helps us do robust quoting.  It backslashifies
   6521 # metacharacters that are still active within double-quoted strings.
   6522 Xsed='sed -e 1s/^X//'
   6523 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6524 
   6525 # Same as above, but do not quote variable references.
   6526 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6527 
   6528 # Sed substitution to delay expansion of an escaped shell variable in a
   6529 # double_quote_subst'ed string.
   6530 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6531 
   6532 # Sed substitution to avoid accidental globbing in evaled expressions
   6533 no_glob_subst='s/\*/\\\*/g'
   6534 
   6535 # Constants:
   6536 rm="rm -f"
   6537 
   6538 # Global variables:
   6539 default_ofile=libtool
   6540 can_build_shared=yes
   6541 
   6542 # All known linkers require a `.a' archive for static linking (except MSVC,
   6543 # which needs '.lib').
   6544 libext=a
   6545 ltmain="$ac_aux_dir/ltmain.sh"
   6546 ofile="$default_ofile"
   6547 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6548 
   6549 if test -n "$ac_tool_prefix"; then
   6550   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6551 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6554 if test "${ac_cv_prog_AR+set}" = set; then
   6555   echo $ECHO_N "(cached) $ECHO_C" >&6
   6556 else
   6557   if test -n "$AR"; then
   6558   ac_cv_prog_AR="$AR" # Let the user override the test.
   6559 else
   6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6561 for as_dir in $PATH
   6562 do
   6563   IFS=$as_save_IFS
   6564   test -z "$as_dir" && as_dir=.
   6565   for ac_exec_ext in '' $ac_executable_extensions; do
   6566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6567     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6568     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6569     break 2
   6570   fi
   6571 done
   6572 done
   6573 IFS=$as_save_IFS
   6574 
   6575 fi
   6576 fi
   6577 AR=$ac_cv_prog_AR
   6578 if test -n "$AR"; then
   6579   { echo "$as_me:$LINENO: result: $AR" >&5
   6580 echo "${ECHO_T}$AR" >&6; }
   6581 else
   6582   { echo "$as_me:$LINENO: result: no" >&5
   6583 echo "${ECHO_T}no" >&6; }
   6584 fi
   6585 
   6586 
   6587 fi
   6588 if test -z "$ac_cv_prog_AR"; then
   6589   ac_ct_AR=$AR
   6590   # Extract the first word of "ar", so it can be a program name with args.
   6591 set dummy ar; ac_word=$2
   6592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6594 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6595   echo $ECHO_N "(cached) $ECHO_C" >&6
   6596 else
   6597   if test -n "$ac_ct_AR"; then
   6598   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6599 else
   6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6601 for as_dir in $PATH
   6602 do
   6603   IFS=$as_save_IFS
   6604   test -z "$as_dir" && as_dir=.
   6605   for ac_exec_ext in '' $ac_executable_extensions; do
   6606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6607     ac_cv_prog_ac_ct_AR="ar"
   6608     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6609     break 2
   6610   fi
   6611 done
   6612 done
   6613 IFS=$as_save_IFS
   6614 
   6615 fi
   6616 fi
   6617 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6618 if test -n "$ac_ct_AR"; then
   6619   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6620 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6621 else
   6622   { echo "$as_me:$LINENO: result: no" >&5
   6623 echo "${ECHO_T}no" >&6; }
   6624 fi
   6625 
   6626   if test "x$ac_ct_AR" = x; then
   6627     AR="false"
   6628   else
   6629     case $cross_compiling:$ac_tool_warned in
   6630 yes:)
   6631 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6632 whose name does not start with the host triplet.  If you think this
   6633 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6634 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6635 whose name does not start with the host triplet.  If you think this
   6636 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6637 ac_tool_warned=yes ;;
   6638 esac
   6639     AR=$ac_ct_AR
   6640   fi
   6641 else
   6642   AR="$ac_cv_prog_AR"
   6643 fi
   6644 
   6645 if test -n "$ac_tool_prefix"; then
   6646   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6647 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6650 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6651   echo $ECHO_N "(cached) $ECHO_C" >&6
   6652 else
   6653   if test -n "$RANLIB"; then
   6654   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6655 else
   6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6657 for as_dir in $PATH
   6658 do
   6659   IFS=$as_save_IFS
   6660   test -z "$as_dir" && as_dir=.
   6661   for ac_exec_ext in '' $ac_executable_extensions; do
   6662   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6663     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6664     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6665     break 2
   6666   fi
   6667 done
   6668 done
   6669 IFS=$as_save_IFS
   6670 
   6671 fi
   6672 fi
   6673 RANLIB=$ac_cv_prog_RANLIB
   6674 if test -n "$RANLIB"; then
   6675   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6676 echo "${ECHO_T}$RANLIB" >&6; }
   6677 else
   6678   { echo "$as_me:$LINENO: result: no" >&5
   6679 echo "${ECHO_T}no" >&6; }
   6680 fi
   6681 
   6682 
   6683 fi
   6684 if test -z "$ac_cv_prog_RANLIB"; then
   6685   ac_ct_RANLIB=$RANLIB
   6686   # Extract the first word of "ranlib", so it can be a program name with args.
   6687 set dummy ranlib; ac_word=$2
   6688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6690 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6691   echo $ECHO_N "(cached) $ECHO_C" >&6
   6692 else
   6693   if test -n "$ac_ct_RANLIB"; then
   6694   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6695 else
   6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6697 for as_dir in $PATH
   6698 do
   6699   IFS=$as_save_IFS
   6700   test -z "$as_dir" && as_dir=.
   6701   for ac_exec_ext in '' $ac_executable_extensions; do
   6702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6703     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6704     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6705     break 2
   6706   fi
   6707 done
   6708 done
   6709 IFS=$as_save_IFS
   6710 
   6711 fi
   6712 fi
   6713 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6714 if test -n "$ac_ct_RANLIB"; then
   6715   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6716 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6717 else
   6718   { echo "$as_me:$LINENO: result: no" >&5
   6719 echo "${ECHO_T}no" >&6; }
   6720 fi
   6721 
   6722   if test "x$ac_ct_RANLIB" = x; then
   6723     RANLIB=":"
   6724   else
   6725     case $cross_compiling:$ac_tool_warned in
   6726 yes:)
   6727 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6728 whose name does not start with the host triplet.  If you think this
   6729 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6730 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6731 whose name does not start with the host triplet.  If you think this
   6732 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6733 ac_tool_warned=yes ;;
   6734 esac
   6735     RANLIB=$ac_ct_RANLIB
   6736   fi
   6737 else
   6738   RANLIB="$ac_cv_prog_RANLIB"
   6739 fi
   6740 
   6741 if test -n "$ac_tool_prefix"; then
   6742   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6743 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6746 if test "${ac_cv_prog_STRIP+set}" = set; then
   6747   echo $ECHO_N "(cached) $ECHO_C" >&6
   6748 else
   6749   if test -n "$STRIP"; then
   6750   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6751 else
   6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6753 for as_dir in $PATH
   6754 do
   6755   IFS=$as_save_IFS
   6756   test -z "$as_dir" && as_dir=.
   6757   for ac_exec_ext in '' $ac_executable_extensions; do
   6758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6759     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6760     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6761     break 2
   6762   fi
   6763 done
   6764 done
   6765 IFS=$as_save_IFS
   6766 
   6767 fi
   6768 fi
   6769 STRIP=$ac_cv_prog_STRIP
   6770 if test -n "$STRIP"; then
   6771   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6772 echo "${ECHO_T}$STRIP" >&6; }
   6773 else
   6774   { echo "$as_me:$LINENO: result: no" >&5
   6775 echo "${ECHO_T}no" >&6; }
   6776 fi
   6777 
   6778 
   6779 fi
   6780 if test -z "$ac_cv_prog_STRIP"; then
   6781   ac_ct_STRIP=$STRIP
   6782   # Extract the first word of "strip", so it can be a program name with args.
   6783 set dummy strip; ac_word=$2
   6784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6786 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6787   echo $ECHO_N "(cached) $ECHO_C" >&6
   6788 else
   6789   if test -n "$ac_ct_STRIP"; then
   6790   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6791 else
   6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6793 for as_dir in $PATH
   6794 do
   6795   IFS=$as_save_IFS
   6796   test -z "$as_dir" && as_dir=.
   6797   for ac_exec_ext in '' $ac_executable_extensions; do
   6798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6799     ac_cv_prog_ac_ct_STRIP="strip"
   6800     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6801     break 2
   6802   fi
   6803 done
   6804 done
   6805 IFS=$as_save_IFS
   6806 
   6807 fi
   6808 fi
   6809 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6810 if test -n "$ac_ct_STRIP"; then
   6811   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6812 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6813 else
   6814   { echo "$as_me:$LINENO: result: no" >&5
   6815 echo "${ECHO_T}no" >&6; }
   6816 fi
   6817 
   6818   if test "x$ac_ct_STRIP" = x; then
   6819     STRIP=":"
   6820   else
   6821     case $cross_compiling:$ac_tool_warned in
   6822 yes:)
   6823 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6824 whose name does not start with the host triplet.  If you think this
   6825 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6826 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6827 whose name does not start with the host triplet.  If you think this
   6828 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6829 ac_tool_warned=yes ;;
   6830 esac
   6831     STRIP=$ac_ct_STRIP
   6832   fi
   6833 else
   6834   STRIP="$ac_cv_prog_STRIP"
   6835 fi
   6836 
   6837 
   6838 old_CC="$CC"
   6839 old_CFLAGS="$CFLAGS"
   6840 
   6841 # Set sane defaults for various variables
   6842 test -z "$AR" && AR=ar
   6843 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6844 test -z "$AS" && AS=as
   6845 test -z "$CC" && CC=cc
   6846 test -z "$LTCC" && LTCC=$CC
   6847 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6848 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6849 test -z "$LD" && LD=ld
   6850 test -z "$LN_S" && LN_S="ln -s"
   6851 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6852 test -z "$NM" && NM=nm
   6853 test -z "$SED" && SED=sed
   6854 test -z "$OBJDUMP" && OBJDUMP=objdump
   6855 test -z "$RANLIB" && RANLIB=:
   6856 test -z "$STRIP" && STRIP=:
   6857 test -z "$ac_objext" && ac_objext=o
   6858 
   6859 # Determine commands to create old-style static archives.
   6860 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6861 old_postinstall_cmds='chmod 644 $oldlib'
   6862 old_postuninstall_cmds=
   6863 
   6864 if test -n "$RANLIB"; then
   6865   case $host_os in
   6866   openbsd*)
   6867     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6868     ;;
   6869   *)
   6870     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6871     ;;
   6872   esac
   6873   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6874 fi
   6875 
   6876 for cc_temp in $compiler""; do
   6877   case $cc_temp in
   6878     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6879     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6880     \-*) ;;
   6881     *) break;;
   6882   esac
   6883 done
   6884 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6885 
   6886 
   6887 # Only perform the check for file, if the check method requires it
   6888 case $deplibs_check_method in
   6889 file_magic*)
   6890   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6891     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6892 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6893 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6894   echo $ECHO_N "(cached) $ECHO_C" >&6
   6895 else
   6896   case $MAGIC_CMD in
   6897 [\\/*] |  ?:[\\/]*)
   6898   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6899   ;;
   6900 *)
   6901   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6902   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6903   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6904   for ac_dir in $ac_dummy; do
   6905     IFS="$lt_save_ifs"
   6906     test -z "$ac_dir" && ac_dir=.
   6907     if test -f $ac_dir/${ac_tool_prefix}file; then
   6908       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6909       if test -n "$file_magic_test_file"; then
   6910 	case $deplibs_check_method in
   6911 	"file_magic "*)
   6912 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6913 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6914 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6915 	    $EGREP "$file_magic_regex" > /dev/null; then
   6916 	    :
   6917 	  else
   6918 	    cat <<EOF 1>&2
   6919 
   6920 *** Warning: the command libtool uses to detect shared libraries,
   6921 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6922 *** The result is that libtool may fail to recognize shared libraries
   6923 *** as such.  This will affect the creation of libtool libraries that
   6924 *** depend on shared libraries, but programs linked with such libtool
   6925 *** libraries will work regardless of this problem.  Nevertheless, you
   6926 *** may want to report the problem to your system manager and/or to
   6927 *** bug-libtool@gnu.org
   6928 
   6929 EOF
   6930 	  fi ;;
   6931 	esac
   6932       fi
   6933       break
   6934     fi
   6935   done
   6936   IFS="$lt_save_ifs"
   6937   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6938   ;;
   6939 esac
   6940 fi
   6941 
   6942 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6943 if test -n "$MAGIC_CMD"; then
   6944   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6945 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6946 else
   6947   { echo "$as_me:$LINENO: result: no" >&5
   6948 echo "${ECHO_T}no" >&6; }
   6949 fi
   6950 
   6951 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6952   if test -n "$ac_tool_prefix"; then
   6953     { echo "$as_me:$LINENO: checking for file" >&5
   6954 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6955 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6956   echo $ECHO_N "(cached) $ECHO_C" >&6
   6957 else
   6958   case $MAGIC_CMD in
   6959 [\\/*] |  ?:[\\/]*)
   6960   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6961   ;;
   6962 *)
   6963   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6964   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6965   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6966   for ac_dir in $ac_dummy; do
   6967     IFS="$lt_save_ifs"
   6968     test -z "$ac_dir" && ac_dir=.
   6969     if test -f $ac_dir/file; then
   6970       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6971       if test -n "$file_magic_test_file"; then
   6972 	case $deplibs_check_method in
   6973 	"file_magic "*)
   6974 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6975 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6976 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6977 	    $EGREP "$file_magic_regex" > /dev/null; then
   6978 	    :
   6979 	  else
   6980 	    cat <<EOF 1>&2
   6981 
   6982 *** Warning: the command libtool uses to detect shared libraries,
   6983 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6984 *** The result is that libtool may fail to recognize shared libraries
   6985 *** as such.  This will affect the creation of libtool libraries that
   6986 *** depend on shared libraries, but programs linked with such libtool
   6987 *** libraries will work regardless of this problem.  Nevertheless, you
   6988 *** may want to report the problem to your system manager and/or to
   6989 *** bug-libtool@gnu.org
   6990 
   6991 EOF
   6992 	  fi ;;
   6993 	esac
   6994       fi
   6995       break
   6996     fi
   6997   done
   6998   IFS="$lt_save_ifs"
   6999   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7000   ;;
   7001 esac
   7002 fi
   7003 
   7004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7005 if test -n "$MAGIC_CMD"; then
   7006   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7007 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7008 else
   7009   { echo "$as_me:$LINENO: result: no" >&5
   7010 echo "${ECHO_T}no" >&6; }
   7011 fi
   7012 
   7013   else
   7014     MAGIC_CMD=:
   7015   fi
   7016 fi
   7017 
   7018   fi
   7019   ;;
   7020 esac
   7021 
   7022 enable_dlopen=no
   7023 enable_win32_dll=no
   7024 
   7025 # Check whether --enable-libtool-lock was given.
   7026 if test "${enable_libtool_lock+set}" = set; then
   7027   enableval=$enable_libtool_lock;
   7028 fi
   7029 
   7030 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7031 
   7032 
   7033 # Check whether --with-pic was given.
   7034 if test "${with_pic+set}" = set; then
   7035   withval=$with_pic; pic_mode="$withval"
   7036 else
   7037   pic_mode=default
   7038 fi
   7039 
   7040 test -z "$pic_mode" && pic_mode=default
   7041 
   7042 # Use C for the default configuration in the libtool script
   7043 tagname=
   7044 lt_save_CC="$CC"
   7045 ac_ext=c
   7046 ac_cpp='$CPP $CPPFLAGS'
   7047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7050 
   7051 
   7052 # Source file extension for C test sources.
   7053 ac_ext=c
   7054 
   7055 # Object file extension for compiled C test sources.
   7056 objext=o
   7057 objext=$objext
   7058 
   7059 # Code to be used in simple compile tests
   7060 lt_simple_compile_test_code="int some_variable = 0;\n"
   7061 
   7062 # Code to be used in simple link tests
   7063 lt_simple_link_test_code='int main(){return(0);}\n'
   7064 
   7065 
   7066 # If no C compiler was specified, use CC.
   7067 LTCC=${LTCC-"$CC"}
   7068 
   7069 # If no C compiler flags were specified, use CFLAGS.
   7070 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7071 
   7072 # Allow CC to be a program name with arguments.
   7073 compiler=$CC
   7074 
   7075 
   7076 # save warnings/boilerplate of simple test code
   7077 ac_outfile=conftest.$ac_objext
   7078 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7079 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7080 _lt_compiler_boilerplate=`cat conftest.err`
   7081 $rm conftest*
   7082 
   7083 ac_outfile=conftest.$ac_objext
   7084 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7085 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7086 _lt_linker_boilerplate=`cat conftest.err`
   7087 $rm conftest*
   7088 
   7089 
   7090 
   7091 lt_prog_compiler_no_builtin_flag=
   7092 
   7093 if test "$GCC" = yes; then
   7094   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7095 
   7096 
   7097 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7098 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7099 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7100   echo $ECHO_N "(cached) $ECHO_C" >&6
   7101 else
   7102   lt_cv_prog_compiler_rtti_exceptions=no
   7103   ac_outfile=conftest.$ac_objext
   7104    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7105    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7106    # Insert the option either (1) after the last *FLAGS variable, or
   7107    # (2) before a word containing "conftest.", or (3) at the end.
   7108    # Note that $ac_compile itself does not contain backslashes and begins
   7109    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7110    # The option is referenced via a variable to avoid confusing sed.
   7111    lt_compile=`echo "$ac_compile" | $SED \
   7112    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7113    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7114    -e 's:$: $lt_compiler_flag:'`
   7115    (eval echo "\"\$as_me:7115: $lt_compile\"" >&5)
   7116    (eval "$lt_compile" 2>conftest.err)
   7117    ac_status=$?
   7118    cat conftest.err >&5
   7119    echo "$as_me:7119: \$? = $ac_status" >&5
   7120    if (exit $ac_status) && test -s "$ac_outfile"; then
   7121      # The compiler can only warn and ignore the option if not recognized
   7122      # So say no if there are warnings other than the usual output.
   7123      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7124      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7125      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7126        lt_cv_prog_compiler_rtti_exceptions=yes
   7127      fi
   7128    fi
   7129    $rm conftest*
   7130 
   7131 fi
   7132 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7133 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7134 
   7135 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7136     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7137 else
   7138     :
   7139 fi
   7140 
   7141 fi
   7142 
   7143 lt_prog_compiler_wl=
   7144 lt_prog_compiler_pic=
   7145 lt_prog_compiler_static=
   7146 
   7147 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7148 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7149 
   7150   if test "$GCC" = yes; then
   7151     lt_prog_compiler_wl='-Wl,'
   7152     lt_prog_compiler_static='-static'
   7153 
   7154     case $host_os in
   7155       aix*)
   7156       # All AIX code is PIC.
   7157       if test "$host_cpu" = ia64; then
   7158 	# AIX 5 now supports IA64 processor
   7159 	lt_prog_compiler_static='-Bstatic'
   7160       fi
   7161       ;;
   7162 
   7163     amigaos*)
   7164       # FIXME: we need at least 68020 code to build shared libraries, but
   7165       # adding the `-m68020' flag to GCC prevents building anything better,
   7166       # like `-m68040'.
   7167       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7168       ;;
   7169 
   7170     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7171       # PIC is the default for these OSes.
   7172       ;;
   7173 
   7174     mingw* | pw32* | os2*)
   7175       # This hack is so that the source file can tell whether it is being
   7176       # built for inclusion in a dll (and should export symbols for example).
   7177       lt_prog_compiler_pic='-DDLL_EXPORT'
   7178       ;;
   7179 
   7180     darwin* | rhapsody*)
   7181       # PIC is the default on this platform
   7182       # Common symbols not allowed in MH_DYLIB files
   7183       lt_prog_compiler_pic='-fno-common'
   7184       ;;
   7185 
   7186     interix3*)
   7187       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7188       # Instead, we relocate shared libraries at runtime.
   7189       ;;
   7190 
   7191     msdosdjgpp*)
   7192       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7193       # on systems that don't support them.
   7194       lt_prog_compiler_can_build_shared=no
   7195       enable_shared=no
   7196       ;;
   7197 
   7198     sysv4*MP*)
   7199       if test -d /usr/nec; then
   7200 	lt_prog_compiler_pic=-Kconform_pic
   7201       fi
   7202       ;;
   7203 
   7204     hpux*)
   7205       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7206       # not for PA HP-UX.
   7207       case $host_cpu in
   7208       hppa*64*|ia64*)
   7209 	# +Z the default
   7210 	;;
   7211       *)
   7212 	lt_prog_compiler_pic='-fPIC'
   7213 	;;
   7214       esac
   7215       ;;
   7216 
   7217     *)
   7218       lt_prog_compiler_pic='-fPIC'
   7219       ;;
   7220     esac
   7221   else
   7222     # PORTME Check for flag to pass linker flags through the system compiler.
   7223     case $host_os in
   7224     aix*)
   7225       lt_prog_compiler_wl='-Wl,'
   7226       if test "$host_cpu" = ia64; then
   7227 	# AIX 5 now supports IA64 processor
   7228 	lt_prog_compiler_static='-Bstatic'
   7229       else
   7230 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7231       fi
   7232       ;;
   7233       darwin*)
   7234         # PIC is the default on this platform
   7235         # Common symbols not allowed in MH_DYLIB files
   7236        case $cc_basename in
   7237          xlc*)
   7238          lt_prog_compiler_pic='-qnocommon'
   7239          lt_prog_compiler_wl='-Wl,'
   7240          ;;
   7241        esac
   7242        ;;
   7243 
   7244     mingw* | pw32* | os2*)
   7245       # This hack is so that the source file can tell whether it is being
   7246       # built for inclusion in a dll (and should export symbols for example).
   7247       lt_prog_compiler_pic='-DDLL_EXPORT'
   7248       ;;
   7249 
   7250     hpux9* | hpux10* | hpux11*)
   7251       lt_prog_compiler_wl='-Wl,'
   7252       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7253       # not for PA HP-UX.
   7254       case $host_cpu in
   7255       hppa*64*|ia64*)
   7256 	# +Z the default
   7257 	;;
   7258       *)
   7259 	lt_prog_compiler_pic='+Z'
   7260 	;;
   7261       esac
   7262       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7263       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7264       ;;
   7265 
   7266     irix5* | irix6* | nonstopux*)
   7267       lt_prog_compiler_wl='-Wl,'
   7268       # PIC (with -KPIC) is the default.
   7269       lt_prog_compiler_static='-non_shared'
   7270       ;;
   7271 
   7272     newsos6)
   7273       lt_prog_compiler_pic='-KPIC'
   7274       lt_prog_compiler_static='-Bstatic'
   7275       ;;
   7276 
   7277     linux*)
   7278       case $cc_basename in
   7279       icc* | ecc*)
   7280 	lt_prog_compiler_wl='-Wl,'
   7281 	lt_prog_compiler_pic='-KPIC'
   7282 	lt_prog_compiler_static='-static'
   7283         ;;
   7284       pgcc* | pgf77* | pgf90* | pgf95*)
   7285         # Portland Group compilers (*not* the Pentium gcc compiler,
   7286 	# which looks to be a dead project)
   7287 	lt_prog_compiler_wl='-Wl,'
   7288 	lt_prog_compiler_pic='-fpic'
   7289 	lt_prog_compiler_static='-Bstatic'
   7290         ;;
   7291       ccc*)
   7292         lt_prog_compiler_wl='-Wl,'
   7293         # All Alpha code is PIC.
   7294         lt_prog_compiler_static='-non_shared'
   7295         ;;
   7296       esac
   7297       ;;
   7298 
   7299     osf3* | osf4* | osf5*)
   7300       lt_prog_compiler_wl='-Wl,'
   7301       # All OSF/1 code is PIC.
   7302       lt_prog_compiler_static='-non_shared'
   7303       ;;
   7304 
   7305     solaris*)
   7306       lt_prog_compiler_pic='-KPIC'
   7307       lt_prog_compiler_static='-Bstatic'
   7308       case $cc_basename in
   7309       f77* | f90* | f95*)
   7310 	lt_prog_compiler_wl='-Qoption ld ';;
   7311       *)
   7312 	lt_prog_compiler_wl='-Wl,';;
   7313       esac
   7314       ;;
   7315 
   7316     sunos4*)
   7317       lt_prog_compiler_wl='-Qoption ld '
   7318       lt_prog_compiler_pic='-PIC'
   7319       lt_prog_compiler_static='-Bstatic'
   7320       ;;
   7321 
   7322     sysv4 | sysv4.2uw2* | sysv4.3*)
   7323       lt_prog_compiler_wl='-Wl,'
   7324       lt_prog_compiler_pic='-KPIC'
   7325       lt_prog_compiler_static='-Bstatic'
   7326       ;;
   7327 
   7328     sysv4*MP*)
   7329       if test -d /usr/nec ;then
   7330 	lt_prog_compiler_pic='-Kconform_pic'
   7331 	lt_prog_compiler_static='-Bstatic'
   7332       fi
   7333       ;;
   7334 
   7335     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7336       lt_prog_compiler_wl='-Wl,'
   7337       lt_prog_compiler_pic='-KPIC'
   7338       lt_prog_compiler_static='-Bstatic'
   7339       ;;
   7340 
   7341     unicos*)
   7342       lt_prog_compiler_wl='-Wl,'
   7343       lt_prog_compiler_can_build_shared=no
   7344       ;;
   7345 
   7346     uts4*)
   7347       lt_prog_compiler_pic='-pic'
   7348       lt_prog_compiler_static='-Bstatic'
   7349       ;;
   7350 
   7351     *)
   7352       lt_prog_compiler_can_build_shared=no
   7353       ;;
   7354     esac
   7355   fi
   7356 
   7357 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7358 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7359 
   7360 #
   7361 # Check to make sure the PIC flag actually works.
   7362 #
   7363 if test -n "$lt_prog_compiler_pic"; then
   7364 
   7365 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7366 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7367 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7368   echo $ECHO_N "(cached) $ECHO_C" >&6
   7369 else
   7370   lt_prog_compiler_pic_works=no
   7371   ac_outfile=conftest.$ac_objext
   7372    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7373    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7374    # Insert the option either (1) after the last *FLAGS variable, or
   7375    # (2) before a word containing "conftest.", or (3) at the end.
   7376    # Note that $ac_compile itself does not contain backslashes and begins
   7377    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7378    # The option is referenced via a variable to avoid confusing sed.
   7379    lt_compile=`echo "$ac_compile" | $SED \
   7380    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7381    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7382    -e 's:$: $lt_compiler_flag:'`
   7383    (eval echo "\"\$as_me:7383: $lt_compile\"" >&5)
   7384    (eval "$lt_compile" 2>conftest.err)
   7385    ac_status=$?
   7386    cat conftest.err >&5
   7387    echo "$as_me:7387: \$? = $ac_status" >&5
   7388    if (exit $ac_status) && test -s "$ac_outfile"; then
   7389      # The compiler can only warn and ignore the option if not recognized
   7390      # So say no if there are warnings other than the usual output.
   7391      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7392      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7393      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7394        lt_prog_compiler_pic_works=yes
   7395      fi
   7396    fi
   7397    $rm conftest*
   7398 
   7399 fi
   7400 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7401 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7402 
   7403 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7404     case $lt_prog_compiler_pic in
   7405      "" | " "*) ;;
   7406      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7407      esac
   7408 else
   7409     lt_prog_compiler_pic=
   7410      lt_prog_compiler_can_build_shared=no
   7411 fi
   7412 
   7413 fi
   7414 case $host_os in
   7415   # For platforms which do not support PIC, -DPIC is meaningless:
   7416   *djgpp*)
   7417     lt_prog_compiler_pic=
   7418     ;;
   7419   *)
   7420     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7421     ;;
   7422 esac
   7423 
   7424 #
   7425 # Check to make sure the static flag actually works.
   7426 #
   7427 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7428 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7429 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7430 if test "${lt_prog_compiler_static_works+set}" = set; then
   7431   echo $ECHO_N "(cached) $ECHO_C" >&6
   7432 else
   7433   lt_prog_compiler_static_works=no
   7434    save_LDFLAGS="$LDFLAGS"
   7435    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7436    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7437    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7438      # The linker can only warn and ignore the option if not recognized
   7439      # So say no if there are warnings
   7440      if test -s conftest.err; then
   7441        # Append any errors to the config.log.
   7442        cat conftest.err 1>&5
   7443        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7444        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7445        if diff conftest.exp conftest.er2 >/dev/null; then
   7446          lt_prog_compiler_static_works=yes
   7447        fi
   7448      else
   7449        lt_prog_compiler_static_works=yes
   7450      fi
   7451    fi
   7452    $rm conftest*
   7453    LDFLAGS="$save_LDFLAGS"
   7454 
   7455 fi
   7456 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7457 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7458 
   7459 if test x"$lt_prog_compiler_static_works" = xyes; then
   7460     :
   7461 else
   7462     lt_prog_compiler_static=
   7463 fi
   7464 
   7465 
   7466 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7467 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7468 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7469   echo $ECHO_N "(cached) $ECHO_C" >&6
   7470 else
   7471   lt_cv_prog_compiler_c_o=no
   7472    $rm -r conftest 2>/dev/null
   7473    mkdir conftest
   7474    cd conftest
   7475    mkdir out
   7476    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7477 
   7478    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7479    # Insert the option either (1) after the last *FLAGS variable, or
   7480    # (2) before a word containing "conftest.", or (3) at the end.
   7481    # Note that $ac_compile itself does not contain backslashes and begins
   7482    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7483    lt_compile=`echo "$ac_compile" | $SED \
   7484    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7485    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7486    -e 's:$: $lt_compiler_flag:'`
   7487    (eval echo "\"\$as_me:7487: $lt_compile\"" >&5)
   7488    (eval "$lt_compile" 2>out/conftest.err)
   7489    ac_status=$?
   7490    cat out/conftest.err >&5
   7491    echo "$as_me:7491: \$? = $ac_status" >&5
   7492    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7493    then
   7494      # The compiler can only warn and ignore the option if not recognized
   7495      # So say no if there are warnings
   7496      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7497      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7498      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7499        lt_cv_prog_compiler_c_o=yes
   7500      fi
   7501    fi
   7502    chmod u+w . 2>&5
   7503    $rm conftest*
   7504    # SGI C++ compiler will create directory out/ii_files/ for
   7505    # template instantiation
   7506    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7507    $rm out/* && rmdir out
   7508    cd ..
   7509    rmdir conftest
   7510    $rm conftest*
   7511 
   7512 fi
   7513 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7514 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7515 
   7516 
   7517 hard_links="nottested"
   7518 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7519   # do not overwrite the value of need_locks provided by the user
   7520   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7521 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7522   hard_links=yes
   7523   $rm conftest*
   7524   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7525   touch conftest.a
   7526   ln conftest.a conftest.b 2>&5 || hard_links=no
   7527   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7528   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7529 echo "${ECHO_T}$hard_links" >&6; }
   7530   if test "$hard_links" = no; then
   7531     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7532 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7533     need_locks=warn
   7534   fi
   7535 else
   7536   need_locks=no
   7537 fi
   7538 
   7539 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7540 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7541 
   7542   runpath_var=
   7543   allow_undefined_flag=
   7544   enable_shared_with_static_runtimes=no
   7545   archive_cmds=
   7546   archive_expsym_cmds=
   7547   old_archive_From_new_cmds=
   7548   old_archive_from_expsyms_cmds=
   7549   export_dynamic_flag_spec=
   7550   whole_archive_flag_spec=
   7551   thread_safe_flag_spec=
   7552   hardcode_libdir_flag_spec=
   7553   hardcode_libdir_flag_spec_ld=
   7554   hardcode_libdir_separator=
   7555   hardcode_direct=no
   7556   hardcode_minus_L=no
   7557   hardcode_shlibpath_var=unsupported
   7558   link_all_deplibs=unknown
   7559   hardcode_automatic=no
   7560   module_cmds=
   7561   module_expsym_cmds=
   7562   always_export_symbols=no
   7563   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7564   # include_expsyms should be a list of space-separated symbols to be *always*
   7565   # included in the symbol list
   7566   include_expsyms=
   7567   # exclude_expsyms can be an extended regexp of symbols to exclude
   7568   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7569   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7570   # as well as any symbol that contains `d'.
   7571   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7572   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7573   # platforms (ab)use it in PIC code, but their linkers get confused if
   7574   # the symbol is explicitly referenced.  Since portable code cannot
   7575   # rely on this symbol name, it's probably fine to never include it in
   7576   # preloaded symbol tables.
   7577   extract_expsyms_cmds=
   7578   # Just being paranoid about ensuring that cc_basename is set.
   7579   for cc_temp in $compiler""; do
   7580   case $cc_temp in
   7581     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7582     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7583     \-*) ;;
   7584     *) break;;
   7585   esac
   7586 done
   7587 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7588 
   7589   case $host_os in
   7590   cygwin* | mingw* | pw32*)
   7591     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7592     # When not using gcc, we currently assume that we are using
   7593     # Microsoft Visual C++.
   7594     if test "$GCC" != yes; then
   7595       with_gnu_ld=no
   7596     fi
   7597     ;;
   7598   interix*)
   7599     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7600     with_gnu_ld=yes
   7601     ;;
   7602   openbsd*)
   7603     with_gnu_ld=no
   7604     ;;
   7605   esac
   7606 
   7607   ld_shlibs=yes
   7608   if test "$with_gnu_ld" = yes; then
   7609     # If archive_cmds runs LD, not CC, wlarc should be empty
   7610     wlarc='${wl}'
   7611 
   7612     # Set some defaults for GNU ld with shared library support. These
   7613     # are reset later if shared libraries are not supported. Putting them
   7614     # here allows them to be overridden if necessary.
   7615     runpath_var=LD_RUN_PATH
   7616     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7617     export_dynamic_flag_spec='${wl}--export-dynamic'
   7618     # ancient GNU ld didn't support --whole-archive et. al.
   7619     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7620 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7621       else
   7622   	whole_archive_flag_spec=
   7623     fi
   7624     supports_anon_versioning=no
   7625     case `$LD -v 2>/dev/null` in
   7626       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7627       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7628       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7629       *\ 2.11.*) ;; # other 2.11 versions
   7630       *) supports_anon_versioning=yes ;;
   7631     esac
   7632 
   7633     # See if GNU ld supports shared libraries.
   7634     case $host_os in
   7635     aix3* | aix4* | aix5*)
   7636       # On AIX/PPC, the GNU linker is very broken
   7637       if test "$host_cpu" != ia64; then
   7638 	ld_shlibs=no
   7639 	cat <<EOF 1>&2
   7640 
   7641 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7642 *** to be unable to reliably create shared libraries on AIX.
   7643 *** Therefore, libtool is disabling shared libraries support.  If you
   7644 *** really care for shared libraries, you may want to modify your PATH
   7645 *** so that a non-GNU linker is found, and then restart.
   7646 
   7647 EOF
   7648       fi
   7649       ;;
   7650 
   7651     amigaos*)
   7652       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)'
   7653       hardcode_libdir_flag_spec='-L$libdir'
   7654       hardcode_minus_L=yes
   7655 
   7656       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7657       # that the semantics of dynamic libraries on AmigaOS, at least up
   7658       # to version 4, is to share data among multiple programs linked
   7659       # with the same dynamic library.  Since this doesn't match the
   7660       # behavior of shared libraries on other platforms, we can't use
   7661       # them.
   7662       ld_shlibs=no
   7663       ;;
   7664 
   7665     beos*)
   7666       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7667 	allow_undefined_flag=unsupported
   7668 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7669 	# support --undefined.  This deserves some investigation.  FIXME
   7670 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7671       else
   7672 	ld_shlibs=no
   7673       fi
   7674       ;;
   7675 
   7676     cygwin* | mingw* | pw32*)
   7677       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7678       # as there is no search path for DLLs.
   7679       hardcode_libdir_flag_spec='-L$libdir'
   7680       allow_undefined_flag=unsupported
   7681       always_export_symbols=no
   7682       enable_shared_with_static_runtimes=yes
   7683       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7684 
   7685       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7686         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7687 	# If the export-symbols file already is a .def file (1st line
   7688 	# is EXPORTS), use it as is; otherwise, prepend...
   7689 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7690 	  cp $export_symbols $output_objdir/$soname.def;
   7691 	else
   7692 	  echo EXPORTS > $output_objdir/$soname.def;
   7693 	  cat $export_symbols >> $output_objdir/$soname.def;
   7694 	fi~
   7695 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7696       else
   7697 	ld_shlibs=no
   7698       fi
   7699       ;;
   7700 
   7701     interix3*)
   7702       hardcode_direct=no
   7703       hardcode_shlibpath_var=no
   7704       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7705       export_dynamic_flag_spec='${wl}-E'
   7706       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7707       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7708       # default) and relocated if they conflict, which is a slow very memory
   7709       # consuming and fragmenting process.  To avoid this, we pick a random,
   7710       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7711       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7712       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7713       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'
   7714       ;;
   7715 
   7716     linux*)
   7717       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7718 	tmp_addflag=
   7719 	case $cc_basename,$host_cpu in
   7720 	pgcc*)				# Portland Group C compiler
   7721 	  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'
   7722 	  tmp_addflag=' $pic_flag'
   7723 	  ;;
   7724 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7725 	  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'
   7726 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7727 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7728 	  tmp_addflag=' -i_dynamic' ;;
   7729 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7730 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7731 	ifc* | ifort*)			# Intel Fortran compiler
   7732 	  tmp_addflag=' -nofor_main' ;;
   7733 	esac
   7734 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7735 
   7736 	if test $supports_anon_versioning = yes; then
   7737 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7738   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7739   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7740 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7741 	fi
   7742       else
   7743 	ld_shlibs=no
   7744       fi
   7745       ;;
   7746 
   7747     netbsd*)
   7748       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7749 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7750 	wlarc=
   7751       else
   7752 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7753 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7754       fi
   7755       ;;
   7756 
   7757     solaris*)
   7758       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7759 	ld_shlibs=no
   7760 	cat <<EOF 1>&2
   7761 
   7762 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7763 *** create shared libraries on Solaris systems.  Therefore, libtool
   7764 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7765 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7766 *** your PATH or compiler configuration so that the native linker is
   7767 *** used, and then restart.
   7768 
   7769 EOF
   7770       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7771 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7772 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7773       else
   7774 	ld_shlibs=no
   7775       fi
   7776       ;;
   7777 
   7778     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7779       case `$LD -v 2>&1` in
   7780         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7781 	ld_shlibs=no
   7782 	cat <<_LT_EOF 1>&2
   7783 
   7784 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7785 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7786 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7787 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7788 *** your PATH or compiler configuration so that the native linker is
   7789 *** used, and then restart.
   7790 
   7791 _LT_EOF
   7792 	;;
   7793 	*)
   7794 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7795 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7796 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7797 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7798 	  else
   7799 	    ld_shlibs=no
   7800 	  fi
   7801 	;;
   7802       esac
   7803       ;;
   7804 
   7805     sunos4*)
   7806       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7807       wlarc=
   7808       hardcode_direct=yes
   7809       hardcode_shlibpath_var=no
   7810       ;;
   7811 
   7812     *)
   7813       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7814 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7815 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7816       else
   7817 	ld_shlibs=no
   7818       fi
   7819       ;;
   7820     esac
   7821 
   7822     if test "$ld_shlibs" = no; then
   7823       runpath_var=
   7824       hardcode_libdir_flag_spec=
   7825       export_dynamic_flag_spec=
   7826       whole_archive_flag_spec=
   7827     fi
   7828   else
   7829     # PORTME fill in a description of your system's linker (not GNU ld)
   7830     case $host_os in
   7831     aix3*)
   7832       allow_undefined_flag=unsupported
   7833       always_export_symbols=yes
   7834       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'
   7835       # Note: this linker hardcodes the directories in LIBPATH if there
   7836       # are no directories specified by -L.
   7837       hardcode_minus_L=yes
   7838       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7839 	# Neither direct hardcoding nor static linking is supported with a
   7840 	# broken collect2.
   7841 	hardcode_direct=unsupported
   7842       fi
   7843       ;;
   7844 
   7845     aix4* | aix5*)
   7846       if test "$host_cpu" = ia64; then
   7847 	# On IA64, the linker does run time linking by default, so we don't
   7848 	# have to do anything special.
   7849 	aix_use_runtimelinking=no
   7850 	exp_sym_flag='-Bexport'
   7851 	no_entry_flag=""
   7852       else
   7853 	# If we're using GNU nm, then we don't want the "-C" option.
   7854 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7855 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7856 	  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'
   7857 	else
   7858 	  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'
   7859 	fi
   7860 	aix_use_runtimelinking=no
   7861 
   7862 	# Test if we are trying to use run time linking or normal
   7863 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7864 	# need to do runtime linking.
   7865 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7866 	  for ld_flag in $LDFLAGS; do
   7867   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7868   	    aix_use_runtimelinking=yes
   7869   	    break
   7870   	  fi
   7871 	  done
   7872 	  ;;
   7873 	esac
   7874 
   7875 	exp_sym_flag='-bexport'
   7876 	no_entry_flag='-bnoentry'
   7877       fi
   7878 
   7879       # When large executables or shared objects are built, AIX ld can
   7880       # have problems creating the table of contents.  If linking a library
   7881       # or program results in "error TOC overflow" add -mminimal-toc to
   7882       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7883       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7884 
   7885       archive_cmds=''
   7886       hardcode_direct=yes
   7887       hardcode_libdir_separator=':'
   7888       link_all_deplibs=yes
   7889 
   7890       if test "$GCC" = yes; then
   7891 	case $host_os in aix4.[012]|aix4.[012].*)
   7892 	# We only want to do this on AIX 4.2 and lower, the check
   7893 	# below for broken collect2 doesn't work under 4.3+
   7894 	  collect2name=`${CC} -print-prog-name=collect2`
   7895 	  if test -f "$collect2name" && \
   7896   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7897 	  then
   7898   	  # We have reworked collect2
   7899   	  hardcode_direct=yes
   7900 	  else
   7901   	  # We have old collect2
   7902   	  hardcode_direct=unsupported
   7903   	  # It fails to find uninstalled libraries when the uninstalled
   7904   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7905   	  # to unsupported forces relinking
   7906   	  hardcode_minus_L=yes
   7907   	  hardcode_libdir_flag_spec='-L$libdir'
   7908   	  hardcode_libdir_separator=
   7909 	  fi
   7910 	  ;;
   7911 	esac
   7912 	shared_flag='-shared'
   7913 	if test "$aix_use_runtimelinking" = yes; then
   7914 	  shared_flag="$shared_flag "'${wl}-G'
   7915 	fi
   7916       else
   7917 	# not using gcc
   7918 	if test "$host_cpu" = ia64; then
   7919   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7920   	# chokes on -Wl,-G. The following line is correct:
   7921 	  shared_flag='-G'
   7922 	else
   7923 	  if test "$aix_use_runtimelinking" = yes; then
   7924 	    shared_flag='${wl}-G'
   7925 	  else
   7926 	    shared_flag='${wl}-bM:SRE'
   7927 	  fi
   7928 	fi
   7929       fi
   7930 
   7931       # It seems that -bexpall does not export symbols beginning with
   7932       # underscore (_), so it is better to generate a list of symbols to export.
   7933       always_export_symbols=yes
   7934       if test "$aix_use_runtimelinking" = yes; then
   7935 	# Warning - without using the other runtime loading flags (-brtl),
   7936 	# -berok will link without error, but may produce a broken library.
   7937 	allow_undefined_flag='-berok'
   7938        # Determine the default libpath from the value encoded in an empty executable.
   7939        cat >conftest.$ac_ext <<_ACEOF
   7940 /* confdefs.h.  */
   7941 _ACEOF
   7942 cat confdefs.h >>conftest.$ac_ext
   7943 cat >>conftest.$ac_ext <<_ACEOF
   7944 /* end confdefs.h.  */
   7945 
   7946 int
   7947 main ()
   7948 {
   7949 
   7950   ;
   7951   return 0;
   7952 }
   7953 _ACEOF
   7954 rm -f conftest.$ac_objext conftest$ac_exeext
   7955 if { (ac_try="$ac_link"
   7956 case "(($ac_try" in
   7957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7958   *) ac_try_echo=$ac_try;;
   7959 esac
   7960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7961   (eval "$ac_link") 2>conftest.er1
   7962   ac_status=$?
   7963   grep -v '^ *+' conftest.er1 >conftest.err
   7964   rm -f conftest.er1
   7965   cat conftest.err >&5
   7966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7967   (exit $ac_status); } && {
   7968 	 test -z "$ac_c_werror_flag" ||
   7969 	 test ! -s conftest.err
   7970        } && test -s conftest$ac_exeext &&
   7971        $as_test_x conftest$ac_exeext; then
   7972 
   7973 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7974 }'`
   7975 # Check for a 64-bit object if we didn't find anything.
   7976 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; }
   7977 }'`; fi
   7978 else
   7979   echo "$as_me: failed program was:" >&5
   7980 sed 's/^/| /' conftest.$ac_ext >&5
   7981 
   7982 
   7983 fi
   7984 
   7985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7986       conftest$ac_exeext conftest.$ac_ext
   7987 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7988 
   7989        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7990 	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"
   7991        else
   7992 	if test "$host_cpu" = ia64; then
   7993 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   7994 	  allow_undefined_flag="-z nodefs"
   7995 	  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"
   7996 	else
   7997 	 # Determine the default libpath from the value encoded in an empty executable.
   7998 	 cat >conftest.$ac_ext <<_ACEOF
   7999 /* confdefs.h.  */
   8000 _ACEOF
   8001 cat confdefs.h >>conftest.$ac_ext
   8002 cat >>conftest.$ac_ext <<_ACEOF
   8003 /* end confdefs.h.  */
   8004 
   8005 int
   8006 main ()
   8007 {
   8008 
   8009   ;
   8010   return 0;
   8011 }
   8012 _ACEOF
   8013 rm -f conftest.$ac_objext conftest$ac_exeext
   8014 if { (ac_try="$ac_link"
   8015 case "(($ac_try" in
   8016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8017   *) ac_try_echo=$ac_try;;
   8018 esac
   8019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8020   (eval "$ac_link") 2>conftest.er1
   8021   ac_status=$?
   8022   grep -v '^ *+' conftest.er1 >conftest.err
   8023   rm -f conftest.er1
   8024   cat conftest.err >&5
   8025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8026   (exit $ac_status); } && {
   8027 	 test -z "$ac_c_werror_flag" ||
   8028 	 test ! -s conftest.err
   8029        } && test -s conftest$ac_exeext &&
   8030        $as_test_x conftest$ac_exeext; then
   8031 
   8032 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8033 }'`
   8034 # Check for a 64-bit object if we didn't find anything.
   8035 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; }
   8036 }'`; fi
   8037 else
   8038   echo "$as_me: failed program was:" >&5
   8039 sed 's/^/| /' conftest.$ac_ext >&5
   8040 
   8041 
   8042 fi
   8043 
   8044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8045       conftest$ac_exeext conftest.$ac_ext
   8046 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8047 
   8048 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8049 	  # Warning - without using the other run time loading flags,
   8050 	  # -berok will link without error, but may produce a broken library.
   8051 	  no_undefined_flag=' ${wl}-bernotok'
   8052 	  allow_undefined_flag=' ${wl}-berok'
   8053 	  # Exported symbols can be pulled into shared objects from archives
   8054 	  whole_archive_flag_spec='$convenience'
   8055 	  archive_cmds_need_lc=yes
   8056 	  # This is similar to how AIX traditionally builds its shared libraries.
   8057 	  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'
   8058 	fi
   8059       fi
   8060       ;;
   8061 
   8062     amigaos*)
   8063       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)'
   8064       hardcode_libdir_flag_spec='-L$libdir'
   8065       hardcode_minus_L=yes
   8066       # see comment about different semantics on the GNU ld section
   8067       ld_shlibs=no
   8068       ;;
   8069 
   8070     bsdi[45]*)
   8071       export_dynamic_flag_spec=-rdynamic
   8072       ;;
   8073 
   8074     cygwin* | mingw* | pw32*)
   8075       # When not using gcc, we currently assume that we are using
   8076       # Microsoft Visual C++.
   8077       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8078       # no search path for DLLs.
   8079       hardcode_libdir_flag_spec=' '
   8080       allow_undefined_flag=unsupported
   8081       # Tell ltmain to make .lib files, not .a files.
   8082       libext=lib
   8083       # Tell ltmain to make .dll files, not .so files.
   8084       shrext_cmds=".dll"
   8085       # FIXME: Setting linknames here is a bad hack.
   8086       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8087       # The linker will automatically build a .lib file if we build a DLL.
   8088       old_archive_From_new_cmds='true'
   8089       # FIXME: Should let the user specify the lib program.
   8090       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8091       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8092       enable_shared_with_static_runtimes=yes
   8093       ;;
   8094 
   8095     darwin* | rhapsody*)
   8096       case $host_os in
   8097         rhapsody* | darwin1.[012])
   8098          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8099          ;;
   8100        *) # Darwin 1.3 on
   8101          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8102            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8103          else
   8104            case ${MACOSX_DEPLOYMENT_TARGET} in
   8105              10.[012])
   8106                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8107                ;;
   8108              10.*)
   8109                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8110                ;;
   8111            esac
   8112          fi
   8113          ;;
   8114       esac
   8115       archive_cmds_need_lc=no
   8116       hardcode_direct=no
   8117       hardcode_automatic=yes
   8118       hardcode_shlibpath_var=unsupported
   8119       whole_archive_flag_spec=''
   8120       link_all_deplibs=yes
   8121     if test "$GCC" = yes ; then
   8122     	output_verbose_link_cmd='echo'
   8123         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8124       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8125       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8126       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}'
   8127       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}'
   8128     else
   8129       case $cc_basename in
   8130         xlc*)
   8131          output_verbose_link_cmd='echo'
   8132          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8133          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8134           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8135          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}'
   8136           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}'
   8137           ;;
   8138        *)
   8139          ld_shlibs=no
   8140           ;;
   8141       esac
   8142     fi
   8143       ;;
   8144 
   8145     dgux*)
   8146       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8147       hardcode_libdir_flag_spec='-L$libdir'
   8148       hardcode_shlibpath_var=no
   8149       ;;
   8150 
   8151     freebsd1*)
   8152       ld_shlibs=no
   8153       ;;
   8154 
   8155     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8156     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8157     # does not break anything, and helps significantly (at the cost of a little
   8158     # extra space).
   8159     freebsd2.2*)
   8160       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8161       hardcode_libdir_flag_spec='-R$libdir'
   8162       hardcode_direct=yes
   8163       hardcode_shlibpath_var=no
   8164       ;;
   8165 
   8166     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8167     freebsd2*)
   8168       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8169       hardcode_direct=yes
   8170       hardcode_minus_L=yes
   8171       hardcode_shlibpath_var=no
   8172       ;;
   8173 
   8174     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8175     freebsd* | kfreebsd*-gnu | dragonfly*)
   8176       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8177       hardcode_libdir_flag_spec='-R$libdir'
   8178       hardcode_direct=yes
   8179       hardcode_shlibpath_var=no
   8180       ;;
   8181 
   8182     hpux9*)
   8183       if test "$GCC" = yes; then
   8184 	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'
   8185       else
   8186 	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'
   8187       fi
   8188       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8189       hardcode_libdir_separator=:
   8190       hardcode_direct=yes
   8191 
   8192       # hardcode_minus_L: Not really in the search PATH,
   8193       # but as the default location of the library.
   8194       hardcode_minus_L=yes
   8195       export_dynamic_flag_spec='${wl}-E'
   8196       ;;
   8197 
   8198     hpux10*)
   8199       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8200 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8201       else
   8202 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8203       fi
   8204       if test "$with_gnu_ld" = no; then
   8205 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8206 	hardcode_libdir_separator=:
   8207 
   8208 	hardcode_direct=yes
   8209 	export_dynamic_flag_spec='${wl}-E'
   8210 
   8211 	# hardcode_minus_L: Not really in the search PATH,
   8212 	# but as the default location of the library.
   8213 	hardcode_minus_L=yes
   8214       fi
   8215       ;;
   8216 
   8217     hpux11*)
   8218       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8219 	case $host_cpu in
   8220 	hppa*64*)
   8221 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8222 	  ;;
   8223 	ia64*)
   8224 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8225 	  ;;
   8226 	*)
   8227 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8228 	  ;;
   8229 	esac
   8230       else
   8231 	case $host_cpu in
   8232 	hppa*64*)
   8233 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8234 	  ;;
   8235 	ia64*)
   8236 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8237 	  ;;
   8238 	*)
   8239 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8240 	  ;;
   8241 	esac
   8242       fi
   8243       if test "$with_gnu_ld" = no; then
   8244 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8245 	hardcode_libdir_separator=:
   8246 
   8247 	case $host_cpu in
   8248 	hppa*64*|ia64*)
   8249 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8250 	  hardcode_direct=no
   8251 	  hardcode_shlibpath_var=no
   8252 	  ;;
   8253 	*)
   8254 	  hardcode_direct=yes
   8255 	  export_dynamic_flag_spec='${wl}-E'
   8256 
   8257 	  # hardcode_minus_L: Not really in the search PATH,
   8258 	  # but as the default location of the library.
   8259 	  hardcode_minus_L=yes
   8260 	  ;;
   8261 	esac
   8262       fi
   8263       ;;
   8264 
   8265     irix5* | irix6* | nonstopux*)
   8266       if test "$GCC" = yes; then
   8267 	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'
   8268       else
   8269 	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'
   8270 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8271       fi
   8272       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8273       hardcode_libdir_separator=:
   8274       link_all_deplibs=yes
   8275       ;;
   8276 
   8277     netbsd*)
   8278       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8279 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8280       else
   8281 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8282       fi
   8283       hardcode_libdir_flag_spec='-R$libdir'
   8284       hardcode_direct=yes
   8285       hardcode_shlibpath_var=no
   8286       ;;
   8287 
   8288     newsos6)
   8289       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8290       hardcode_direct=yes
   8291       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8292       hardcode_libdir_separator=:
   8293       hardcode_shlibpath_var=no
   8294       ;;
   8295 
   8296     openbsd*)
   8297       hardcode_direct=yes
   8298       hardcode_shlibpath_var=no
   8299       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8300 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8301 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8302 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8303 	export_dynamic_flag_spec='${wl}-E'
   8304       else
   8305        case $host_os in
   8306 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8307 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8308 	   hardcode_libdir_flag_spec='-R$libdir'
   8309 	   ;;
   8310 	 *)
   8311 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8312 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8313 	   ;;
   8314        esac
   8315       fi
   8316       ;;
   8317 
   8318     os2*)
   8319       hardcode_libdir_flag_spec='-L$libdir'
   8320       hardcode_minus_L=yes
   8321       allow_undefined_flag=unsupported
   8322       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'
   8323       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8324       ;;
   8325 
   8326     osf3*)
   8327       if test "$GCC" = yes; then
   8328 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8329 	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'
   8330       else
   8331 	allow_undefined_flag=' -expect_unresolved \*'
   8332 	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'
   8333       fi
   8334       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8335       hardcode_libdir_separator=:
   8336       ;;
   8337 
   8338     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8339       if test "$GCC" = yes; then
   8340 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8341 	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'
   8342 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8343       else
   8344 	allow_undefined_flag=' -expect_unresolved \*'
   8345 	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'
   8346 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8347 	$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'
   8348 
   8349 	# Both c and cxx compiler support -rpath directly
   8350 	hardcode_libdir_flag_spec='-rpath $libdir'
   8351       fi
   8352       hardcode_libdir_separator=:
   8353       ;;
   8354 
   8355     solaris*)
   8356       no_undefined_flag=' -z text'
   8357       if test "$GCC" = yes; then
   8358 	wlarc='${wl}'
   8359 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8360 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8361 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8362       else
   8363 	wlarc=''
   8364 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8365 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8366   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8367       fi
   8368       hardcode_libdir_flag_spec='-R$libdir'
   8369       hardcode_shlibpath_var=no
   8370       case $host_os in
   8371       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8372       *)
   8373  	# The compiler driver will combine linker options so we
   8374  	# cannot just pass the convience library names through
   8375  	# without $wl, iff we do not link with $LD.
   8376  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8377  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8378  	case $wlarc in
   8379  	'')
   8380  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8381  	*)
   8382  	  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' ;;
   8383  	esac ;;
   8384       esac
   8385       link_all_deplibs=yes
   8386       ;;
   8387 
   8388     sunos4*)
   8389       if test "x$host_vendor" = xsequent; then
   8390 	# Use $CC to link under sequent, because it throws in some extra .o
   8391 	# files that make .init and .fini sections work.
   8392 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8393       else
   8394 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8395       fi
   8396       hardcode_libdir_flag_spec='-L$libdir'
   8397       hardcode_direct=yes
   8398       hardcode_minus_L=yes
   8399       hardcode_shlibpath_var=no
   8400       ;;
   8401 
   8402     sysv4)
   8403       case $host_vendor in
   8404 	sni)
   8405 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8406 	  hardcode_direct=yes # is this really true???
   8407 	;;
   8408 	siemens)
   8409 	  ## LD is ld it makes a PLAMLIB
   8410 	  ## CC just makes a GrossModule.
   8411 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8412 	  reload_cmds='$CC -r -o $output$reload_objs'
   8413 	  hardcode_direct=no
   8414         ;;
   8415 	motorola)
   8416 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8417 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8418 	;;
   8419       esac
   8420       runpath_var='LD_RUN_PATH'
   8421       hardcode_shlibpath_var=no
   8422       ;;
   8423 
   8424     sysv4.3*)
   8425       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8426       hardcode_shlibpath_var=no
   8427       export_dynamic_flag_spec='-Bexport'
   8428       ;;
   8429 
   8430     sysv4*MP*)
   8431       if test -d /usr/nec; then
   8432 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8433 	hardcode_shlibpath_var=no
   8434 	runpath_var=LD_RUN_PATH
   8435 	hardcode_runpath_var=yes
   8436 	ld_shlibs=yes
   8437       fi
   8438       ;;
   8439 
   8440     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8441       no_undefined_flag='${wl}-z,text'
   8442       archive_cmds_need_lc=no
   8443       hardcode_shlibpath_var=no
   8444       runpath_var='LD_RUN_PATH'
   8445 
   8446       if test "$GCC" = yes; then
   8447 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8448 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8449       else
   8450 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8451 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8452       fi
   8453       ;;
   8454 
   8455     sysv5* | sco3.2v5* | sco5v6*)
   8456       # Note: We can NOT use -z defs as we might desire, because we do not
   8457       # link with -lc, and that would cause any symbols used from libc to
   8458       # always be unresolved, which means just about no library would
   8459       # ever link correctly.  If we're not using GNU ld we use -z text
   8460       # though, which does catch some bad symbols but isn't as heavy-handed
   8461       # as -z defs.
   8462       no_undefined_flag='${wl}-z,text'
   8463       allow_undefined_flag='${wl}-z,nodefs'
   8464       archive_cmds_need_lc=no
   8465       hardcode_shlibpath_var=no
   8466       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8467       hardcode_libdir_separator=':'
   8468       link_all_deplibs=yes
   8469       export_dynamic_flag_spec='${wl}-Bexport'
   8470       runpath_var='LD_RUN_PATH'
   8471 
   8472       if test "$GCC" = yes; then
   8473 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8474 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8475       else
   8476 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8477 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8478       fi
   8479       ;;
   8480 
   8481     uts4*)
   8482       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8483       hardcode_libdir_flag_spec='-L$libdir'
   8484       hardcode_shlibpath_var=no
   8485       ;;
   8486 
   8487     *)
   8488       ld_shlibs=no
   8489       ;;
   8490     esac
   8491   fi
   8492 
   8493 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8494 echo "${ECHO_T}$ld_shlibs" >&6; }
   8495 test "$ld_shlibs" = no && can_build_shared=no
   8496 
   8497 #
   8498 # Do we need to explicitly link libc?
   8499 #
   8500 case "x$archive_cmds_need_lc" in
   8501 x|xyes)
   8502   # Assume -lc should be added
   8503   archive_cmds_need_lc=yes
   8504 
   8505   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8506     case $archive_cmds in
   8507     *'~'*)
   8508       # FIXME: we may have to deal with multi-command sequences.
   8509       ;;
   8510     '$CC '*)
   8511       # Test whether the compiler implicitly links with -lc since on some
   8512       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8513       # to ld, don't add -lc before -lgcc.
   8514       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8515 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8516       $rm conftest*
   8517       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8518 
   8519       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8520   (eval $ac_compile) 2>&5
   8521   ac_status=$?
   8522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8523   (exit $ac_status); } 2>conftest.err; then
   8524         soname=conftest
   8525         lib=conftest
   8526         libobjs=conftest.$ac_objext
   8527         deplibs=
   8528         wl=$lt_prog_compiler_wl
   8529 	pic_flag=$lt_prog_compiler_pic
   8530         compiler_flags=-v
   8531         linker_flags=-v
   8532         verstring=
   8533         output_objdir=.
   8534         libname=conftest
   8535         lt_save_allow_undefined_flag=$allow_undefined_flag
   8536         allow_undefined_flag=
   8537         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8538   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8539   ac_status=$?
   8540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8541   (exit $ac_status); }
   8542         then
   8543 	  archive_cmds_need_lc=no
   8544         else
   8545 	  archive_cmds_need_lc=yes
   8546         fi
   8547         allow_undefined_flag=$lt_save_allow_undefined_flag
   8548       else
   8549         cat conftest.err 1>&5
   8550       fi
   8551       $rm conftest*
   8552       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8553 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8554       ;;
   8555     esac
   8556   fi
   8557   ;;
   8558 esac
   8559 
   8560 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8561 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8562 library_names_spec=
   8563 libname_spec='lib$name'
   8564 soname_spec=
   8565 shrext_cmds=".so"
   8566 postinstall_cmds=
   8567 postuninstall_cmds=
   8568 finish_cmds=
   8569 finish_eval=
   8570 shlibpath_var=
   8571 shlibpath_overrides_runpath=unknown
   8572 version_type=none
   8573 dynamic_linker="$host_os ld.so"
   8574 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8575 if test "$GCC" = yes; then
   8576   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8577   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8578     # if the path contains ";" then we assume it to be the separator
   8579     # otherwise default to the standard path separator (i.e. ":") - it is
   8580     # assumed that no part of a normal pathname contains ";" but that should
   8581     # okay in the real world where ";" in dirpaths is itself problematic.
   8582     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8583   else
   8584     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8585   fi
   8586 else
   8587   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8588 fi
   8589 need_lib_prefix=unknown
   8590 hardcode_into_libs=no
   8591 
   8592 # when you set need_version to no, make sure it does not cause -set_version
   8593 # flags to be left without arguments
   8594 need_version=unknown
   8595 
   8596 case $host_os in
   8597 aix3*)
   8598   version_type=linux
   8599   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8600   shlibpath_var=LIBPATH
   8601 
   8602   # AIX 3 has no versioning support, so we append a major version to the name.
   8603   soname_spec='${libname}${release}${shared_ext}$major'
   8604   ;;
   8605 
   8606 aix4* | aix5*)
   8607   version_type=linux
   8608   need_lib_prefix=no
   8609   need_version=no
   8610   hardcode_into_libs=yes
   8611   if test "$host_cpu" = ia64; then
   8612     # AIX 5 supports IA64
   8613     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8614     shlibpath_var=LD_LIBRARY_PATH
   8615   else
   8616     # With GCC up to 2.95.x, collect2 would create an import file
   8617     # for dependence libraries.  The import file would start with
   8618     # the line `#! .'.  This would cause the generated library to
   8619     # depend on `.', always an invalid library.  This was fixed in
   8620     # development snapshots of GCC prior to 3.0.
   8621     case $host_os in
   8622       aix4 | aix4.[01] | aix4.[01].*)
   8623       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8624 	   echo ' yes '
   8625 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8626 	:
   8627       else
   8628 	can_build_shared=no
   8629       fi
   8630       ;;
   8631     esac
   8632     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8633     # soname into executable. Probably we can add versioning support to
   8634     # collect2, so additional links can be useful in future.
   8635     if test "$aix_use_runtimelinking" = yes; then
   8636       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8637       # instead of lib<name>.a to let people know that these are not
   8638       # typical AIX shared libraries.
   8639       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8640     else
   8641       # We preserve .a as extension for shared libraries through AIX4.2
   8642       # and later when we are not doing run time linking.
   8643       library_names_spec='${libname}${release}.a $libname.a'
   8644       soname_spec='${libname}${release}${shared_ext}$major'
   8645     fi
   8646     shlibpath_var=LIBPATH
   8647   fi
   8648   ;;
   8649 
   8650 amigaos*)
   8651   library_names_spec='$libname.ixlibrary $libname.a'
   8652   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8653   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'
   8654   ;;
   8655 
   8656 beos*)
   8657   library_names_spec='${libname}${shared_ext}'
   8658   dynamic_linker="$host_os ld.so"
   8659   shlibpath_var=LIBRARY_PATH
   8660   ;;
   8661 
   8662 bsdi[45]*)
   8663   version_type=linux
   8664   need_version=no
   8665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8666   soname_spec='${libname}${release}${shared_ext}$major'
   8667   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8668   shlibpath_var=LD_LIBRARY_PATH
   8669   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8670   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8671   # the default ld.so.conf also contains /usr/contrib/lib and
   8672   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8673   # libtool to hard-code these into programs
   8674   ;;
   8675 
   8676 cygwin* | mingw* | pw32*)
   8677   version_type=windows
   8678   shrext_cmds=".dll"
   8679   need_version=no
   8680   need_lib_prefix=no
   8681 
   8682   case $GCC,$host_os in
   8683   yes,cygwin* | yes,mingw* | yes,pw32*)
   8684     library_names_spec='$libname.dll.a'
   8685     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8686     postinstall_cmds='base_file=`basename \${file}`~
   8687       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8688       dldir=$destdir/`dirname \$dlpath`~
   8689       test -d \$dldir || mkdir -p \$dldir~
   8690       $install_prog $dir/$dlname \$dldir/$dlname~
   8691       chmod a+x \$dldir/$dlname'
   8692     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8693       dlpath=$dir/\$dldll~
   8694        $rm \$dlpath'
   8695     shlibpath_overrides_runpath=yes
   8696 
   8697     case $host_os in
   8698     cygwin*)
   8699       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8700       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8701       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8702       ;;
   8703     mingw*)
   8704       # MinGW DLLs use traditional 'lib' prefix
   8705       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8706       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8707       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8708         # It is most probably a Windows format PATH printed by
   8709         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8710         # path with ; separators, and with drive letters. We can handle the
   8711         # drive letters (cygwin fileutils understands them), so leave them,
   8712         # especially as we might pass files found there to a mingw objdump,
   8713         # which wouldn't understand a cygwinified path. Ahh.
   8714         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8715       else
   8716         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8717       fi
   8718       ;;
   8719     pw32*)
   8720       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8721       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8722       ;;
   8723     esac
   8724     ;;
   8725 
   8726   *)
   8727     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8728     ;;
   8729   esac
   8730   dynamic_linker='Win32 ld.exe'
   8731   # FIXME: first we should search . and the directory the executable is in
   8732   shlibpath_var=PATH
   8733   ;;
   8734 
   8735 darwin* | rhapsody*)
   8736   dynamic_linker="$host_os dyld"
   8737   version_type=darwin
   8738   need_lib_prefix=no
   8739   need_version=no
   8740   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8741   soname_spec='${libname}${release}${major}$shared_ext'
   8742   shlibpath_overrides_runpath=yes
   8743   shlibpath_var=DYLD_LIBRARY_PATH
   8744   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8745   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8746   if test "$GCC" = yes; then
   8747     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"`
   8748   else
   8749     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8750   fi
   8751   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8752   ;;
   8753 
   8754 dgux*)
   8755   version_type=linux
   8756   need_lib_prefix=no
   8757   need_version=no
   8758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8759   soname_spec='${libname}${release}${shared_ext}$major'
   8760   shlibpath_var=LD_LIBRARY_PATH
   8761   ;;
   8762 
   8763 freebsd1*)
   8764   dynamic_linker=no
   8765   ;;
   8766 
   8767 kfreebsd*-gnu)
   8768   version_type=linux
   8769   need_lib_prefix=no
   8770   need_version=no
   8771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8772   soname_spec='${libname}${release}${shared_ext}$major'
   8773   shlibpath_var=LD_LIBRARY_PATH
   8774   shlibpath_overrides_runpath=no
   8775   hardcode_into_libs=yes
   8776   dynamic_linker='GNU ld.so'
   8777   ;;
   8778 
   8779 freebsd* | dragonfly*)
   8780   # DragonFly does not have aout.  When/if they implement a new
   8781   # versioning mechanism, adjust this.
   8782   if test -x /usr/bin/objformat; then
   8783     objformat=`/usr/bin/objformat`
   8784   else
   8785     case $host_os in
   8786     freebsd[123]*) objformat=aout ;;
   8787     *) objformat=elf ;;
   8788     esac
   8789   fi
   8790   version_type=freebsd-$objformat
   8791   case $version_type in
   8792     freebsd-elf*)
   8793       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8794       need_version=no
   8795       need_lib_prefix=no
   8796       ;;
   8797     freebsd-*)
   8798       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8799       need_version=yes
   8800       ;;
   8801   esac
   8802   shlibpath_var=LD_LIBRARY_PATH
   8803   case $host_os in
   8804   freebsd2*)
   8805     shlibpath_overrides_runpath=yes
   8806     ;;
   8807   freebsd3.[01]* | freebsdelf3.[01]*)
   8808     shlibpath_overrides_runpath=yes
   8809     hardcode_into_libs=yes
   8810     ;;
   8811   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8812   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8813     shlibpath_overrides_runpath=no
   8814     hardcode_into_libs=yes
   8815     ;;
   8816   freebsd*) # from 4.6 on
   8817     shlibpath_overrides_runpath=yes
   8818     hardcode_into_libs=yes
   8819     ;;
   8820   esac
   8821   ;;
   8822 
   8823 gnu*)
   8824   version_type=linux
   8825   need_lib_prefix=no
   8826   need_version=no
   8827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8828   soname_spec='${libname}${release}${shared_ext}$major'
   8829   shlibpath_var=LD_LIBRARY_PATH
   8830   hardcode_into_libs=yes
   8831   ;;
   8832 
   8833 hpux9* | hpux10* | hpux11*)
   8834   # Give a soname corresponding to the major version so that dld.sl refuses to
   8835   # link against other versions.
   8836   version_type=sunos
   8837   need_lib_prefix=no
   8838   need_version=no
   8839   case $host_cpu in
   8840   ia64*)
   8841     shrext_cmds='.so'
   8842     hardcode_into_libs=yes
   8843     dynamic_linker="$host_os dld.so"
   8844     shlibpath_var=LD_LIBRARY_PATH
   8845     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8846     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8847     soname_spec='${libname}${release}${shared_ext}$major'
   8848     if test "X$HPUX_IA64_MODE" = X32; then
   8849       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8850     else
   8851       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8852     fi
   8853     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8854     ;;
   8855    hppa*64*)
   8856      shrext_cmds='.sl'
   8857      hardcode_into_libs=yes
   8858      dynamic_linker="$host_os dld.sl"
   8859      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8860      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8861      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8862      soname_spec='${libname}${release}${shared_ext}$major'
   8863      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8864      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8865      ;;
   8866    *)
   8867     shrext_cmds='.sl'
   8868     dynamic_linker="$host_os dld.sl"
   8869     shlibpath_var=SHLIB_PATH
   8870     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   8874   esac
   8875   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8876   postinstall_cmds='chmod 555 $lib'
   8877   ;;
   8878 
   8879 interix3*)
   8880   version_type=linux
   8881   need_lib_prefix=no
   8882   need_version=no
   8883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8884   soname_spec='${libname}${release}${shared_ext}$major'
   8885   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8886   shlibpath_var=LD_LIBRARY_PATH
   8887   shlibpath_overrides_runpath=no
   8888   hardcode_into_libs=yes
   8889   ;;
   8890 
   8891 irix5* | irix6* | nonstopux*)
   8892   case $host_os in
   8893     nonstopux*) version_type=nonstopux ;;
   8894     *)
   8895 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8896 		version_type=linux
   8897 	else
   8898 		version_type=irix
   8899 	fi ;;
   8900   esac
   8901   need_lib_prefix=no
   8902   need_version=no
   8903   soname_spec='${libname}${release}${shared_ext}$major'
   8904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8905   case $host_os in
   8906   irix5* | nonstopux*)
   8907     libsuff= shlibsuff=
   8908     ;;
   8909   *)
   8910     case $LD in # libtool.m4 will add one of these switches to LD
   8911     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8912       libsuff= shlibsuff= libmagic=32-bit;;
   8913     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8914       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8915     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8916       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8917     *) libsuff= shlibsuff= libmagic=never-match;;
   8918     esac
   8919     ;;
   8920   esac
   8921   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8922   shlibpath_overrides_runpath=no
   8923   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8924   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8925   hardcode_into_libs=yes
   8926   ;;
   8927 
   8928 # No shared lib support for Linux oldld, aout, or coff.
   8929 linux*oldld* | linux*aout* | linux*coff*)
   8930   dynamic_linker=no
   8931   ;;
   8932 
   8933 # This must be Linux ELF.
   8934 linux*)
   8935   version_type=linux
   8936   need_lib_prefix=no
   8937   need_version=no
   8938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8939   soname_spec='${libname}${release}${shared_ext}$major'
   8940   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8941   shlibpath_var=LD_LIBRARY_PATH
   8942   shlibpath_overrides_runpath=no
   8943   # This implies no fast_install, which is unacceptable.
   8944   # Some rework will be needed to allow for fast_install
   8945   # before this can be enabled.
   8946   hardcode_into_libs=yes
   8947 
   8948   # Append ld.so.conf contents to the search path
   8949   if test -f /etc/ld.so.conf; then
   8950     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' ' '`
   8951     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8952   fi
   8953 
   8954   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8955   # powerpc, because MkLinux only supported shared libraries with the
   8956   # GNU dynamic linker.  Since this was broken with cross compilers,
   8957   # most powerpc-linux boxes support dynamic linking these days and
   8958   # people can always --disable-shared, the test was removed, and we
   8959   # assume the GNU/Linux dynamic linker is in use.
   8960   dynamic_linker='GNU/Linux ld.so'
   8961   ;;
   8962 
   8963 knetbsd*-gnu)
   8964   version_type=linux
   8965   need_lib_prefix=no
   8966   need_version=no
   8967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8968   soname_spec='${libname}${release}${shared_ext}$major'
   8969   shlibpath_var=LD_LIBRARY_PATH
   8970   shlibpath_overrides_runpath=no
   8971   hardcode_into_libs=yes
   8972   dynamic_linker='GNU ld.so'
   8973   ;;
   8974 
   8975 netbsd*)
   8976   version_type=sunos
   8977   need_lib_prefix=no
   8978   need_version=no
   8979   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8980     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8981     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8982     dynamic_linker='NetBSD (a.out) ld.so'
   8983   else
   8984     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8985     soname_spec='${libname}${release}${shared_ext}$major'
   8986     dynamic_linker='NetBSD ld.elf_so'
   8987   fi
   8988   shlibpath_var=LD_LIBRARY_PATH
   8989   shlibpath_overrides_runpath=yes
   8990   hardcode_into_libs=yes
   8991   ;;
   8992 
   8993 newsos6)
   8994   version_type=linux
   8995   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8996   shlibpath_var=LD_LIBRARY_PATH
   8997   shlibpath_overrides_runpath=yes
   8998   ;;
   8999 
   9000 nto-qnx*)
   9001   version_type=linux
   9002   need_lib_prefix=no
   9003   need_version=no
   9004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9005   soname_spec='${libname}${release}${shared_ext}$major'
   9006   shlibpath_var=LD_LIBRARY_PATH
   9007   shlibpath_overrides_runpath=yes
   9008   ;;
   9009 
   9010 openbsd*)
   9011   version_type=sunos
   9012   sys_lib_dlsearch_path_spec="/usr/lib"
   9013   need_lib_prefix=no
   9014   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9015   case $host_os in
   9016     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9017     *)                         need_version=no  ;;
   9018   esac
   9019   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9020   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9021   shlibpath_var=LD_LIBRARY_PATH
   9022   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9023     case $host_os in
   9024       openbsd2.[89] | openbsd2.[89].*)
   9025 	shlibpath_overrides_runpath=no
   9026 	;;
   9027       *)
   9028 	shlibpath_overrides_runpath=yes
   9029 	;;
   9030       esac
   9031   else
   9032     shlibpath_overrides_runpath=yes
   9033   fi
   9034   ;;
   9035 
   9036 os2*)
   9037   libname_spec='$name'
   9038   shrext_cmds=".dll"
   9039   need_lib_prefix=no
   9040   library_names_spec='$libname${shared_ext} $libname.a'
   9041   dynamic_linker='OS/2 ld.exe'
   9042   shlibpath_var=LIBPATH
   9043   ;;
   9044 
   9045 osf3* | osf4* | osf5*)
   9046   version_type=osf
   9047   need_lib_prefix=no
   9048   need_version=no
   9049   soname_spec='${libname}${release}${shared_ext}$major'
   9050   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9051   shlibpath_var=LD_LIBRARY_PATH
   9052   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9053   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9054   ;;
   9055 
   9056 solaris*)
   9057   version_type=linux
   9058   need_lib_prefix=no
   9059   need_version=no
   9060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9061   soname_spec='${libname}${release}${shared_ext}$major'
   9062   shlibpath_var=LD_LIBRARY_PATH
   9063   shlibpath_overrides_runpath=yes
   9064   hardcode_into_libs=yes
   9065   # ldd complains unless libraries are executable
   9066   postinstall_cmds='chmod +x $lib'
   9067   ;;
   9068 
   9069 sunos4*)
   9070   version_type=sunos
   9071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9072   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9073   shlibpath_var=LD_LIBRARY_PATH
   9074   shlibpath_overrides_runpath=yes
   9075   if test "$with_gnu_ld" = yes; then
   9076     need_lib_prefix=no
   9077   fi
   9078   need_version=yes
   9079   ;;
   9080 
   9081 sysv4 | sysv4.3*)
   9082   version_type=linux
   9083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9084   soname_spec='${libname}${release}${shared_ext}$major'
   9085   shlibpath_var=LD_LIBRARY_PATH
   9086   case $host_vendor in
   9087     sni)
   9088       shlibpath_overrides_runpath=no
   9089       need_lib_prefix=no
   9090       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9091       runpath_var=LD_RUN_PATH
   9092       ;;
   9093     siemens)
   9094       need_lib_prefix=no
   9095       ;;
   9096     motorola)
   9097       need_lib_prefix=no
   9098       need_version=no
   9099       shlibpath_overrides_runpath=no
   9100       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9101       ;;
   9102   esac
   9103   ;;
   9104 
   9105 sysv4*MP*)
   9106   if test -d /usr/nec ;then
   9107     version_type=linux
   9108     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9109     soname_spec='$libname${shared_ext}.$major'
   9110     shlibpath_var=LD_LIBRARY_PATH
   9111   fi
   9112   ;;
   9113 
   9114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9115   version_type=freebsd-elf
   9116   need_lib_prefix=no
   9117   need_version=no
   9118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9119   soname_spec='${libname}${release}${shared_ext}$major'
   9120   shlibpath_var=LD_LIBRARY_PATH
   9121   hardcode_into_libs=yes
   9122   if test "$with_gnu_ld" = yes; then
   9123     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9124     shlibpath_overrides_runpath=no
   9125   else
   9126     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9127     shlibpath_overrides_runpath=yes
   9128     case $host_os in
   9129       sco3.2v5*)
   9130         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9131 	;;
   9132     esac
   9133   fi
   9134   sys_lib_dlsearch_path_spec='/usr/lib'
   9135   ;;
   9136 
   9137 uts4*)
   9138   version_type=linux
   9139   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9140   soname_spec='${libname}${release}${shared_ext}$major'
   9141   shlibpath_var=LD_LIBRARY_PATH
   9142   ;;
   9143 
   9144 *)
   9145   dynamic_linker=no
   9146   ;;
   9147 esac
   9148 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9149 echo "${ECHO_T}$dynamic_linker" >&6; }
   9150 test "$dynamic_linker" = no && can_build_shared=no
   9151 
   9152 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9153 if test "$GCC" = yes; then
   9154   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9155 fi
   9156 
   9157 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9158 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9159 hardcode_action=
   9160 if test -n "$hardcode_libdir_flag_spec" || \
   9161    test -n "$runpath_var" || \
   9162    test "X$hardcode_automatic" = "Xyes" ; then
   9163 
   9164   # We can hardcode non-existant directories.
   9165   if test "$hardcode_direct" != no &&
   9166      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9167      # have to relink, otherwise we might link with an installed library
   9168      # when we should be linking with a yet-to-be-installed one
   9169      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9170      test "$hardcode_minus_L" != no; then
   9171     # Linking always hardcodes the temporary library directory.
   9172     hardcode_action=relink
   9173   else
   9174     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9175     hardcode_action=immediate
   9176   fi
   9177 else
   9178   # We cannot hardcode anything, or else we can only hardcode existing
   9179   # directories.
   9180   hardcode_action=unsupported
   9181 fi
   9182 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9183 echo "${ECHO_T}$hardcode_action" >&6; }
   9184 
   9185 if test "$hardcode_action" = relink; then
   9186   # Fast installation is not supported
   9187   enable_fast_install=no
   9188 elif test "$shlibpath_overrides_runpath" = yes ||
   9189      test "$enable_shared" = no; then
   9190   # Fast installation is not necessary
   9191   enable_fast_install=needless
   9192 fi
   9193 
   9194 striplib=
   9195 old_striplib=
   9196 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9197 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9198 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9199   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9200   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9201   { echo "$as_me:$LINENO: result: yes" >&5
   9202 echo "${ECHO_T}yes" >&6; }
   9203 else
   9204 # FIXME - insert some real tests, host_os isn't really good enough
   9205   case $host_os in
   9206    darwin*)
   9207        if test -n "$STRIP" ; then
   9208          striplib="$STRIP -x"
   9209          { echo "$as_me:$LINENO: result: yes" >&5
   9210 echo "${ECHO_T}yes" >&6; }
   9211        else
   9212   { echo "$as_me:$LINENO: result: no" >&5
   9213 echo "${ECHO_T}no" >&6; }
   9214 fi
   9215        ;;
   9216    *)
   9217   { echo "$as_me:$LINENO: result: no" >&5
   9218 echo "${ECHO_T}no" >&6; }
   9219     ;;
   9220   esac
   9221 fi
   9222 
   9223 if test "x$enable_dlopen" != xyes; then
   9224   enable_dlopen=unknown
   9225   enable_dlopen_self=unknown
   9226   enable_dlopen_self_static=unknown
   9227 else
   9228   lt_cv_dlopen=no
   9229   lt_cv_dlopen_libs=
   9230 
   9231   case $host_os in
   9232   beos*)
   9233     lt_cv_dlopen="load_add_on"
   9234     lt_cv_dlopen_libs=
   9235     lt_cv_dlopen_self=yes
   9236     ;;
   9237 
   9238   mingw* | pw32*)
   9239     lt_cv_dlopen="LoadLibrary"
   9240     lt_cv_dlopen_libs=
   9241    ;;
   9242 
   9243   cygwin*)
   9244     lt_cv_dlopen="dlopen"
   9245     lt_cv_dlopen_libs=
   9246    ;;
   9247 
   9248   darwin*)
   9249   # if libdl is installed we need to link against it
   9250     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9251 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9252 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9253   echo $ECHO_N "(cached) $ECHO_C" >&6
   9254 else
   9255   ac_check_lib_save_LIBS=$LIBS
   9256 LIBS="-ldl  $LIBS"
   9257 cat >conftest.$ac_ext <<_ACEOF
   9258 /* confdefs.h.  */
   9259 _ACEOF
   9260 cat confdefs.h >>conftest.$ac_ext
   9261 cat >>conftest.$ac_ext <<_ACEOF
   9262 /* end confdefs.h.  */
   9263 
   9264 /* Override any GCC internal prototype to avoid an error.
   9265    Use char because int might match the return type of a GCC
   9266    builtin and then its argument prototype would still apply.  */
   9267 #ifdef __cplusplus
   9268 extern "C"
   9269 #endif
   9270 char dlopen ();
   9271 int
   9272 main ()
   9273 {
   9274 return dlopen ();
   9275   ;
   9276   return 0;
   9277 }
   9278 _ACEOF
   9279 rm -f conftest.$ac_objext conftest$ac_exeext
   9280 if { (ac_try="$ac_link"
   9281 case "(($ac_try" in
   9282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9283   *) ac_try_echo=$ac_try;;
   9284 esac
   9285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9286   (eval "$ac_link") 2>conftest.er1
   9287   ac_status=$?
   9288   grep -v '^ *+' conftest.er1 >conftest.err
   9289   rm -f conftest.er1
   9290   cat conftest.err >&5
   9291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9292   (exit $ac_status); } && {
   9293 	 test -z "$ac_c_werror_flag" ||
   9294 	 test ! -s conftest.err
   9295        } && test -s conftest$ac_exeext &&
   9296        $as_test_x conftest$ac_exeext; then
   9297   ac_cv_lib_dl_dlopen=yes
   9298 else
   9299   echo "$as_me: failed program was:" >&5
   9300 sed 's/^/| /' conftest.$ac_ext >&5
   9301 
   9302 	ac_cv_lib_dl_dlopen=no
   9303 fi
   9304 
   9305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9306       conftest$ac_exeext conftest.$ac_ext
   9307 LIBS=$ac_check_lib_save_LIBS
   9308 fi
   9309 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9310 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9311 if test $ac_cv_lib_dl_dlopen = yes; then
   9312   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9313 else
   9314 
   9315     lt_cv_dlopen="dyld"
   9316     lt_cv_dlopen_libs=
   9317     lt_cv_dlopen_self=yes
   9318 
   9319 fi
   9320 
   9321    ;;
   9322 
   9323   *)
   9324     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9325 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9326 if test "${ac_cv_func_shl_load+set}" = set; then
   9327   echo $ECHO_N "(cached) $ECHO_C" >&6
   9328 else
   9329   cat >conftest.$ac_ext <<_ACEOF
   9330 /* confdefs.h.  */
   9331 _ACEOF
   9332 cat confdefs.h >>conftest.$ac_ext
   9333 cat >>conftest.$ac_ext <<_ACEOF
   9334 /* end confdefs.h.  */
   9335 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9337 #define shl_load innocuous_shl_load
   9338 
   9339 /* System header to define __stub macros and hopefully few prototypes,
   9340     which can conflict with char shl_load (); below.
   9341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9342     <limits.h> exists even on freestanding compilers.  */
   9343 
   9344 #ifdef __STDC__
   9345 # include <limits.h>
   9346 #else
   9347 # include <assert.h>
   9348 #endif
   9349 
   9350 #undef shl_load
   9351 
   9352 /* Override any GCC internal prototype to avoid an error.
   9353    Use char because int might match the return type of a GCC
   9354    builtin and then its argument prototype would still apply.  */
   9355 #ifdef __cplusplus
   9356 extern "C"
   9357 #endif
   9358 char shl_load ();
   9359 /* The GNU C library defines this for functions which it implements
   9360     to always fail with ENOSYS.  Some functions are actually named
   9361     something starting with __ and the normal name is an alias.  */
   9362 #if defined __stub_shl_load || defined __stub___shl_load
   9363 choke me
   9364 #endif
   9365 
   9366 int
   9367 main ()
   9368 {
   9369 return shl_load ();
   9370   ;
   9371   return 0;
   9372 }
   9373 _ACEOF
   9374 rm -f conftest.$ac_objext conftest$ac_exeext
   9375 if { (ac_try="$ac_link"
   9376 case "(($ac_try" in
   9377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9378   *) ac_try_echo=$ac_try;;
   9379 esac
   9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9381   (eval "$ac_link") 2>conftest.er1
   9382   ac_status=$?
   9383   grep -v '^ *+' conftest.er1 >conftest.err
   9384   rm -f conftest.er1
   9385   cat conftest.err >&5
   9386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9387   (exit $ac_status); } && {
   9388 	 test -z "$ac_c_werror_flag" ||
   9389 	 test ! -s conftest.err
   9390        } && test -s conftest$ac_exeext &&
   9391        $as_test_x conftest$ac_exeext; then
   9392   ac_cv_func_shl_load=yes
   9393 else
   9394   echo "$as_me: failed program was:" >&5
   9395 sed 's/^/| /' conftest.$ac_ext >&5
   9396 
   9397 	ac_cv_func_shl_load=no
   9398 fi
   9399 
   9400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9401       conftest$ac_exeext conftest.$ac_ext
   9402 fi
   9403 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9404 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9405 if test $ac_cv_func_shl_load = yes; then
   9406   lt_cv_dlopen="shl_load"
   9407 else
   9408   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9409 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9410 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9411   echo $ECHO_N "(cached) $ECHO_C" >&6
   9412 else
   9413   ac_check_lib_save_LIBS=$LIBS
   9414 LIBS="-ldld  $LIBS"
   9415 cat >conftest.$ac_ext <<_ACEOF
   9416 /* confdefs.h.  */
   9417 _ACEOF
   9418 cat confdefs.h >>conftest.$ac_ext
   9419 cat >>conftest.$ac_ext <<_ACEOF
   9420 /* end confdefs.h.  */
   9421 
   9422 /* Override any GCC internal prototype to avoid an error.
   9423    Use char because int might match the return type of a GCC
   9424    builtin and then its argument prototype would still apply.  */
   9425 #ifdef __cplusplus
   9426 extern "C"
   9427 #endif
   9428 char shl_load ();
   9429 int
   9430 main ()
   9431 {
   9432 return shl_load ();
   9433   ;
   9434   return 0;
   9435 }
   9436 _ACEOF
   9437 rm -f conftest.$ac_objext conftest$ac_exeext
   9438 if { (ac_try="$ac_link"
   9439 case "(($ac_try" in
   9440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9441   *) ac_try_echo=$ac_try;;
   9442 esac
   9443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9444   (eval "$ac_link") 2>conftest.er1
   9445   ac_status=$?
   9446   grep -v '^ *+' conftest.er1 >conftest.err
   9447   rm -f conftest.er1
   9448   cat conftest.err >&5
   9449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9450   (exit $ac_status); } && {
   9451 	 test -z "$ac_c_werror_flag" ||
   9452 	 test ! -s conftest.err
   9453        } && test -s conftest$ac_exeext &&
   9454        $as_test_x conftest$ac_exeext; then
   9455   ac_cv_lib_dld_shl_load=yes
   9456 else
   9457   echo "$as_me: failed program was:" >&5
   9458 sed 's/^/| /' conftest.$ac_ext >&5
   9459 
   9460 	ac_cv_lib_dld_shl_load=no
   9461 fi
   9462 
   9463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9464       conftest$ac_exeext conftest.$ac_ext
   9465 LIBS=$ac_check_lib_save_LIBS
   9466 fi
   9467 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9468 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9469 if test $ac_cv_lib_dld_shl_load = yes; then
   9470   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9471 else
   9472   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9473 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9474 if test "${ac_cv_func_dlopen+set}" = set; then
   9475   echo $ECHO_N "(cached) $ECHO_C" >&6
   9476 else
   9477   cat >conftest.$ac_ext <<_ACEOF
   9478 /* confdefs.h.  */
   9479 _ACEOF
   9480 cat confdefs.h >>conftest.$ac_ext
   9481 cat >>conftest.$ac_ext <<_ACEOF
   9482 /* end confdefs.h.  */
   9483 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9485 #define dlopen innocuous_dlopen
   9486 
   9487 /* System header to define __stub macros and hopefully few prototypes,
   9488     which can conflict with char dlopen (); below.
   9489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9490     <limits.h> exists even on freestanding compilers.  */
   9491 
   9492 #ifdef __STDC__
   9493 # include <limits.h>
   9494 #else
   9495 # include <assert.h>
   9496 #endif
   9497 
   9498 #undef dlopen
   9499 
   9500 /* Override any GCC internal prototype to avoid an error.
   9501    Use char because int might match the return type of a GCC
   9502    builtin and then its argument prototype would still apply.  */
   9503 #ifdef __cplusplus
   9504 extern "C"
   9505 #endif
   9506 char dlopen ();
   9507 /* The GNU C library defines this for functions which it implements
   9508     to always fail with ENOSYS.  Some functions are actually named
   9509     something starting with __ and the normal name is an alias.  */
   9510 #if defined __stub_dlopen || defined __stub___dlopen
   9511 choke me
   9512 #endif
   9513 
   9514 int
   9515 main ()
   9516 {
   9517 return dlopen ();
   9518   ;
   9519   return 0;
   9520 }
   9521 _ACEOF
   9522 rm -f conftest.$ac_objext conftest$ac_exeext
   9523 if { (ac_try="$ac_link"
   9524 case "(($ac_try" in
   9525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9526   *) ac_try_echo=$ac_try;;
   9527 esac
   9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9529   (eval "$ac_link") 2>conftest.er1
   9530   ac_status=$?
   9531   grep -v '^ *+' conftest.er1 >conftest.err
   9532   rm -f conftest.er1
   9533   cat conftest.err >&5
   9534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9535   (exit $ac_status); } && {
   9536 	 test -z "$ac_c_werror_flag" ||
   9537 	 test ! -s conftest.err
   9538        } && test -s conftest$ac_exeext &&
   9539        $as_test_x conftest$ac_exeext; then
   9540   ac_cv_func_dlopen=yes
   9541 else
   9542   echo "$as_me: failed program was:" >&5
   9543 sed 's/^/| /' conftest.$ac_ext >&5
   9544 
   9545 	ac_cv_func_dlopen=no
   9546 fi
   9547 
   9548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9549       conftest$ac_exeext conftest.$ac_ext
   9550 fi
   9551 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9552 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9553 if test $ac_cv_func_dlopen = yes; then
   9554   lt_cv_dlopen="dlopen"
   9555 else
   9556   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9557 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9558 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9559   echo $ECHO_N "(cached) $ECHO_C" >&6
   9560 else
   9561   ac_check_lib_save_LIBS=$LIBS
   9562 LIBS="-ldl  $LIBS"
   9563 cat >conftest.$ac_ext <<_ACEOF
   9564 /* confdefs.h.  */
   9565 _ACEOF
   9566 cat confdefs.h >>conftest.$ac_ext
   9567 cat >>conftest.$ac_ext <<_ACEOF
   9568 /* end confdefs.h.  */
   9569 
   9570 /* Override any GCC internal prototype to avoid an error.
   9571    Use char because int might match the return type of a GCC
   9572    builtin and then its argument prototype would still apply.  */
   9573 #ifdef __cplusplus
   9574 extern "C"
   9575 #endif
   9576 char dlopen ();
   9577 int
   9578 main ()
   9579 {
   9580 return dlopen ();
   9581   ;
   9582   return 0;
   9583 }
   9584 _ACEOF
   9585 rm -f conftest.$ac_objext conftest$ac_exeext
   9586 if { (ac_try="$ac_link"
   9587 case "(($ac_try" in
   9588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9589   *) ac_try_echo=$ac_try;;
   9590 esac
   9591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9592   (eval "$ac_link") 2>conftest.er1
   9593   ac_status=$?
   9594   grep -v '^ *+' conftest.er1 >conftest.err
   9595   rm -f conftest.er1
   9596   cat conftest.err >&5
   9597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9598   (exit $ac_status); } && {
   9599 	 test -z "$ac_c_werror_flag" ||
   9600 	 test ! -s conftest.err
   9601        } && test -s conftest$ac_exeext &&
   9602        $as_test_x conftest$ac_exeext; then
   9603   ac_cv_lib_dl_dlopen=yes
   9604 else
   9605   echo "$as_me: failed program was:" >&5
   9606 sed 's/^/| /' conftest.$ac_ext >&5
   9607 
   9608 	ac_cv_lib_dl_dlopen=no
   9609 fi
   9610 
   9611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9612       conftest$ac_exeext conftest.$ac_ext
   9613 LIBS=$ac_check_lib_save_LIBS
   9614 fi
   9615 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9616 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9617 if test $ac_cv_lib_dl_dlopen = yes; then
   9618   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9619 else
   9620   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9621 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9622 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9623   echo $ECHO_N "(cached) $ECHO_C" >&6
   9624 else
   9625   ac_check_lib_save_LIBS=$LIBS
   9626 LIBS="-lsvld  $LIBS"
   9627 cat >conftest.$ac_ext <<_ACEOF
   9628 /* confdefs.h.  */
   9629 _ACEOF
   9630 cat confdefs.h >>conftest.$ac_ext
   9631 cat >>conftest.$ac_ext <<_ACEOF
   9632 /* end confdefs.h.  */
   9633 
   9634 /* Override any GCC internal prototype to avoid an error.
   9635    Use char because int might match the return type of a GCC
   9636    builtin and then its argument prototype would still apply.  */
   9637 #ifdef __cplusplus
   9638 extern "C"
   9639 #endif
   9640 char dlopen ();
   9641 int
   9642 main ()
   9643 {
   9644 return dlopen ();
   9645   ;
   9646   return 0;
   9647 }
   9648 _ACEOF
   9649 rm -f conftest.$ac_objext conftest$ac_exeext
   9650 if { (ac_try="$ac_link"
   9651 case "(($ac_try" in
   9652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9653   *) ac_try_echo=$ac_try;;
   9654 esac
   9655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9656   (eval "$ac_link") 2>conftest.er1
   9657   ac_status=$?
   9658   grep -v '^ *+' conftest.er1 >conftest.err
   9659   rm -f conftest.er1
   9660   cat conftest.err >&5
   9661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9662   (exit $ac_status); } && {
   9663 	 test -z "$ac_c_werror_flag" ||
   9664 	 test ! -s conftest.err
   9665        } && test -s conftest$ac_exeext &&
   9666        $as_test_x conftest$ac_exeext; then
   9667   ac_cv_lib_svld_dlopen=yes
   9668 else
   9669   echo "$as_me: failed program was:" >&5
   9670 sed 's/^/| /' conftest.$ac_ext >&5
   9671 
   9672 	ac_cv_lib_svld_dlopen=no
   9673 fi
   9674 
   9675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9676       conftest$ac_exeext conftest.$ac_ext
   9677 LIBS=$ac_check_lib_save_LIBS
   9678 fi
   9679 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9680 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9681 if test $ac_cv_lib_svld_dlopen = yes; then
   9682   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9683 else
   9684   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9685 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9686 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9687   echo $ECHO_N "(cached) $ECHO_C" >&6
   9688 else
   9689   ac_check_lib_save_LIBS=$LIBS
   9690 LIBS="-ldld  $LIBS"
   9691 cat >conftest.$ac_ext <<_ACEOF
   9692 /* confdefs.h.  */
   9693 _ACEOF
   9694 cat confdefs.h >>conftest.$ac_ext
   9695 cat >>conftest.$ac_ext <<_ACEOF
   9696 /* end confdefs.h.  */
   9697 
   9698 /* Override any GCC internal prototype to avoid an error.
   9699    Use char because int might match the return type of a GCC
   9700    builtin and then its argument prototype would still apply.  */
   9701 #ifdef __cplusplus
   9702 extern "C"
   9703 #endif
   9704 char dld_link ();
   9705 int
   9706 main ()
   9707 {
   9708 return dld_link ();
   9709   ;
   9710   return 0;
   9711 }
   9712 _ACEOF
   9713 rm -f conftest.$ac_objext conftest$ac_exeext
   9714 if { (ac_try="$ac_link"
   9715 case "(($ac_try" in
   9716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9717   *) ac_try_echo=$ac_try;;
   9718 esac
   9719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9720   (eval "$ac_link") 2>conftest.er1
   9721   ac_status=$?
   9722   grep -v '^ *+' conftest.er1 >conftest.err
   9723   rm -f conftest.er1
   9724   cat conftest.err >&5
   9725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9726   (exit $ac_status); } && {
   9727 	 test -z "$ac_c_werror_flag" ||
   9728 	 test ! -s conftest.err
   9729        } && test -s conftest$ac_exeext &&
   9730        $as_test_x conftest$ac_exeext; then
   9731   ac_cv_lib_dld_dld_link=yes
   9732 else
   9733   echo "$as_me: failed program was:" >&5
   9734 sed 's/^/| /' conftest.$ac_ext >&5
   9735 
   9736 	ac_cv_lib_dld_dld_link=no
   9737 fi
   9738 
   9739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9740       conftest$ac_exeext conftest.$ac_ext
   9741 LIBS=$ac_check_lib_save_LIBS
   9742 fi
   9743 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9744 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9745 if test $ac_cv_lib_dld_dld_link = yes; then
   9746   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9747 fi
   9748 
   9749 
   9750 fi
   9751 
   9752 
   9753 fi
   9754 
   9755 
   9756 fi
   9757 
   9758 
   9759 fi
   9760 
   9761 
   9762 fi
   9763 
   9764     ;;
   9765   esac
   9766 
   9767   if test "x$lt_cv_dlopen" != xno; then
   9768     enable_dlopen=yes
   9769   else
   9770     enable_dlopen=no
   9771   fi
   9772 
   9773   case $lt_cv_dlopen in
   9774   dlopen)
   9775     save_CPPFLAGS="$CPPFLAGS"
   9776     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9777 
   9778     save_LDFLAGS="$LDFLAGS"
   9779     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9780 
   9781     save_LIBS="$LIBS"
   9782     LIBS="$lt_cv_dlopen_libs $LIBS"
   9783 
   9784     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9785 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9786 if test "${lt_cv_dlopen_self+set}" = set; then
   9787   echo $ECHO_N "(cached) $ECHO_C" >&6
   9788 else
   9789   	  if test "$cross_compiling" = yes; then :
   9790   lt_cv_dlopen_self=cross
   9791 else
   9792   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9793   lt_status=$lt_dlunknown
   9794   cat > conftest.$ac_ext <<EOF
   9795 #line 9795 "configure"
   9796 #include "confdefs.h"
   9797 
   9798 #if HAVE_DLFCN_H
   9799 #include <dlfcn.h>
   9800 #endif
   9801 
   9802 #include <stdio.h>
   9803 
   9804 #ifdef RTLD_GLOBAL
   9805 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9806 #else
   9807 #  ifdef DL_GLOBAL
   9808 #    define LT_DLGLOBAL		DL_GLOBAL
   9809 #  else
   9810 #    define LT_DLGLOBAL		0
   9811 #  endif
   9812 #endif
   9813 
   9814 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9815    find out it does not work in some platform. */
   9816 #ifndef LT_DLLAZY_OR_NOW
   9817 #  ifdef RTLD_LAZY
   9818 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9819 #  else
   9820 #    ifdef DL_LAZY
   9821 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9822 #    else
   9823 #      ifdef RTLD_NOW
   9824 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9825 #      else
   9826 #        ifdef DL_NOW
   9827 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9828 #        else
   9829 #          define LT_DLLAZY_OR_NOW	0
   9830 #        endif
   9831 #      endif
   9832 #    endif
   9833 #  endif
   9834 #endif
   9835 
   9836 #ifdef __cplusplus
   9837 extern "C" void exit (int);
   9838 #endif
   9839 
   9840 void fnord() { int i=42;}
   9841 int main ()
   9842 {
   9843   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9844   int status = $lt_dlunknown;
   9845 
   9846   if (self)
   9847     {
   9848       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9849       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9850       /* dlclose (self); */
   9851     }
   9852   else
   9853     puts (dlerror ());
   9854 
   9855     exit (status);
   9856 }
   9857 EOF
   9858   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9859   (eval $ac_link) 2>&5
   9860   ac_status=$?
   9861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9862   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9863     (./conftest; exit; ) >&5 2>/dev/null
   9864     lt_status=$?
   9865     case x$lt_status in
   9866       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9867       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9868       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9869     esac
   9870   else :
   9871     # compilation failed
   9872     lt_cv_dlopen_self=no
   9873   fi
   9874 fi
   9875 rm -fr conftest*
   9876 
   9877 
   9878 fi
   9879 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9880 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9881 
   9882     if test "x$lt_cv_dlopen_self" = xyes; then
   9883       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9884       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9885 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9886 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9887   echo $ECHO_N "(cached) $ECHO_C" >&6
   9888 else
   9889   	  if test "$cross_compiling" = yes; then :
   9890   lt_cv_dlopen_self_static=cross
   9891 else
   9892   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9893   lt_status=$lt_dlunknown
   9894   cat > conftest.$ac_ext <<EOF
   9895 #line 9895 "configure"
   9896 #include "confdefs.h"
   9897 
   9898 #if HAVE_DLFCN_H
   9899 #include <dlfcn.h>
   9900 #endif
   9901 
   9902 #include <stdio.h>
   9903 
   9904 #ifdef RTLD_GLOBAL
   9905 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9906 #else
   9907 #  ifdef DL_GLOBAL
   9908 #    define LT_DLGLOBAL		DL_GLOBAL
   9909 #  else
   9910 #    define LT_DLGLOBAL		0
   9911 #  endif
   9912 #endif
   9913 
   9914 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9915    find out it does not work in some platform. */
   9916 #ifndef LT_DLLAZY_OR_NOW
   9917 #  ifdef RTLD_LAZY
   9918 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9919 #  else
   9920 #    ifdef DL_LAZY
   9921 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9922 #    else
   9923 #      ifdef RTLD_NOW
   9924 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9925 #      else
   9926 #        ifdef DL_NOW
   9927 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9928 #        else
   9929 #          define LT_DLLAZY_OR_NOW	0
   9930 #        endif
   9931 #      endif
   9932 #    endif
   9933 #  endif
   9934 #endif
   9935 
   9936 #ifdef __cplusplus
   9937 extern "C" void exit (int);
   9938 #endif
   9939 
   9940 void fnord() { int i=42;}
   9941 int main ()
   9942 {
   9943   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9944   int status = $lt_dlunknown;
   9945 
   9946   if (self)
   9947     {
   9948       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9949       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9950       /* dlclose (self); */
   9951     }
   9952   else
   9953     puts (dlerror ());
   9954 
   9955     exit (status);
   9956 }
   9957 EOF
   9958   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9959   (eval $ac_link) 2>&5
   9960   ac_status=$?
   9961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9962   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9963     (./conftest; exit; ) >&5 2>/dev/null
   9964     lt_status=$?
   9965     case x$lt_status in
   9966       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9967       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9968       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9969     esac
   9970   else :
   9971     # compilation failed
   9972     lt_cv_dlopen_self_static=no
   9973   fi
   9974 fi
   9975 rm -fr conftest*
   9976 
   9977 
   9978 fi
   9979 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9980 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   9981     fi
   9982 
   9983     CPPFLAGS="$save_CPPFLAGS"
   9984     LDFLAGS="$save_LDFLAGS"
   9985     LIBS="$save_LIBS"
   9986     ;;
   9987   esac
   9988 
   9989   case $lt_cv_dlopen_self in
   9990   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   9991   *) enable_dlopen_self=unknown ;;
   9992   esac
   9993 
   9994   case $lt_cv_dlopen_self_static in
   9995   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   9996   *) enable_dlopen_self_static=unknown ;;
   9997   esac
   9998 fi
   9999 
   10000 
   10001 # Report which library types will actually be built
   10002 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10003 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10004 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10005 echo "${ECHO_T}$can_build_shared" >&6; }
   10006 
   10007 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10008 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10009 test "$can_build_shared" = "no" && enable_shared=no
   10010 
   10011 # On AIX, shared libraries and static libraries use the same namespace, and
   10012 # are all built from PIC.
   10013 case $host_os in
   10014 aix3*)
   10015   test "$enable_shared" = yes && enable_static=no
   10016   if test -n "$RANLIB"; then
   10017     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10018     postinstall_cmds='$RANLIB $lib'
   10019   fi
   10020   ;;
   10021 
   10022 aix4* | aix5*)
   10023   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10024     test "$enable_shared" = yes && enable_static=no
   10025   fi
   10026     ;;
   10027 esac
   10028 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10029 echo "${ECHO_T}$enable_shared" >&6; }
   10030 
   10031 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10032 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10033 # Make sure either enable_shared or enable_static is yes.
   10034 test "$enable_shared" = yes || enable_static=yes
   10035 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10036 echo "${ECHO_T}$enable_static" >&6; }
   10037 
   10038 # The else clause should only fire when bootstrapping the
   10039 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10040 # with your package, and you will get complaints that there are
   10041 # no rules to generate ltmain.sh.
   10042 if test -f "$ltmain"; then
   10043   # See if we are running on zsh, and set the options which allow our commands through
   10044   # without removal of \ escapes.
   10045   if test -n "${ZSH_VERSION+set}" ; then
   10046     setopt NO_GLOB_SUBST
   10047   fi
   10048   # Now quote all the things that may contain metacharacters while being
   10049   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10050   # variables and quote the copies for generation of the libtool script.
   10051   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10052     SED SHELL STRIP \
   10053     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10054     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10055     deplibs_check_method reload_flag reload_cmds need_locks \
   10056     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10057     lt_cv_sys_global_symbol_to_c_name_address \
   10058     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10059     old_postinstall_cmds old_postuninstall_cmds \
   10060     compiler \
   10061     CC \
   10062     LD \
   10063     lt_prog_compiler_wl \
   10064     lt_prog_compiler_pic \
   10065     lt_prog_compiler_static \
   10066     lt_prog_compiler_no_builtin_flag \
   10067     export_dynamic_flag_spec \
   10068     thread_safe_flag_spec \
   10069     whole_archive_flag_spec \
   10070     enable_shared_with_static_runtimes \
   10071     old_archive_cmds \
   10072     old_archive_from_new_cmds \
   10073     predep_objects \
   10074     postdep_objects \
   10075     predeps \
   10076     postdeps \
   10077     compiler_lib_search_path \
   10078     archive_cmds \
   10079     archive_expsym_cmds \
   10080     postinstall_cmds \
   10081     postuninstall_cmds \
   10082     old_archive_from_expsyms_cmds \
   10083     allow_undefined_flag \
   10084     no_undefined_flag \
   10085     export_symbols_cmds \
   10086     hardcode_libdir_flag_spec \
   10087     hardcode_libdir_flag_spec_ld \
   10088     hardcode_libdir_separator \
   10089     hardcode_automatic \
   10090     module_cmds \
   10091     module_expsym_cmds \
   10092     lt_cv_prog_compiler_c_o \
   10093     exclude_expsyms \
   10094     include_expsyms; do
   10095 
   10096     case $var in
   10097     old_archive_cmds | \
   10098     old_archive_from_new_cmds | \
   10099     archive_cmds | \
   10100     archive_expsym_cmds | \
   10101     module_cmds | \
   10102     module_expsym_cmds | \
   10103     old_archive_from_expsyms_cmds | \
   10104     export_symbols_cmds | \
   10105     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10106     postinstall_cmds | postuninstall_cmds | \
   10107     old_postinstall_cmds | old_postuninstall_cmds | \
   10108     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10109       # Double-quote double-evaled strings.
   10110       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10111       ;;
   10112     *)
   10113       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10114       ;;
   10115     esac
   10116   done
   10117 
   10118   case $lt_echo in
   10119   *'\$0 --fallback-echo"')
   10120     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10121     ;;
   10122   esac
   10123 
   10124 cfgfile="${ofile}T"
   10125   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10126   $rm -f "$cfgfile"
   10127   { echo "$as_me:$LINENO: creating $ofile" >&5
   10128 echo "$as_me: creating $ofile" >&6;}
   10129 
   10130   cat <<__EOF__ >> "$cfgfile"
   10131 #! $SHELL
   10132 
   10133 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10134 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10135 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10136 #
   10137 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10138 # Free Software Foundation, Inc.
   10139 #
   10140 # This file is part of GNU Libtool:
   10141 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10142 #
   10143 # This program is free software; you can redistribute it and/or modify
   10144 # it under the terms of the GNU General Public License as published by
   10145 # the Free Software Foundation; either version 2 of the License, or
   10146 # (at your option) any later version.
   10147 #
   10148 # This program is distributed in the hope that it will be useful, but
   10149 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10150 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10151 # General Public License for more details.
   10152 #
   10153 # You should have received a copy of the GNU General Public License
   10154 # along with this program; if not, write to the Free Software
   10155 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10156 #
   10157 # As a special exception to the GNU General Public License, if you
   10158 # distribute this file as part of a program that contains a
   10159 # configuration script generated by Autoconf, you may include it under
   10160 # the same distribution terms that you use for the rest of that program.
   10161 
   10162 # A sed program that does not truncate output.
   10163 SED=$lt_SED
   10164 
   10165 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10166 Xsed="$SED -e 1s/^X//"
   10167 
   10168 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10169 # if CDPATH is set.
   10170 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10171 
   10172 # The names of the tagged configurations supported by this script.
   10173 available_tags=
   10174 
   10175 # ### BEGIN LIBTOOL CONFIG
   10176 
   10177 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10178 
   10179 # Shell to use when invoking shell scripts.
   10180 SHELL=$lt_SHELL
   10181 
   10182 # Whether or not to build shared libraries.
   10183 build_libtool_libs=$enable_shared
   10184 
   10185 # Whether or not to build static libraries.
   10186 build_old_libs=$enable_static
   10187 
   10188 # Whether or not to add -lc for building shared libraries.
   10189 build_libtool_need_lc=$archive_cmds_need_lc
   10190 
   10191 # Whether or not to disallow shared libs when runtime libs are static
   10192 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10193 
   10194 # Whether or not to optimize for fast installation.
   10195 fast_install=$enable_fast_install
   10196 
   10197 # The host system.
   10198 host_alias=$host_alias
   10199 host=$host
   10200 host_os=$host_os
   10201 
   10202 # The build system.
   10203 build_alias=$build_alias
   10204 build=$build
   10205 build_os=$build_os
   10206 
   10207 # An echo program that does not interpret backslashes.
   10208 echo=$lt_echo
   10209 
   10210 # The archiver.
   10211 AR=$lt_AR
   10212 AR_FLAGS=$lt_AR_FLAGS
   10213 
   10214 # A C compiler.
   10215 LTCC=$lt_LTCC
   10216 
   10217 # LTCC compiler flags.
   10218 LTCFLAGS=$lt_LTCFLAGS
   10219 
   10220 # A language-specific compiler.
   10221 CC=$lt_compiler
   10222 
   10223 # Is the compiler the GNU C compiler?
   10224 with_gcc=$GCC
   10225 
   10226 # An ERE matcher.
   10227 EGREP=$lt_EGREP
   10228 
   10229 # The linker used to build libraries.
   10230 LD=$lt_LD
   10231 
   10232 # Whether we need hard or soft links.
   10233 LN_S=$lt_LN_S
   10234 
   10235 # A BSD-compatible nm program.
   10236 NM=$lt_NM
   10237 
   10238 # A symbol stripping program
   10239 STRIP=$lt_STRIP
   10240 
   10241 # Used to examine libraries when file_magic_cmd begins "file"
   10242 MAGIC_CMD=$MAGIC_CMD
   10243 
   10244 # Used on cygwin: DLL creation program.
   10245 DLLTOOL="$DLLTOOL"
   10246 
   10247 # Used on cygwin: object dumper.
   10248 OBJDUMP="$OBJDUMP"
   10249 
   10250 # Used on cygwin: assembler.
   10251 AS="$AS"
   10252 
   10253 # The name of the directory that contains temporary libtool files.
   10254 objdir=$objdir
   10255 
   10256 # How to create reloadable object files.
   10257 reload_flag=$lt_reload_flag
   10258 reload_cmds=$lt_reload_cmds
   10259 
   10260 # How to pass a linker flag through the compiler.
   10261 wl=$lt_lt_prog_compiler_wl
   10262 
   10263 # Object file suffix (normally "o").
   10264 objext="$ac_objext"
   10265 
   10266 # Old archive suffix (normally "a").
   10267 libext="$libext"
   10268 
   10269 # Shared library suffix (normally ".so").
   10270 shrext_cmds='$shrext_cmds'
   10271 
   10272 # Executable file suffix (normally "").
   10273 exeext="$exeext"
   10274 
   10275 # Additional compiler flags for building library objects.
   10276 pic_flag=$lt_lt_prog_compiler_pic
   10277 pic_mode=$pic_mode
   10278 
   10279 # What is the maximum length of a command?
   10280 max_cmd_len=$lt_cv_sys_max_cmd_len
   10281 
   10282 # Does compiler simultaneously support -c and -o options?
   10283 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10284 
   10285 # Must we lock files when doing compilation?
   10286 need_locks=$lt_need_locks
   10287 
   10288 # Do we need the lib prefix for modules?
   10289 need_lib_prefix=$need_lib_prefix
   10290 
   10291 # Do we need a version for libraries?
   10292 need_version=$need_version
   10293 
   10294 # Whether dlopen is supported.
   10295 dlopen_support=$enable_dlopen
   10296 
   10297 # Whether dlopen of programs is supported.
   10298 dlopen_self=$enable_dlopen_self
   10299 
   10300 # Whether dlopen of statically linked programs is supported.
   10301 dlopen_self_static=$enable_dlopen_self_static
   10302 
   10303 # Compiler flag to prevent dynamic linking.
   10304 link_static_flag=$lt_lt_prog_compiler_static
   10305 
   10306 # Compiler flag to turn off builtin functions.
   10307 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10308 
   10309 # Compiler flag to allow reflexive dlopens.
   10310 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10311 
   10312 # Compiler flag to generate shared objects directly from archives.
   10313 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10314 
   10315 # Compiler flag to generate thread-safe objects.
   10316 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10317 
   10318 # Library versioning type.
   10319 version_type=$version_type
   10320 
   10321 # Format of library name prefix.
   10322 libname_spec=$lt_libname_spec
   10323 
   10324 # List of archive names.  First name is the real one, the rest are links.
   10325 # The last name is the one that the linker finds with -lNAME.
   10326 library_names_spec=$lt_library_names_spec
   10327 
   10328 # The coded name of the library, if different from the real name.
   10329 soname_spec=$lt_soname_spec
   10330 
   10331 # Commands used to build and install an old-style archive.
   10332 RANLIB=$lt_RANLIB
   10333 old_archive_cmds=$lt_old_archive_cmds
   10334 old_postinstall_cmds=$lt_old_postinstall_cmds
   10335 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10336 
   10337 # Create an old-style archive from a shared archive.
   10338 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10339 
   10340 # Create a temporary old-style archive to link instead of a shared archive.
   10341 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10342 
   10343 # Commands used to build and install a shared archive.
   10344 archive_cmds=$lt_archive_cmds
   10345 archive_expsym_cmds=$lt_archive_expsym_cmds
   10346 postinstall_cmds=$lt_postinstall_cmds
   10347 postuninstall_cmds=$lt_postuninstall_cmds
   10348 
   10349 # Commands used to build a loadable module (assumed same as above if empty)
   10350 module_cmds=$lt_module_cmds
   10351 module_expsym_cmds=$lt_module_expsym_cmds
   10352 
   10353 # Commands to strip libraries.
   10354 old_striplib=$lt_old_striplib
   10355 striplib=$lt_striplib
   10356 
   10357 # Dependencies to place before the objects being linked to create a
   10358 # shared library.
   10359 predep_objects=$lt_predep_objects
   10360 
   10361 # Dependencies to place after the objects being linked to create a
   10362 # shared library.
   10363 postdep_objects=$lt_postdep_objects
   10364 
   10365 # Dependencies to place before the objects being linked to create a
   10366 # shared library.
   10367 predeps=$lt_predeps
   10368 
   10369 # Dependencies to place after the objects being linked to create a
   10370 # shared library.
   10371 postdeps=$lt_postdeps
   10372 
   10373 # The library search path used internally by the compiler when linking
   10374 # a shared library.
   10375 compiler_lib_search_path=$lt_compiler_lib_search_path
   10376 
   10377 # Method to check whether dependent libraries are shared objects.
   10378 deplibs_check_method=$lt_deplibs_check_method
   10379 
   10380 # Command to use when deplibs_check_method == file_magic.
   10381 file_magic_cmd=$lt_file_magic_cmd
   10382 
   10383 # Flag that allows shared libraries with undefined symbols to be built.
   10384 allow_undefined_flag=$lt_allow_undefined_flag
   10385 
   10386 # Flag that forces no undefined symbols.
   10387 no_undefined_flag=$lt_no_undefined_flag
   10388 
   10389 # Commands used to finish a libtool library installation in a directory.
   10390 finish_cmds=$lt_finish_cmds
   10391 
   10392 # Same as above, but a single script fragment to be evaled but not shown.
   10393 finish_eval=$lt_finish_eval
   10394 
   10395 # Take the output of nm and produce a listing of raw symbols and C names.
   10396 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10397 
   10398 # Transform the output of nm in a proper C declaration
   10399 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10400 
   10401 # Transform the output of nm in a C name address pair
   10402 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10403 
   10404 # This is the shared library runtime path variable.
   10405 runpath_var=$runpath_var
   10406 
   10407 # This is the shared library path variable.
   10408 shlibpath_var=$shlibpath_var
   10409 
   10410 # Is shlibpath searched before the hard-coded library search path?
   10411 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10412 
   10413 # How to hardcode a shared library path into an executable.
   10414 hardcode_action=$hardcode_action
   10415 
   10416 # Whether we should hardcode library paths into libraries.
   10417 hardcode_into_libs=$hardcode_into_libs
   10418 
   10419 # Flag to hardcode \$libdir into a binary during linking.
   10420 # This must work even if \$libdir does not exist.
   10421 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10422 
   10423 # If ld is used when linking, flag to hardcode \$libdir into
   10424 # a binary during linking. This must work even if \$libdir does
   10425 # not exist.
   10426 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10427 
   10428 # Whether we need a single -rpath flag with a separated argument.
   10429 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10430 
   10431 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10432 # resulting binary.
   10433 hardcode_direct=$hardcode_direct
   10434 
   10435 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10436 # resulting binary.
   10437 hardcode_minus_L=$hardcode_minus_L
   10438 
   10439 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10440 # the resulting binary.
   10441 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10442 
   10443 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10444 # and all subsequent libraries and executables linked against it.
   10445 hardcode_automatic=$hardcode_automatic
   10446 
   10447 # Variables whose values should be saved in libtool wrapper scripts and
   10448 # restored at relink time.
   10449 variables_saved_for_relink="$variables_saved_for_relink"
   10450 
   10451 # Whether libtool must link a program against all its dependency libraries.
   10452 link_all_deplibs=$link_all_deplibs
   10453 
   10454 # Compile-time system search path for libraries
   10455 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10456 
   10457 # Run-time system search path for libraries
   10458 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10459 
   10460 # Fix the shell variable \$srcfile for the compiler.
   10461 fix_srcfile_path="$fix_srcfile_path"
   10462 
   10463 # Set to yes if exported symbols are required.
   10464 always_export_symbols=$always_export_symbols
   10465 
   10466 # The commands to list exported symbols.
   10467 export_symbols_cmds=$lt_export_symbols_cmds
   10468 
   10469 # The commands to extract the exported symbol list from a shared archive.
   10470 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10471 
   10472 # Symbols that should not be listed in the preloaded symbols.
   10473 exclude_expsyms=$lt_exclude_expsyms
   10474 
   10475 # Symbols that must always be exported.
   10476 include_expsyms=$lt_include_expsyms
   10477 
   10478 # ### END LIBTOOL CONFIG
   10479 
   10480 __EOF__
   10481 
   10482 
   10483   case $host_os in
   10484   aix3*)
   10485     cat <<\EOF >> "$cfgfile"
   10486 
   10487 # AIX sometimes has problems with the GCC collect2 program.  For some
   10488 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10489 # vanish in a puff of smoke.
   10490 if test "X${COLLECT_NAMES+set}" != Xset; then
   10491   COLLECT_NAMES=
   10492   export COLLECT_NAMES
   10493 fi
   10494 EOF
   10495     ;;
   10496   esac
   10497 
   10498   # We use sed instead of cat because bash on DJGPP gets confused if
   10499   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10500   # text mode, it properly converts lines to CR/LF.  This bash problem
   10501   # is reportedly fixed, but why not run on old versions too?
   10502   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10503 
   10504   mv -f "$cfgfile" "$ofile" || \
   10505     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10506   chmod +x "$ofile"
   10507 
   10508 else
   10509   # If there is no Makefile yet, we rely on a make rule to execute
   10510   # `config.status --recheck' to rerun these tests and create the
   10511   # libtool script then.
   10512   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10513   if test -f "$ltmain_in"; then
   10514     test -f Makefile && make "$ltmain"
   10515   fi
   10516 fi
   10517 
   10518 
   10519 ac_ext=c
   10520 ac_cpp='$CPP $CPPFLAGS'
   10521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10524 
   10525 CC="$lt_save_CC"
   10526 
   10527 
   10528 # Check whether --with-tags was given.
   10529 if test "${with_tags+set}" = set; then
   10530   withval=$with_tags; tagnames="$withval"
   10531 fi
   10532 
   10533 
   10534 if test -f "$ltmain" && test -n "$tagnames"; then
   10535   if test ! -f "${ofile}"; then
   10536     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10537 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10538   fi
   10539 
   10540   if test -z "$LTCC"; then
   10541     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10542     if test -z "$LTCC"; then
   10543       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10544 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10545     else
   10546       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10547 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10548     fi
   10549   fi
   10550   if test -z "$LTCFLAGS"; then
   10551     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10552   fi
   10553 
   10554   # Extract list of available tagged configurations in $ofile.
   10555   # Note that this assumes the entire list is on one line.
   10556   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10557 
   10558   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10559   for tagname in $tagnames; do
   10560     IFS="$lt_save_ifs"
   10561     # Check whether tagname contains only valid characters
   10562     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10563     "") ;;
   10564     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10565 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10566    { (exit 1); exit 1; }; }
   10567 	;;
   10568     esac
   10569 
   10570     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10571     then
   10572       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10573 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10574    { (exit 1); exit 1; }; }
   10575     fi
   10576 
   10577     # Update the list of available tags.
   10578     if test -n "$tagname"; then
   10579       echo appending configuration tag \"$tagname\" to $ofile
   10580 
   10581       case $tagname in
   10582       CXX)
   10583 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10584 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10585 	    (test "X$CXX" != "Xg++"))) ; then
   10586 	  ac_ext=cpp
   10587 ac_cpp='$CXXCPP $CPPFLAGS'
   10588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10591 
   10592 
   10593 
   10594 
   10595 archive_cmds_need_lc_CXX=no
   10596 allow_undefined_flag_CXX=
   10597 always_export_symbols_CXX=no
   10598 archive_expsym_cmds_CXX=
   10599 export_dynamic_flag_spec_CXX=
   10600 hardcode_direct_CXX=no
   10601 hardcode_libdir_flag_spec_CXX=
   10602 hardcode_libdir_flag_spec_ld_CXX=
   10603 hardcode_libdir_separator_CXX=
   10604 hardcode_minus_L_CXX=no
   10605 hardcode_shlibpath_var_CXX=unsupported
   10606 hardcode_automatic_CXX=no
   10607 module_cmds_CXX=
   10608 module_expsym_cmds_CXX=
   10609 link_all_deplibs_CXX=unknown
   10610 old_archive_cmds_CXX=$old_archive_cmds
   10611 no_undefined_flag_CXX=
   10612 whole_archive_flag_spec_CXX=
   10613 enable_shared_with_static_runtimes_CXX=no
   10614 
   10615 # Dependencies to place before and after the object being linked:
   10616 predep_objects_CXX=
   10617 postdep_objects_CXX=
   10618 predeps_CXX=
   10619 postdeps_CXX=
   10620 compiler_lib_search_path_CXX=
   10621 
   10622 # Source file extension for C++ test sources.
   10623 ac_ext=cpp
   10624 
   10625 # Object file extension for compiled C++ test sources.
   10626 objext=o
   10627 objext_CXX=$objext
   10628 
   10629 # Code to be used in simple compile tests
   10630 lt_simple_compile_test_code="int some_variable = 0;\n"
   10631 
   10632 # Code to be used in simple link tests
   10633 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10634 
   10635 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10636 
   10637 # If no C compiler was specified, use CC.
   10638 LTCC=${LTCC-"$CC"}
   10639 
   10640 # If no C compiler flags were specified, use CFLAGS.
   10641 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10642 
   10643 # Allow CC to be a program name with arguments.
   10644 compiler=$CC
   10645 
   10646 
   10647 # save warnings/boilerplate of simple test code
   10648 ac_outfile=conftest.$ac_objext
   10649 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10650 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10651 _lt_compiler_boilerplate=`cat conftest.err`
   10652 $rm conftest*
   10653 
   10654 ac_outfile=conftest.$ac_objext
   10655 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10656 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10657 _lt_linker_boilerplate=`cat conftest.err`
   10658 $rm conftest*
   10659 
   10660 
   10661 # Allow CC to be a program name with arguments.
   10662 lt_save_CC=$CC
   10663 lt_save_LD=$LD
   10664 lt_save_GCC=$GCC
   10665 GCC=$GXX
   10666 lt_save_with_gnu_ld=$with_gnu_ld
   10667 lt_save_path_LD=$lt_cv_path_LD
   10668 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10669   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10670 else
   10671   $as_unset lt_cv_prog_gnu_ld
   10672 fi
   10673 if test -n "${lt_cv_path_LDCXX+set}"; then
   10674   lt_cv_path_LD=$lt_cv_path_LDCXX
   10675 else
   10676   $as_unset lt_cv_path_LD
   10677 fi
   10678 test -z "${LDCXX+set}" || LD=$LDCXX
   10679 CC=${CXX-"c++"}
   10680 compiler=$CC
   10681 compiler_CXX=$CC
   10682 for cc_temp in $compiler""; do
   10683   case $cc_temp in
   10684     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10685     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10686     \-*) ;;
   10687     *) break;;
   10688   esac
   10689 done
   10690 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10691 
   10692 
   10693 # We don't want -fno-exception wen compiling C++ code, so set the
   10694 # no_builtin_flag separately
   10695 if test "$GXX" = yes; then
   10696   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10697 else
   10698   lt_prog_compiler_no_builtin_flag_CXX=
   10699 fi
   10700 
   10701 if test "$GXX" = yes; then
   10702   # Set up default GNU C++ configuration
   10703 
   10704 
   10705 # Check whether --with-gnu-ld was given.
   10706 if test "${with_gnu_ld+set}" = set; then
   10707   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10708 else
   10709   with_gnu_ld=no
   10710 fi
   10711 
   10712 ac_prog=ld
   10713 if test "$GCC" = yes; then
   10714   # Check if gcc -print-prog-name=ld gives a path.
   10715   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10716 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10717   case $host in
   10718   *-*-mingw*)
   10719     # gcc leaves a trailing carriage return which upsets mingw
   10720     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10721   *)
   10722     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10723   esac
   10724   case $ac_prog in
   10725     # Accept absolute paths.
   10726     [\\/]* | ?:[\\/]*)
   10727       re_direlt='/[^/][^/]*/\.\./'
   10728       # Canonicalize the pathname of ld
   10729       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10730       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10731 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10732       done
   10733       test -z "$LD" && LD="$ac_prog"
   10734       ;;
   10735   "")
   10736     # If it fails, then pretend we aren't using GCC.
   10737     ac_prog=ld
   10738     ;;
   10739   *)
   10740     # If it is relative, then search for the first ld in PATH.
   10741     with_gnu_ld=unknown
   10742     ;;
   10743   esac
   10744 elif test "$with_gnu_ld" = yes; then
   10745   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10746 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10747 else
   10748   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10749 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10750 fi
   10751 if test "${lt_cv_path_LD+set}" = set; then
   10752   echo $ECHO_N "(cached) $ECHO_C" >&6
   10753 else
   10754   if test -z "$LD"; then
   10755   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10756   for ac_dir in $PATH; do
   10757     IFS="$lt_save_ifs"
   10758     test -z "$ac_dir" && ac_dir=.
   10759     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10760       lt_cv_path_LD="$ac_dir/$ac_prog"
   10761       # Check to see if the program is GNU ld.  I'd rather use --version,
   10762       # but apparently some variants of GNU ld only accept -v.
   10763       # Break only if it was the GNU/non-GNU ld that we prefer.
   10764       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10765       *GNU* | *'with BFD'*)
   10766 	test "$with_gnu_ld" != no && break
   10767 	;;
   10768       *)
   10769 	test "$with_gnu_ld" != yes && break
   10770 	;;
   10771       esac
   10772     fi
   10773   done
   10774   IFS="$lt_save_ifs"
   10775 else
   10776   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10777 fi
   10778 fi
   10779 
   10780 LD="$lt_cv_path_LD"
   10781 if test -n "$LD"; then
   10782   { echo "$as_me:$LINENO: result: $LD" >&5
   10783 echo "${ECHO_T}$LD" >&6; }
   10784 else
   10785   { echo "$as_me:$LINENO: result: no" >&5
   10786 echo "${ECHO_T}no" >&6; }
   10787 fi
   10788 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10789 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10790    { (exit 1); exit 1; }; }
   10791 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10792 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10793 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10794   echo $ECHO_N "(cached) $ECHO_C" >&6
   10795 else
   10796   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10797 case `$LD -v 2>&1 </dev/null` in
   10798 *GNU* | *'with BFD'*)
   10799   lt_cv_prog_gnu_ld=yes
   10800   ;;
   10801 *)
   10802   lt_cv_prog_gnu_ld=no
   10803   ;;
   10804 esac
   10805 fi
   10806 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10807 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10808 with_gnu_ld=$lt_cv_prog_gnu_ld
   10809 
   10810 
   10811 
   10812   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10813   # archiving commands below assume that GNU ld is being used.
   10814   if test "$with_gnu_ld" = yes; then
   10815     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10816     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'
   10817 
   10818     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10819     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10820 
   10821     # If archive_cmds runs LD, not CC, wlarc should be empty
   10822     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10823     #     investigate it a little bit more. (MM)
   10824     wlarc='${wl}'
   10825 
   10826     # ancient GNU ld didn't support --whole-archive et. al.
   10827     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10828 	grep 'no-whole-archive' > /dev/null; then
   10829       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10830     else
   10831       whole_archive_flag_spec_CXX=
   10832     fi
   10833   else
   10834     with_gnu_ld=no
   10835     wlarc=
   10836 
   10837     # A generic and very simple default shared library creation
   10838     # command for GNU C++ for the case where it uses the native
   10839     # linker, instead of GNU ld.  If possible, this setting should
   10840     # overridden to take advantage of the native linker features on
   10841     # the platform it is being used on.
   10842     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10843   fi
   10844 
   10845   # Commands to make compiler produce verbose output that lists
   10846   # what "hidden" libraries, object files and flags are used when
   10847   # linking a shared library.
   10848   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10849 
   10850 else
   10851   GXX=no
   10852   with_gnu_ld=no
   10853   wlarc=
   10854 fi
   10855 
   10856 # PORTME: fill in a description of your system's C++ link characteristics
   10857 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10858 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10859 ld_shlibs_CXX=yes
   10860 case $host_os in
   10861   aix3*)
   10862     # FIXME: insert proper C++ library support
   10863     ld_shlibs_CXX=no
   10864     ;;
   10865   aix4* | aix5*)
   10866     if test "$host_cpu" = ia64; then
   10867       # On IA64, the linker does run time linking by default, so we don't
   10868       # have to do anything special.
   10869       aix_use_runtimelinking=no
   10870       exp_sym_flag='-Bexport'
   10871       no_entry_flag=""
   10872     else
   10873       aix_use_runtimelinking=no
   10874 
   10875       # Test if we are trying to use run time linking or normal
   10876       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10877       # need to do runtime linking.
   10878       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10879 	for ld_flag in $LDFLAGS; do
   10880 	  case $ld_flag in
   10881 	  *-brtl*)
   10882 	    aix_use_runtimelinking=yes
   10883 	    break
   10884 	    ;;
   10885 	  esac
   10886 	done
   10887 	;;
   10888       esac
   10889 
   10890       exp_sym_flag='-bexport'
   10891       no_entry_flag='-bnoentry'
   10892     fi
   10893 
   10894     # When large executables or shared objects are built, AIX ld can
   10895     # have problems creating the table of contents.  If linking a library
   10896     # or program results in "error TOC overflow" add -mminimal-toc to
   10897     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10898     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10899 
   10900     archive_cmds_CXX=''
   10901     hardcode_direct_CXX=yes
   10902     hardcode_libdir_separator_CXX=':'
   10903     link_all_deplibs_CXX=yes
   10904 
   10905     if test "$GXX" = yes; then
   10906       case $host_os in aix4.[012]|aix4.[012].*)
   10907       # We only want to do this on AIX 4.2 and lower, the check
   10908       # below for broken collect2 doesn't work under 4.3+
   10909 	collect2name=`${CC} -print-prog-name=collect2`
   10910 	if test -f "$collect2name" && \
   10911 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10912 	then
   10913 	  # We have reworked collect2
   10914 	  hardcode_direct_CXX=yes
   10915 	else
   10916 	  # We have old collect2
   10917 	  hardcode_direct_CXX=unsupported
   10918 	  # It fails to find uninstalled libraries when the uninstalled
   10919 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10920 	  # to unsupported forces relinking
   10921 	  hardcode_minus_L_CXX=yes
   10922 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10923 	  hardcode_libdir_separator_CXX=
   10924 	fi
   10925 	;;
   10926       esac
   10927       shared_flag='-shared'
   10928       if test "$aix_use_runtimelinking" = yes; then
   10929 	shared_flag="$shared_flag "'${wl}-G'
   10930       fi
   10931     else
   10932       # not using gcc
   10933       if test "$host_cpu" = ia64; then
   10934 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10935 	# chokes on -Wl,-G. The following line is correct:
   10936 	shared_flag='-G'
   10937       else
   10938 	if test "$aix_use_runtimelinking" = yes; then
   10939 	  shared_flag='${wl}-G'
   10940 	else
   10941 	  shared_flag='${wl}-bM:SRE'
   10942 	fi
   10943       fi
   10944     fi
   10945 
   10946     # It seems that -bexpall does not export symbols beginning with
   10947     # underscore (_), so it is better to generate a list of symbols to export.
   10948     always_export_symbols_CXX=yes
   10949     if test "$aix_use_runtimelinking" = yes; then
   10950       # Warning - without using the other runtime loading flags (-brtl),
   10951       # -berok will link without error, but may produce a broken library.
   10952       allow_undefined_flag_CXX='-berok'
   10953       # Determine the default libpath from the value encoded in an empty executable.
   10954       cat >conftest.$ac_ext <<_ACEOF
   10955 /* confdefs.h.  */
   10956 _ACEOF
   10957 cat confdefs.h >>conftest.$ac_ext
   10958 cat >>conftest.$ac_ext <<_ACEOF
   10959 /* end confdefs.h.  */
   10960 
   10961 int
   10962 main ()
   10963 {
   10964 
   10965   ;
   10966   return 0;
   10967 }
   10968 _ACEOF
   10969 rm -f conftest.$ac_objext conftest$ac_exeext
   10970 if { (ac_try="$ac_link"
   10971 case "(($ac_try" in
   10972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10973   *) ac_try_echo=$ac_try;;
   10974 esac
   10975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10976   (eval "$ac_link") 2>conftest.er1
   10977   ac_status=$?
   10978   grep -v '^ *+' conftest.er1 >conftest.err
   10979   rm -f conftest.er1
   10980   cat conftest.err >&5
   10981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10982   (exit $ac_status); } && {
   10983 	 test -z "$ac_cxx_werror_flag" ||
   10984 	 test ! -s conftest.err
   10985        } && test -s conftest$ac_exeext &&
   10986        $as_test_x conftest$ac_exeext; then
   10987 
   10988 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10989 }'`
   10990 # Check for a 64-bit object if we didn't find anything.
   10991 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; }
   10992 }'`; fi
   10993 else
   10994   echo "$as_me: failed program was:" >&5
   10995 sed 's/^/| /' conftest.$ac_ext >&5
   10996 
   10997 
   10998 fi
   10999 
   11000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11001       conftest$ac_exeext conftest.$ac_ext
   11002 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11003 
   11004       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11005 
   11006       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"
   11007      else
   11008       if test "$host_cpu" = ia64; then
   11009 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11010 	allow_undefined_flag_CXX="-z nodefs"
   11011 	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"
   11012       else
   11013 	# Determine the default libpath from the value encoded in an empty executable.
   11014 	cat >conftest.$ac_ext <<_ACEOF
   11015 /* confdefs.h.  */
   11016 _ACEOF
   11017 cat confdefs.h >>conftest.$ac_ext
   11018 cat >>conftest.$ac_ext <<_ACEOF
   11019 /* end confdefs.h.  */
   11020 
   11021 int
   11022 main ()
   11023 {
   11024 
   11025   ;
   11026   return 0;
   11027 }
   11028 _ACEOF
   11029 rm -f conftest.$ac_objext conftest$ac_exeext
   11030 if { (ac_try="$ac_link"
   11031 case "(($ac_try" in
   11032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11033   *) ac_try_echo=$ac_try;;
   11034 esac
   11035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11036   (eval "$ac_link") 2>conftest.er1
   11037   ac_status=$?
   11038   grep -v '^ *+' conftest.er1 >conftest.err
   11039   rm -f conftest.er1
   11040   cat conftest.err >&5
   11041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11042   (exit $ac_status); } && {
   11043 	 test -z "$ac_cxx_werror_flag" ||
   11044 	 test ! -s conftest.err
   11045        } && test -s conftest$ac_exeext &&
   11046        $as_test_x conftest$ac_exeext; then
   11047 
   11048 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11049 }'`
   11050 # Check for a 64-bit object if we didn't find anything.
   11051 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; }
   11052 }'`; fi
   11053 else
   11054   echo "$as_me: failed program was:" >&5
   11055 sed 's/^/| /' conftest.$ac_ext >&5
   11056 
   11057 
   11058 fi
   11059 
   11060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11061       conftest$ac_exeext conftest.$ac_ext
   11062 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11063 
   11064 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11065 	# Warning - without using the other run time loading flags,
   11066 	# -berok will link without error, but may produce a broken library.
   11067 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11068 	allow_undefined_flag_CXX=' ${wl}-berok'
   11069 	# Exported symbols can be pulled into shared objects from archives
   11070 	whole_archive_flag_spec_CXX='$convenience'
   11071 	archive_cmds_need_lc_CXX=yes
   11072 	# This is similar to how AIX traditionally builds its shared libraries.
   11073 	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'
   11074       fi
   11075     fi
   11076     ;;
   11077 
   11078   beos*)
   11079     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11080       allow_undefined_flag_CXX=unsupported
   11081       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11082       # support --undefined.  This deserves some investigation.  FIXME
   11083       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11084     else
   11085       ld_shlibs_CXX=no
   11086     fi
   11087     ;;
   11088 
   11089   chorus*)
   11090     case $cc_basename in
   11091       *)
   11092 	# FIXME: insert proper C++ library support
   11093 	ld_shlibs_CXX=no
   11094 	;;
   11095     esac
   11096     ;;
   11097 
   11098   cygwin* | mingw* | pw32*)
   11099     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11100     # as there is no search path for DLLs.
   11101     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11102     allow_undefined_flag_CXX=unsupported
   11103     always_export_symbols_CXX=no
   11104     enable_shared_with_static_runtimes_CXX=yes
   11105 
   11106     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11107       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'
   11108       # If the export-symbols file already is a .def file (1st line
   11109       # is EXPORTS), use it as is; otherwise, prepend...
   11110       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11111 	cp $export_symbols $output_objdir/$soname.def;
   11112       else
   11113 	echo EXPORTS > $output_objdir/$soname.def;
   11114 	cat $export_symbols >> $output_objdir/$soname.def;
   11115       fi~
   11116       $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'
   11117     else
   11118       ld_shlibs_CXX=no
   11119     fi
   11120   ;;
   11121       darwin* | rhapsody*)
   11122         case $host_os in
   11123         rhapsody* | darwin1.[012])
   11124          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11125          ;;
   11126        *) # Darwin 1.3 on
   11127          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11128            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11129          else
   11130            case ${MACOSX_DEPLOYMENT_TARGET} in
   11131              10.[012])
   11132                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11133                ;;
   11134              10.*)
   11135                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11136                ;;
   11137            esac
   11138          fi
   11139          ;;
   11140         esac
   11141       archive_cmds_need_lc_CXX=no
   11142       hardcode_direct_CXX=no
   11143       hardcode_automatic_CXX=yes
   11144       hardcode_shlibpath_var_CXX=unsupported
   11145       whole_archive_flag_spec_CXX=''
   11146       link_all_deplibs_CXX=yes
   11147 
   11148     if test "$GXX" = yes ; then
   11149       lt_int_apple_cc_single_mod=no
   11150       output_verbose_link_cmd='echo'
   11151       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11152        lt_int_apple_cc_single_mod=yes
   11153       fi
   11154       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11155        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11156       else
   11157           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'
   11158         fi
   11159         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11160         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11161           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11162             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}'
   11163           else
   11164             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}'
   11165           fi
   11166             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}'
   11167       else
   11168       case $cc_basename in
   11169         xlc*)
   11170          output_verbose_link_cmd='echo'
   11171           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'
   11172           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11173           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11174           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}'
   11175           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}'
   11176           ;;
   11177        *)
   11178          ld_shlibs_CXX=no
   11179           ;;
   11180       esac
   11181       fi
   11182         ;;
   11183 
   11184   dgux*)
   11185     case $cc_basename in
   11186       ec++*)
   11187 	# FIXME: insert proper C++ library support
   11188 	ld_shlibs_CXX=no
   11189 	;;
   11190       ghcx*)
   11191 	# Green Hills C++ Compiler
   11192 	# FIXME: insert proper C++ library support
   11193 	ld_shlibs_CXX=no
   11194 	;;
   11195       *)
   11196 	# FIXME: insert proper C++ library support
   11197 	ld_shlibs_CXX=no
   11198 	;;
   11199     esac
   11200     ;;
   11201   freebsd[12]*)
   11202     # C++ shared libraries reported to be fairly broken before switch to ELF
   11203     ld_shlibs_CXX=no
   11204     ;;
   11205   freebsd-elf*)
   11206     archive_cmds_need_lc_CXX=no
   11207     ;;
   11208   freebsd* | kfreebsd*-gnu | dragonfly*)
   11209     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11210     # conventions
   11211     ld_shlibs_CXX=yes
   11212     ;;
   11213   gnu*)
   11214     ;;
   11215   hpux9*)
   11216     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11217     hardcode_libdir_separator_CXX=:
   11218     export_dynamic_flag_spec_CXX='${wl}-E'
   11219     hardcode_direct_CXX=yes
   11220     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11221 				# but as the default
   11222 				# location of the library.
   11223 
   11224     case $cc_basename in
   11225     CC*)
   11226       # FIXME: insert proper C++ library support
   11227       ld_shlibs_CXX=no
   11228       ;;
   11229     aCC*)
   11230       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'
   11231       # Commands to make compiler produce verbose output that lists
   11232       # what "hidden" libraries, object files and flags are used when
   11233       # linking a shared library.
   11234       #
   11235       # There doesn't appear to be a way to prevent this compiler from
   11236       # explicitly linking system object files so we need to strip them
   11237       # from the output so that they don't get included in the library
   11238       # dependencies.
   11239       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'
   11240       ;;
   11241     *)
   11242       if test "$GXX" = yes; then
   11243         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'
   11244       else
   11245         # FIXME: insert proper C++ library support
   11246         ld_shlibs_CXX=no
   11247       fi
   11248       ;;
   11249     esac
   11250     ;;
   11251   hpux10*|hpux11*)
   11252     if test $with_gnu_ld = no; then
   11253       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11254       hardcode_libdir_separator_CXX=:
   11255 
   11256       case $host_cpu in
   11257       hppa*64*|ia64*)
   11258 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11259         ;;
   11260       *)
   11261 	export_dynamic_flag_spec_CXX='${wl}-E'
   11262         ;;
   11263       esac
   11264     fi
   11265     case $host_cpu in
   11266     hppa*64*|ia64*)
   11267       hardcode_direct_CXX=no
   11268       hardcode_shlibpath_var_CXX=no
   11269       ;;
   11270     *)
   11271       hardcode_direct_CXX=yes
   11272       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11273 					      # but as the default
   11274 					      # location of the library.
   11275       ;;
   11276     esac
   11277 
   11278     case $cc_basename in
   11279       CC*)
   11280 	# FIXME: insert proper C++ library support
   11281 	ld_shlibs_CXX=no
   11282 	;;
   11283       aCC*)
   11284 	case $host_cpu in
   11285 	hppa*64*)
   11286 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11287 	  ;;
   11288 	ia64*)
   11289 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11290 	  ;;
   11291 	*)
   11292 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11293 	  ;;
   11294 	esac
   11295 	# Commands to make compiler produce verbose output that lists
   11296 	# what "hidden" libraries, object files and flags are used when
   11297 	# linking a shared library.
   11298 	#
   11299 	# There doesn't appear to be a way to prevent this compiler from
   11300 	# explicitly linking system object files so we need to strip them
   11301 	# from the output so that they don't get included in the library
   11302 	# dependencies.
   11303 	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'
   11304 	;;
   11305       *)
   11306 	if test "$GXX" = yes; then
   11307 	  if test $with_gnu_ld = no; then
   11308 	    case $host_cpu in
   11309 	    hppa*64*)
   11310 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11311 	      ;;
   11312 	    ia64*)
   11313 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11314 	      ;;
   11315 	    *)
   11316 	      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'
   11317 	      ;;
   11318 	    esac
   11319 	  fi
   11320 	else
   11321 	  # FIXME: insert proper C++ library support
   11322 	  ld_shlibs_CXX=no
   11323 	fi
   11324 	;;
   11325     esac
   11326     ;;
   11327   interix3*)
   11328     hardcode_direct_CXX=no
   11329     hardcode_shlibpath_var_CXX=no
   11330     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11331     export_dynamic_flag_spec_CXX='${wl}-E'
   11332     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11333     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11334     # default) and relocated if they conflict, which is a slow very memory
   11335     # consuming and fragmenting process.  To avoid this, we pick a random,
   11336     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11337     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11338     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'
   11339     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'
   11340     ;;
   11341   irix5* | irix6*)
   11342     case $cc_basename in
   11343       CC*)
   11344 	# SGI C++
   11345 	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'
   11346 
   11347 	# Archives containing C++ object files must be created using
   11348 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11349 	# necessary to make sure instantiated templates are included
   11350 	# in the archive.
   11351 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11352 	;;
   11353       *)
   11354 	if test "$GXX" = yes; then
   11355 	  if test "$with_gnu_ld" = no; then
   11356 	    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'
   11357 	  else
   11358 	    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'
   11359 	  fi
   11360 	fi
   11361 	link_all_deplibs_CXX=yes
   11362 	;;
   11363     esac
   11364     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11365     hardcode_libdir_separator_CXX=:
   11366     ;;
   11367   linux*)
   11368     case $cc_basename in
   11369       KCC*)
   11370 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11371 
   11372 	# KCC will only create a shared library if the output file
   11373 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11374 	# to its proper name (with version) after linking.
   11375 	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'
   11376 	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'
   11377 	# Commands to make compiler produce verbose output that lists
   11378 	# what "hidden" libraries, object files and flags are used when
   11379 	# linking a shared library.
   11380 	#
   11381 	# There doesn't appear to be a way to prevent this compiler from
   11382 	# explicitly linking system object files so we need to strip them
   11383 	# from the output so that they don't get included in the library
   11384 	# dependencies.
   11385 	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'
   11386 
   11387 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11388 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11389 
   11390 	# Archives containing C++ object files must be created using
   11391 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11392 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11393 	;;
   11394       icpc*)
   11395 	# Intel C++
   11396 	with_gnu_ld=yes
   11397 	# version 8.0 and above of icpc choke on multiply defined symbols
   11398 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11399 	# earlier do not add the objects themselves.
   11400 	case `$CC -V 2>&1` in
   11401 	*"Version 7."*)
   11402   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11403   	  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'
   11404 	  ;;
   11405 	*)  # Version 8.0 or newer
   11406 	  tmp_idyn=
   11407 	  case $host_cpu in
   11408 	    ia64*) tmp_idyn=' -i_dynamic';;
   11409 	  esac
   11410   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11411 	  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'
   11412 	  ;;
   11413 	esac
   11414 	archive_cmds_need_lc_CXX=no
   11415 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11416 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11417 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11418 	;;
   11419       pgCC*)
   11420         # Portland Group C++ compiler
   11421 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11422   	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'
   11423 
   11424 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11425 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11426 	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'
   11427         ;;
   11428       cxx*)
   11429 	# Compaq C++
   11430 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11431 	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'
   11432 
   11433 	runpath_var=LD_RUN_PATH
   11434 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11435 	hardcode_libdir_separator_CXX=:
   11436 
   11437 	# Commands to make compiler produce verbose output that lists
   11438 	# what "hidden" libraries, object files and flags are used when
   11439 	# linking a shared library.
   11440 	#
   11441 	# There doesn't appear to be a way to prevent this compiler from
   11442 	# explicitly linking system object files so we need to strip them
   11443 	# from the output so that they don't get included in the library
   11444 	# dependencies.
   11445 	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'
   11446 	;;
   11447     esac
   11448     ;;
   11449   lynxos*)
   11450     # FIXME: insert proper C++ library support
   11451     ld_shlibs_CXX=no
   11452     ;;
   11453   m88k*)
   11454     # FIXME: insert proper C++ library support
   11455     ld_shlibs_CXX=no
   11456     ;;
   11457   mvs*)
   11458     case $cc_basename in
   11459       cxx*)
   11460 	# FIXME: insert proper C++ library support
   11461 	ld_shlibs_CXX=no
   11462 	;;
   11463       *)
   11464 	# FIXME: insert proper C++ library support
   11465 	ld_shlibs_CXX=no
   11466 	;;
   11467     esac
   11468     ;;
   11469   netbsd*)
   11470     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11471       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11472       wlarc=
   11473       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11474       hardcode_direct_CXX=yes
   11475       hardcode_shlibpath_var_CXX=no
   11476     fi
   11477     # Workaround some broken pre-1.5 toolchains
   11478     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11479     ;;
   11480   openbsd2*)
   11481     # C++ shared libraries are fairly broken
   11482     ld_shlibs_CXX=no
   11483     ;;
   11484   openbsd*)
   11485     hardcode_direct_CXX=yes
   11486     hardcode_shlibpath_var_CXX=no
   11487     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11488     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11489     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11490       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11491       export_dynamic_flag_spec_CXX='${wl}-E'
   11492       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11493     fi
   11494     output_verbose_link_cmd='echo'
   11495     ;;
   11496   osf3*)
   11497     case $cc_basename in
   11498       KCC*)
   11499 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11500 
   11501 	# KCC will only create a shared library if the output file
   11502 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11503 	# to its proper name (with version) after linking.
   11504 	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'
   11505 
   11506 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11507 	hardcode_libdir_separator_CXX=:
   11508 
   11509 	# Archives containing C++ object files must be created using
   11510 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11511 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11512 
   11513 	;;
   11514       RCC*)
   11515 	# Rational C++ 2.4.1
   11516 	# FIXME: insert proper C++ library support
   11517 	ld_shlibs_CXX=no
   11518 	;;
   11519       cxx*)
   11520 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11521 	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'
   11522 
   11523 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11524 	hardcode_libdir_separator_CXX=:
   11525 
   11526 	# Commands to make compiler produce verbose output that lists
   11527 	# what "hidden" libraries, object files and flags are used when
   11528 	# linking a shared library.
   11529 	#
   11530 	# There doesn't appear to be a way to prevent this compiler from
   11531 	# explicitly linking system object files so we need to strip them
   11532 	# from the output so that they don't get included in the library
   11533 	# dependencies.
   11534 	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'
   11535 	;;
   11536       *)
   11537 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11538 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11539 	  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'
   11540 
   11541 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11542 	  hardcode_libdir_separator_CXX=:
   11543 
   11544 	  # Commands to make compiler produce verbose output that lists
   11545 	  # what "hidden" libraries, object files and flags are used when
   11546 	  # linking a shared library.
   11547 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11548 
   11549 	else
   11550 	  # FIXME: insert proper C++ library support
   11551 	  ld_shlibs_CXX=no
   11552 	fi
   11553 	;;
   11554     esac
   11555     ;;
   11556   osf4* | osf5*)
   11557     case $cc_basename in
   11558       KCC*)
   11559 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11560 
   11561 	# KCC will only create a shared library if the output file
   11562 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11563 	# to its proper name (with version) after linking.
   11564 	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'
   11565 
   11566 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11567 	hardcode_libdir_separator_CXX=:
   11568 
   11569 	# Archives containing C++ object files must be created using
   11570 	# the KAI C++ compiler.
   11571 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11572 	;;
   11573       RCC*)
   11574 	# Rational C++ 2.4.1
   11575 	# FIXME: insert proper C++ library support
   11576 	ld_shlibs_CXX=no
   11577 	;;
   11578       cxx*)
   11579 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11580 	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'
   11581 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11582 	  echo "-hidden">> $lib.exp~
   11583 	  $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~
   11584 	  $rm $lib.exp'
   11585 
   11586 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11587 	hardcode_libdir_separator_CXX=:
   11588 
   11589 	# Commands to make compiler produce verbose output that lists
   11590 	# what "hidden" libraries, object files and flags are used when
   11591 	# linking a shared library.
   11592 	#
   11593 	# There doesn't appear to be a way to prevent this compiler from
   11594 	# explicitly linking system object files so we need to strip them
   11595 	# from the output so that they don't get included in the library
   11596 	# dependencies.
   11597 	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'
   11598 	;;
   11599       *)
   11600 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11601 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11602 	 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'
   11603 
   11604 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11605 	  hardcode_libdir_separator_CXX=:
   11606 
   11607 	  # Commands to make compiler produce verbose output that lists
   11608 	  # what "hidden" libraries, object files and flags are used when
   11609 	  # linking a shared library.
   11610 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11611 
   11612 	else
   11613 	  # FIXME: insert proper C++ library support
   11614 	  ld_shlibs_CXX=no
   11615 	fi
   11616 	;;
   11617     esac
   11618     ;;
   11619   psos*)
   11620     # FIXME: insert proper C++ library support
   11621     ld_shlibs_CXX=no
   11622     ;;
   11623   sunos4*)
   11624     case $cc_basename in
   11625       CC*)
   11626 	# Sun C++ 4.x
   11627 	# FIXME: insert proper C++ library support
   11628 	ld_shlibs_CXX=no
   11629 	;;
   11630       lcc*)
   11631 	# Lucid
   11632 	# FIXME: insert proper C++ library support
   11633 	ld_shlibs_CXX=no
   11634 	;;
   11635       *)
   11636 	# FIXME: insert proper C++ library support
   11637 	ld_shlibs_CXX=no
   11638 	;;
   11639     esac
   11640     ;;
   11641   solaris*)
   11642     case $cc_basename in
   11643       CC*)
   11644 	# Sun C++ 4.2, 5.x and Centerline C++
   11645         archive_cmds_need_lc_CXX=yes
   11646 	no_undefined_flag_CXX=' -zdefs'
   11647 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11648 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11649 	$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'
   11650 
   11651 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11652 	hardcode_shlibpath_var_CXX=no
   11653 	case $host_os in
   11654 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11655 	  *)
   11656 	    # The C++ compiler is used as linker so we must use $wl
   11657 	    # flag to pass the commands to the underlying system
   11658 	    # linker. We must also pass each convience library through
   11659 	    # to the system linker between allextract/defaultextract.
   11660 	    # The C++ compiler will combine linker options so we
   11661 	    # cannot just pass the convience library names through
   11662 	    # without $wl.
   11663 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11664 	    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'
   11665 	    ;;
   11666 	esac
   11667 	link_all_deplibs_CXX=yes
   11668 
   11669 	output_verbose_link_cmd='echo'
   11670 
   11671 	# Archives containing C++ object files must be created using
   11672 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11673 	# necessary to make sure instantiated templates are included
   11674 	# in the archive.
   11675 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11676 	;;
   11677       gcx*)
   11678 	# Green Hills C++ Compiler
   11679 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11680 
   11681 	# The C++ compiler must be used to create the archive.
   11682 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11683 	;;
   11684       *)
   11685 	# GNU C++ compiler with Solaris linker
   11686 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11687 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11688 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11689 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11690 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11691 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11692 
   11693 	    # Commands to make compiler produce verbose output that lists
   11694 	    # what "hidden" libraries, object files and flags are used when
   11695 	    # linking a shared library.
   11696 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11697 	  else
   11698 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11699 	    # platform.
   11700 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11701 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11702 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11703 
   11704 	    # Commands to make compiler produce verbose output that lists
   11705 	    # what "hidden" libraries, object files and flags are used when
   11706 	    # linking a shared library.
   11707 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11708 	  fi
   11709 
   11710 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11711 	fi
   11712 	;;
   11713     esac
   11714     ;;
   11715   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11716     no_undefined_flag_CXX='${wl}-z,text'
   11717     archive_cmds_need_lc_CXX=no
   11718     hardcode_shlibpath_var_CXX=no
   11719     runpath_var='LD_RUN_PATH'
   11720 
   11721     case $cc_basename in
   11722       CC*)
   11723 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11724 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11725 	;;
   11726       *)
   11727 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11728 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11729 	;;
   11730     esac
   11731     ;;
   11732   sysv5* | sco3.2v5* | sco5v6*)
   11733     # Note: We can NOT use -z defs as we might desire, because we do not
   11734     # link with -lc, and that would cause any symbols used from libc to
   11735     # always be unresolved, which means just about no library would
   11736     # ever link correctly.  If we're not using GNU ld we use -z text
   11737     # though, which does catch some bad symbols but isn't as heavy-handed
   11738     # as -z defs.
   11739     # For security reasons, it is highly recommended that you always
   11740     # use absolute paths for naming shared libraries, and exclude the
   11741     # DT_RUNPATH tag from executables and libraries.  But doing so
   11742     # requires that you compile everything twice, which is a pain.
   11743     # So that behaviour is only enabled if SCOABSPATH is set to a
   11744     # non-empty value in the environment.  Most likely only useful for
   11745     # creating official distributions of packages.
   11746     # This is a hack until libtool officially supports absolute path
   11747     # names for shared libraries.
   11748     no_undefined_flag_CXX='${wl}-z,text'
   11749     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11750     archive_cmds_need_lc_CXX=no
   11751     hardcode_shlibpath_var_CXX=no
   11752     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11753     hardcode_libdir_separator_CXX=':'
   11754     link_all_deplibs_CXX=yes
   11755     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11756     runpath_var='LD_RUN_PATH'
   11757 
   11758     case $cc_basename in
   11759       CC*)
   11760 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11761 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11762 	;;
   11763       *)
   11764 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11765 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11766 	;;
   11767     esac
   11768     ;;
   11769   tandem*)
   11770     case $cc_basename in
   11771       NCC*)
   11772 	# NonStop-UX NCC 3.20
   11773 	# FIXME: insert proper C++ library support
   11774 	ld_shlibs_CXX=no
   11775 	;;
   11776       *)
   11777 	# FIXME: insert proper C++ library support
   11778 	ld_shlibs_CXX=no
   11779 	;;
   11780     esac
   11781     ;;
   11782   vxworks*)
   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 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11792 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11793 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11794 
   11795 GCC_CXX="$GXX"
   11796 LD_CXX="$LD"
   11797 
   11798 
   11799 cat > conftest.$ac_ext <<EOF
   11800 class Foo
   11801 {
   11802 public:
   11803   Foo (void) { a = 0; }
   11804 private:
   11805   int a;
   11806 };
   11807 EOF
   11808 
   11809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11810   (eval $ac_compile) 2>&5
   11811   ac_status=$?
   11812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11813   (exit $ac_status); }; then
   11814   # Parse the compiler output and extract the necessary
   11815   # objects, libraries and library flags.
   11816 
   11817   # Sentinel used to keep track of whether or not we are before
   11818   # the conftest object file.
   11819   pre_test_object_deps_done=no
   11820 
   11821   # The `*' in the case matches for architectures that use `case' in
   11822   # $output_verbose_cmd can trigger glob expansion during the loop
   11823   # eval without this substitution.
   11824   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11825 
   11826   for p in `eval $output_verbose_link_cmd`; do
   11827     case $p in
   11828 
   11829     -L* | -R* | -l*)
   11830        # Some compilers place space between "-{L,R}" and the path.
   11831        # Remove the space.
   11832        if test $p = "-L" \
   11833 	  || test $p = "-R"; then
   11834 	 prev=$p
   11835 	 continue
   11836        else
   11837 	 prev=
   11838        fi
   11839 
   11840        if test "$pre_test_object_deps_done" = no; then
   11841 	 case $p in
   11842 	 -L* | -R*)
   11843 	   # Internal compiler library paths should come after those
   11844 	   # provided the user.  The postdeps already come after the
   11845 	   # user supplied libs so there is no need to process them.
   11846 	   if test -z "$compiler_lib_search_path_CXX"; then
   11847 	     compiler_lib_search_path_CXX="${prev}${p}"
   11848 	   else
   11849 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11850 	   fi
   11851 	   ;;
   11852 	 # The "-l" case would never come before the object being
   11853 	 # linked, so don't bother handling this case.
   11854 	 esac
   11855        else
   11856 	 if test -z "$postdeps_CXX"; then
   11857 	   postdeps_CXX="${prev}${p}"
   11858 	 else
   11859 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11860 	 fi
   11861        fi
   11862        ;;
   11863 
   11864     *.$objext)
   11865        # This assumes that the test object file only shows up
   11866        # once in the compiler output.
   11867        if test "$p" = "conftest.$objext"; then
   11868 	 pre_test_object_deps_done=yes
   11869 	 continue
   11870        fi
   11871 
   11872        if test "$pre_test_object_deps_done" = no; then
   11873 	 if test -z "$predep_objects_CXX"; then
   11874 	   predep_objects_CXX="$p"
   11875 	 else
   11876 	   predep_objects_CXX="$predep_objects_CXX $p"
   11877 	 fi
   11878        else
   11879 	 if test -z "$postdep_objects_CXX"; then
   11880 	   postdep_objects_CXX="$p"
   11881 	 else
   11882 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11883 	 fi
   11884        fi
   11885        ;;
   11886 
   11887     *) ;; # Ignore the rest.
   11888 
   11889     esac
   11890   done
   11891 
   11892   # Clean up.
   11893   rm -f a.out a.exe
   11894 else
   11895   echo "libtool.m4: error: problem compiling CXX test program"
   11896 fi
   11897 
   11898 $rm -f confest.$objext
   11899 
   11900 # PORTME: override above test on systems where it is broken
   11901 case $host_os in
   11902 interix3*)
   11903   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11904   # hack all around it, let's just trust "g++" to DTRT.
   11905   predep_objects_CXX=
   11906   postdep_objects_CXX=
   11907   postdeps_CXX=
   11908   ;;
   11909 
   11910 solaris*)
   11911   case $cc_basename in
   11912   CC*)
   11913     # Adding this requires a known-good setup of shared libraries for
   11914     # Sun compiler versions before 5.6, else PIC objects from an old
   11915     # archive will be linked into the output, leading to subtle bugs.
   11916     postdeps_CXX='-lCstd -lCrun'
   11917     ;;
   11918   esac
   11919   ;;
   11920 esac
   11921 
   11922 
   11923 case " $postdeps_CXX " in
   11924 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11925 esac
   11926 
   11927 lt_prog_compiler_wl_CXX=
   11928 lt_prog_compiler_pic_CXX=
   11929 lt_prog_compiler_static_CXX=
   11930 
   11931 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11932 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   11933 
   11934   # C++ specific cases for pic, static, wl, etc.
   11935   if test "$GXX" = yes; then
   11936     lt_prog_compiler_wl_CXX='-Wl,'
   11937     lt_prog_compiler_static_CXX='-static'
   11938 
   11939     case $host_os in
   11940     aix*)
   11941       # All AIX code is PIC.
   11942       if test "$host_cpu" = ia64; then
   11943 	# AIX 5 now supports IA64 processor
   11944 	lt_prog_compiler_static_CXX='-Bstatic'
   11945       fi
   11946       ;;
   11947     amigaos*)
   11948       # FIXME: we need at least 68020 code to build shared libraries, but
   11949       # adding the `-m68020' flag to GCC prevents building anything better,
   11950       # like `-m68040'.
   11951       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11952       ;;
   11953     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11954       # PIC is the default for these OSes.
   11955       ;;
   11956     mingw* | os2* | pw32*)
   11957       # This hack is so that the source file can tell whether it is being
   11958       # built for inclusion in a dll (and should export symbols for example).
   11959       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11960       ;;
   11961     darwin* | rhapsody*)
   11962       # PIC is the default on this platform
   11963       # Common symbols not allowed in MH_DYLIB files
   11964       lt_prog_compiler_pic_CXX='-fno-common'
   11965       ;;
   11966     *djgpp*)
   11967       # DJGPP does not support shared libraries at all
   11968       lt_prog_compiler_pic_CXX=
   11969       ;;
   11970     interix3*)
   11971       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11972       # Instead, we relocate shared libraries at runtime.
   11973       ;;
   11974     sysv4*MP*)
   11975       if test -d /usr/nec; then
   11976 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11977       fi
   11978       ;;
   11979     hpux*)
   11980       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11981       # not for PA HP-UX.
   11982       case $host_cpu in
   11983       hppa*64*|ia64*)
   11984 	;;
   11985       *)
   11986 	lt_prog_compiler_pic_CXX='-fPIC'
   11987 	;;
   11988       esac
   11989       ;;
   11990     *)
   11991       lt_prog_compiler_pic_CXX='-fPIC'
   11992       ;;
   11993     esac
   11994   else
   11995     case $host_os in
   11996       aix4* | aix5*)
   11997 	# All AIX code is PIC.
   11998 	if test "$host_cpu" = ia64; then
   11999 	  # AIX 5 now supports IA64 processor
   12000 	  lt_prog_compiler_static_CXX='-Bstatic'
   12001 	else
   12002 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12003 	fi
   12004 	;;
   12005       chorus*)
   12006 	case $cc_basename in
   12007 	cxch68*)
   12008 	  # Green Hills C++ Compiler
   12009 	  # _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"
   12010 	  ;;
   12011 	esac
   12012 	;;
   12013        darwin*)
   12014          # PIC is the default on this platform
   12015          # Common symbols not allowed in MH_DYLIB files
   12016          case $cc_basename in
   12017            xlc*)
   12018            lt_prog_compiler_pic_CXX='-qnocommon'
   12019            lt_prog_compiler_wl_CXX='-Wl,'
   12020            ;;
   12021          esac
   12022        ;;
   12023       dgux*)
   12024 	case $cc_basename in
   12025 	  ec++*)
   12026 	    lt_prog_compiler_pic_CXX='-KPIC'
   12027 	    ;;
   12028 	  ghcx*)
   12029 	    # Green Hills C++ Compiler
   12030 	    lt_prog_compiler_pic_CXX='-pic'
   12031 	    ;;
   12032 	  *)
   12033 	    ;;
   12034 	esac
   12035 	;;
   12036       freebsd* | kfreebsd*-gnu | dragonfly*)
   12037 	# FreeBSD uses GNU C++
   12038 	;;
   12039       hpux9* | hpux10* | hpux11*)
   12040 	case $cc_basename in
   12041 	  CC*)
   12042 	    lt_prog_compiler_wl_CXX='-Wl,'
   12043 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12044 	    if test "$host_cpu" != ia64; then
   12045 	      lt_prog_compiler_pic_CXX='+Z'
   12046 	    fi
   12047 	    ;;
   12048 	  aCC*)
   12049 	    lt_prog_compiler_wl_CXX='-Wl,'
   12050 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12051 	    case $host_cpu in
   12052 	    hppa*64*|ia64*)
   12053 	      # +Z the default
   12054 	      ;;
   12055 	    *)
   12056 	      lt_prog_compiler_pic_CXX='+Z'
   12057 	      ;;
   12058 	    esac
   12059 	    ;;
   12060 	  *)
   12061 	    ;;
   12062 	esac
   12063 	;;
   12064       interix*)
   12065 	# This is c89, which is MS Visual C++ (no shared libs)
   12066 	# Anyone wants to do a port?
   12067 	;;
   12068       irix5* | irix6* | nonstopux*)
   12069 	case $cc_basename in
   12070 	  CC*)
   12071 	    lt_prog_compiler_wl_CXX='-Wl,'
   12072 	    lt_prog_compiler_static_CXX='-non_shared'
   12073 	    # CC pic flag -KPIC is the default.
   12074 	    ;;
   12075 	  *)
   12076 	    ;;
   12077 	esac
   12078 	;;
   12079       linux*)
   12080 	case $cc_basename in
   12081 	  KCC*)
   12082 	    # KAI C++ Compiler
   12083 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12084 	    lt_prog_compiler_pic_CXX='-fPIC'
   12085 	    ;;
   12086 	  icpc* | ecpc*)
   12087 	    # Intel C++
   12088 	    lt_prog_compiler_wl_CXX='-Wl,'
   12089 	    lt_prog_compiler_pic_CXX='-KPIC'
   12090 	    lt_prog_compiler_static_CXX='-static'
   12091 	    ;;
   12092 	  pgCC*)
   12093 	    # Portland Group C++ compiler.
   12094 	    lt_prog_compiler_wl_CXX='-Wl,'
   12095 	    lt_prog_compiler_pic_CXX='-fpic'
   12096 	    lt_prog_compiler_static_CXX='-Bstatic'
   12097 	    ;;
   12098 	  cxx*)
   12099 	    # Compaq C++
   12100 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12101 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12102 	    lt_prog_compiler_pic_CXX=
   12103 	    lt_prog_compiler_static_CXX='-non_shared'
   12104 	    ;;
   12105 	  *)
   12106 	    ;;
   12107 	esac
   12108 	;;
   12109       lynxos*)
   12110 	;;
   12111       m88k*)
   12112 	;;
   12113       mvs*)
   12114 	case $cc_basename in
   12115 	  cxx*)
   12116 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12117 	    ;;
   12118 	  *)
   12119 	    ;;
   12120 	esac
   12121 	;;
   12122       netbsd*)
   12123 	;;
   12124       osf3* | osf4* | osf5*)
   12125 	case $cc_basename in
   12126 	  KCC*)
   12127 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12128 	    ;;
   12129 	  RCC*)
   12130 	    # Rational C++ 2.4.1
   12131 	    lt_prog_compiler_pic_CXX='-pic'
   12132 	    ;;
   12133 	  cxx*)
   12134 	    # Digital/Compaq C++
   12135 	    lt_prog_compiler_wl_CXX='-Wl,'
   12136 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12137 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12138 	    lt_prog_compiler_pic_CXX=
   12139 	    lt_prog_compiler_static_CXX='-non_shared'
   12140 	    ;;
   12141 	  *)
   12142 	    ;;
   12143 	esac
   12144 	;;
   12145       psos*)
   12146 	;;
   12147       solaris*)
   12148 	case $cc_basename in
   12149 	  CC*)
   12150 	    # Sun C++ 4.2, 5.x and Centerline C++
   12151 	    lt_prog_compiler_pic_CXX='-KPIC'
   12152 	    lt_prog_compiler_static_CXX='-Bstatic'
   12153 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12154 	    ;;
   12155 	  gcx*)
   12156 	    # Green Hills C++ Compiler
   12157 	    lt_prog_compiler_pic_CXX='-PIC'
   12158 	    ;;
   12159 	  *)
   12160 	    ;;
   12161 	esac
   12162 	;;
   12163       sunos4*)
   12164 	case $cc_basename in
   12165 	  CC*)
   12166 	    # Sun C++ 4.x
   12167 	    lt_prog_compiler_pic_CXX='-pic'
   12168 	    lt_prog_compiler_static_CXX='-Bstatic'
   12169 	    ;;
   12170 	  lcc*)
   12171 	    # Lucid
   12172 	    lt_prog_compiler_pic_CXX='-pic'
   12173 	    ;;
   12174 	  *)
   12175 	    ;;
   12176 	esac
   12177 	;;
   12178       tandem*)
   12179 	case $cc_basename in
   12180 	  NCC*)
   12181 	    # NonStop-UX NCC 3.20
   12182 	    lt_prog_compiler_pic_CXX='-KPIC'
   12183 	    ;;
   12184 	  *)
   12185 	    ;;
   12186 	esac
   12187 	;;
   12188       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12189 	case $cc_basename in
   12190 	  CC*)
   12191 	    lt_prog_compiler_wl_CXX='-Wl,'
   12192 	    lt_prog_compiler_pic_CXX='-KPIC'
   12193 	    lt_prog_compiler_static_CXX='-Bstatic'
   12194 	    ;;
   12195 	esac
   12196 	;;
   12197       vxworks*)
   12198 	;;
   12199       *)
   12200 	lt_prog_compiler_can_build_shared_CXX=no
   12201 	;;
   12202     esac
   12203   fi
   12204 
   12205 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12206 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12207 
   12208 #
   12209 # Check to make sure the PIC flag actually works.
   12210 #
   12211 if test -n "$lt_prog_compiler_pic_CXX"; then
   12212 
   12213 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12214 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12215 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12216   echo $ECHO_N "(cached) $ECHO_C" >&6
   12217 else
   12218   lt_prog_compiler_pic_works_CXX=no
   12219   ac_outfile=conftest.$ac_objext
   12220    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12221    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12222    # Insert the option either (1) after the last *FLAGS variable, or
   12223    # (2) before a word containing "conftest.", or (3) at the end.
   12224    # Note that $ac_compile itself does not contain backslashes and begins
   12225    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12226    # The option is referenced via a variable to avoid confusing sed.
   12227    lt_compile=`echo "$ac_compile" | $SED \
   12228    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12229    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12230    -e 's:$: $lt_compiler_flag:'`
   12231    (eval echo "\"\$as_me:12231: $lt_compile\"" >&5)
   12232    (eval "$lt_compile" 2>conftest.err)
   12233    ac_status=$?
   12234    cat conftest.err >&5
   12235    echo "$as_me:12235: \$? = $ac_status" >&5
   12236    if (exit $ac_status) && test -s "$ac_outfile"; then
   12237      # The compiler can only warn and ignore the option if not recognized
   12238      # So say no if there are warnings other than the usual output.
   12239      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12240      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12241      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12242        lt_prog_compiler_pic_works_CXX=yes
   12243      fi
   12244    fi
   12245    $rm conftest*
   12246 
   12247 fi
   12248 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12249 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12250 
   12251 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12252     case $lt_prog_compiler_pic_CXX in
   12253      "" | " "*) ;;
   12254      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12255      esac
   12256 else
   12257     lt_prog_compiler_pic_CXX=
   12258      lt_prog_compiler_can_build_shared_CXX=no
   12259 fi
   12260 
   12261 fi
   12262 case $host_os in
   12263   # For platforms which do not support PIC, -DPIC is meaningless:
   12264   *djgpp*)
   12265     lt_prog_compiler_pic_CXX=
   12266     ;;
   12267   *)
   12268     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12269     ;;
   12270 esac
   12271 
   12272 #
   12273 # Check to make sure the static flag actually works.
   12274 #
   12275 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12276 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12277 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12278 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12279   echo $ECHO_N "(cached) $ECHO_C" >&6
   12280 else
   12281   lt_prog_compiler_static_works_CXX=no
   12282    save_LDFLAGS="$LDFLAGS"
   12283    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12284    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12285    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12286      # The linker can only warn and ignore the option if not recognized
   12287      # So say no if there are warnings
   12288      if test -s conftest.err; then
   12289        # Append any errors to the config.log.
   12290        cat conftest.err 1>&5
   12291        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12292        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12293        if diff conftest.exp conftest.er2 >/dev/null; then
   12294          lt_prog_compiler_static_works_CXX=yes
   12295        fi
   12296      else
   12297        lt_prog_compiler_static_works_CXX=yes
   12298      fi
   12299    fi
   12300    $rm conftest*
   12301    LDFLAGS="$save_LDFLAGS"
   12302 
   12303 fi
   12304 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12305 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12306 
   12307 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12308     :
   12309 else
   12310     lt_prog_compiler_static_CXX=
   12311 fi
   12312 
   12313 
   12314 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12315 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12316 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12317   echo $ECHO_N "(cached) $ECHO_C" >&6
   12318 else
   12319   lt_cv_prog_compiler_c_o_CXX=no
   12320    $rm -r conftest 2>/dev/null
   12321    mkdir conftest
   12322    cd conftest
   12323    mkdir out
   12324    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12325 
   12326    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12327    # Insert the option either (1) after the last *FLAGS variable, or
   12328    # (2) before a word containing "conftest.", or (3) at the end.
   12329    # Note that $ac_compile itself does not contain backslashes and begins
   12330    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12331    lt_compile=`echo "$ac_compile" | $SED \
   12332    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12333    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12334    -e 's:$: $lt_compiler_flag:'`
   12335    (eval echo "\"\$as_me:12335: $lt_compile\"" >&5)
   12336    (eval "$lt_compile" 2>out/conftest.err)
   12337    ac_status=$?
   12338    cat out/conftest.err >&5
   12339    echo "$as_me:12339: \$? = $ac_status" >&5
   12340    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12341    then
   12342      # The compiler can only warn and ignore the option if not recognized
   12343      # So say no if there are warnings
   12344      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12345      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12346      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12347        lt_cv_prog_compiler_c_o_CXX=yes
   12348      fi
   12349    fi
   12350    chmod u+w . 2>&5
   12351    $rm conftest*
   12352    # SGI C++ compiler will create directory out/ii_files/ for
   12353    # template instantiation
   12354    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12355    $rm out/* && rmdir out
   12356    cd ..
   12357    rmdir conftest
   12358    $rm conftest*
   12359 
   12360 fi
   12361 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12362 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12363 
   12364 
   12365 hard_links="nottested"
   12366 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12367   # do not overwrite the value of need_locks provided by the user
   12368   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12369 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12370   hard_links=yes
   12371   $rm conftest*
   12372   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12373   touch conftest.a
   12374   ln conftest.a conftest.b 2>&5 || hard_links=no
   12375   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12376   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12377 echo "${ECHO_T}$hard_links" >&6; }
   12378   if test "$hard_links" = no; then
   12379     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12380 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12381     need_locks=warn
   12382   fi
   12383 else
   12384   need_locks=no
   12385 fi
   12386 
   12387 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12388 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12389 
   12390   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12391   case $host_os in
   12392   aix4* | aix5*)
   12393     # If we're using GNU nm, then we don't want the "-C" option.
   12394     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12395     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12396       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'
   12397     else
   12398       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'
   12399     fi
   12400     ;;
   12401   pw32*)
   12402     export_symbols_cmds_CXX="$ltdll_cmds"
   12403   ;;
   12404   cygwin* | mingw*)
   12405     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'
   12406   ;;
   12407   *)
   12408     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12409   ;;
   12410   esac
   12411 
   12412 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12413 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12414 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12415 
   12416 #
   12417 # Do we need to explicitly link libc?
   12418 #
   12419 case "x$archive_cmds_need_lc_CXX" in
   12420 x|xyes)
   12421   # Assume -lc should be added
   12422   archive_cmds_need_lc_CXX=yes
   12423 
   12424   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12425     case $archive_cmds_CXX in
   12426     *'~'*)
   12427       # FIXME: we may have to deal with multi-command sequences.
   12428       ;;
   12429     '$CC '*)
   12430       # Test whether the compiler implicitly links with -lc since on some
   12431       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12432       # to ld, don't add -lc before -lgcc.
   12433       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12434 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12435       $rm conftest*
   12436       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12437 
   12438       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12439   (eval $ac_compile) 2>&5
   12440   ac_status=$?
   12441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12442   (exit $ac_status); } 2>conftest.err; then
   12443         soname=conftest
   12444         lib=conftest
   12445         libobjs=conftest.$ac_objext
   12446         deplibs=
   12447         wl=$lt_prog_compiler_wl_CXX
   12448 	pic_flag=$lt_prog_compiler_pic_CXX
   12449         compiler_flags=-v
   12450         linker_flags=-v
   12451         verstring=
   12452         output_objdir=.
   12453         libname=conftest
   12454         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12455         allow_undefined_flag_CXX=
   12456         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12457   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12458   ac_status=$?
   12459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12460   (exit $ac_status); }
   12461         then
   12462 	  archive_cmds_need_lc_CXX=no
   12463         else
   12464 	  archive_cmds_need_lc_CXX=yes
   12465         fi
   12466         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12467       else
   12468         cat conftest.err 1>&5
   12469       fi
   12470       $rm conftest*
   12471       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12472 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12473       ;;
   12474     esac
   12475   fi
   12476   ;;
   12477 esac
   12478 
   12479 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12480 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12481 library_names_spec=
   12482 libname_spec='lib$name'
   12483 soname_spec=
   12484 shrext_cmds=".so"
   12485 postinstall_cmds=
   12486 postuninstall_cmds=
   12487 finish_cmds=
   12488 finish_eval=
   12489 shlibpath_var=
   12490 shlibpath_overrides_runpath=unknown
   12491 version_type=none
   12492 dynamic_linker="$host_os ld.so"
   12493 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12494 if test "$GCC" = yes; then
   12495   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12496   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12497     # if the path contains ";" then we assume it to be the separator
   12498     # otherwise default to the standard path separator (i.e. ":") - it is
   12499     # assumed that no part of a normal pathname contains ";" but that should
   12500     # okay in the real world where ";" in dirpaths is itself problematic.
   12501     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12502   else
   12503     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12504   fi
   12505 else
   12506   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12507 fi
   12508 need_lib_prefix=unknown
   12509 hardcode_into_libs=no
   12510 
   12511 # when you set need_version to no, make sure it does not cause -set_version
   12512 # flags to be left without arguments
   12513 need_version=unknown
   12514 
   12515 case $host_os in
   12516 aix3*)
   12517   version_type=linux
   12518   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12519   shlibpath_var=LIBPATH
   12520 
   12521   # AIX 3 has no versioning support, so we append a major version to the name.
   12522   soname_spec='${libname}${release}${shared_ext}$major'
   12523   ;;
   12524 
   12525 aix4* | aix5*)
   12526   version_type=linux
   12527   need_lib_prefix=no
   12528   need_version=no
   12529   hardcode_into_libs=yes
   12530   if test "$host_cpu" = ia64; then
   12531     # AIX 5 supports IA64
   12532     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12533     shlibpath_var=LD_LIBRARY_PATH
   12534   else
   12535     # With GCC up to 2.95.x, collect2 would create an import file
   12536     # for dependence libraries.  The import file would start with
   12537     # the line `#! .'.  This would cause the generated library to
   12538     # depend on `.', always an invalid library.  This was fixed in
   12539     # development snapshots of GCC prior to 3.0.
   12540     case $host_os in
   12541       aix4 | aix4.[01] | aix4.[01].*)
   12542       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12543 	   echo ' yes '
   12544 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12545 	:
   12546       else
   12547 	can_build_shared=no
   12548       fi
   12549       ;;
   12550     esac
   12551     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12552     # soname into executable. Probably we can add versioning support to
   12553     # collect2, so additional links can be useful in future.
   12554     if test "$aix_use_runtimelinking" = yes; then
   12555       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12556       # instead of lib<name>.a to let people know that these are not
   12557       # typical AIX shared libraries.
   12558       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12559     else
   12560       # We preserve .a as extension for shared libraries through AIX4.2
   12561       # and later when we are not doing run time linking.
   12562       library_names_spec='${libname}${release}.a $libname.a'
   12563       soname_spec='${libname}${release}${shared_ext}$major'
   12564     fi
   12565     shlibpath_var=LIBPATH
   12566   fi
   12567   ;;
   12568 
   12569 amigaos*)
   12570   library_names_spec='$libname.ixlibrary $libname.a'
   12571   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12572   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'
   12573   ;;
   12574 
   12575 beos*)
   12576   library_names_spec='${libname}${shared_ext}'
   12577   dynamic_linker="$host_os ld.so"
   12578   shlibpath_var=LIBRARY_PATH
   12579   ;;
   12580 
   12581 bsdi[45]*)
   12582   version_type=linux
   12583   need_version=no
   12584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12585   soname_spec='${libname}${release}${shared_ext}$major'
   12586   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12587   shlibpath_var=LD_LIBRARY_PATH
   12588   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12589   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12590   # the default ld.so.conf also contains /usr/contrib/lib and
   12591   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12592   # libtool to hard-code these into programs
   12593   ;;
   12594 
   12595 cygwin* | mingw* | pw32*)
   12596   version_type=windows
   12597   shrext_cmds=".dll"
   12598   need_version=no
   12599   need_lib_prefix=no
   12600 
   12601   case $GCC,$host_os in
   12602   yes,cygwin* | yes,mingw* | yes,pw32*)
   12603     library_names_spec='$libname.dll.a'
   12604     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12605     postinstall_cmds='base_file=`basename \${file}`~
   12606       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12607       dldir=$destdir/`dirname \$dlpath`~
   12608       test -d \$dldir || mkdir -p \$dldir~
   12609       $install_prog $dir/$dlname \$dldir/$dlname~
   12610       chmod a+x \$dldir/$dlname'
   12611     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12612       dlpath=$dir/\$dldll~
   12613        $rm \$dlpath'
   12614     shlibpath_overrides_runpath=yes
   12615 
   12616     case $host_os in
   12617     cygwin*)
   12618       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12619       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12620       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12621       ;;
   12622     mingw*)
   12623       # MinGW DLLs use traditional 'lib' prefix
   12624       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12625       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12626       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12627         # It is most probably a Windows format PATH printed by
   12628         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12629         # path with ; separators, and with drive letters. We can handle the
   12630         # drive letters (cygwin fileutils understands them), so leave them,
   12631         # especially as we might pass files found there to a mingw objdump,
   12632         # which wouldn't understand a cygwinified path. Ahh.
   12633         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12634       else
   12635         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12636       fi
   12637       ;;
   12638     pw32*)
   12639       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12640       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12641       ;;
   12642     esac
   12643     ;;
   12644 
   12645   *)
   12646     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12647     ;;
   12648   esac
   12649   dynamic_linker='Win32 ld.exe'
   12650   # FIXME: first we should search . and the directory the executable is in
   12651   shlibpath_var=PATH
   12652   ;;
   12653 
   12654 darwin* | rhapsody*)
   12655   dynamic_linker="$host_os dyld"
   12656   version_type=darwin
   12657   need_lib_prefix=no
   12658   need_version=no
   12659   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12660   soname_spec='${libname}${release}${major}$shared_ext'
   12661   shlibpath_overrides_runpath=yes
   12662   shlibpath_var=DYLD_LIBRARY_PATH
   12663   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12664   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12665   if test "$GCC" = yes; then
   12666     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"`
   12667   else
   12668     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12669   fi
   12670   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12671   ;;
   12672 
   12673 dgux*)
   12674   version_type=linux
   12675   need_lib_prefix=no
   12676   need_version=no
   12677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12678   soname_spec='${libname}${release}${shared_ext}$major'
   12679   shlibpath_var=LD_LIBRARY_PATH
   12680   ;;
   12681 
   12682 freebsd1*)
   12683   dynamic_linker=no
   12684   ;;
   12685 
   12686 kfreebsd*-gnu)
   12687   version_type=linux
   12688   need_lib_prefix=no
   12689   need_version=no
   12690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12691   soname_spec='${libname}${release}${shared_ext}$major'
   12692   shlibpath_var=LD_LIBRARY_PATH
   12693   shlibpath_overrides_runpath=no
   12694   hardcode_into_libs=yes
   12695   dynamic_linker='GNU ld.so'
   12696   ;;
   12697 
   12698 freebsd* | dragonfly*)
   12699   # DragonFly does not have aout.  When/if they implement a new
   12700   # versioning mechanism, adjust this.
   12701   if test -x /usr/bin/objformat; then
   12702     objformat=`/usr/bin/objformat`
   12703   else
   12704     case $host_os in
   12705     freebsd[123]*) objformat=aout ;;
   12706     *) objformat=elf ;;
   12707     esac
   12708   fi
   12709   version_type=freebsd-$objformat
   12710   case $version_type in
   12711     freebsd-elf*)
   12712       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12713       need_version=no
   12714       need_lib_prefix=no
   12715       ;;
   12716     freebsd-*)
   12717       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12718       need_version=yes
   12719       ;;
   12720   esac
   12721   shlibpath_var=LD_LIBRARY_PATH
   12722   case $host_os in
   12723   freebsd2*)
   12724     shlibpath_overrides_runpath=yes
   12725     ;;
   12726   freebsd3.[01]* | freebsdelf3.[01]*)
   12727     shlibpath_overrides_runpath=yes
   12728     hardcode_into_libs=yes
   12729     ;;
   12730   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12731   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12732     shlibpath_overrides_runpath=no
   12733     hardcode_into_libs=yes
   12734     ;;
   12735   freebsd*) # from 4.6 on
   12736     shlibpath_overrides_runpath=yes
   12737     hardcode_into_libs=yes
   12738     ;;
   12739   esac
   12740   ;;
   12741 
   12742 gnu*)
   12743   version_type=linux
   12744   need_lib_prefix=no
   12745   need_version=no
   12746   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12747   soname_spec='${libname}${release}${shared_ext}$major'
   12748   shlibpath_var=LD_LIBRARY_PATH
   12749   hardcode_into_libs=yes
   12750   ;;
   12751 
   12752 hpux9* | hpux10* | hpux11*)
   12753   # Give a soname corresponding to the major version so that dld.sl refuses to
   12754   # link against other versions.
   12755   version_type=sunos
   12756   need_lib_prefix=no
   12757   need_version=no
   12758   case $host_cpu in
   12759   ia64*)
   12760     shrext_cmds='.so'
   12761     hardcode_into_libs=yes
   12762     dynamic_linker="$host_os dld.so"
   12763     shlibpath_var=LD_LIBRARY_PATH
   12764     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12765     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12766     soname_spec='${libname}${release}${shared_ext}$major'
   12767     if test "X$HPUX_IA64_MODE" = X32; then
   12768       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12769     else
   12770       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12771     fi
   12772     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12773     ;;
   12774    hppa*64*)
   12775      shrext_cmds='.sl'
   12776      hardcode_into_libs=yes
   12777      dynamic_linker="$host_os dld.sl"
   12778      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12779      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12780      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12781      soname_spec='${libname}${release}${shared_ext}$major'
   12782      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12783      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12784      ;;
   12785    *)
   12786     shrext_cmds='.sl'
   12787     dynamic_linker="$host_os dld.sl"
   12788     shlibpath_var=SHLIB_PATH
   12789     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   12793   esac
   12794   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12795   postinstall_cmds='chmod 555 $lib'
   12796   ;;
   12797 
   12798 interix3*)
   12799   version_type=linux
   12800   need_lib_prefix=no
   12801   need_version=no
   12802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12803   soname_spec='${libname}${release}${shared_ext}$major'
   12804   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12805   shlibpath_var=LD_LIBRARY_PATH
   12806   shlibpath_overrides_runpath=no
   12807   hardcode_into_libs=yes
   12808   ;;
   12809 
   12810 irix5* | irix6* | nonstopux*)
   12811   case $host_os in
   12812     nonstopux*) version_type=nonstopux ;;
   12813     *)
   12814 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12815 		version_type=linux
   12816 	else
   12817 		version_type=irix
   12818 	fi ;;
   12819   esac
   12820   need_lib_prefix=no
   12821   need_version=no
   12822   soname_spec='${libname}${release}${shared_ext}$major'
   12823   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12824   case $host_os in
   12825   irix5* | nonstopux*)
   12826     libsuff= shlibsuff=
   12827     ;;
   12828   *)
   12829     case $LD in # libtool.m4 will add one of these switches to LD
   12830     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12831       libsuff= shlibsuff= libmagic=32-bit;;
   12832     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12833       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12834     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12835       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12836     *) libsuff= shlibsuff= libmagic=never-match;;
   12837     esac
   12838     ;;
   12839   esac
   12840   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12841   shlibpath_overrides_runpath=no
   12842   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12843   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12844   hardcode_into_libs=yes
   12845   ;;
   12846 
   12847 # No shared lib support for Linux oldld, aout, or coff.
   12848 linux*oldld* | linux*aout* | linux*coff*)
   12849   dynamic_linker=no
   12850   ;;
   12851 
   12852 # This must be Linux ELF.
   12853 linux*)
   12854   version_type=linux
   12855   need_lib_prefix=no
   12856   need_version=no
   12857   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12858   soname_spec='${libname}${release}${shared_ext}$major'
   12859   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12860   shlibpath_var=LD_LIBRARY_PATH
   12861   shlibpath_overrides_runpath=no
   12862   # This implies no fast_install, which is unacceptable.
   12863   # Some rework will be needed to allow for fast_install
   12864   # before this can be enabled.
   12865   hardcode_into_libs=yes
   12866 
   12867   # Append ld.so.conf contents to the search path
   12868   if test -f /etc/ld.so.conf; then
   12869     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' ' '`
   12870     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12871   fi
   12872 
   12873   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12874   # powerpc, because MkLinux only supported shared libraries with the
   12875   # GNU dynamic linker.  Since this was broken with cross compilers,
   12876   # most powerpc-linux boxes support dynamic linking these days and
   12877   # people can always --disable-shared, the test was removed, and we
   12878   # assume the GNU/Linux dynamic linker is in use.
   12879   dynamic_linker='GNU/Linux ld.so'
   12880   ;;
   12881 
   12882 knetbsd*-gnu)
   12883   version_type=linux
   12884   need_lib_prefix=no
   12885   need_version=no
   12886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12887   soname_spec='${libname}${release}${shared_ext}$major'
   12888   shlibpath_var=LD_LIBRARY_PATH
   12889   shlibpath_overrides_runpath=no
   12890   hardcode_into_libs=yes
   12891   dynamic_linker='GNU ld.so'
   12892   ;;
   12893 
   12894 netbsd*)
   12895   version_type=sunos
   12896   need_lib_prefix=no
   12897   need_version=no
   12898   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12899     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12900     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12901     dynamic_linker='NetBSD (a.out) ld.so'
   12902   else
   12903     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12904     soname_spec='${libname}${release}${shared_ext}$major'
   12905     dynamic_linker='NetBSD ld.elf_so'
   12906   fi
   12907   shlibpath_var=LD_LIBRARY_PATH
   12908   shlibpath_overrides_runpath=yes
   12909   hardcode_into_libs=yes
   12910   ;;
   12911 
   12912 newsos6)
   12913   version_type=linux
   12914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12915   shlibpath_var=LD_LIBRARY_PATH
   12916   shlibpath_overrides_runpath=yes
   12917   ;;
   12918 
   12919 nto-qnx*)
   12920   version_type=linux
   12921   need_lib_prefix=no
   12922   need_version=no
   12923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12924   soname_spec='${libname}${release}${shared_ext}$major'
   12925   shlibpath_var=LD_LIBRARY_PATH
   12926   shlibpath_overrides_runpath=yes
   12927   ;;
   12928 
   12929 openbsd*)
   12930   version_type=sunos
   12931   sys_lib_dlsearch_path_spec="/usr/lib"
   12932   need_lib_prefix=no
   12933   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12934   case $host_os in
   12935     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12936     *)                         need_version=no  ;;
   12937   esac
   12938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12939   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12940   shlibpath_var=LD_LIBRARY_PATH
   12941   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12942     case $host_os in
   12943       openbsd2.[89] | openbsd2.[89].*)
   12944 	shlibpath_overrides_runpath=no
   12945 	;;
   12946       *)
   12947 	shlibpath_overrides_runpath=yes
   12948 	;;
   12949       esac
   12950   else
   12951     shlibpath_overrides_runpath=yes
   12952   fi
   12953   ;;
   12954 
   12955 os2*)
   12956   libname_spec='$name'
   12957   shrext_cmds=".dll"
   12958   need_lib_prefix=no
   12959   library_names_spec='$libname${shared_ext} $libname.a'
   12960   dynamic_linker='OS/2 ld.exe'
   12961   shlibpath_var=LIBPATH
   12962   ;;
   12963 
   12964 osf3* | osf4* | osf5*)
   12965   version_type=osf
   12966   need_lib_prefix=no
   12967   need_version=no
   12968   soname_spec='${libname}${release}${shared_ext}$major'
   12969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12970   shlibpath_var=LD_LIBRARY_PATH
   12971   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12972   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12973   ;;
   12974 
   12975 solaris*)
   12976   version_type=linux
   12977   need_lib_prefix=no
   12978   need_version=no
   12979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12980   soname_spec='${libname}${release}${shared_ext}$major'
   12981   shlibpath_var=LD_LIBRARY_PATH
   12982   shlibpath_overrides_runpath=yes
   12983   hardcode_into_libs=yes
   12984   # ldd complains unless libraries are executable
   12985   postinstall_cmds='chmod +x $lib'
   12986   ;;
   12987 
   12988 sunos4*)
   12989   version_type=sunos
   12990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12991   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12992   shlibpath_var=LD_LIBRARY_PATH
   12993   shlibpath_overrides_runpath=yes
   12994   if test "$with_gnu_ld" = yes; then
   12995     need_lib_prefix=no
   12996   fi
   12997   need_version=yes
   12998   ;;
   12999 
   13000 sysv4 | sysv4.3*)
   13001   version_type=linux
   13002   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13003   soname_spec='${libname}${release}${shared_ext}$major'
   13004   shlibpath_var=LD_LIBRARY_PATH
   13005   case $host_vendor in
   13006     sni)
   13007       shlibpath_overrides_runpath=no
   13008       need_lib_prefix=no
   13009       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13010       runpath_var=LD_RUN_PATH
   13011       ;;
   13012     siemens)
   13013       need_lib_prefix=no
   13014       ;;
   13015     motorola)
   13016       need_lib_prefix=no
   13017       need_version=no
   13018       shlibpath_overrides_runpath=no
   13019       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13020       ;;
   13021   esac
   13022   ;;
   13023 
   13024 sysv4*MP*)
   13025   if test -d /usr/nec ;then
   13026     version_type=linux
   13027     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13028     soname_spec='$libname${shared_ext}.$major'
   13029     shlibpath_var=LD_LIBRARY_PATH
   13030   fi
   13031   ;;
   13032 
   13033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13034   version_type=freebsd-elf
   13035   need_lib_prefix=no
   13036   need_version=no
   13037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13038   soname_spec='${libname}${release}${shared_ext}$major'
   13039   shlibpath_var=LD_LIBRARY_PATH
   13040   hardcode_into_libs=yes
   13041   if test "$with_gnu_ld" = yes; then
   13042     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13043     shlibpath_overrides_runpath=no
   13044   else
   13045     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13046     shlibpath_overrides_runpath=yes
   13047     case $host_os in
   13048       sco3.2v5*)
   13049         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13050 	;;
   13051     esac
   13052   fi
   13053   sys_lib_dlsearch_path_spec='/usr/lib'
   13054   ;;
   13055 
   13056 uts4*)
   13057   version_type=linux
   13058   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13059   soname_spec='${libname}${release}${shared_ext}$major'
   13060   shlibpath_var=LD_LIBRARY_PATH
   13061   ;;
   13062 
   13063 *)
   13064   dynamic_linker=no
   13065   ;;
   13066 esac
   13067 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13068 echo "${ECHO_T}$dynamic_linker" >&6; }
   13069 test "$dynamic_linker" = no && can_build_shared=no
   13070 
   13071 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13072 if test "$GCC" = yes; then
   13073   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13074 fi
   13075 
   13076 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13077 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13078 hardcode_action_CXX=
   13079 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13080    test -n "$runpath_var_CXX" || \
   13081    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13082 
   13083   # We can hardcode non-existant directories.
   13084   if test "$hardcode_direct_CXX" != no &&
   13085      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13086      # have to relink, otherwise we might link with an installed library
   13087      # when we should be linking with a yet-to-be-installed one
   13088      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13089      test "$hardcode_minus_L_CXX" != no; then
   13090     # Linking always hardcodes the temporary library directory.
   13091     hardcode_action_CXX=relink
   13092   else
   13093     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13094     hardcode_action_CXX=immediate
   13095   fi
   13096 else
   13097   # We cannot hardcode anything, or else we can only hardcode existing
   13098   # directories.
   13099   hardcode_action_CXX=unsupported
   13100 fi
   13101 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13102 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13103 
   13104 if test "$hardcode_action_CXX" = relink; then
   13105   # Fast installation is not supported
   13106   enable_fast_install=no
   13107 elif test "$shlibpath_overrides_runpath" = yes ||
   13108      test "$enable_shared" = no; then
   13109   # Fast installation is not necessary
   13110   enable_fast_install=needless
   13111 fi
   13112 
   13113 
   13114 # The else clause should only fire when bootstrapping the
   13115 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13116 # with your package, and you will get complaints that there are
   13117 # no rules to generate ltmain.sh.
   13118 if test -f "$ltmain"; then
   13119   # See if we are running on zsh, and set the options which allow our commands through
   13120   # without removal of \ escapes.
   13121   if test -n "${ZSH_VERSION+set}" ; then
   13122     setopt NO_GLOB_SUBST
   13123   fi
   13124   # Now quote all the things that may contain metacharacters while being
   13125   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13126   # variables and quote the copies for generation of the libtool script.
   13127   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13128     SED SHELL STRIP \
   13129     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13130     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13131     deplibs_check_method reload_flag reload_cmds need_locks \
   13132     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13133     lt_cv_sys_global_symbol_to_c_name_address \
   13134     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13135     old_postinstall_cmds old_postuninstall_cmds \
   13136     compiler_CXX \
   13137     CC_CXX \
   13138     LD_CXX \
   13139     lt_prog_compiler_wl_CXX \
   13140     lt_prog_compiler_pic_CXX \
   13141     lt_prog_compiler_static_CXX \
   13142     lt_prog_compiler_no_builtin_flag_CXX \
   13143     export_dynamic_flag_spec_CXX \
   13144     thread_safe_flag_spec_CXX \
   13145     whole_archive_flag_spec_CXX \
   13146     enable_shared_with_static_runtimes_CXX \
   13147     old_archive_cmds_CXX \
   13148     old_archive_from_new_cmds_CXX \
   13149     predep_objects_CXX \
   13150     postdep_objects_CXX \
   13151     predeps_CXX \
   13152     postdeps_CXX \
   13153     compiler_lib_search_path_CXX \
   13154     archive_cmds_CXX \
   13155     archive_expsym_cmds_CXX \
   13156     postinstall_cmds_CXX \
   13157     postuninstall_cmds_CXX \
   13158     old_archive_from_expsyms_cmds_CXX \
   13159     allow_undefined_flag_CXX \
   13160     no_undefined_flag_CXX \
   13161     export_symbols_cmds_CXX \
   13162     hardcode_libdir_flag_spec_CXX \
   13163     hardcode_libdir_flag_spec_ld_CXX \
   13164     hardcode_libdir_separator_CXX \
   13165     hardcode_automatic_CXX \
   13166     module_cmds_CXX \
   13167     module_expsym_cmds_CXX \
   13168     lt_cv_prog_compiler_c_o_CXX \
   13169     exclude_expsyms_CXX \
   13170     include_expsyms_CXX; do
   13171 
   13172     case $var in
   13173     old_archive_cmds_CXX | \
   13174     old_archive_from_new_cmds_CXX | \
   13175     archive_cmds_CXX | \
   13176     archive_expsym_cmds_CXX | \
   13177     module_cmds_CXX | \
   13178     module_expsym_cmds_CXX | \
   13179     old_archive_from_expsyms_cmds_CXX | \
   13180     export_symbols_cmds_CXX | \
   13181     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13182     postinstall_cmds | postuninstall_cmds | \
   13183     old_postinstall_cmds | old_postuninstall_cmds | \
   13184     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13185       # Double-quote double-evaled strings.
   13186       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13187       ;;
   13188     *)
   13189       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13190       ;;
   13191     esac
   13192   done
   13193 
   13194   case $lt_echo in
   13195   *'\$0 --fallback-echo"')
   13196     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13197     ;;
   13198   esac
   13199 
   13200 cfgfile="$ofile"
   13201 
   13202   cat <<__EOF__ >> "$cfgfile"
   13203 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13204 
   13205 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13206 
   13207 # Shell to use when invoking shell scripts.
   13208 SHELL=$lt_SHELL
   13209 
   13210 # Whether or not to build shared libraries.
   13211 build_libtool_libs=$enable_shared
   13212 
   13213 # Whether or not to build static libraries.
   13214 build_old_libs=$enable_static
   13215 
   13216 # Whether or not to add -lc for building shared libraries.
   13217 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13218 
   13219 # Whether or not to disallow shared libs when runtime libs are static
   13220 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13221 
   13222 # Whether or not to optimize for fast installation.
   13223 fast_install=$enable_fast_install
   13224 
   13225 # The host system.
   13226 host_alias=$host_alias
   13227 host=$host
   13228 host_os=$host_os
   13229 
   13230 # The build system.
   13231 build_alias=$build_alias
   13232 build=$build
   13233 build_os=$build_os
   13234 
   13235 # An echo program that does not interpret backslashes.
   13236 echo=$lt_echo
   13237 
   13238 # The archiver.
   13239 AR=$lt_AR
   13240 AR_FLAGS=$lt_AR_FLAGS
   13241 
   13242 # A C compiler.
   13243 LTCC=$lt_LTCC
   13244 
   13245 # LTCC compiler flags.
   13246 LTCFLAGS=$lt_LTCFLAGS
   13247 
   13248 # A language-specific compiler.
   13249 CC=$lt_compiler_CXX
   13250 
   13251 # Is the compiler the GNU C compiler?
   13252 with_gcc=$GCC_CXX
   13253 
   13254 # An ERE matcher.
   13255 EGREP=$lt_EGREP
   13256 
   13257 # The linker used to build libraries.
   13258 LD=$lt_LD_CXX
   13259 
   13260 # Whether we need hard or soft links.
   13261 LN_S=$lt_LN_S
   13262 
   13263 # A BSD-compatible nm program.
   13264 NM=$lt_NM
   13265 
   13266 # A symbol stripping program
   13267 STRIP=$lt_STRIP
   13268 
   13269 # Used to examine libraries when file_magic_cmd begins "file"
   13270 MAGIC_CMD=$MAGIC_CMD
   13271 
   13272 # Used on cygwin: DLL creation program.
   13273 DLLTOOL="$DLLTOOL"
   13274 
   13275 # Used on cygwin: object dumper.
   13276 OBJDUMP="$OBJDUMP"
   13277 
   13278 # Used on cygwin: assembler.
   13279 AS="$AS"
   13280 
   13281 # The name of the directory that contains temporary libtool files.
   13282 objdir=$objdir
   13283 
   13284 # How to create reloadable object files.
   13285 reload_flag=$lt_reload_flag
   13286 reload_cmds=$lt_reload_cmds
   13287 
   13288 # How to pass a linker flag through the compiler.
   13289 wl=$lt_lt_prog_compiler_wl_CXX
   13290 
   13291 # Object file suffix (normally "o").
   13292 objext="$ac_objext"
   13293 
   13294 # Old archive suffix (normally "a").
   13295 libext="$libext"
   13296 
   13297 # Shared library suffix (normally ".so").
   13298 shrext_cmds='$shrext_cmds'
   13299 
   13300 # Executable file suffix (normally "").
   13301 exeext="$exeext"
   13302 
   13303 # Additional compiler flags for building library objects.
   13304 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13305 pic_mode=$pic_mode
   13306 
   13307 # What is the maximum length of a command?
   13308 max_cmd_len=$lt_cv_sys_max_cmd_len
   13309 
   13310 # Does compiler simultaneously support -c and -o options?
   13311 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13312 
   13313 # Must we lock files when doing compilation?
   13314 need_locks=$lt_need_locks
   13315 
   13316 # Do we need the lib prefix for modules?
   13317 need_lib_prefix=$need_lib_prefix
   13318 
   13319 # Do we need a version for libraries?
   13320 need_version=$need_version
   13321 
   13322 # Whether dlopen is supported.
   13323 dlopen_support=$enable_dlopen
   13324 
   13325 # Whether dlopen of programs is supported.
   13326 dlopen_self=$enable_dlopen_self
   13327 
   13328 # Whether dlopen of statically linked programs is supported.
   13329 dlopen_self_static=$enable_dlopen_self_static
   13330 
   13331 # Compiler flag to prevent dynamic linking.
   13332 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13333 
   13334 # Compiler flag to turn off builtin functions.
   13335 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13336 
   13337 # Compiler flag to allow reflexive dlopens.
   13338 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13339 
   13340 # Compiler flag to generate shared objects directly from archives.
   13341 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13342 
   13343 # Compiler flag to generate thread-safe objects.
   13344 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13345 
   13346 # Library versioning type.
   13347 version_type=$version_type
   13348 
   13349 # Format of library name prefix.
   13350 libname_spec=$lt_libname_spec
   13351 
   13352 # List of archive names.  First name is the real one, the rest are links.
   13353 # The last name is the one that the linker finds with -lNAME.
   13354 library_names_spec=$lt_library_names_spec
   13355 
   13356 # The coded name of the library, if different from the real name.
   13357 soname_spec=$lt_soname_spec
   13358 
   13359 # Commands used to build and install an old-style archive.
   13360 RANLIB=$lt_RANLIB
   13361 old_archive_cmds=$lt_old_archive_cmds_CXX
   13362 old_postinstall_cmds=$lt_old_postinstall_cmds
   13363 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13364 
   13365 # Create an old-style archive from a shared archive.
   13366 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13367 
   13368 # Create a temporary old-style archive to link instead of a shared archive.
   13369 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13370 
   13371 # Commands used to build and install a shared archive.
   13372 archive_cmds=$lt_archive_cmds_CXX
   13373 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13374 postinstall_cmds=$lt_postinstall_cmds
   13375 postuninstall_cmds=$lt_postuninstall_cmds
   13376 
   13377 # Commands used to build a loadable module (assumed same as above if empty)
   13378 module_cmds=$lt_module_cmds_CXX
   13379 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13380 
   13381 # Commands to strip libraries.
   13382 old_striplib=$lt_old_striplib
   13383 striplib=$lt_striplib
   13384 
   13385 # Dependencies to place before the objects being linked to create a
   13386 # shared library.
   13387 predep_objects=$lt_predep_objects_CXX
   13388 
   13389 # Dependencies to place after the objects being linked to create a
   13390 # shared library.
   13391 postdep_objects=$lt_postdep_objects_CXX
   13392 
   13393 # Dependencies to place before the objects being linked to create a
   13394 # shared library.
   13395 predeps=$lt_predeps_CXX
   13396 
   13397 # Dependencies to place after the objects being linked to create a
   13398 # shared library.
   13399 postdeps=$lt_postdeps_CXX
   13400 
   13401 # The library search path used internally by the compiler when linking
   13402 # a shared library.
   13403 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13404 
   13405 # Method to check whether dependent libraries are shared objects.
   13406 deplibs_check_method=$lt_deplibs_check_method
   13407 
   13408 # Command to use when deplibs_check_method == file_magic.
   13409 file_magic_cmd=$lt_file_magic_cmd
   13410 
   13411 # Flag that allows shared libraries with undefined symbols to be built.
   13412 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13413 
   13414 # Flag that forces no undefined symbols.
   13415 no_undefined_flag=$lt_no_undefined_flag_CXX
   13416 
   13417 # Commands used to finish a libtool library installation in a directory.
   13418 finish_cmds=$lt_finish_cmds
   13419 
   13420 # Same as above, but a single script fragment to be evaled but not shown.
   13421 finish_eval=$lt_finish_eval
   13422 
   13423 # Take the output of nm and produce a listing of raw symbols and C names.
   13424 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13425 
   13426 # Transform the output of nm in a proper C declaration
   13427 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13428 
   13429 # Transform the output of nm in a C name address pair
   13430 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13431 
   13432 # This is the shared library runtime path variable.
   13433 runpath_var=$runpath_var
   13434 
   13435 # This is the shared library path variable.
   13436 shlibpath_var=$shlibpath_var
   13437 
   13438 # Is shlibpath searched before the hard-coded library search path?
   13439 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13440 
   13441 # How to hardcode a shared library path into an executable.
   13442 hardcode_action=$hardcode_action_CXX
   13443 
   13444 # Whether we should hardcode library paths into libraries.
   13445 hardcode_into_libs=$hardcode_into_libs
   13446 
   13447 # Flag to hardcode \$libdir into a binary during linking.
   13448 # This must work even if \$libdir does not exist.
   13449 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13450 
   13451 # If ld is used when linking, flag to hardcode \$libdir into
   13452 # a binary during linking. This must work even if \$libdir does
   13453 # not exist.
   13454 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13455 
   13456 # Whether we need a single -rpath flag with a separated argument.
   13457 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13458 
   13459 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13460 # resulting binary.
   13461 hardcode_direct=$hardcode_direct_CXX
   13462 
   13463 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13464 # resulting binary.
   13465 hardcode_minus_L=$hardcode_minus_L_CXX
   13466 
   13467 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13468 # the resulting binary.
   13469 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13470 
   13471 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13472 # and all subsequent libraries and executables linked against it.
   13473 hardcode_automatic=$hardcode_automatic_CXX
   13474 
   13475 # Variables whose values should be saved in libtool wrapper scripts and
   13476 # restored at relink time.
   13477 variables_saved_for_relink="$variables_saved_for_relink"
   13478 
   13479 # Whether libtool must link a program against all its dependency libraries.
   13480 link_all_deplibs=$link_all_deplibs_CXX
   13481 
   13482 # Compile-time system search path for libraries
   13483 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13484 
   13485 # Run-time system search path for libraries
   13486 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13487 
   13488 # Fix the shell variable \$srcfile for the compiler.
   13489 fix_srcfile_path="$fix_srcfile_path_CXX"
   13490 
   13491 # Set to yes if exported symbols are required.
   13492 always_export_symbols=$always_export_symbols_CXX
   13493 
   13494 # The commands to list exported symbols.
   13495 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13496 
   13497 # The commands to extract the exported symbol list from a shared archive.
   13498 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13499 
   13500 # Symbols that should not be listed in the preloaded symbols.
   13501 exclude_expsyms=$lt_exclude_expsyms_CXX
   13502 
   13503 # Symbols that must always be exported.
   13504 include_expsyms=$lt_include_expsyms_CXX
   13505 
   13506 # ### END LIBTOOL TAG CONFIG: $tagname
   13507 
   13508 __EOF__
   13509 
   13510 
   13511 else
   13512   # If there is no Makefile yet, we rely on a make rule to execute
   13513   # `config.status --recheck' to rerun these tests and create the
   13514   # libtool script then.
   13515   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13516   if test -f "$ltmain_in"; then
   13517     test -f Makefile && make "$ltmain"
   13518   fi
   13519 fi
   13520 
   13521 
   13522 ac_ext=c
   13523 ac_cpp='$CPP $CPPFLAGS'
   13524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13527 
   13528 CC=$lt_save_CC
   13529 LDCXX=$LD
   13530 LD=$lt_save_LD
   13531 GCC=$lt_save_GCC
   13532 with_gnu_ldcxx=$with_gnu_ld
   13533 with_gnu_ld=$lt_save_with_gnu_ld
   13534 lt_cv_path_LDCXX=$lt_cv_path_LD
   13535 lt_cv_path_LD=$lt_save_path_LD
   13536 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13537 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13538 
   13539 	else
   13540 	  tagname=""
   13541 	fi
   13542 	;;
   13543 
   13544       F77)
   13545 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13546 
   13547 ac_ext=f
   13548 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13549 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13550 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13551 
   13552 
   13553 archive_cmds_need_lc_F77=no
   13554 allow_undefined_flag_F77=
   13555 always_export_symbols_F77=no
   13556 archive_expsym_cmds_F77=
   13557 export_dynamic_flag_spec_F77=
   13558 hardcode_direct_F77=no
   13559 hardcode_libdir_flag_spec_F77=
   13560 hardcode_libdir_flag_spec_ld_F77=
   13561 hardcode_libdir_separator_F77=
   13562 hardcode_minus_L_F77=no
   13563 hardcode_automatic_F77=no
   13564 module_cmds_F77=
   13565 module_expsym_cmds_F77=
   13566 link_all_deplibs_F77=unknown
   13567 old_archive_cmds_F77=$old_archive_cmds
   13568 no_undefined_flag_F77=
   13569 whole_archive_flag_spec_F77=
   13570 enable_shared_with_static_runtimes_F77=no
   13571 
   13572 # Source file extension for f77 test sources.
   13573 ac_ext=f
   13574 
   13575 # Object file extension for compiled f77 test sources.
   13576 objext=o
   13577 objext_F77=$objext
   13578 
   13579 # Code to be used in simple compile tests
   13580 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13581 
   13582 # Code to be used in simple link tests
   13583 lt_simple_link_test_code="      program t\n      end\n"
   13584 
   13585 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13586 
   13587 # If no C compiler was specified, use CC.
   13588 LTCC=${LTCC-"$CC"}
   13589 
   13590 # If no C compiler flags were specified, use CFLAGS.
   13591 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13592 
   13593 # Allow CC to be a program name with arguments.
   13594 compiler=$CC
   13595 
   13596 
   13597 # save warnings/boilerplate of simple test code
   13598 ac_outfile=conftest.$ac_objext
   13599 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13600 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13601 _lt_compiler_boilerplate=`cat conftest.err`
   13602 $rm conftest*
   13603 
   13604 ac_outfile=conftest.$ac_objext
   13605 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13606 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13607 _lt_linker_boilerplate=`cat conftest.err`
   13608 $rm conftest*
   13609 
   13610 
   13611 # Allow CC to be a program name with arguments.
   13612 lt_save_CC="$CC"
   13613 CC=${F77-"f77"}
   13614 compiler=$CC
   13615 compiler_F77=$CC
   13616 for cc_temp in $compiler""; do
   13617   case $cc_temp in
   13618     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13619     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13620     \-*) ;;
   13621     *) break;;
   13622   esac
   13623 done
   13624 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13625 
   13626 
   13627 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13628 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13629 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13630 echo "${ECHO_T}$can_build_shared" >&6; }
   13631 
   13632 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13633 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13634 test "$can_build_shared" = "no" && enable_shared=no
   13635 
   13636 # On AIX, shared libraries and static libraries use the same namespace, and
   13637 # are all built from PIC.
   13638 case $host_os in
   13639 aix3*)
   13640   test "$enable_shared" = yes && enable_static=no
   13641   if test -n "$RANLIB"; then
   13642     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13643     postinstall_cmds='$RANLIB $lib'
   13644   fi
   13645   ;;
   13646 aix4* | aix5*)
   13647   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13648     test "$enable_shared" = yes && enable_static=no
   13649   fi
   13650   ;;
   13651 esac
   13652 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13653 echo "${ECHO_T}$enable_shared" >&6; }
   13654 
   13655 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13656 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13657 # Make sure either enable_shared or enable_static is yes.
   13658 test "$enable_shared" = yes || enable_static=yes
   13659 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13660 echo "${ECHO_T}$enable_static" >&6; }
   13661 
   13662 GCC_F77="$G77"
   13663 LD_F77="$LD"
   13664 
   13665 lt_prog_compiler_wl_F77=
   13666 lt_prog_compiler_pic_F77=
   13667 lt_prog_compiler_static_F77=
   13668 
   13669 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13670 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13671 
   13672   if test "$GCC" = yes; then
   13673     lt_prog_compiler_wl_F77='-Wl,'
   13674     lt_prog_compiler_static_F77='-static'
   13675 
   13676     case $host_os in
   13677       aix*)
   13678       # All AIX code is PIC.
   13679       if test "$host_cpu" = ia64; then
   13680 	# AIX 5 now supports IA64 processor
   13681 	lt_prog_compiler_static_F77='-Bstatic'
   13682       fi
   13683       ;;
   13684 
   13685     amigaos*)
   13686       # FIXME: we need at least 68020 code to build shared libraries, but
   13687       # adding the `-m68020' flag to GCC prevents building anything better,
   13688       # like `-m68040'.
   13689       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13690       ;;
   13691 
   13692     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13693       # PIC is the default for these OSes.
   13694       ;;
   13695 
   13696     mingw* | pw32* | os2*)
   13697       # This hack is so that the source file can tell whether it is being
   13698       # built for inclusion in a dll (and should export symbols for example).
   13699       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13700       ;;
   13701 
   13702     darwin* | rhapsody*)
   13703       # PIC is the default on this platform
   13704       # Common symbols not allowed in MH_DYLIB files
   13705       lt_prog_compiler_pic_F77='-fno-common'
   13706       ;;
   13707 
   13708     interix3*)
   13709       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13710       # Instead, we relocate shared libraries at runtime.
   13711       ;;
   13712 
   13713     msdosdjgpp*)
   13714       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13715       # on systems that don't support them.
   13716       lt_prog_compiler_can_build_shared_F77=no
   13717       enable_shared=no
   13718       ;;
   13719 
   13720     sysv4*MP*)
   13721       if test -d /usr/nec; then
   13722 	lt_prog_compiler_pic_F77=-Kconform_pic
   13723       fi
   13724       ;;
   13725 
   13726     hpux*)
   13727       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13728       # not for PA HP-UX.
   13729       case $host_cpu in
   13730       hppa*64*|ia64*)
   13731 	# +Z the default
   13732 	;;
   13733       *)
   13734 	lt_prog_compiler_pic_F77='-fPIC'
   13735 	;;
   13736       esac
   13737       ;;
   13738 
   13739     *)
   13740       lt_prog_compiler_pic_F77='-fPIC'
   13741       ;;
   13742     esac
   13743   else
   13744     # PORTME Check for flag to pass linker flags through the system compiler.
   13745     case $host_os in
   13746     aix*)
   13747       lt_prog_compiler_wl_F77='-Wl,'
   13748       if test "$host_cpu" = ia64; then
   13749 	# AIX 5 now supports IA64 processor
   13750 	lt_prog_compiler_static_F77='-Bstatic'
   13751       else
   13752 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13753       fi
   13754       ;;
   13755       darwin*)
   13756         # PIC is the default on this platform
   13757         # Common symbols not allowed in MH_DYLIB files
   13758        case $cc_basename in
   13759          xlc*)
   13760          lt_prog_compiler_pic_F77='-qnocommon'
   13761          lt_prog_compiler_wl_F77='-Wl,'
   13762          ;;
   13763        esac
   13764        ;;
   13765 
   13766     mingw* | pw32* | os2*)
   13767       # This hack is so that the source file can tell whether it is being
   13768       # built for inclusion in a dll (and should export symbols for example).
   13769       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13770       ;;
   13771 
   13772     hpux9* | hpux10* | hpux11*)
   13773       lt_prog_compiler_wl_F77='-Wl,'
   13774       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13775       # not for PA HP-UX.
   13776       case $host_cpu in
   13777       hppa*64*|ia64*)
   13778 	# +Z the default
   13779 	;;
   13780       *)
   13781 	lt_prog_compiler_pic_F77='+Z'
   13782 	;;
   13783       esac
   13784       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13785       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13786       ;;
   13787 
   13788     irix5* | irix6* | nonstopux*)
   13789       lt_prog_compiler_wl_F77='-Wl,'
   13790       # PIC (with -KPIC) is the default.
   13791       lt_prog_compiler_static_F77='-non_shared'
   13792       ;;
   13793 
   13794     newsos6)
   13795       lt_prog_compiler_pic_F77='-KPIC'
   13796       lt_prog_compiler_static_F77='-Bstatic'
   13797       ;;
   13798 
   13799     linux*)
   13800       case $cc_basename in
   13801       icc* | ecc*)
   13802 	lt_prog_compiler_wl_F77='-Wl,'
   13803 	lt_prog_compiler_pic_F77='-KPIC'
   13804 	lt_prog_compiler_static_F77='-static'
   13805         ;;
   13806       pgcc* | pgf77* | pgf90* | pgf95*)
   13807         # Portland Group compilers (*not* the Pentium gcc compiler,
   13808 	# which looks to be a dead project)
   13809 	lt_prog_compiler_wl_F77='-Wl,'
   13810 	lt_prog_compiler_pic_F77='-fpic'
   13811 	lt_prog_compiler_static_F77='-Bstatic'
   13812         ;;
   13813       ccc*)
   13814         lt_prog_compiler_wl_F77='-Wl,'
   13815         # All Alpha code is PIC.
   13816         lt_prog_compiler_static_F77='-non_shared'
   13817         ;;
   13818       esac
   13819       ;;
   13820 
   13821     osf3* | osf4* | osf5*)
   13822       lt_prog_compiler_wl_F77='-Wl,'
   13823       # All OSF/1 code is PIC.
   13824       lt_prog_compiler_static_F77='-non_shared'
   13825       ;;
   13826 
   13827     solaris*)
   13828       lt_prog_compiler_pic_F77='-KPIC'
   13829       lt_prog_compiler_static_F77='-Bstatic'
   13830       case $cc_basename in
   13831       f77* | f90* | f95*)
   13832 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13833       *)
   13834 	lt_prog_compiler_wl_F77='-Wl,';;
   13835       esac
   13836       ;;
   13837 
   13838     sunos4*)
   13839       lt_prog_compiler_wl_F77='-Qoption ld '
   13840       lt_prog_compiler_pic_F77='-PIC'
   13841       lt_prog_compiler_static_F77='-Bstatic'
   13842       ;;
   13843 
   13844     sysv4 | sysv4.2uw2* | sysv4.3*)
   13845       lt_prog_compiler_wl_F77='-Wl,'
   13846       lt_prog_compiler_pic_F77='-KPIC'
   13847       lt_prog_compiler_static_F77='-Bstatic'
   13848       ;;
   13849 
   13850     sysv4*MP*)
   13851       if test -d /usr/nec ;then
   13852 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13853 	lt_prog_compiler_static_F77='-Bstatic'
   13854       fi
   13855       ;;
   13856 
   13857     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13858       lt_prog_compiler_wl_F77='-Wl,'
   13859       lt_prog_compiler_pic_F77='-KPIC'
   13860       lt_prog_compiler_static_F77='-Bstatic'
   13861       ;;
   13862 
   13863     unicos*)
   13864       lt_prog_compiler_wl_F77='-Wl,'
   13865       lt_prog_compiler_can_build_shared_F77=no
   13866       ;;
   13867 
   13868     uts4*)
   13869       lt_prog_compiler_pic_F77='-pic'
   13870       lt_prog_compiler_static_F77='-Bstatic'
   13871       ;;
   13872 
   13873     *)
   13874       lt_prog_compiler_can_build_shared_F77=no
   13875       ;;
   13876     esac
   13877   fi
   13878 
   13879 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13880 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   13881 
   13882 #
   13883 # Check to make sure the PIC flag actually works.
   13884 #
   13885 if test -n "$lt_prog_compiler_pic_F77"; then
   13886 
   13887 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13888 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   13889 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13890   echo $ECHO_N "(cached) $ECHO_C" >&6
   13891 else
   13892   lt_prog_compiler_pic_works_F77=no
   13893   ac_outfile=conftest.$ac_objext
   13894    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13895    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13896    # Insert the option either (1) after the last *FLAGS variable, or
   13897    # (2) before a word containing "conftest.", or (3) at the end.
   13898    # Note that $ac_compile itself does not contain backslashes and begins
   13899    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13900    # The option is referenced via a variable to avoid confusing sed.
   13901    lt_compile=`echo "$ac_compile" | $SED \
   13902    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13903    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13904    -e 's:$: $lt_compiler_flag:'`
   13905    (eval echo "\"\$as_me:13905: $lt_compile\"" >&5)
   13906    (eval "$lt_compile" 2>conftest.err)
   13907    ac_status=$?
   13908    cat conftest.err >&5
   13909    echo "$as_me:13909: \$? = $ac_status" >&5
   13910    if (exit $ac_status) && test -s "$ac_outfile"; then
   13911      # The compiler can only warn and ignore the option if not recognized
   13912      # So say no if there are warnings other than the usual output.
   13913      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13914      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13915      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13916        lt_prog_compiler_pic_works_F77=yes
   13917      fi
   13918    fi
   13919    $rm conftest*
   13920 
   13921 fi
   13922 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13923 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   13924 
   13925 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13926     case $lt_prog_compiler_pic_F77 in
   13927      "" | " "*) ;;
   13928      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13929      esac
   13930 else
   13931     lt_prog_compiler_pic_F77=
   13932      lt_prog_compiler_can_build_shared_F77=no
   13933 fi
   13934 
   13935 fi
   13936 case $host_os in
   13937   # For platforms which do not support PIC, -DPIC is meaningless:
   13938   *djgpp*)
   13939     lt_prog_compiler_pic_F77=
   13940     ;;
   13941   *)
   13942     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13943     ;;
   13944 esac
   13945 
   13946 #
   13947 # Check to make sure the static flag actually works.
   13948 #
   13949 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13950 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13951 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13952 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13953   echo $ECHO_N "(cached) $ECHO_C" >&6
   13954 else
   13955   lt_prog_compiler_static_works_F77=no
   13956    save_LDFLAGS="$LDFLAGS"
   13957    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13958    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13959    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13960      # The linker can only warn and ignore the option if not recognized
   13961      # So say no if there are warnings
   13962      if test -s conftest.err; then
   13963        # Append any errors to the config.log.
   13964        cat conftest.err 1>&5
   13965        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13966        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13967        if diff conftest.exp conftest.er2 >/dev/null; then
   13968          lt_prog_compiler_static_works_F77=yes
   13969        fi
   13970      else
   13971        lt_prog_compiler_static_works_F77=yes
   13972      fi
   13973    fi
   13974    $rm conftest*
   13975    LDFLAGS="$save_LDFLAGS"
   13976 
   13977 fi
   13978 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13979 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   13980 
   13981 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13982     :
   13983 else
   13984     lt_prog_compiler_static_F77=
   13985 fi
   13986 
   13987 
   13988 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13989 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   13990 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   13991   echo $ECHO_N "(cached) $ECHO_C" >&6
   13992 else
   13993   lt_cv_prog_compiler_c_o_F77=no
   13994    $rm -r conftest 2>/dev/null
   13995    mkdir conftest
   13996    cd conftest
   13997    mkdir out
   13998    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13999 
   14000    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14001    # Insert the option either (1) after the last *FLAGS variable, or
   14002    # (2) before a word containing "conftest.", or (3) at the end.
   14003    # Note that $ac_compile itself does not contain backslashes and begins
   14004    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14005    lt_compile=`echo "$ac_compile" | $SED \
   14006    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14007    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14008    -e 's:$: $lt_compiler_flag:'`
   14009    (eval echo "\"\$as_me:14009: $lt_compile\"" >&5)
   14010    (eval "$lt_compile" 2>out/conftest.err)
   14011    ac_status=$?
   14012    cat out/conftest.err >&5
   14013    echo "$as_me:14013: \$? = $ac_status" >&5
   14014    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14015    then
   14016      # The compiler can only warn and ignore the option if not recognized
   14017      # So say no if there are warnings
   14018      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14019      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14020      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14021        lt_cv_prog_compiler_c_o_F77=yes
   14022      fi
   14023    fi
   14024    chmod u+w . 2>&5
   14025    $rm conftest*
   14026    # SGI C++ compiler will create directory out/ii_files/ for
   14027    # template instantiation
   14028    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14029    $rm out/* && rmdir out
   14030    cd ..
   14031    rmdir conftest
   14032    $rm conftest*
   14033 
   14034 fi
   14035 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14036 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14037 
   14038 
   14039 hard_links="nottested"
   14040 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14041   # do not overwrite the value of need_locks provided by the user
   14042   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14043 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14044   hard_links=yes
   14045   $rm conftest*
   14046   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14047   touch conftest.a
   14048   ln conftest.a conftest.b 2>&5 || hard_links=no
   14049   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14050   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14051 echo "${ECHO_T}$hard_links" >&6; }
   14052   if test "$hard_links" = no; then
   14053     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14054 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14055     need_locks=warn
   14056   fi
   14057 else
   14058   need_locks=no
   14059 fi
   14060 
   14061 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14062 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14063 
   14064   runpath_var=
   14065   allow_undefined_flag_F77=
   14066   enable_shared_with_static_runtimes_F77=no
   14067   archive_cmds_F77=
   14068   archive_expsym_cmds_F77=
   14069   old_archive_From_new_cmds_F77=
   14070   old_archive_from_expsyms_cmds_F77=
   14071   export_dynamic_flag_spec_F77=
   14072   whole_archive_flag_spec_F77=
   14073   thread_safe_flag_spec_F77=
   14074   hardcode_libdir_flag_spec_F77=
   14075   hardcode_libdir_flag_spec_ld_F77=
   14076   hardcode_libdir_separator_F77=
   14077   hardcode_direct_F77=no
   14078   hardcode_minus_L_F77=no
   14079   hardcode_shlibpath_var_F77=unsupported
   14080   link_all_deplibs_F77=unknown
   14081   hardcode_automatic_F77=no
   14082   module_cmds_F77=
   14083   module_expsym_cmds_F77=
   14084   always_export_symbols_F77=no
   14085   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14086   # include_expsyms should be a list of space-separated symbols to be *always*
   14087   # included in the symbol list
   14088   include_expsyms_F77=
   14089   # exclude_expsyms can be an extended regexp of symbols to exclude
   14090   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14091   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14092   # as well as any symbol that contains `d'.
   14093   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14094   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14095   # platforms (ab)use it in PIC code, but their linkers get confused if
   14096   # the symbol is explicitly referenced.  Since portable code cannot
   14097   # rely on this symbol name, it's probably fine to never include it in
   14098   # preloaded symbol tables.
   14099   extract_expsyms_cmds=
   14100   # Just being paranoid about ensuring that cc_basename is set.
   14101   for cc_temp in $compiler""; do
   14102   case $cc_temp in
   14103     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14104     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14105     \-*) ;;
   14106     *) break;;
   14107   esac
   14108 done
   14109 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14110 
   14111   case $host_os in
   14112   cygwin* | mingw* | pw32*)
   14113     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14114     # When not using gcc, we currently assume that we are using
   14115     # Microsoft Visual C++.
   14116     if test "$GCC" != yes; then
   14117       with_gnu_ld=no
   14118     fi
   14119     ;;
   14120   interix*)
   14121     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14122     with_gnu_ld=yes
   14123     ;;
   14124   openbsd*)
   14125     with_gnu_ld=no
   14126     ;;
   14127   esac
   14128 
   14129   ld_shlibs_F77=yes
   14130   if test "$with_gnu_ld" = yes; then
   14131     # If archive_cmds runs LD, not CC, wlarc should be empty
   14132     wlarc='${wl}'
   14133 
   14134     # Set some defaults for GNU ld with shared library support. These
   14135     # are reset later if shared libraries are not supported. Putting them
   14136     # here allows them to be overridden if necessary.
   14137     runpath_var=LD_RUN_PATH
   14138     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14139     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14140     # ancient GNU ld didn't support --whole-archive et. al.
   14141     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14142 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14143       else
   14144   	whole_archive_flag_spec_F77=
   14145     fi
   14146     supports_anon_versioning=no
   14147     case `$LD -v 2>/dev/null` in
   14148       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14149       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14150       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14151       *\ 2.11.*) ;; # other 2.11 versions
   14152       *) supports_anon_versioning=yes ;;
   14153     esac
   14154 
   14155     # See if GNU ld supports shared libraries.
   14156     case $host_os in
   14157     aix3* | aix4* | aix5*)
   14158       # On AIX/PPC, the GNU linker is very broken
   14159       if test "$host_cpu" != ia64; then
   14160 	ld_shlibs_F77=no
   14161 	cat <<EOF 1>&2
   14162 
   14163 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14164 *** to be unable to reliably create shared libraries on AIX.
   14165 *** Therefore, libtool is disabling shared libraries support.  If you
   14166 *** really care for shared libraries, you may want to modify your PATH
   14167 *** so that a non-GNU linker is found, and then restart.
   14168 
   14169 EOF
   14170       fi
   14171       ;;
   14172 
   14173     amigaos*)
   14174       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)'
   14175       hardcode_libdir_flag_spec_F77='-L$libdir'
   14176       hardcode_minus_L_F77=yes
   14177 
   14178       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14179       # that the semantics of dynamic libraries on AmigaOS, at least up
   14180       # to version 4, is to share data among multiple programs linked
   14181       # with the same dynamic library.  Since this doesn't match the
   14182       # behavior of shared libraries on other platforms, we can't use
   14183       # them.
   14184       ld_shlibs_F77=no
   14185       ;;
   14186 
   14187     beos*)
   14188       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14189 	allow_undefined_flag_F77=unsupported
   14190 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14191 	# support --undefined.  This deserves some investigation.  FIXME
   14192 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14193       else
   14194 	ld_shlibs_F77=no
   14195       fi
   14196       ;;
   14197 
   14198     cygwin* | mingw* | pw32*)
   14199       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14200       # as there is no search path for DLLs.
   14201       hardcode_libdir_flag_spec_F77='-L$libdir'
   14202       allow_undefined_flag_F77=unsupported
   14203       always_export_symbols_F77=no
   14204       enable_shared_with_static_runtimes_F77=yes
   14205       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14206 
   14207       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14208         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14209 	# If the export-symbols file already is a .def file (1st line
   14210 	# is EXPORTS), use it as is; otherwise, prepend...
   14211 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14212 	  cp $export_symbols $output_objdir/$soname.def;
   14213 	else
   14214 	  echo EXPORTS > $output_objdir/$soname.def;
   14215 	  cat $export_symbols >> $output_objdir/$soname.def;
   14216 	fi~
   14217 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14218       else
   14219 	ld_shlibs_F77=no
   14220       fi
   14221       ;;
   14222 
   14223     interix3*)
   14224       hardcode_direct_F77=no
   14225       hardcode_shlibpath_var_F77=no
   14226       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14227       export_dynamic_flag_spec_F77='${wl}-E'
   14228       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14229       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14230       # default) and relocated if they conflict, which is a slow very memory
   14231       # consuming and fragmenting process.  To avoid this, we pick a random,
   14232       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14233       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14234       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'
   14235       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'
   14236       ;;
   14237 
   14238     linux*)
   14239       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14240 	tmp_addflag=
   14241 	case $cc_basename,$host_cpu in
   14242 	pgcc*)				# Portland Group C compiler
   14243 	  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'
   14244 	  tmp_addflag=' $pic_flag'
   14245 	  ;;
   14246 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14247 	  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'
   14248 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14249 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14250 	  tmp_addflag=' -i_dynamic' ;;
   14251 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14252 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14253 	ifc* | ifort*)			# Intel Fortran compiler
   14254 	  tmp_addflag=' -nofor_main' ;;
   14255 	esac
   14256 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14257 
   14258 	if test $supports_anon_versioning = yes; then
   14259 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14260   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14261   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14262 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14263 	fi
   14264       else
   14265 	ld_shlibs_F77=no
   14266       fi
   14267       ;;
   14268 
   14269     netbsd*)
   14270       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14271 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14272 	wlarc=
   14273       else
   14274 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14275 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14276       fi
   14277       ;;
   14278 
   14279     solaris*)
   14280       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14281 	ld_shlibs_F77=no
   14282 	cat <<EOF 1>&2
   14283 
   14284 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14285 *** create shared libraries on Solaris systems.  Therefore, libtool
   14286 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14287 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14288 *** your PATH or compiler configuration so that the native linker is
   14289 *** used, and then restart.
   14290 
   14291 EOF
   14292       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14293 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14294 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14295       else
   14296 	ld_shlibs_F77=no
   14297       fi
   14298       ;;
   14299 
   14300     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14301       case `$LD -v 2>&1` in
   14302         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14303 	ld_shlibs_F77=no
   14304 	cat <<_LT_EOF 1>&2
   14305 
   14306 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14307 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14308 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14309 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14310 *** your PATH or compiler configuration so that the native linker is
   14311 *** used, and then restart.
   14312 
   14313 _LT_EOF
   14314 	;;
   14315 	*)
   14316 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14317 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14318 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14319 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14320 	  else
   14321 	    ld_shlibs_F77=no
   14322 	  fi
   14323 	;;
   14324       esac
   14325       ;;
   14326 
   14327     sunos4*)
   14328       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14329       wlarc=
   14330       hardcode_direct_F77=yes
   14331       hardcode_shlibpath_var_F77=no
   14332       ;;
   14333 
   14334     *)
   14335       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14336 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14337 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14338       else
   14339 	ld_shlibs_F77=no
   14340       fi
   14341       ;;
   14342     esac
   14343 
   14344     if test "$ld_shlibs_F77" = no; then
   14345       runpath_var=
   14346       hardcode_libdir_flag_spec_F77=
   14347       export_dynamic_flag_spec_F77=
   14348       whole_archive_flag_spec_F77=
   14349     fi
   14350   else
   14351     # PORTME fill in a description of your system's linker (not GNU ld)
   14352     case $host_os in
   14353     aix3*)
   14354       allow_undefined_flag_F77=unsupported
   14355       always_export_symbols_F77=yes
   14356       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'
   14357       # Note: this linker hardcodes the directories in LIBPATH if there
   14358       # are no directories specified by -L.
   14359       hardcode_minus_L_F77=yes
   14360       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14361 	# Neither direct hardcoding nor static linking is supported with a
   14362 	# broken collect2.
   14363 	hardcode_direct_F77=unsupported
   14364       fi
   14365       ;;
   14366 
   14367     aix4* | aix5*)
   14368       if test "$host_cpu" = ia64; then
   14369 	# On IA64, the linker does run time linking by default, so we don't
   14370 	# have to do anything special.
   14371 	aix_use_runtimelinking=no
   14372 	exp_sym_flag='-Bexport'
   14373 	no_entry_flag=""
   14374       else
   14375 	# If we're using GNU nm, then we don't want the "-C" option.
   14376 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14377 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14378 	  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'
   14379 	else
   14380 	  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'
   14381 	fi
   14382 	aix_use_runtimelinking=no
   14383 
   14384 	# Test if we are trying to use run time linking or normal
   14385 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14386 	# need to do runtime linking.
   14387 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14388 	  for ld_flag in $LDFLAGS; do
   14389   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14390   	    aix_use_runtimelinking=yes
   14391   	    break
   14392   	  fi
   14393 	  done
   14394 	  ;;
   14395 	esac
   14396 
   14397 	exp_sym_flag='-bexport'
   14398 	no_entry_flag='-bnoentry'
   14399       fi
   14400 
   14401       # When large executables or shared objects are built, AIX ld can
   14402       # have problems creating the table of contents.  If linking a library
   14403       # or program results in "error TOC overflow" add -mminimal-toc to
   14404       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14405       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14406 
   14407       archive_cmds_F77=''
   14408       hardcode_direct_F77=yes
   14409       hardcode_libdir_separator_F77=':'
   14410       link_all_deplibs_F77=yes
   14411 
   14412       if test "$GCC" = yes; then
   14413 	case $host_os in aix4.[012]|aix4.[012].*)
   14414 	# We only want to do this on AIX 4.2 and lower, the check
   14415 	# below for broken collect2 doesn't work under 4.3+
   14416 	  collect2name=`${CC} -print-prog-name=collect2`
   14417 	  if test -f "$collect2name" && \
   14418   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14419 	  then
   14420   	  # We have reworked collect2
   14421   	  hardcode_direct_F77=yes
   14422 	  else
   14423   	  # We have old collect2
   14424   	  hardcode_direct_F77=unsupported
   14425   	  # It fails to find uninstalled libraries when the uninstalled
   14426   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14427   	  # to unsupported forces relinking
   14428   	  hardcode_minus_L_F77=yes
   14429   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14430   	  hardcode_libdir_separator_F77=
   14431 	  fi
   14432 	  ;;
   14433 	esac
   14434 	shared_flag='-shared'
   14435 	if test "$aix_use_runtimelinking" = yes; then
   14436 	  shared_flag="$shared_flag "'${wl}-G'
   14437 	fi
   14438       else
   14439 	# not using gcc
   14440 	if test "$host_cpu" = ia64; then
   14441   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14442   	# chokes on -Wl,-G. The following line is correct:
   14443 	  shared_flag='-G'
   14444 	else
   14445 	  if test "$aix_use_runtimelinking" = yes; then
   14446 	    shared_flag='${wl}-G'
   14447 	  else
   14448 	    shared_flag='${wl}-bM:SRE'
   14449 	  fi
   14450 	fi
   14451       fi
   14452 
   14453       # It seems that -bexpall does not export symbols beginning with
   14454       # underscore (_), so it is better to generate a list of symbols to export.
   14455       always_export_symbols_F77=yes
   14456       if test "$aix_use_runtimelinking" = yes; then
   14457 	# Warning - without using the other runtime loading flags (-brtl),
   14458 	# -berok will link without error, but may produce a broken library.
   14459 	allow_undefined_flag_F77='-berok'
   14460        # Determine the default libpath from the value encoded in an empty executable.
   14461        cat >conftest.$ac_ext <<_ACEOF
   14462       program main
   14463 
   14464       end
   14465 _ACEOF
   14466 rm -f conftest.$ac_objext conftest$ac_exeext
   14467 if { (ac_try="$ac_link"
   14468 case "(($ac_try" in
   14469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14470   *) ac_try_echo=$ac_try;;
   14471 esac
   14472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14473   (eval "$ac_link") 2>conftest.er1
   14474   ac_status=$?
   14475   grep -v '^ *+' conftest.er1 >conftest.err
   14476   rm -f conftest.er1
   14477   cat conftest.err >&5
   14478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14479   (exit $ac_status); } && {
   14480 	 test -z "$ac_f77_werror_flag" ||
   14481 	 test ! -s conftest.err
   14482        } && test -s conftest$ac_exeext &&
   14483        $as_test_x conftest$ac_exeext; then
   14484 
   14485 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14486 }'`
   14487 # Check for a 64-bit object if we didn't find anything.
   14488 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; }
   14489 }'`; fi
   14490 else
   14491   echo "$as_me: failed program was:" >&5
   14492 sed 's/^/| /' conftest.$ac_ext >&5
   14493 
   14494 
   14495 fi
   14496 
   14497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14498       conftest$ac_exeext conftest.$ac_ext
   14499 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14500 
   14501        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14502 	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"
   14503        else
   14504 	if test "$host_cpu" = ia64; then
   14505 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14506 	  allow_undefined_flag_F77="-z nodefs"
   14507 	  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"
   14508 	else
   14509 	 # Determine the default libpath from the value encoded in an empty executable.
   14510 	 cat >conftest.$ac_ext <<_ACEOF
   14511       program main
   14512 
   14513       end
   14514 _ACEOF
   14515 rm -f conftest.$ac_objext conftest$ac_exeext
   14516 if { (ac_try="$ac_link"
   14517 case "(($ac_try" in
   14518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14519   *) ac_try_echo=$ac_try;;
   14520 esac
   14521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14522   (eval "$ac_link") 2>conftest.er1
   14523   ac_status=$?
   14524   grep -v '^ *+' conftest.er1 >conftest.err
   14525   rm -f conftest.er1
   14526   cat conftest.err >&5
   14527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14528   (exit $ac_status); } && {
   14529 	 test -z "$ac_f77_werror_flag" ||
   14530 	 test ! -s conftest.err
   14531        } && test -s conftest$ac_exeext &&
   14532        $as_test_x conftest$ac_exeext; then
   14533 
   14534 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14535 }'`
   14536 # Check for a 64-bit object if we didn't find anything.
   14537 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; }
   14538 }'`; fi
   14539 else
   14540   echo "$as_me: failed program was:" >&5
   14541 sed 's/^/| /' conftest.$ac_ext >&5
   14542 
   14543 
   14544 fi
   14545 
   14546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14547       conftest$ac_exeext conftest.$ac_ext
   14548 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14549 
   14550 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14551 	  # Warning - without using the other run time loading flags,
   14552 	  # -berok will link without error, but may produce a broken library.
   14553 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14554 	  allow_undefined_flag_F77=' ${wl}-berok'
   14555 	  # Exported symbols can be pulled into shared objects from archives
   14556 	  whole_archive_flag_spec_F77='$convenience'
   14557 	  archive_cmds_need_lc_F77=yes
   14558 	  # This is similar to how AIX traditionally builds its shared libraries.
   14559 	  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'
   14560 	fi
   14561       fi
   14562       ;;
   14563 
   14564     amigaos*)
   14565       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)'
   14566       hardcode_libdir_flag_spec_F77='-L$libdir'
   14567       hardcode_minus_L_F77=yes
   14568       # see comment about different semantics on the GNU ld section
   14569       ld_shlibs_F77=no
   14570       ;;
   14571 
   14572     bsdi[45]*)
   14573       export_dynamic_flag_spec_F77=-rdynamic
   14574       ;;
   14575 
   14576     cygwin* | mingw* | pw32*)
   14577       # When not using gcc, we currently assume that we are using
   14578       # Microsoft Visual C++.
   14579       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14580       # no search path for DLLs.
   14581       hardcode_libdir_flag_spec_F77=' '
   14582       allow_undefined_flag_F77=unsupported
   14583       # Tell ltmain to make .lib files, not .a files.
   14584       libext=lib
   14585       # Tell ltmain to make .dll files, not .so files.
   14586       shrext_cmds=".dll"
   14587       # FIXME: Setting linknames here is a bad hack.
   14588       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14589       # The linker will automatically build a .lib file if we build a DLL.
   14590       old_archive_From_new_cmds_F77='true'
   14591       # FIXME: Should let the user specify the lib program.
   14592       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14593       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14594       enable_shared_with_static_runtimes_F77=yes
   14595       ;;
   14596 
   14597     darwin* | rhapsody*)
   14598       case $host_os in
   14599         rhapsody* | darwin1.[012])
   14600          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14601          ;;
   14602        *) # Darwin 1.3 on
   14603          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14604            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14605          else
   14606            case ${MACOSX_DEPLOYMENT_TARGET} in
   14607              10.[012])
   14608                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14609                ;;
   14610              10.*)
   14611                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14612                ;;
   14613            esac
   14614          fi
   14615          ;;
   14616       esac
   14617       archive_cmds_need_lc_F77=no
   14618       hardcode_direct_F77=no
   14619       hardcode_automatic_F77=yes
   14620       hardcode_shlibpath_var_F77=unsupported
   14621       whole_archive_flag_spec_F77=''
   14622       link_all_deplibs_F77=yes
   14623     if test "$GCC" = yes ; then
   14624     	output_verbose_link_cmd='echo'
   14625         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14626       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14627       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14628       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}'
   14629       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}'
   14630     else
   14631       case $cc_basename in
   14632         xlc*)
   14633          output_verbose_link_cmd='echo'
   14634          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14635          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14636           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14637          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}'
   14638           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}'
   14639           ;;
   14640        *)
   14641          ld_shlibs_F77=no
   14642           ;;
   14643       esac
   14644     fi
   14645       ;;
   14646 
   14647     dgux*)
   14648       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14649       hardcode_libdir_flag_spec_F77='-L$libdir'
   14650       hardcode_shlibpath_var_F77=no
   14651       ;;
   14652 
   14653     freebsd1*)
   14654       ld_shlibs_F77=no
   14655       ;;
   14656 
   14657     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14658     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14659     # does not break anything, and helps significantly (at the cost of a little
   14660     # extra space).
   14661     freebsd2.2*)
   14662       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14663       hardcode_libdir_flag_spec_F77='-R$libdir'
   14664       hardcode_direct_F77=yes
   14665       hardcode_shlibpath_var_F77=no
   14666       ;;
   14667 
   14668     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14669     freebsd2*)
   14670       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14671       hardcode_direct_F77=yes
   14672       hardcode_minus_L_F77=yes
   14673       hardcode_shlibpath_var_F77=no
   14674       ;;
   14675 
   14676     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14677     freebsd* | kfreebsd*-gnu | dragonfly*)
   14678       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14679       hardcode_libdir_flag_spec_F77='-R$libdir'
   14680       hardcode_direct_F77=yes
   14681       hardcode_shlibpath_var_F77=no
   14682       ;;
   14683 
   14684     hpux9*)
   14685       if test "$GCC" = yes; then
   14686 	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'
   14687       else
   14688 	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'
   14689       fi
   14690       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14691       hardcode_libdir_separator_F77=:
   14692       hardcode_direct_F77=yes
   14693 
   14694       # hardcode_minus_L: Not really in the search PATH,
   14695       # but as the default location of the library.
   14696       hardcode_minus_L_F77=yes
   14697       export_dynamic_flag_spec_F77='${wl}-E'
   14698       ;;
   14699 
   14700     hpux10*)
   14701       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14702 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14703       else
   14704 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14705       fi
   14706       if test "$with_gnu_ld" = no; then
   14707 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14708 	hardcode_libdir_separator_F77=:
   14709 
   14710 	hardcode_direct_F77=yes
   14711 	export_dynamic_flag_spec_F77='${wl}-E'
   14712 
   14713 	# hardcode_minus_L: Not really in the search PATH,
   14714 	# but as the default location of the library.
   14715 	hardcode_minus_L_F77=yes
   14716       fi
   14717       ;;
   14718 
   14719     hpux11*)
   14720       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14721 	case $host_cpu in
   14722 	hppa*64*)
   14723 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14724 	  ;;
   14725 	ia64*)
   14726 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14727 	  ;;
   14728 	*)
   14729 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14730 	  ;;
   14731 	esac
   14732       else
   14733 	case $host_cpu in
   14734 	hppa*64*)
   14735 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14736 	  ;;
   14737 	ia64*)
   14738 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14739 	  ;;
   14740 	*)
   14741 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14742 	  ;;
   14743 	esac
   14744       fi
   14745       if test "$with_gnu_ld" = no; then
   14746 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14747 	hardcode_libdir_separator_F77=:
   14748 
   14749 	case $host_cpu in
   14750 	hppa*64*|ia64*)
   14751 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14752 	  hardcode_direct_F77=no
   14753 	  hardcode_shlibpath_var_F77=no
   14754 	  ;;
   14755 	*)
   14756 	  hardcode_direct_F77=yes
   14757 	  export_dynamic_flag_spec_F77='${wl}-E'
   14758 
   14759 	  # hardcode_minus_L: Not really in the search PATH,
   14760 	  # but as the default location of the library.
   14761 	  hardcode_minus_L_F77=yes
   14762 	  ;;
   14763 	esac
   14764       fi
   14765       ;;
   14766 
   14767     irix5* | irix6* | nonstopux*)
   14768       if test "$GCC" = yes; then
   14769 	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'
   14770       else
   14771 	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'
   14772 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14773       fi
   14774       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14775       hardcode_libdir_separator_F77=:
   14776       link_all_deplibs_F77=yes
   14777       ;;
   14778 
   14779     netbsd*)
   14780       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14781 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14782       else
   14783 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14784       fi
   14785       hardcode_libdir_flag_spec_F77='-R$libdir'
   14786       hardcode_direct_F77=yes
   14787       hardcode_shlibpath_var_F77=no
   14788       ;;
   14789 
   14790     newsos6)
   14791       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14792       hardcode_direct_F77=yes
   14793       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14794       hardcode_libdir_separator_F77=:
   14795       hardcode_shlibpath_var_F77=no
   14796       ;;
   14797 
   14798     openbsd*)
   14799       hardcode_direct_F77=yes
   14800       hardcode_shlibpath_var_F77=no
   14801       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14802 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14803 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14804 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14805 	export_dynamic_flag_spec_F77='${wl}-E'
   14806       else
   14807        case $host_os in
   14808 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14809 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14810 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14811 	   ;;
   14812 	 *)
   14813 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14814 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14815 	   ;;
   14816        esac
   14817       fi
   14818       ;;
   14819 
   14820     os2*)
   14821       hardcode_libdir_flag_spec_F77='-L$libdir'
   14822       hardcode_minus_L_F77=yes
   14823       allow_undefined_flag_F77=unsupported
   14824       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'
   14825       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14826       ;;
   14827 
   14828     osf3*)
   14829       if test "$GCC" = yes; then
   14830 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14831 	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'
   14832       else
   14833 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14834 	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'
   14835       fi
   14836       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14837       hardcode_libdir_separator_F77=:
   14838       ;;
   14839 
   14840     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14841       if test "$GCC" = yes; then
   14842 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14843 	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'
   14844 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14845       else
   14846 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14847 	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'
   14848 	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~
   14849 	$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'
   14850 
   14851 	# Both c and cxx compiler support -rpath directly
   14852 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14853       fi
   14854       hardcode_libdir_separator_F77=:
   14855       ;;
   14856 
   14857     solaris*)
   14858       no_undefined_flag_F77=' -z text'
   14859       if test "$GCC" = yes; then
   14860 	wlarc='${wl}'
   14861 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14862 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14863 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14864       else
   14865 	wlarc=''
   14866 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14867 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14868   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14869       fi
   14870       hardcode_libdir_flag_spec_F77='-R$libdir'
   14871       hardcode_shlibpath_var_F77=no
   14872       case $host_os in
   14873       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14874       *)
   14875  	# The compiler driver will combine linker options so we
   14876  	# cannot just pass the convience library names through
   14877  	# without $wl, iff we do not link with $LD.
   14878  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14879  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14880  	case $wlarc in
   14881  	'')
   14882  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14883  	*)
   14884  	  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' ;;
   14885  	esac ;;
   14886       esac
   14887       link_all_deplibs_F77=yes
   14888       ;;
   14889 
   14890     sunos4*)
   14891       if test "x$host_vendor" = xsequent; then
   14892 	# Use $CC to link under sequent, because it throws in some extra .o
   14893 	# files that make .init and .fini sections work.
   14894 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14895       else
   14896 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14897       fi
   14898       hardcode_libdir_flag_spec_F77='-L$libdir'
   14899       hardcode_direct_F77=yes
   14900       hardcode_minus_L_F77=yes
   14901       hardcode_shlibpath_var_F77=no
   14902       ;;
   14903 
   14904     sysv4)
   14905       case $host_vendor in
   14906 	sni)
   14907 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14908 	  hardcode_direct_F77=yes # is this really true???
   14909 	;;
   14910 	siemens)
   14911 	  ## LD is ld it makes a PLAMLIB
   14912 	  ## CC just makes a GrossModule.
   14913 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14914 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14915 	  hardcode_direct_F77=no
   14916         ;;
   14917 	motorola)
   14918 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14919 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14920 	;;
   14921       esac
   14922       runpath_var='LD_RUN_PATH'
   14923       hardcode_shlibpath_var_F77=no
   14924       ;;
   14925 
   14926     sysv4.3*)
   14927       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14928       hardcode_shlibpath_var_F77=no
   14929       export_dynamic_flag_spec_F77='-Bexport'
   14930       ;;
   14931 
   14932     sysv4*MP*)
   14933       if test -d /usr/nec; then
   14934 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14935 	hardcode_shlibpath_var_F77=no
   14936 	runpath_var=LD_RUN_PATH
   14937 	hardcode_runpath_var=yes
   14938 	ld_shlibs_F77=yes
   14939       fi
   14940       ;;
   14941 
   14942     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14943       no_undefined_flag_F77='${wl}-z,text'
   14944       archive_cmds_need_lc_F77=no
   14945       hardcode_shlibpath_var_F77=no
   14946       runpath_var='LD_RUN_PATH'
   14947 
   14948       if test "$GCC" = yes; then
   14949 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14950 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14951       else
   14952 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14953 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14954       fi
   14955       ;;
   14956 
   14957     sysv5* | sco3.2v5* | sco5v6*)
   14958       # Note: We can NOT use -z defs as we might desire, because we do not
   14959       # link with -lc, and that would cause any symbols used from libc to
   14960       # always be unresolved, which means just about no library would
   14961       # ever link correctly.  If we're not using GNU ld we use -z text
   14962       # though, which does catch some bad symbols but isn't as heavy-handed
   14963       # as -z defs.
   14964       no_undefined_flag_F77='${wl}-z,text'
   14965       allow_undefined_flag_F77='${wl}-z,nodefs'
   14966       archive_cmds_need_lc_F77=no
   14967       hardcode_shlibpath_var_F77=no
   14968       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14969       hardcode_libdir_separator_F77=':'
   14970       link_all_deplibs_F77=yes
   14971       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14972       runpath_var='LD_RUN_PATH'
   14973 
   14974       if test "$GCC" = yes; then
   14975 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14976 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14977       else
   14978 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14979 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14980       fi
   14981       ;;
   14982 
   14983     uts4*)
   14984       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14985       hardcode_libdir_flag_spec_F77='-L$libdir'
   14986       hardcode_shlibpath_var_F77=no
   14987       ;;
   14988 
   14989     *)
   14990       ld_shlibs_F77=no
   14991       ;;
   14992     esac
   14993   fi
   14994 
   14995 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   14996 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   14997 test "$ld_shlibs_F77" = no && can_build_shared=no
   14998 
   14999 #
   15000 # Do we need to explicitly link libc?
   15001 #
   15002 case "x$archive_cmds_need_lc_F77" in
   15003 x|xyes)
   15004   # Assume -lc should be added
   15005   archive_cmds_need_lc_F77=yes
   15006 
   15007   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15008     case $archive_cmds_F77 in
   15009     *'~'*)
   15010       # FIXME: we may have to deal with multi-command sequences.
   15011       ;;
   15012     '$CC '*)
   15013       # Test whether the compiler implicitly links with -lc since on some
   15014       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15015       # to ld, don't add -lc before -lgcc.
   15016       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15017 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15018       $rm conftest*
   15019       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15020 
   15021       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15022   (eval $ac_compile) 2>&5
   15023   ac_status=$?
   15024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15025   (exit $ac_status); } 2>conftest.err; then
   15026         soname=conftest
   15027         lib=conftest
   15028         libobjs=conftest.$ac_objext
   15029         deplibs=
   15030         wl=$lt_prog_compiler_wl_F77
   15031 	pic_flag=$lt_prog_compiler_pic_F77
   15032         compiler_flags=-v
   15033         linker_flags=-v
   15034         verstring=
   15035         output_objdir=.
   15036         libname=conftest
   15037         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15038         allow_undefined_flag_F77=
   15039         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15040   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15041   ac_status=$?
   15042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15043   (exit $ac_status); }
   15044         then
   15045 	  archive_cmds_need_lc_F77=no
   15046         else
   15047 	  archive_cmds_need_lc_F77=yes
   15048         fi
   15049         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15050       else
   15051         cat conftest.err 1>&5
   15052       fi
   15053       $rm conftest*
   15054       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15055 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15056       ;;
   15057     esac
   15058   fi
   15059   ;;
   15060 esac
   15061 
   15062 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15063 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15064 library_names_spec=
   15065 libname_spec='lib$name'
   15066 soname_spec=
   15067 shrext_cmds=".so"
   15068 postinstall_cmds=
   15069 postuninstall_cmds=
   15070 finish_cmds=
   15071 finish_eval=
   15072 shlibpath_var=
   15073 shlibpath_overrides_runpath=unknown
   15074 version_type=none
   15075 dynamic_linker="$host_os ld.so"
   15076 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15077 if test "$GCC" = yes; then
   15078   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15079   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15080     # if the path contains ";" then we assume it to be the separator
   15081     # otherwise default to the standard path separator (i.e. ":") - it is
   15082     # assumed that no part of a normal pathname contains ";" but that should
   15083     # okay in the real world where ";" in dirpaths is itself problematic.
   15084     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15085   else
   15086     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15087   fi
   15088 else
   15089   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15090 fi
   15091 need_lib_prefix=unknown
   15092 hardcode_into_libs=no
   15093 
   15094 # when you set need_version to no, make sure it does not cause -set_version
   15095 # flags to be left without arguments
   15096 need_version=unknown
   15097 
   15098 case $host_os in
   15099 aix3*)
   15100   version_type=linux
   15101   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15102   shlibpath_var=LIBPATH
   15103 
   15104   # AIX 3 has no versioning support, so we append a major version to the name.
   15105   soname_spec='${libname}${release}${shared_ext}$major'
   15106   ;;
   15107 
   15108 aix4* | aix5*)
   15109   version_type=linux
   15110   need_lib_prefix=no
   15111   need_version=no
   15112   hardcode_into_libs=yes
   15113   if test "$host_cpu" = ia64; then
   15114     # AIX 5 supports IA64
   15115     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15116     shlibpath_var=LD_LIBRARY_PATH
   15117   else
   15118     # With GCC up to 2.95.x, collect2 would create an import file
   15119     # for dependence libraries.  The import file would start with
   15120     # the line `#! .'.  This would cause the generated library to
   15121     # depend on `.', always an invalid library.  This was fixed in
   15122     # development snapshots of GCC prior to 3.0.
   15123     case $host_os in
   15124       aix4 | aix4.[01] | aix4.[01].*)
   15125       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15126 	   echo ' yes '
   15127 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15128 	:
   15129       else
   15130 	can_build_shared=no
   15131       fi
   15132       ;;
   15133     esac
   15134     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15135     # soname into executable. Probably we can add versioning support to
   15136     # collect2, so additional links can be useful in future.
   15137     if test "$aix_use_runtimelinking" = yes; then
   15138       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15139       # instead of lib<name>.a to let people know that these are not
   15140       # typical AIX shared libraries.
   15141       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15142     else
   15143       # We preserve .a as extension for shared libraries through AIX4.2
   15144       # and later when we are not doing run time linking.
   15145       library_names_spec='${libname}${release}.a $libname.a'
   15146       soname_spec='${libname}${release}${shared_ext}$major'
   15147     fi
   15148     shlibpath_var=LIBPATH
   15149   fi
   15150   ;;
   15151 
   15152 amigaos*)
   15153   library_names_spec='$libname.ixlibrary $libname.a'
   15154   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15155   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'
   15156   ;;
   15157 
   15158 beos*)
   15159   library_names_spec='${libname}${shared_ext}'
   15160   dynamic_linker="$host_os ld.so"
   15161   shlibpath_var=LIBRARY_PATH
   15162   ;;
   15163 
   15164 bsdi[45]*)
   15165   version_type=linux
   15166   need_version=no
   15167   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15168   soname_spec='${libname}${release}${shared_ext}$major'
   15169   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15170   shlibpath_var=LD_LIBRARY_PATH
   15171   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15172   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15173   # the default ld.so.conf also contains /usr/contrib/lib and
   15174   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15175   # libtool to hard-code these into programs
   15176   ;;
   15177 
   15178 cygwin* | mingw* | pw32*)
   15179   version_type=windows
   15180   shrext_cmds=".dll"
   15181   need_version=no
   15182   need_lib_prefix=no
   15183 
   15184   case $GCC,$host_os in
   15185   yes,cygwin* | yes,mingw* | yes,pw32*)
   15186     library_names_spec='$libname.dll.a'
   15187     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15188     postinstall_cmds='base_file=`basename \${file}`~
   15189       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15190       dldir=$destdir/`dirname \$dlpath`~
   15191       test -d \$dldir || mkdir -p \$dldir~
   15192       $install_prog $dir/$dlname \$dldir/$dlname~
   15193       chmod a+x \$dldir/$dlname'
   15194     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15195       dlpath=$dir/\$dldll~
   15196        $rm \$dlpath'
   15197     shlibpath_overrides_runpath=yes
   15198 
   15199     case $host_os in
   15200     cygwin*)
   15201       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15202       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15203       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15204       ;;
   15205     mingw*)
   15206       # MinGW DLLs use traditional 'lib' prefix
   15207       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15208       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15209       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15210         # It is most probably a Windows format PATH printed by
   15211         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15212         # path with ; separators, and with drive letters. We can handle the
   15213         # drive letters (cygwin fileutils understands them), so leave them,
   15214         # especially as we might pass files found there to a mingw objdump,
   15215         # which wouldn't understand a cygwinified path. Ahh.
   15216         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15217       else
   15218         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15219       fi
   15220       ;;
   15221     pw32*)
   15222       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15223       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15224       ;;
   15225     esac
   15226     ;;
   15227 
   15228   *)
   15229     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15230     ;;
   15231   esac
   15232   dynamic_linker='Win32 ld.exe'
   15233   # FIXME: first we should search . and the directory the executable is in
   15234   shlibpath_var=PATH
   15235   ;;
   15236 
   15237 darwin* | rhapsody*)
   15238   dynamic_linker="$host_os dyld"
   15239   version_type=darwin
   15240   need_lib_prefix=no
   15241   need_version=no
   15242   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15243   soname_spec='${libname}${release}${major}$shared_ext'
   15244   shlibpath_overrides_runpath=yes
   15245   shlibpath_var=DYLD_LIBRARY_PATH
   15246   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15247   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15248   if test "$GCC" = yes; then
   15249     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"`
   15250   else
   15251     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15252   fi
   15253   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15254   ;;
   15255 
   15256 dgux*)
   15257   version_type=linux
   15258   need_lib_prefix=no
   15259   need_version=no
   15260   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15261   soname_spec='${libname}${release}${shared_ext}$major'
   15262   shlibpath_var=LD_LIBRARY_PATH
   15263   ;;
   15264 
   15265 freebsd1*)
   15266   dynamic_linker=no
   15267   ;;
   15268 
   15269 kfreebsd*-gnu)
   15270   version_type=linux
   15271   need_lib_prefix=no
   15272   need_version=no
   15273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15274   soname_spec='${libname}${release}${shared_ext}$major'
   15275   shlibpath_var=LD_LIBRARY_PATH
   15276   shlibpath_overrides_runpath=no
   15277   hardcode_into_libs=yes
   15278   dynamic_linker='GNU ld.so'
   15279   ;;
   15280 
   15281 freebsd* | dragonfly*)
   15282   # DragonFly does not have aout.  When/if they implement a new
   15283   # versioning mechanism, adjust this.
   15284   if test -x /usr/bin/objformat; then
   15285     objformat=`/usr/bin/objformat`
   15286   else
   15287     case $host_os in
   15288     freebsd[123]*) objformat=aout ;;
   15289     *) objformat=elf ;;
   15290     esac
   15291   fi
   15292   version_type=freebsd-$objformat
   15293   case $version_type in
   15294     freebsd-elf*)
   15295       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15296       need_version=no
   15297       need_lib_prefix=no
   15298       ;;
   15299     freebsd-*)
   15300       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15301       need_version=yes
   15302       ;;
   15303   esac
   15304   shlibpath_var=LD_LIBRARY_PATH
   15305   case $host_os in
   15306   freebsd2*)
   15307     shlibpath_overrides_runpath=yes
   15308     ;;
   15309   freebsd3.[01]* | freebsdelf3.[01]*)
   15310     shlibpath_overrides_runpath=yes
   15311     hardcode_into_libs=yes
   15312     ;;
   15313   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15314   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15315     shlibpath_overrides_runpath=no
   15316     hardcode_into_libs=yes
   15317     ;;
   15318   freebsd*) # from 4.6 on
   15319     shlibpath_overrides_runpath=yes
   15320     hardcode_into_libs=yes
   15321     ;;
   15322   esac
   15323   ;;
   15324 
   15325 gnu*)
   15326   version_type=linux
   15327   need_lib_prefix=no
   15328   need_version=no
   15329   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15330   soname_spec='${libname}${release}${shared_ext}$major'
   15331   shlibpath_var=LD_LIBRARY_PATH
   15332   hardcode_into_libs=yes
   15333   ;;
   15334 
   15335 hpux9* | hpux10* | hpux11*)
   15336   # Give a soname corresponding to the major version so that dld.sl refuses to
   15337   # link against other versions.
   15338   version_type=sunos
   15339   need_lib_prefix=no
   15340   need_version=no
   15341   case $host_cpu in
   15342   ia64*)
   15343     shrext_cmds='.so'
   15344     hardcode_into_libs=yes
   15345     dynamic_linker="$host_os dld.so"
   15346     shlibpath_var=LD_LIBRARY_PATH
   15347     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15348     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15349     soname_spec='${libname}${release}${shared_ext}$major'
   15350     if test "X$HPUX_IA64_MODE" = X32; then
   15351       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15352     else
   15353       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15354     fi
   15355     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15356     ;;
   15357    hppa*64*)
   15358      shrext_cmds='.sl'
   15359      hardcode_into_libs=yes
   15360      dynamic_linker="$host_os dld.sl"
   15361      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15362      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15363      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15364      soname_spec='${libname}${release}${shared_ext}$major'
   15365      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15366      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15367      ;;
   15368    *)
   15369     shrext_cmds='.sl'
   15370     dynamic_linker="$host_os dld.sl"
   15371     shlibpath_var=SHLIB_PATH
   15372     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   15376   esac
   15377   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15378   postinstall_cmds='chmod 555 $lib'
   15379   ;;
   15380 
   15381 interix3*)
   15382   version_type=linux
   15383   need_lib_prefix=no
   15384   need_version=no
   15385   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15386   soname_spec='${libname}${release}${shared_ext}$major'
   15387   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15388   shlibpath_var=LD_LIBRARY_PATH
   15389   shlibpath_overrides_runpath=no
   15390   hardcode_into_libs=yes
   15391   ;;
   15392 
   15393 irix5* | irix6* | nonstopux*)
   15394   case $host_os in
   15395     nonstopux*) version_type=nonstopux ;;
   15396     *)
   15397 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15398 		version_type=linux
   15399 	else
   15400 		version_type=irix
   15401 	fi ;;
   15402   esac
   15403   need_lib_prefix=no
   15404   need_version=no
   15405   soname_spec='${libname}${release}${shared_ext}$major'
   15406   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15407   case $host_os in
   15408   irix5* | nonstopux*)
   15409     libsuff= shlibsuff=
   15410     ;;
   15411   *)
   15412     case $LD in # libtool.m4 will add one of these switches to LD
   15413     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15414       libsuff= shlibsuff= libmagic=32-bit;;
   15415     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15416       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15417     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15418       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15419     *) libsuff= shlibsuff= libmagic=never-match;;
   15420     esac
   15421     ;;
   15422   esac
   15423   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15424   shlibpath_overrides_runpath=no
   15425   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15426   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15427   hardcode_into_libs=yes
   15428   ;;
   15429 
   15430 # No shared lib support for Linux oldld, aout, or coff.
   15431 linux*oldld* | linux*aout* | linux*coff*)
   15432   dynamic_linker=no
   15433   ;;
   15434 
   15435 # This must be Linux ELF.
   15436 linux*)
   15437   version_type=linux
   15438   need_lib_prefix=no
   15439   need_version=no
   15440   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15441   soname_spec='${libname}${release}${shared_ext}$major'
   15442   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15443   shlibpath_var=LD_LIBRARY_PATH
   15444   shlibpath_overrides_runpath=no
   15445   # This implies no fast_install, which is unacceptable.
   15446   # Some rework will be needed to allow for fast_install
   15447   # before this can be enabled.
   15448   hardcode_into_libs=yes
   15449 
   15450   # Append ld.so.conf contents to the search path
   15451   if test -f /etc/ld.so.conf; then
   15452     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' ' '`
   15453     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15454   fi
   15455 
   15456   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15457   # powerpc, because MkLinux only supported shared libraries with the
   15458   # GNU dynamic linker.  Since this was broken with cross compilers,
   15459   # most powerpc-linux boxes support dynamic linking these days and
   15460   # people can always --disable-shared, the test was removed, and we
   15461   # assume the GNU/Linux dynamic linker is in use.
   15462   dynamic_linker='GNU/Linux ld.so'
   15463   ;;
   15464 
   15465 knetbsd*-gnu)
   15466   version_type=linux
   15467   need_lib_prefix=no
   15468   need_version=no
   15469   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15470   soname_spec='${libname}${release}${shared_ext}$major'
   15471   shlibpath_var=LD_LIBRARY_PATH
   15472   shlibpath_overrides_runpath=no
   15473   hardcode_into_libs=yes
   15474   dynamic_linker='GNU ld.so'
   15475   ;;
   15476 
   15477 netbsd*)
   15478   version_type=sunos
   15479   need_lib_prefix=no
   15480   need_version=no
   15481   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15482     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15483     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15484     dynamic_linker='NetBSD (a.out) ld.so'
   15485   else
   15486     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15487     soname_spec='${libname}${release}${shared_ext}$major'
   15488     dynamic_linker='NetBSD ld.elf_so'
   15489   fi
   15490   shlibpath_var=LD_LIBRARY_PATH
   15491   shlibpath_overrides_runpath=yes
   15492   hardcode_into_libs=yes
   15493   ;;
   15494 
   15495 newsos6)
   15496   version_type=linux
   15497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15498   shlibpath_var=LD_LIBRARY_PATH
   15499   shlibpath_overrides_runpath=yes
   15500   ;;
   15501 
   15502 nto-qnx*)
   15503   version_type=linux
   15504   need_lib_prefix=no
   15505   need_version=no
   15506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15507   soname_spec='${libname}${release}${shared_ext}$major'
   15508   shlibpath_var=LD_LIBRARY_PATH
   15509   shlibpath_overrides_runpath=yes
   15510   ;;
   15511 
   15512 openbsd*)
   15513   version_type=sunos
   15514   sys_lib_dlsearch_path_spec="/usr/lib"
   15515   need_lib_prefix=no
   15516   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15517   case $host_os in
   15518     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15519     *)                         need_version=no  ;;
   15520   esac
   15521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15522   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15523   shlibpath_var=LD_LIBRARY_PATH
   15524   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15525     case $host_os in
   15526       openbsd2.[89] | openbsd2.[89].*)
   15527 	shlibpath_overrides_runpath=no
   15528 	;;
   15529       *)
   15530 	shlibpath_overrides_runpath=yes
   15531 	;;
   15532       esac
   15533   else
   15534     shlibpath_overrides_runpath=yes
   15535   fi
   15536   ;;
   15537 
   15538 os2*)
   15539   libname_spec='$name'
   15540   shrext_cmds=".dll"
   15541   need_lib_prefix=no
   15542   library_names_spec='$libname${shared_ext} $libname.a'
   15543   dynamic_linker='OS/2 ld.exe'
   15544   shlibpath_var=LIBPATH
   15545   ;;
   15546 
   15547 osf3* | osf4* | osf5*)
   15548   version_type=osf
   15549   need_lib_prefix=no
   15550   need_version=no
   15551   soname_spec='${libname}${release}${shared_ext}$major'
   15552   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15553   shlibpath_var=LD_LIBRARY_PATH
   15554   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15555   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15556   ;;
   15557 
   15558 solaris*)
   15559   version_type=linux
   15560   need_lib_prefix=no
   15561   need_version=no
   15562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15563   soname_spec='${libname}${release}${shared_ext}$major'
   15564   shlibpath_var=LD_LIBRARY_PATH
   15565   shlibpath_overrides_runpath=yes
   15566   hardcode_into_libs=yes
   15567   # ldd complains unless libraries are executable
   15568   postinstall_cmds='chmod +x $lib'
   15569   ;;
   15570 
   15571 sunos4*)
   15572   version_type=sunos
   15573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15574   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15575   shlibpath_var=LD_LIBRARY_PATH
   15576   shlibpath_overrides_runpath=yes
   15577   if test "$with_gnu_ld" = yes; then
   15578     need_lib_prefix=no
   15579   fi
   15580   need_version=yes
   15581   ;;
   15582 
   15583 sysv4 | sysv4.3*)
   15584   version_type=linux
   15585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15586   soname_spec='${libname}${release}${shared_ext}$major'
   15587   shlibpath_var=LD_LIBRARY_PATH
   15588   case $host_vendor in
   15589     sni)
   15590       shlibpath_overrides_runpath=no
   15591       need_lib_prefix=no
   15592       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15593       runpath_var=LD_RUN_PATH
   15594       ;;
   15595     siemens)
   15596       need_lib_prefix=no
   15597       ;;
   15598     motorola)
   15599       need_lib_prefix=no
   15600       need_version=no
   15601       shlibpath_overrides_runpath=no
   15602       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15603       ;;
   15604   esac
   15605   ;;
   15606 
   15607 sysv4*MP*)
   15608   if test -d /usr/nec ;then
   15609     version_type=linux
   15610     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15611     soname_spec='$libname${shared_ext}.$major'
   15612     shlibpath_var=LD_LIBRARY_PATH
   15613   fi
   15614   ;;
   15615 
   15616 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15617   version_type=freebsd-elf
   15618   need_lib_prefix=no
   15619   need_version=no
   15620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15621   soname_spec='${libname}${release}${shared_ext}$major'
   15622   shlibpath_var=LD_LIBRARY_PATH
   15623   hardcode_into_libs=yes
   15624   if test "$with_gnu_ld" = yes; then
   15625     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15626     shlibpath_overrides_runpath=no
   15627   else
   15628     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15629     shlibpath_overrides_runpath=yes
   15630     case $host_os in
   15631       sco3.2v5*)
   15632         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15633 	;;
   15634     esac
   15635   fi
   15636   sys_lib_dlsearch_path_spec='/usr/lib'
   15637   ;;
   15638 
   15639 uts4*)
   15640   version_type=linux
   15641   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15642   soname_spec='${libname}${release}${shared_ext}$major'
   15643   shlibpath_var=LD_LIBRARY_PATH
   15644   ;;
   15645 
   15646 *)
   15647   dynamic_linker=no
   15648   ;;
   15649 esac
   15650 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15651 echo "${ECHO_T}$dynamic_linker" >&6; }
   15652 test "$dynamic_linker" = no && can_build_shared=no
   15653 
   15654 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15655 if test "$GCC" = yes; then
   15656   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15657 fi
   15658 
   15659 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15660 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15661 hardcode_action_F77=
   15662 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15663    test -n "$runpath_var_F77" || \
   15664    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15665 
   15666   # We can hardcode non-existant directories.
   15667   if test "$hardcode_direct_F77" != no &&
   15668      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15669      # have to relink, otherwise we might link with an installed library
   15670      # when we should be linking with a yet-to-be-installed one
   15671      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15672      test "$hardcode_minus_L_F77" != no; then
   15673     # Linking always hardcodes the temporary library directory.
   15674     hardcode_action_F77=relink
   15675   else
   15676     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15677     hardcode_action_F77=immediate
   15678   fi
   15679 else
   15680   # We cannot hardcode anything, or else we can only hardcode existing
   15681   # directories.
   15682   hardcode_action_F77=unsupported
   15683 fi
   15684 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15685 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15686 
   15687 if test "$hardcode_action_F77" = relink; then
   15688   # Fast installation is not supported
   15689   enable_fast_install=no
   15690 elif test "$shlibpath_overrides_runpath" = yes ||
   15691      test "$enable_shared" = no; then
   15692   # Fast installation is not necessary
   15693   enable_fast_install=needless
   15694 fi
   15695 
   15696 
   15697 # The else clause should only fire when bootstrapping the
   15698 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15699 # with your package, and you will get complaints that there are
   15700 # no rules to generate ltmain.sh.
   15701 if test -f "$ltmain"; then
   15702   # See if we are running on zsh, and set the options which allow our commands through
   15703   # without removal of \ escapes.
   15704   if test -n "${ZSH_VERSION+set}" ; then
   15705     setopt NO_GLOB_SUBST
   15706   fi
   15707   # Now quote all the things that may contain metacharacters while being
   15708   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15709   # variables and quote the copies for generation of the libtool script.
   15710   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15711     SED SHELL STRIP \
   15712     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15713     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15714     deplibs_check_method reload_flag reload_cmds need_locks \
   15715     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15716     lt_cv_sys_global_symbol_to_c_name_address \
   15717     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15718     old_postinstall_cmds old_postuninstall_cmds \
   15719     compiler_F77 \
   15720     CC_F77 \
   15721     LD_F77 \
   15722     lt_prog_compiler_wl_F77 \
   15723     lt_prog_compiler_pic_F77 \
   15724     lt_prog_compiler_static_F77 \
   15725     lt_prog_compiler_no_builtin_flag_F77 \
   15726     export_dynamic_flag_spec_F77 \
   15727     thread_safe_flag_spec_F77 \
   15728     whole_archive_flag_spec_F77 \
   15729     enable_shared_with_static_runtimes_F77 \
   15730     old_archive_cmds_F77 \
   15731     old_archive_from_new_cmds_F77 \
   15732     predep_objects_F77 \
   15733     postdep_objects_F77 \
   15734     predeps_F77 \
   15735     postdeps_F77 \
   15736     compiler_lib_search_path_F77 \
   15737     archive_cmds_F77 \
   15738     archive_expsym_cmds_F77 \
   15739     postinstall_cmds_F77 \
   15740     postuninstall_cmds_F77 \
   15741     old_archive_from_expsyms_cmds_F77 \
   15742     allow_undefined_flag_F77 \
   15743     no_undefined_flag_F77 \
   15744     export_symbols_cmds_F77 \
   15745     hardcode_libdir_flag_spec_F77 \
   15746     hardcode_libdir_flag_spec_ld_F77 \
   15747     hardcode_libdir_separator_F77 \
   15748     hardcode_automatic_F77 \
   15749     module_cmds_F77 \
   15750     module_expsym_cmds_F77 \
   15751     lt_cv_prog_compiler_c_o_F77 \
   15752     exclude_expsyms_F77 \
   15753     include_expsyms_F77; do
   15754 
   15755     case $var in
   15756     old_archive_cmds_F77 | \
   15757     old_archive_from_new_cmds_F77 | \
   15758     archive_cmds_F77 | \
   15759     archive_expsym_cmds_F77 | \
   15760     module_cmds_F77 | \
   15761     module_expsym_cmds_F77 | \
   15762     old_archive_from_expsyms_cmds_F77 | \
   15763     export_symbols_cmds_F77 | \
   15764     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15765     postinstall_cmds | postuninstall_cmds | \
   15766     old_postinstall_cmds | old_postuninstall_cmds | \
   15767     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15768       # Double-quote double-evaled strings.
   15769       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15770       ;;
   15771     *)
   15772       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15773       ;;
   15774     esac
   15775   done
   15776 
   15777   case $lt_echo in
   15778   *'\$0 --fallback-echo"')
   15779     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15780     ;;
   15781   esac
   15782 
   15783 cfgfile="$ofile"
   15784 
   15785   cat <<__EOF__ >> "$cfgfile"
   15786 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15787 
   15788 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15789 
   15790 # Shell to use when invoking shell scripts.
   15791 SHELL=$lt_SHELL
   15792 
   15793 # Whether or not to build shared libraries.
   15794 build_libtool_libs=$enable_shared
   15795 
   15796 # Whether or not to build static libraries.
   15797 build_old_libs=$enable_static
   15798 
   15799 # Whether or not to add -lc for building shared libraries.
   15800 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15801 
   15802 # Whether or not to disallow shared libs when runtime libs are static
   15803 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15804 
   15805 # Whether or not to optimize for fast installation.
   15806 fast_install=$enable_fast_install
   15807 
   15808 # The host system.
   15809 host_alias=$host_alias
   15810 host=$host
   15811 host_os=$host_os
   15812 
   15813 # The build system.
   15814 build_alias=$build_alias
   15815 build=$build
   15816 build_os=$build_os
   15817 
   15818 # An echo program that does not interpret backslashes.
   15819 echo=$lt_echo
   15820 
   15821 # The archiver.
   15822 AR=$lt_AR
   15823 AR_FLAGS=$lt_AR_FLAGS
   15824 
   15825 # A C compiler.
   15826 LTCC=$lt_LTCC
   15827 
   15828 # LTCC compiler flags.
   15829 LTCFLAGS=$lt_LTCFLAGS
   15830 
   15831 # A language-specific compiler.
   15832 CC=$lt_compiler_F77
   15833 
   15834 # Is the compiler the GNU C compiler?
   15835 with_gcc=$GCC_F77
   15836 
   15837 # An ERE matcher.
   15838 EGREP=$lt_EGREP
   15839 
   15840 # The linker used to build libraries.
   15841 LD=$lt_LD_F77
   15842 
   15843 # Whether we need hard or soft links.
   15844 LN_S=$lt_LN_S
   15845 
   15846 # A BSD-compatible nm program.
   15847 NM=$lt_NM
   15848 
   15849 # A symbol stripping program
   15850 STRIP=$lt_STRIP
   15851 
   15852 # Used to examine libraries when file_magic_cmd begins "file"
   15853 MAGIC_CMD=$MAGIC_CMD
   15854 
   15855 # Used on cygwin: DLL creation program.
   15856 DLLTOOL="$DLLTOOL"
   15857 
   15858 # Used on cygwin: object dumper.
   15859 OBJDUMP="$OBJDUMP"
   15860 
   15861 # Used on cygwin: assembler.
   15862 AS="$AS"
   15863 
   15864 # The name of the directory that contains temporary libtool files.
   15865 objdir=$objdir
   15866 
   15867 # How to create reloadable object files.
   15868 reload_flag=$lt_reload_flag
   15869 reload_cmds=$lt_reload_cmds
   15870 
   15871 # How to pass a linker flag through the compiler.
   15872 wl=$lt_lt_prog_compiler_wl_F77
   15873 
   15874 # Object file suffix (normally "o").
   15875 objext="$ac_objext"
   15876 
   15877 # Old archive suffix (normally "a").
   15878 libext="$libext"
   15879 
   15880 # Shared library suffix (normally ".so").
   15881 shrext_cmds='$shrext_cmds'
   15882 
   15883 # Executable file suffix (normally "").
   15884 exeext="$exeext"
   15885 
   15886 # Additional compiler flags for building library objects.
   15887 pic_flag=$lt_lt_prog_compiler_pic_F77
   15888 pic_mode=$pic_mode
   15889 
   15890 # What is the maximum length of a command?
   15891 max_cmd_len=$lt_cv_sys_max_cmd_len
   15892 
   15893 # Does compiler simultaneously support -c and -o options?
   15894 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15895 
   15896 # Must we lock files when doing compilation?
   15897 need_locks=$lt_need_locks
   15898 
   15899 # Do we need the lib prefix for modules?
   15900 need_lib_prefix=$need_lib_prefix
   15901 
   15902 # Do we need a version for libraries?
   15903 need_version=$need_version
   15904 
   15905 # Whether dlopen is supported.
   15906 dlopen_support=$enable_dlopen
   15907 
   15908 # Whether dlopen of programs is supported.
   15909 dlopen_self=$enable_dlopen_self
   15910 
   15911 # Whether dlopen of statically linked programs is supported.
   15912 dlopen_self_static=$enable_dlopen_self_static
   15913 
   15914 # Compiler flag to prevent dynamic linking.
   15915 link_static_flag=$lt_lt_prog_compiler_static_F77
   15916 
   15917 # Compiler flag to turn off builtin functions.
   15918 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15919 
   15920 # Compiler flag to allow reflexive dlopens.
   15921 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15922 
   15923 # Compiler flag to generate shared objects directly from archives.
   15924 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15925 
   15926 # Compiler flag to generate thread-safe objects.
   15927 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15928 
   15929 # Library versioning type.
   15930 version_type=$version_type
   15931 
   15932 # Format of library name prefix.
   15933 libname_spec=$lt_libname_spec
   15934 
   15935 # List of archive names.  First name is the real one, the rest are links.
   15936 # The last name is the one that the linker finds with -lNAME.
   15937 library_names_spec=$lt_library_names_spec
   15938 
   15939 # The coded name of the library, if different from the real name.
   15940 soname_spec=$lt_soname_spec
   15941 
   15942 # Commands used to build and install an old-style archive.
   15943 RANLIB=$lt_RANLIB
   15944 old_archive_cmds=$lt_old_archive_cmds_F77
   15945 old_postinstall_cmds=$lt_old_postinstall_cmds
   15946 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15947 
   15948 # Create an old-style archive from a shared archive.
   15949 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15950 
   15951 # Create a temporary old-style archive to link instead of a shared archive.
   15952 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15953 
   15954 # Commands used to build and install a shared archive.
   15955 archive_cmds=$lt_archive_cmds_F77
   15956 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15957 postinstall_cmds=$lt_postinstall_cmds
   15958 postuninstall_cmds=$lt_postuninstall_cmds
   15959 
   15960 # Commands used to build a loadable module (assumed same as above if empty)
   15961 module_cmds=$lt_module_cmds_F77
   15962 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15963 
   15964 # Commands to strip libraries.
   15965 old_striplib=$lt_old_striplib
   15966 striplib=$lt_striplib
   15967 
   15968 # Dependencies to place before the objects being linked to create a
   15969 # shared library.
   15970 predep_objects=$lt_predep_objects_F77
   15971 
   15972 # Dependencies to place after the objects being linked to create a
   15973 # shared library.
   15974 postdep_objects=$lt_postdep_objects_F77
   15975 
   15976 # Dependencies to place before the objects being linked to create a
   15977 # shared library.
   15978 predeps=$lt_predeps_F77
   15979 
   15980 # Dependencies to place after the objects being linked to create a
   15981 # shared library.
   15982 postdeps=$lt_postdeps_F77
   15983 
   15984 # The library search path used internally by the compiler when linking
   15985 # a shared library.
   15986 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   15987 
   15988 # Method to check whether dependent libraries are shared objects.
   15989 deplibs_check_method=$lt_deplibs_check_method
   15990 
   15991 # Command to use when deplibs_check_method == file_magic.
   15992 file_magic_cmd=$lt_file_magic_cmd
   15993 
   15994 # Flag that allows shared libraries with undefined symbols to be built.
   15995 allow_undefined_flag=$lt_allow_undefined_flag_F77
   15996 
   15997 # Flag that forces no undefined symbols.
   15998 no_undefined_flag=$lt_no_undefined_flag_F77
   15999 
   16000 # Commands used to finish a libtool library installation in a directory.
   16001 finish_cmds=$lt_finish_cmds
   16002 
   16003 # Same as above, but a single script fragment to be evaled but not shown.
   16004 finish_eval=$lt_finish_eval
   16005 
   16006 # Take the output of nm and produce a listing of raw symbols and C names.
   16007 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16008 
   16009 # Transform the output of nm in a proper C declaration
   16010 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16011 
   16012 # Transform the output of nm in a C name address pair
   16013 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16014 
   16015 # This is the shared library runtime path variable.
   16016 runpath_var=$runpath_var
   16017 
   16018 # This is the shared library path variable.
   16019 shlibpath_var=$shlibpath_var
   16020 
   16021 # Is shlibpath searched before the hard-coded library search path?
   16022 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16023 
   16024 # How to hardcode a shared library path into an executable.
   16025 hardcode_action=$hardcode_action_F77
   16026 
   16027 # Whether we should hardcode library paths into libraries.
   16028 hardcode_into_libs=$hardcode_into_libs
   16029 
   16030 # Flag to hardcode \$libdir into a binary during linking.
   16031 # This must work even if \$libdir does not exist.
   16032 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16033 
   16034 # If ld is used when linking, flag to hardcode \$libdir into
   16035 # a binary during linking. This must work even if \$libdir does
   16036 # not exist.
   16037 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16038 
   16039 # Whether we need a single -rpath flag with a separated argument.
   16040 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16041 
   16042 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16043 # resulting binary.
   16044 hardcode_direct=$hardcode_direct_F77
   16045 
   16046 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16047 # resulting binary.
   16048 hardcode_minus_L=$hardcode_minus_L_F77
   16049 
   16050 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16051 # the resulting binary.
   16052 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16053 
   16054 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16055 # and all subsequent libraries and executables linked against it.
   16056 hardcode_automatic=$hardcode_automatic_F77
   16057 
   16058 # Variables whose values should be saved in libtool wrapper scripts and
   16059 # restored at relink time.
   16060 variables_saved_for_relink="$variables_saved_for_relink"
   16061 
   16062 # Whether libtool must link a program against all its dependency libraries.
   16063 link_all_deplibs=$link_all_deplibs_F77
   16064 
   16065 # Compile-time system search path for libraries
   16066 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16067 
   16068 # Run-time system search path for libraries
   16069 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16070 
   16071 # Fix the shell variable \$srcfile for the compiler.
   16072 fix_srcfile_path="$fix_srcfile_path_F77"
   16073 
   16074 # Set to yes if exported symbols are required.
   16075 always_export_symbols=$always_export_symbols_F77
   16076 
   16077 # The commands to list exported symbols.
   16078 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16079 
   16080 # The commands to extract the exported symbol list from a shared archive.
   16081 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16082 
   16083 # Symbols that should not be listed in the preloaded symbols.
   16084 exclude_expsyms=$lt_exclude_expsyms_F77
   16085 
   16086 # Symbols that must always be exported.
   16087 include_expsyms=$lt_include_expsyms_F77
   16088 
   16089 # ### END LIBTOOL TAG CONFIG: $tagname
   16090 
   16091 __EOF__
   16092 
   16093 
   16094 else
   16095   # If there is no Makefile yet, we rely on a make rule to execute
   16096   # `config.status --recheck' to rerun these tests and create the
   16097   # libtool script then.
   16098   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16099   if test -f "$ltmain_in"; then
   16100     test -f Makefile && make "$ltmain"
   16101   fi
   16102 fi
   16103 
   16104 
   16105 ac_ext=c
   16106 ac_cpp='$CPP $CPPFLAGS'
   16107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16110 
   16111 CC="$lt_save_CC"
   16112 
   16113 	else
   16114 	  tagname=""
   16115 	fi
   16116 	;;
   16117 
   16118       GCJ)
   16119 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16120 
   16121 
   16122 # Source file extension for Java test sources.
   16123 ac_ext=java
   16124 
   16125 # Object file extension for compiled Java test sources.
   16126 objext=o
   16127 objext_GCJ=$objext
   16128 
   16129 # Code to be used in simple compile tests
   16130 lt_simple_compile_test_code="class foo {}\n"
   16131 
   16132 # Code to be used in simple link tests
   16133 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16134 
   16135 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16136 
   16137 # If no C compiler was specified, use CC.
   16138 LTCC=${LTCC-"$CC"}
   16139 
   16140 # If no C compiler flags were specified, use CFLAGS.
   16141 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16142 
   16143 # Allow CC to be a program name with arguments.
   16144 compiler=$CC
   16145 
   16146 
   16147 # save warnings/boilerplate of simple test code
   16148 ac_outfile=conftest.$ac_objext
   16149 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16150 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16151 _lt_compiler_boilerplate=`cat conftest.err`
   16152 $rm conftest*
   16153 
   16154 ac_outfile=conftest.$ac_objext
   16155 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16156 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16157 _lt_linker_boilerplate=`cat conftest.err`
   16158 $rm conftest*
   16159 
   16160 
   16161 # Allow CC to be a program name with arguments.
   16162 lt_save_CC="$CC"
   16163 CC=${GCJ-"gcj"}
   16164 compiler=$CC
   16165 compiler_GCJ=$CC
   16166 for cc_temp in $compiler""; do
   16167   case $cc_temp in
   16168     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16169     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16170     \-*) ;;
   16171     *) break;;
   16172   esac
   16173 done
   16174 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16175 
   16176 
   16177 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16178 archive_cmds_need_lc_GCJ=no
   16179 
   16180 old_archive_cmds_GCJ=$old_archive_cmds
   16181 
   16182 
   16183 lt_prog_compiler_no_builtin_flag_GCJ=
   16184 
   16185 if test "$GCC" = yes; then
   16186   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16187 
   16188 
   16189 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16190 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16191 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16192   echo $ECHO_N "(cached) $ECHO_C" >&6
   16193 else
   16194   lt_cv_prog_compiler_rtti_exceptions=no
   16195   ac_outfile=conftest.$ac_objext
   16196    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16197    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16198    # Insert the option either (1) after the last *FLAGS variable, or
   16199    # (2) before a word containing "conftest.", or (3) at the end.
   16200    # Note that $ac_compile itself does not contain backslashes and begins
   16201    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16202    # The option is referenced via a variable to avoid confusing sed.
   16203    lt_compile=`echo "$ac_compile" | $SED \
   16204    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16205    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16206    -e 's:$: $lt_compiler_flag:'`
   16207    (eval echo "\"\$as_me:16207: $lt_compile\"" >&5)
   16208    (eval "$lt_compile" 2>conftest.err)
   16209    ac_status=$?
   16210    cat conftest.err >&5
   16211    echo "$as_me:16211: \$? = $ac_status" >&5
   16212    if (exit $ac_status) && test -s "$ac_outfile"; then
   16213      # The compiler can only warn and ignore the option if not recognized
   16214      # So say no if there are warnings other than the usual output.
   16215      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16216      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16217      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16218        lt_cv_prog_compiler_rtti_exceptions=yes
   16219      fi
   16220    fi
   16221    $rm conftest*
   16222 
   16223 fi
   16224 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16225 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16226 
   16227 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16228     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16229 else
   16230     :
   16231 fi
   16232 
   16233 fi
   16234 
   16235 lt_prog_compiler_wl_GCJ=
   16236 lt_prog_compiler_pic_GCJ=
   16237 lt_prog_compiler_static_GCJ=
   16238 
   16239 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16240 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16241 
   16242   if test "$GCC" = yes; then
   16243     lt_prog_compiler_wl_GCJ='-Wl,'
   16244     lt_prog_compiler_static_GCJ='-static'
   16245 
   16246     case $host_os in
   16247       aix*)
   16248       # All AIX code is PIC.
   16249       if test "$host_cpu" = ia64; then
   16250 	# AIX 5 now supports IA64 processor
   16251 	lt_prog_compiler_static_GCJ='-Bstatic'
   16252       fi
   16253       ;;
   16254 
   16255     amigaos*)
   16256       # FIXME: we need at least 68020 code to build shared libraries, but
   16257       # adding the `-m68020' flag to GCC prevents building anything better,
   16258       # like `-m68040'.
   16259       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16260       ;;
   16261 
   16262     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16263       # PIC is the default for these OSes.
   16264       ;;
   16265 
   16266     mingw* | pw32* | os2*)
   16267       # This hack is so that the source file can tell whether it is being
   16268       # built for inclusion in a dll (and should export symbols for example).
   16269       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16270       ;;
   16271 
   16272     darwin* | rhapsody*)
   16273       # PIC is the default on this platform
   16274       # Common symbols not allowed in MH_DYLIB files
   16275       lt_prog_compiler_pic_GCJ='-fno-common'
   16276       ;;
   16277 
   16278     interix3*)
   16279       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16280       # Instead, we relocate shared libraries at runtime.
   16281       ;;
   16282 
   16283     msdosdjgpp*)
   16284       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16285       # on systems that don't support them.
   16286       lt_prog_compiler_can_build_shared_GCJ=no
   16287       enable_shared=no
   16288       ;;
   16289 
   16290     sysv4*MP*)
   16291       if test -d /usr/nec; then
   16292 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16293       fi
   16294       ;;
   16295 
   16296     hpux*)
   16297       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16298       # not for PA HP-UX.
   16299       case $host_cpu in
   16300       hppa*64*|ia64*)
   16301 	# +Z the default
   16302 	;;
   16303       *)
   16304 	lt_prog_compiler_pic_GCJ='-fPIC'
   16305 	;;
   16306       esac
   16307       ;;
   16308 
   16309     *)
   16310       lt_prog_compiler_pic_GCJ='-fPIC'
   16311       ;;
   16312     esac
   16313   else
   16314     # PORTME Check for flag to pass linker flags through the system compiler.
   16315     case $host_os in
   16316     aix*)
   16317       lt_prog_compiler_wl_GCJ='-Wl,'
   16318       if test "$host_cpu" = ia64; then
   16319 	# AIX 5 now supports IA64 processor
   16320 	lt_prog_compiler_static_GCJ='-Bstatic'
   16321       else
   16322 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16323       fi
   16324       ;;
   16325       darwin*)
   16326         # PIC is the default on this platform
   16327         # Common symbols not allowed in MH_DYLIB files
   16328        case $cc_basename in
   16329          xlc*)
   16330          lt_prog_compiler_pic_GCJ='-qnocommon'
   16331          lt_prog_compiler_wl_GCJ='-Wl,'
   16332          ;;
   16333        esac
   16334        ;;
   16335 
   16336     mingw* | pw32* | os2*)
   16337       # This hack is so that the source file can tell whether it is being
   16338       # built for inclusion in a dll (and should export symbols for example).
   16339       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16340       ;;
   16341 
   16342     hpux9* | hpux10* | hpux11*)
   16343       lt_prog_compiler_wl_GCJ='-Wl,'
   16344       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16345       # not for PA HP-UX.
   16346       case $host_cpu in
   16347       hppa*64*|ia64*)
   16348 	# +Z the default
   16349 	;;
   16350       *)
   16351 	lt_prog_compiler_pic_GCJ='+Z'
   16352 	;;
   16353       esac
   16354       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16355       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16356       ;;
   16357 
   16358     irix5* | irix6* | nonstopux*)
   16359       lt_prog_compiler_wl_GCJ='-Wl,'
   16360       # PIC (with -KPIC) is the default.
   16361       lt_prog_compiler_static_GCJ='-non_shared'
   16362       ;;
   16363 
   16364     newsos6)
   16365       lt_prog_compiler_pic_GCJ='-KPIC'
   16366       lt_prog_compiler_static_GCJ='-Bstatic'
   16367       ;;
   16368 
   16369     linux*)
   16370       case $cc_basename in
   16371       icc* | ecc*)
   16372 	lt_prog_compiler_wl_GCJ='-Wl,'
   16373 	lt_prog_compiler_pic_GCJ='-KPIC'
   16374 	lt_prog_compiler_static_GCJ='-static'
   16375         ;;
   16376       pgcc* | pgf77* | pgf90* | pgf95*)
   16377         # Portland Group compilers (*not* the Pentium gcc compiler,
   16378 	# which looks to be a dead project)
   16379 	lt_prog_compiler_wl_GCJ='-Wl,'
   16380 	lt_prog_compiler_pic_GCJ='-fpic'
   16381 	lt_prog_compiler_static_GCJ='-Bstatic'
   16382         ;;
   16383       ccc*)
   16384         lt_prog_compiler_wl_GCJ='-Wl,'
   16385         # All Alpha code is PIC.
   16386         lt_prog_compiler_static_GCJ='-non_shared'
   16387         ;;
   16388       esac
   16389       ;;
   16390 
   16391     osf3* | osf4* | osf5*)
   16392       lt_prog_compiler_wl_GCJ='-Wl,'
   16393       # All OSF/1 code is PIC.
   16394       lt_prog_compiler_static_GCJ='-non_shared'
   16395       ;;
   16396 
   16397     solaris*)
   16398       lt_prog_compiler_pic_GCJ='-KPIC'
   16399       lt_prog_compiler_static_GCJ='-Bstatic'
   16400       case $cc_basename in
   16401       f77* | f90* | f95*)
   16402 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16403       *)
   16404 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16405       esac
   16406       ;;
   16407 
   16408     sunos4*)
   16409       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16410       lt_prog_compiler_pic_GCJ='-PIC'
   16411       lt_prog_compiler_static_GCJ='-Bstatic'
   16412       ;;
   16413 
   16414     sysv4 | sysv4.2uw2* | sysv4.3*)
   16415       lt_prog_compiler_wl_GCJ='-Wl,'
   16416       lt_prog_compiler_pic_GCJ='-KPIC'
   16417       lt_prog_compiler_static_GCJ='-Bstatic'
   16418       ;;
   16419 
   16420     sysv4*MP*)
   16421       if test -d /usr/nec ;then
   16422 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16423 	lt_prog_compiler_static_GCJ='-Bstatic'
   16424       fi
   16425       ;;
   16426 
   16427     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16428       lt_prog_compiler_wl_GCJ='-Wl,'
   16429       lt_prog_compiler_pic_GCJ='-KPIC'
   16430       lt_prog_compiler_static_GCJ='-Bstatic'
   16431       ;;
   16432 
   16433     unicos*)
   16434       lt_prog_compiler_wl_GCJ='-Wl,'
   16435       lt_prog_compiler_can_build_shared_GCJ=no
   16436       ;;
   16437 
   16438     uts4*)
   16439       lt_prog_compiler_pic_GCJ='-pic'
   16440       lt_prog_compiler_static_GCJ='-Bstatic'
   16441       ;;
   16442 
   16443     *)
   16444       lt_prog_compiler_can_build_shared_GCJ=no
   16445       ;;
   16446     esac
   16447   fi
   16448 
   16449 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16450 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16451 
   16452 #
   16453 # Check to make sure the PIC flag actually works.
   16454 #
   16455 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16456 
   16457 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16458 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16459 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16460   echo $ECHO_N "(cached) $ECHO_C" >&6
   16461 else
   16462   lt_prog_compiler_pic_works_GCJ=no
   16463   ac_outfile=conftest.$ac_objext
   16464    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16465    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16466    # Insert the option either (1) after the last *FLAGS variable, or
   16467    # (2) before a word containing "conftest.", or (3) at the end.
   16468    # Note that $ac_compile itself does not contain backslashes and begins
   16469    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16470    # The option is referenced via a variable to avoid confusing sed.
   16471    lt_compile=`echo "$ac_compile" | $SED \
   16472    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16473    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16474    -e 's:$: $lt_compiler_flag:'`
   16475    (eval echo "\"\$as_me:16475: $lt_compile\"" >&5)
   16476    (eval "$lt_compile" 2>conftest.err)
   16477    ac_status=$?
   16478    cat conftest.err >&5
   16479    echo "$as_me:16479: \$? = $ac_status" >&5
   16480    if (exit $ac_status) && test -s "$ac_outfile"; then
   16481      # The compiler can only warn and ignore the option if not recognized
   16482      # So say no if there are warnings other than the usual output.
   16483      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16484      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16485      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16486        lt_prog_compiler_pic_works_GCJ=yes
   16487      fi
   16488    fi
   16489    $rm conftest*
   16490 
   16491 fi
   16492 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16493 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16494 
   16495 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16496     case $lt_prog_compiler_pic_GCJ in
   16497      "" | " "*) ;;
   16498      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16499      esac
   16500 else
   16501     lt_prog_compiler_pic_GCJ=
   16502      lt_prog_compiler_can_build_shared_GCJ=no
   16503 fi
   16504 
   16505 fi
   16506 case $host_os in
   16507   # For platforms which do not support PIC, -DPIC is meaningless:
   16508   *djgpp*)
   16509     lt_prog_compiler_pic_GCJ=
   16510     ;;
   16511   *)
   16512     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16513     ;;
   16514 esac
   16515 
   16516 #
   16517 # Check to make sure the static flag actually works.
   16518 #
   16519 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16520 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16521 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16522 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16523   echo $ECHO_N "(cached) $ECHO_C" >&6
   16524 else
   16525   lt_prog_compiler_static_works_GCJ=no
   16526    save_LDFLAGS="$LDFLAGS"
   16527    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16528    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16529    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16530      # The linker can only warn and ignore the option if not recognized
   16531      # So say no if there are warnings
   16532      if test -s conftest.err; then
   16533        # Append any errors to the config.log.
   16534        cat conftest.err 1>&5
   16535        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16536        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16537        if diff conftest.exp conftest.er2 >/dev/null; then
   16538          lt_prog_compiler_static_works_GCJ=yes
   16539        fi
   16540      else
   16541        lt_prog_compiler_static_works_GCJ=yes
   16542      fi
   16543    fi
   16544    $rm conftest*
   16545    LDFLAGS="$save_LDFLAGS"
   16546 
   16547 fi
   16548 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16549 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16550 
   16551 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16552     :
   16553 else
   16554     lt_prog_compiler_static_GCJ=
   16555 fi
   16556 
   16557 
   16558 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16559 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16560 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16561   echo $ECHO_N "(cached) $ECHO_C" >&6
   16562 else
   16563   lt_cv_prog_compiler_c_o_GCJ=no
   16564    $rm -r conftest 2>/dev/null
   16565    mkdir conftest
   16566    cd conftest
   16567    mkdir out
   16568    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16569 
   16570    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16571    # Insert the option either (1) after the last *FLAGS variable, or
   16572    # (2) before a word containing "conftest.", or (3) at the end.
   16573    # Note that $ac_compile itself does not contain backslashes and begins
   16574    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16575    lt_compile=`echo "$ac_compile" | $SED \
   16576    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16577    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16578    -e 's:$: $lt_compiler_flag:'`
   16579    (eval echo "\"\$as_me:16579: $lt_compile\"" >&5)
   16580    (eval "$lt_compile" 2>out/conftest.err)
   16581    ac_status=$?
   16582    cat out/conftest.err >&5
   16583    echo "$as_me:16583: \$? = $ac_status" >&5
   16584    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16585    then
   16586      # The compiler can only warn and ignore the option if not recognized
   16587      # So say no if there are warnings
   16588      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16589      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16590      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16591        lt_cv_prog_compiler_c_o_GCJ=yes
   16592      fi
   16593    fi
   16594    chmod u+w . 2>&5
   16595    $rm conftest*
   16596    # SGI C++ compiler will create directory out/ii_files/ for
   16597    # template instantiation
   16598    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16599    $rm out/* && rmdir out
   16600    cd ..
   16601    rmdir conftest
   16602    $rm conftest*
   16603 
   16604 fi
   16605 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16606 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16607 
   16608 
   16609 hard_links="nottested"
   16610 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16611   # do not overwrite the value of need_locks provided by the user
   16612   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16613 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16614   hard_links=yes
   16615   $rm conftest*
   16616   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16617   touch conftest.a
   16618   ln conftest.a conftest.b 2>&5 || hard_links=no
   16619   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16620   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16621 echo "${ECHO_T}$hard_links" >&6; }
   16622   if test "$hard_links" = no; then
   16623     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16624 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16625     need_locks=warn
   16626   fi
   16627 else
   16628   need_locks=no
   16629 fi
   16630 
   16631 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16632 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16633 
   16634   runpath_var=
   16635   allow_undefined_flag_GCJ=
   16636   enable_shared_with_static_runtimes_GCJ=no
   16637   archive_cmds_GCJ=
   16638   archive_expsym_cmds_GCJ=
   16639   old_archive_From_new_cmds_GCJ=
   16640   old_archive_from_expsyms_cmds_GCJ=
   16641   export_dynamic_flag_spec_GCJ=
   16642   whole_archive_flag_spec_GCJ=
   16643   thread_safe_flag_spec_GCJ=
   16644   hardcode_libdir_flag_spec_GCJ=
   16645   hardcode_libdir_flag_spec_ld_GCJ=
   16646   hardcode_libdir_separator_GCJ=
   16647   hardcode_direct_GCJ=no
   16648   hardcode_minus_L_GCJ=no
   16649   hardcode_shlibpath_var_GCJ=unsupported
   16650   link_all_deplibs_GCJ=unknown
   16651   hardcode_automatic_GCJ=no
   16652   module_cmds_GCJ=
   16653   module_expsym_cmds_GCJ=
   16654   always_export_symbols_GCJ=no
   16655   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16656   # include_expsyms should be a list of space-separated symbols to be *always*
   16657   # included in the symbol list
   16658   include_expsyms_GCJ=
   16659   # exclude_expsyms can be an extended regexp of symbols to exclude
   16660   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16661   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16662   # as well as any symbol that contains `d'.
   16663   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16664   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16665   # platforms (ab)use it in PIC code, but their linkers get confused if
   16666   # the symbol is explicitly referenced.  Since portable code cannot
   16667   # rely on this symbol name, it's probably fine to never include it in
   16668   # preloaded symbol tables.
   16669   extract_expsyms_cmds=
   16670   # Just being paranoid about ensuring that cc_basename is set.
   16671   for cc_temp in $compiler""; do
   16672   case $cc_temp in
   16673     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16674     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16675     \-*) ;;
   16676     *) break;;
   16677   esac
   16678 done
   16679 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16680 
   16681   case $host_os in
   16682   cygwin* | mingw* | pw32*)
   16683     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16684     # When not using gcc, we currently assume that we are using
   16685     # Microsoft Visual C++.
   16686     if test "$GCC" != yes; then
   16687       with_gnu_ld=no
   16688     fi
   16689     ;;
   16690   interix*)
   16691     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16692     with_gnu_ld=yes
   16693     ;;
   16694   openbsd*)
   16695     with_gnu_ld=no
   16696     ;;
   16697   esac
   16698 
   16699   ld_shlibs_GCJ=yes
   16700   if test "$with_gnu_ld" = yes; then
   16701     # If archive_cmds runs LD, not CC, wlarc should be empty
   16702     wlarc='${wl}'
   16703 
   16704     # Set some defaults for GNU ld with shared library support. These
   16705     # are reset later if shared libraries are not supported. Putting them
   16706     # here allows them to be overridden if necessary.
   16707     runpath_var=LD_RUN_PATH
   16708     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16709     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16710     # ancient GNU ld didn't support --whole-archive et. al.
   16711     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16712 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16713       else
   16714   	whole_archive_flag_spec_GCJ=
   16715     fi
   16716     supports_anon_versioning=no
   16717     case `$LD -v 2>/dev/null` in
   16718       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16719       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16720       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16721       *\ 2.11.*) ;; # other 2.11 versions
   16722       *) supports_anon_versioning=yes ;;
   16723     esac
   16724 
   16725     # See if GNU ld supports shared libraries.
   16726     case $host_os in
   16727     aix3* | aix4* | aix5*)
   16728       # On AIX/PPC, the GNU linker is very broken
   16729       if test "$host_cpu" != ia64; then
   16730 	ld_shlibs_GCJ=no
   16731 	cat <<EOF 1>&2
   16732 
   16733 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16734 *** to be unable to reliably create shared libraries on AIX.
   16735 *** Therefore, libtool is disabling shared libraries support.  If you
   16736 *** really care for shared libraries, you may want to modify your PATH
   16737 *** so that a non-GNU linker is found, and then restart.
   16738 
   16739 EOF
   16740       fi
   16741       ;;
   16742 
   16743     amigaos*)
   16744       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)'
   16745       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16746       hardcode_minus_L_GCJ=yes
   16747 
   16748       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16749       # that the semantics of dynamic libraries on AmigaOS, at least up
   16750       # to version 4, is to share data among multiple programs linked
   16751       # with the same dynamic library.  Since this doesn't match the
   16752       # behavior of shared libraries on other platforms, we can't use
   16753       # them.
   16754       ld_shlibs_GCJ=no
   16755       ;;
   16756 
   16757     beos*)
   16758       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16759 	allow_undefined_flag_GCJ=unsupported
   16760 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16761 	# support --undefined.  This deserves some investigation.  FIXME
   16762 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16763       else
   16764 	ld_shlibs_GCJ=no
   16765       fi
   16766       ;;
   16767 
   16768     cygwin* | mingw* | pw32*)
   16769       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16770       # as there is no search path for DLLs.
   16771       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16772       allow_undefined_flag_GCJ=unsupported
   16773       always_export_symbols_GCJ=no
   16774       enable_shared_with_static_runtimes_GCJ=yes
   16775       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16776 
   16777       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16778         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16779 	# If the export-symbols file already is a .def file (1st line
   16780 	# is EXPORTS), use it as is; otherwise, prepend...
   16781 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16782 	  cp $export_symbols $output_objdir/$soname.def;
   16783 	else
   16784 	  echo EXPORTS > $output_objdir/$soname.def;
   16785 	  cat $export_symbols >> $output_objdir/$soname.def;
   16786 	fi~
   16787 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16788       else
   16789 	ld_shlibs_GCJ=no
   16790       fi
   16791       ;;
   16792 
   16793     interix3*)
   16794       hardcode_direct_GCJ=no
   16795       hardcode_shlibpath_var_GCJ=no
   16796       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16797       export_dynamic_flag_spec_GCJ='${wl}-E'
   16798       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16799       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16800       # default) and relocated if they conflict, which is a slow very memory
   16801       # consuming and fragmenting process.  To avoid this, we pick a random,
   16802       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16803       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16804       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'
   16805       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'
   16806       ;;
   16807 
   16808     linux*)
   16809       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16810 	tmp_addflag=
   16811 	case $cc_basename,$host_cpu in
   16812 	pgcc*)				# Portland Group C compiler
   16813 	  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'
   16814 	  tmp_addflag=' $pic_flag'
   16815 	  ;;
   16816 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16817 	  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'
   16818 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16819 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16820 	  tmp_addflag=' -i_dynamic' ;;
   16821 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16822 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16823 	ifc* | ifort*)			# Intel Fortran compiler
   16824 	  tmp_addflag=' -nofor_main' ;;
   16825 	esac
   16826 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16827 
   16828 	if test $supports_anon_versioning = yes; then
   16829 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16830   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16831   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16832 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16833 	fi
   16834       else
   16835 	ld_shlibs_GCJ=no
   16836       fi
   16837       ;;
   16838 
   16839     netbsd*)
   16840       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16841 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16842 	wlarc=
   16843       else
   16844 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16845 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16846       fi
   16847       ;;
   16848 
   16849     solaris*)
   16850       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16851 	ld_shlibs_GCJ=no
   16852 	cat <<EOF 1>&2
   16853 
   16854 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16855 *** create shared libraries on Solaris systems.  Therefore, libtool
   16856 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16857 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16858 *** your PATH or compiler configuration so that the native linker is
   16859 *** used, and then restart.
   16860 
   16861 EOF
   16862       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16863 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16864 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16865       else
   16866 	ld_shlibs_GCJ=no
   16867       fi
   16868       ;;
   16869 
   16870     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16871       case `$LD -v 2>&1` in
   16872         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16873 	ld_shlibs_GCJ=no
   16874 	cat <<_LT_EOF 1>&2
   16875 
   16876 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16877 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16878 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16879 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16880 *** your PATH or compiler configuration so that the native linker is
   16881 *** used, and then restart.
   16882 
   16883 _LT_EOF
   16884 	;;
   16885 	*)
   16886 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16887 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16888 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16889 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16890 	  else
   16891 	    ld_shlibs_GCJ=no
   16892 	  fi
   16893 	;;
   16894       esac
   16895       ;;
   16896 
   16897     sunos4*)
   16898       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16899       wlarc=
   16900       hardcode_direct_GCJ=yes
   16901       hardcode_shlibpath_var_GCJ=no
   16902       ;;
   16903 
   16904     *)
   16905       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16906 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16907 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16908       else
   16909 	ld_shlibs_GCJ=no
   16910       fi
   16911       ;;
   16912     esac
   16913 
   16914     if test "$ld_shlibs_GCJ" = no; then
   16915       runpath_var=
   16916       hardcode_libdir_flag_spec_GCJ=
   16917       export_dynamic_flag_spec_GCJ=
   16918       whole_archive_flag_spec_GCJ=
   16919     fi
   16920   else
   16921     # PORTME fill in a description of your system's linker (not GNU ld)
   16922     case $host_os in
   16923     aix3*)
   16924       allow_undefined_flag_GCJ=unsupported
   16925       always_export_symbols_GCJ=yes
   16926       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'
   16927       # Note: this linker hardcodes the directories in LIBPATH if there
   16928       # are no directories specified by -L.
   16929       hardcode_minus_L_GCJ=yes
   16930       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16931 	# Neither direct hardcoding nor static linking is supported with a
   16932 	# broken collect2.
   16933 	hardcode_direct_GCJ=unsupported
   16934       fi
   16935       ;;
   16936 
   16937     aix4* | aix5*)
   16938       if test "$host_cpu" = ia64; then
   16939 	# On IA64, the linker does run time linking by default, so we don't
   16940 	# have to do anything special.
   16941 	aix_use_runtimelinking=no
   16942 	exp_sym_flag='-Bexport'
   16943 	no_entry_flag=""
   16944       else
   16945 	# If we're using GNU nm, then we don't want the "-C" option.
   16946 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16947 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16948 	  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'
   16949 	else
   16950 	  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'
   16951 	fi
   16952 	aix_use_runtimelinking=no
   16953 
   16954 	# Test if we are trying to use run time linking or normal
   16955 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16956 	# need to do runtime linking.
   16957 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16958 	  for ld_flag in $LDFLAGS; do
   16959   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16960   	    aix_use_runtimelinking=yes
   16961   	    break
   16962   	  fi
   16963 	  done
   16964 	  ;;
   16965 	esac
   16966 
   16967 	exp_sym_flag='-bexport'
   16968 	no_entry_flag='-bnoentry'
   16969       fi
   16970 
   16971       # When large executables or shared objects are built, AIX ld can
   16972       # have problems creating the table of contents.  If linking a library
   16973       # or program results in "error TOC overflow" add -mminimal-toc to
   16974       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16975       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16976 
   16977       archive_cmds_GCJ=''
   16978       hardcode_direct_GCJ=yes
   16979       hardcode_libdir_separator_GCJ=':'
   16980       link_all_deplibs_GCJ=yes
   16981 
   16982       if test "$GCC" = yes; then
   16983 	case $host_os in aix4.[012]|aix4.[012].*)
   16984 	# We only want to do this on AIX 4.2 and lower, the check
   16985 	# below for broken collect2 doesn't work under 4.3+
   16986 	  collect2name=`${CC} -print-prog-name=collect2`
   16987 	  if test -f "$collect2name" && \
   16988   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   16989 	  then
   16990   	  # We have reworked collect2
   16991   	  hardcode_direct_GCJ=yes
   16992 	  else
   16993   	  # We have old collect2
   16994   	  hardcode_direct_GCJ=unsupported
   16995   	  # It fails to find uninstalled libraries when the uninstalled
   16996   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16997   	  # to unsupported forces relinking
   16998   	  hardcode_minus_L_GCJ=yes
   16999   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17000   	  hardcode_libdir_separator_GCJ=
   17001 	  fi
   17002 	  ;;
   17003 	esac
   17004 	shared_flag='-shared'
   17005 	if test "$aix_use_runtimelinking" = yes; then
   17006 	  shared_flag="$shared_flag "'${wl}-G'
   17007 	fi
   17008       else
   17009 	# not using gcc
   17010 	if test "$host_cpu" = ia64; then
   17011   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17012   	# chokes on -Wl,-G. The following line is correct:
   17013 	  shared_flag='-G'
   17014 	else
   17015 	  if test "$aix_use_runtimelinking" = yes; then
   17016 	    shared_flag='${wl}-G'
   17017 	  else
   17018 	    shared_flag='${wl}-bM:SRE'
   17019 	  fi
   17020 	fi
   17021       fi
   17022 
   17023       # It seems that -bexpall does not export symbols beginning with
   17024       # underscore (_), so it is better to generate a list of symbols to export.
   17025       always_export_symbols_GCJ=yes
   17026       if test "$aix_use_runtimelinking" = yes; then
   17027 	# Warning - without using the other runtime loading flags (-brtl),
   17028 	# -berok will link without error, but may produce a broken library.
   17029 	allow_undefined_flag_GCJ='-berok'
   17030        # Determine the default libpath from the value encoded in an empty executable.
   17031        cat >conftest.$ac_ext <<_ACEOF
   17032 /* confdefs.h.  */
   17033 _ACEOF
   17034 cat confdefs.h >>conftest.$ac_ext
   17035 cat >>conftest.$ac_ext <<_ACEOF
   17036 /* end confdefs.h.  */
   17037 
   17038 int
   17039 main ()
   17040 {
   17041 
   17042   ;
   17043   return 0;
   17044 }
   17045 _ACEOF
   17046 rm -f conftest.$ac_objext conftest$ac_exeext
   17047 if { (ac_try="$ac_link"
   17048 case "(($ac_try" in
   17049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17050   *) ac_try_echo=$ac_try;;
   17051 esac
   17052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17053   (eval "$ac_link") 2>conftest.er1
   17054   ac_status=$?
   17055   grep -v '^ *+' conftest.er1 >conftest.err
   17056   rm -f conftest.er1
   17057   cat conftest.err >&5
   17058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17059   (exit $ac_status); } && {
   17060 	 test -z "$ac_c_werror_flag" ||
   17061 	 test ! -s conftest.err
   17062        } && test -s conftest$ac_exeext &&
   17063        $as_test_x conftest$ac_exeext; then
   17064 
   17065 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17066 }'`
   17067 # Check for a 64-bit object if we didn't find anything.
   17068 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; }
   17069 }'`; fi
   17070 else
   17071   echo "$as_me: failed program was:" >&5
   17072 sed 's/^/| /' conftest.$ac_ext >&5
   17073 
   17074 
   17075 fi
   17076 
   17077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17078       conftest$ac_exeext conftest.$ac_ext
   17079 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17080 
   17081        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17082 	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"
   17083        else
   17084 	if test "$host_cpu" = ia64; then
   17085 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17086 	  allow_undefined_flag_GCJ="-z nodefs"
   17087 	  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"
   17088 	else
   17089 	 # Determine the default libpath from the value encoded in an empty executable.
   17090 	 cat >conftest.$ac_ext <<_ACEOF
   17091 /* confdefs.h.  */
   17092 _ACEOF
   17093 cat confdefs.h >>conftest.$ac_ext
   17094 cat >>conftest.$ac_ext <<_ACEOF
   17095 /* end confdefs.h.  */
   17096 
   17097 int
   17098 main ()
   17099 {
   17100 
   17101   ;
   17102   return 0;
   17103 }
   17104 _ACEOF
   17105 rm -f conftest.$ac_objext conftest$ac_exeext
   17106 if { (ac_try="$ac_link"
   17107 case "(($ac_try" in
   17108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17109   *) ac_try_echo=$ac_try;;
   17110 esac
   17111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17112   (eval "$ac_link") 2>conftest.er1
   17113   ac_status=$?
   17114   grep -v '^ *+' conftest.er1 >conftest.err
   17115   rm -f conftest.er1
   17116   cat conftest.err >&5
   17117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17118   (exit $ac_status); } && {
   17119 	 test -z "$ac_c_werror_flag" ||
   17120 	 test ! -s conftest.err
   17121        } && test -s conftest$ac_exeext &&
   17122        $as_test_x conftest$ac_exeext; then
   17123 
   17124 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17125 }'`
   17126 # Check for a 64-bit object if we didn't find anything.
   17127 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; }
   17128 }'`; fi
   17129 else
   17130   echo "$as_me: failed program was:" >&5
   17131 sed 's/^/| /' conftest.$ac_ext >&5
   17132 
   17133 
   17134 fi
   17135 
   17136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17137       conftest$ac_exeext conftest.$ac_ext
   17138 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17139 
   17140 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17141 	  # Warning - without using the other run time loading flags,
   17142 	  # -berok will link without error, but may produce a broken library.
   17143 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17144 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17145 	  # Exported symbols can be pulled into shared objects from archives
   17146 	  whole_archive_flag_spec_GCJ='$convenience'
   17147 	  archive_cmds_need_lc_GCJ=yes
   17148 	  # This is similar to how AIX traditionally builds its shared libraries.
   17149 	  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'
   17150 	fi
   17151       fi
   17152       ;;
   17153 
   17154     amigaos*)
   17155       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)'
   17156       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17157       hardcode_minus_L_GCJ=yes
   17158       # see comment about different semantics on the GNU ld section
   17159       ld_shlibs_GCJ=no
   17160       ;;
   17161 
   17162     bsdi[45]*)
   17163       export_dynamic_flag_spec_GCJ=-rdynamic
   17164       ;;
   17165 
   17166     cygwin* | mingw* | pw32*)
   17167       # When not using gcc, we currently assume that we are using
   17168       # Microsoft Visual C++.
   17169       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17170       # no search path for DLLs.
   17171       hardcode_libdir_flag_spec_GCJ=' '
   17172       allow_undefined_flag_GCJ=unsupported
   17173       # Tell ltmain to make .lib files, not .a files.
   17174       libext=lib
   17175       # Tell ltmain to make .dll files, not .so files.
   17176       shrext_cmds=".dll"
   17177       # FIXME: Setting linknames here is a bad hack.
   17178       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17179       # The linker will automatically build a .lib file if we build a DLL.
   17180       old_archive_From_new_cmds_GCJ='true'
   17181       # FIXME: Should let the user specify the lib program.
   17182       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17183       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17184       enable_shared_with_static_runtimes_GCJ=yes
   17185       ;;
   17186 
   17187     darwin* | rhapsody*)
   17188       case $host_os in
   17189         rhapsody* | darwin1.[012])
   17190          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17191          ;;
   17192        *) # Darwin 1.3 on
   17193          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17194            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17195          else
   17196            case ${MACOSX_DEPLOYMENT_TARGET} in
   17197              10.[012])
   17198                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17199                ;;
   17200              10.*)
   17201                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17202                ;;
   17203            esac
   17204          fi
   17205          ;;
   17206       esac
   17207       archive_cmds_need_lc_GCJ=no
   17208       hardcode_direct_GCJ=no
   17209       hardcode_automatic_GCJ=yes
   17210       hardcode_shlibpath_var_GCJ=unsupported
   17211       whole_archive_flag_spec_GCJ=''
   17212       link_all_deplibs_GCJ=yes
   17213     if test "$GCC" = yes ; then
   17214     	output_verbose_link_cmd='echo'
   17215         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17216       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17217       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17218       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}'
   17219       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}'
   17220     else
   17221       case $cc_basename in
   17222         xlc*)
   17223          output_verbose_link_cmd='echo'
   17224          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17225          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17226           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17227          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}'
   17228           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}'
   17229           ;;
   17230        *)
   17231          ld_shlibs_GCJ=no
   17232           ;;
   17233       esac
   17234     fi
   17235       ;;
   17236 
   17237     dgux*)
   17238       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17239       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17240       hardcode_shlibpath_var_GCJ=no
   17241       ;;
   17242 
   17243     freebsd1*)
   17244       ld_shlibs_GCJ=no
   17245       ;;
   17246 
   17247     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17248     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17249     # does not break anything, and helps significantly (at the cost of a little
   17250     # extra space).
   17251     freebsd2.2*)
   17252       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17253       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17254       hardcode_direct_GCJ=yes
   17255       hardcode_shlibpath_var_GCJ=no
   17256       ;;
   17257 
   17258     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17259     freebsd2*)
   17260       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17261       hardcode_direct_GCJ=yes
   17262       hardcode_minus_L_GCJ=yes
   17263       hardcode_shlibpath_var_GCJ=no
   17264       ;;
   17265 
   17266     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17267     freebsd* | kfreebsd*-gnu | dragonfly*)
   17268       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17269       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17270       hardcode_direct_GCJ=yes
   17271       hardcode_shlibpath_var_GCJ=no
   17272       ;;
   17273 
   17274     hpux9*)
   17275       if test "$GCC" = yes; then
   17276 	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'
   17277       else
   17278 	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'
   17279       fi
   17280       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17281       hardcode_libdir_separator_GCJ=:
   17282       hardcode_direct_GCJ=yes
   17283 
   17284       # hardcode_minus_L: Not really in the search PATH,
   17285       # but as the default location of the library.
   17286       hardcode_minus_L_GCJ=yes
   17287       export_dynamic_flag_spec_GCJ='${wl}-E'
   17288       ;;
   17289 
   17290     hpux10*)
   17291       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17292 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17293       else
   17294 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17295       fi
   17296       if test "$with_gnu_ld" = no; then
   17297 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17298 	hardcode_libdir_separator_GCJ=:
   17299 
   17300 	hardcode_direct_GCJ=yes
   17301 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17302 
   17303 	# hardcode_minus_L: Not really in the search PATH,
   17304 	# but as the default location of the library.
   17305 	hardcode_minus_L_GCJ=yes
   17306       fi
   17307       ;;
   17308 
   17309     hpux11*)
   17310       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17311 	case $host_cpu in
   17312 	hppa*64*)
   17313 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17314 	  ;;
   17315 	ia64*)
   17316 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17317 	  ;;
   17318 	*)
   17319 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17320 	  ;;
   17321 	esac
   17322       else
   17323 	case $host_cpu in
   17324 	hppa*64*)
   17325 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17326 	  ;;
   17327 	ia64*)
   17328 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17329 	  ;;
   17330 	*)
   17331 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17332 	  ;;
   17333 	esac
   17334       fi
   17335       if test "$with_gnu_ld" = no; then
   17336 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17337 	hardcode_libdir_separator_GCJ=:
   17338 
   17339 	case $host_cpu in
   17340 	hppa*64*|ia64*)
   17341 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17342 	  hardcode_direct_GCJ=no
   17343 	  hardcode_shlibpath_var_GCJ=no
   17344 	  ;;
   17345 	*)
   17346 	  hardcode_direct_GCJ=yes
   17347 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17348 
   17349 	  # hardcode_minus_L: Not really in the search PATH,
   17350 	  # but as the default location of the library.
   17351 	  hardcode_minus_L_GCJ=yes
   17352 	  ;;
   17353 	esac
   17354       fi
   17355       ;;
   17356 
   17357     irix5* | irix6* | nonstopux*)
   17358       if test "$GCC" = yes; then
   17359 	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'
   17360       else
   17361 	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'
   17362 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17363       fi
   17364       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17365       hardcode_libdir_separator_GCJ=:
   17366       link_all_deplibs_GCJ=yes
   17367       ;;
   17368 
   17369     netbsd*)
   17370       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17371 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17372       else
   17373 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17374       fi
   17375       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17376       hardcode_direct_GCJ=yes
   17377       hardcode_shlibpath_var_GCJ=no
   17378       ;;
   17379 
   17380     newsos6)
   17381       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17382       hardcode_direct_GCJ=yes
   17383       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17384       hardcode_libdir_separator_GCJ=:
   17385       hardcode_shlibpath_var_GCJ=no
   17386       ;;
   17387 
   17388     openbsd*)
   17389       hardcode_direct_GCJ=yes
   17390       hardcode_shlibpath_var_GCJ=no
   17391       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17392 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17393 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17394 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17395 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17396       else
   17397        case $host_os in
   17398 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17399 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17400 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17401 	   ;;
   17402 	 *)
   17403 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17404 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17405 	   ;;
   17406        esac
   17407       fi
   17408       ;;
   17409 
   17410     os2*)
   17411       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17412       hardcode_minus_L_GCJ=yes
   17413       allow_undefined_flag_GCJ=unsupported
   17414       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'
   17415       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17416       ;;
   17417 
   17418     osf3*)
   17419       if test "$GCC" = yes; then
   17420 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17421 	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'
   17422       else
   17423 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17424 	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'
   17425       fi
   17426       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17427       hardcode_libdir_separator_GCJ=:
   17428       ;;
   17429 
   17430     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17431       if test "$GCC" = yes; then
   17432 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17433 	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'
   17434 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17435       else
   17436 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17437 	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'
   17438 	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~
   17439 	$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'
   17440 
   17441 	# Both c and cxx compiler support -rpath directly
   17442 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17443       fi
   17444       hardcode_libdir_separator_GCJ=:
   17445       ;;
   17446 
   17447     solaris*)
   17448       no_undefined_flag_GCJ=' -z text'
   17449       if test "$GCC" = yes; then
   17450 	wlarc='${wl}'
   17451 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17452 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17453 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17454       else
   17455 	wlarc=''
   17456 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17457 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17458   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17459       fi
   17460       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17461       hardcode_shlibpath_var_GCJ=no
   17462       case $host_os in
   17463       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17464       *)
   17465  	# The compiler driver will combine linker options so we
   17466  	# cannot just pass the convience library names through
   17467  	# without $wl, iff we do not link with $LD.
   17468  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17469  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17470  	case $wlarc in
   17471  	'')
   17472  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17473  	*)
   17474  	  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' ;;
   17475  	esac ;;
   17476       esac
   17477       link_all_deplibs_GCJ=yes
   17478       ;;
   17479 
   17480     sunos4*)
   17481       if test "x$host_vendor" = xsequent; then
   17482 	# Use $CC to link under sequent, because it throws in some extra .o
   17483 	# files that make .init and .fini sections work.
   17484 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17485       else
   17486 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17487       fi
   17488       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17489       hardcode_direct_GCJ=yes
   17490       hardcode_minus_L_GCJ=yes
   17491       hardcode_shlibpath_var_GCJ=no
   17492       ;;
   17493 
   17494     sysv4)
   17495       case $host_vendor in
   17496 	sni)
   17497 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17498 	  hardcode_direct_GCJ=yes # is this really true???
   17499 	;;
   17500 	siemens)
   17501 	  ## LD is ld it makes a PLAMLIB
   17502 	  ## CC just makes a GrossModule.
   17503 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17504 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17505 	  hardcode_direct_GCJ=no
   17506         ;;
   17507 	motorola)
   17508 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17509 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17510 	;;
   17511       esac
   17512       runpath_var='LD_RUN_PATH'
   17513       hardcode_shlibpath_var_GCJ=no
   17514       ;;
   17515 
   17516     sysv4.3*)
   17517       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17518       hardcode_shlibpath_var_GCJ=no
   17519       export_dynamic_flag_spec_GCJ='-Bexport'
   17520       ;;
   17521 
   17522     sysv4*MP*)
   17523       if test -d /usr/nec; then
   17524 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17525 	hardcode_shlibpath_var_GCJ=no
   17526 	runpath_var=LD_RUN_PATH
   17527 	hardcode_runpath_var=yes
   17528 	ld_shlibs_GCJ=yes
   17529       fi
   17530       ;;
   17531 
   17532     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17533       no_undefined_flag_GCJ='${wl}-z,text'
   17534       archive_cmds_need_lc_GCJ=no
   17535       hardcode_shlibpath_var_GCJ=no
   17536       runpath_var='LD_RUN_PATH'
   17537 
   17538       if test "$GCC" = yes; then
   17539 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17540 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17541       else
   17542 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17543 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17544       fi
   17545       ;;
   17546 
   17547     sysv5* | sco3.2v5* | sco5v6*)
   17548       # Note: We can NOT use -z defs as we might desire, because we do not
   17549       # link with -lc, and that would cause any symbols used from libc to
   17550       # always be unresolved, which means just about no library would
   17551       # ever link correctly.  If we're not using GNU ld we use -z text
   17552       # though, which does catch some bad symbols but isn't as heavy-handed
   17553       # as -z defs.
   17554       no_undefined_flag_GCJ='${wl}-z,text'
   17555       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17556       archive_cmds_need_lc_GCJ=no
   17557       hardcode_shlibpath_var_GCJ=no
   17558       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17559       hardcode_libdir_separator_GCJ=':'
   17560       link_all_deplibs_GCJ=yes
   17561       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17562       runpath_var='LD_RUN_PATH'
   17563 
   17564       if test "$GCC" = yes; then
   17565 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17566 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17567       else
   17568 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17569 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17570       fi
   17571       ;;
   17572 
   17573     uts4*)
   17574       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17575       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17576       hardcode_shlibpath_var_GCJ=no
   17577       ;;
   17578 
   17579     *)
   17580       ld_shlibs_GCJ=no
   17581       ;;
   17582     esac
   17583   fi
   17584 
   17585 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17586 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17587 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17588 
   17589 #
   17590 # Do we need to explicitly link libc?
   17591 #
   17592 case "x$archive_cmds_need_lc_GCJ" in
   17593 x|xyes)
   17594   # Assume -lc should be added
   17595   archive_cmds_need_lc_GCJ=yes
   17596 
   17597   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17598     case $archive_cmds_GCJ in
   17599     *'~'*)
   17600       # FIXME: we may have to deal with multi-command sequences.
   17601       ;;
   17602     '$CC '*)
   17603       # Test whether the compiler implicitly links with -lc since on some
   17604       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17605       # to ld, don't add -lc before -lgcc.
   17606       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17607 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17608       $rm conftest*
   17609       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17610 
   17611       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17612   (eval $ac_compile) 2>&5
   17613   ac_status=$?
   17614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17615   (exit $ac_status); } 2>conftest.err; then
   17616         soname=conftest
   17617         lib=conftest
   17618         libobjs=conftest.$ac_objext
   17619         deplibs=
   17620         wl=$lt_prog_compiler_wl_GCJ
   17621 	pic_flag=$lt_prog_compiler_pic_GCJ
   17622         compiler_flags=-v
   17623         linker_flags=-v
   17624         verstring=
   17625         output_objdir=.
   17626         libname=conftest
   17627         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17628         allow_undefined_flag_GCJ=
   17629         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17630   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17631   ac_status=$?
   17632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17633   (exit $ac_status); }
   17634         then
   17635 	  archive_cmds_need_lc_GCJ=no
   17636         else
   17637 	  archive_cmds_need_lc_GCJ=yes
   17638         fi
   17639         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17640       else
   17641         cat conftest.err 1>&5
   17642       fi
   17643       $rm conftest*
   17644       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17645 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17646       ;;
   17647     esac
   17648   fi
   17649   ;;
   17650 esac
   17651 
   17652 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17653 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17654 library_names_spec=
   17655 libname_spec='lib$name'
   17656 soname_spec=
   17657 shrext_cmds=".so"
   17658 postinstall_cmds=
   17659 postuninstall_cmds=
   17660 finish_cmds=
   17661 finish_eval=
   17662 shlibpath_var=
   17663 shlibpath_overrides_runpath=unknown
   17664 version_type=none
   17665 dynamic_linker="$host_os ld.so"
   17666 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17667 if test "$GCC" = yes; then
   17668   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17669   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17670     # if the path contains ";" then we assume it to be the separator
   17671     # otherwise default to the standard path separator (i.e. ":") - it is
   17672     # assumed that no part of a normal pathname contains ";" but that should
   17673     # okay in the real world where ";" in dirpaths is itself problematic.
   17674     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17675   else
   17676     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17677   fi
   17678 else
   17679   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17680 fi
   17681 need_lib_prefix=unknown
   17682 hardcode_into_libs=no
   17683 
   17684 # when you set need_version to no, make sure it does not cause -set_version
   17685 # flags to be left without arguments
   17686 need_version=unknown
   17687 
   17688 case $host_os in
   17689 aix3*)
   17690   version_type=linux
   17691   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17692   shlibpath_var=LIBPATH
   17693 
   17694   # AIX 3 has no versioning support, so we append a major version to the name.
   17695   soname_spec='${libname}${release}${shared_ext}$major'
   17696   ;;
   17697 
   17698 aix4* | aix5*)
   17699   version_type=linux
   17700   need_lib_prefix=no
   17701   need_version=no
   17702   hardcode_into_libs=yes
   17703   if test "$host_cpu" = ia64; then
   17704     # AIX 5 supports IA64
   17705     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17706     shlibpath_var=LD_LIBRARY_PATH
   17707   else
   17708     # With GCC up to 2.95.x, collect2 would create an import file
   17709     # for dependence libraries.  The import file would start with
   17710     # the line `#! .'.  This would cause the generated library to
   17711     # depend on `.', always an invalid library.  This was fixed in
   17712     # development snapshots of GCC prior to 3.0.
   17713     case $host_os in
   17714       aix4 | aix4.[01] | aix4.[01].*)
   17715       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17716 	   echo ' yes '
   17717 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17718 	:
   17719       else
   17720 	can_build_shared=no
   17721       fi
   17722       ;;
   17723     esac
   17724     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17725     # soname into executable. Probably we can add versioning support to
   17726     # collect2, so additional links can be useful in future.
   17727     if test "$aix_use_runtimelinking" = yes; then
   17728       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17729       # instead of lib<name>.a to let people know that these are not
   17730       # typical AIX shared libraries.
   17731       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17732     else
   17733       # We preserve .a as extension for shared libraries through AIX4.2
   17734       # and later when we are not doing run time linking.
   17735       library_names_spec='${libname}${release}.a $libname.a'
   17736       soname_spec='${libname}${release}${shared_ext}$major'
   17737     fi
   17738     shlibpath_var=LIBPATH
   17739   fi
   17740   ;;
   17741 
   17742 amigaos*)
   17743   library_names_spec='$libname.ixlibrary $libname.a'
   17744   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17745   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'
   17746   ;;
   17747 
   17748 beos*)
   17749   library_names_spec='${libname}${shared_ext}'
   17750   dynamic_linker="$host_os ld.so"
   17751   shlibpath_var=LIBRARY_PATH
   17752   ;;
   17753 
   17754 bsdi[45]*)
   17755   version_type=linux
   17756   need_version=no
   17757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17758   soname_spec='${libname}${release}${shared_ext}$major'
   17759   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17760   shlibpath_var=LD_LIBRARY_PATH
   17761   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17762   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17763   # the default ld.so.conf also contains /usr/contrib/lib and
   17764   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17765   # libtool to hard-code these into programs
   17766   ;;
   17767 
   17768 cygwin* | mingw* | pw32*)
   17769   version_type=windows
   17770   shrext_cmds=".dll"
   17771   need_version=no
   17772   need_lib_prefix=no
   17773 
   17774   case $GCC,$host_os in
   17775   yes,cygwin* | yes,mingw* | yes,pw32*)
   17776     library_names_spec='$libname.dll.a'
   17777     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17778     postinstall_cmds='base_file=`basename \${file}`~
   17779       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17780       dldir=$destdir/`dirname \$dlpath`~
   17781       test -d \$dldir || mkdir -p \$dldir~
   17782       $install_prog $dir/$dlname \$dldir/$dlname~
   17783       chmod a+x \$dldir/$dlname'
   17784     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17785       dlpath=$dir/\$dldll~
   17786        $rm \$dlpath'
   17787     shlibpath_overrides_runpath=yes
   17788 
   17789     case $host_os in
   17790     cygwin*)
   17791       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17792       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17793       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17794       ;;
   17795     mingw*)
   17796       # MinGW DLLs use traditional 'lib' prefix
   17797       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17798       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17799       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17800         # It is most probably a Windows format PATH printed by
   17801         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17802         # path with ; separators, and with drive letters. We can handle the
   17803         # drive letters (cygwin fileutils understands them), so leave them,
   17804         # especially as we might pass files found there to a mingw objdump,
   17805         # which wouldn't understand a cygwinified path. Ahh.
   17806         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17807       else
   17808         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17809       fi
   17810       ;;
   17811     pw32*)
   17812       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17813       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17814       ;;
   17815     esac
   17816     ;;
   17817 
   17818   *)
   17819     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17820     ;;
   17821   esac
   17822   dynamic_linker='Win32 ld.exe'
   17823   # FIXME: first we should search . and the directory the executable is in
   17824   shlibpath_var=PATH
   17825   ;;
   17826 
   17827 darwin* | rhapsody*)
   17828   dynamic_linker="$host_os dyld"
   17829   version_type=darwin
   17830   need_lib_prefix=no
   17831   need_version=no
   17832   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17833   soname_spec='${libname}${release}${major}$shared_ext'
   17834   shlibpath_overrides_runpath=yes
   17835   shlibpath_var=DYLD_LIBRARY_PATH
   17836   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17837   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17838   if test "$GCC" = yes; then
   17839     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"`
   17840   else
   17841     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17842   fi
   17843   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17844   ;;
   17845 
   17846 dgux*)
   17847   version_type=linux
   17848   need_lib_prefix=no
   17849   need_version=no
   17850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17851   soname_spec='${libname}${release}${shared_ext}$major'
   17852   shlibpath_var=LD_LIBRARY_PATH
   17853   ;;
   17854 
   17855 freebsd1*)
   17856   dynamic_linker=no
   17857   ;;
   17858 
   17859 kfreebsd*-gnu)
   17860   version_type=linux
   17861   need_lib_prefix=no
   17862   need_version=no
   17863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17864   soname_spec='${libname}${release}${shared_ext}$major'
   17865   shlibpath_var=LD_LIBRARY_PATH
   17866   shlibpath_overrides_runpath=no
   17867   hardcode_into_libs=yes
   17868   dynamic_linker='GNU ld.so'
   17869   ;;
   17870 
   17871 freebsd* | dragonfly*)
   17872   # DragonFly does not have aout.  When/if they implement a new
   17873   # versioning mechanism, adjust this.
   17874   if test -x /usr/bin/objformat; then
   17875     objformat=`/usr/bin/objformat`
   17876   else
   17877     case $host_os in
   17878     freebsd[123]*) objformat=aout ;;
   17879     *) objformat=elf ;;
   17880     esac
   17881   fi
   17882   version_type=freebsd-$objformat
   17883   case $version_type in
   17884     freebsd-elf*)
   17885       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17886       need_version=no
   17887       need_lib_prefix=no
   17888       ;;
   17889     freebsd-*)
   17890       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17891       need_version=yes
   17892       ;;
   17893   esac
   17894   shlibpath_var=LD_LIBRARY_PATH
   17895   case $host_os in
   17896   freebsd2*)
   17897     shlibpath_overrides_runpath=yes
   17898     ;;
   17899   freebsd3.[01]* | freebsdelf3.[01]*)
   17900     shlibpath_overrides_runpath=yes
   17901     hardcode_into_libs=yes
   17902     ;;
   17903   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17904   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17905     shlibpath_overrides_runpath=no
   17906     hardcode_into_libs=yes
   17907     ;;
   17908   freebsd*) # from 4.6 on
   17909     shlibpath_overrides_runpath=yes
   17910     hardcode_into_libs=yes
   17911     ;;
   17912   esac
   17913   ;;
   17914 
   17915 gnu*)
   17916   version_type=linux
   17917   need_lib_prefix=no
   17918   need_version=no
   17919   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17920   soname_spec='${libname}${release}${shared_ext}$major'
   17921   shlibpath_var=LD_LIBRARY_PATH
   17922   hardcode_into_libs=yes
   17923   ;;
   17924 
   17925 hpux9* | hpux10* | hpux11*)
   17926   # Give a soname corresponding to the major version so that dld.sl refuses to
   17927   # link against other versions.
   17928   version_type=sunos
   17929   need_lib_prefix=no
   17930   need_version=no
   17931   case $host_cpu in
   17932   ia64*)
   17933     shrext_cmds='.so'
   17934     hardcode_into_libs=yes
   17935     dynamic_linker="$host_os dld.so"
   17936     shlibpath_var=LD_LIBRARY_PATH
   17937     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17938     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17939     soname_spec='${libname}${release}${shared_ext}$major'
   17940     if test "X$HPUX_IA64_MODE" = X32; then
   17941       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17942     else
   17943       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17944     fi
   17945     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17946     ;;
   17947    hppa*64*)
   17948      shrext_cmds='.sl'
   17949      hardcode_into_libs=yes
   17950      dynamic_linker="$host_os dld.sl"
   17951      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17952      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17953      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17954      soname_spec='${libname}${release}${shared_ext}$major'
   17955      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17956      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17957      ;;
   17958    *)
   17959     shrext_cmds='.sl'
   17960     dynamic_linker="$host_os dld.sl"
   17961     shlibpath_var=SHLIB_PATH
   17962     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   17966   esac
   17967   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17968   postinstall_cmds='chmod 555 $lib'
   17969   ;;
   17970 
   17971 interix3*)
   17972   version_type=linux
   17973   need_lib_prefix=no
   17974   need_version=no
   17975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17976   soname_spec='${libname}${release}${shared_ext}$major'
   17977   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17978   shlibpath_var=LD_LIBRARY_PATH
   17979   shlibpath_overrides_runpath=no
   17980   hardcode_into_libs=yes
   17981   ;;
   17982 
   17983 irix5* | irix6* | nonstopux*)
   17984   case $host_os in
   17985     nonstopux*) version_type=nonstopux ;;
   17986     *)
   17987 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17988 		version_type=linux
   17989 	else
   17990 		version_type=irix
   17991 	fi ;;
   17992   esac
   17993   need_lib_prefix=no
   17994   need_version=no
   17995   soname_spec='${libname}${release}${shared_ext}$major'
   17996   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   17997   case $host_os in
   17998   irix5* | nonstopux*)
   17999     libsuff= shlibsuff=
   18000     ;;
   18001   *)
   18002     case $LD in # libtool.m4 will add one of these switches to LD
   18003     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18004       libsuff= shlibsuff= libmagic=32-bit;;
   18005     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18006       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18007     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18008       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18009     *) libsuff= shlibsuff= libmagic=never-match;;
   18010     esac
   18011     ;;
   18012   esac
   18013   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18014   shlibpath_overrides_runpath=no
   18015   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18016   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18017   hardcode_into_libs=yes
   18018   ;;
   18019 
   18020 # No shared lib support for Linux oldld, aout, or coff.
   18021 linux*oldld* | linux*aout* | linux*coff*)
   18022   dynamic_linker=no
   18023   ;;
   18024 
   18025 # This must be Linux ELF.
   18026 linux*)
   18027   version_type=linux
   18028   need_lib_prefix=no
   18029   need_version=no
   18030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18031   soname_spec='${libname}${release}${shared_ext}$major'
   18032   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18033   shlibpath_var=LD_LIBRARY_PATH
   18034   shlibpath_overrides_runpath=no
   18035   # This implies no fast_install, which is unacceptable.
   18036   # Some rework will be needed to allow for fast_install
   18037   # before this can be enabled.
   18038   hardcode_into_libs=yes
   18039 
   18040   # Append ld.so.conf contents to the search path
   18041   if test -f /etc/ld.so.conf; then
   18042     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' ' '`
   18043     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18044   fi
   18045 
   18046   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18047   # powerpc, because MkLinux only supported shared libraries with the
   18048   # GNU dynamic linker.  Since this was broken with cross compilers,
   18049   # most powerpc-linux boxes support dynamic linking these days and
   18050   # people can always --disable-shared, the test was removed, and we
   18051   # assume the GNU/Linux dynamic linker is in use.
   18052   dynamic_linker='GNU/Linux ld.so'
   18053   ;;
   18054 
   18055 knetbsd*-gnu)
   18056   version_type=linux
   18057   need_lib_prefix=no
   18058   need_version=no
   18059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18060   soname_spec='${libname}${release}${shared_ext}$major'
   18061   shlibpath_var=LD_LIBRARY_PATH
   18062   shlibpath_overrides_runpath=no
   18063   hardcode_into_libs=yes
   18064   dynamic_linker='GNU ld.so'
   18065   ;;
   18066 
   18067 netbsd*)
   18068   version_type=sunos
   18069   need_lib_prefix=no
   18070   need_version=no
   18071   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18072     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18073     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18074     dynamic_linker='NetBSD (a.out) ld.so'
   18075   else
   18076     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18077     soname_spec='${libname}${release}${shared_ext}$major'
   18078     dynamic_linker='NetBSD ld.elf_so'
   18079   fi
   18080   shlibpath_var=LD_LIBRARY_PATH
   18081   shlibpath_overrides_runpath=yes
   18082   hardcode_into_libs=yes
   18083   ;;
   18084 
   18085 newsos6)
   18086   version_type=linux
   18087   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18088   shlibpath_var=LD_LIBRARY_PATH
   18089   shlibpath_overrides_runpath=yes
   18090   ;;
   18091 
   18092 nto-qnx*)
   18093   version_type=linux
   18094   need_lib_prefix=no
   18095   need_version=no
   18096   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18097   soname_spec='${libname}${release}${shared_ext}$major'
   18098   shlibpath_var=LD_LIBRARY_PATH
   18099   shlibpath_overrides_runpath=yes
   18100   ;;
   18101 
   18102 openbsd*)
   18103   version_type=sunos
   18104   sys_lib_dlsearch_path_spec="/usr/lib"
   18105   need_lib_prefix=no
   18106   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18107   case $host_os in
   18108     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18109     *)                         need_version=no  ;;
   18110   esac
   18111   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18112   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18113   shlibpath_var=LD_LIBRARY_PATH
   18114   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18115     case $host_os in
   18116       openbsd2.[89] | openbsd2.[89].*)
   18117 	shlibpath_overrides_runpath=no
   18118 	;;
   18119       *)
   18120 	shlibpath_overrides_runpath=yes
   18121 	;;
   18122       esac
   18123   else
   18124     shlibpath_overrides_runpath=yes
   18125   fi
   18126   ;;
   18127 
   18128 os2*)
   18129   libname_spec='$name'
   18130   shrext_cmds=".dll"
   18131   need_lib_prefix=no
   18132   library_names_spec='$libname${shared_ext} $libname.a'
   18133   dynamic_linker='OS/2 ld.exe'
   18134   shlibpath_var=LIBPATH
   18135   ;;
   18136 
   18137 osf3* | osf4* | osf5*)
   18138   version_type=osf
   18139   need_lib_prefix=no
   18140   need_version=no
   18141   soname_spec='${libname}${release}${shared_ext}$major'
   18142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18143   shlibpath_var=LD_LIBRARY_PATH
   18144   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18145   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18146   ;;
   18147 
   18148 solaris*)
   18149   version_type=linux
   18150   need_lib_prefix=no
   18151   need_version=no
   18152   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18153   soname_spec='${libname}${release}${shared_ext}$major'
   18154   shlibpath_var=LD_LIBRARY_PATH
   18155   shlibpath_overrides_runpath=yes
   18156   hardcode_into_libs=yes
   18157   # ldd complains unless libraries are executable
   18158   postinstall_cmds='chmod +x $lib'
   18159   ;;
   18160 
   18161 sunos4*)
   18162   version_type=sunos
   18163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18164   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18165   shlibpath_var=LD_LIBRARY_PATH
   18166   shlibpath_overrides_runpath=yes
   18167   if test "$with_gnu_ld" = yes; then
   18168     need_lib_prefix=no
   18169   fi
   18170   need_version=yes
   18171   ;;
   18172 
   18173 sysv4 | sysv4.3*)
   18174   version_type=linux
   18175   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18176   soname_spec='${libname}${release}${shared_ext}$major'
   18177   shlibpath_var=LD_LIBRARY_PATH
   18178   case $host_vendor in
   18179     sni)
   18180       shlibpath_overrides_runpath=no
   18181       need_lib_prefix=no
   18182       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18183       runpath_var=LD_RUN_PATH
   18184       ;;
   18185     siemens)
   18186       need_lib_prefix=no
   18187       ;;
   18188     motorola)
   18189       need_lib_prefix=no
   18190       need_version=no
   18191       shlibpath_overrides_runpath=no
   18192       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18193       ;;
   18194   esac
   18195   ;;
   18196 
   18197 sysv4*MP*)
   18198   if test -d /usr/nec ;then
   18199     version_type=linux
   18200     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18201     soname_spec='$libname${shared_ext}.$major'
   18202     shlibpath_var=LD_LIBRARY_PATH
   18203   fi
   18204   ;;
   18205 
   18206 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18207   version_type=freebsd-elf
   18208   need_lib_prefix=no
   18209   need_version=no
   18210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18211   soname_spec='${libname}${release}${shared_ext}$major'
   18212   shlibpath_var=LD_LIBRARY_PATH
   18213   hardcode_into_libs=yes
   18214   if test "$with_gnu_ld" = yes; then
   18215     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18216     shlibpath_overrides_runpath=no
   18217   else
   18218     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18219     shlibpath_overrides_runpath=yes
   18220     case $host_os in
   18221       sco3.2v5*)
   18222         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18223 	;;
   18224     esac
   18225   fi
   18226   sys_lib_dlsearch_path_spec='/usr/lib'
   18227   ;;
   18228 
   18229 uts4*)
   18230   version_type=linux
   18231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18232   soname_spec='${libname}${release}${shared_ext}$major'
   18233   shlibpath_var=LD_LIBRARY_PATH
   18234   ;;
   18235 
   18236 *)
   18237   dynamic_linker=no
   18238   ;;
   18239 esac
   18240 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18241 echo "${ECHO_T}$dynamic_linker" >&6; }
   18242 test "$dynamic_linker" = no && can_build_shared=no
   18243 
   18244 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18245 if test "$GCC" = yes; then
   18246   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18247 fi
   18248 
   18249 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18250 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18251 hardcode_action_GCJ=
   18252 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18253    test -n "$runpath_var_GCJ" || \
   18254    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18255 
   18256   # We can hardcode non-existant directories.
   18257   if test "$hardcode_direct_GCJ" != no &&
   18258      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18259      # have to relink, otherwise we might link with an installed library
   18260      # when we should be linking with a yet-to-be-installed one
   18261      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18262      test "$hardcode_minus_L_GCJ" != no; then
   18263     # Linking always hardcodes the temporary library directory.
   18264     hardcode_action_GCJ=relink
   18265   else
   18266     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18267     hardcode_action_GCJ=immediate
   18268   fi
   18269 else
   18270   # We cannot hardcode anything, or else we can only hardcode existing
   18271   # directories.
   18272   hardcode_action_GCJ=unsupported
   18273 fi
   18274 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18275 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18276 
   18277 if test "$hardcode_action_GCJ" = relink; then
   18278   # Fast installation is not supported
   18279   enable_fast_install=no
   18280 elif test "$shlibpath_overrides_runpath" = yes ||
   18281      test "$enable_shared" = no; then
   18282   # Fast installation is not necessary
   18283   enable_fast_install=needless
   18284 fi
   18285 
   18286 
   18287 # The else clause should only fire when bootstrapping the
   18288 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18289 # with your package, and you will get complaints that there are
   18290 # no rules to generate ltmain.sh.
   18291 if test -f "$ltmain"; then
   18292   # See if we are running on zsh, and set the options which allow our commands through
   18293   # without removal of \ escapes.
   18294   if test -n "${ZSH_VERSION+set}" ; then
   18295     setopt NO_GLOB_SUBST
   18296   fi
   18297   # Now quote all the things that may contain metacharacters while being
   18298   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18299   # variables and quote the copies for generation of the libtool script.
   18300   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18301     SED SHELL STRIP \
   18302     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18303     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18304     deplibs_check_method reload_flag reload_cmds need_locks \
   18305     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18306     lt_cv_sys_global_symbol_to_c_name_address \
   18307     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18308     old_postinstall_cmds old_postuninstall_cmds \
   18309     compiler_GCJ \
   18310     CC_GCJ \
   18311     LD_GCJ \
   18312     lt_prog_compiler_wl_GCJ \
   18313     lt_prog_compiler_pic_GCJ \
   18314     lt_prog_compiler_static_GCJ \
   18315     lt_prog_compiler_no_builtin_flag_GCJ \
   18316     export_dynamic_flag_spec_GCJ \
   18317     thread_safe_flag_spec_GCJ \
   18318     whole_archive_flag_spec_GCJ \
   18319     enable_shared_with_static_runtimes_GCJ \
   18320     old_archive_cmds_GCJ \
   18321     old_archive_from_new_cmds_GCJ \
   18322     predep_objects_GCJ \
   18323     postdep_objects_GCJ \
   18324     predeps_GCJ \
   18325     postdeps_GCJ \
   18326     compiler_lib_search_path_GCJ \
   18327     archive_cmds_GCJ \
   18328     archive_expsym_cmds_GCJ \
   18329     postinstall_cmds_GCJ \
   18330     postuninstall_cmds_GCJ \
   18331     old_archive_from_expsyms_cmds_GCJ \
   18332     allow_undefined_flag_GCJ \
   18333     no_undefined_flag_GCJ \
   18334     export_symbols_cmds_GCJ \
   18335     hardcode_libdir_flag_spec_GCJ \
   18336     hardcode_libdir_flag_spec_ld_GCJ \
   18337     hardcode_libdir_separator_GCJ \
   18338     hardcode_automatic_GCJ \
   18339     module_cmds_GCJ \
   18340     module_expsym_cmds_GCJ \
   18341     lt_cv_prog_compiler_c_o_GCJ \
   18342     exclude_expsyms_GCJ \
   18343     include_expsyms_GCJ; do
   18344 
   18345     case $var in
   18346     old_archive_cmds_GCJ | \
   18347     old_archive_from_new_cmds_GCJ | \
   18348     archive_cmds_GCJ | \
   18349     archive_expsym_cmds_GCJ | \
   18350     module_cmds_GCJ | \
   18351     module_expsym_cmds_GCJ | \
   18352     old_archive_from_expsyms_cmds_GCJ | \
   18353     export_symbols_cmds_GCJ | \
   18354     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18355     postinstall_cmds | postuninstall_cmds | \
   18356     old_postinstall_cmds | old_postuninstall_cmds | \
   18357     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18358       # Double-quote double-evaled strings.
   18359       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18360       ;;
   18361     *)
   18362       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18363       ;;
   18364     esac
   18365   done
   18366 
   18367   case $lt_echo in
   18368   *'\$0 --fallback-echo"')
   18369     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18370     ;;
   18371   esac
   18372 
   18373 cfgfile="$ofile"
   18374 
   18375   cat <<__EOF__ >> "$cfgfile"
   18376 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18377 
   18378 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18379 
   18380 # Shell to use when invoking shell scripts.
   18381 SHELL=$lt_SHELL
   18382 
   18383 # Whether or not to build shared libraries.
   18384 build_libtool_libs=$enable_shared
   18385 
   18386 # Whether or not to build static libraries.
   18387 build_old_libs=$enable_static
   18388 
   18389 # Whether or not to add -lc for building shared libraries.
   18390 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18391 
   18392 # Whether or not to disallow shared libs when runtime libs are static
   18393 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18394 
   18395 # Whether or not to optimize for fast installation.
   18396 fast_install=$enable_fast_install
   18397 
   18398 # The host system.
   18399 host_alias=$host_alias
   18400 host=$host
   18401 host_os=$host_os
   18402 
   18403 # The build system.
   18404 build_alias=$build_alias
   18405 build=$build
   18406 build_os=$build_os
   18407 
   18408 # An echo program that does not interpret backslashes.
   18409 echo=$lt_echo
   18410 
   18411 # The archiver.
   18412 AR=$lt_AR
   18413 AR_FLAGS=$lt_AR_FLAGS
   18414 
   18415 # A C compiler.
   18416 LTCC=$lt_LTCC
   18417 
   18418 # LTCC compiler flags.
   18419 LTCFLAGS=$lt_LTCFLAGS
   18420 
   18421 # A language-specific compiler.
   18422 CC=$lt_compiler_GCJ
   18423 
   18424 # Is the compiler the GNU C compiler?
   18425 with_gcc=$GCC_GCJ
   18426 
   18427 # An ERE matcher.
   18428 EGREP=$lt_EGREP
   18429 
   18430 # The linker used to build libraries.
   18431 LD=$lt_LD_GCJ
   18432 
   18433 # Whether we need hard or soft links.
   18434 LN_S=$lt_LN_S
   18435 
   18436 # A BSD-compatible nm program.
   18437 NM=$lt_NM
   18438 
   18439 # A symbol stripping program
   18440 STRIP=$lt_STRIP
   18441 
   18442 # Used to examine libraries when file_magic_cmd begins "file"
   18443 MAGIC_CMD=$MAGIC_CMD
   18444 
   18445 # Used on cygwin: DLL creation program.
   18446 DLLTOOL="$DLLTOOL"
   18447 
   18448 # Used on cygwin: object dumper.
   18449 OBJDUMP="$OBJDUMP"
   18450 
   18451 # Used on cygwin: assembler.
   18452 AS="$AS"
   18453 
   18454 # The name of the directory that contains temporary libtool files.
   18455 objdir=$objdir
   18456 
   18457 # How to create reloadable object files.
   18458 reload_flag=$lt_reload_flag
   18459 reload_cmds=$lt_reload_cmds
   18460 
   18461 # How to pass a linker flag through the compiler.
   18462 wl=$lt_lt_prog_compiler_wl_GCJ
   18463 
   18464 # Object file suffix (normally "o").
   18465 objext="$ac_objext"
   18466 
   18467 # Old archive suffix (normally "a").
   18468 libext="$libext"
   18469 
   18470 # Shared library suffix (normally ".so").
   18471 shrext_cmds='$shrext_cmds'
   18472 
   18473 # Executable file suffix (normally "").
   18474 exeext="$exeext"
   18475 
   18476 # Additional compiler flags for building library objects.
   18477 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18478 pic_mode=$pic_mode
   18479 
   18480 # What is the maximum length of a command?
   18481 max_cmd_len=$lt_cv_sys_max_cmd_len
   18482 
   18483 # Does compiler simultaneously support -c and -o options?
   18484 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18485 
   18486 # Must we lock files when doing compilation?
   18487 need_locks=$lt_need_locks
   18488 
   18489 # Do we need the lib prefix for modules?
   18490 need_lib_prefix=$need_lib_prefix
   18491 
   18492 # Do we need a version for libraries?
   18493 need_version=$need_version
   18494 
   18495 # Whether dlopen is supported.
   18496 dlopen_support=$enable_dlopen
   18497 
   18498 # Whether dlopen of programs is supported.
   18499 dlopen_self=$enable_dlopen_self
   18500 
   18501 # Whether dlopen of statically linked programs is supported.
   18502 dlopen_self_static=$enable_dlopen_self_static
   18503 
   18504 # Compiler flag to prevent dynamic linking.
   18505 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18506 
   18507 # Compiler flag to turn off builtin functions.
   18508 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18509 
   18510 # Compiler flag to allow reflexive dlopens.
   18511 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18512 
   18513 # Compiler flag to generate shared objects directly from archives.
   18514 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18515 
   18516 # Compiler flag to generate thread-safe objects.
   18517 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18518 
   18519 # Library versioning type.
   18520 version_type=$version_type
   18521 
   18522 # Format of library name prefix.
   18523 libname_spec=$lt_libname_spec
   18524 
   18525 # List of archive names.  First name is the real one, the rest are links.
   18526 # The last name is the one that the linker finds with -lNAME.
   18527 library_names_spec=$lt_library_names_spec
   18528 
   18529 # The coded name of the library, if different from the real name.
   18530 soname_spec=$lt_soname_spec
   18531 
   18532 # Commands used to build and install an old-style archive.
   18533 RANLIB=$lt_RANLIB
   18534 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18535 old_postinstall_cmds=$lt_old_postinstall_cmds
   18536 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18537 
   18538 # Create an old-style archive from a shared archive.
   18539 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18540 
   18541 # Create a temporary old-style archive to link instead of a shared archive.
   18542 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18543 
   18544 # Commands used to build and install a shared archive.
   18545 archive_cmds=$lt_archive_cmds_GCJ
   18546 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18547 postinstall_cmds=$lt_postinstall_cmds
   18548 postuninstall_cmds=$lt_postuninstall_cmds
   18549 
   18550 # Commands used to build a loadable module (assumed same as above if empty)
   18551 module_cmds=$lt_module_cmds_GCJ
   18552 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18553 
   18554 # Commands to strip libraries.
   18555 old_striplib=$lt_old_striplib
   18556 striplib=$lt_striplib
   18557 
   18558 # Dependencies to place before the objects being linked to create a
   18559 # shared library.
   18560 predep_objects=$lt_predep_objects_GCJ
   18561 
   18562 # Dependencies to place after the objects being linked to create a
   18563 # shared library.
   18564 postdep_objects=$lt_postdep_objects_GCJ
   18565 
   18566 # Dependencies to place before the objects being linked to create a
   18567 # shared library.
   18568 predeps=$lt_predeps_GCJ
   18569 
   18570 # Dependencies to place after the objects being linked to create a
   18571 # shared library.
   18572 postdeps=$lt_postdeps_GCJ
   18573 
   18574 # The library search path used internally by the compiler when linking
   18575 # a shared library.
   18576 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18577 
   18578 # Method to check whether dependent libraries are shared objects.
   18579 deplibs_check_method=$lt_deplibs_check_method
   18580 
   18581 # Command to use when deplibs_check_method == file_magic.
   18582 file_magic_cmd=$lt_file_magic_cmd
   18583 
   18584 # Flag that allows shared libraries with undefined symbols to be built.
   18585 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18586 
   18587 # Flag that forces no undefined symbols.
   18588 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18589 
   18590 # Commands used to finish a libtool library installation in a directory.
   18591 finish_cmds=$lt_finish_cmds
   18592 
   18593 # Same as above, but a single script fragment to be evaled but not shown.
   18594 finish_eval=$lt_finish_eval
   18595 
   18596 # Take the output of nm and produce a listing of raw symbols and C names.
   18597 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18598 
   18599 # Transform the output of nm in a proper C declaration
   18600 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18601 
   18602 # Transform the output of nm in a C name address pair
   18603 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18604 
   18605 # This is the shared library runtime path variable.
   18606 runpath_var=$runpath_var
   18607 
   18608 # This is the shared library path variable.
   18609 shlibpath_var=$shlibpath_var
   18610 
   18611 # Is shlibpath searched before the hard-coded library search path?
   18612 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18613 
   18614 # How to hardcode a shared library path into an executable.
   18615 hardcode_action=$hardcode_action_GCJ
   18616 
   18617 # Whether we should hardcode library paths into libraries.
   18618 hardcode_into_libs=$hardcode_into_libs
   18619 
   18620 # Flag to hardcode \$libdir into a binary during linking.
   18621 # This must work even if \$libdir does not exist.
   18622 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18623 
   18624 # If ld is used when linking, flag to hardcode \$libdir into
   18625 # a binary during linking. This must work even if \$libdir does
   18626 # not exist.
   18627 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18628 
   18629 # Whether we need a single -rpath flag with a separated argument.
   18630 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18631 
   18632 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18633 # resulting binary.
   18634 hardcode_direct=$hardcode_direct_GCJ
   18635 
   18636 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18637 # resulting binary.
   18638 hardcode_minus_L=$hardcode_minus_L_GCJ
   18639 
   18640 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18641 # the resulting binary.
   18642 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18643 
   18644 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18645 # and all subsequent libraries and executables linked against it.
   18646 hardcode_automatic=$hardcode_automatic_GCJ
   18647 
   18648 # Variables whose values should be saved in libtool wrapper scripts and
   18649 # restored at relink time.
   18650 variables_saved_for_relink="$variables_saved_for_relink"
   18651 
   18652 # Whether libtool must link a program against all its dependency libraries.
   18653 link_all_deplibs=$link_all_deplibs_GCJ
   18654 
   18655 # Compile-time system search path for libraries
   18656 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18657 
   18658 # Run-time system search path for libraries
   18659 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18660 
   18661 # Fix the shell variable \$srcfile for the compiler.
   18662 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18663 
   18664 # Set to yes if exported symbols are required.
   18665 always_export_symbols=$always_export_symbols_GCJ
   18666 
   18667 # The commands to list exported symbols.
   18668 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18669 
   18670 # The commands to extract the exported symbol list from a shared archive.
   18671 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18672 
   18673 # Symbols that should not be listed in the preloaded symbols.
   18674 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18675 
   18676 # Symbols that must always be exported.
   18677 include_expsyms=$lt_include_expsyms_GCJ
   18678 
   18679 # ### END LIBTOOL TAG CONFIG: $tagname
   18680 
   18681 __EOF__
   18682 
   18683 
   18684 else
   18685   # If there is no Makefile yet, we rely on a make rule to execute
   18686   # `config.status --recheck' to rerun these tests and create the
   18687   # libtool script then.
   18688   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18689   if test -f "$ltmain_in"; then
   18690     test -f Makefile && make "$ltmain"
   18691   fi
   18692 fi
   18693 
   18694 
   18695 ac_ext=c
   18696 ac_cpp='$CPP $CPPFLAGS'
   18697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18700 
   18701 CC="$lt_save_CC"
   18702 
   18703 	else
   18704 	  tagname=""
   18705 	fi
   18706 	;;
   18707 
   18708       RC)
   18709 
   18710 
   18711 # Source file extension for RC test sources.
   18712 ac_ext=rc
   18713 
   18714 # Object file extension for compiled RC test sources.
   18715 objext=o
   18716 objext_RC=$objext
   18717 
   18718 # Code to be used in simple compile tests
   18719 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18720 
   18721 # Code to be used in simple link tests
   18722 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18723 
   18724 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18725 
   18726 # If no C compiler was specified, use CC.
   18727 LTCC=${LTCC-"$CC"}
   18728 
   18729 # If no C compiler flags were specified, use CFLAGS.
   18730 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18731 
   18732 # Allow CC to be a program name with arguments.
   18733 compiler=$CC
   18734 
   18735 
   18736 # save warnings/boilerplate of simple test code
   18737 ac_outfile=conftest.$ac_objext
   18738 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18739 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18740 _lt_compiler_boilerplate=`cat conftest.err`
   18741 $rm conftest*
   18742 
   18743 ac_outfile=conftest.$ac_objext
   18744 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18745 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18746 _lt_linker_boilerplate=`cat conftest.err`
   18747 $rm conftest*
   18748 
   18749 
   18750 # Allow CC to be a program name with arguments.
   18751 lt_save_CC="$CC"
   18752 CC=${RC-"windres"}
   18753 compiler=$CC
   18754 compiler_RC=$CC
   18755 for cc_temp in $compiler""; do
   18756   case $cc_temp in
   18757     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18758     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18759     \-*) ;;
   18760     *) break;;
   18761   esac
   18762 done
   18763 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18764 
   18765 lt_cv_prog_compiler_c_o_RC=yes
   18766 
   18767 # The else clause should only fire when bootstrapping the
   18768 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18769 # with your package, and you will get complaints that there are
   18770 # no rules to generate ltmain.sh.
   18771 if test -f "$ltmain"; then
   18772   # See if we are running on zsh, and set the options which allow our commands through
   18773   # without removal of \ escapes.
   18774   if test -n "${ZSH_VERSION+set}" ; then
   18775     setopt NO_GLOB_SUBST
   18776   fi
   18777   # Now quote all the things that may contain metacharacters while being
   18778   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18779   # variables and quote the copies for generation of the libtool script.
   18780   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18781     SED SHELL STRIP \
   18782     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18783     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18784     deplibs_check_method reload_flag reload_cmds need_locks \
   18785     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18786     lt_cv_sys_global_symbol_to_c_name_address \
   18787     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18788     old_postinstall_cmds old_postuninstall_cmds \
   18789     compiler_RC \
   18790     CC_RC \
   18791     LD_RC \
   18792     lt_prog_compiler_wl_RC \
   18793     lt_prog_compiler_pic_RC \
   18794     lt_prog_compiler_static_RC \
   18795     lt_prog_compiler_no_builtin_flag_RC \
   18796     export_dynamic_flag_spec_RC \
   18797     thread_safe_flag_spec_RC \
   18798     whole_archive_flag_spec_RC \
   18799     enable_shared_with_static_runtimes_RC \
   18800     old_archive_cmds_RC \
   18801     old_archive_from_new_cmds_RC \
   18802     predep_objects_RC \
   18803     postdep_objects_RC \
   18804     predeps_RC \
   18805     postdeps_RC \
   18806     compiler_lib_search_path_RC \
   18807     archive_cmds_RC \
   18808     archive_expsym_cmds_RC \
   18809     postinstall_cmds_RC \
   18810     postuninstall_cmds_RC \
   18811     old_archive_from_expsyms_cmds_RC \
   18812     allow_undefined_flag_RC \
   18813     no_undefined_flag_RC \
   18814     export_symbols_cmds_RC \
   18815     hardcode_libdir_flag_spec_RC \
   18816     hardcode_libdir_flag_spec_ld_RC \
   18817     hardcode_libdir_separator_RC \
   18818     hardcode_automatic_RC \
   18819     module_cmds_RC \
   18820     module_expsym_cmds_RC \
   18821     lt_cv_prog_compiler_c_o_RC \
   18822     exclude_expsyms_RC \
   18823     include_expsyms_RC; do
   18824 
   18825     case $var in
   18826     old_archive_cmds_RC | \
   18827     old_archive_from_new_cmds_RC | \
   18828     archive_cmds_RC | \
   18829     archive_expsym_cmds_RC | \
   18830     module_cmds_RC | \
   18831     module_expsym_cmds_RC | \
   18832     old_archive_from_expsyms_cmds_RC | \
   18833     export_symbols_cmds_RC | \
   18834     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18835     postinstall_cmds | postuninstall_cmds | \
   18836     old_postinstall_cmds | old_postuninstall_cmds | \
   18837     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18838       # Double-quote double-evaled strings.
   18839       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18840       ;;
   18841     *)
   18842       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18843       ;;
   18844     esac
   18845   done
   18846 
   18847   case $lt_echo in
   18848   *'\$0 --fallback-echo"')
   18849     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18850     ;;
   18851   esac
   18852 
   18853 cfgfile="$ofile"
   18854 
   18855   cat <<__EOF__ >> "$cfgfile"
   18856 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18857 
   18858 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18859 
   18860 # Shell to use when invoking shell scripts.
   18861 SHELL=$lt_SHELL
   18862 
   18863 # Whether or not to build shared libraries.
   18864 build_libtool_libs=$enable_shared
   18865 
   18866 # Whether or not to build static libraries.
   18867 build_old_libs=$enable_static
   18868 
   18869 # Whether or not to add -lc for building shared libraries.
   18870 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18871 
   18872 # Whether or not to disallow shared libs when runtime libs are static
   18873 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18874 
   18875 # Whether or not to optimize for fast installation.
   18876 fast_install=$enable_fast_install
   18877 
   18878 # The host system.
   18879 host_alias=$host_alias
   18880 host=$host
   18881 host_os=$host_os
   18882 
   18883 # The build system.
   18884 build_alias=$build_alias
   18885 build=$build
   18886 build_os=$build_os
   18887 
   18888 # An echo program that does not interpret backslashes.
   18889 echo=$lt_echo
   18890 
   18891 # The archiver.
   18892 AR=$lt_AR
   18893 AR_FLAGS=$lt_AR_FLAGS
   18894 
   18895 # A C compiler.
   18896 LTCC=$lt_LTCC
   18897 
   18898 # LTCC compiler flags.
   18899 LTCFLAGS=$lt_LTCFLAGS
   18900 
   18901 # A language-specific compiler.
   18902 CC=$lt_compiler_RC
   18903 
   18904 # Is the compiler the GNU C compiler?
   18905 with_gcc=$GCC_RC
   18906 
   18907 # An ERE matcher.
   18908 EGREP=$lt_EGREP
   18909 
   18910 # The linker used to build libraries.
   18911 LD=$lt_LD_RC
   18912 
   18913 # Whether we need hard or soft links.
   18914 LN_S=$lt_LN_S
   18915 
   18916 # A BSD-compatible nm program.
   18917 NM=$lt_NM
   18918 
   18919 # A symbol stripping program
   18920 STRIP=$lt_STRIP
   18921 
   18922 # Used to examine libraries when file_magic_cmd begins "file"
   18923 MAGIC_CMD=$MAGIC_CMD
   18924 
   18925 # Used on cygwin: DLL creation program.
   18926 DLLTOOL="$DLLTOOL"
   18927 
   18928 # Used on cygwin: object dumper.
   18929 OBJDUMP="$OBJDUMP"
   18930 
   18931 # Used on cygwin: assembler.
   18932 AS="$AS"
   18933 
   18934 # The name of the directory that contains temporary libtool files.
   18935 objdir=$objdir
   18936 
   18937 # How to create reloadable object files.
   18938 reload_flag=$lt_reload_flag
   18939 reload_cmds=$lt_reload_cmds
   18940 
   18941 # How to pass a linker flag through the compiler.
   18942 wl=$lt_lt_prog_compiler_wl_RC
   18943 
   18944 # Object file suffix (normally "o").
   18945 objext="$ac_objext"
   18946 
   18947 # Old archive suffix (normally "a").
   18948 libext="$libext"
   18949 
   18950 # Shared library suffix (normally ".so").
   18951 shrext_cmds='$shrext_cmds'
   18952 
   18953 # Executable file suffix (normally "").
   18954 exeext="$exeext"
   18955 
   18956 # Additional compiler flags for building library objects.
   18957 pic_flag=$lt_lt_prog_compiler_pic_RC
   18958 pic_mode=$pic_mode
   18959 
   18960 # What is the maximum length of a command?
   18961 max_cmd_len=$lt_cv_sys_max_cmd_len
   18962 
   18963 # Does compiler simultaneously support -c and -o options?
   18964 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18965 
   18966 # Must we lock files when doing compilation?
   18967 need_locks=$lt_need_locks
   18968 
   18969 # Do we need the lib prefix for modules?
   18970 need_lib_prefix=$need_lib_prefix
   18971 
   18972 # Do we need a version for libraries?
   18973 need_version=$need_version
   18974 
   18975 # Whether dlopen is supported.
   18976 dlopen_support=$enable_dlopen
   18977 
   18978 # Whether dlopen of programs is supported.
   18979 dlopen_self=$enable_dlopen_self
   18980 
   18981 # Whether dlopen of statically linked programs is supported.
   18982 dlopen_self_static=$enable_dlopen_self_static
   18983 
   18984 # Compiler flag to prevent dynamic linking.
   18985 link_static_flag=$lt_lt_prog_compiler_static_RC
   18986 
   18987 # Compiler flag to turn off builtin functions.
   18988 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   18989 
   18990 # Compiler flag to allow reflexive dlopens.
   18991 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   18992 
   18993 # Compiler flag to generate shared objects directly from archives.
   18994 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   18995 
   18996 # Compiler flag to generate thread-safe objects.
   18997 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   18998 
   18999 # Library versioning type.
   19000 version_type=$version_type
   19001 
   19002 # Format of library name prefix.
   19003 libname_spec=$lt_libname_spec
   19004 
   19005 # List of archive names.  First name is the real one, the rest are links.
   19006 # The last name is the one that the linker finds with -lNAME.
   19007 library_names_spec=$lt_library_names_spec
   19008 
   19009 # The coded name of the library, if different from the real name.
   19010 soname_spec=$lt_soname_spec
   19011 
   19012 # Commands used to build and install an old-style archive.
   19013 RANLIB=$lt_RANLIB
   19014 old_archive_cmds=$lt_old_archive_cmds_RC
   19015 old_postinstall_cmds=$lt_old_postinstall_cmds
   19016 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19017 
   19018 # Create an old-style archive from a shared archive.
   19019 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19020 
   19021 # Create a temporary old-style archive to link instead of a shared archive.
   19022 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19023 
   19024 # Commands used to build and install a shared archive.
   19025 archive_cmds=$lt_archive_cmds_RC
   19026 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19027 postinstall_cmds=$lt_postinstall_cmds
   19028 postuninstall_cmds=$lt_postuninstall_cmds
   19029 
   19030 # Commands used to build a loadable module (assumed same as above if empty)
   19031 module_cmds=$lt_module_cmds_RC
   19032 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19033 
   19034 # Commands to strip libraries.
   19035 old_striplib=$lt_old_striplib
   19036 striplib=$lt_striplib
   19037 
   19038 # Dependencies to place before the objects being linked to create a
   19039 # shared library.
   19040 predep_objects=$lt_predep_objects_RC
   19041 
   19042 # Dependencies to place after the objects being linked to create a
   19043 # shared library.
   19044 postdep_objects=$lt_postdep_objects_RC
   19045 
   19046 # Dependencies to place before the objects being linked to create a
   19047 # shared library.
   19048 predeps=$lt_predeps_RC
   19049 
   19050 # Dependencies to place after the objects being linked to create a
   19051 # shared library.
   19052 postdeps=$lt_postdeps_RC
   19053 
   19054 # The library search path used internally by the compiler when linking
   19055 # a shared library.
   19056 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19057 
   19058 # Method to check whether dependent libraries are shared objects.
   19059 deplibs_check_method=$lt_deplibs_check_method
   19060 
   19061 # Command to use when deplibs_check_method == file_magic.
   19062 file_magic_cmd=$lt_file_magic_cmd
   19063 
   19064 # Flag that allows shared libraries with undefined symbols to be built.
   19065 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19066 
   19067 # Flag that forces no undefined symbols.
   19068 no_undefined_flag=$lt_no_undefined_flag_RC
   19069 
   19070 # Commands used to finish a libtool library installation in a directory.
   19071 finish_cmds=$lt_finish_cmds
   19072 
   19073 # Same as above, but a single script fragment to be evaled but not shown.
   19074 finish_eval=$lt_finish_eval
   19075 
   19076 # Take the output of nm and produce a listing of raw symbols and C names.
   19077 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19078 
   19079 # Transform the output of nm in a proper C declaration
   19080 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19081 
   19082 # Transform the output of nm in a C name address pair
   19083 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19084 
   19085 # This is the shared library runtime path variable.
   19086 runpath_var=$runpath_var
   19087 
   19088 # This is the shared library path variable.
   19089 shlibpath_var=$shlibpath_var
   19090 
   19091 # Is shlibpath searched before the hard-coded library search path?
   19092 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19093 
   19094 # How to hardcode a shared library path into an executable.
   19095 hardcode_action=$hardcode_action_RC
   19096 
   19097 # Whether we should hardcode library paths into libraries.
   19098 hardcode_into_libs=$hardcode_into_libs
   19099 
   19100 # Flag to hardcode \$libdir into a binary during linking.
   19101 # This must work even if \$libdir does not exist.
   19102 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19103 
   19104 # If ld is used when linking, flag to hardcode \$libdir into
   19105 # a binary during linking. This must work even if \$libdir does
   19106 # not exist.
   19107 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19108 
   19109 # Whether we need a single -rpath flag with a separated argument.
   19110 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19111 
   19112 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19113 # resulting binary.
   19114 hardcode_direct=$hardcode_direct_RC
   19115 
   19116 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19117 # resulting binary.
   19118 hardcode_minus_L=$hardcode_minus_L_RC
   19119 
   19120 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19121 # the resulting binary.
   19122 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19123 
   19124 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19125 # and all subsequent libraries and executables linked against it.
   19126 hardcode_automatic=$hardcode_automatic_RC
   19127 
   19128 # Variables whose values should be saved in libtool wrapper scripts and
   19129 # restored at relink time.
   19130 variables_saved_for_relink="$variables_saved_for_relink"
   19131 
   19132 # Whether libtool must link a program against all its dependency libraries.
   19133 link_all_deplibs=$link_all_deplibs_RC
   19134 
   19135 # Compile-time system search path for libraries
   19136 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19137 
   19138 # Run-time system search path for libraries
   19139 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19140 
   19141 # Fix the shell variable \$srcfile for the compiler.
   19142 fix_srcfile_path="$fix_srcfile_path_RC"
   19143 
   19144 # Set to yes if exported symbols are required.
   19145 always_export_symbols=$always_export_symbols_RC
   19146 
   19147 # The commands to list exported symbols.
   19148 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19149 
   19150 # The commands to extract the exported symbol list from a shared archive.
   19151 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19152 
   19153 # Symbols that should not be listed in the preloaded symbols.
   19154 exclude_expsyms=$lt_exclude_expsyms_RC
   19155 
   19156 # Symbols that must always be exported.
   19157 include_expsyms=$lt_include_expsyms_RC
   19158 
   19159 # ### END LIBTOOL TAG CONFIG: $tagname
   19160 
   19161 __EOF__
   19162 
   19163 
   19164 else
   19165   # If there is no Makefile yet, we rely on a make rule to execute
   19166   # `config.status --recheck' to rerun these tests and create the
   19167   # libtool script then.
   19168   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19169   if test -f "$ltmain_in"; then
   19170     test -f Makefile && make "$ltmain"
   19171   fi
   19172 fi
   19173 
   19174 
   19175 ac_ext=c
   19176 ac_cpp='$CPP $CPPFLAGS'
   19177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19180 
   19181 CC="$lt_save_CC"
   19182 
   19183 	;;
   19184 
   19185       *)
   19186 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19187 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19188    { (exit 1); exit 1; }; }
   19189 	;;
   19190       esac
   19191 
   19192       # Append the new tag name to the list of available tags.
   19193       if test -n "$tagname" ; then
   19194       available_tags="$available_tags $tagname"
   19195     fi
   19196     fi
   19197   done
   19198   IFS="$lt_save_ifs"
   19199 
   19200   # Now substitute the updated list of available tags.
   19201   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19202     mv "${ofile}T" "$ofile"
   19203     chmod +x "$ofile"
   19204   else
   19205     rm -f "${ofile}T"
   19206     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19207 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19208    { (exit 1); exit 1; }; }
   19209   fi
   19210 fi
   19211 
   19212 
   19213 
   19214 # This can be used to rebuild libtool when needed
   19215 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19216 
   19217 # Always use our own libtool.
   19218 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19219 
   19220 # Prevent multiple expansion
   19221 
   19222 
   19223 
   19224 
   19225 
   19226 
   19227 
   19228 
   19229 
   19230 
   19231 
   19232 
   19233 
   19234 
   19235 
   19236 
   19237 
   19238 
   19239 
   19240 
   19241 
   19242 
   19243 if  test "x$GCC" = xyes ; then
   19244     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   19245 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   19246 -Wbad-function-cast"
   19247     case `$CC -dumpversion` in
   19248     3.4.* | 4.*)
   19249 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   19250 	;;
   19251     esac
   19252 else
   19253     { echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   19254 echo $ECHO_N "checking whether __SUNPRO_C is declared... $ECHO_C" >&6; }
   19255 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   19256   echo $ECHO_N "(cached) $ECHO_C" >&6
   19257 else
   19258   cat >conftest.$ac_ext <<_ACEOF
   19259 /* confdefs.h.  */
   19260 _ACEOF
   19261 cat confdefs.h >>conftest.$ac_ext
   19262 cat >>conftest.$ac_ext <<_ACEOF
   19263 /* end confdefs.h.  */
   19264 $ac_includes_default
   19265 int
   19266 main ()
   19267 {
   19268 #ifndef __SUNPRO_C
   19269   (void) __SUNPRO_C;
   19270 #endif
   19271 
   19272   ;
   19273   return 0;
   19274 }
   19275 _ACEOF
   19276 rm -f conftest.$ac_objext
   19277 if { (ac_try="$ac_compile"
   19278 case "(($ac_try" in
   19279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19280   *) ac_try_echo=$ac_try;;
   19281 esac
   19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19283   (eval "$ac_compile") 2>conftest.er1
   19284   ac_status=$?
   19285   grep -v '^ *+' conftest.er1 >conftest.err
   19286   rm -f conftest.er1
   19287   cat conftest.err >&5
   19288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19289   (exit $ac_status); } && {
   19290 	 test -z "$ac_c_werror_flag" ||
   19291 	 test ! -s conftest.err
   19292        } && test -s conftest.$ac_objext; then
   19293   ac_cv_have_decl___SUNPRO_C=yes
   19294 else
   19295   echo "$as_me: failed program was:" >&5
   19296 sed 's/^/| /' conftest.$ac_ext >&5
   19297 
   19298 	ac_cv_have_decl___SUNPRO_C=no
   19299 fi
   19300 
   19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19302 fi
   19303 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   19304 echo "${ECHO_T}$ac_cv_have_decl___SUNPRO_C" >&6; }
   19305 if test $ac_cv_have_decl___SUNPRO_C = yes; then
   19306   SUNCC="yes"
   19307 else
   19308   SUNCC="no"
   19309 fi
   19310 
   19311     if test "x$SUNCC" = "xyes"; then
   19312 	CWARNFLAGS="-v"
   19313     fi
   19314 fi
   19315 
   19316 
   19317 
   19318 # Check for dependencies
   19319 
   19320 
   19321 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19322 	if test -n "$ac_tool_prefix"; then
   19323   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19324 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19327 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   19328   echo $ECHO_N "(cached) $ECHO_C" >&6
   19329 else
   19330   case $PKG_CONFIG in
   19331   [\\/]* | ?:[\\/]*)
   19332   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19333   ;;
   19334   *)
   19335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19336 for as_dir in $PATH
   19337 do
   19338   IFS=$as_save_IFS
   19339   test -z "$as_dir" && as_dir=.
   19340   for ac_exec_ext in '' $ac_executable_extensions; do
   19341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19342     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19343     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19344     break 2
   19345   fi
   19346 done
   19347 done
   19348 IFS=$as_save_IFS
   19349 
   19350   ;;
   19351 esac
   19352 fi
   19353 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19354 if test -n "$PKG_CONFIG"; then
   19355   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   19356 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   19357 else
   19358   { echo "$as_me:$LINENO: result: no" >&5
   19359 echo "${ECHO_T}no" >&6; }
   19360 fi
   19361 
   19362 
   19363 fi
   19364 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19365   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19366   # Extract the first word of "pkg-config", so it can be a program name with args.
   19367 set dummy pkg-config; ac_word=$2
   19368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19370 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   19371   echo $ECHO_N "(cached) $ECHO_C" >&6
   19372 else
   19373   case $ac_pt_PKG_CONFIG in
   19374   [\\/]* | ?:[\\/]*)
   19375   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19376   ;;
   19377   *)
   19378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19379 for as_dir in $PATH
   19380 do
   19381   IFS=$as_save_IFS
   19382   test -z "$as_dir" && as_dir=.
   19383   for ac_exec_ext in '' $ac_executable_extensions; do
   19384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19385     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19386     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19387     break 2
   19388   fi
   19389 done
   19390 done
   19391 IFS=$as_save_IFS
   19392 
   19393   ;;
   19394 esac
   19395 fi
   19396 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19397 if test -n "$ac_pt_PKG_CONFIG"; then
   19398   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   19399 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   19400 else
   19401   { echo "$as_me:$LINENO: result: no" >&5
   19402 echo "${ECHO_T}no" >&6; }
   19403 fi
   19404 
   19405   if test "x$ac_pt_PKG_CONFIG" = x; then
   19406     PKG_CONFIG=""
   19407   else
   19408     case $cross_compiling:$ac_tool_warned in
   19409 yes:)
   19410 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19411 whose name does not start with the host triplet.  If you think this
   19412 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19413 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19414 whose name does not start with the host triplet.  If you think this
   19415 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19416 ac_tool_warned=yes ;;
   19417 esac
   19418     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19419   fi
   19420 else
   19421   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19422 fi
   19423 
   19424 fi
   19425 if test -n "$PKG_CONFIG"; then
   19426 	_pkg_min_version=0.9.0
   19427 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   19428 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   19429 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19430 		{ echo "$as_me:$LINENO: result: yes" >&5
   19431 echo "${ECHO_T}yes" >&6; }
   19432 	else
   19433 		{ echo "$as_me:$LINENO: result: no" >&5
   19434 echo "${ECHO_T}no" >&6; }
   19435 		PKG_CONFIG=""
   19436 	fi
   19437 
   19438 fi
   19439 
   19440 pkg_failed=no
   19441 { echo "$as_me:$LINENO: checking for FS" >&5
   19442 echo $ECHO_N "checking for FS... $ECHO_C" >&6; }
   19443 
   19444 if test -n "$PKG_CONFIG"; then
   19445         if test -n "$PKG_CONFIG" && \
   19446     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto fontsproto\"") >&5
   19447   ($PKG_CONFIG --exists --print-errors "xproto fontsproto") 2>&5
   19448   ac_status=$?
   19449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19450   (exit $ac_status); }; then
   19451   pkg_cv_FS_CFLAGS=`$PKG_CONFIG --cflags "xproto fontsproto" 2>/dev/null`
   19452 else
   19453   pkg_failed=yes
   19454 fi
   19455 else
   19456 	pkg_failed=untried
   19457 fi
   19458 if test -n "$PKG_CONFIG"; then
   19459         if test -n "$PKG_CONFIG" && \
   19460     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto fontsproto\"") >&5
   19461   ($PKG_CONFIG --exists --print-errors "xproto fontsproto") 2>&5
   19462   ac_status=$?
   19463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19464   (exit $ac_status); }; then
   19465   pkg_cv_FS_LIBS=`$PKG_CONFIG --libs "xproto fontsproto" 2>/dev/null`
   19466 else
   19467   pkg_failed=yes
   19468 fi
   19469 else
   19470 	pkg_failed=untried
   19471 fi
   19472 
   19473 if test $pkg_failed = yes; then
   19474 	FS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto fontsproto"`
   19475 	# Put the nasty error message in config.log where it belongs
   19476 	echo "$FS_PKG_ERRORS" 1>&5
   19477 
   19478 	{ { echo "$as_me:$LINENO: error: Package requirements (xproto fontsproto) were not met.
   19479 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19480 installed software in a non-standard prefix.
   19481 
   19482 Alternatively you may set the FS_CFLAGS and FS_LIBS environment variables
   19483 to avoid the need to call pkg-config.  See the pkg-config man page for
   19484 more details." >&5
   19485 echo "$as_me: error: Package requirements (xproto fontsproto) were not met.
   19486 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19487 installed software in a non-standard prefix.
   19488 
   19489 Alternatively you may set the FS_CFLAGS and FS_LIBS environment variables
   19490 to avoid the need to call pkg-config.  See the pkg-config man page for
   19491 more details." >&2;}
   19492    { (exit 1); exit 1; }; }
   19493 elif test $pkg_failed = untried; then
   19494 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19495 is in your PATH or set the PKG_CONFIG environment variable to the full
   19496 path to pkg-config.
   19497 
   19498 Alternatively you may set the FS_CFLAGS and FS_LIBS environment variables
   19499 to avoid the need to call pkg-config.  See the pkg-config man page for
   19500 more details.
   19501 
   19502 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19503 See \`config.log' for more details." >&5
   19504 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19505 is in your PATH or set the PKG_CONFIG environment variable to the full
   19506 path to pkg-config.
   19507 
   19508 Alternatively you may set the FS_CFLAGS and FS_LIBS environment variables
   19509 to avoid the need to call pkg-config.  See the pkg-config man page for
   19510 more details.
   19511 
   19512 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19513 See \`config.log' for more details." >&2;}
   19514    { (exit 1); exit 1; }; }
   19515 else
   19516 	FS_CFLAGS=$pkg_cv_FS_CFLAGS
   19517 	FS_LIBS=$pkg_cv_FS_LIBS
   19518         { echo "$as_me:$LINENO: result: yes" >&5
   19519 echo "${ECHO_T}yes" >&6; }
   19520 	:
   19521 fi
   19522 
   19523 
   19524 #
   19525 # Split out so we don't include xtrans C flags in fs.pc
   19526 #
   19527 
   19528 pkg_failed=no
   19529 { echo "$as_me:$LINENO: checking for XTRANS" >&5
   19530 echo $ECHO_N "checking for XTRANS... $ECHO_C" >&6; }
   19531 
   19532 if test -n "$PKG_CONFIG"; then
   19533         if test -n "$PKG_CONFIG" && \
   19534     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtrans\"") >&5
   19535   ($PKG_CONFIG --exists --print-errors "xtrans") 2>&5
   19536   ac_status=$?
   19537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19538   (exit $ac_status); }; then
   19539   pkg_cv_XTRANS_CFLAGS=`$PKG_CONFIG --cflags "xtrans" 2>/dev/null`
   19540 else
   19541   pkg_failed=yes
   19542 fi
   19543 else
   19544 	pkg_failed=untried
   19545 fi
   19546 if test -n "$PKG_CONFIG"; then
   19547         if test -n "$PKG_CONFIG" && \
   19548     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtrans\"") >&5
   19549   ($PKG_CONFIG --exists --print-errors "xtrans") 2>&5
   19550   ac_status=$?
   19551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19552   (exit $ac_status); }; then
   19553   pkg_cv_XTRANS_LIBS=`$PKG_CONFIG --libs "xtrans" 2>/dev/null`
   19554 else
   19555   pkg_failed=yes
   19556 fi
   19557 else
   19558 	pkg_failed=untried
   19559 fi
   19560 
   19561 if test $pkg_failed = yes; then
   19562 	XTRANS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xtrans"`
   19563 	# Put the nasty error message in config.log where it belongs
   19564 	echo "$XTRANS_PKG_ERRORS" 1>&5
   19565 
   19566 	{ { echo "$as_me:$LINENO: error: Package requirements (xtrans) were not met.
   19567 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19568 installed software in a non-standard prefix.
   19569 
   19570 Alternatively you may set the XTRANS_CFLAGS and XTRANS_LIBS environment variables
   19571 to avoid the need to call pkg-config.  See the pkg-config man page for
   19572 more details." >&5
   19573 echo "$as_me: error: Package requirements (xtrans) were not met.
   19574 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19575 installed software in a non-standard prefix.
   19576 
   19577 Alternatively you may set the XTRANS_CFLAGS and XTRANS_LIBS environment variables
   19578 to avoid the need to call pkg-config.  See the pkg-config man page for
   19579 more details." >&2;}
   19580    { (exit 1); exit 1; }; }
   19581 elif test $pkg_failed = untried; then
   19582 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19583 is in your PATH or set the PKG_CONFIG environment variable to the full
   19584 path to pkg-config.
   19585 
   19586 Alternatively you may set the XTRANS_CFLAGS and XTRANS_LIBS environment variables
   19587 to avoid the need to call pkg-config.  See the pkg-config man page for
   19588 more details.
   19589 
   19590 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19591 See \`config.log' for more details." >&5
   19592 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19593 is in your PATH or set the PKG_CONFIG environment variable to the full
   19594 path to pkg-config.
   19595 
   19596 Alternatively you may set the XTRANS_CFLAGS and XTRANS_LIBS environment variables
   19597 to avoid the need to call pkg-config.  See the pkg-config man page for
   19598 more details.
   19599 
   19600 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19601 See \`config.log' for more details." >&2;}
   19602    { (exit 1); exit 1; }; }
   19603 else
   19604 	XTRANS_CFLAGS=$pkg_cv_XTRANS_CFLAGS
   19605 	XTRANS_LIBS=$pkg_cv_XTRANS_LIBS
   19606         { echo "$as_me:$LINENO: result: yes" >&5
   19607 echo "${ECHO_T}yes" >&6; }
   19608 	:
   19609 fi
   19610 
   19611 
   19612 
   19613 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   19614 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
   19615 if test "${ac_cv_type_signal+set}" = set; then
   19616   echo $ECHO_N "(cached) $ECHO_C" >&6
   19617 else
   19618   cat >conftest.$ac_ext <<_ACEOF
   19619 /* confdefs.h.  */
   19620 _ACEOF
   19621 cat confdefs.h >>conftest.$ac_ext
   19622 cat >>conftest.$ac_ext <<_ACEOF
   19623 /* end confdefs.h.  */
   19624 #include <sys/types.h>
   19625 #include <signal.h>
   19626 
   19627 int
   19628 main ()
   19629 {
   19630 return *(signal (0, 0)) (0) == 1;
   19631   ;
   19632   return 0;
   19633 }
   19634 _ACEOF
   19635 rm -f conftest.$ac_objext
   19636 if { (ac_try="$ac_compile"
   19637 case "(($ac_try" in
   19638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19639   *) ac_try_echo=$ac_try;;
   19640 esac
   19641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19642   (eval "$ac_compile") 2>conftest.er1
   19643   ac_status=$?
   19644   grep -v '^ *+' conftest.er1 >conftest.err
   19645   rm -f conftest.er1
   19646   cat conftest.err >&5
   19647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19648   (exit $ac_status); } && {
   19649 	 test -z "$ac_c_werror_flag" ||
   19650 	 test ! -s conftest.err
   19651        } && test -s conftest.$ac_objext; then
   19652   ac_cv_type_signal=int
   19653 else
   19654   echo "$as_me: failed program was:" >&5
   19655 sed 's/^/| /' conftest.$ac_ext >&5
   19656 
   19657 	ac_cv_type_signal=void
   19658 fi
   19659 
   19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19661 fi
   19662 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   19663 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
   19664 
   19665 cat >>confdefs.h <<_ACEOF
   19666 #define RETSIGTYPE $ac_cv_type_signal
   19667 _ACEOF
   19668 
   19669 
   19670 
   19671 
   19672 
   19673  case $host_os in
   19674 	mingw*)	unixdef="no"   ;;
   19675 	*)	unixdef="yes"  ;;
   19676  esac
   19677  # Check whether --enable-unix-transport was given.
   19678 if test "${enable_unix_transport+set}" = set; then
   19679   enableval=$enable_unix_transport; UNIXCONN=$enableval
   19680 else
   19681   UNIXCONN=$unixdef
   19682 fi
   19683 
   19684  { echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
   19685 echo $ECHO_N "checking if Xtrans should support UNIX socket connections... $ECHO_C" >&6; }
   19686  if test "$UNIXCONN" = "yes"; then
   19687 
   19688 cat >>confdefs.h <<\_ACEOF
   19689 #define UNIXCONN 1
   19690 _ACEOF
   19691 
   19692  fi
   19693  { echo "$as_me:$LINENO: result: $UNIXCONN" >&5
   19694 echo "${ECHO_T}$UNIXCONN" >&6; }
   19695  # Check whether --enable-tcp-transport was given.
   19696 if test "${enable_tcp_transport+set}" = set; then
   19697   enableval=$enable_tcp_transport; TCPCONN=$enableval
   19698 else
   19699   TCPCONN=yes
   19700 fi
   19701 
   19702  { echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
   19703 echo $ECHO_N "checking if Xtrans should support TCP socket connections... $ECHO_C" >&6; }
   19704  { echo "$as_me:$LINENO: result: $TCPCONN" >&5
   19705 echo "${ECHO_T}$TCPCONN" >&6; }
   19706  if test "$TCPCONN" = "yes"; then
   19707 
   19708 cat >>confdefs.h <<\_ACEOF
   19709 #define TCPCONN 1
   19710 _ACEOF
   19711 
   19712 
   19713  # SVR4 hides these in libraries other than libc
   19714  { echo "$as_me:$LINENO: checking for library containing socket" >&5
   19715 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
   19716 if test "${ac_cv_search_socket+set}" = set; then
   19717   echo $ECHO_N "(cached) $ECHO_C" >&6
   19718 else
   19719   ac_func_search_save_LIBS=$LIBS
   19720 cat >conftest.$ac_ext <<_ACEOF
   19721 /* confdefs.h.  */
   19722 _ACEOF
   19723 cat confdefs.h >>conftest.$ac_ext
   19724 cat >>conftest.$ac_ext <<_ACEOF
   19725 /* end confdefs.h.  */
   19726 
   19727 /* Override any GCC internal prototype to avoid an error.
   19728    Use char because int might match the return type of a GCC
   19729    builtin and then its argument prototype would still apply.  */
   19730 #ifdef __cplusplus
   19731 extern "C"
   19732 #endif
   19733 char socket ();
   19734 int
   19735 main ()
   19736 {
   19737 return socket ();
   19738   ;
   19739   return 0;
   19740 }
   19741 _ACEOF
   19742 for ac_lib in '' socket; do
   19743   if test -z "$ac_lib"; then
   19744     ac_res="none required"
   19745   else
   19746     ac_res=-l$ac_lib
   19747     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19748   fi
   19749   rm -f conftest.$ac_objext conftest$ac_exeext
   19750 if { (ac_try="$ac_link"
   19751 case "(($ac_try" in
   19752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19753   *) ac_try_echo=$ac_try;;
   19754 esac
   19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19756   (eval "$ac_link") 2>conftest.er1
   19757   ac_status=$?
   19758   grep -v '^ *+' conftest.er1 >conftest.err
   19759   rm -f conftest.er1
   19760   cat conftest.err >&5
   19761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19762   (exit $ac_status); } && {
   19763 	 test -z "$ac_c_werror_flag" ||
   19764 	 test ! -s conftest.err
   19765        } && test -s conftest$ac_exeext &&
   19766        $as_test_x conftest$ac_exeext; then
   19767   ac_cv_search_socket=$ac_res
   19768 else
   19769   echo "$as_me: failed program was:" >&5
   19770 sed 's/^/| /' conftest.$ac_ext >&5
   19771 
   19772 
   19773 fi
   19774 
   19775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19776       conftest$ac_exeext
   19777   if test "${ac_cv_search_socket+set}" = set; then
   19778   break
   19779 fi
   19780 done
   19781 if test "${ac_cv_search_socket+set}" = set; then
   19782   :
   19783 else
   19784   ac_cv_search_socket=no
   19785 fi
   19786 rm conftest.$ac_ext
   19787 LIBS=$ac_func_search_save_LIBS
   19788 fi
   19789 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
   19790 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
   19791 ac_res=$ac_cv_search_socket
   19792 if test "$ac_res" != no; then
   19793   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19794 
   19795 fi
   19796 
   19797  { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
   19798 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
   19799 if test "${ac_cv_search_gethostbyname+set}" = set; then
   19800   echo $ECHO_N "(cached) $ECHO_C" >&6
   19801 else
   19802   ac_func_search_save_LIBS=$LIBS
   19803 cat >conftest.$ac_ext <<_ACEOF
   19804 /* confdefs.h.  */
   19805 _ACEOF
   19806 cat confdefs.h >>conftest.$ac_ext
   19807 cat >>conftest.$ac_ext <<_ACEOF
   19808 /* end confdefs.h.  */
   19809 
   19810 /* Override any GCC internal prototype to avoid an error.
   19811    Use char because int might match the return type of a GCC
   19812    builtin and then its argument prototype would still apply.  */
   19813 #ifdef __cplusplus
   19814 extern "C"
   19815 #endif
   19816 char gethostbyname ();
   19817 int
   19818 main ()
   19819 {
   19820 return gethostbyname ();
   19821   ;
   19822   return 0;
   19823 }
   19824 _ACEOF
   19825 for ac_lib in '' nsl; do
   19826   if test -z "$ac_lib"; then
   19827     ac_res="none required"
   19828   else
   19829     ac_res=-l$ac_lib
   19830     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19831   fi
   19832   rm -f conftest.$ac_objext conftest$ac_exeext
   19833 if { (ac_try="$ac_link"
   19834 case "(($ac_try" in
   19835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19836   *) ac_try_echo=$ac_try;;
   19837 esac
   19838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19839   (eval "$ac_link") 2>conftest.er1
   19840   ac_status=$?
   19841   grep -v '^ *+' conftest.er1 >conftest.err
   19842   rm -f conftest.er1
   19843   cat conftest.err >&5
   19844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19845   (exit $ac_status); } && {
   19846 	 test -z "$ac_c_werror_flag" ||
   19847 	 test ! -s conftest.err
   19848        } && test -s conftest$ac_exeext &&
   19849        $as_test_x conftest$ac_exeext; then
   19850   ac_cv_search_gethostbyname=$ac_res
   19851 else
   19852   echo "$as_me: failed program was:" >&5
   19853 sed 's/^/| /' conftest.$ac_ext >&5
   19854 
   19855 
   19856 fi
   19857 
   19858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19859       conftest$ac_exeext
   19860   if test "${ac_cv_search_gethostbyname+set}" = set; then
   19861   break
   19862 fi
   19863 done
   19864 if test "${ac_cv_search_gethostbyname+set}" = set; then
   19865   :
   19866 else
   19867   ac_cv_search_gethostbyname=no
   19868 fi
   19869 rm conftest.$ac_ext
   19870 LIBS=$ac_func_search_save_LIBS
   19871 fi
   19872 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
   19873 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
   19874 ac_res=$ac_cv_search_gethostbyname
   19875 if test "$ac_res" != no; then
   19876   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19877 
   19878 fi
   19879 
   19880 
   19881 { echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
   19882 echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6; }
   19883 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
   19884   echo $ECHO_N "(cached) $ECHO_C" >&6
   19885 else
   19886   ac_check_lib_save_LIBS=$LIBS
   19887 LIBS="-lws2_32  $LIBS"
   19888 cat >conftest.$ac_ext <<_ACEOF
   19889 /* confdefs.h.  */
   19890 _ACEOF
   19891 cat confdefs.h >>conftest.$ac_ext
   19892 cat >>conftest.$ac_ext <<_ACEOF
   19893 /* end confdefs.h.  */
   19894 
   19895 
   19896 int
   19897 main ()
   19898 {
   19899 return main ();
   19900   ;
   19901   return 0;
   19902 }
   19903 _ACEOF
   19904 rm -f conftest.$ac_objext conftest$ac_exeext
   19905 if { (ac_try="$ac_link"
   19906 case "(($ac_try" in
   19907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19908   *) ac_try_echo=$ac_try;;
   19909 esac
   19910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19911   (eval "$ac_link") 2>conftest.er1
   19912   ac_status=$?
   19913   grep -v '^ *+' conftest.er1 >conftest.err
   19914   rm -f conftest.er1
   19915   cat conftest.err >&5
   19916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19917   (exit $ac_status); } && {
   19918 	 test -z "$ac_c_werror_flag" ||
   19919 	 test ! -s conftest.err
   19920        } && test -s conftest$ac_exeext &&
   19921        $as_test_x conftest$ac_exeext; then
   19922   ac_cv_lib_ws2_32_main=yes
   19923 else
   19924   echo "$as_me: failed program was:" >&5
   19925 sed 's/^/| /' conftest.$ac_ext >&5
   19926 
   19927 	ac_cv_lib_ws2_32_main=no
   19928 fi
   19929 
   19930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19931       conftest$ac_exeext conftest.$ac_ext
   19932 LIBS=$ac_check_lib_save_LIBS
   19933 fi
   19934 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
   19935 echo "${ECHO_T}$ac_cv_lib_ws2_32_main" >&6; }
   19936 if test $ac_cv_lib_ws2_32_main = yes; then
   19937   cat >>confdefs.h <<_ACEOF
   19938 #define HAVE_LIBWS2_32 1
   19939 _ACEOF
   19940 
   19941   LIBS="-lws2_32 $LIBS"
   19942 
   19943 fi
   19944 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   19945 
   19946 
   19947  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   19948  # Check whether --enable-ipv6 was given.
   19949 if test "${enable_ipv6+set}" = set; then
   19950   enableval=$enable_ipv6; IPV6CONN=$enableval
   19951 else
   19952   { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
   19953 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
   19954 if test "${ac_cv_func_getaddrinfo+set}" = set; then
   19955   echo $ECHO_N "(cached) $ECHO_C" >&6
   19956 else
   19957   cat >conftest.$ac_ext <<_ACEOF
   19958 /* confdefs.h.  */
   19959 _ACEOF
   19960 cat confdefs.h >>conftest.$ac_ext
   19961 cat >>conftest.$ac_ext <<_ACEOF
   19962 /* end confdefs.h.  */
   19963 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
   19964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   19965 #define getaddrinfo innocuous_getaddrinfo
   19966 
   19967 /* System header to define __stub macros and hopefully few prototypes,
   19968     which can conflict with char getaddrinfo (); below.
   19969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   19970     <limits.h> exists even on freestanding compilers.  */
   19971 
   19972 #ifdef __STDC__
   19973 # include <limits.h>
   19974 #else
   19975 # include <assert.h>
   19976 #endif
   19977 
   19978 #undef getaddrinfo
   19979 
   19980 /* Override any GCC internal prototype to avoid an error.
   19981    Use char because int might match the return type of a GCC
   19982    builtin and then its argument prototype would still apply.  */
   19983 #ifdef __cplusplus
   19984 extern "C"
   19985 #endif
   19986 char getaddrinfo ();
   19987 /* The GNU C library defines this for functions which it implements
   19988     to always fail with ENOSYS.  Some functions are actually named
   19989     something starting with __ and the normal name is an alias.  */
   19990 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
   19991 choke me
   19992 #endif
   19993 
   19994 int
   19995 main ()
   19996 {
   19997 return getaddrinfo ();
   19998   ;
   19999   return 0;
   20000 }
   20001 _ACEOF
   20002 rm -f conftest.$ac_objext conftest$ac_exeext
   20003 if { (ac_try="$ac_link"
   20004 case "(($ac_try" in
   20005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20006   *) ac_try_echo=$ac_try;;
   20007 esac
   20008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20009   (eval "$ac_link") 2>conftest.er1
   20010   ac_status=$?
   20011   grep -v '^ *+' conftest.er1 >conftest.err
   20012   rm -f conftest.er1
   20013   cat conftest.err >&5
   20014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20015   (exit $ac_status); } && {
   20016 	 test -z "$ac_c_werror_flag" ||
   20017 	 test ! -s conftest.err
   20018        } && test -s conftest$ac_exeext &&
   20019        $as_test_x conftest$ac_exeext; then
   20020   ac_cv_func_getaddrinfo=yes
   20021 else
   20022   echo "$as_me: failed program was:" >&5
   20023 sed 's/^/| /' conftest.$ac_ext >&5
   20024 
   20025 	ac_cv_func_getaddrinfo=no
   20026 fi
   20027 
   20028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20029       conftest$ac_exeext conftest.$ac_ext
   20030 fi
   20031 { echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
   20032 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
   20033 if test $ac_cv_func_getaddrinfo = yes; then
   20034   IPV6CONN=yes
   20035 else
   20036   IPV6CONN=no
   20037 fi
   20038 
   20039 fi
   20040 
   20041  { echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
   20042 echo $ECHO_N "checking if IPv6 support should be built... $ECHO_C" >&6; }
   20043  if test "$IPV6CONN" = "yes"; then
   20044 
   20045 cat >>confdefs.h <<\_ACEOF
   20046 #define IPv6 1
   20047 _ACEOF
   20048 
   20049  fi
   20050  { echo "$as_me:$LINENO: result: $IPV6CONN" >&5
   20051 echo "${ECHO_T}$IPV6CONN" >&6; }
   20052 
   20053  # 4.3BSD-Reno added a new member to struct sockaddr_in
   20054  { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
   20055 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
   20056 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
   20057   echo $ECHO_N "(cached) $ECHO_C" >&6
   20058 else
   20059   cat >conftest.$ac_ext <<_ACEOF
   20060 /* confdefs.h.  */
   20061 _ACEOF
   20062 cat confdefs.h >>conftest.$ac_ext
   20063 cat >>conftest.$ac_ext <<_ACEOF
   20064 /* end confdefs.h.  */
   20065 
   20066 #include <sys/types.h>
   20067 #include <sys/socket.h>
   20068 #include <netinet/in.h>
   20069 
   20070 
   20071 int
   20072 main ()
   20073 {
   20074 static struct sockaddr_in ac_aggr;
   20075 if (ac_aggr.sin_len)
   20076 return 0;
   20077   ;
   20078   return 0;
   20079 }
   20080 _ACEOF
   20081 rm -f conftest.$ac_objext
   20082 if { (ac_try="$ac_compile"
   20083 case "(($ac_try" in
   20084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20085   *) ac_try_echo=$ac_try;;
   20086 esac
   20087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20088   (eval "$ac_compile") 2>conftest.er1
   20089   ac_status=$?
   20090   grep -v '^ *+' conftest.er1 >conftest.err
   20091   rm -f conftest.er1
   20092   cat conftest.err >&5
   20093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20094   (exit $ac_status); } && {
   20095 	 test -z "$ac_c_werror_flag" ||
   20096 	 test ! -s conftest.err
   20097        } && test -s conftest.$ac_objext; then
   20098   ac_cv_member_struct_sockaddr_in_sin_len=yes
   20099 else
   20100   echo "$as_me: failed program was:" >&5
   20101 sed 's/^/| /' conftest.$ac_ext >&5
   20102 
   20103 	cat >conftest.$ac_ext <<_ACEOF
   20104 /* confdefs.h.  */
   20105 _ACEOF
   20106 cat confdefs.h >>conftest.$ac_ext
   20107 cat >>conftest.$ac_ext <<_ACEOF
   20108 /* end confdefs.h.  */
   20109 
   20110 #include <sys/types.h>
   20111 #include <sys/socket.h>
   20112 #include <netinet/in.h>
   20113 
   20114 
   20115 int
   20116 main ()
   20117 {
   20118 static struct sockaddr_in ac_aggr;
   20119 if (sizeof ac_aggr.sin_len)
   20120 return 0;
   20121   ;
   20122   return 0;
   20123 }
   20124 _ACEOF
   20125 rm -f conftest.$ac_objext
   20126 if { (ac_try="$ac_compile"
   20127 case "(($ac_try" in
   20128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20129   *) ac_try_echo=$ac_try;;
   20130 esac
   20131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20132   (eval "$ac_compile") 2>conftest.er1
   20133   ac_status=$?
   20134   grep -v '^ *+' conftest.er1 >conftest.err
   20135   rm -f conftest.er1
   20136   cat conftest.err >&5
   20137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20138   (exit $ac_status); } && {
   20139 	 test -z "$ac_c_werror_flag" ||
   20140 	 test ! -s conftest.err
   20141        } && test -s conftest.$ac_objext; then
   20142   ac_cv_member_struct_sockaddr_in_sin_len=yes
   20143 else
   20144   echo "$as_me: failed program was:" >&5
   20145 sed 's/^/| /' conftest.$ac_ext >&5
   20146 
   20147 	ac_cv_member_struct_sockaddr_in_sin_len=no
   20148 fi
   20149 
   20150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20151 fi
   20152 
   20153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20154 fi
   20155 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
   20156 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
   20157 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
   20158 
   20159 cat >>confdefs.h <<\_ACEOF
   20160 #define BSD44SOCKETS 1
   20161 _ACEOF
   20162 
   20163 fi
   20164 
   20165 
   20166  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   20167  { echo "$as_me:$LINENO: checking for socklen_t" >&5
   20168 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
   20169 if test "${ac_cv_type_socklen_t+set}" = set; then
   20170   echo $ECHO_N "(cached) $ECHO_C" >&6
   20171 else
   20172   cat >conftest.$ac_ext <<_ACEOF
   20173 /* confdefs.h.  */
   20174 _ACEOF
   20175 cat confdefs.h >>conftest.$ac_ext
   20176 cat >>conftest.$ac_ext <<_ACEOF
   20177 /* end confdefs.h.  */
   20178 
   20179 $ac_includes_default
   20180 #include <sys/socket.h>
   20181 
   20182 typedef socklen_t ac__type_new_;
   20183 int
   20184 main ()
   20185 {
   20186 if ((ac__type_new_ *) 0)
   20187   return 0;
   20188 if (sizeof (ac__type_new_))
   20189   return 0;
   20190   ;
   20191   return 0;
   20192 }
   20193 _ACEOF
   20194 rm -f conftest.$ac_objext
   20195 if { (ac_try="$ac_compile"
   20196 case "(($ac_try" in
   20197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20198   *) ac_try_echo=$ac_try;;
   20199 esac
   20200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20201   (eval "$ac_compile") 2>conftest.er1
   20202   ac_status=$?
   20203   grep -v '^ *+' conftest.er1 >conftest.err
   20204   rm -f conftest.er1
   20205   cat conftest.err >&5
   20206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20207   (exit $ac_status); } && {
   20208 	 test -z "$ac_c_werror_flag" ||
   20209 	 test ! -s conftest.err
   20210        } && test -s conftest.$ac_objext; then
   20211   ac_cv_type_socklen_t=yes
   20212 else
   20213   echo "$as_me: failed program was:" >&5
   20214 sed 's/^/| /' conftest.$ac_ext >&5
   20215 
   20216 	ac_cv_type_socklen_t=no
   20217 fi
   20218 
   20219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20220 fi
   20221 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
   20222 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
   20223 if test $ac_cv_type_socklen_t = yes; then
   20224 
   20225 cat >>confdefs.h <<_ACEOF
   20226 #define HAVE_SOCKLEN_T 1
   20227 _ACEOF
   20228 
   20229 
   20230 fi
   20231 
   20232 
   20233 
   20234  fi
   20235  case $host_os in
   20236 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   20237 	*)			localdef="no"  ;;
   20238  esac
   20239  # Check whether --enable-local-transport was given.
   20240 if test "${enable_local_transport+set}" = set; then
   20241   enableval=$enable_local_transport; LOCALCONN=$enableval
   20242 else
   20243   LOCALCONN=$localdef
   20244 fi
   20245 
   20246  { echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
   20247 echo $ECHO_N "checking if Xtrans should support os-specific local connections... $ECHO_C" >&6; }
   20248  { echo "$as_me:$LINENO: result: $LOCALCONN" >&5
   20249 echo "${ECHO_T}$LOCALCONN" >&6; }
   20250  if test "$LOCALCONN" = "yes"; then
   20251 
   20252 cat >>confdefs.h <<\_ACEOF
   20253 #define LOCALCONN 1
   20254 _ACEOF
   20255 
   20256  fi
   20257 
   20258 
   20259 
   20260 
   20261 # Check whether --enable-malloc0returnsnull was given.
   20262 if test "${enable_malloc0returnsnull+set}" = set; then
   20263   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20264 else
   20265   MALLOC_ZERO_RETURNS_NULL=auto
   20266 fi
   20267 
   20268 
   20269 { echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   20270 echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6; }
   20271 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20272 	if test "$cross_compiling" = yes; then
   20273   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   20274 See \`config.log' for more details." >&5
   20275 echo "$as_me: error: cannot run test program while cross compiling
   20276 See \`config.log' for more details." >&2;}
   20277    { (exit 1); exit 1; }; }
   20278 else
   20279   cat >conftest.$ac_ext <<_ACEOF
   20280 
   20281 char *malloc();
   20282 char *realloc();
   20283 char *calloc();
   20284 main() {
   20285     char *m0, *r0, *c0, *p;
   20286     m0 = malloc(0);
   20287     p = malloc(10);
   20288     r0 = realloc(p,0);
   20289     c0 = calloc(0);
   20290     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   20291 }
   20292 _ACEOF
   20293 rm -f conftest$ac_exeext
   20294 if { (ac_try="$ac_link"
   20295 case "(($ac_try" in
   20296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20297   *) ac_try_echo=$ac_try;;
   20298 esac
   20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20300   (eval "$ac_link") 2>&5
   20301   ac_status=$?
   20302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20303   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20304   { (case "(($ac_try" in
   20305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20306   *) ac_try_echo=$ac_try;;
   20307 esac
   20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20309   (eval "$ac_try") 2>&5
   20310   ac_status=$?
   20311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20312   (exit $ac_status); }; }; then
   20313   MALLOC_ZERO_RETURNS_NULL=yes
   20314 else
   20315   echo "$as_me: program exited with status $ac_status" >&5
   20316 echo "$as_me: failed program was:" >&5
   20317 sed 's/^/| /' conftest.$ac_ext >&5
   20318 
   20319 ( exit $ac_status )
   20320 MALLOC_ZERO_RETURNS_NULL=no
   20321 fi
   20322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20323 fi
   20324 
   20325 
   20326 fi
   20327 { echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20328 echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20329 
   20330 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20331 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20332 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20333 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20334 else
   20335 	MALLOC_ZERO_CFLAGS=""
   20336 	XMALLOC_ZERO_CFLAGS=""
   20337 	XTMALLOC_ZERO_CFLAGS=""
   20338 fi
   20339 
   20340 
   20341 
   20342 
   20343 
   20344 
   20345 
   20346 
   20347 # Allow checking code with lint, sparse, etc.
   20348 
   20349 # Check whether --with-lint was given.
   20350 if test "${with_lint+set}" = set; then
   20351   withval=$with_lint; use_lint=$withval
   20352 else
   20353   use_lint=no
   20354 fi
   20355 
   20356 if test "x$use_lint" = "xyes" ; then
   20357 	LINT="lint"
   20358 else
   20359 	LINT="$use_lint"
   20360 fi
   20361 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   20362     case $LINT in
   20363 	lint|*/lint)
   20364 	    case $host_os in
   20365 		solaris*)
   20366 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20367 			;;
   20368 	    esac
   20369 	    ;;
   20370     esac
   20371 fi
   20372 
   20373 
   20374 
   20375  if test x$LINT != xno; then
   20376   LINT_TRUE=
   20377   LINT_FALSE='#'
   20378 else
   20379   LINT_TRUE='#'
   20380   LINT_FALSE=
   20381 fi
   20382 
   20383 
   20384 
   20385 
   20386 
   20387 # Build lint "library" for more indepth checks of programs calling this library
   20388 # Check whether --enable-lint-library was given.
   20389 if test "${enable_lint_library+set}" = set; then
   20390   enableval=$enable_lint_library; make_lint_lib=$enableval
   20391 else
   20392   make_lint_lib=no
   20393 fi
   20394 
   20395 if test "x$make_lint_lib" != "xno" ; then
   20396 	if test "x$LINT" = "xno" ; then
   20397 		{ { echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   20398 echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   20399    { (exit 1); exit 1; }; }
   20400 	fi
   20401 	if test "x$make_lint_lib" = "xyes" ; then
   20402 		LINTLIB=llib-lFS.ln
   20403 	else
   20404 		LINTLIB=$make_lint_lib
   20405 	fi
   20406 fi
   20407 
   20408  if test x$make_lint_lib != xno; then
   20409   MAKE_LINT_LIB_TRUE=
   20410   MAKE_LINT_LIB_FALSE='#'
   20411 else
   20412   MAKE_LINT_LIB_TRUE='#'
   20413   MAKE_LINT_LIB_FALSE=
   20414 fi
   20415 
   20416 
   20417 
   20418 
   20419 
   20420 
   20421 # Check whether --with-release-version was given.
   20422 if test "${with_release_version+set}" = set; then
   20423   withval=$with_release_version; RELEASE_VERSION="$withval"
   20424 else
   20425   RELEASE_VERSION=""
   20426 fi
   20427 
   20428 	if test "x$RELEASE_VERSION" != "x"; then
   20429 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20430 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20431 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20432 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20433 	fi
   20434 
   20435 cat >>confdefs.h <<_ACEOF
   20436 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20437 _ACEOF
   20438 
   20439 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20440 	if test "x$PVM" = "x"; then
   20441 		PVM="0"
   20442 	fi
   20443 
   20444 cat >>confdefs.h <<_ACEOF
   20445 #define PACKAGE_VERSION_MINOR $PVM
   20446 _ACEOF
   20447 
   20448 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20449 	if test "x$PVP" = "x"; then
   20450 		PVP="0"
   20451 	fi
   20452 
   20453 cat >>confdefs.h <<_ACEOF
   20454 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20455 _ACEOF
   20456 
   20457 
   20458 
   20459 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   20460 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   20461 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   20462 
   20463 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   20464 
   20465 
   20466 
   20467 ac_config_files="$ac_config_files Makefile src/Makefile libfs.pc"
   20468 
   20469 cat >confcache <<\_ACEOF
   20470 # This file is a shell script that caches the results of configure
   20471 # tests run on this system so they can be shared between configure
   20472 # scripts and configure runs, see configure's option --config-cache.
   20473 # It is not useful on other systems.  If it contains results you don't
   20474 # want to keep, you may remove or edit it.
   20475 #
   20476 # config.status only pays attention to the cache file if you give it
   20477 # the --recheck option to rerun configure.
   20478 #
   20479 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20480 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20481 # following values.
   20482 
   20483 _ACEOF
   20484 
   20485 # The following way of writing the cache mishandles newlines in values,
   20486 # but we know of no workaround that is simple, portable, and efficient.
   20487 # So, we kill variables containing newlines.
   20488 # Ultrix sh set writes to stderr and can't be redirected directly,
   20489 # and sets the high bit in the cache file unless we assign to the vars.
   20490 (
   20491   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20492     eval ac_val=\$$ac_var
   20493     case $ac_val in #(
   20494     *${as_nl}*)
   20495       case $ac_var in #(
   20496       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   20497 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   20498       esac
   20499       case $ac_var in #(
   20500       _ | IFS | as_nl) ;; #(
   20501       *) $as_unset $ac_var ;;
   20502       esac ;;
   20503     esac
   20504   done
   20505 
   20506   (set) 2>&1 |
   20507     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20508     *${as_nl}ac_space=\ *)
   20509       # `set' does not quote correctly, so add quotes (double-quote
   20510       # substitution turns \\\\ into \\, and sed turns \\ into \).
   20511       sed -n \
   20512 	"s/'/'\\\\''/g;
   20513 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20514       ;; #(
   20515     *)
   20516       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20517       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20518       ;;
   20519     esac |
   20520     sort
   20521 ) |
   20522   sed '
   20523      /^ac_cv_env_/b end
   20524      t clear
   20525      :clear
   20526      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20527      t end
   20528      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20529      :end' >>confcache
   20530 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20531   if test -w "$cache_file"; then
   20532     test "x$cache_file" != "x/dev/null" &&
   20533       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   20534 echo "$as_me: updating cache $cache_file" >&6;}
   20535     cat confcache >$cache_file
   20536   else
   20537     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   20538 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20539   fi
   20540 fi
   20541 rm -f confcache
   20542 
   20543 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20544 # Let make expand exec_prefix.
   20545 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20546 
   20547 DEFS=-DHAVE_CONFIG_H
   20548 
   20549 ac_libobjs=
   20550 ac_ltlibobjs=
   20551 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20552   # 1. Remove the extension, and $U if already installed.
   20553   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20554   ac_i=`echo "$ac_i" | sed "$ac_script"`
   20555   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20556   #    will be set to the directory where LIBOBJS objects are built.
   20557   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20558   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   20559 done
   20560 LIBOBJS=$ac_libobjs
   20561 
   20562 LTLIBOBJS=$ac_ltlibobjs
   20563 
   20564 
   20565 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   20566   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   20567 Usually this means the macro was only invoked conditionally." >&5
   20568 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   20569 Usually this means the macro was only invoked conditionally." >&2;}
   20570    { (exit 1); exit 1; }; }
   20571 fi
   20572 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20573   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   20574 Usually this means the macro was only invoked conditionally." >&5
   20575 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   20576 Usually this means the macro was only invoked conditionally." >&2;}
   20577    { (exit 1); exit 1; }; }
   20578 fi
   20579 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20580   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20581 Usually this means the macro was only invoked conditionally." >&5
   20582 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20583 Usually this means the macro was only invoked conditionally." >&2;}
   20584    { (exit 1); exit 1; }; }
   20585 fi
   20586 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20587   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   20588 Usually this means the macro was only invoked conditionally." >&5
   20589 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   20590 Usually this means the macro was only invoked conditionally." >&2;}
   20591    { (exit 1); exit 1; }; }
   20592 fi
   20593 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   20594   { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   20595 Usually this means the macro was only invoked conditionally." >&5
   20596 echo "$as_me: error: conditional \"LINT\" was never defined.
   20597 Usually this means the macro was only invoked conditionally." >&2;}
   20598    { (exit 1); exit 1; }; }
   20599 fi
   20600 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   20601   { { echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   20602 Usually this means the macro was only invoked conditionally." >&5
   20603 echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   20604 Usually this means the macro was only invoked conditionally." >&2;}
   20605    { (exit 1); exit 1; }; }
   20606 fi
   20607 
   20608 : ${CONFIG_STATUS=./config.status}
   20609 ac_clean_files_save=$ac_clean_files
   20610 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20611 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   20612 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20613 cat >$CONFIG_STATUS <<_ACEOF
   20614 #! $SHELL
   20615 # Generated by $as_me.
   20616 # Run this file to recreate the current configuration.
   20617 # Compiler output produced by configure, useful for debugging
   20618 # configure, is in config.log if it exists.
   20619 
   20620 debug=false
   20621 ac_cs_recheck=false
   20622 ac_cs_silent=false
   20623 SHELL=\${CONFIG_SHELL-$SHELL}
   20624 _ACEOF
   20625 
   20626 cat >>$CONFIG_STATUS <<\_ACEOF
   20627 ## --------------------- ##
   20628 ## M4sh Initialization.  ##
   20629 ## --------------------- ##
   20630 
   20631 # Be more Bourne compatible
   20632 DUALCASE=1; export DUALCASE # for MKS sh
   20633 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   20634   emulate sh
   20635   NULLCMD=:
   20636   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   20637   # is contrary to our usage.  Disable this feature.
   20638   alias -g '${1+"$@"}'='"$@"'
   20639   setopt NO_GLOB_SUBST
   20640 else
   20641   case `(set -o) 2>/dev/null` in
   20642   *posix*) set -o posix ;;
   20643 esac
   20644 
   20645 fi
   20646 
   20647 
   20648 
   20649 
   20650 # PATH needs CR
   20651 # Avoid depending upon Character Ranges.
   20652 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20653 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20654 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20655 as_cr_digits='0123456789'
   20656 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20657 
   20658 # The user is always right.
   20659 if test "${PATH_SEPARATOR+set}" != set; then
   20660   echo "#! /bin/sh" >conf$$.sh
   20661   echo  "exit 0"   >>conf$$.sh
   20662   chmod +x conf$$.sh
   20663   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   20664     PATH_SEPARATOR=';'
   20665   else
   20666     PATH_SEPARATOR=:
   20667   fi
   20668   rm -f conf$$.sh
   20669 fi
   20670 
   20671 # Support unset when possible.
   20672 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   20673   as_unset=unset
   20674 else
   20675   as_unset=false
   20676 fi
   20677 
   20678 
   20679 # IFS
   20680 # We need space, tab and new line, in precisely that order.  Quoting is
   20681 # there to prevent editors from complaining about space-tab.
   20682 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20683 # splitting by setting IFS to empty value.)
   20684 as_nl='
   20685 '
   20686 IFS=" ""	$as_nl"
   20687 
   20688 # Find who we are.  Look in the path if we contain no directory separator.
   20689 case $0 in
   20690   *[\\/]* ) as_myself=$0 ;;
   20691   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20692 for as_dir in $PATH
   20693 do
   20694   IFS=$as_save_IFS
   20695   test -z "$as_dir" && as_dir=.
   20696   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20697 done
   20698 IFS=$as_save_IFS
   20699 
   20700      ;;
   20701 esac
   20702 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20703 # in which case we are not to be found in the path.
   20704 if test "x$as_myself" = x; then
   20705   as_myself=$0
   20706 fi
   20707 if test ! -f "$as_myself"; then
   20708   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20709   { (exit 1); exit 1; }
   20710 fi
   20711 
   20712 # Work around bugs in pre-3.0 UWIN ksh.
   20713 for as_var in ENV MAIL MAILPATH
   20714 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20715 done
   20716 PS1='$ '
   20717 PS2='> '
   20718 PS4='+ '
   20719 
   20720 # NLS nuisances.
   20721 for as_var in \
   20722   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   20723   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   20724   LC_TELEPHONE LC_TIME
   20725 do
   20726   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   20727     eval $as_var=C; export $as_var
   20728   else
   20729     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20730   fi
   20731 done
   20732 
   20733 # Required to use basename.
   20734 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20735    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20736   as_expr=expr
   20737 else
   20738   as_expr=false
   20739 fi
   20740 
   20741 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20742   as_basename=basename
   20743 else
   20744   as_basename=false
   20745 fi
   20746 
   20747 
   20748 # Name of the executable.
   20749 as_me=`$as_basename -- "$0" ||
   20750 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20751 	 X"$0" : 'X\(//\)$' \| \
   20752 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20753 echo X/"$0" |
   20754     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20755 	    s//\1/
   20756 	    q
   20757 	  }
   20758 	  /^X\/\(\/\/\)$/{
   20759 	    s//\1/
   20760 	    q
   20761 	  }
   20762 	  /^X\/\(\/\).*/{
   20763 	    s//\1/
   20764 	    q
   20765 	  }
   20766 	  s/.*/./; q'`
   20767 
   20768 # CDPATH.
   20769 $as_unset CDPATH
   20770 
   20771 
   20772 
   20773   as_lineno_1=$LINENO
   20774   as_lineno_2=$LINENO
   20775   test "x$as_lineno_1" != "x$as_lineno_2" &&
   20776   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   20777 
   20778   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   20779   # uniformly replaced by the line number.  The first 'sed' inserts a
   20780   # line-number line after each line using $LINENO; the second 'sed'
   20781   # does the real work.  The second script uses 'N' to pair each
   20782   # line-number line with the line containing $LINENO, and appends
   20783   # trailing '-' during substitution so that $LINENO is not a special
   20784   # case at line end.
   20785   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   20786   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   20787   # E. McMahon (1931-1989) for sed's syntax.  :-)
   20788   sed -n '
   20789     p
   20790     /[$]LINENO/=
   20791   ' <$as_myself |
   20792     sed '
   20793       s/[$]LINENO.*/&-/
   20794       t lineno
   20795       b
   20796       :lineno
   20797       N
   20798       :loop
   20799       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   20800       t loop
   20801       s/-\n.*//
   20802     ' >$as_me.lineno &&
   20803   chmod +x "$as_me.lineno" ||
   20804     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   20805    { (exit 1); exit 1; }; }
   20806 
   20807   # Don't try to exec as it changes $[0], causing all sort of problems
   20808   # (the dirname of $[0] is not the place where we might find the
   20809   # original and so on.  Autoconf is especially sensitive to this).
   20810   . "./$as_me.lineno"
   20811   # Exit status is that of the last command.
   20812   exit
   20813 }
   20814 
   20815 
   20816 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20817   as_dirname=dirname
   20818 else
   20819   as_dirname=false
   20820 fi
   20821 
   20822 ECHO_C= ECHO_N= ECHO_T=
   20823 case `echo -n x` in
   20824 -n*)
   20825   case `echo 'x\c'` in
   20826   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20827   *)   ECHO_C='\c';;
   20828   esac;;
   20829 *)
   20830   ECHO_N='-n';;
   20831 esac
   20832 
   20833 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20834    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20835   as_expr=expr
   20836 else
   20837   as_expr=false
   20838 fi
   20839 
   20840 rm -f conf$$ conf$$.exe conf$$.file
   20841 if test -d conf$$.dir; then
   20842   rm -f conf$$.dir/conf$$.file
   20843 else
   20844   rm -f conf$$.dir
   20845   mkdir conf$$.dir
   20846 fi
   20847 echo >conf$$.file
   20848 if ln -s conf$$.file conf$$ 2>/dev/null; then
   20849   as_ln_s='ln -s'
   20850   # ... but there are two gotchas:
   20851   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20852   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20853   # In both cases, we have to default to `cp -p'.
   20854   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20855     as_ln_s='cp -p'
   20856 elif ln conf$$.file conf$$ 2>/dev/null; then
   20857   as_ln_s=ln
   20858 else
   20859   as_ln_s='cp -p'
   20860 fi
   20861 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20862 rmdir conf$$.dir 2>/dev/null
   20863 
   20864 if mkdir -p . 2>/dev/null; then
   20865   as_mkdir_p=:
   20866 else
   20867   test -d ./-p && rmdir ./-p
   20868   as_mkdir_p=false
   20869 fi
   20870 
   20871 if test -x / >/dev/null 2>&1; then
   20872   as_test_x='test -x'
   20873 else
   20874   if ls -dL / >/dev/null 2>&1; then
   20875     as_ls_L_option=L
   20876   else
   20877     as_ls_L_option=
   20878   fi
   20879   as_test_x='
   20880     eval sh -c '\''
   20881       if test -d "$1"; then
   20882         test -d "$1/.";
   20883       else
   20884 	case $1 in
   20885         -*)set "./$1";;
   20886 	esac;
   20887 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   20888 	???[sx]*):;;*)false;;esac;fi
   20889     '\'' sh
   20890   '
   20891 fi
   20892 as_executable_p=$as_test_x
   20893 
   20894 # Sed expression to map a string onto a valid CPP name.
   20895 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20896 
   20897 # Sed expression to map a string onto a valid variable name.
   20898 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20899 
   20900 
   20901 exec 6>&1
   20902 
   20903 # Save the log message, to keep $[0] and so on meaningful, and to
   20904 # report actual input values of CONFIG_FILES etc. instead of their
   20905 # values after options handling.
   20906 ac_log="
   20907 This file was extended by libFS $as_me 1.0.2, which was
   20908 generated by GNU Autoconf 2.61.  Invocation command line was
   20909 
   20910   CONFIG_FILES    = $CONFIG_FILES
   20911   CONFIG_HEADERS  = $CONFIG_HEADERS
   20912   CONFIG_LINKS    = $CONFIG_LINKS
   20913   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20914   $ $0 $@
   20915 
   20916 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20917 "
   20918 
   20919 _ACEOF
   20920 
   20921 cat >>$CONFIG_STATUS <<_ACEOF
   20922 # Files that config.status was made for.
   20923 config_files="$ac_config_files"
   20924 config_headers="$ac_config_headers"
   20925 config_commands="$ac_config_commands"
   20926 
   20927 _ACEOF
   20928 
   20929 cat >>$CONFIG_STATUS <<\_ACEOF
   20930 ac_cs_usage="\
   20931 \`$as_me' instantiates files from templates according to the
   20932 current configuration.
   20933 
   20934 Usage: $0 [OPTIONS] [FILE]...
   20935 
   20936   -h, --help       print this help, then exit
   20937   -V, --version    print version number and configuration settings, then exit
   20938   -q, --quiet      do not print progress messages
   20939   -d, --debug      don't remove temporary files
   20940       --recheck    update $as_me by reconfiguring in the same conditions
   20941   --file=FILE[:TEMPLATE]
   20942 		   instantiate the configuration file FILE
   20943   --header=FILE[:TEMPLATE]
   20944 		   instantiate the configuration header FILE
   20945 
   20946 Configuration files:
   20947 $config_files
   20948 
   20949 Configuration headers:
   20950 $config_headers
   20951 
   20952 Configuration commands:
   20953 $config_commands
   20954 
   20955 Report bugs to <bug-autoconf (at] gnu.org>."
   20956 
   20957 _ACEOF
   20958 cat >>$CONFIG_STATUS <<_ACEOF
   20959 ac_cs_version="\\
   20960 libFS config.status 1.0.2
   20961 configured by $0, generated by GNU Autoconf 2.61,
   20962   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   20963 
   20964 Copyright (C) 2006 Free Software Foundation, Inc.
   20965 This config.status script is free software; the Free Software Foundation
   20966 gives unlimited permission to copy, distribute and modify it."
   20967 
   20968 ac_pwd='$ac_pwd'
   20969 srcdir='$srcdir'
   20970 INSTALL='$INSTALL'
   20971 MKDIR_P='$MKDIR_P'
   20972 _ACEOF
   20973 
   20974 cat >>$CONFIG_STATUS <<\_ACEOF
   20975 # If no file are specified by the user, then we need to provide default
   20976 # value.  By we need to know if files were specified by the user.
   20977 ac_need_defaults=:
   20978 while test $# != 0
   20979 do
   20980   case $1 in
   20981   --*=*)
   20982     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20983     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20984     ac_shift=:
   20985     ;;
   20986   *)
   20987     ac_option=$1
   20988     ac_optarg=$2
   20989     ac_shift=shift
   20990     ;;
   20991   esac
   20992 
   20993   case $ac_option in
   20994   # Handling of the options.
   20995   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20996     ac_cs_recheck=: ;;
   20997   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20998     echo "$ac_cs_version"; exit ;;
   20999   --debug | --debu | --deb | --de | --d | -d )
   21000     debug=: ;;
   21001   --file | --fil | --fi | --f )
   21002     $ac_shift
   21003     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   21004     ac_need_defaults=false;;
   21005   --header | --heade | --head | --hea )
   21006     $ac_shift
   21007     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   21008     ac_need_defaults=false;;
   21009   --he | --h)
   21010     # Conflict between --help and --header
   21011     { echo "$as_me: error: ambiguous option: $1
   21012 Try \`$0 --help' for more information." >&2
   21013    { (exit 1); exit 1; }; };;
   21014   --help | --hel | -h )
   21015     echo "$ac_cs_usage"; exit ;;
   21016   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21017   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21018     ac_cs_silent=: ;;
   21019 
   21020   # This is an error.
   21021   -*) { echo "$as_me: error: unrecognized option: $1
   21022 Try \`$0 --help' for more information." >&2
   21023    { (exit 1); exit 1; }; } ;;
   21024 
   21025   *) ac_config_targets="$ac_config_targets $1"
   21026      ac_need_defaults=false ;;
   21027 
   21028   esac
   21029   shift
   21030 done
   21031 
   21032 ac_configure_extra_args=
   21033 
   21034 if $ac_cs_silent; then
   21035   exec 6>/dev/null
   21036   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21037 fi
   21038 
   21039 _ACEOF
   21040 cat >>$CONFIG_STATUS <<_ACEOF
   21041 if \$ac_cs_recheck; then
   21042   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   21043   CONFIG_SHELL=$SHELL
   21044   export CONFIG_SHELL
   21045   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21046 fi
   21047 
   21048 _ACEOF
   21049 cat >>$CONFIG_STATUS <<\_ACEOF
   21050 exec 5>>config.log
   21051 {
   21052   echo
   21053   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21054 ## Running $as_me. ##
   21055 _ASBOX
   21056   echo "$ac_log"
   21057 } >&5
   21058 
   21059 _ACEOF
   21060 cat >>$CONFIG_STATUS <<_ACEOF
   21061 #
   21062 # INIT-COMMANDS
   21063 #
   21064 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21065 
   21066 _ACEOF
   21067 
   21068 cat >>$CONFIG_STATUS <<\_ACEOF
   21069 
   21070 # Handling of arguments.
   21071 for ac_config_target in $ac_config_targets
   21072 do
   21073   case $ac_config_target in
   21074     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21075     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21076     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21077     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21078     "libfs.pc") CONFIG_FILES="$CONFIG_FILES libfs.pc" ;;
   21079 
   21080   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21081 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21082    { (exit 1); exit 1; }; };;
   21083   esac
   21084 done
   21085 
   21086 
   21087 # If the user did not use the arguments to specify the items to instantiate,
   21088 # then the envvar interface is used.  Set only those that are not.
   21089 # We use the long form for the default assignment because of an extremely
   21090 # bizarre bug on SunOS 4.1.3.
   21091 if $ac_need_defaults; then
   21092   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21093   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21094   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21095 fi
   21096 
   21097 # Have a temporary directory for convenience.  Make it in the build tree
   21098 # simply because there is no reason against having it here, and in addition,
   21099 # creating and moving files from /tmp can sometimes cause problems.
   21100 # Hook for its removal unless debugging.
   21101 # Note that there is a small window in which the directory will not be cleaned:
   21102 # after its creation but before its name has been assigned to `$tmp'.
   21103 $debug ||
   21104 {
   21105   tmp=
   21106   trap 'exit_status=$?
   21107   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21108 ' 0
   21109   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21110 }
   21111 # Create a (secure) tmp directory for tmp files.
   21112 
   21113 {
   21114   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21115   test -n "$tmp" && test -d "$tmp"
   21116 }  ||
   21117 {
   21118   tmp=./conf$$-$RANDOM
   21119   (umask 077 && mkdir "$tmp")
   21120 } ||
   21121 {
   21122    echo "$me: cannot create a temporary directory in ." >&2
   21123    { (exit 1); exit 1; }
   21124 }
   21125 
   21126 #
   21127 # Set up the sed scripts for CONFIG_FILES section.
   21128 #
   21129 
   21130 # No need to generate the scripts if there are no CONFIG_FILES.
   21131 # This happens for instance when ./config.status config.h
   21132 if test -n "$CONFIG_FILES"; then
   21133 
   21134 _ACEOF
   21135 
   21136 
   21137 
   21138 ac_delim='%!_!# '
   21139 for ac_last_try in false false false false false :; do
   21140   cat >conf$$subs.sed <<_ACEOF
   21141 SHELL!$SHELL$ac_delim
   21142 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   21143 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   21144 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   21145 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   21146 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   21147 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   21148 exec_prefix!$exec_prefix$ac_delim
   21149 prefix!$prefix$ac_delim
   21150 program_transform_name!$program_transform_name$ac_delim
   21151 bindir!$bindir$ac_delim
   21152 sbindir!$sbindir$ac_delim
   21153 libexecdir!$libexecdir$ac_delim
   21154 datarootdir!$datarootdir$ac_delim
   21155 datadir!$datadir$ac_delim
   21156 sysconfdir!$sysconfdir$ac_delim
   21157 sharedstatedir!$sharedstatedir$ac_delim
   21158 localstatedir!$localstatedir$ac_delim
   21159 includedir!$includedir$ac_delim
   21160 oldincludedir!$oldincludedir$ac_delim
   21161 docdir!$docdir$ac_delim
   21162 infodir!$infodir$ac_delim
   21163 htmldir!$htmldir$ac_delim
   21164 dvidir!$dvidir$ac_delim
   21165 pdfdir!$pdfdir$ac_delim
   21166 psdir!$psdir$ac_delim
   21167 libdir!$libdir$ac_delim
   21168 localedir!$localedir$ac_delim
   21169 mandir!$mandir$ac_delim
   21170 DEFS!$DEFS$ac_delim
   21171 ECHO_C!$ECHO_C$ac_delim
   21172 ECHO_N!$ECHO_N$ac_delim
   21173 ECHO_T!$ECHO_T$ac_delim
   21174 LIBS!$LIBS$ac_delim
   21175 build_alias!$build_alias$ac_delim
   21176 host_alias!$host_alias$ac_delim
   21177 target_alias!$target_alias$ac_delim
   21178 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   21179 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   21180 INSTALL_DATA!$INSTALL_DATA$ac_delim
   21181 am__isrc!$am__isrc$ac_delim
   21182 CYGPATH_W!$CYGPATH_W$ac_delim
   21183 PACKAGE!$PACKAGE$ac_delim
   21184 VERSION!$VERSION$ac_delim
   21185 ACLOCAL!$ACLOCAL$ac_delim
   21186 AUTOCONF!$AUTOCONF$ac_delim
   21187 AUTOMAKE!$AUTOMAKE$ac_delim
   21188 AUTOHEADER!$AUTOHEADER$ac_delim
   21189 MAKEINFO!$MAKEINFO$ac_delim
   21190 install_sh!$install_sh$ac_delim
   21191 STRIP!$STRIP$ac_delim
   21192 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   21193 mkdir_p!$mkdir_p$ac_delim
   21194 AWK!$AWK$ac_delim
   21195 SET_MAKE!$SET_MAKE$ac_delim
   21196 am__leading_dot!$am__leading_dot$ac_delim
   21197 AMTAR!$AMTAR$ac_delim
   21198 am__tar!$am__tar$ac_delim
   21199 am__untar!$am__untar$ac_delim
   21200 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   21201 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   21202 MAINT!$MAINT$ac_delim
   21203 CC!$CC$ac_delim
   21204 CFLAGS!$CFLAGS$ac_delim
   21205 LDFLAGS!$LDFLAGS$ac_delim
   21206 CPPFLAGS!$CPPFLAGS$ac_delim
   21207 ac_ct_CC!$ac_ct_CC$ac_delim
   21208 EXEEXT!$EXEEXT$ac_delim
   21209 OBJEXT!$OBJEXT$ac_delim
   21210 DEPDIR!$DEPDIR$ac_delim
   21211 am__include!$am__include$ac_delim
   21212 am__quote!$am__quote$ac_delim
   21213 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   21214 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   21215 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   21216 CCDEPMODE!$CCDEPMODE$ac_delim
   21217 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   21218 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   21219 build!$build$ac_delim
   21220 build_cpu!$build_cpu$ac_delim
   21221 build_vendor!$build_vendor$ac_delim
   21222 build_os!$build_os$ac_delim
   21223 host!$host$ac_delim
   21224 host_cpu!$host_cpu$ac_delim
   21225 host_vendor!$host_vendor$ac_delim
   21226 host_os!$host_os$ac_delim
   21227 GREP!$GREP$ac_delim
   21228 EGREP!$EGREP$ac_delim
   21229 LN_S!$LN_S$ac_delim
   21230 ECHO!$ECHO$ac_delim
   21231 AR!$AR$ac_delim
   21232 RANLIB!$RANLIB$ac_delim
   21233 CPP!$CPP$ac_delim
   21234 CXX!$CXX$ac_delim
   21235 CXXFLAGS!$CXXFLAGS$ac_delim
   21236 ac_ct_CXX!$ac_ct_CXX$ac_delim
   21237 CXXDEPMODE!$CXXDEPMODE$ac_delim
   21238 _ACEOF
   21239 
   21240   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   21241     break
   21242   elif $ac_last_try; then
   21243     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21244 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21245    { (exit 1); exit 1; }; }
   21246   else
   21247     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21248   fi
   21249 done
   21250 
   21251 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21252 if test -n "$ac_eof"; then
   21253   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21254   ac_eof=`expr $ac_eof + 1`
   21255 fi
   21256 
   21257 cat >>$CONFIG_STATUS <<_ACEOF
   21258 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   21259 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21260 _ACEOF
   21261 sed '
   21262 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21263 s/^/s,@/; s/!/@,|#_!!_#|/
   21264 :n
   21265 t n
   21266 s/'"$ac_delim"'$/,g/; t
   21267 s/$/\\/; p
   21268 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21269 ' >>$CONFIG_STATUS <conf$$subs.sed
   21270 rm -f conf$$subs.sed
   21271 cat >>$CONFIG_STATUS <<_ACEOF
   21272 CEOF$ac_eof
   21273 _ACEOF
   21274 
   21275 
   21276 ac_delim='%!_!# '
   21277 for ac_last_try in false false false false false :; do
   21278   cat >conf$$subs.sed <<_ACEOF
   21279 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   21280 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   21281 CXXCPP!$CXXCPP$ac_delim
   21282 F77!$F77$ac_delim
   21283 FFLAGS!$FFLAGS$ac_delim
   21284 ac_ct_F77!$ac_ct_F77$ac_delim
   21285 LIBTOOL!$LIBTOOL$ac_delim
   21286 CWARNFLAGS!$CWARNFLAGS$ac_delim
   21287 PKG_CONFIG!$PKG_CONFIG$ac_delim
   21288 FS_CFLAGS!$FS_CFLAGS$ac_delim
   21289 FS_LIBS!$FS_LIBS$ac_delim
   21290 XTRANS_CFLAGS!$XTRANS_CFLAGS$ac_delim
   21291 XTRANS_LIBS!$XTRANS_LIBS$ac_delim
   21292 MALLOC_ZERO_CFLAGS!$MALLOC_ZERO_CFLAGS$ac_delim
   21293 XMALLOC_ZERO_CFLAGS!$XMALLOC_ZERO_CFLAGS$ac_delim
   21294 XTMALLOC_ZERO_CFLAGS!$XTMALLOC_ZERO_CFLAGS$ac_delim
   21295 LINT!$LINT$ac_delim
   21296 LINT_FLAGS!$LINT_FLAGS$ac_delim
   21297 LINT_TRUE!$LINT_TRUE$ac_delim
   21298 LINT_FALSE!$LINT_FALSE$ac_delim
   21299 LINTLIB!$LINTLIB$ac_delim
   21300 MAKE_LINT_LIB_TRUE!$MAKE_LINT_LIB_TRUE$ac_delim
   21301 MAKE_LINT_LIB_FALSE!$MAKE_LINT_LIB_FALSE$ac_delim
   21302 CHANGELOG_CMD!$CHANGELOG_CMD$ac_delim
   21303 distcleancheck_listfiles!$distcleancheck_listfiles$ac_delim
   21304 LIBOBJS!$LIBOBJS$ac_delim
   21305 LTLIBOBJS!$LTLIBOBJS$ac_delim
   21306 _ACEOF
   21307 
   21308   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then
   21309     break
   21310   elif $ac_last_try; then
   21311     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21312 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21313    { (exit 1); exit 1; }; }
   21314   else
   21315     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21316   fi
   21317 done
   21318 
   21319 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21320 if test -n "$ac_eof"; then
   21321   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21322   ac_eof=`expr $ac_eof + 1`
   21323 fi
   21324 
   21325 cat >>$CONFIG_STATUS <<_ACEOF
   21326 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   21327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   21328 _ACEOF
   21329 sed '
   21330 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21331 s/^/s,@/; s/!/@,|#_!!_#|/
   21332 :n
   21333 t n
   21334 s/'"$ac_delim"'$/,g/; t
   21335 s/$/\\/; p
   21336 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21337 ' >>$CONFIG_STATUS <conf$$subs.sed
   21338 rm -f conf$$subs.sed
   21339 cat >>$CONFIG_STATUS <<_ACEOF
   21340 :end
   21341 s/|#_!!_#|//g
   21342 CEOF$ac_eof
   21343 _ACEOF
   21344 
   21345 
   21346 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21347 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21348 # trailing colons and then remove the whole line if VPATH becomes empty
   21349 # (actually we leave an empty line to preserve line numbers).
   21350 if test "x$srcdir" = x.; then
   21351   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21352 s/:*\$(srcdir):*/:/
   21353 s/:*\${srcdir}:*/:/
   21354 s/:*@srcdir@:*/:/
   21355 s/^\([^=]*=[	 ]*\):*/\1/
   21356 s/:*$//
   21357 s/^[^=]*=[	 ]*$//
   21358 }'
   21359 fi
   21360 
   21361 cat >>$CONFIG_STATUS <<\_ACEOF
   21362 fi # test -n "$CONFIG_FILES"
   21363 
   21364 
   21365 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   21366 do
   21367   case $ac_tag in
   21368   :[FHLC]) ac_mode=$ac_tag; continue;;
   21369   esac
   21370   case $ac_mode$ac_tag in
   21371   :[FHL]*:*);;
   21372   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   21373 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   21374    { (exit 1); exit 1; }; };;
   21375   :[FH]-) ac_tag=-:-;;
   21376   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21377   esac
   21378   ac_save_IFS=$IFS
   21379   IFS=:
   21380   set x $ac_tag
   21381   IFS=$ac_save_IFS
   21382   shift
   21383   ac_file=$1
   21384   shift
   21385 
   21386   case $ac_mode in
   21387   :L) ac_source=$1;;
   21388   :[FH])
   21389     ac_file_inputs=
   21390     for ac_f
   21391     do
   21392       case $ac_f in
   21393       -) ac_f="$tmp/stdin";;
   21394       *) # Look for the file first in the build tree, then in the source tree
   21395 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21396 	 # because $ac_f cannot contain `:'.
   21397 	 test -f "$ac_f" ||
   21398 	   case $ac_f in
   21399 	   [\\/$]*) false;;
   21400 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21401 	   esac ||
   21402 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21403 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21404    { (exit 1); exit 1; }; };;
   21405       esac
   21406       ac_file_inputs="$ac_file_inputs $ac_f"
   21407     done
   21408 
   21409     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21410     # use $as_me), people would be surprised to read:
   21411     #    /* config.h.  Generated by config.status.  */
   21412     configure_input="Generated from "`IFS=:
   21413 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   21414     if test x"$ac_file" != x-; then
   21415       configure_input="$ac_file.  $configure_input"
   21416       { echo "$as_me:$LINENO: creating $ac_file" >&5
   21417 echo "$as_me: creating $ac_file" >&6;}
   21418     fi
   21419 
   21420     case $ac_tag in
   21421     *:-:* | *:-) cat >"$tmp/stdin";;
   21422     esac
   21423     ;;
   21424   esac
   21425 
   21426   ac_dir=`$as_dirname -- "$ac_file" ||
   21427 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21428 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21429 	 X"$ac_file" : 'X\(//\)$' \| \
   21430 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21431 echo X"$ac_file" |
   21432     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21433 	    s//\1/
   21434 	    q
   21435 	  }
   21436 	  /^X\(\/\/\)[^/].*/{
   21437 	    s//\1/
   21438 	    q
   21439 	  }
   21440 	  /^X\(\/\/\)$/{
   21441 	    s//\1/
   21442 	    q
   21443 	  }
   21444 	  /^X\(\/\).*/{
   21445 	    s//\1/
   21446 	    q
   21447 	  }
   21448 	  s/.*/./; q'`
   21449   { as_dir="$ac_dir"
   21450   case $as_dir in #(
   21451   -*) as_dir=./$as_dir;;
   21452   esac
   21453   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21454     as_dirs=
   21455     while :; do
   21456       case $as_dir in #(
   21457       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21458       *) as_qdir=$as_dir;;
   21459       esac
   21460       as_dirs="'$as_qdir' $as_dirs"
   21461       as_dir=`$as_dirname -- "$as_dir" ||
   21462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21463 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21464 	 X"$as_dir" : 'X\(//\)$' \| \
   21465 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21466 echo X"$as_dir" |
   21467     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21468 	    s//\1/
   21469 	    q
   21470 	  }
   21471 	  /^X\(\/\/\)[^/].*/{
   21472 	    s//\1/
   21473 	    q
   21474 	  }
   21475 	  /^X\(\/\/\)$/{
   21476 	    s//\1/
   21477 	    q
   21478 	  }
   21479 	  /^X\(\/\).*/{
   21480 	    s//\1/
   21481 	    q
   21482 	  }
   21483 	  s/.*/./; q'`
   21484       test -d "$as_dir" && break
   21485     done
   21486     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21487   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21488 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21489    { (exit 1); exit 1; }; }; }
   21490   ac_builddir=.
   21491 
   21492 case "$ac_dir" in
   21493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21494 *)
   21495   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   21496   # A ".." for each directory in $ac_dir_suffix.
   21497   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   21498   case $ac_top_builddir_sub in
   21499   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21500   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21501   esac ;;
   21502 esac
   21503 ac_abs_top_builddir=$ac_pwd
   21504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21505 # for backward compatibility:
   21506 ac_top_builddir=$ac_top_build_prefix
   21507 
   21508 case $srcdir in
   21509   .)  # We are building in place.
   21510     ac_srcdir=.
   21511     ac_top_srcdir=$ac_top_builddir_sub
   21512     ac_abs_top_srcdir=$ac_pwd ;;
   21513   [\\/]* | ?:[\\/]* )  # Absolute name.
   21514     ac_srcdir=$srcdir$ac_dir_suffix;
   21515     ac_top_srcdir=$srcdir
   21516     ac_abs_top_srcdir=$srcdir ;;
   21517   *) # Relative name.
   21518     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21519     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21520     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21521 esac
   21522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21523 
   21524 
   21525   case $ac_mode in
   21526   :F)
   21527   #
   21528   # CONFIG_FILE
   21529   #
   21530 
   21531   case $INSTALL in
   21532   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21533   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21534   esac
   21535   ac_MKDIR_P=$MKDIR_P
   21536   case $MKDIR_P in
   21537   [\\/$]* | ?:[\\/]* ) ;;
   21538   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21539   esac
   21540 _ACEOF
   21541 
   21542 cat >>$CONFIG_STATUS <<\_ACEOF
   21543 # If the template does not know about datarootdir, expand it.
   21544 # FIXME: This hack should be removed a few years after 2.60.
   21545 ac_datarootdir_hack=; ac_datarootdir_seen=
   21546 
   21547 case `sed -n '/datarootdir/ {
   21548   p
   21549   q
   21550 }
   21551 /@datadir@/p
   21552 /@docdir@/p
   21553 /@infodir@/p
   21554 /@localedir@/p
   21555 /@mandir@/p
   21556 ' $ac_file_inputs` in
   21557 *datarootdir*) ac_datarootdir_seen=yes;;
   21558 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21559   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21560 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21561 _ACEOF
   21562 cat >>$CONFIG_STATUS <<_ACEOF
   21563   ac_datarootdir_hack='
   21564   s&@datadir@&$datadir&g
   21565   s&@docdir@&$docdir&g
   21566   s&@infodir@&$infodir&g
   21567   s&@localedir@&$localedir&g
   21568   s&@mandir@&$mandir&g
   21569     s&\\\${datarootdir}&$datarootdir&g' ;;
   21570 esac
   21571 _ACEOF
   21572 
   21573 # Neutralize VPATH when `$srcdir' = `.'.
   21574 # Shell code in configure.ac might set extrasub.
   21575 # FIXME: do we really want to maintain this feature?
   21576 cat >>$CONFIG_STATUS <<_ACEOF
   21577   sed "$ac_vpsub
   21578 $extrasub
   21579 _ACEOF
   21580 cat >>$CONFIG_STATUS <<\_ACEOF
   21581 :t
   21582 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21583 s&@configure_input@&$configure_input&;t t
   21584 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21585 s&@srcdir@&$ac_srcdir&;t t
   21586 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21587 s&@top_srcdir@&$ac_top_srcdir&;t t
   21588 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21589 s&@builddir@&$ac_builddir&;t t
   21590 s&@abs_builddir@&$ac_abs_builddir&;t t
   21591 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21592 s&@INSTALL@&$ac_INSTALL&;t t
   21593 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21594 $ac_datarootdir_hack
   21595 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   21596 
   21597 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21598   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   21599   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   21600   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21601 which seems to be undefined.  Please make sure it is defined." >&5
   21602 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21603 which seems to be undefined.  Please make sure it is defined." >&2;}
   21604 
   21605   rm -f "$tmp/stdin"
   21606   case $ac_file in
   21607   -) cat "$tmp/out"; rm -f "$tmp/out";;
   21608   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   21609   esac
   21610  ;;
   21611   :H)
   21612   #
   21613   # CONFIG_HEADER
   21614   #
   21615 _ACEOF
   21616 
   21617 # Transform confdefs.h into a sed script `conftest.defines', that
   21618 # substitutes the proper values into config.h.in to produce config.h.
   21619 rm -f conftest.defines conftest.tail
   21620 # First, append a space to every undef/define line, to ease matching.
   21621 echo 's/$/ /' >conftest.defines
   21622 # Then, protect against being on the right side of a sed subst, or in
   21623 # an unquoted here document, in config.status.  If some macros were
   21624 # called several times there might be several #defines for the same
   21625 # symbol, which is useless.  But do not sort them, since the last
   21626 # AC_DEFINE must be honored.
   21627 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21628 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   21629 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   21630 # PARAMS is the parameter list in the macro definition--in most cases, it's
   21631 # just an empty string.
   21632 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   21633 ac_dB='\\)[	 (].*,\\1define\\2'
   21634 ac_dC=' '
   21635 ac_dD=' ,'
   21636 
   21637 uniq confdefs.h |
   21638   sed -n '
   21639 	t rset
   21640 	:rset
   21641 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   21642 	t ok
   21643 	d
   21644 	:ok
   21645 	s/[\\&,]/\\&/g
   21646 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   21647 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   21648   ' >>conftest.defines
   21649 
   21650 # Remove the space that was appended to ease matching.
   21651 # Then replace #undef with comments.  This is necessary, for
   21652 # example, in the case of _POSIX_SOURCE, which is predefined and required
   21653 # on some systems where configure will not decide to define it.
   21654 # (The regexp can be short, since the line contains either #define or #undef.)
   21655 echo 's/ $//
   21656 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   21657 
   21658 # Break up conftest.defines:
   21659 ac_max_sed_lines=50
   21660 
   21661 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   21662 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   21663 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   21664 # et cetera.
   21665 ac_in='$ac_file_inputs'
   21666 ac_out='"$tmp/out1"'
   21667 ac_nxt='"$tmp/out2"'
   21668 
   21669 while :
   21670 do
   21671   # Write a here document:
   21672     cat >>$CONFIG_STATUS <<_ACEOF
   21673     # First, check the format of the line:
   21674     cat >"\$tmp/defines.sed" <<\\CEOF
   21675 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   21676 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   21677 b
   21678 :def
   21679 _ACEOF
   21680   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   21681   echo 'CEOF
   21682     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   21683   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   21684   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   21685   grep . conftest.tail >/dev/null || break
   21686   rm -f conftest.defines
   21687   mv conftest.tail conftest.defines
   21688 done
   21689 rm -f conftest.defines conftest.tail
   21690 
   21691 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   21692 cat >>$CONFIG_STATUS <<\_ACEOF
   21693   if test x"$ac_file" != x-; then
   21694     echo "/* $configure_input  */" >"$tmp/config.h"
   21695     cat "$ac_result" >>"$tmp/config.h"
   21696     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   21697       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   21698 echo "$as_me: $ac_file is unchanged" >&6;}
   21699     else
   21700       rm -f $ac_file
   21701       mv "$tmp/config.h" $ac_file
   21702     fi
   21703   else
   21704     echo "/* $configure_input  */"
   21705     cat "$ac_result"
   21706   fi
   21707   rm -f "$tmp/out12"
   21708 # Compute $ac_file's index in $config_headers.
   21709 _am_stamp_count=1
   21710 for _am_header in $config_headers :; do
   21711   case $_am_header in
   21712     $ac_file | $ac_file:* )
   21713       break ;;
   21714     * )
   21715       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21716   esac
   21717 done
   21718 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   21719 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21720 	 X$ac_file : 'X\(//\)[^/]' \| \
   21721 	 X$ac_file : 'X\(//\)$' \| \
   21722 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   21723 echo X$ac_file |
   21724     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21725 	    s//\1/
   21726 	    q
   21727 	  }
   21728 	  /^X\(\/\/\)[^/].*/{
   21729 	    s//\1/
   21730 	    q
   21731 	  }
   21732 	  /^X\(\/\/\)$/{
   21733 	    s//\1/
   21734 	    q
   21735 	  }
   21736 	  /^X\(\/\).*/{
   21737 	    s//\1/
   21738 	    q
   21739 	  }
   21740 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21741  ;;
   21742 
   21743   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   21744 echo "$as_me: executing $ac_file commands" >&6;}
   21745  ;;
   21746   esac
   21747 
   21748 
   21749   case $ac_file$ac_mode in
   21750     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   21751   # Strip MF so we end up with the name of the file.
   21752   mf=`echo "$mf" | sed -e 's/:.*$//'`
   21753   # Check whether this is an Automake generated Makefile or not.
   21754   # We used to match only the files named `Makefile.in', but
   21755   # some people rename them; so instead we look at the file content.
   21756   # Grep'ing the first line is not enough: some people post-process
   21757   # each Makefile.in and add a new line on top of each file to say so.
   21758   # Grep'ing the whole file is not good either: AIX grep has a line
   21759   # limit of 2048, but all sed's we know have understand at least 4000.
   21760   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   21761     dirpart=`$as_dirname -- "$mf" ||
   21762 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21763 	 X"$mf" : 'X\(//\)[^/]' \| \
   21764 	 X"$mf" : 'X\(//\)$' \| \
   21765 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21766 echo X"$mf" |
   21767     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21768 	    s//\1/
   21769 	    q
   21770 	  }
   21771 	  /^X\(\/\/\)[^/].*/{
   21772 	    s//\1/
   21773 	    q
   21774 	  }
   21775 	  /^X\(\/\/\)$/{
   21776 	    s//\1/
   21777 	    q
   21778 	  }
   21779 	  /^X\(\/\).*/{
   21780 	    s//\1/
   21781 	    q
   21782 	  }
   21783 	  s/.*/./; q'`
   21784   else
   21785     continue
   21786   fi
   21787   # Extract the definition of DEPDIR, am__include, and am__quote
   21788   # from the Makefile without running `make'.
   21789   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21790   test -z "$DEPDIR" && continue
   21791   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21792   test -z "am__include" && continue
   21793   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21794   # When using ansi2knr, U may be empty or an underscore; expand it
   21795   U=`sed -n 's/^U = //p' < "$mf"`
   21796   # Find all dependency output files, they are included files with
   21797   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21798   # simplest approach to changing $(DEPDIR) to its actual value in the
   21799   # expansion.
   21800   for file in `sed -n "
   21801     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21802        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   21803     # Make sure the directory exists.
   21804     test -f "$dirpart/$file" && continue
   21805     fdir=`$as_dirname -- "$file" ||
   21806 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21807 	 X"$file" : 'X\(//\)[^/]' \| \
   21808 	 X"$file" : 'X\(//\)$' \| \
   21809 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21810 echo X"$file" |
   21811     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21812 	    s//\1/
   21813 	    q
   21814 	  }
   21815 	  /^X\(\/\/\)[^/].*/{
   21816 	    s//\1/
   21817 	    q
   21818 	  }
   21819 	  /^X\(\/\/\)$/{
   21820 	    s//\1/
   21821 	    q
   21822 	  }
   21823 	  /^X\(\/\).*/{
   21824 	    s//\1/
   21825 	    q
   21826 	  }
   21827 	  s/.*/./; q'`
   21828     { as_dir=$dirpart/$fdir
   21829   case $as_dir in #(
   21830   -*) as_dir=./$as_dir;;
   21831   esac
   21832   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21833     as_dirs=
   21834     while :; do
   21835       case $as_dir in #(
   21836       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21837       *) as_qdir=$as_dir;;
   21838       esac
   21839       as_dirs="'$as_qdir' $as_dirs"
   21840       as_dir=`$as_dirname -- "$as_dir" ||
   21841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21842 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21843 	 X"$as_dir" : 'X\(//\)$' \| \
   21844 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21845 echo X"$as_dir" |
   21846     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21847 	    s//\1/
   21848 	    q
   21849 	  }
   21850 	  /^X\(\/\/\)[^/].*/{
   21851 	    s//\1/
   21852 	    q
   21853 	  }
   21854 	  /^X\(\/\/\)$/{
   21855 	    s//\1/
   21856 	    q
   21857 	  }
   21858 	  /^X\(\/\).*/{
   21859 	    s//\1/
   21860 	    q
   21861 	  }
   21862 	  s/.*/./; q'`
   21863       test -d "$as_dir" && break
   21864     done
   21865     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21866   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21867 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21868    { (exit 1); exit 1; }; }; }
   21869     # echo "creating $dirpart/$file"
   21870     echo '# dummy' > "$dirpart/$file"
   21871   done
   21872 done
   21873  ;;
   21874 
   21875   esac
   21876 done # for ac_tag
   21877 
   21878 
   21879 { (exit 0); exit 0; }
   21880 _ACEOF
   21881 chmod +x $CONFIG_STATUS
   21882 ac_clean_files=$ac_clean_files_save
   21883 
   21884 
   21885 # configure is writing to config.log, and then calls config.status.
   21886 # config.status does its own redirection, appending to config.log.
   21887 # Unfortunately, on DOS this fails, as config.log is still kept open
   21888 # by configure, so config.status won't be able to write to it; its
   21889 # output is simply discarded.  So we exec the FD to /dev/null,
   21890 # effectively closing config.log, so it can be properly (re)opened and
   21891 # appended to by config.status.  When coming back to configure, we
   21892 # need to make the FD available again.
   21893 if test "$no_create" != yes; then
   21894   ac_cs_success=:
   21895   ac_config_status_args=
   21896   test "$silent" = yes &&
   21897     ac_config_status_args="$ac_config_status_args --quiet"
   21898   exec 5>/dev/null
   21899   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21900   exec 5>>config.log
   21901   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21902   # would make configure fail if this is the last instruction.
   21903   $ac_cs_success || { (exit 1); exit 1; }
   21904 fi
   21905 
   21906